figma-kit 1.0.0-beta.26 → 1.0.0-beta.27
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/components/slider/slider.d.ts +5 -1
- package/dist/index.cjs +1 -1
- package/dist/index.mjs +799 -794
- package/dist/styles.css +97 -34
- package/dist/tailwind.css +109 -34
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -23,80 +23,80 @@ import { mergeProps as N } from "@base-ui/react/merge-props";
|
|
|
23
23
|
import { createPortal as ee, flushSync as te } from "react-dom";
|
|
24
24
|
import { DirectionProvider as P } from "@base-ui/react/direction-provider";
|
|
25
25
|
import { Slider as F } from "@base-ui/react/slider";
|
|
26
|
-
import { Collapsible as
|
|
27
|
-
import
|
|
28
|
-
import { Switch as
|
|
26
|
+
import { Collapsible as I } from "@base-ui/react/collapsible";
|
|
27
|
+
import L from "react-textarea-autosize";
|
|
28
|
+
import { Switch as R } from "@base-ui/react/switch";
|
|
29
29
|
//#region \0rolldown/runtime.js
|
|
30
|
-
var
|
|
30
|
+
var ne = Object.defineProperty, z = (e, t) => {
|
|
31
31
|
let n = {};
|
|
32
|
-
for (var r in e)
|
|
32
|
+
for (var r in e) ne(n, r, {
|
|
33
33
|
get: e[r],
|
|
34
34
|
enumerable: !0
|
|
35
35
|
});
|
|
36
|
-
return t ||
|
|
36
|
+
return t || ne(n, Symbol.toStringTag, { value: "Module" }), n;
|
|
37
37
|
};
|
|
38
38
|
//#endregion
|
|
39
39
|
//#region src/lib/react/add-class-name.ts
|
|
40
|
-
function
|
|
40
|
+
function B(e, t) {
|
|
41
41
|
return typeof e == "function" ? (n) => u(e(n), t) : u(e, t);
|
|
42
42
|
}
|
|
43
43
|
//#endregion
|
|
44
44
|
//#region src/lib/react/use-compose-refs.ts
|
|
45
|
-
function
|
|
45
|
+
function re(e, t) {
|
|
46
46
|
typeof e == "function" ? e(t) : e != null && (e.current = t);
|
|
47
47
|
}
|
|
48
|
-
function
|
|
49
|
-
return (t) => e.forEach((e) =>
|
|
48
|
+
function ie(...e) {
|
|
49
|
+
return (t) => e.forEach((e) => re(e, t));
|
|
50
50
|
}
|
|
51
|
-
function
|
|
52
|
-
return e.useCallback(
|
|
51
|
+
function V(...t) {
|
|
52
|
+
return e.useCallback(ie(...t), t);
|
|
53
53
|
}
|
|
54
54
|
//#endregion
|
|
55
55
|
//#region src/components/tabs/tabs.tsx
|
|
56
|
-
var
|
|
56
|
+
var ae = t.forwardRef((e, t) => {
|
|
57
57
|
let { className: n, ...r } = e;
|
|
58
58
|
return /* @__PURE__ */ f(c.Root, {
|
|
59
59
|
ref: t,
|
|
60
|
-
className:
|
|
60
|
+
className: B(n, "fp-TabsRoot"),
|
|
61
61
|
...r
|
|
62
62
|
});
|
|
63
|
-
}),
|
|
63
|
+
}), oe = t.forwardRef((e, t) => {
|
|
64
64
|
let { className: n, ...r } = e;
|
|
65
65
|
return /* @__PURE__ */ f(c.List, {
|
|
66
66
|
ref: t,
|
|
67
|
-
className:
|
|
67
|
+
className: B(n, "fp-TabsList"),
|
|
68
68
|
...r
|
|
69
69
|
});
|
|
70
|
-
}),
|
|
71
|
-
let { className: n, ...r } = e, i =
|
|
70
|
+
}), se = t.forwardRef((e, t) => {
|
|
71
|
+
let { className: n, ...r } = e, i = ie(t, ce());
|
|
72
72
|
return /* @__PURE__ */ f(c.Tab, {
|
|
73
73
|
ref: i,
|
|
74
|
-
className:
|
|
74
|
+
className: B(n, "fp-TabsTrigger"),
|
|
75
75
|
...r
|
|
76
76
|
});
|
|
77
77
|
});
|
|
78
|
-
function
|
|
78
|
+
function ce() {
|
|
79
79
|
return n((e) => {
|
|
80
80
|
e !== null && (e.style.width = e.getBoundingClientRect().width + "px");
|
|
81
81
|
}, []);
|
|
82
82
|
}
|
|
83
|
-
var
|
|
83
|
+
var le = t.forwardRef((e, t) => {
|
|
84
84
|
let { className: n, ...r } = e;
|
|
85
85
|
return /* @__PURE__ */ f(c.Panel, {
|
|
86
86
|
ref: t,
|
|
87
|
-
className:
|
|
87
|
+
className: B(n, "fp-TabsContent"),
|
|
88
88
|
...r
|
|
89
89
|
});
|
|
90
90
|
});
|
|
91
|
-
|
|
91
|
+
ae.displayName = "Tabs.Root", oe.displayName = "Tabs.List", se.displayName = "Tabs.Tab", le.displayName = "Tabs.Panel";
|
|
92
92
|
//#endregion
|
|
93
93
|
//#region src/components/tabs/index.ts
|
|
94
|
-
var
|
|
95
|
-
List: () =>
|
|
96
|
-
Panel: () =>
|
|
97
|
-
Root: () =>
|
|
98
|
-
Tab: () =>
|
|
99
|
-
}),
|
|
94
|
+
var ue = /* @__PURE__ */ z({
|
|
95
|
+
List: () => oe,
|
|
96
|
+
Panel: () => le,
|
|
97
|
+
Root: () => ae,
|
|
98
|
+
Tab: () => se
|
|
99
|
+
}), de = l("fp-Text", { variants: {
|
|
100
100
|
size: {
|
|
101
101
|
small: "fp-size-small",
|
|
102
102
|
medium: "fp-size-medium",
|
|
@@ -112,14 +112,14 @@ var pe = /* @__PURE__ */ I({
|
|
|
112
112
|
end: "fp-align-end"
|
|
113
113
|
},
|
|
114
114
|
block: { true: "fp-block" }
|
|
115
|
-
} }),
|
|
115
|
+
} }), H = t.forwardRef((e, t) => {
|
|
116
116
|
let { className: n, render: r, size: i, weight: a, align: o, block: s, ...c } = e;
|
|
117
117
|
return g({
|
|
118
118
|
defaultTagName: "span",
|
|
119
119
|
render: r,
|
|
120
120
|
ref: t,
|
|
121
121
|
props: {
|
|
122
|
-
className:
|
|
122
|
+
className: de({
|
|
123
123
|
className: n,
|
|
124
124
|
size: i,
|
|
125
125
|
weight: a,
|
|
@@ -130,12 +130,12 @@ var pe = /* @__PURE__ */ I({
|
|
|
130
130
|
}
|
|
131
131
|
});
|
|
132
132
|
});
|
|
133
|
-
|
|
134
|
-
var
|
|
133
|
+
H.displayName = "Text";
|
|
134
|
+
var fe = t.forwardRef((e, t) => {
|
|
135
135
|
let { className: n, size: r, weight: i, align: a, block: o, ...s } = e;
|
|
136
136
|
return /* @__PURE__ */ f("label", {
|
|
137
137
|
ref: t,
|
|
138
|
-
className:
|
|
138
|
+
className: de({
|
|
139
139
|
className: n,
|
|
140
140
|
size: r,
|
|
141
141
|
weight: i,
|
|
@@ -145,12 +145,12 @@ var he = t.forwardRef((e, t) => {
|
|
|
145
145
|
...s
|
|
146
146
|
});
|
|
147
147
|
});
|
|
148
|
-
|
|
149
|
-
var
|
|
148
|
+
fe.displayName = "Label";
|
|
149
|
+
var pe = t.forwardRef((e, t) => {
|
|
150
150
|
let { className: n, size: r, weight: i, align: a, block: o, ...s } = e;
|
|
151
151
|
return /* @__PURE__ */ f("p", {
|
|
152
152
|
ref: t,
|
|
153
|
-
className:
|
|
153
|
+
className: de({
|
|
154
154
|
className: n,
|
|
155
155
|
size: r,
|
|
156
156
|
weight: i,
|
|
@@ -160,15 +160,15 @@ var ge = t.forwardRef((e, t) => {
|
|
|
160
160
|
...s
|
|
161
161
|
});
|
|
162
162
|
});
|
|
163
|
-
|
|
164
|
-
var
|
|
163
|
+
pe.displayName = "Paragraph";
|
|
164
|
+
var me = t.forwardRef((e, t) => {
|
|
165
165
|
let { className: n, render: r, size: i, weight: a, align: o, block: s, ...c } = e;
|
|
166
166
|
return g({
|
|
167
167
|
defaultTagName: "a",
|
|
168
168
|
render: r,
|
|
169
169
|
ref: t,
|
|
170
170
|
props: {
|
|
171
|
-
className: u(
|
|
171
|
+
className: u(de({
|
|
172
172
|
className: n,
|
|
173
173
|
size: i,
|
|
174
174
|
weight: a,
|
|
@@ -179,20 +179,20 @@ var _e = t.forwardRef((e, t) => {
|
|
|
179
179
|
}
|
|
180
180
|
});
|
|
181
181
|
});
|
|
182
|
-
|
|
182
|
+
me.displayName = "Link";
|
|
183
183
|
//#endregion
|
|
184
184
|
//#region src/lib/react/use-controllable-state.ts
|
|
185
|
-
function
|
|
185
|
+
function he(t) {
|
|
186
186
|
let n = e.useRef(t);
|
|
187
187
|
return e.useEffect(() => {
|
|
188
188
|
n.current = t;
|
|
189
189
|
}), e.useMemo(() => ((...e) => n.current?.(...e)), []);
|
|
190
190
|
}
|
|
191
|
-
function
|
|
192
|
-
let [i, a] =
|
|
191
|
+
function ge({ prop: t, defaultProp: n, onChange: r = () => {} }) {
|
|
192
|
+
let [i, a] = _e({
|
|
193
193
|
defaultProp: n,
|
|
194
194
|
onChange: r
|
|
195
|
-
}), o = t !== void 0, s = o ? t : i, c =
|
|
195
|
+
}), o = t !== void 0, s = o ? t : i, c = he(r);
|
|
196
196
|
return [s, e.useCallback((e) => {
|
|
197
197
|
if (o) {
|
|
198
198
|
let n = typeof e == "function" ? e(t) : e;
|
|
@@ -205,8 +205,8 @@ function ye({ prop: t, defaultProp: n, onChange: r = () => {} }) {
|
|
|
205
205
|
c
|
|
206
206
|
])];
|
|
207
207
|
}
|
|
208
|
-
function
|
|
209
|
-
let r = e.useState(t), [i] = r, a = e.useRef(i), o =
|
|
208
|
+
function _e({ defaultProp: t, onChange: n }) {
|
|
209
|
+
let r = e.useState(t), [i] = r, a = e.useRef(i), o = he(n);
|
|
210
210
|
return e.useEffect(() => {
|
|
211
211
|
a.current !== i && (o(i), a.current = i);
|
|
212
212
|
}, [
|
|
@@ -217,52 +217,52 @@ function be({ defaultProp: t, onChange: n }) {
|
|
|
217
217
|
}
|
|
218
218
|
//#endregion
|
|
219
219
|
//#region src/components/segmented-control/segmented-control.tsx
|
|
220
|
-
var
|
|
221
|
-
let { className: n, fullWidth: r, value: i, defaultValue: a, onValueChange: o, ...s } = e, [c, l] =
|
|
220
|
+
var ve = t.forwardRef((e, t) => {
|
|
221
|
+
let { className: n, fullWidth: r, value: i, defaultValue: a, onValueChange: o, ...s } = e, [c, l] = ge({
|
|
222
222
|
prop: i,
|
|
223
223
|
defaultProp: a,
|
|
224
224
|
onChange: o
|
|
225
225
|
});
|
|
226
226
|
return /* @__PURE__ */ f(h, {
|
|
227
227
|
ref: t,
|
|
228
|
-
className:
|
|
228
|
+
className: B(n, u("fp-SegmentedControlRoot", { "fp-full-width": r })),
|
|
229
229
|
...s,
|
|
230
230
|
multiple: !1,
|
|
231
|
-
value:
|
|
231
|
+
value: xe(c),
|
|
232
232
|
onValueChange: (e) => {
|
|
233
233
|
let t = e[0];
|
|
234
234
|
t !== void 0 && l(t);
|
|
235
235
|
}
|
|
236
236
|
});
|
|
237
|
-
}),
|
|
237
|
+
}), ye = t.forwardRef((e, t) => {
|
|
238
238
|
let { className: n, ...r } = e;
|
|
239
239
|
return /* @__PURE__ */ f(m, {
|
|
240
240
|
ref: t,
|
|
241
|
-
className:
|
|
241
|
+
className: B(n, "fp-SegmentedControlItem"),
|
|
242
242
|
...r
|
|
243
243
|
});
|
|
244
|
-
}),
|
|
244
|
+
}), be = t.forwardRef((e, t) => {
|
|
245
245
|
let { className: n, ...r } = e;
|
|
246
|
-
return /* @__PURE__ */ f(
|
|
246
|
+
return /* @__PURE__ */ f(H, {
|
|
247
247
|
ref: t,
|
|
248
248
|
className: u(n, "fp-SegmentedControlText"),
|
|
249
249
|
...r
|
|
250
250
|
});
|
|
251
251
|
});
|
|
252
|
-
|
|
253
|
-
function
|
|
252
|
+
ve.displayName = "SegmentedControl.Root", ye.displayName = "SegmentedControl.Item", be.displayName = "SegmentedControl.Text";
|
|
253
|
+
function xe(e) {
|
|
254
254
|
return e === void 0 ? [] : [e];
|
|
255
255
|
}
|
|
256
256
|
//#endregion
|
|
257
257
|
//#region src/components/segmented-control/index.ts
|
|
258
|
-
var
|
|
259
|
-
Item: () =>
|
|
260
|
-
Root: () =>
|
|
261
|
-
Text: () =>
|
|
258
|
+
var Se = /* @__PURE__ */ z({
|
|
259
|
+
Item: () => ye,
|
|
260
|
+
Root: () => ve,
|
|
261
|
+
Text: () => be
|
|
262
262
|
});
|
|
263
263
|
//#endregion
|
|
264
264
|
//#region src/lib/react/create-context.tsx
|
|
265
|
-
function
|
|
265
|
+
function Ce(e, n) {
|
|
266
266
|
let r = t.createContext(n);
|
|
267
267
|
function i(e) {
|
|
268
268
|
let { children: n, ...i } = e, a = t.useMemo(() => i, Object.values(i));
|
|
@@ -281,29 +281,29 @@ function Ee(e, n) {
|
|
|
281
281
|
}
|
|
282
282
|
//#endregion
|
|
283
283
|
//#region src/components/radio-group/radio-group.tsx
|
|
284
|
-
var [
|
|
284
|
+
var [we, Te] = Ce("RadioGroup"), Ee = t.forwardRef((e, t) => {
|
|
285
285
|
let { orientation: n = "horizontal", disabled: r, className: i, ...a } = e;
|
|
286
|
-
return /* @__PURE__ */ f(
|
|
286
|
+
return /* @__PURE__ */ f(we, {
|
|
287
287
|
orientation: n,
|
|
288
288
|
disabled: r,
|
|
289
289
|
children: /* @__PURE__ */ f(v, {
|
|
290
290
|
ref: t,
|
|
291
291
|
disabled: r,
|
|
292
|
-
className:
|
|
292
|
+
className: B(i, "fp-RadioGroupRoot"),
|
|
293
293
|
"data-orientation": n,
|
|
294
294
|
...a
|
|
295
295
|
})
|
|
296
296
|
});
|
|
297
|
-
}),
|
|
297
|
+
}), De = t.forwardRef((e, t) => {
|
|
298
298
|
let { className: n, ...r } = e;
|
|
299
299
|
return /* @__PURE__ */ f(_.Root, {
|
|
300
300
|
ref: t,
|
|
301
|
-
className:
|
|
301
|
+
className: B(n, "fp-RadioGroupItem"),
|
|
302
302
|
...r
|
|
303
303
|
});
|
|
304
|
-
}),
|
|
305
|
-
let { orientation: n, disabled: r } =
|
|
306
|
-
return /* @__PURE__ */ f(
|
|
304
|
+
}), Oe = t.forwardRef((e, t) => {
|
|
305
|
+
let { orientation: n, disabled: r } = Te("Label"), { className: i, ...a } = e;
|
|
306
|
+
return /* @__PURE__ */ f(fe, {
|
|
307
307
|
ref: t,
|
|
308
308
|
className: u(i, "fp-RadioGroupLabel"),
|
|
309
309
|
"data-orientation": n,
|
|
@@ -311,14 +311,14 @@ var [De, Oe] = Ee("RadioGroup"), ke = t.forwardRef((e, t) => {
|
|
|
311
311
|
...a
|
|
312
312
|
});
|
|
313
313
|
});
|
|
314
|
-
|
|
314
|
+
Ee.displayName = "RadioGroup.Root", De.displayName = "RadioGroup.Item", Oe.displayName = "RadioGroup.Label";
|
|
315
315
|
//#endregion
|
|
316
316
|
//#region src/components/radio-group/index.ts
|
|
317
|
-
var
|
|
318
|
-
Item: () =>
|
|
319
|
-
Label: () =>
|
|
320
|
-
Root: () =>
|
|
321
|
-
}),
|
|
317
|
+
var ke = /* @__PURE__ */ z({
|
|
318
|
+
Item: () => De,
|
|
319
|
+
Label: () => Oe,
|
|
320
|
+
Root: () => Ee
|
|
321
|
+
}), Ae = "6", je = "0 0 24 24", Me = l("fp-Icon", {
|
|
322
322
|
variants: { size: {
|
|
323
323
|
1: "fp-size-1",
|
|
324
324
|
2: "fp-size-2",
|
|
@@ -333,16 +333,16 @@ var Me = /* @__PURE__ */ I({
|
|
|
333
333
|
9: "fp-size-9",
|
|
334
334
|
10: "fp-size-10"
|
|
335
335
|
} },
|
|
336
|
-
defaultVariants: { size:
|
|
336
|
+
defaultVariants: { size: Ae }
|
|
337
337
|
});
|
|
338
|
-
function
|
|
339
|
-
let { path: n, viewBox: r =
|
|
338
|
+
function U(e) {
|
|
339
|
+
let { path: n, viewBox: r = je, displayName: i } = e, a = t.forwardRef((e, t) => {
|
|
340
340
|
let { size: i, className: a, ...o } = e;
|
|
341
341
|
return /* @__PURE__ */ f("svg", {
|
|
342
342
|
xmlns: "http://www.w3.org/2000/svg",
|
|
343
343
|
ref: t,
|
|
344
344
|
viewBox: r,
|
|
345
|
-
className:
|
|
345
|
+
className: Me({
|
|
346
346
|
className: a,
|
|
347
347
|
size: i
|
|
348
348
|
}),
|
|
@@ -355,13 +355,13 @@ function B(e) {
|
|
|
355
355
|
}
|
|
356
356
|
//#endregion
|
|
357
357
|
//#region src/components/icons/actions.tsx
|
|
358
|
-
var
|
|
358
|
+
var Ne = U({
|
|
359
359
|
displayName: "Actions",
|
|
360
360
|
path: /* @__PURE__ */ f("path", {
|
|
361
361
|
fill: "var(--color-icon)",
|
|
362
362
|
d: "M9 13a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2v-3a2 2 0 0 1 2-2zm7.5 0a.5.5 0 0 1 .5.5V16h2.5a.5.5 0 0 1 0 1H17v2.5a.5.5 0 0 1-1 0V17h-2.5a.5.5 0 0 1 0-1H16v-2.5a.5.5 0 0 1 .5-.5M6 14a1 1 0 0 0-1 1v3a1 1 0 0 0 .897.995L6 19h3a1 1 0 0 0 1-1v-3a1 1 0 0 0-1-1zm.87-10.275a1 1 0 0 1 1.337.068l3 3a1 1 0 0 1 0 1.414l-3 3a1 1 0 0 1-1.414 0l-3-3a1 1 0 0 1 0-1.414l3-3zM16.5 4a3.5 3.5 0 1 1 0 7 3.5 3.5 0 0 1 0-7m-12 3.5 3 3 3-3-3-3zm12-2.5a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5"
|
|
363
363
|
})
|
|
364
|
-
}),
|
|
364
|
+
}), Pe = U({
|
|
365
365
|
displayName: "AlignBottom",
|
|
366
366
|
path: /* @__PURE__ */ p(d, { children: [/* @__PURE__ */ f("path", {
|
|
367
367
|
fill: "var(--color-icon)",
|
|
@@ -372,7 +372,7 @@ var Ie = B({
|
|
|
372
372
|
fill: "var(--color-icon-tertiary)",
|
|
373
373
|
d: "M17.5 18a.5.5 0 0 1 0 1h-12a.5.5 0 0 1 0-1z"
|
|
374
374
|
})] })
|
|
375
|
-
}),
|
|
375
|
+
}), Fe = U({
|
|
376
376
|
displayName: "AlignHorizontalCenter",
|
|
377
377
|
path: /* @__PURE__ */ p(d, { children: [/* @__PURE__ */ f("path", {
|
|
378
378
|
fill: "var(--color-icon)",
|
|
@@ -385,7 +385,7 @@ var Ie = B({
|
|
|
385
385
|
d: "M13 17.5a.5.5 0 0 1-1 0V15h1zm0-4.5v-3h-1v3zm0-7.5V8h-1V5.5a.5.5 0 0 1 1 0",
|
|
386
386
|
clipRule: "evenodd"
|
|
387
387
|
})] })
|
|
388
|
-
}),
|
|
388
|
+
}), Ie = U({
|
|
389
389
|
displayName: "AlignLeft",
|
|
390
390
|
path: /* @__PURE__ */ p(d, { children: [/* @__PURE__ */ f("path", {
|
|
391
391
|
fill: "var(--color-icon)",
|
|
@@ -396,7 +396,7 @@ var Ie = B({
|
|
|
396
396
|
fill: "var(--color-icon-tertiary)",
|
|
397
397
|
d: "M6 17.5a.5.5 0 0 1-1 0v-12a.5.5 0 0 1 1 0z"
|
|
398
398
|
})] })
|
|
399
|
-
}),
|
|
399
|
+
}), Le = U({
|
|
400
400
|
displayName: "AlignRight",
|
|
401
401
|
path: /* @__PURE__ */ p(d, { children: [/* @__PURE__ */ f("path", {
|
|
402
402
|
fill: "var(--color-icon)",
|
|
@@ -407,7 +407,7 @@ var Ie = B({
|
|
|
407
407
|
fill: "var(--color-icon-tertiary)",
|
|
408
408
|
d: "M18 17.5a.5.5 0 0 0 1 0v-12a.5.5 0 0 0-1 0z"
|
|
409
409
|
})] })
|
|
410
|
-
}),
|
|
410
|
+
}), Re = U({
|
|
411
411
|
displayName: "AlignTop",
|
|
412
412
|
path: /* @__PURE__ */ p(d, { children: [/* @__PURE__ */ f("path", {
|
|
413
413
|
fill: "var(--color-icon)",
|
|
@@ -418,7 +418,7 @@ var Ie = B({
|
|
|
418
418
|
fill: "var(--color-icon-tertiary)",
|
|
419
419
|
d: "M17.5 6a.5.5 0 0 0 0-1h-12a.5.5 0 0 0 0 1z"
|
|
420
420
|
})] })
|
|
421
|
-
}),
|
|
421
|
+
}), ze = U({
|
|
422
422
|
displayName: "AlignVerticalCenter",
|
|
423
423
|
path: /* @__PURE__ */ p(d, { children: [/* @__PURE__ */ f("path", {
|
|
424
424
|
fill: "var(--color-icon)",
|
|
@@ -431,7 +431,7 @@ var Ie = B({
|
|
|
431
431
|
d: "M17.5 11a.5.5 0 0 1 0 1H15v-1zM13 11h-3v1h3zm-7.5 0H8v1H5.5a.5.5 0 0 1 0-1",
|
|
432
432
|
clipRule: "evenodd"
|
|
433
433
|
})] })
|
|
434
|
-
}),
|
|
434
|
+
}), Be = U({
|
|
435
435
|
displayName: "Annotation",
|
|
436
436
|
path: /* @__PURE__ */ f("path", {
|
|
437
437
|
fill: "var(--color-icon)",
|
|
@@ -439,7 +439,7 @@ var Ie = B({
|
|
|
439
439
|
d: "M16.8 5H8.2c-.577 0-.949 0-1.232.024-.272.022-.373.06-.422.085a1 1 0 0 0-.437.437c-.025.05-.063.15-.085.422C6 6.25 6 6.623 6 7.2v7.3a.5.5 0 0 1-1 0V7.2c0-1.12 0-1.68.218-2.108a2 2 0 0 1 .874-.874C6.52 4 7.08 4 8.2 4h8.6c1.12 0 1.68 0 2.108.218a2 2 0 0 1 .874.874C20 5.52 20 6.08 20 7.2v8.6c0 1.12 0 1.68-.218 2.108a2 2 0 0 1-.874.874C18.48 19 17.92 19 16.8 19H9.5a.5.5 0 0 1 0-1h7.3c.577 0 .949 0 1.232-.024.272-.022.372-.06.422-.085a1 1 0 0 0 .437-.437c.025-.05.063-.15.085-.422C19 16.75 19 16.377 19 15.8V7.2c0-.577 0-.949-.024-1.232-.022-.272-.06-.373-.085-.422a1 1 0 0 0-.437-.437c-.05-.025-.15-.063-.422-.085C17.75 5 17.377 5 16.8 5M7 18.5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0m1 0a2.5 2.5 0 1 1-5 0 2.5 2.5 0 0 1 5 0m1-5a.5.5 0 0 1 .5-.5h4a.5.5 0 0 1 0 1h-4a.5.5 0 0 1-.5-.5M9.5 9a.5.5 0 0 0 0 1h6a.5.5 0 0 0 0-1z",
|
|
440
440
|
clipRule: "evenodd"
|
|
441
441
|
})
|
|
442
|
-
}),
|
|
442
|
+
}), Ve = U({
|
|
443
443
|
displayName: "AspectRatio",
|
|
444
444
|
path: /* @__PURE__ */ f("path", {
|
|
445
445
|
fill: "var(--color-icon)",
|
|
@@ -447,7 +447,7 @@ var Ie = B({
|
|
|
447
447
|
d: "M7.5 7h9a.5.5 0 0 1 .5.5v9a.5.5 0 0 1-.5.5h-9a.5.5 0 0 1-.5-.5v-9a.5.5 0 0 1 .5-.5M6 7.5A1.5 1.5 0 0 1 7.5 6h9A1.5 1.5 0 0 1 18 7.5v9a1.5 1.5 0 0 1-1.5 1.5h-9A1.5 1.5 0 0 1 6 16.5zM9.5 9a.5.5 0 0 0-.5.5v2a.5.5 0 0 0 1 0V10h1.5a.5.5 0 0 0 0-1zm5.5 3.5a.5.5 0 0 0-1 0V14h-1.5a.5.5 0 0 0 0 1h2a.5.5 0 0 0 .5-.5z",
|
|
448
448
|
clipRule: "evenodd"
|
|
449
449
|
})
|
|
450
|
-
}),
|
|
450
|
+
}), He = U({
|
|
451
451
|
displayName: "AutoHeight",
|
|
452
452
|
path: /* @__PURE__ */ f("path", {
|
|
453
453
|
fill: "var(--color-icon)",
|
|
@@ -455,7 +455,7 @@ var Ie = B({
|
|
|
455
455
|
d: "M6.5 6a.5.5 0 0 1 .5.5v11a.5.5 0 0 1-1 0v-11a.5.5 0 0 1 .5-.5m3 4h5a.5.5 0 1 0 0-1h-5a.5.5 0 0 0 0 1m5 2.5h-5a.5.5 0 1 1 0-1h5a.5.5 0 1 1 0 1m-5.5 2a.5.5 0 0 1 .5-.5h3a.5.5 0 0 1 0 1h-3a.5.5 0 0 1-.5-.5m9-8a.5.5 0 0 0-1 0v11a.5.5 0 0 0 1 0z",
|
|
456
456
|
clipRule: "evenodd"
|
|
457
457
|
})
|
|
458
|
-
}),
|
|
458
|
+
}), Ue = U({
|
|
459
459
|
displayName: "AutoWidth",
|
|
460
460
|
path: /* @__PURE__ */ f("path", {
|
|
461
461
|
fill: "var(--color-icon)",
|
|
@@ -463,7 +463,7 @@ var Ie = B({
|
|
|
463
463
|
d: "M7 6.5a.5.5 0 0 0-1 0v11a.5.5 0 0 0 1 0zm7.853 2.146a.5.5 0 1 0-.707.708l2.147 2.146H9.5a.5.5 0 0 0 0 1h6.793l-2.147 2.146a.5.5 0 0 0 .707.708l3-3a.5.5 0 0 0 0-.708z",
|
|
464
464
|
clipRule: "evenodd"
|
|
465
465
|
})
|
|
466
|
-
}),
|
|
466
|
+
}), We = U({
|
|
467
467
|
displayName: "BlendMode",
|
|
468
468
|
path: /* @__PURE__ */ f("path", {
|
|
469
469
|
fill: "var(--color-icon)",
|
|
@@ -471,7 +471,7 @@ var Ie = B({
|
|
|
471
471
|
d: "M14.783 16.058C15.479 15.454 16 14.49 16 13c0-1.037-.597-2.328-1.493-3.631-.844-1.227-1.85-2.316-2.507-2.98-.658.664-1.662 1.753-2.507 2.98C8.597 10.673 8 11.964 8 13c0 1.491.521 2.454 1.217 3.058.72.623 1.721.943 2.783.943s2.063-.32 2.783-.944M12 18c2.5 0 5-1.5 5-5 0-2.712-3-6.023-4.353-7.378a.907.907 0 0 0-1.294 0C10 6.978 7 10.29 7 13.001c0 3.5 2.5 5 5 5",
|
|
472
472
|
clipRule: "evenodd"
|
|
473
473
|
})
|
|
474
|
-
}),
|
|
474
|
+
}), Ge = U({
|
|
475
475
|
displayName: "Boolean",
|
|
476
476
|
path: /* @__PURE__ */ f("path", {
|
|
477
477
|
fill: "var(--color-icon)",
|
|
@@ -479,7 +479,7 @@ var Ie = B({
|
|
|
479
479
|
d: "M10 8h4a4 4 0 0 1 0 8h-4a4 4 0 0 1 0-8m-5 4a5 5 0 0 1 5-5h4a5 5 0 0 1 0 10h-4a5 5 0 0 1-5-5m5 2a2 2 0 1 1 0-4 2 2 0 0 1 0 4m-3-2a3 3 0 1 1 6 0 3 3 0 0 1-6 0",
|
|
480
480
|
clipRule: "evenodd"
|
|
481
481
|
})
|
|
482
|
-
}),
|
|
482
|
+
}), W = U({
|
|
483
483
|
displayName: "Checkmark",
|
|
484
484
|
viewBox: "0 0 16 16",
|
|
485
485
|
path: /* @__PURE__ */ f("path", {
|
|
@@ -488,14 +488,14 @@ var Ie = B({
|
|
|
488
488
|
clipRule: "evenodd",
|
|
489
489
|
d: "M11.777 4.08399C11.8873 4.1575 11.9639 4.27178 11.99 4.40172C12.016 4.53167 11.9894 4.66665 11.916 4.77699L7.91602 10.777C7.87506 10.8387 7.82091 10.8905 7.75748 10.9287C7.69405 10.9669 7.62294 10.9905 7.54926 10.9979C7.47559 11.0053 7.40119 10.9962 7.33146 10.9713C7.26172 10.9464 7.19839 10.9063 7.14602 10.854L4.14602 7.85399C4.09953 7.80751 4.06266 7.75232 4.0375 7.69158C4.01234 7.63084 3.99939 7.56574 3.99939 7.49999C3.99939 7.43425 4.01234 7.36915 4.0375 7.30841C4.06266 7.24767 4.09953 7.19248 4.14602 7.14599C4.19251 7.09951 4.2477 7.06263 4.30844 7.03747C4.36918 7.01231 4.43428 6.99936 4.50002 6.99936C4.56577 6.99936 4.63087 7.01231 4.6916 7.03747C4.75234 7.06263 4.80753 7.09951 4.85402 7.14599L7.42202 9.71599L11.084 4.22299C11.1575 4.11271 11.2718 4.03612 11.4018 4.01006C11.5317 3.98399 11.6667 4.01059 11.777 4.08399Z"
|
|
490
490
|
})
|
|
491
|
-
}),
|
|
491
|
+
}), Ke = U({
|
|
492
492
|
displayName: "CheckmarkIndeterminate",
|
|
493
493
|
viewBox: "0 0 16 16",
|
|
494
494
|
path: /* @__PURE__ */ f("path", {
|
|
495
495
|
fill: "var(--color-icon)",
|
|
496
496
|
d: "M4 8a1 1 0 0 1 1-1h6a1 1 0 1 1 0 2H5a1 1 0 0 1-1-1Z"
|
|
497
497
|
})
|
|
498
|
-
}),
|
|
498
|
+
}), qe = U({
|
|
499
499
|
displayName: "ChevronDown",
|
|
500
500
|
path: /* @__PURE__ */ f("svg", {
|
|
501
501
|
width: "24",
|
|
@@ -509,28 +509,28 @@ var Ie = B({
|
|
|
509
509
|
d: "M9.87897 11.121L12 13.243L14.121 11.12"
|
|
510
510
|
})
|
|
511
511
|
})
|
|
512
|
-
}),
|
|
512
|
+
}), Je = U({
|
|
513
513
|
displayName: "ChevronLeft",
|
|
514
514
|
path: /* @__PURE__ */ f("path", {
|
|
515
515
|
stroke: "var(--color-icon)",
|
|
516
516
|
strokeLinecap: "round",
|
|
517
517
|
d: "M12.879 9.879L10.757 12L12.88 14.121"
|
|
518
518
|
})
|
|
519
|
-
}),
|
|
519
|
+
}), Ye = U({
|
|
520
520
|
displayName: "ChevronRight",
|
|
521
521
|
path: /* @__PURE__ */ f("path", {
|
|
522
522
|
stroke: "var(--color-icon)",
|
|
523
523
|
strokeLinecap: "round",
|
|
524
524
|
d: "M11.121 14.121L13.243 12L11.12 9.879"
|
|
525
525
|
})
|
|
526
|
-
}),
|
|
526
|
+
}), Xe = U({
|
|
527
527
|
displayName: "ChevronUp",
|
|
528
528
|
path: /* @__PURE__ */ f("path", {
|
|
529
529
|
stroke: "var(--color-icon)",
|
|
530
530
|
strokeLinecap: "round",
|
|
531
531
|
d: "M14.121 12.879L12 10.757L9.87903 12.88"
|
|
532
532
|
})
|
|
533
|
-
}),
|
|
533
|
+
}), Ze = U({
|
|
534
534
|
displayName: "Circle",
|
|
535
535
|
viewBox: "0 0 16 16",
|
|
536
536
|
path: /* @__PURE__ */ f("circle", {
|
|
@@ -539,33 +539,32 @@ var Ie = B({
|
|
|
539
539
|
cy: "8",
|
|
540
540
|
r: "3"
|
|
541
541
|
})
|
|
542
|
-
}),
|
|
542
|
+
}), Qe = U({
|
|
543
543
|
displayName: "Clear",
|
|
544
544
|
path: /* @__PURE__ */ f("path", {
|
|
545
545
|
fill: "var(--color-icon)",
|
|
546
546
|
d: "M12 5a7 7 0 1 1 0 14 7 7 0 0 1 0-14m0 1a6 6 0 1 0 0 12 6 6 0 0 0 0-12m2.225 3.082a.5.5 0 0 1 .693.693l-.064.079L12.707 12l2.147 2.146.064.079a.5.5 0 0 1-.693.693l-.078-.064L12 12.707l-2.146 2.146a.5.5 0 1 1-.707-.707L11.293 12 9.147 9.854l-.065-.079a.5.5 0 0 1 .694-.693l.078.064L12 11.293l2.147-2.147z"
|
|
547
547
|
})
|
|
548
|
-
}),
|
|
548
|
+
}), $e = U({
|
|
549
549
|
displayName: "Close",
|
|
550
550
|
path: /* @__PURE__ */ f("path", {
|
|
551
551
|
stroke: "var(--color-icon)",
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
d: "M17 7 7 17M7 7l10 10"
|
|
552
|
+
d: "M16.5 7.5L12 12M12 12L7.5 16.5M12 12L7.5 7.5M12 12L16.5 16.5",
|
|
553
|
+
strokeLinecap: "round"
|
|
555
554
|
})
|
|
556
|
-
}),
|
|
555
|
+
}), et = U({
|
|
557
556
|
displayName: "Code",
|
|
558
557
|
path: /* @__PURE__ */ f("path", {
|
|
559
558
|
fill: "var(--color-icon)",
|
|
560
559
|
d: "M13.631 6.018a.5.5 0 0 1 .367.513l-.016.1-3 11-.036.095a.5.5 0 0 1-.93-.358l3-11 .037-.095a.5.5 0 0 1 .578-.255M8.224 8.582a.501.501 0 0 1 .693.693l-.064.079L6.206 12l2.647 2.646a.5.5 0 1 1-.707.707l-3-3a.5.5 0 0 1 0-.707l3-3zm6.922.064a.5.5 0 0 1 .707 0l3 3a.5.5 0 0 1 0 .707l-3 3-.078.065a.5.5 0 0 1-.694-.693l.065-.079L17.792 12l-2.646-2.646a.5.5 0 0 1 0-.707"
|
|
561
560
|
})
|
|
562
|
-
}),
|
|
561
|
+
}), tt = U({
|
|
563
562
|
displayName: "Comment",
|
|
564
563
|
path: /* @__PURE__ */ f("path", {
|
|
565
564
|
fill: "var(--color-icon)",
|
|
566
565
|
d: "M12.5 3a8.5 8.5 0 0 1 0 17H7.09c-.89 0-1.39 0-1.767-.121l-.154-.06a2 2 0 0 1-.906-.828l-.082-.16c-.136-.297-.17-.657-.178-1.248L4 16.909V11.5A8.5 8.5 0 0 1 12.5 3m0 1A7.5 7.5 0 0 0 5 11.5v5.41c0 .523 0 .861.02 1.12.018.247.05.34.07.385a1 1 0 0 0 .495.494c.045.02.138.053.386.072.258.019.596.019 1.12.019H12.5a7.5 7.5 0 0 0 0-15"
|
|
567
566
|
})
|
|
568
|
-
}),
|
|
567
|
+
}), nt = U({
|
|
569
568
|
displayName: "Component",
|
|
570
569
|
path: /* @__PURE__ */ f("path", {
|
|
571
570
|
fill: "var(--color-icon)",
|
|
@@ -573,7 +572,7 @@ var Ie = B({
|
|
|
573
572
|
d: "M11.116 13.592a1.25 1.25 0 0 1 1.768 0l1.637 1.637a1.25 1.25 0 0 1 0 1.768l-1.637 1.638-.095.085a1.25 1.25 0 0 1-1.578 0l-.095-.085-1.638-1.64a1.25 1.25 0 0 1-.085-1.672l.085-.095zm1.06.707a.25.25 0 0 0-.353 0l-1.638 1.636a.25.25 0 0 0 0 .354l1.638 1.639a.25.25 0 0 0 .354 0l1.637-1.638a.25.25 0 0 0 0-.354zm3.053-4.82a1.25 1.25 0 0 1 1.767 0l1.639 1.637a1.25 1.25 0 0 1 0 1.768l-1.639 1.638-.095.086a1.25 1.25 0 0 1-1.578 0l-.095-.086-1.637-1.637a1.25 1.25 0 0 1-.086-1.673l.086-.095zm-8.226 0a1.25 1.25 0 0 1 1.767 0l1.64 1.638a1.25 1.25 0 0 1 0 1.768L8.77 14.52a1.25 1.25 0 0 1-1.672.086l-.095-.086-1.638-1.637a1.25 1.25 0 0 1-.086-1.673l.086-.095zm9.286.706a.25.25 0 0 0-.354 0l-1.637 1.64a.25.25 0 0 0 0 .353l1.637 1.637a.25.25 0 0 0 .354 0l1.639-1.638a.25.25 0 0 0 0-.354zm-8.226 0a.25.25 0 0 0-.353 0l-1.637 1.638a.25.25 0 0 0 0 .354l1.638 1.637a.25.25 0 0 0 .353 0l1.638-1.636a.25.25 0 0 0 0-.354zm3.053-4.819a1.25 1.25 0 0 1 1.768 0l1.637 1.638a1.25 1.25 0 0 1 0 1.767l-1.637 1.639-.095.085a1.25 1.25 0 0 1-1.578 0l-.095-.085-1.639-1.639a1.25 1.25 0 0 1-.085-1.673l.085-.094zm1.06.707a.25.25 0 0 0-.353 0l-1.639 1.638a.25.25 0 0 0 0 .353l1.64 1.639a.25.25 0 0 0 .353 0l1.637-1.639a.25.25 0 0 0 0-.353z",
|
|
574
573
|
clipRule: "evenodd"
|
|
575
574
|
})
|
|
576
|
-
}),
|
|
575
|
+
}), rt = U({
|
|
577
576
|
displayName: "ConstraintLeft",
|
|
578
577
|
path: /* @__PURE__ */ f("path", {
|
|
579
578
|
fill: "var(--color-icon)",
|
|
@@ -581,7 +580,7 @@ var Ie = B({
|
|
|
581
580
|
d: "M16.5 8.5a.5.5 0 0 1 .5.5v5a.5.5 0 1 1-1 0v-2H7v2a.5.5 0 0 1-1 0V9a.5.5 0 0 1 1 0v2h9V9a.5.5 0 0 1 .5-.5",
|
|
582
581
|
clipRule: "evenodd"
|
|
583
582
|
})
|
|
584
|
-
}),
|
|
583
|
+
}), it = U({
|
|
585
584
|
displayName: "ConstraintTop",
|
|
586
585
|
path: /* @__PURE__ */ f("path", {
|
|
587
586
|
fill: "var(--color-icon)",
|
|
@@ -589,19 +588,19 @@ var Ie = B({
|
|
|
589
588
|
d: "M8.5 6.5A.5.5 0 0 1 9 6h5a.5.5 0 0 1 0 1h-2v9h2a.5.5 0 0 1 0 1H9a.5.5 0 0 1 0-1h2V7H9a.5.5 0 0 1-.5-.5",
|
|
590
589
|
clipRule: "evenodd"
|
|
591
590
|
})
|
|
592
|
-
}),
|
|
591
|
+
}), at = U({
|
|
593
592
|
displayName: "CornerRadius",
|
|
594
593
|
path: /* @__PURE__ */ f("path", {
|
|
595
594
|
fill: "var(--color-icon)",
|
|
596
595
|
d: "M6.5 14a.5.5 0 0 1 .5.5v.6c0 .428 0 .72.019.945.017.219.05.331.09.41.096.187.249.34.437.436.078.04.19.073.41.09.224.019.516.019.944.019h.6a.5.5 0 0 1 0 1h-.621c-.402 0-.734 0-1.005-.023-.281-.022-.54-.071-.782-.195a2 2 0 0 1-.874-.874c-.124-.242-.173-.501-.196-.782A13 13 0 0 1 6 15.121V14.5a.5.5 0 0 1 .5-.5m11 0a.5.5 0 0 1 .5.5v.621c0 .402 0 .734-.023 1.005-.022.281-.071.54-.195.782a2 2 0 0 1-.874.874c-.242.124-.501.173-.782.195-.27.023-.603.023-1.005.023H14.5a.5.5 0 0 1 0-1h.6c.428 0 .72 0 .945-.019.219-.018.331-.05.41-.09a1 1 0 0 0 .436-.437c.04-.078.073-.19.09-.41.019-.224.019-.516.019-.944v-.6a.5.5 0 0 1 .5-.5m-8-8a.5.5 0 0 1 0 1h-.6c-.428 0-.719 0-.944.019-.22.017-.332.05-.41.09a1 1 0 0 0-.437.437c-.04.078-.073.19-.09.41C7 8.18 7 8.471 7 8.9v.6a.5.5 0 0 1-1 0v-.621c0-.402 0-.734.022-1.005.023-.281.072-.54.196-.782a2 2 0 0 1 .874-.874c.242-.124.501-.173.782-.196C8.144 6 8.477 6 8.88 6zm5.621 0c.402 0 .734 0 1.005.022.281.023.54.072.782.196a2 2 0 0 1 .874.874c.124.242.173.501.195.782.023.27.023.603.023 1.005V9.5a.5.5 0 0 1-1 0v-.6c0-.428 0-.72-.019-.945-.018-.219-.05-.33-.09-.41a1 1 0 0 0-.437-.436c-.078-.04-.19-.073-.41-.09A13 13 0 0 0 15.1 7h-.6a.5.5 0 0 1 0-1z"
|
|
597
596
|
})
|
|
598
|
-
}),
|
|
597
|
+
}), ot = U({
|
|
599
598
|
displayName: "Design",
|
|
600
599
|
path: /* @__PURE__ */ f("path", {
|
|
601
600
|
fill: "var(--color-icon)",
|
|
602
601
|
d: "M12.11 13.956c-.44-1.121.618-2.23 1.738-1.885l.108.038 4.15 1.63.115.051c1.136.556 1.027 2.254-.218 2.637l-1.205.372-.37 1.205c-.397 1.29-2.196 1.356-2.689.102zm1.48-.916a.425.425 0 0 0-.55.55l1.63 4.15c.138.35.618.356.775.038l.027-.068.526-1.711 1.711-.527a.425.425 0 0 0 .031-.802zM16.5 6A1.5 1.5 0 0 1 18 7.5v1a1.5 1.5 0 0 1-1.5 1.5H10v6.5A1.5 1.5 0 0 1 8.5 18h-1A1.5 1.5 0 0 1 6 16.5v-9A1.5 1.5 0 0 1 7.5 6zM7 16.5a.5.5 0 0 0 .5.5h1a.5.5 0 0 0 .5-.5V15h-.5a.5.5 0 0 1 0-1H9v-1h-.5a.5.5 0 0 1 0-1H9v-2H7zM7.5 7a.5.5 0 0 0-.5.5V9h2V7zM10 9h2v-.5a.5.5 0 0 1 1 0V9h1v-.5a.5.5 0 0 1 1 0V9h1.5a.5.5 0 0 0 .5-.5v-1a.5.5 0 0 0-.5-.5H10z"
|
|
603
602
|
})
|
|
604
|
-
}),
|
|
603
|
+
}), st = U({
|
|
605
604
|
displayName: "Draw",
|
|
606
605
|
path: /* @__PURE__ */ f("path", {
|
|
607
606
|
fill: "var(--color-icon)",
|
|
@@ -609,7 +608,7 @@ var Ie = B({
|
|
|
609
608
|
d: "M13.407 5.06c.61-.123 1.227-.079 1.657.343l.135.15c.277.361.316.79.208 1.204-.115.44-.397.887-.734 1.314-.68.86-1.74 1.829-2.748 2.76-1.031.952-2.01 1.867-2.606 2.662-.3.4-.466.724-.517.97-.044.21-.003.34.12.46l.065.052c.072.044.167.062.313.039.217-.034.505-.155.866-.378.72-.445 1.561-1.183 2.445-1.966.862-.763 1.768-1.571 2.57-2.076.4-.252.817-.457 1.221-.527.427-.074.87.002 1.223.346l.102.112c.22.271.296.593.266.918-.032.344-.183.684-.364.993-.363.617-.963 1.296-1.515 1.922-.574.651-1.1 1.251-1.403 1.767-.151.257-.218.449-.23.581-.01.106.012.163.072.22l.054.04c.074.038.214.062.474-.031.356-.128.853-.456 1.465-1.1a.5.5 0 0 1 .725.687c-.666.702-1.291 1.153-1.853 1.354-.535.192-1.08.173-1.485-.163l-.08-.071a1.23 1.23 0 0 1-.369-1.03c.033-.344.183-.684.364-.993.363-.617.964-1.297 1.516-1.923.574-.651 1.1-1.25 1.402-1.766.152-.258.22-.449.232-.581.007-.08-.004-.132-.035-.177l-.038-.045c-.07-.068-.162-.108-.353-.075-.213.037-.5.161-.858.388-.717.451-1.555 1.194-2.44 1.978-.862.764-1.774 1.57-2.584 2.07-.404.249-.826.45-1.237.514-.38.06-.767 0-1.095-.247l-.136-.118c-.402-.394-.502-.887-.399-1.38.097-.46.367-.923.696-1.363.663-.885 1.718-1.865 2.728-2.798 1.033-.954 2.023-1.862 2.642-2.645.31-.393.489-.71.55-.946.04-.152.028-.246-.017-.32l-.057-.069c-.082-.08-.284-.172-.76-.076-.468.094-1.091.352-1.863.803-1.537.898-3.552 2.496-5.893 4.786a.5.5 0 0 1-.699-.715c2.37-2.319 4.45-3.98 6.087-4.935.815-.476 1.55-.794 2.17-.92",
|
|
610
609
|
clipRule: "evenodd"
|
|
611
610
|
})
|
|
612
|
-
}),
|
|
611
|
+
}), ct = U({
|
|
613
612
|
displayName: "Ellipsis",
|
|
614
613
|
path: /* @__PURE__ */ f("path", {
|
|
615
614
|
fill: "var(--color-icon)",
|
|
@@ -617,7 +616,7 @@ var Ie = B({
|
|
|
617
616
|
d: "M7.5 12a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0m6 0a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0m4.5 1.5a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3",
|
|
618
617
|
clipRule: "evenodd"
|
|
619
618
|
})
|
|
620
|
-
}),
|
|
619
|
+
}), lt = U({
|
|
621
620
|
displayName: "Expand",
|
|
622
621
|
path: /* @__PURE__ */ f("path", {
|
|
623
622
|
fill: "var(--color-icon)",
|
|
@@ -625,7 +624,7 @@ var Ie = B({
|
|
|
625
624
|
d: "m17 7.707-3.146 3.147a.5.5 0 0 1-.708-.708L16.293 7H13.5a.5.5 0 0 1 0-1h4a.5.5 0 0 1 .5.5v4a.5.5 0 0 1-1 0zm-6.854 5.44a.5.5 0 0 1 .708.707L7.707 17H10.5a.5.5 0 0 1 0 1h-4a.5.5 0 0 1-.5-.5v-4a.5.5 0 0 1 1 0v2.793z",
|
|
626
625
|
clipRule: "evenodd"
|
|
627
626
|
})
|
|
628
|
-
}),
|
|
627
|
+
}), ut = U({
|
|
629
628
|
displayName: "Eye",
|
|
630
629
|
path: /* @__PURE__ */ f("path", {
|
|
631
630
|
fill: "var(--color-icon)",
|
|
@@ -633,13 +632,13 @@ var Ie = B({
|
|
|
633
632
|
d: "M6 12c0-.066.054-.358.313-.825a5.9 5.9 0 0 1 1.12-1.414C8.443 8.816 9.956 8 12 8s3.558.816 4.566 1.76c.508.477.88.98 1.121 1.415.258.467.313.76.313.825 0 .066-.055.358-.313.825-.24.435-.613.938-1.12 1.414C15.557 15.184 14.044 16 12 16s-3.558-.816-4.566-1.76a5.9 5.9 0 0 1-1.121-1.415C6.055 12.358 6 12.065 6 12m-1 0c0-1.25 2.333-5 7-5s7 3.75 7 5-2.333 5-7 5-7-3.75-7-5m8 0a1 1 0 1 1-2 0 1 1 0 0 1 2 0m1 0a2 2 0 1 1-4 0 2 2 0 0 1 4 0",
|
|
634
633
|
clipRule: "evenodd"
|
|
635
634
|
})
|
|
636
|
-
}),
|
|
635
|
+
}), dt = U({
|
|
637
636
|
displayName: "Eyedropper",
|
|
638
637
|
path: /* @__PURE__ */ f("path", {
|
|
639
638
|
fill: "var(--color-icon)",
|
|
640
639
|
d: "M16.922 3.56a2.501 2.501 0 0 1 3.517 3.517l-.172.19-2.206 2.205a.33.33 0 0 0 0 .466h.001c.548.549.582 1.418.103 2.007l-.104.115a1.5 1.5 0 0 1-2.12 0l-.233-.233-6.94 6.94a2.5 2.5 0 0 1-2.12.705L5.56 20.56a1.5 1.5 0 0 1-2.12-2.121l1.086-1.09a2.5 2.5 0 0 1 .706-2.118l6.94-6.939-.232-.232a1.5 1.5 0 0 1 0-2.122l.114-.103a1.5 1.5 0 0 1 1.893 0l.114.103.052.042c.127.084.3.07.411-.042l2.208-2.207zM5.939 15.939a1.5 1.5 0 0 0-.405 1.37c.044.208.013.435-.137.585l-1.25 1.25v.002a.5.5 0 0 0 .706.706l1.251-1.251c.15-.15.377-.181.584-.137.48.102 1-.032 1.372-.404L15 11.12 12.88 9zm13.621-11.5a1.5 1.5 0 0 0-2.12 0l-2.21 2.206a1.327 1.327 0 0 1-1.877 0 .5.5 0 0 0-.707.707l3.994 3.994.005.005h.001a.5.5 0 0 0 .707-.707l-.004-.003a1.33 1.33 0 0 1 .004-1.877L19.56 6.56a1.5 1.5 0 0 0 0-2.122"
|
|
641
640
|
})
|
|
642
|
-
}),
|
|
641
|
+
}), ft = U({
|
|
643
642
|
displayName: "FillGradient",
|
|
644
643
|
path: /* @__PURE__ */ f("path", {
|
|
645
644
|
fill: "var(--color-icon)",
|
|
@@ -647,7 +646,7 @@ var Ie = B({
|
|
|
647
646
|
d: "M8 7h8a1 1 0 0 1 1 1v8a1 1 0 0 1-1 1H8a1 1 0 0 1-1-1V8a1 1 0 0 1 1-1M6 8a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H8a2 2 0 0 1-2-2zm3.75.875a.875.875 0 1 1-1.75 0 .875.875 0 0 1 1.75 0m3.791.625a.625.625 0 1 0 0-1.25.625.625 0 0 0 0 1.25m-1.458.875a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0m0 3.12a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0m1.458 2.245a.625.625 0 1 0 0-1.25.625.625 0 0 0 0 1.25m.625-3.865a.625.625 0 1 1-1.25 0 .625.625 0 0 1 1.25 0M8.875 15.99a.875.875 0 1 0 0-1.75.875.875 0 0 0 0 1.75m.875-4.115a.875.875 0 1 1-1.75 0 .875.875 0 0 1 1.75 0m5.75-1a.5.5 0 1 0 0-1 .5.5 0 0 0 0 1m.5 2.623a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0",
|
|
648
647
|
clipRule: "evenodd"
|
|
649
648
|
})
|
|
650
|
-
}),
|
|
649
|
+
}), pt = U({
|
|
651
650
|
displayName: "FillPattern",
|
|
652
651
|
path: /* @__PURE__ */ f("path", {
|
|
653
652
|
fill: "var(--color-icon)",
|
|
@@ -655,7 +654,7 @@ var Ie = B({
|
|
|
655
654
|
d: "M12.5 7H16a1 1 0 0 1 1 1v1h-4.5zm-1 0H8a1 1 0 0 0-1 1v1h4.5zM7 10v4h2v-4h1v4h4v-4h1v4h2v-4zm10 5h-4.5v2H16a1 1 0 0 0 1-1zm-5.5 2v-2H7v1a1 1 0 0 0 1 1zM6 8a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H8a2 2 0 0 1-2-2z",
|
|
656
655
|
clipRule: "evenodd"
|
|
657
656
|
})
|
|
658
|
-
}),
|
|
657
|
+
}), mt = U({
|
|
659
658
|
displayName: "FillSolid",
|
|
660
659
|
path: /* @__PURE__ */ p(d, { children: [/* @__PURE__ */ f("path", {
|
|
661
660
|
fill: "var(--color-icon-tertiary)",
|
|
@@ -666,7 +665,7 @@ var Ie = B({
|
|
|
666
665
|
d: "M8 7h8a1 1 0 0 1 1 1v8a1 1 0 0 1-1 1H8a1 1 0 0 1-1-1V8a1 1 0 0 1 1-1M6 8a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H8a2 2 0 0 1-2-2zm3 7V9h6v6zM8 8.5a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 .5.5v7a.5.5 0 0 1-.5.5h-7a.5.5 0 0 1-.5-.5z",
|
|
667
666
|
clipRule: "evenodd"
|
|
668
667
|
})] })
|
|
669
|
-
}),
|
|
668
|
+
}), ht = U({
|
|
670
669
|
displayName: "Figma",
|
|
671
670
|
path: /* @__PURE__ */ f("path", {
|
|
672
671
|
fill: "var(--color-icon)",
|
|
@@ -674,7 +673,7 @@ var Ie = B({
|
|
|
674
673
|
d: "M6.5 7c0 1.043.533 1.963 1.341 2.5A3 3 0 0 0 6.5 12c0 1.043.533 1.963 1.341 2.5A3 3 0 1 0 12.5 17v-2.764A3 3 0 1 0 16.159 9.5 3 3 0 0 0 14.5 4h-5a3 3 0 0 0-3 3m8 2a2 2 0 1 0 0-4h-2v4zm-2 3a2 2 0 1 0 4 0 2 2 0 0 0-4 0m-1 2h-2a2 2 0 1 1 0-4h2zm-2 1h2v2a2 2 0 1 1-2-2m2-6h-2a2 2 0 1 1 0-4h2z",
|
|
675
674
|
clipRule: "evenodd"
|
|
676
675
|
})
|
|
677
|
-
}),
|
|
676
|
+
}), gt = U({
|
|
678
677
|
displayName: "FixedSize",
|
|
679
678
|
path: /* @__PURE__ */ f("path", {
|
|
680
679
|
fill: "var(--color-icon)",
|
|
@@ -682,7 +681,7 @@ var Ie = B({
|
|
|
682
681
|
d: "M7 7.5a.5.5 0 0 1 .5-.5h9a.5.5 0 0 1 .5.5v9a.5.5 0 0 1-.5.5h-9a.5.5 0 0 1-.5-.5zM7.5 6A1.5 1.5 0 0 0 6 7.5v9A1.5 1.5 0 0 0 7.5 18h9a1.5 1.5 0 0 0 1.5-1.5v-9A1.5 1.5 0 0 0 16.5 6zm7 4h-5a.5.5 0 1 1 0-1h5a.5.5 0 1 1 0 1m-5 2.5h5a.5.5 0 1 0 0-1h-5a.5.5 0 0 0 0 1m0 1.5a.5.5 0 0 0 0 1h3a.5.5 0 0 0 0-1z",
|
|
683
682
|
clipRule: "evenodd"
|
|
684
683
|
})
|
|
685
|
-
}),
|
|
684
|
+
}), _t = U({
|
|
686
685
|
displayName: "FlipHorizontal",
|
|
687
686
|
path: /* @__PURE__ */ f("path", {
|
|
688
687
|
fill: "var(--color-icon)",
|
|
@@ -690,7 +689,7 @@ var Ie = B({
|
|
|
690
689
|
d: "M12.5 6.5a.5.5 0 0 0-1 0v11a.5.5 0 0 0 1 0zM6 9.104a.75.75 0 0 1 1.28-.53L10 11.292a1 1 0 0 1 0 1.414l-2.72 2.72a.75.75 0 0 1-1.28-.53zm1 .603v4.586L9.293 12zm11-.603a.75.75 0 0 0-1.28-.53L14 11.292a1 1 0 0 0 0 1.414l2.72 2.72a.75.75 0 0 0 1.28-.53zm-1 .603v4.586L14.707 12z",
|
|
691
690
|
clipRule: "evenodd"
|
|
692
691
|
})
|
|
693
|
-
}),
|
|
692
|
+
}), vt = U({
|
|
694
693
|
displayName: "FlipVertical",
|
|
695
694
|
path: /* @__PURE__ */ f("path", {
|
|
696
695
|
fill: "var(--color-icon)",
|
|
@@ -698,7 +697,7 @@ var Ie = B({
|
|
|
698
697
|
d: "M17.5 12.5a.5.5 0 0 0 0-1h-11a.5.5 0 0 0 0 1zM14.896 18a.75.75 0 0 0 .53-1.28L12.708 14a1 1 0 0 0-1.414 0l-2.72 2.72a.75.75 0 0 0 .53 1.28zm-.603-1H9.707L12 14.707zm.603-11a.75.75 0 0 1 .53 1.28L12.708 10a1 1 0 0 1-1.414 0l-2.72-2.72A.75.75 0 0 1 9.103 6zm-.603 1H9.707L12 9.293z",
|
|
699
698
|
clipRule: "evenodd"
|
|
700
699
|
})
|
|
701
|
-
}),
|
|
700
|
+
}), yt = U({
|
|
702
701
|
displayName: "Frame",
|
|
703
702
|
path: /* @__PURE__ */ f("path", {
|
|
704
703
|
fill: "var(--color-icon)",
|
|
@@ -706,7 +705,7 @@ var Ie = B({
|
|
|
706
705
|
d: "M7.5 4a.5.5 0 0 0-.5.5V7H4.5a.5.5 0 0 0 0 1H7v8H4.5a.5.5 0 0 0 0 1H7v2.5a.5.5 0 0 0 1 0V17h8v2.5a.5.5 0 0 0 1 0V17h2.5a.5.5 0 0 0 0-1H17V8h2.5a.5.5 0 0 0 0-1H17V4.5a.5.5 0 0 0-1 0V7H8V4.5a.5.5 0 0 0-.5-.5M16 8H8v8h8z",
|
|
707
706
|
clipRule: "evenodd"
|
|
708
707
|
})
|
|
709
|
-
}),
|
|
708
|
+
}), bt = U({
|
|
710
709
|
displayName: "Help",
|
|
711
710
|
path: /* @__PURE__ */ f("path", {
|
|
712
711
|
fill: "var(--color-icon)",
|
|
@@ -714,13 +713,13 @@ var Ie = B({
|
|
|
714
713
|
d: "M11.69 16.572q.357 0 .61.254a.83.83 0 0 1 .26.616q0 .236-.12.435a.9.9 0 0 1-.315.32.84.84 0 0 1-.435.114.85.85 0 0 1-.615-.253.85.85 0 0 1-.254-.616.84.84 0 0 1 .254-.616.85.85 0 0 1 .615-.254m.332-10.884q1.002 0 1.763.416.76.41 1.19 1.13.428.712.428 1.635 0 .61-.193 1.111a2.9 2.9 0 0 1-.58.924 4.8 4.8 0 0 1-.954.797 4.6 4.6 0 0 0-.863.718 2.1 2.1 0 0 0-.459.815q-.138.453-.15 1.117c0 .18-.146.326-.326.326h-.44a.326.326 0 0 1-.327-.326q.006-.954.21-1.551.207-.598.604-1.009a5.5 5.5 0 0 1 1.003-.797q.447-.29.748-.61.308-.325.465-.711a2.2 2.2 0 0 0 .163-.852q0-.651-.307-1.14a2.04 2.04 0 0 0-.822-.755 2.45 2.45 0 0 0-1.153-.272q-.603 0-1.129.266a2.15 2.15 0 0 0-1.138 1.483c-.067.3-.312.545-.619.545-.323 0-.588-.269-.53-.587a3.12 3.12 0 0 1 1.678-2.268 3.7 3.7 0 0 1 1.738-.405",
|
|
715
714
|
clipRule: "evenodd"
|
|
716
715
|
})
|
|
717
|
-
}),
|
|
716
|
+
}), xt = U({
|
|
718
717
|
displayName: "Image",
|
|
719
718
|
path: /* @__PURE__ */ f("path", {
|
|
720
719
|
fill: "var(--color-icon)",
|
|
721
720
|
d: "M16 6a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H8a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2zM8 7a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V8a1 1 0 0 0-1-1zm2.225 4.082a.5.5 0 0 1 .629.064l4 4a.5.5 0 1 1-.707.707L10.5 12.208l-1.646 1.646a.5.5 0 1 1-.708-.707l2-2zM14.5 8a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3m0 1a.5.5 0 1 0 0 1 .5.5 0 0 0 0-1"
|
|
722
721
|
})
|
|
723
|
-
}),
|
|
722
|
+
}), St = U({
|
|
724
723
|
displayName: "LayersCollapse",
|
|
725
724
|
path: /* @__PURE__ */ f("path", {
|
|
726
725
|
fill: "var(--color-icon)",
|
|
@@ -728,25 +727,25 @@ var Ie = B({
|
|
|
728
727
|
d: "M6.5 7a.5.5 0 0 0 0 1h5a.5.5 0 0 0 0-1zm0 3a.5.5 0 0 0 0 1h5a.5.5 0 0 0 0-1zM6 13.5a.5.5 0 0 1 .5-.5h5a.5.5 0 0 1 0 1h-5a.5.5 0 0 1-.5-.5m.5 2.5a.5.5 0 0 0 0 1h5a.5.5 0 0 0 0-1zm6.646.146 2-2a.5.5 0 0 1 .708 0l2 2a.5.5 0 0 1-.708.708L15.5 15.207l-1.646 1.647a.5.5 0 0 1-.708-.708m2.708-6.292a.5.5 0 0 1-.708 0l-2-2a.5.5 0 0 1 .708-.708L15.5 8.793l1.646-1.647a.5.5 0 0 1 .708.708z",
|
|
729
728
|
clipRule: "evenodd"
|
|
730
729
|
})
|
|
731
|
-
}),
|
|
730
|
+
}), Ct = U({
|
|
732
731
|
displayName: "LetterSpacing",
|
|
733
732
|
path: /* @__PURE__ */ f("path", {
|
|
734
733
|
fill: "var(--color-icon)",
|
|
735
734
|
d: "M6.5 6a.5.5 0 0 1 .5.5v11a.5.5 0 0 1-1 0v-11a.5.5 0 0 1 .5-.5m11 0a.5.5 0 0 1 .5.5v11a.5.5 0 0 1-1 0v-11a.5.5 0 0 1 .5-.5m-5.25 3a.5.5 0 0 1 .472.335l1.75 5a.5.5 0 1 1-.944.33l-.407-1.165H10.88l-.407 1.165a.5.5 0 1 1-.944-.33l1.75-5 .032-.072A.5.5 0 0 1 11.75 9zm-1.02 3.5h1.54L12 10.298z"
|
|
736
735
|
})
|
|
737
|
-
}),
|
|
736
|
+
}), wt = U({
|
|
738
737
|
displayName: "LineHeight",
|
|
739
738
|
path: /* @__PURE__ */ f("path", {
|
|
740
739
|
fill: "var(--color-icon)",
|
|
741
740
|
d: "M17.5 17a.5.5 0 0 1 0 1h-11a.5.5 0 0 1 0-1zm-5.25-9a.5.5 0 0 1 .476.347l2.25 7a.5.5 0 0 1-.952.306L13.494 14h-2.987l-.531 1.653a.5.5 0 0 1-.952-.306l2.25-7 .03-.075A.5.5 0 0 1 11.75 8zm-1.422 5h2.344L12 9.354zM17.5 6a.5.5 0 0 1 0 1h-11a.5.5 0 0 1 0-1z"
|
|
742
741
|
})
|
|
743
|
-
}),
|
|
742
|
+
}), Tt = U({
|
|
744
743
|
displayName: "Link",
|
|
745
744
|
path: /* @__PURE__ */ f("path", {
|
|
746
745
|
fill: "var(--color-icon)",
|
|
747
746
|
d: "M12.444 10.37a2.998 2.998 0 0 1 .677 4.75l-2 2a3 3 0 1 1-4.243-4.242l1.27-1.27c.262-.263.746-.069.826.293a.44.44 0 0 1-.111.405l-1.278 1.279a2 2 0 1 0 2.829 2.828l2-2a2 2 0 0 0 0-2.828l-.029-.028c-.093-.089-.187-.184-.224-.307a.88.88 0 0 1 .22-.87.05.05 0 0 1 .063-.01m.434-3.492a3 3 0 1 1 4.243 4.242l-1.27 1.27c-.262.262-.745.068-.826-.294a.44.44 0 0 1 .111-.405l1.278-1.278a2 2 0 1 0-2.829-2.828l-2 2a2 2 0 0 0 0 2.828l.029.026c.093.089.186.183.223.306a.88.88 0 0 1-.218.874.05.05 0 0 1-.062.009 3 3 0 0 1-.679-4.75z"
|
|
748
747
|
})
|
|
749
|
-
}),
|
|
748
|
+
}), Et = U({
|
|
750
749
|
displayName: "Minus",
|
|
751
750
|
path: /* @__PURE__ */ f("path", {
|
|
752
751
|
fill: "var(--color-icon)",
|
|
@@ -754,19 +753,19 @@ var Ie = B({
|
|
|
754
753
|
d: "M6 12a.5.5 0 0 1 .5-.5h11a.5.5 0 0 1 0 1h-11A.5.5 0 0 1 6 12",
|
|
755
754
|
clipRule: "evenodd"
|
|
756
755
|
})
|
|
757
|
-
}),
|
|
756
|
+
}), Dt = U({
|
|
758
757
|
displayName: "Move",
|
|
759
758
|
path: /* @__PURE__ */ f("path", {
|
|
760
759
|
fill: "var(--color-icon)",
|
|
761
760
|
d: "M4.586 4.586a2 2 0 0 1 2.005-.497l.14.05 13 5.107a2 2 0 0 1 1.267 1.779v.159a2 2 0 0 1-1.26 1.782l-.15.053-5.024 1.545-1.545 5.024a2 2 0 0 1-1.677 1.398l-.158.012a2 2 0 0 1-1.938-1.267l-5.107-13a2 2 0 0 1 .447-2.145m1.78.484a1 1 0 0 0-1.073.223l-.097.112a1 1 0 0 0-.127.96l5.108 13a1 1 0 0 0 .811.628l.158.006a1 1 0 0 0 .859-.558l.058-.147 1.7-5.53 5.531-1.701a1 1 0 0 0 .687-.76l.018-.157a1 1 0 0 0-.492-.9l-.142-.069z"
|
|
762
761
|
})
|
|
763
|
-
}),
|
|
762
|
+
}), Ot = U({
|
|
764
763
|
displayName: "Number",
|
|
765
764
|
path: /* @__PURE__ */ f("path", {
|
|
766
765
|
fill: "var(--color-icon)",
|
|
767
766
|
d: "M16 6a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H8a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2zM8 7a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V8a1 1 0 0 0-1-1zm3.05 2.002a.5.5 0 0 1 .448.547l-.045.452h1.495l.055-.55a.5.5 0 0 1 .995.098l-.045.452h.547a.5.5 0 1 1 0 1h-.648l-.199 2h.847a.5.5 0 1 1 0 1h-.948l-.054.548a.501.501 0 0 1-.995-.098l.044-.45h-1.495l-.054.548a.501.501 0 0 1-.995-.098l.044-.45H9.5a.5.5 0 0 1 0-1h.647l.2-2H9.5a.5.5 0 0 1 0-1h.948l.055-.55a.5.5 0 0 1 .546-.449m.302 1.999-.199 2h1.494l.2-2z"
|
|
768
767
|
})
|
|
769
|
-
}),
|
|
768
|
+
}), kt = U({
|
|
770
769
|
displayName: "Opacity",
|
|
771
770
|
path: /* @__PURE__ */ f("path", {
|
|
772
771
|
fill: "var(--color-icon)",
|
|
@@ -774,25 +773,25 @@ var Ie = B({
|
|
|
774
773
|
d: "M8 7h8a1 1 0 0 1 1 1v8a1 1 0 0 1-1 1H8a1 1 0 0 1-1-1V8a1 1 0 0 1 1-1M6 8a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H8a2 2 0 0 1-2-2zm9 1.5a.5.5 0 1 0 0-1 .5.5 0 0 0 0 1M13.5 11a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0m-2 2a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0m-2 2a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0m1.5.5a.5.5 0 1 0 0-1 .5.5 0 0 0 0 1m2-2a.5.5 0 1 0 0-1 .5.5 0 0 0 0 1m.5 1.5a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0m2-4a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0m-.5 2.5a.5.5 0 1 0 0-1 .5.5 0 0 0 0 1m.5 1.5a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0",
|
|
775
774
|
clipRule: "evenodd"
|
|
776
775
|
})
|
|
777
|
-
}),
|
|
776
|
+
}), At = U({
|
|
778
777
|
displayName: "Palette",
|
|
779
778
|
path: /* @__PURE__ */ f("path", {
|
|
780
779
|
fill: "var(--color-icon)",
|
|
781
780
|
d: "M7.312 6.803a7 7 0 0 1 9.639.248l.28.298a7 7 0 0 1 1.76 4.998l-.029.38C18.807 14.222 17.446 15 16.242 15H13.5l-.101.01a.5.5 0 0 0-.4.49v.5c0 .82-.338 1.603-.92 2.127-.6.542-1.468.8-2.37.488a7 7 0 0 1-2.362-1.385l-.297-.28a7 7 0 0 1 0-9.9zm8.93.955a6 6 0 0 0-8.485 0l-.212.225a6 6 0 0 0 2.492 9.689c.978.337 1.848-.457 1.953-1.467L12 16v-.499a1.5 1.5 0 0 1 1.5-1.5h2.743l.158-.006c.733-.057 1.391-.513 1.543-1.216l.024-.155a6 6 0 0 0-1.484-4.611zM8.5 12.001a1 1 0 1 1 0 2 1 1 0 0 1 0-2m7-2a1 1 0 1 1-.001 2 1 1 0 0 1 0-2m-6-1.5a1 1 0 1 1 0 2.001 1 1 0 0 1 0-2m3.5-1a1 1 0 1 1 0 2 1 1 0 0 1 0-2"
|
|
782
781
|
})
|
|
783
|
-
}),
|
|
782
|
+
}), jt = U({
|
|
784
783
|
displayName: "PanelLeftClose",
|
|
785
784
|
path: /* @__PURE__ */ f("path", {
|
|
786
785
|
fill: "var(--color-icon)",
|
|
787
786
|
d: "M17.653 7.008A1.5 1.5 0 0 1 19 8.5v7a1.5 1.5 0 0 1-1.347 1.492L17.5 17h-11a1.5 1.5 0 0 1-1.492-1.347L5 15.5v-7A1.5 1.5 0 0 1 6.5 7h11zM6.5 8a.5.5 0 0 0-.5.5v7a.5.5 0 0 0 .5.5H9V8zm3.5 8h7.5a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.5-.5H10z"
|
|
788
787
|
})
|
|
789
|
-
}),
|
|
788
|
+
}), Mt = U({
|
|
790
789
|
displayName: "Pen",
|
|
791
790
|
path: /* @__PURE__ */ f("path", {
|
|
792
791
|
fill: "var(--color-icon)",
|
|
793
792
|
d: "M4.886 3.21a1 1 0 0 1 .812-.19l7.698 1.56.338.076a7.67 7.67 0 0 1 5.806 7.266v.346l-.008.329 1.197 1.197a1 1 0 0 1 0 1.414l-5.523 5.522a1 1 0 0 1-1.413 0l-1.198-1.197-.328.008a7.67 7.67 0 0 1-7.612-5.806l-.077-.338L3.02 5.7a1 1 0 0 1 .274-.906l1.5-1.5zm.674 9.99a6.666 6.666 0 0 0 6.383 5.342h.3l.756-.018 1.5 1.5 5.523-5.522-1.5-1.5.018-.756a6.67 6.67 0 0 0-5.048-6.619l-.295-.066L5.5 4l-.396.397 5.16 5.16A3 3 0 0 1 12 9.001 3.001 3.001 0 0 1 12 15a3 3 0 0 1-2.444-4.737l-5.16-5.16L4 5.5zM12 10.001a2 2 0 0 0-2 2l.01.204a2 2 0 0 0 1.786 1.785L12 14a2 2 0 0 0 1.989-1.795l.01-.204a2 2 0 0 0-1.795-1.99z"
|
|
794
793
|
})
|
|
795
|
-
}),
|
|
794
|
+
}), Nt = U({
|
|
796
795
|
displayName: "Play",
|
|
797
796
|
path: /* @__PURE__ */ f("path", {
|
|
798
797
|
fill: "var(--color-icon)",
|
|
@@ -800,7 +799,7 @@ var Ie = B({
|
|
|
800
799
|
d: "M6 5.903C6 4.43 7.604 3.517 8.87 4.269l10.15 6.028c1.307.776 1.305 2.669-.003 3.442l-10.15 5.995c-1.228.724-2.768-.11-2.863-1.5L6 18.098zm1 12.195a.9.9 0 0 0 1.357.774l10.152-5.995a1 1 0 0 0 .002-1.72L8.359 5.129A.9.9 0 0 0 7 5.903z",
|
|
801
800
|
clipRule: "evenodd"
|
|
802
801
|
})
|
|
803
|
-
}),
|
|
802
|
+
}), Pt = U({
|
|
804
803
|
displayName: "Plus",
|
|
805
804
|
path: /* @__PURE__ */ f("path", {
|
|
806
805
|
stroke: "var(--color-icon)",
|
|
@@ -808,7 +807,7 @@ var Ie = B({
|
|
|
808
807
|
strokeLinecap: "round",
|
|
809
808
|
strokeLinejoin: "round"
|
|
810
809
|
})
|
|
811
|
-
}),
|
|
810
|
+
}), Ft = U({
|
|
812
811
|
displayName: "Rectangle",
|
|
813
812
|
path: /* @__PURE__ */ f("path", {
|
|
814
813
|
fill: "var(--color-icon)",
|
|
@@ -816,13 +815,13 @@ var Ie = B({
|
|
|
816
815
|
d: "M18 5H6a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V6a1 1 0 0 0-1-1M6 4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2z",
|
|
817
816
|
clipRule: "evenodd"
|
|
818
817
|
})
|
|
819
|
-
}),
|
|
818
|
+
}), It = U({
|
|
820
819
|
displayName: "RotateClockwise",
|
|
821
820
|
path: /* @__PURE__ */ f("path", {
|
|
822
821
|
fill: "var(--color-icon)",
|
|
823
822
|
d: "M11.054 9.543a1.5 1.5 0 0 1 2.007.103l3.293 3.293a1.5 1.5 0 0 1 0 2.121l-3.293 3.293a1.5 1.5 0 0 1-2.121 0L7.647 15.06a1.5 1.5 0 0 1 0-2.121l3.293-3.293zm1.3.81a.5.5 0 0 0-.707 0l-3.293 3.293a.5.5 0 0 0 0 .707l3.293 3.293a.5.5 0 0 0 .629.064l.078-.064 3.293-3.293a.5.5 0 0 0 .064-.629l-.064-.078zM9.526 5.767a3.5 3.5 0 0 1 4.949 0L16 7.292V6a.5.5 0 0 1 1 0v2.5a.5.5 0 0 1-.5.5H14a.5.5 0 0 1 0-1h1.293l-1.525-1.526a2.5 2.5 0 0 0-3.535 0l-2.38 2.379a.5.5 0 0 1-.706-.707z"
|
|
824
823
|
})
|
|
825
|
-
}),
|
|
824
|
+
}), Lt = U({
|
|
826
825
|
displayName: "Rotation",
|
|
827
826
|
path: /* @__PURE__ */ f("path", {
|
|
828
827
|
fill: "var(--color-icon)",
|
|
@@ -830,7 +829,7 @@ var Ie = B({
|
|
|
830
829
|
d: "M9 8.5a.5.5 0 0 0-1 0v7a.5.5 0 0 0 .5.5h7a.5.5 0 0 0 0-1H13a4 4 0 0 0-4-4zM9 12v3h3a3 3 0 0 0-3-3",
|
|
831
830
|
clipRule: "evenodd"
|
|
832
831
|
})
|
|
833
|
-
}),
|
|
832
|
+
}), Rt = U({
|
|
834
833
|
displayName: "Ruler",
|
|
835
834
|
path: /* @__PURE__ */ f("path", {
|
|
836
835
|
fill: "var(--color-icon)",
|
|
@@ -838,19 +837,19 @@ var Ie = B({
|
|
|
838
837
|
d: "M3.293 7.793a1 1 0 0 0 0 1.414l11.5 11.5a1 1 0 0 0 1.414 0l4.5-4.5a1 1 0 0 0 0-1.414l-11.5-11.5a1 1 0 0 0-1.414 0zM4 8.5l.707.707.69.69.75-.75a.5.5 0 1 1 .707.707l-.75.75 1.292 1.292 2.25-2.25a.5.5 0 0 1 .708.708l-2.25 2.25 1.292 1.292.75-.75a.5.5 0 0 1 .708.708l-.75.75 1.292 1.292 2.25-2.25a.5.5 0 0 1 .708.708l-2.25 2.25 2.689 2.689.707.707.707-.707 3.086-3.086L20 15.5l-.707-.707L9.207 4.707 8.5 4l-.707.707-3.086 3.086zM16 17a1 1 0 1 0 0-2 1 1 0 0 0 0 2",
|
|
839
838
|
clipRule: "evenodd"
|
|
840
839
|
})
|
|
841
|
-
}),
|
|
840
|
+
}), zt = U({
|
|
842
841
|
displayName: "Search",
|
|
843
842
|
path: /* @__PURE__ */ f("path", {
|
|
844
843
|
fill: "var(--color-icon)",
|
|
845
844
|
d: "M11.5 6a5.5 5.5 0 0 1 4.226 9.019l2.127 2.127a.5.5 0 1 1-.707.707l-2.127-2.127A5.5 5.5 0 1 1 11.5 6m0 1a4.5 4.5 0 1 0 0 9 4.5 4.5 0 0 0 0-9"
|
|
846
845
|
})
|
|
847
|
-
}),
|
|
846
|
+
}), Bt = U({
|
|
848
847
|
displayName: "SelectMatching",
|
|
849
848
|
path: /* @__PURE__ */ f("path", {
|
|
850
849
|
fill: "var(--color-icon)",
|
|
851
850
|
d: "M6.5 16a.5.5 0 0 1 .49.4l.02.2c.04.196.194.35.39.39l.2.02a.5.5 0 0 1-.1.99A1.5 1.5 0 0 1 6 16.5a.5.5 0 0 1 .5-.5m4 0a.5.5 0 0 1 .5.5A1.5 1.5 0 0 1 9.5 18a.5.5 0 0 1-.1-.99l.2-.02a.5.5 0 0 0 .39-.39l.02-.2a.5.5 0 0 1 .49-.4m3 0a.5.5 0 0 1 .49.4l.02.2c.04.196.194.35.39.39l.2.02a.5.5 0 0 1-.1.99 1.5 1.5 0 0 1-1.5-1.5.5.5 0 0 1 .5-.5m4 0a.5.5 0 0 1 .5.5 1.5 1.5 0 0 1-1.5 1.5.5.5 0 0 1-.1-.99l.2-.02a.5.5 0 0 0 .39-.39l.02-.2a.5.5 0 0 1 .49-.4m-10-3a.5.5 0 0 1 .1.99l-.2.02a.5.5 0 0 0-.39.39l-.02.2a.5.5 0 0 1-.99-.1A1.5 1.5 0 0 1 7.5 13m2 0a1.5 1.5 0 0 1 1.5 1.5.5.5 0 0 1-.99.1l-.02-.2a.5.5 0 0 0-.39-.39l-.2-.02a.5.5 0 0 1 .1-.99m5 0a.5.5 0 0 1 .1.99l-.2.02a.5.5 0 0 0-.39.39l-.02.2a.5.5 0 0 1-.99-.1 1.5 1.5 0 0 1 1.5-1.5m2 0a1.5 1.5 0 0 1 1.5 1.5.5.5 0 0 1-.99.1l-.02-.2a.5.5 0 0 0-.39-.39l-.2-.02a.5.5 0 0 1 .1-.99m-7-7A1.5 1.5 0 0 1 11 7.5v2A1.5 1.5 0 0 1 9.5 11h-2A1.5 1.5 0 0 1 6 9.5v-2A1.5 1.5 0 0 1 7.5 6zm4 3a.5.5 0 0 1 .49.4l.02.2c.04.196.194.35.39.39l.2.02a.5.5 0 0 1-.1.99A1.5 1.5 0 0 1 13 9.5a.5.5 0 0 1 .5-.5m4 0a.5.5 0 0 1 .5.5 1.5 1.5 0 0 1-1.5 1.5.5.5 0 0 1-.1-.99l.2-.02a.5.5 0 0 0 .39-.39l.02-.2a.5.5 0 0 1 .49-.4m-10-2a.5.5 0 0 0-.5.5v2a.5.5 0 0 0 .5.5h2a.5.5 0 0 0 .5-.5v-2a.5.5 0 0 0-.5-.5zm7-1a.5.5 0 0 1 .1.99l-.2.02a.5.5 0 0 0-.39.39l-.02.2a.5.5 0 0 1-.99-.1A1.5 1.5 0 0 1 14.5 6m2 0A1.5 1.5 0 0 1 18 7.5a.5.5 0 0 1-.99.1l-.02-.2a.5.5 0 0 0-.39-.39l-.2-.02a.5.5 0 0 1 .1-.99"
|
|
852
851
|
})
|
|
853
|
-
}),
|
|
852
|
+
}), Vt = U({
|
|
854
853
|
displayName: "ShadowBottomLeft",
|
|
855
854
|
path: /* @__PURE__ */ p(d, { children: [/* @__PURE__ */ f("path", {
|
|
856
855
|
fill: "var(--color-icon)",
|
|
@@ -859,7 +858,7 @@ var Ie = B({
|
|
|
859
858
|
fill: "var(--color-icon-tertiary)",
|
|
860
859
|
d: "M6 8v8a2 2 0 0 0 2 2h8a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2v-8a2 2 0 0 1 1.796-1.99z"
|
|
861
860
|
})] })
|
|
862
|
-
}),
|
|
861
|
+
}), Ht = U({
|
|
863
862
|
displayName: "ShadowBottomRight",
|
|
864
863
|
path: /* @__PURE__ */ p(d, { children: [/* @__PURE__ */ f("path", {
|
|
865
864
|
fill: "var(--color-icon)",
|
|
@@ -868,7 +867,7 @@ var Ie = B({
|
|
|
868
867
|
fill: "var(--color-icon-tertiary)",
|
|
869
868
|
d: "M18.204 8.01A2 2 0 0 1 20 10v8a2 2 0 0 1-2 2h-8a2 2 0 0 1-1.99-1.796L8 18h8a2 2 0 0 0 2-2V8z"
|
|
870
869
|
})] })
|
|
871
|
-
}),
|
|
870
|
+
}), Ut = U({
|
|
872
871
|
displayName: "ShadowDown",
|
|
873
872
|
path: /* @__PURE__ */ p(d, { children: [/* @__PURE__ */ f("path", {
|
|
874
873
|
fill: "var(--color-icon)",
|
|
@@ -877,7 +876,7 @@ var Ie = B({
|
|
|
877
876
|
fill: "var(--color-icon-tertiary)",
|
|
878
877
|
d: "M18 19a2 2 0 0 1-2 2H8a2 2 0 0 1-2-2v-3a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2z"
|
|
879
878
|
})] })
|
|
880
|
-
}),
|
|
879
|
+
}), Wt = U({
|
|
881
880
|
displayName: "ShadowLeft",
|
|
882
881
|
path: /* @__PURE__ */ p(d, { children: [/* @__PURE__ */ f("path", {
|
|
883
882
|
fill: "var(--color-icon)",
|
|
@@ -886,7 +885,7 @@ var Ie = B({
|
|
|
886
885
|
fill: "var(--color-icon-tertiary)",
|
|
887
886
|
d: "M8 6a2 2 0 0 0-2 2v8a2 2 0 0 0 2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2z"
|
|
888
887
|
})] })
|
|
889
|
-
}),
|
|
888
|
+
}), Gt = U({
|
|
890
889
|
displayName: "ShadowRight",
|
|
891
890
|
path: /* @__PURE__ */ p(d, { children: [/* @__PURE__ */ f("path", {
|
|
892
891
|
fill: "var(--color-icon)",
|
|
@@ -895,7 +894,7 @@ var Ie = B({
|
|
|
895
894
|
fill: "var(--color-icon-tertiary)",
|
|
896
895
|
d: "M19 6a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2h-3a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2z"
|
|
897
896
|
})] })
|
|
898
|
-
}),
|
|
897
|
+
}), Kt = U({
|
|
899
898
|
displayName: "ShadowTopLeft",
|
|
900
899
|
path: /* @__PURE__ */ p(d, { children: [/* @__PURE__ */ f("path", {
|
|
901
900
|
fill: "var(--color-icon)",
|
|
@@ -904,7 +903,7 @@ var Ie = B({
|
|
|
904
903
|
fill: "var(--color-icon-tertiary)",
|
|
905
904
|
d: "M14 4a2 2 0 0 1 2 2H8a2 2 0 0 0-2 2v8l-.204-.01A2 2 0 0 1 4 14V6a2 2 0 0 1 2-2z"
|
|
906
905
|
})] })
|
|
907
|
-
}),
|
|
906
|
+
}), qt = U({
|
|
908
907
|
displayName: "ShadowTopRight",
|
|
909
908
|
path: /* @__PURE__ */ p(d, { children: [/* @__PURE__ */ f("path", {
|
|
910
909
|
fill: "var(--color-icon)",
|
|
@@ -913,7 +912,7 @@ var Ie = B({
|
|
|
913
912
|
fill: "var(--color-icon-tertiary)",
|
|
914
913
|
d: "M18 4a2 2 0 0 1 2 2v8a2 2 0 0 1-1.796 1.99L18 16V8a2 2 0 0 0-2-2H8a2 2 0 0 1 2-2z"
|
|
915
914
|
})] })
|
|
916
|
-
}),
|
|
915
|
+
}), Jt = U({
|
|
917
916
|
displayName: "ShadowUp",
|
|
918
917
|
path: /* @__PURE__ */ p(d, { children: [/* @__PURE__ */ f("path", {
|
|
919
918
|
fill: "var(--color-icon)",
|
|
@@ -922,13 +921,13 @@ var Ie = B({
|
|
|
922
921
|
fill: "var(--color-icon-tertiary)",
|
|
923
922
|
d: "M16 3a2 2 0 0 1 2 2v3a2 2 0 0 0-2-2H8a2 2 0 0 0-2 2V5a2 2 0 0 1 2-2z"
|
|
924
923
|
})] })
|
|
925
|
-
}),
|
|
924
|
+
}), Yt = U({
|
|
926
925
|
displayName: "Sliders",
|
|
927
926
|
path: /* @__PURE__ */ f("path", {
|
|
928
927
|
fill: "var(--color-icon)",
|
|
929
928
|
d: "M8.5 18a.5.5 0 0 0 .5-.5v-1.55a2.5 2.5 0 0 0 0-4.9V6.5a.5.5 0 0 0-1 0v4.55a2.501 2.501 0 0 0 0 4.9v1.55a.5.5 0 0 0 .5.5m7 0a.5.5 0 0 0 .5-.5v-4.55a2.501 2.501 0 0 0 0-4.9V6.5a.5.5 0 0 0-1 0v1.55a2.5 2.5 0 0 0 0 4.9v4.55a.5.5 0 0 0 .5.5m0-6a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3m-7 3a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3"
|
|
930
929
|
})
|
|
931
|
-
}),
|
|
930
|
+
}), Xt = U({
|
|
932
931
|
displayName: "String",
|
|
933
932
|
path: /* @__PURE__ */ f("path", {
|
|
934
933
|
fill: "var(--color-icon)",
|
|
@@ -936,13 +935,13 @@ var Ie = B({
|
|
|
936
935
|
d: "M8 7h8a1 1 0 0 1 1 1v8a1 1 0 0 1-1 1H8a1 1 0 0 1-1-1V8a1 1 0 0 1 1-1M6 8a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H8a2 2 0 0 1-2-2zm3.5 1a.5.5 0 0 0-.5.5v1a.5.5 0 0 0 1 0V10h1.5v4H11a.5.5 0 0 0 0 1h2a.5.5 0 0 0 0-1h-.5v-4H14v.5a.5.5 0 0 0 1 0v-1a.5.5 0 0 0-.5-.5z",
|
|
937
936
|
clipRule: "evenodd"
|
|
938
937
|
})
|
|
939
|
-
}),
|
|
938
|
+
}), Zt = U({
|
|
940
939
|
displayName: "Text",
|
|
941
940
|
path: /* @__PURE__ */ f("path", {
|
|
942
941
|
fill: "var(--color-icon)",
|
|
943
942
|
d: "M19.5 4a.5.5 0 0 1 .5.5v3a.5.5 0 0 1-1 0V5h-6.5v14H15a.5.5 0 0 1 0 1H9a.5.5 0 0 1 0-1h2.5V5H5v2.5a.5.5 0 0 1-1 0v-3a.5.5 0 0 1 .5-.5z"
|
|
944
943
|
})
|
|
945
|
-
}),
|
|
944
|
+
}), Qt = U({
|
|
946
945
|
displayName: "TextAlignCenter",
|
|
947
946
|
path: /* @__PURE__ */ f("path", {
|
|
948
947
|
fill: "var(--color-icon)",
|
|
@@ -950,7 +949,7 @@ var Ie = B({
|
|
|
950
949
|
d: "M5 7.5a.5.5 0 0 1 .5-.5h13a.5.5 0 0 1 0 1h-13a.5.5 0 0 1-.5-.5m3 4a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 0 1h-7a.5.5 0 0 1-.5-.5M7.5 15a.5.5 0 0 0 0 1h9a.5.5 0 0 0 0-1z",
|
|
951
950
|
clipRule: "evenodd"
|
|
952
951
|
})
|
|
953
|
-
}),
|
|
952
|
+
}), $t = U({
|
|
954
953
|
displayName: "TextAlignLeft",
|
|
955
954
|
path: /* @__PURE__ */ f("path", {
|
|
956
955
|
fill: "var(--color-icon)",
|
|
@@ -958,7 +957,7 @@ var Ie = B({
|
|
|
958
957
|
d: "M5 7.5a.5.5 0 0 1 .5-.5h13a.5.5 0 0 1 0 1h-13a.5.5 0 0 1-.5-.5m0 4a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 0 1h-7a.5.5 0 0 1-.5-.5m.5 3.5a.5.5 0 0 0 0 1h9a.5.5 0 0 0 0-1z",
|
|
959
958
|
clipRule: "evenodd"
|
|
960
959
|
})
|
|
961
|
-
}),
|
|
960
|
+
}), en = U({
|
|
962
961
|
displayName: "TextAlignRight",
|
|
963
962
|
path: /* @__PURE__ */ f("path", {
|
|
964
963
|
fill: "var(--color-icon)",
|
|
@@ -966,7 +965,7 @@ var Ie = B({
|
|
|
966
965
|
d: "M19 7.5a.5.5 0 0 0-.5-.5h-13a.5.5 0 0 0 0 1h13a.5.5 0 0 0 .5-.5m0 4a.5.5 0 0 0-.5-.5h-7a.5.5 0 0 0 0 1h7a.5.5 0 0 0 .5-.5m-.5 3.5a.5.5 0 0 1 0 1h-9a.5.5 0 0 1 0-1z",
|
|
967
966
|
clipRule: "evenodd"
|
|
968
967
|
})
|
|
969
|
-
}),
|
|
968
|
+
}), tn = U({
|
|
970
969
|
displayName: "TextVerticalAlignBottom",
|
|
971
970
|
path: /* @__PURE__ */ f("path", {
|
|
972
971
|
fill: "var(--color-icon)",
|
|
@@ -974,7 +973,7 @@ var Ie = B({
|
|
|
974
973
|
d: "m14.854 13.854-3 3a.5.5 0 0 1-.708 0l-3-3a.5.5 0 0 1 .708-.708L11 15.293V7.5a.5.5 0 0 1 1 0v7.793l2.146-2.147a.5.5 0 0 1 .708.708M5.5 19a.5.5 0 0 1 0-1h12a.5.5 0 0 1 0 1z",
|
|
975
974
|
clipRule: "evenodd"
|
|
976
975
|
})
|
|
977
|
-
}),
|
|
976
|
+
}), nn = U({
|
|
978
977
|
displayName: "TextVerticalAlignMiddle",
|
|
979
978
|
path: /* @__PURE__ */ f("path", {
|
|
980
979
|
fill: "var(--color-icon)",
|
|
@@ -982,7 +981,7 @@ var Ie = B({
|
|
|
982
981
|
d: "m11.854 9.854 2-2a.5.5 0 0 0-.708-.708L12 8.293V4.5a.5.5 0 0 0-1 0v3.793L9.854 7.146a.5.5 0 1 0-.708.708l2 2a.5.5 0 0 0 .708 0m0 3.292 2 2a.5.5 0 0 1-.708.708L12 14.707V18.5a.5.5 0 0 1-1 0v-3.793l-1.146 1.147a.5.5 0 0 1-.708-.708l2-2a.5.5 0 0 1 .708 0M5.5 11a.5.5 0 0 0 0 1h12a.5.5 0 0 0 0-1z",
|
|
983
982
|
clipRule: "evenodd"
|
|
984
983
|
})
|
|
985
|
-
}),
|
|
984
|
+
}), rn = U({
|
|
986
985
|
displayName: "TextVerticalAlignTop",
|
|
987
986
|
path: /* @__PURE__ */ f("path", {
|
|
988
987
|
fill: "var(--color-icon)",
|
|
@@ -990,19 +989,19 @@ var Ie = B({
|
|
|
990
989
|
d: "M5.5 5a.5.5 0 0 0 0 1h12a.5.5 0 0 0 0-1zm6.354 2.146a.5.5 0 0 0-.708 0l-3 3a.5.5 0 0 0 .708.708L11 8.707V16.5a.5.5 0 0 0 1 0V8.707l2.146 2.147a.5.5 0 0 0 .708-.708z",
|
|
991
990
|
clipRule: "evenodd"
|
|
992
991
|
})
|
|
993
|
-
}),
|
|
992
|
+
}), an = U({
|
|
994
993
|
displayName: "VariableMode",
|
|
995
994
|
path: /* @__PURE__ */ f("path", {
|
|
996
995
|
fill: "var(--color-icon)",
|
|
997
996
|
d: "M9.154 5.004A3 3 0 0 1 12 8v7a3 3 0 0 1-5.996.154L6 15V8a3 3 0 0 1 3-3zm7.953 7.544a.41.41 0 0 1 .512-.07A2.99 2.99 0 0 1 19 15a3 3 0 0 1-3 3h-3.29c-.371 0-.574-.492-.37-.802a.43.43 0 0 1 .356-.198H16a2 2 0 0 0 1.24-3.57c-.269-.211-.374-.64-.133-.882M9 6a2 2 0 0 0-2 2v7a2 2 0 0 0 4 0V8a2 2 0 0 0-2-2m0 8a1 1 0 1 1 0 2 1 1 0 0 1 0-2m4.305-6.918a3 3 0 0 1 2.816.797l.107.112a3 3 0 0 1 0 4.018l-.107.112-2.267 2.268a.5.5 0 0 1-.707-.707l2.267-2.268a2 2 0 0 0-1.68-3.394c-.344.046-.734-.184-.734-.53 0-.19.12-.364.305-.408"
|
|
998
997
|
})
|
|
999
|
-
}),
|
|
998
|
+
}), on = U({
|
|
1000
999
|
displayName: "Variable",
|
|
1001
1000
|
path: /* @__PURE__ */ f("path", {
|
|
1002
1001
|
fill: "var(--color-icon)",
|
|
1003
1002
|
d: "M11 5.65a2 2 0 0 1 2 0l4 2.31a2 2 0 0 1 1 1.731v4.62a2 2 0 0 1-1 1.732l-4 2.309a2 2 0 0 1-2 0l-4-2.309a2 2 0 0 1-1-1.732.31.31 0 0 1 .31-.311h.38a.31.31 0 0 1 .31.31l.009.133c.04.305.22.578.491.734l4 2.31c.27.155.597.175.88.058l.12-.059 4-2.31a1 1 0 0 0 .491-.733L17 14.31V9.692a1 1 0 0 0-.5-.866l-4-2.308a1 1 0 0 0-1 0l-4 2.308-.11.074a1 1 0 0 0-.39.792.31.31 0 0 1-.309.309H6.31a.31.31 0 0 1-.31-.31A2 2 0 0 1 7 7.96zm1 4.351a2 2 0 1 1-1.935 2.499H5.5a.5.5 0 0 1 0-1h4.566A2 2 0 0 1 12 10.001m0 1a1 1 0 1 0 0 2 1 1 0 0 0 0-2"
|
|
1004
1003
|
})
|
|
1005
|
-
}),
|
|
1004
|
+
}), sn = U({
|
|
1006
1005
|
displayName: "Video",
|
|
1007
1006
|
path: /* @__PURE__ */ f("path", {
|
|
1008
1007
|
fill: "var(--color-icon)",
|
|
@@ -1010,7 +1009,7 @@ var Ie = B({
|
|
|
1010
1009
|
d: "M8 7h8a1 1 0 0 1 1 1v8a1 1 0 0 1-1 1H8a1 1 0 0 1-1-1V8a1 1 0 0 1 1-1M6 8a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H8a2 2 0 0 1-2-2zm4.996 1.132A1 1 0 0 0 9.5 10v4a1 1 0 0 0 1.496.868l3.5-2a1 1 0 0 0 0-1.736zm.504 4.297-1 .571v-4l1 .571 1.492.853L14 12l-1.008.576z",
|
|
1011
1010
|
clipRule: "evenodd"
|
|
1012
1011
|
})
|
|
1013
|
-
}),
|
|
1012
|
+
}), cn = U({
|
|
1014
1013
|
displayName: "Styles",
|
|
1015
1014
|
path: /* @__PURE__ */ f("path", {
|
|
1016
1015
|
fill: "var(--color-icon)",
|
|
@@ -1018,9 +1017,9 @@ var Ie = B({
|
|
|
1018
1017
|
clipRule: "evenodd",
|
|
1019
1018
|
d: "M8.5 10a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3Zm0 1a2.5 2.5 0 1 1 0-5 2.5 2.5 0 0 1 0 5Zm7-1a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3Zm0 1a2.5 2.5 0 1 1 0-5 2.5 2.5 0 0 1 0 5ZM14 15.5a1.5 1.5 0 1 0 3 0 1.5 1.5 0 0 0-3 0Zm-1 0a2.5 2.5 0 1 0 5 0 2.5 2.5 0 0 0-5 0ZM8.5 17a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3Zm0 1a2.5 2.5 0 1 1 0-5 2.5 2.5 0 0 1 0 5Z"
|
|
1020
1019
|
})
|
|
1021
|
-
}), [
|
|
1020
|
+
}), [ln, un] = Ce("Checkbox"), dn = t.forwardRef((e, t) => {
|
|
1022
1021
|
let { className: n, id: r, ...a } = e, o = i();
|
|
1023
|
-
return /* @__PURE__ */ f(
|
|
1022
|
+
return /* @__PURE__ */ f(ln, {
|
|
1024
1023
|
id: r ?? o,
|
|
1025
1024
|
children: /* @__PURE__ */ f("div", {
|
|
1026
1025
|
ref: t,
|
|
@@ -1028,30 +1027,30 @@ var Ie = B({
|
|
|
1028
1027
|
...a
|
|
1029
1028
|
})
|
|
1030
1029
|
});
|
|
1031
|
-
}),
|
|
1032
|
-
let { className: n, indeterminate: r, ...i } = e, { id: a } =
|
|
1030
|
+
}), fn = t.forwardRef((e, t) => {
|
|
1031
|
+
let { className: n, indeterminate: r, ...i } = e, { id: a } = un("Input");
|
|
1033
1032
|
return /* @__PURE__ */ p(d, { children: [/* @__PURE__ */ f("input", {
|
|
1034
|
-
ref:
|
|
1033
|
+
ref: V(t, gn(r)),
|
|
1035
1034
|
className: u(n, "fp-CheckboxInput"),
|
|
1036
1035
|
id: a,
|
|
1037
1036
|
"aria-labelledby": `checkbox-label-${a}`,
|
|
1038
1037
|
"aria-describedby": `checkbox-description-${a}`,
|
|
1039
1038
|
...i,
|
|
1040
1039
|
type: "checkbox"
|
|
1041
|
-
}), /* @__PURE__ */ f(
|
|
1042
|
-
}),
|
|
1040
|
+
}), /* @__PURE__ */ f(pn, {})] });
|
|
1041
|
+
}), pn = () => /* @__PURE__ */ p("span", {
|
|
1043
1042
|
className: "fp-CheckboxIndicator",
|
|
1044
1043
|
"aria-hidden": "true",
|
|
1045
|
-
children: [/* @__PURE__ */ f(
|
|
1044
|
+
children: [/* @__PURE__ */ f(W, {
|
|
1046
1045
|
className: "fp-CheckboxCheckmark",
|
|
1047
1046
|
size: "4"
|
|
1048
|
-
}), /* @__PURE__ */ f(
|
|
1047
|
+
}), /* @__PURE__ */ f(Ke, {
|
|
1049
1048
|
className: "fp-CheckboxIndeterminate",
|
|
1050
1049
|
size: "4"
|
|
1051
1050
|
})]
|
|
1052
|
-
}),
|
|
1053
|
-
let { className: n, ...r } = e, { id: i } =
|
|
1054
|
-
return /* @__PURE__ */ f(
|
|
1051
|
+
}), mn = t.forwardRef((e, t) => {
|
|
1052
|
+
let { className: n, ...r } = e, { id: i } = un("Input");
|
|
1053
|
+
return /* @__PURE__ */ f(fe, {
|
|
1055
1054
|
"aria-hidden": "true",
|
|
1056
1055
|
ref: t,
|
|
1057
1056
|
className: u(n, "fp-CheckboxLabel"),
|
|
@@ -1059,9 +1058,9 @@ var Ie = B({
|
|
|
1059
1058
|
id: `checkbox-label-${i}`,
|
|
1060
1059
|
...r
|
|
1061
1060
|
});
|
|
1062
|
-
}),
|
|
1063
|
-
let { className: n, ...r } = e, { id: i } =
|
|
1064
|
-
return /* @__PURE__ */ f(
|
|
1061
|
+
}), hn = t.forwardRef((e, t) => {
|
|
1062
|
+
let { className: n, ...r } = e, { id: i } = un("Description");
|
|
1063
|
+
return /* @__PURE__ */ f(H, {
|
|
1065
1064
|
"aria-hidden": "true",
|
|
1066
1065
|
ref: t,
|
|
1067
1066
|
className: u(n, "fp-CheckboxDescription"),
|
|
@@ -1069,175 +1068,175 @@ var Ie = B({
|
|
|
1069
1068
|
...r
|
|
1070
1069
|
});
|
|
1071
1070
|
});
|
|
1072
|
-
function
|
|
1071
|
+
function gn(e) {
|
|
1073
1072
|
return n((t) => {
|
|
1074
1073
|
t && (t.indeterminate = !!e);
|
|
1075
1074
|
}, [e]);
|
|
1076
1075
|
}
|
|
1077
|
-
|
|
1076
|
+
dn.displayName = "Checkbox.Root", fn.displayName = "Checkbox.Input", pn.displayName = "Checkbox.Indicator", mn.displayName = "Checkbox.Label", hn.displayName = "Checkbox.Description";
|
|
1078
1077
|
//#endregion
|
|
1079
1078
|
//#region src/components/checkbox/index.ts
|
|
1080
|
-
var
|
|
1081
|
-
Description: () =>
|
|
1082
|
-
Input: () =>
|
|
1083
|
-
Label: () =>
|
|
1084
|
-
Root: () =>
|
|
1085
|
-
}),
|
|
1079
|
+
var _n = /* @__PURE__ */ z({
|
|
1080
|
+
Description: () => hn,
|
|
1081
|
+
Input: () => fn,
|
|
1082
|
+
Label: () => mn,
|
|
1083
|
+
Root: () => dn
|
|
1084
|
+
}), vn = y.Root, yn = y.Portal, bn = y.Value, xn = y.Label, Sn = y.Arrow, Cn = t.forwardRef((e, t) => {
|
|
1086
1085
|
let { className: n, ...r } = e;
|
|
1087
1086
|
return /* @__PURE__ */ f(y.Trigger, {
|
|
1088
1087
|
ref: t,
|
|
1089
|
-
className:
|
|
1088
|
+
className: B(n, "fp-SelectTrigger"),
|
|
1090
1089
|
...r
|
|
1091
1090
|
});
|
|
1092
|
-
}),
|
|
1091
|
+
}), wn = t.forwardRef((e, t) => {
|
|
1093
1092
|
let { className: n, ...r } = e;
|
|
1094
1093
|
return /* @__PURE__ */ f(y.Icon, {
|
|
1095
1094
|
ref: t,
|
|
1096
|
-
className:
|
|
1095
|
+
className: B(n, "fp-SelectTriggerIcon"),
|
|
1097
1096
|
...r
|
|
1098
1097
|
});
|
|
1099
|
-
}),
|
|
1098
|
+
}), Tn = t.forwardRef((e, t) => {
|
|
1100
1099
|
let { className: n, positionMethod: r = "fixed", ...i } = e;
|
|
1101
1100
|
return /* @__PURE__ */ f(y.Positioner, {
|
|
1102
1101
|
ref: t,
|
|
1103
|
-
className:
|
|
1102
|
+
className: B(n, "fp-SelectPositioner"),
|
|
1104
1103
|
positionMethod: r,
|
|
1105
1104
|
...i
|
|
1106
1105
|
});
|
|
1107
|
-
}),
|
|
1106
|
+
}), En = t.forwardRef((e, t) => {
|
|
1108
1107
|
let { className: n, ...r } = e;
|
|
1109
1108
|
return /* @__PURE__ */ f(y.Popup, {
|
|
1110
1109
|
ref: t,
|
|
1111
|
-
className:
|
|
1110
|
+
className: B(n, "fp-MenuContent"),
|
|
1112
1111
|
...r
|
|
1113
1112
|
});
|
|
1114
|
-
}),
|
|
1113
|
+
}), Dn = t.forwardRef((e, t) => /* @__PURE__ */ f(y.List, {
|
|
1115
1114
|
ref: t,
|
|
1116
1115
|
...e
|
|
1117
|
-
})),
|
|
1116
|
+
})), On = t.forwardRef((e, t) => {
|
|
1118
1117
|
let { className: n, ...r } = e;
|
|
1119
1118
|
return /* @__PURE__ */ f(y.Item, {
|
|
1120
1119
|
ref: t,
|
|
1121
|
-
className:
|
|
1120
|
+
className: B(n, "fp-MenuItem fp-MenuCheckboxItem"),
|
|
1122
1121
|
...r
|
|
1123
1122
|
});
|
|
1124
|
-
}),
|
|
1123
|
+
}), kn = y.ItemText, An = t.forwardRef((e, t) => {
|
|
1125
1124
|
let { className: n, ...r } = e;
|
|
1126
1125
|
return /* @__PURE__ */ f(y.ItemIndicator, {
|
|
1127
1126
|
ref: t,
|
|
1128
|
-
className:
|
|
1127
|
+
className: B(n, "fp-MenuItemIndicator"),
|
|
1129
1128
|
...r
|
|
1130
1129
|
});
|
|
1131
|
-
}),
|
|
1130
|
+
}), jn = t.forwardRef((e, t) => {
|
|
1132
1131
|
let { className: n, ...r } = e;
|
|
1133
1132
|
return /* @__PURE__ */ f(y.Separator, {
|
|
1134
1133
|
ref: t,
|
|
1135
|
-
className:
|
|
1134
|
+
className: B(n, "fp-MenuSeparator"),
|
|
1136
1135
|
...r
|
|
1137
1136
|
});
|
|
1138
|
-
}),
|
|
1137
|
+
}), Mn = t.forwardRef((e, t) => {
|
|
1139
1138
|
let { className: n, ...r } = e;
|
|
1140
1139
|
return /* @__PURE__ */ f(y.Group, {
|
|
1141
1140
|
ref: t,
|
|
1142
|
-
className:
|
|
1141
|
+
className: B(n, "fp-MenuGroup"),
|
|
1143
1142
|
...r
|
|
1144
1143
|
});
|
|
1145
|
-
}),
|
|
1144
|
+
}), Nn = t.forwardRef((e, t) => {
|
|
1146
1145
|
let { className: n, ...r } = e;
|
|
1147
1146
|
return /* @__PURE__ */ f(y.GroupLabel, {
|
|
1148
1147
|
ref: t,
|
|
1149
|
-
className:
|
|
1148
|
+
className: B(n, "fp-MenuLabel"),
|
|
1150
1149
|
...r
|
|
1151
1150
|
});
|
|
1152
|
-
}),
|
|
1151
|
+
}), Pn = t.forwardRef((e, t) => {
|
|
1153
1152
|
let { className: n, ...r } = e;
|
|
1154
1153
|
return /* @__PURE__ */ f(y.ScrollUpArrow, {
|
|
1155
1154
|
ref: t,
|
|
1156
|
-
className:
|
|
1155
|
+
className: B(n, "fp-SelectScrollUpButton"),
|
|
1157
1156
|
...r
|
|
1158
1157
|
});
|
|
1159
|
-
}),
|
|
1158
|
+
}), Fn = t.forwardRef((e, t) => {
|
|
1160
1159
|
let { className: n, ...r } = e;
|
|
1161
1160
|
return /* @__PURE__ */ f(y.ScrollDownArrow, {
|
|
1162
1161
|
ref: t,
|
|
1163
|
-
className:
|
|
1162
|
+
className: B(n, "fp-SelectScrollDownButton"),
|
|
1164
1163
|
...r
|
|
1165
1164
|
});
|
|
1166
1165
|
});
|
|
1167
|
-
|
|
1166
|
+
Cn.displayName = "Select.Trigger", wn.displayName = "Select.Icon", Tn.displayName = "Select.Positioner", En.displayName = "Select.Popup", Dn.displayName = "Select.List", On.displayName = "Select.Item", An.displayName = "Select.ItemIndicator", jn.displayName = "Select.Separator", Mn.displayName = "Select.Group", Nn.displayName = "Select.GroupLabel", Pn.displayName = "Select.ScrollUpArrow", Fn.displayName = "Select.ScrollDownArrow";
|
|
1168
1167
|
//#endregion
|
|
1169
1168
|
//#region src/components/select/index.ts
|
|
1170
|
-
var
|
|
1171
|
-
Arrow: () =>
|
|
1172
|
-
Group: () =>
|
|
1173
|
-
GroupLabel: () =>
|
|
1174
|
-
Icon: () =>
|
|
1175
|
-
Item: () =>
|
|
1176
|
-
ItemIndicator: () =>
|
|
1177
|
-
ItemText: () =>
|
|
1178
|
-
Label: () =>
|
|
1179
|
-
List: () =>
|
|
1180
|
-
Popup: () =>
|
|
1181
|
-
Portal: () =>
|
|
1182
|
-
Positioner: () =>
|
|
1183
|
-
Root: () =>
|
|
1184
|
-
ScrollDownArrow: () =>
|
|
1185
|
-
ScrollUpArrow: () =>
|
|
1186
|
-
Separator: () =>
|
|
1187
|
-
Trigger: () =>
|
|
1188
|
-
Value: () =>
|
|
1189
|
-
}),
|
|
1169
|
+
var In = /* @__PURE__ */ z({
|
|
1170
|
+
Arrow: () => Sn,
|
|
1171
|
+
Group: () => Mn,
|
|
1172
|
+
GroupLabel: () => Nn,
|
|
1173
|
+
Icon: () => wn,
|
|
1174
|
+
Item: () => On,
|
|
1175
|
+
ItemIndicator: () => An,
|
|
1176
|
+
ItemText: () => kn,
|
|
1177
|
+
Label: () => xn,
|
|
1178
|
+
List: () => Dn,
|
|
1179
|
+
Popup: () => En,
|
|
1180
|
+
Portal: () => yn,
|
|
1181
|
+
Positioner: () => Tn,
|
|
1182
|
+
Root: () => vn,
|
|
1183
|
+
ScrollDownArrow: () => Fn,
|
|
1184
|
+
ScrollUpArrow: () => Pn,
|
|
1185
|
+
Separator: () => jn,
|
|
1186
|
+
Trigger: () => Cn,
|
|
1187
|
+
Value: () => bn
|
|
1188
|
+
}), Ln = b.Root, Rn = b.Label, zn = b.Value, Bn = b.Portal, Vn = b.Arrow, Hn = b.Backdrop, Un = t.forwardRef((e, t) => {
|
|
1190
1189
|
let { className: n, ...r } = e;
|
|
1191
1190
|
return /* @__PURE__ */ f(b.Trigger, {
|
|
1192
1191
|
ref: t,
|
|
1193
|
-
className:
|
|
1192
|
+
className: B(n, "fp-SelectTrigger fp-ComboboxTrigger"),
|
|
1194
1193
|
...r
|
|
1195
1194
|
});
|
|
1196
|
-
}),
|
|
1195
|
+
}), Wn = t.forwardRef((e, t) => {
|
|
1197
1196
|
let { className: n, ...r } = e;
|
|
1198
1197
|
return /* @__PURE__ */ f(b.Icon, {
|
|
1199
1198
|
ref: t,
|
|
1200
|
-
className:
|
|
1199
|
+
className: B(n, "fp-SelectTriggerIcon fp-ComboboxTriggerIcon"),
|
|
1201
1200
|
...r
|
|
1202
1201
|
});
|
|
1203
|
-
}),
|
|
1202
|
+
}), Gn = t.forwardRef((e, t) => {
|
|
1204
1203
|
let { className: n, positionMethod: r = "fixed", sideOffset: i = 4, ...a } = e;
|
|
1205
1204
|
return /* @__PURE__ */ f(b.Positioner, {
|
|
1206
1205
|
ref: t,
|
|
1207
|
-
className:
|
|
1206
|
+
className: B(n, "fp-ComboboxPositioner"),
|
|
1208
1207
|
positionMethod: r,
|
|
1209
1208
|
sideOffset: i,
|
|
1210
1209
|
...a
|
|
1211
1210
|
});
|
|
1212
|
-
}),
|
|
1211
|
+
}), Kn = t.forwardRef((e, t) => {
|
|
1213
1212
|
let { className: n, ...r } = e;
|
|
1214
1213
|
return /* @__PURE__ */ f(b.Popup, {
|
|
1215
1214
|
ref: t,
|
|
1216
|
-
className:
|
|
1215
|
+
className: B(n, "fp-ComboboxPopup"),
|
|
1217
1216
|
...r
|
|
1218
1217
|
});
|
|
1219
|
-
}),
|
|
1218
|
+
}), qn = t.forwardRef((e, t) => {
|
|
1220
1219
|
let { className: n, ...r } = e;
|
|
1221
1220
|
return /* @__PURE__ */ f(b.InputGroup, {
|
|
1222
1221
|
ref: t,
|
|
1223
|
-
className:
|
|
1222
|
+
className: B(n, "fp-ComboboxInputGroup"),
|
|
1224
1223
|
...r
|
|
1225
1224
|
});
|
|
1226
|
-
}),
|
|
1225
|
+
}), Jn = t.forwardRef((e, t) => {
|
|
1227
1226
|
let { className: n, ...r } = e;
|
|
1228
1227
|
return /* @__PURE__ */ f(b.Input, {
|
|
1229
1228
|
ref: t,
|
|
1230
|
-
className:
|
|
1229
|
+
className: B(n, "fp-Input fp-ComboboxInput"),
|
|
1231
1230
|
...r
|
|
1232
1231
|
});
|
|
1233
|
-
}),
|
|
1234
|
-
let { placeholder: r = " ", ...i } = e, a = t.useRef(null), o =
|
|
1232
|
+
}), Yn = t.forwardRef((e, n) => {
|
|
1233
|
+
let { placeholder: r = " ", ...i } = e, a = t.useRef(null), o = V(n, a);
|
|
1235
1234
|
function s() {
|
|
1236
|
-
|
|
1235
|
+
or(a.current), a.current?.focus();
|
|
1237
1236
|
}
|
|
1238
1237
|
return /* @__PURE__ */ p(t.Fragment, { children: [
|
|
1239
|
-
/* @__PURE__ */ f(
|
|
1240
|
-
/* @__PURE__ */ f(
|
|
1238
|
+
/* @__PURE__ */ f(zt, {}),
|
|
1239
|
+
/* @__PURE__ */ f(Jn, {
|
|
1241
1240
|
ref: o,
|
|
1242
1241
|
placeholder: r,
|
|
1243
1242
|
...i
|
|
@@ -1248,75 +1247,75 @@ var zn = /* @__PURE__ */ I({
|
|
|
1248
1247
|
className: "fp-IconButton fp-size-small fp-ComboboxSearchClear",
|
|
1249
1248
|
onMouseDown: (e) => e.preventDefault(),
|
|
1250
1249
|
onClick: s,
|
|
1251
|
-
children: /* @__PURE__ */ f(
|
|
1250
|
+
children: /* @__PURE__ */ f(Qe, {})
|
|
1252
1251
|
})
|
|
1253
1252
|
] });
|
|
1254
|
-
}),
|
|
1253
|
+
}), Xn = t.forwardRef((e, t) => {
|
|
1255
1254
|
let { className: n, ...r } = e;
|
|
1256
1255
|
return /* @__PURE__ */ f(b.List, {
|
|
1257
1256
|
ref: t,
|
|
1258
|
-
className:
|
|
1257
|
+
className: B(n, "fp-ComboboxList"),
|
|
1259
1258
|
...r
|
|
1260
1259
|
});
|
|
1261
|
-
}),
|
|
1260
|
+
}), Zn = t.forwardRef((e, t) => {
|
|
1262
1261
|
let { className: n, ...r } = e;
|
|
1263
1262
|
return /* @__PURE__ */ f(b.Item, {
|
|
1264
1263
|
ref: t,
|
|
1265
|
-
className:
|
|
1264
|
+
className: B(n, "fp-MenuItem fp-MenuCheckboxItem fp-ComboboxItem"),
|
|
1266
1265
|
...r
|
|
1267
1266
|
});
|
|
1268
|
-
}),
|
|
1267
|
+
}), Qn = t.forwardRef((e, t) => {
|
|
1269
1268
|
let { className: n, ...r } = e;
|
|
1270
1269
|
return /* @__PURE__ */ f(b.ItemIndicator, {
|
|
1271
1270
|
ref: t,
|
|
1272
|
-
className:
|
|
1271
|
+
className: B(n, "fp-MenuItemIndicator fp-ComboboxItemIndicator"),
|
|
1273
1272
|
...r
|
|
1274
1273
|
});
|
|
1275
|
-
}),
|
|
1274
|
+
}), $n = t.forwardRef((e, t) => {
|
|
1276
1275
|
let { className: n, ...r } = e;
|
|
1277
1276
|
return /* @__PURE__ */ f(b.Empty, {
|
|
1278
1277
|
ref: t,
|
|
1279
|
-
className:
|
|
1278
|
+
className: B(n, "fp-ComboboxMessage"),
|
|
1280
1279
|
...r
|
|
1281
1280
|
});
|
|
1282
|
-
}),
|
|
1281
|
+
}), er = t.forwardRef((e, t) => {
|
|
1283
1282
|
let { className: n, ...r } = e;
|
|
1284
1283
|
return /* @__PURE__ */ f(b.Status, {
|
|
1285
1284
|
ref: t,
|
|
1286
|
-
className:
|
|
1285
|
+
className: B(n, "fp-ComboboxMessage"),
|
|
1287
1286
|
...r
|
|
1288
1287
|
});
|
|
1289
|
-
}),
|
|
1288
|
+
}), tr = t.forwardRef((e, t) => {
|
|
1290
1289
|
let { className: n, ...r } = e;
|
|
1291
1290
|
return /* @__PURE__ */ f(b.Group, {
|
|
1292
1291
|
ref: t,
|
|
1293
|
-
className:
|
|
1292
|
+
className: B(n, "fp-MenuGroup"),
|
|
1294
1293
|
...r
|
|
1295
1294
|
});
|
|
1296
|
-
}),
|
|
1295
|
+
}), nr = t.forwardRef((e, t) => {
|
|
1297
1296
|
let { className: n, ...r } = e;
|
|
1298
1297
|
return /* @__PURE__ */ f(b.GroupLabel, {
|
|
1299
1298
|
ref: t,
|
|
1300
|
-
className:
|
|
1299
|
+
className: B(n, "fp-MenuLabel"),
|
|
1301
1300
|
...r
|
|
1302
1301
|
});
|
|
1303
|
-
}),
|
|
1302
|
+
}), rr = b.Collection, ir = t.forwardRef((e, t) => {
|
|
1304
1303
|
let { className: n, ...r } = e;
|
|
1305
1304
|
return /* @__PURE__ */ f(x, {
|
|
1306
1305
|
ref: t,
|
|
1307
|
-
className:
|
|
1306
|
+
className: B(n, "fp-MenuSeparator"),
|
|
1308
1307
|
...r
|
|
1309
1308
|
});
|
|
1310
|
-
}),
|
|
1309
|
+
}), ar = t.forwardRef((e, t) => {
|
|
1311
1310
|
let { className: n, ...r } = e;
|
|
1312
1311
|
return /* @__PURE__ */ f(b.Clear, {
|
|
1313
1312
|
ref: t,
|
|
1314
|
-
className:
|
|
1313
|
+
className: B(n, "fp-IconButton fp-size-small fp-ComboboxClear"),
|
|
1315
1314
|
...r
|
|
1316
1315
|
});
|
|
1317
1316
|
});
|
|
1318
|
-
|
|
1319
|
-
function
|
|
1317
|
+
Un.displayName = "Combobox.Trigger", Wn.displayName = "Combobox.Icon", Gn.displayName = "Combobox.Positioner", Kn.displayName = "Combobox.Popup", qn.displayName = "Combobox.InputGroup", Jn.displayName = "Combobox.Input", Yn.displayName = "Combobox.SearchInput", Xn.displayName = "Combobox.List", Zn.displayName = "Combobox.Item", Qn.displayName = "Combobox.ItemIndicator", $n.displayName = "Combobox.Empty", er.displayName = "Combobox.Status", tr.displayName = "Combobox.Group", nr.displayName = "Combobox.GroupLabel", ir.displayName = "Combobox.Separator", ar.displayName = "Combobox.Clear";
|
|
1318
|
+
function or(e) {
|
|
1320
1319
|
if (e === null) return;
|
|
1321
1320
|
let t = Object.getOwnPropertyDescriptor(HTMLInputElement.prototype, "value")?.set;
|
|
1322
1321
|
t === void 0 ? e.value = "" : t.call(e, ""), e.dispatchEvent(new Event("input", {
|
|
@@ -1326,246 +1325,246 @@ function lr(e) {
|
|
|
1326
1325
|
}
|
|
1327
1326
|
//#endregion
|
|
1328
1327
|
//#region src/components/combobox/index.ts
|
|
1329
|
-
var
|
|
1330
|
-
Arrow: () =>
|
|
1331
|
-
Backdrop: () =>
|
|
1332
|
-
Clear: () =>
|
|
1333
|
-
Collection: () =>
|
|
1334
|
-
Empty: () =>
|
|
1335
|
-
Group: () =>
|
|
1336
|
-
GroupLabel: () =>
|
|
1337
|
-
Icon: () =>
|
|
1338
|
-
Input: () =>
|
|
1339
|
-
InputGroup: () =>
|
|
1340
|
-
Item: () =>
|
|
1341
|
-
ItemIndicator: () =>
|
|
1342
|
-
Label: () =>
|
|
1343
|
-
List: () =>
|
|
1344
|
-
Popup: () =>
|
|
1345
|
-
Portal: () =>
|
|
1346
|
-
Positioner: () =>
|
|
1347
|
-
Root: () =>
|
|
1348
|
-
SearchInput: () =>
|
|
1349
|
-
Separator: () =>
|
|
1350
|
-
Status: () =>
|
|
1351
|
-
Trigger: () =>
|
|
1352
|
-
Value: () =>
|
|
1353
|
-
}),
|
|
1328
|
+
var sr = /* @__PURE__ */ z({
|
|
1329
|
+
Arrow: () => Vn,
|
|
1330
|
+
Backdrop: () => Hn,
|
|
1331
|
+
Clear: () => ar,
|
|
1332
|
+
Collection: () => rr,
|
|
1333
|
+
Empty: () => $n,
|
|
1334
|
+
Group: () => tr,
|
|
1335
|
+
GroupLabel: () => nr,
|
|
1336
|
+
Icon: () => Wn,
|
|
1337
|
+
Input: () => Jn,
|
|
1338
|
+
InputGroup: () => qn,
|
|
1339
|
+
Item: () => Zn,
|
|
1340
|
+
ItemIndicator: () => Qn,
|
|
1341
|
+
Label: () => Rn,
|
|
1342
|
+
List: () => Xn,
|
|
1343
|
+
Popup: () => Kn,
|
|
1344
|
+
Portal: () => Bn,
|
|
1345
|
+
Positioner: () => Gn,
|
|
1346
|
+
Root: () => Ln,
|
|
1347
|
+
SearchInput: () => Yn,
|
|
1348
|
+
Separator: () => ir,
|
|
1349
|
+
Status: () => er,
|
|
1350
|
+
Trigger: () => Un,
|
|
1351
|
+
Value: () => zn
|
|
1352
|
+
}), cr = S.Root, lr = S.Trigger, ur = S.Portal, dr = S.Positioner, fr = S.SubmenuRoot, pr = S.RadioGroup, mr = t.forwardRef((e, t) => {
|
|
1354
1353
|
let { className: n, ...r } = e;
|
|
1355
1354
|
return /* @__PURE__ */ f(S.Popup, {
|
|
1356
1355
|
ref: t,
|
|
1357
|
-
className:
|
|
1356
|
+
className: B(n, "fp-MenuContent"),
|
|
1358
1357
|
...r
|
|
1359
1358
|
});
|
|
1360
|
-
}),
|
|
1359
|
+
}), hr = t.forwardRef((e, t) => {
|
|
1361
1360
|
let { className: n, ...r } = e;
|
|
1362
1361
|
return /* @__PURE__ */ f(S.Item, {
|
|
1363
1362
|
ref: t,
|
|
1364
|
-
className:
|
|
1363
|
+
className: B(n, "fp-MenuItem"),
|
|
1365
1364
|
...r
|
|
1366
1365
|
});
|
|
1367
|
-
}),
|
|
1366
|
+
}), gr = t.forwardRef((e, t) => {
|
|
1368
1367
|
let { className: n, ...r } = e;
|
|
1369
1368
|
return /* @__PURE__ */ f(S.Separator, {
|
|
1370
1369
|
ref: t,
|
|
1371
|
-
className:
|
|
1370
|
+
className: B(n, "fp-MenuSeparator"),
|
|
1372
1371
|
...r
|
|
1373
1372
|
});
|
|
1374
|
-
}),
|
|
1373
|
+
}), _r = t.forwardRef((e, t) => {
|
|
1375
1374
|
let { className: n, ...r } = e;
|
|
1376
1375
|
return /* @__PURE__ */ f(S.GroupLabel, {
|
|
1377
1376
|
ref: t,
|
|
1378
|
-
className:
|
|
1377
|
+
className: B(n, "fp-MenuLabel"),
|
|
1379
1378
|
...r
|
|
1380
1379
|
});
|
|
1381
|
-
}),
|
|
1380
|
+
}), vr = t.forwardRef((e, t) => {
|
|
1382
1381
|
let { className: n, ...r } = e;
|
|
1383
1382
|
return /* @__PURE__ */ f(S.Group, {
|
|
1384
1383
|
ref: t,
|
|
1385
|
-
className:
|
|
1384
|
+
className: B(n, "fp-MenuGroup"),
|
|
1386
1385
|
...r
|
|
1387
1386
|
});
|
|
1388
|
-
}),
|
|
1387
|
+
}), yr = (e) => {
|
|
1389
1388
|
let { children: t, ...n } = e;
|
|
1390
1389
|
return /* @__PURE__ */ p("div", {
|
|
1391
1390
|
...n,
|
|
1392
|
-
children: [t, /* @__PURE__ */ f(
|
|
1391
|
+
children: [t, /* @__PURE__ */ f(Ye, { className: "fp-MenuSubtriggerCaret" })]
|
|
1393
1392
|
});
|
|
1394
|
-
},
|
|
1395
|
-
let { className: n, render: r =
|
|
1393
|
+
}, br = t.forwardRef((e, t) => {
|
|
1394
|
+
let { className: n, render: r = yr, ...i } = e;
|
|
1396
1395
|
return /* @__PURE__ */ f(S.SubmenuTrigger, {
|
|
1397
1396
|
ref: t,
|
|
1398
|
-
className:
|
|
1397
|
+
className: B(n, "fp-MenuItem"),
|
|
1399
1398
|
render: r,
|
|
1400
1399
|
...i
|
|
1401
1400
|
});
|
|
1402
|
-
}),
|
|
1401
|
+
}), xr = t.forwardRef((e, t) => {
|
|
1403
1402
|
let { className: n, ...r } = e;
|
|
1404
1403
|
return /* @__PURE__ */ f(S.CheckboxItem, {
|
|
1405
1404
|
ref: t,
|
|
1406
|
-
className:
|
|
1405
|
+
className: B(n, "fp-MenuItem fp-MenuCheckboxItem"),
|
|
1407
1406
|
...r
|
|
1408
1407
|
});
|
|
1409
|
-
}),
|
|
1408
|
+
}), Sr = t.forwardRef((e, t) => {
|
|
1410
1409
|
let { className: n, ...r } = e;
|
|
1411
1410
|
return /* @__PURE__ */ f(S.CheckboxItemIndicator, {
|
|
1412
1411
|
ref: t,
|
|
1413
|
-
className:
|
|
1412
|
+
className: B(n, "fp-MenuItemIndicator"),
|
|
1414
1413
|
...r
|
|
1415
1414
|
});
|
|
1416
|
-
}),
|
|
1415
|
+
}), Cr = t.forwardRef((e, t) => {
|
|
1417
1416
|
let { className: n, ...r } = e;
|
|
1418
1417
|
return /* @__PURE__ */ f(S.RadioItem, {
|
|
1419
1418
|
ref: t,
|
|
1420
|
-
className:
|
|
1419
|
+
className: B(n, "fp-MenuItem fp-MenuRadioItem"),
|
|
1421
1420
|
...r
|
|
1422
1421
|
});
|
|
1423
|
-
}),
|
|
1422
|
+
}), wr = t.forwardRef((e, t) => {
|
|
1424
1423
|
let { className: n, ...r } = e;
|
|
1425
1424
|
return /* @__PURE__ */ f(S.RadioItemIndicator, {
|
|
1426
1425
|
ref: t,
|
|
1427
|
-
className:
|
|
1426
|
+
className: B(n, "fp-MenuItemIndicator"),
|
|
1428
1427
|
...r
|
|
1429
1428
|
});
|
|
1430
1429
|
});
|
|
1431
|
-
|
|
1430
|
+
mr.displayName = "DropdownMenu.Popup", hr.displayName = "DropdownMenu.Item", gr.displayName = "DropdownMenu.Separator", vr.displayName = "DropdownMenu.Group", _r.displayName = "DropdownMenu.GroupLabel", br.displayName = "DropdownMenu.SubmenuTrigger", xr.displayName = "DropdownMenu.CheckboxItem", Sr.displayName = "DropdownMenu.CheckboxItemIndicator", Cr.displayName = "DropdownMenu.RadioItem", wr.displayName = "DropdownMenu.RadioItemIndicator";
|
|
1432
1431
|
//#endregion
|
|
1433
1432
|
//#region src/components/dropdown-menu/index.ts
|
|
1434
|
-
var
|
|
1435
|
-
CheckboxItem: () =>
|
|
1436
|
-
CheckboxItemIndicator: () =>
|
|
1437
|
-
Group: () =>
|
|
1438
|
-
GroupLabel: () =>
|
|
1439
|
-
Item: () =>
|
|
1440
|
-
Popup: () =>
|
|
1441
|
-
Portal: () =>
|
|
1442
|
-
Positioner: () =>
|
|
1443
|
-
RadioGroup: () =>
|
|
1444
|
-
RadioItem: () =>
|
|
1445
|
-
RadioItemIndicator: () =>
|
|
1446
|
-
Root: () =>
|
|
1447
|
-
Separator: () =>
|
|
1448
|
-
SubmenuRoot: () =>
|
|
1449
|
-
SubmenuTrigger: () =>
|
|
1450
|
-
Trigger: () =>
|
|
1451
|
-
}),
|
|
1433
|
+
var Tr = /* @__PURE__ */ z({
|
|
1434
|
+
CheckboxItem: () => xr,
|
|
1435
|
+
CheckboxItemIndicator: () => Sr,
|
|
1436
|
+
Group: () => vr,
|
|
1437
|
+
GroupLabel: () => _r,
|
|
1438
|
+
Item: () => hr,
|
|
1439
|
+
Popup: () => mr,
|
|
1440
|
+
Portal: () => ur,
|
|
1441
|
+
Positioner: () => dr,
|
|
1442
|
+
RadioGroup: () => pr,
|
|
1443
|
+
RadioItem: () => Cr,
|
|
1444
|
+
RadioItemIndicator: () => wr,
|
|
1445
|
+
Root: () => cr,
|
|
1446
|
+
Separator: () => gr,
|
|
1447
|
+
SubmenuRoot: () => fr,
|
|
1448
|
+
SubmenuTrigger: () => br,
|
|
1449
|
+
Trigger: () => lr
|
|
1450
|
+
}), Er = C.Root, Dr = C.Trigger, Or = C.Portal, kr = C.Positioner, Ar = C.SubmenuRoot, jr = C.RadioGroup, Mr = t.forwardRef((e, t) => {
|
|
1452
1451
|
let { className: n, ...r } = e;
|
|
1453
1452
|
return /* @__PURE__ */ f(C.Popup, {
|
|
1454
1453
|
ref: t,
|
|
1455
|
-
className:
|
|
1454
|
+
className: B(n, "fp-MenuContent"),
|
|
1456
1455
|
...r
|
|
1457
1456
|
});
|
|
1458
|
-
}),
|
|
1457
|
+
}), Nr = t.forwardRef((e, t) => {
|
|
1459
1458
|
let { className: n, ...r } = e;
|
|
1460
1459
|
return /* @__PURE__ */ f(C.Item, {
|
|
1461
1460
|
ref: t,
|
|
1462
|
-
className:
|
|
1461
|
+
className: B(n, "fp-MenuItem"),
|
|
1463
1462
|
...r
|
|
1464
1463
|
});
|
|
1465
|
-
}),
|
|
1464
|
+
}), Pr = t.forwardRef((e, t) => {
|
|
1466
1465
|
let { className: n, ...r } = e;
|
|
1467
1466
|
return /* @__PURE__ */ f(C.Separator, {
|
|
1468
1467
|
ref: t,
|
|
1469
|
-
className:
|
|
1468
|
+
className: B(n, "fp-MenuSeparator"),
|
|
1470
1469
|
...r
|
|
1471
1470
|
});
|
|
1472
|
-
}),
|
|
1471
|
+
}), Fr = t.forwardRef((e, t) => {
|
|
1473
1472
|
let { className: n, ...r } = e;
|
|
1474
1473
|
return /* @__PURE__ */ f(C.GroupLabel, {
|
|
1475
1474
|
ref: t,
|
|
1476
|
-
className:
|
|
1475
|
+
className: B(n, "fp-MenuLabel"),
|
|
1477
1476
|
...r
|
|
1478
1477
|
});
|
|
1479
|
-
}),
|
|
1478
|
+
}), Ir = t.forwardRef((e, t) => {
|
|
1480
1479
|
let { className: n, ...r } = e;
|
|
1481
1480
|
return /* @__PURE__ */ f(C.Group, {
|
|
1482
1481
|
ref: t,
|
|
1483
|
-
className:
|
|
1482
|
+
className: B(n, "fp-MenuGroup"),
|
|
1484
1483
|
...r
|
|
1485
1484
|
});
|
|
1486
|
-
}),
|
|
1485
|
+
}), Lr = (e) => {
|
|
1487
1486
|
let { children: t, ...n } = e;
|
|
1488
1487
|
return /* @__PURE__ */ p("div", {
|
|
1489
1488
|
...n,
|
|
1490
|
-
children: [t, /* @__PURE__ */ f(
|
|
1489
|
+
children: [t, /* @__PURE__ */ f(Ye, { className: "fp-MenuSubtriggerCaret" })]
|
|
1491
1490
|
});
|
|
1492
|
-
},
|
|
1493
|
-
let { className: n, render: r =
|
|
1491
|
+
}, Rr = t.forwardRef((e, t) => {
|
|
1492
|
+
let { className: n, render: r = Lr, ...i } = e;
|
|
1494
1493
|
return /* @__PURE__ */ f(C.SubmenuTrigger, {
|
|
1495
1494
|
ref: t,
|
|
1496
|
-
className:
|
|
1495
|
+
className: B(n, "fp-MenuItem"),
|
|
1497
1496
|
render: r,
|
|
1498
1497
|
...i
|
|
1499
1498
|
});
|
|
1500
|
-
}),
|
|
1499
|
+
}), zr = t.forwardRef((e, t) => {
|
|
1501
1500
|
let { className: n, ...r } = e;
|
|
1502
1501
|
return /* @__PURE__ */ f(C.CheckboxItem, {
|
|
1503
1502
|
ref: t,
|
|
1504
|
-
className:
|
|
1503
|
+
className: B(n, "fp-MenuItem fp-MenuCheckboxItem"),
|
|
1505
1504
|
...r
|
|
1506
1505
|
});
|
|
1507
|
-
}),
|
|
1506
|
+
}), Br = t.forwardRef((e, t) => {
|
|
1508
1507
|
let { className: n, ...r } = e;
|
|
1509
1508
|
return /* @__PURE__ */ f(C.CheckboxItemIndicator, {
|
|
1510
1509
|
ref: t,
|
|
1511
|
-
className:
|
|
1510
|
+
className: B(n, "fp-MenuItemIndicator"),
|
|
1512
1511
|
...r
|
|
1513
1512
|
});
|
|
1514
|
-
}),
|
|
1513
|
+
}), Vr = t.forwardRef((e, t) => {
|
|
1515
1514
|
let { className: n, ...r } = e;
|
|
1516
1515
|
return /* @__PURE__ */ f(C.RadioItem, {
|
|
1517
1516
|
ref: t,
|
|
1518
|
-
className:
|
|
1517
|
+
className: B(n, "fp-MenuItem fp-MenuRadioItem"),
|
|
1519
1518
|
...r
|
|
1520
1519
|
});
|
|
1521
|
-
}),
|
|
1520
|
+
}), Hr = t.forwardRef((e, t) => {
|
|
1522
1521
|
let { className: n, ...r } = e;
|
|
1523
1522
|
return /* @__PURE__ */ f(C.RadioItemIndicator, {
|
|
1524
1523
|
ref: t,
|
|
1525
|
-
className:
|
|
1524
|
+
className: B(n, "fp-MenuItemIndicator"),
|
|
1526
1525
|
...r
|
|
1527
1526
|
});
|
|
1528
1527
|
});
|
|
1529
|
-
|
|
1528
|
+
Mr.displayName = "ContextMenu.Popup", Nr.displayName = "ContextMenu.Item", Pr.displayName = "ContextMenu.Separator", Ir.displayName = "ContextMenu.Group", Fr.displayName = "ContextMenu.GroupLabel", Rr.displayName = "ContextMenu.SubmenuTrigger", zr.displayName = "ContextMenu.CheckboxItem", Br.displayName = "ContextMenu.CheckboxItemIndicator", Vr.displayName = "ContextMenu.RadioItem", Hr.displayName = "ContextMenu.RadioItemIndicator";
|
|
1530
1529
|
//#endregion
|
|
1531
1530
|
//#region src/components/context-menu/index.ts
|
|
1532
|
-
var
|
|
1533
|
-
CheckboxItem: () =>
|
|
1534
|
-
CheckboxItemIndicator: () =>
|
|
1535
|
-
Group: () =>
|
|
1536
|
-
GroupLabel: () =>
|
|
1537
|
-
Item: () =>
|
|
1538
|
-
Popup: () =>
|
|
1539
|
-
Portal: () =>
|
|
1540
|
-
Positioner: () =>
|
|
1541
|
-
RadioGroup: () =>
|
|
1542
|
-
RadioItem: () =>
|
|
1543
|
-
RadioItemIndicator: () =>
|
|
1544
|
-
Root: () =>
|
|
1545
|
-
Separator: () =>
|
|
1546
|
-
SubmenuRoot: () =>
|
|
1547
|
-
SubmenuTrigger: () =>
|
|
1548
|
-
Trigger: () =>
|
|
1549
|
-
}),
|
|
1531
|
+
var Ur = /* @__PURE__ */ z({
|
|
1532
|
+
CheckboxItem: () => zr,
|
|
1533
|
+
CheckboxItemIndicator: () => Br,
|
|
1534
|
+
Group: () => Ir,
|
|
1535
|
+
GroupLabel: () => Fr,
|
|
1536
|
+
Item: () => Nr,
|
|
1537
|
+
Popup: () => Mr,
|
|
1538
|
+
Portal: () => Or,
|
|
1539
|
+
Positioner: () => kr,
|
|
1540
|
+
RadioGroup: () => jr,
|
|
1541
|
+
RadioItem: () => Vr,
|
|
1542
|
+
RadioItemIndicator: () => Hr,
|
|
1543
|
+
Root: () => Er,
|
|
1544
|
+
Separator: () => Pr,
|
|
1545
|
+
SubmenuRoot: () => Ar,
|
|
1546
|
+
SubmenuTrigger: () => Rr,
|
|
1547
|
+
Trigger: () => Dr
|
|
1548
|
+
}), Wr = t.createContext({}), Gr = (e) => {
|
|
1550
1549
|
let { children: n, disableHoverablePopup: r, ...i } = e, a = t.useMemo(() => ({ disableHoverablePopup: r }), [r]);
|
|
1551
|
-
return /* @__PURE__ */ f(
|
|
1550
|
+
return /* @__PURE__ */ f(Wr.Provider, {
|
|
1552
1551
|
value: a,
|
|
1553
1552
|
children: /* @__PURE__ */ f(T.Provider, {
|
|
1554
1553
|
...i,
|
|
1555
1554
|
children: n
|
|
1556
1555
|
})
|
|
1557
1556
|
});
|
|
1558
|
-
},
|
|
1557
|
+
}, Kr = t.forwardRef((e, t) => {
|
|
1559
1558
|
let { className: n, ...r } = e;
|
|
1560
1559
|
return /* @__PURE__ */ f(T.Popup, {
|
|
1561
1560
|
ref: t,
|
|
1562
|
-
className:
|
|
1561
|
+
className: B(n, "fp-tooltip"),
|
|
1563
1562
|
...r
|
|
1564
1563
|
});
|
|
1565
|
-
}),
|
|
1564
|
+
}), qr = (e) => {
|
|
1566
1565
|
let { className: t, ...n } = e;
|
|
1567
1566
|
return /* @__PURE__ */ f(T.Arrow, {
|
|
1568
|
-
className:
|
|
1567
|
+
className: B(t, "fp-tooltip-arrow"),
|
|
1569
1568
|
render: /* @__PURE__ */ f("svg", {
|
|
1570
1569
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1571
1570
|
width: "10",
|
|
@@ -1576,8 +1575,8 @@ var Kr = /* @__PURE__ */ I({
|
|
|
1576
1575
|
}),
|
|
1577
1576
|
...n
|
|
1578
1577
|
});
|
|
1579
|
-
},
|
|
1580
|
-
let { defaultOpen: r, disabled: i, open: a, onOpenChange: o, onOpenChangeComplete: s, delay: c, closeDelay: l, closeOnClick: u, disableHoverablePopup: d, trackCursorAxis: m, container: h, keepMounted: g, side: _, sideOffset: v, align: y, alignOffset: b, anchor: x, arrowPadding: S, collisionAvoidance: C, collisionBoundary: w, collisionPadding: E, disableAnchorTracking: D, positionMethod: O, sticky: k, children: A, content: j, ...M } = e, N = t.useContext(
|
|
1578
|
+
}, Jr = t.forwardRef((e, n) => {
|
|
1579
|
+
let { defaultOpen: r, disabled: i, open: a, onOpenChange: o, onOpenChangeComplete: s, delay: c, closeDelay: l, closeOnClick: u, disableHoverablePopup: d, trackCursorAxis: m, container: h, keepMounted: g, side: _, sideOffset: v, align: y, alignOffset: b, anchor: x, arrowPadding: S, collisionAvoidance: C, collisionBoundary: w, collisionPadding: E, disableAnchorTracking: D, positionMethod: O, sticky: k, children: A, content: j, ...M } = e, N = t.useContext(Wr);
|
|
1581
1580
|
return /* @__PURE__ */ p(T.Root, {
|
|
1582
1581
|
defaultOpen: r,
|
|
1583
1582
|
disabled: i,
|
|
@@ -1607,19 +1606,19 @@ var Kr = /* @__PURE__ */ I({
|
|
|
1607
1606
|
side: _,
|
|
1608
1607
|
sideOffset: v ?? 7,
|
|
1609
1608
|
sticky: k,
|
|
1610
|
-
children: [/* @__PURE__ */ f(
|
|
1609
|
+
children: [/* @__PURE__ */ f(Kr, {
|
|
1611
1610
|
ref: n,
|
|
1612
1611
|
...M,
|
|
1613
1612
|
children: j
|
|
1614
|
-
}), /* @__PURE__ */ f(
|
|
1613
|
+
}), /* @__PURE__ */ f(qr, {})]
|
|
1615
1614
|
})
|
|
1616
1615
|
})]
|
|
1617
1616
|
});
|
|
1618
1617
|
});
|
|
1619
|
-
|
|
1618
|
+
Jr.displayName = "Tooltip";
|
|
1620
1619
|
//#endregion
|
|
1621
1620
|
//#region src/components/icon-button/icon-button.tsx
|
|
1622
|
-
var
|
|
1621
|
+
var Yr = l("fp-IconButton", {
|
|
1623
1622
|
variants: {
|
|
1624
1623
|
size: {
|
|
1625
1624
|
small: "fp-size-small",
|
|
@@ -1634,10 +1633,10 @@ var Qr = l("fp-IconButton", {
|
|
|
1634
1633
|
size: "small",
|
|
1635
1634
|
activeAppearance: "subtle"
|
|
1636
1635
|
}
|
|
1637
|
-
}),
|
|
1636
|
+
}), Xr = t.forwardRef((e, t) => {
|
|
1638
1637
|
let { className: n, size: r, activeAppearance: i, "aria-label": a, tooltipContent: o, disableTooltip: s, ...c } = e, l = /* @__PURE__ */ f("button", {
|
|
1639
1638
|
ref: t,
|
|
1640
|
-
className:
|
|
1639
|
+
className: Yr({
|
|
1641
1640
|
className: n,
|
|
1642
1641
|
size: r,
|
|
1643
1642
|
activeAppearance: i
|
|
@@ -1645,15 +1644,15 @@ var Qr = l("fp-IconButton", {
|
|
|
1645
1644
|
"aria-label": a,
|
|
1646
1645
|
...c
|
|
1647
1646
|
});
|
|
1648
|
-
return s ? l : /* @__PURE__ */ f(
|
|
1647
|
+
return s ? l : /* @__PURE__ */ f(Jr, {
|
|
1649
1648
|
content: o ?? a,
|
|
1650
1649
|
children: l
|
|
1651
1650
|
});
|
|
1652
1651
|
});
|
|
1653
|
-
|
|
1652
|
+
Xr.displayName = "IconButton";
|
|
1654
1653
|
//#endregion
|
|
1655
1654
|
//#region src/components/dialog.base/dialog.base.tsx
|
|
1656
|
-
var
|
|
1655
|
+
var Zr = t.forwardRef((e, t) => {
|
|
1657
1656
|
let { children: n, className: r, ...i } = e;
|
|
1658
1657
|
return /* @__PURE__ */ f("header", {
|
|
1659
1658
|
ref: t,
|
|
@@ -1661,60 +1660,60 @@ var ei = t.forwardRef((e, t) => {
|
|
|
1661
1660
|
...i,
|
|
1662
1661
|
children: n
|
|
1663
1662
|
});
|
|
1664
|
-
}),
|
|
1663
|
+
}), Qr = t.forwardRef((e, t) => {
|
|
1665
1664
|
let { className: n, size: r, ...i } = e;
|
|
1666
1665
|
return /* @__PURE__ */ f("div", {
|
|
1667
1666
|
ref: t,
|
|
1668
|
-
className:
|
|
1667
|
+
className: ei({
|
|
1669
1668
|
className: n,
|
|
1670
1669
|
size: r
|
|
1671
1670
|
}),
|
|
1672
1671
|
...i
|
|
1673
1672
|
});
|
|
1674
|
-
}),
|
|
1673
|
+
}), $r = t.forwardRef((e, t) => {
|
|
1675
1674
|
let { className: n, ...r } = e;
|
|
1676
1675
|
return /* @__PURE__ */ f("div", {
|
|
1677
1676
|
ref: t,
|
|
1678
1677
|
className: u(n, "fp-DialogBaseControls"),
|
|
1679
1678
|
...r
|
|
1680
1679
|
});
|
|
1681
|
-
}),
|
|
1680
|
+
}), ei = l("fp-DialogBaseSection", {
|
|
1682
1681
|
variants: { size: {
|
|
1683
1682
|
base: "fp-DialogBaseSection-base",
|
|
1684
1683
|
small: "fp-DialogBaseSection-small"
|
|
1685
1684
|
} },
|
|
1686
1685
|
defaultVariants: { size: "base" }
|
|
1687
1686
|
});
|
|
1688
|
-
|
|
1687
|
+
Zr.displayName = "Dialog.Header", Qr.displayName = "Dialog.Section", $r.displayName = "Dialog.Controls";
|
|
1689
1688
|
//#endregion
|
|
1690
1689
|
//#region src/components/popover/popover.tsx
|
|
1691
|
-
var
|
|
1690
|
+
var ti = w.Root, ni = w.Trigger, ri = w.Portal, ii = t.forwardRef((e, t) => {
|
|
1692
1691
|
let { positionMethod: n = "fixed", ...r } = e;
|
|
1693
1692
|
return /* @__PURE__ */ f(w.Positioner, {
|
|
1694
1693
|
ref: t,
|
|
1695
1694
|
positionMethod: n,
|
|
1696
1695
|
...r
|
|
1697
1696
|
});
|
|
1698
|
-
}),
|
|
1697
|
+
}), ai = t.forwardRef((e, t) => {
|
|
1699
1698
|
let { className: n, ...r } = e;
|
|
1700
1699
|
return /* @__PURE__ */ f(w.Popup, {
|
|
1701
1700
|
ref: t,
|
|
1702
|
-
className:
|
|
1701
|
+
className: B(n, "fp-DialogBaseContent"),
|
|
1703
1702
|
...r
|
|
1704
1703
|
});
|
|
1705
|
-
}),
|
|
1706
|
-
let { className: n, render: r = /* @__PURE__ */ f(
|
|
1704
|
+
}), oi = t.forwardRef((e, t) => {
|
|
1705
|
+
let { className: n, render: r = /* @__PURE__ */ f(H, { weight: "strong" }), ...i } = e;
|
|
1707
1706
|
return /* @__PURE__ */ f(w.Title, {
|
|
1708
1707
|
ref: t,
|
|
1709
|
-
className:
|
|
1708
|
+
className: B(n, "fp-DialogBaseTitle"),
|
|
1710
1709
|
render: r,
|
|
1711
1710
|
...i
|
|
1712
1711
|
});
|
|
1713
|
-
}),
|
|
1714
|
-
let { render: n = /* @__PURE__ */ f(
|
|
1712
|
+
}), si = t.forwardRef((e, t) => {
|
|
1713
|
+
let { render: n = /* @__PURE__ */ f(Xr, {
|
|
1715
1714
|
"aria-label": "Close",
|
|
1716
1715
|
disableTooltip: !0,
|
|
1717
|
-
children: /* @__PURE__ */ f(
|
|
1716
|
+
children: /* @__PURE__ */ f($e, {})
|
|
1718
1717
|
}), ...r } = e;
|
|
1719
1718
|
return /* @__PURE__ */ f(w.Close, {
|
|
1720
1719
|
ref: t,
|
|
@@ -1722,21 +1721,21 @@ var ii = w.Root, ai = w.Trigger, oi = w.Portal, si = t.forwardRef((e, t) => {
|
|
|
1722
1721
|
...r
|
|
1723
1722
|
});
|
|
1724
1723
|
});
|
|
1725
|
-
|
|
1724
|
+
ai.displayName = "Popover.Popup", ii.displayName = "Popover.Positioner", oi.displayName = "Popover.Title", si.displayName = "Popover.Close";
|
|
1726
1725
|
//#endregion
|
|
1727
1726
|
//#region src/components/popover/index.ts
|
|
1728
|
-
var
|
|
1729
|
-
Close: () =>
|
|
1730
|
-
Controls: () =>
|
|
1731
|
-
Header: () =>
|
|
1732
|
-
Popup: () =>
|
|
1733
|
-
Portal: () =>
|
|
1734
|
-
Positioner: () =>
|
|
1735
|
-
Root: () =>
|
|
1736
|
-
Section: () =>
|
|
1737
|
-
Title: () =>
|
|
1738
|
-
Trigger: () =>
|
|
1739
|
-
}),
|
|
1727
|
+
var ci = /* @__PURE__ */ z({
|
|
1728
|
+
Close: () => si,
|
|
1729
|
+
Controls: () => $r,
|
|
1730
|
+
Header: () => Zr,
|
|
1731
|
+
Popup: () => ai,
|
|
1732
|
+
Portal: () => ri,
|
|
1733
|
+
Positioner: () => ii,
|
|
1734
|
+
Root: () => ti,
|
|
1735
|
+
Section: () => Qr,
|
|
1736
|
+
Title: () => oi,
|
|
1737
|
+
Trigger: () => ni
|
|
1738
|
+
}), li = E.Root, ui = E.Portal, di = E.Trigger, fi = l(["fp-DialogBaseContent", "fp-DialogContent"], {
|
|
1740
1739
|
variants: {
|
|
1741
1740
|
size: {
|
|
1742
1741
|
1: "fp-size-1",
|
|
@@ -1753,37 +1752,37 @@ var di = /* @__PURE__ */ I({
|
|
|
1753
1752
|
size: "2",
|
|
1754
1753
|
placement: "top"
|
|
1755
1754
|
}
|
|
1756
|
-
}),
|
|
1757
|
-
let { children: n, className: r, size: i, placement: a, ...o } = e, s =
|
|
1755
|
+
}), pi = t.forwardRef((e, t) => {
|
|
1756
|
+
let { children: n, className: r, size: i, placement: a, ...o } = e, s = fi({
|
|
1758
1757
|
size: i,
|
|
1759
1758
|
placement: a
|
|
1760
1759
|
});
|
|
1761
1760
|
return /* @__PURE__ */ f(E.Popup, {
|
|
1762
1761
|
ref: t,
|
|
1763
|
-
className:
|
|
1762
|
+
className: B(r, s),
|
|
1764
1763
|
...o,
|
|
1765
1764
|
children: n
|
|
1766
1765
|
});
|
|
1767
|
-
}),
|
|
1766
|
+
}), mi = t.forwardRef((e, t) => {
|
|
1768
1767
|
let { className: n, ...r } = e;
|
|
1769
1768
|
return /* @__PURE__ */ f(E.Backdrop, {
|
|
1770
1769
|
ref: t,
|
|
1771
|
-
className:
|
|
1770
|
+
className: B(n, "fp-DialogBaseOverlay"),
|
|
1772
1771
|
...r
|
|
1773
1772
|
});
|
|
1774
|
-
}),
|
|
1775
|
-
let { className: n, render: r = /* @__PURE__ */ f(
|
|
1773
|
+
}), hi = t.forwardRef((e, t) => {
|
|
1774
|
+
let { className: n, render: r = /* @__PURE__ */ f(H, { weight: "strong" }), ...i } = e;
|
|
1776
1775
|
return /* @__PURE__ */ f(E.Title, {
|
|
1777
1776
|
ref: t,
|
|
1778
|
-
className:
|
|
1777
|
+
className: B(n, "fp-DialogBaseTitle"),
|
|
1779
1778
|
render: r,
|
|
1780
1779
|
...i
|
|
1781
1780
|
});
|
|
1782
|
-
}),
|
|
1783
|
-
let { render: n = /* @__PURE__ */ f(
|
|
1781
|
+
}), gi = t.forwardRef((e, t) => {
|
|
1782
|
+
let { render: n = /* @__PURE__ */ f(Xr, {
|
|
1784
1783
|
"aria-label": "Close",
|
|
1785
1784
|
disableTooltip: !0,
|
|
1786
|
-
children: /* @__PURE__ */ f(
|
|
1785
|
+
children: /* @__PURE__ */ f($e, {})
|
|
1787
1786
|
}), ...r } = e;
|
|
1788
1787
|
return /* @__PURE__ */ f(E.Close, {
|
|
1789
1788
|
ref: t,
|
|
@@ -1791,21 +1790,21 @@ var di = /* @__PURE__ */ I({
|
|
|
1791
1790
|
...r
|
|
1792
1791
|
});
|
|
1793
1792
|
});
|
|
1794
|
-
|
|
1793
|
+
pi.displayName = "Dialog.Popup", mi.displayName = "Dialog.Backdrop", hi.displayName = "Dialog.Title", gi.displayName = "Dialog.Close";
|
|
1795
1794
|
//#endregion
|
|
1796
1795
|
//#region src/components/dialog/index.ts
|
|
1797
|
-
var
|
|
1798
|
-
Backdrop: () =>
|
|
1799
|
-
Close: () =>
|
|
1800
|
-
Controls: () =>
|
|
1801
|
-
Header: () =>
|
|
1802
|
-
Popup: () =>
|
|
1803
|
-
Portal: () =>
|
|
1804
|
-
Root: () =>
|
|
1805
|
-
Section: () =>
|
|
1806
|
-
Title: () =>
|
|
1807
|
-
Trigger: () =>
|
|
1808
|
-
}),
|
|
1796
|
+
var _i = /* @__PURE__ */ z({
|
|
1797
|
+
Backdrop: () => mi,
|
|
1798
|
+
Close: () => gi,
|
|
1799
|
+
Controls: () => $r,
|
|
1800
|
+
Header: () => Zr,
|
|
1801
|
+
Popup: () => pi,
|
|
1802
|
+
Portal: () => ui,
|
|
1803
|
+
Root: () => li,
|
|
1804
|
+
Section: () => Qr,
|
|
1805
|
+
Title: () => hi,
|
|
1806
|
+
Trigger: () => di
|
|
1807
|
+
}), vi = D.Root, yi = D.Portal, bi = D.Trigger, xi = D.Close, Si = l(["fp-DialogBaseContent", "fp-AlertDialogContent"], {
|
|
1809
1808
|
variants: {
|
|
1810
1809
|
size: {
|
|
1811
1810
|
1: "fp-size-1",
|
|
@@ -1821,40 +1820,40 @@ var bi = /* @__PURE__ */ I({
|
|
|
1821
1820
|
size: "2",
|
|
1822
1821
|
placement: "top"
|
|
1823
1822
|
}
|
|
1824
|
-
}),
|
|
1825
|
-
let { className: n, size: r, placement: i, ...a } = e, o =
|
|
1823
|
+
}), Ci = t.forwardRef((e, t) => {
|
|
1824
|
+
let { className: n, size: r, placement: i, ...a } = e, o = Si({
|
|
1826
1825
|
size: r,
|
|
1827
1826
|
placement: i
|
|
1828
1827
|
});
|
|
1829
1828
|
return /* @__PURE__ */ f(D.Popup, {
|
|
1830
1829
|
ref: t,
|
|
1831
|
-
className:
|
|
1830
|
+
className: B(n, o),
|
|
1832
1831
|
...a
|
|
1833
1832
|
});
|
|
1834
|
-
}),
|
|
1833
|
+
}), wi = t.forwardRef((e, t) => {
|
|
1835
1834
|
let { className: n, ...r } = e;
|
|
1836
1835
|
return /* @__PURE__ */ f(D.Backdrop, {
|
|
1837
1836
|
ref: t,
|
|
1838
|
-
className:
|
|
1837
|
+
className: B(n, "fp-DialogBaseOverlay"),
|
|
1839
1838
|
...r
|
|
1840
1839
|
});
|
|
1841
|
-
}),
|
|
1842
|
-
let { className: n, render: r = /* @__PURE__ */ f(
|
|
1840
|
+
}), Ti = t.forwardRef((e, t) => {
|
|
1841
|
+
let { className: n, render: r = /* @__PURE__ */ f(H, { weight: "strong" }), ...i } = e;
|
|
1843
1842
|
return /* @__PURE__ */ f(D.Title, {
|
|
1844
1843
|
ref: t,
|
|
1845
|
-
className:
|
|
1844
|
+
className: B(n, "fp-AlertDialogTitle"),
|
|
1846
1845
|
render: r,
|
|
1847
1846
|
...i
|
|
1848
1847
|
});
|
|
1849
|
-
}),
|
|
1850
|
-
let { className: n, render: r = /* @__PURE__ */ f(
|
|
1848
|
+
}), Ei = t.forwardRef((e, t) => {
|
|
1849
|
+
let { className: n, render: r = /* @__PURE__ */ f(H, {}), ...i } = e;
|
|
1851
1850
|
return /* @__PURE__ */ f(D.Description, {
|
|
1852
1851
|
ref: t,
|
|
1853
|
-
className:
|
|
1852
|
+
className: B(n, "fp-AlertDialogDescription"),
|
|
1854
1853
|
render: r,
|
|
1855
1854
|
...i
|
|
1856
1855
|
});
|
|
1857
|
-
}),
|
|
1856
|
+
}), Di = t.forwardRef((e, t) => {
|
|
1858
1857
|
let { className: n, ...r } = e;
|
|
1859
1858
|
return /* @__PURE__ */ f("div", {
|
|
1860
1859
|
ref: t,
|
|
@@ -1862,22 +1861,22 @@ var bi = /* @__PURE__ */ I({
|
|
|
1862
1861
|
...r
|
|
1863
1862
|
});
|
|
1864
1863
|
});
|
|
1865
|
-
|
|
1864
|
+
Ci.displayName = "AlertDialog.Popup", wi.displayName = "AlertDialog.Backdrop", Ti.displayName = "AlertDialog.Title", Ei.displayName = "AlertDialog.Description", Di.displayName = "AlertDialog.Actions";
|
|
1866
1865
|
//#endregion
|
|
1867
1866
|
//#region src/components/alert-dialog/index.ts
|
|
1868
|
-
var
|
|
1869
|
-
Actions: () =>
|
|
1870
|
-
Backdrop: () =>
|
|
1871
|
-
Close: () =>
|
|
1872
|
-
Description: () =>
|
|
1873
|
-
Popup: () =>
|
|
1874
|
-
Portal: () =>
|
|
1875
|
-
Root: () =>
|
|
1876
|
-
Title: () =>
|
|
1877
|
-
Trigger: () =>
|
|
1878
|
-
}), [
|
|
1879
|
-
let { className: n, disabled: r, ...i } = e, a =
|
|
1880
|
-
return /* @__PURE__ */ f(
|
|
1867
|
+
var Oi = /* @__PURE__ */ z({
|
|
1868
|
+
Actions: () => Di,
|
|
1869
|
+
Backdrop: () => wi,
|
|
1870
|
+
Close: () => xi,
|
|
1871
|
+
Description: () => Ei,
|
|
1872
|
+
Popup: () => Ci,
|
|
1873
|
+
Portal: () => yi,
|
|
1874
|
+
Root: () => vi,
|
|
1875
|
+
Title: () => Ti,
|
|
1876
|
+
Trigger: () => bi
|
|
1877
|
+
}), [ki, G] = Ce("ValueFieldProvider", null), K = t.forwardRef((e, t) => {
|
|
1878
|
+
let { className: n, disabled: r, ...i } = e, a = Ai(r, G("Root"));
|
|
1879
|
+
return /* @__PURE__ */ f(ki, {
|
|
1881
1880
|
...a,
|
|
1882
1881
|
children: /* @__PURE__ */ f("label", {
|
|
1883
1882
|
ref: t,
|
|
@@ -1887,9 +1886,9 @@ var ji = /* @__PURE__ */ I({
|
|
|
1887
1886
|
...i
|
|
1888
1887
|
})
|
|
1889
1888
|
});
|
|
1890
|
-
}),
|
|
1891
|
-
let { className: n, disabled: r, ...i } = e, a =
|
|
1892
|
-
return /* @__PURE__ */ f(
|
|
1889
|
+
}), q = t.forwardRef((e, t) => {
|
|
1890
|
+
let { className: n, disabled: r, ...i } = e, a = Ai(r, G("Multi"));
|
|
1891
|
+
return /* @__PURE__ */ f(ki, {
|
|
1893
1892
|
...a,
|
|
1894
1893
|
children: /* @__PURE__ */ f("div", {
|
|
1895
1894
|
ref: t,
|
|
@@ -1899,8 +1898,8 @@ var ji = /* @__PURE__ */ I({
|
|
|
1899
1898
|
...i
|
|
1900
1899
|
})
|
|
1901
1900
|
});
|
|
1902
|
-
}),
|
|
1903
|
-
let { className: n, ...r } = e, i =
|
|
1901
|
+
}), J = t.forwardRef((e, t) => {
|
|
1902
|
+
let { className: n, ...r } = e, i = G("Root");
|
|
1904
1903
|
return /* @__PURE__ */ f("span", {
|
|
1905
1904
|
ref: t,
|
|
1906
1905
|
className: u(n, "fp-ValueFieldLabel"),
|
|
@@ -1908,8 +1907,8 @@ var ji = /* @__PURE__ */ I({
|
|
|
1908
1907
|
...r
|
|
1909
1908
|
});
|
|
1910
1909
|
});
|
|
1911
|
-
|
|
1912
|
-
function
|
|
1910
|
+
K.displayName = "ValueField.Root", J.displayName = "ValueField.Label", q.displayName = "ValueField.Multi";
|
|
1911
|
+
function Ai(e, n) {
|
|
1913
1912
|
let [r, i] = t.useState(!1), a = t.useRef([]), o = e || n?.disabled ? !0 : void 0, s = t.useCallback((e) => e ? (a.current = [...a.current.filter((t) => t !== e), e], () => {
|
|
1914
1913
|
a.current = a.current.filter((t) => t !== e);
|
|
1915
1914
|
}) : () => {}, []);
|
|
@@ -1927,7 +1926,7 @@ function Ni(e, n) {
|
|
|
1927
1926
|
}
|
|
1928
1927
|
//#endregion
|
|
1929
1928
|
//#region src/lib/number/normalize.ts
|
|
1930
|
-
function
|
|
1929
|
+
function Y(e, t) {
|
|
1931
1930
|
let [n, r] = e, [i, a] = t;
|
|
1932
1931
|
return function(e) {
|
|
1933
1932
|
return n === r || i === a ? i : (e - n) / (r - n) * (a - i) + i;
|
|
@@ -1935,7 +1934,7 @@ function K(e, t) {
|
|
|
1935
1934
|
}
|
|
1936
1935
|
//#endregion
|
|
1937
1936
|
//#region src/lib/react/use-select-on-input-click.tsx
|
|
1938
|
-
function
|
|
1937
|
+
function ji() {
|
|
1939
1938
|
let [e, t] = s(!0), r = n(() => {
|
|
1940
1939
|
t(!0);
|
|
1941
1940
|
}, []);
|
|
@@ -1951,8 +1950,8 @@ function Pi() {
|
|
|
1951
1950
|
}
|
|
1952
1951
|
//#endregion
|
|
1953
1952
|
//#region src/components/input/input.tsx
|
|
1954
|
-
var
|
|
1955
|
-
let { type: n = "text", className: r, selectOnClick: i = !1, ...a } = e, s =
|
|
1953
|
+
var Mi = t.forwardRef((e, t) => {
|
|
1954
|
+
let { type: n = "text", className: r, selectOnClick: i = !1, ...a } = e, s = V(o(null), t), { onMouseLeave: c, onMouseUp: l, onFocus: d } = ji(), p = i ? N(a, {
|
|
1956
1955
|
onMouseLeave: c,
|
|
1957
1956
|
onMouseUp: l,
|
|
1958
1957
|
onFocus: d
|
|
@@ -1964,11 +1963,11 @@ var Fi = t.forwardRef((e, t) => {
|
|
|
1964
1963
|
...p
|
|
1965
1964
|
});
|
|
1966
1965
|
});
|
|
1967
|
-
|
|
1966
|
+
Mi.displayName = "Input";
|
|
1968
1967
|
//#endregion
|
|
1969
1968
|
//#region src/components/value-field/value-field-base.tsx
|
|
1970
|
-
var
|
|
1971
|
-
let { className: n, inputRef: r, value: i, onChange: a, smallNudge: c = 1, bigNudge: l = 10, formatter: d, disabled: p, ...m } = e, h = o(null), g =
|
|
1969
|
+
var Ni = (e) => {
|
|
1970
|
+
let { className: n, inputRef: r, value: i, onChange: a, smallNudge: c = 1, bigNudge: l = 10, formatter: d, disabled: p, ...m } = e, h = o(null), g = V(r, h), _ = o(i), [v, y] = s(null), b = v ?? d.format(i), x = G("ValueField"), S = p || x?.disabled ? !0 : void 0, C = x?.registerScrubTarget;
|
|
1972
1971
|
t.useEffect(() => {
|
|
1973
1972
|
x?.scrubbing || (_.current = i);
|
|
1974
1973
|
}, [x?.scrubbing, i]);
|
|
@@ -2028,7 +2027,7 @@ var Ii = (e) => {
|
|
|
2028
2027
|
A,
|
|
2029
2028
|
k,
|
|
2030
2029
|
C
|
|
2031
|
-
]), /* @__PURE__ */ f(
|
|
2030
|
+
]), /* @__PURE__ */ f(Mi, {
|
|
2032
2031
|
ref: g,
|
|
2033
2032
|
dir: "auto",
|
|
2034
2033
|
autoComplete: "off",
|
|
@@ -2044,16 +2043,16 @@ var Ii = (e) => {
|
|
|
2044
2043
|
}, m)
|
|
2045
2044
|
});
|
|
2046
2045
|
};
|
|
2047
|
-
|
|
2046
|
+
Ni.displayName = "ValueField.Base";
|
|
2048
2047
|
//#endregion
|
|
2049
2048
|
//#region src/components/value-field/value-field-numeric.tsx
|
|
2050
|
-
var
|
|
2049
|
+
var Pi = 15, X = t.forwardRef((e, t) => {
|
|
2051
2050
|
let { value: n, onChange: r, min: i, max: o, targetRange: s, precision: c, suffix: l, allowedUnits: u, ...d } = e;
|
|
2052
|
-
return /* @__PURE__ */ f(
|
|
2051
|
+
return /* @__PURE__ */ f(Ni, {
|
|
2053
2052
|
inputRef: t,
|
|
2054
2053
|
value: n,
|
|
2055
2054
|
onChange: r,
|
|
2056
|
-
formatter: a(() =>
|
|
2055
|
+
formatter: a(() => Fi({
|
|
2057
2056
|
min: i,
|
|
2058
2057
|
max: o,
|
|
2059
2058
|
precision: c,
|
|
@@ -2071,8 +2070,8 @@ var Li = 15, q = t.forwardRef((e, t) => {
|
|
|
2071
2070
|
...d
|
|
2072
2071
|
});
|
|
2073
2072
|
});
|
|
2074
|
-
function
|
|
2075
|
-
let { min: t, max: n, targetRange: r, precision: i =
|
|
2073
|
+
function Fi(e = {}) {
|
|
2074
|
+
let { min: t, max: n, targetRange: r, precision: i = Pi, suffix: a, allowedUnits: o = [] } = e, { toDisplayValue: s, fromDisplayValue: c } = Ii({
|
|
2076
2075
|
min: t,
|
|
2077
2076
|
max: n,
|
|
2078
2077
|
targetRange: r
|
|
@@ -2082,7 +2081,7 @@ function Ri(e = {}) {
|
|
|
2082
2081
|
try {
|
|
2083
2082
|
return {
|
|
2084
2083
|
valid: !0,
|
|
2085
|
-
value: A(e, (e) =>
|
|
2084
|
+
value: A(e, (e) => Ri({
|
|
2086
2085
|
expression: e,
|
|
2087
2086
|
displayValue: s(r),
|
|
2088
2087
|
suffix: a,
|
|
@@ -2099,13 +2098,13 @@ function Ri(e = {}) {
|
|
|
2099
2098
|
format: (e) => A(e, O({
|
|
2100
2099
|
min: t,
|
|
2101
2100
|
max: n
|
|
2102
|
-
}), s, j(i), (e) =>
|
|
2101
|
+
}), s, j(i), (e) => Li(e, a)),
|
|
2103
2102
|
incrementBy(e, t) {
|
|
2104
2103
|
return e + c(t);
|
|
2105
2104
|
}
|
|
2106
2105
|
};
|
|
2107
2106
|
}
|
|
2108
|
-
function
|
|
2107
|
+
function Ii(e) {
|
|
2109
2108
|
let { min: t, max: n, targetRange: r } = e;
|
|
2110
2109
|
if (!r) return {
|
|
2111
2110
|
toDisplayValue: (e) => e,
|
|
@@ -2114,27 +2113,27 @@ function zi(e) {
|
|
|
2114
2113
|
if (typeof t != "number" || typeof n != "number") throw Error("'targetRange' requires specifying 'min' and 'max'.");
|
|
2115
2114
|
if (t === n) throw Error("'min' and 'max' cannot be equal.");
|
|
2116
2115
|
return {
|
|
2117
|
-
toDisplayValue:
|
|
2118
|
-
fromDisplayValue:
|
|
2116
|
+
toDisplayValue: Y([t, n], r),
|
|
2117
|
+
fromDisplayValue: Y(r, [t, n])
|
|
2119
2118
|
};
|
|
2120
2119
|
}
|
|
2121
|
-
function
|
|
2120
|
+
function Li(e, t) {
|
|
2122
2121
|
return Number.isNaN(e) ? "" : t ? `${e}${t}` : `${e}`;
|
|
2123
2122
|
}
|
|
2124
|
-
function
|
|
2123
|
+
function Ri(e) {
|
|
2125
2124
|
let { displayValue: t, expression: n, suffix: r = "", allowedUnits: i = [] } = e, a = "(\\d*\\.?\\d+)", o = `(?:${[...i, r].join("|")})*`, s = M(n.replace(RegExp(`${a}${o}`, "gi"), (e, t) => t).replace(RegExp(`${o}${a}`, "gi"), (e, t) => t).replace(RegExp(`${a}%`, "gi"), (e, n) => `(${t}*${n}/100)`).replace(RegExp(`%${a}`, "gi"), (e, n) => `(${t}*${n}/100)`).replace(RegExp(`${a}x`, "gi"), (e, n) => `(${t}*${n})`).replace(RegExp(`x${a}`, "gi"), (e, n) => `(${t}*${n})`).replace(/(?<!\d)x(?!\d)/gi, `${t}`).trim());
|
|
2126
2125
|
if (s === null) throw Error("Invalid expression.");
|
|
2127
2126
|
return s;
|
|
2128
2127
|
}
|
|
2129
2128
|
//#endregion
|
|
2130
2129
|
//#region src/components/value-field/value-field-scrubber.tsx
|
|
2131
|
-
var
|
|
2132
|
-
let { children: i, className: a, onPointerDown: c, pixelSensitivity: l =
|
|
2133
|
-
_.current = e, b(
|
|
2130
|
+
var zi = 2, Bi = 4, Vi = t.forwardRef((e, n) => {
|
|
2131
|
+
let { children: i, className: a, onPointerDown: c, pixelSensitivity: l = zi, teleportDistance: d, style: m, ...h } = e, g = G("Scrubber"), _ = o(null), v = o(null), [y, b] = s(null), x = V(n, t.useCallback((e) => {
|
|
2132
|
+
_.current = e, b(Zi(e));
|
|
2134
2133
|
}, [])), [S, C] = s(!1), [w, T] = s(!1), [E, D] = s(!1), O = o(!1), k = o(!1), A = o(null), j = o(0), M = o({
|
|
2135
2134
|
x: 0,
|
|
2136
2135
|
y: 0
|
|
2137
|
-
}), N = g?.scrubTargetsRef, P = g?.disabled, F = g?.setScrubbing,
|
|
2136
|
+
}), N = g?.scrubTargetsRef, P = g?.disabled, F = g?.setScrubbing, I = S && !w && !E && !Qi(), L = t.useCallback((e, t) => {
|
|
2138
2137
|
te(() => {
|
|
2139
2138
|
C(e), F?.(e);
|
|
2140
2139
|
});
|
|
@@ -2144,40 +2143,40 @@ var Hi = 2, Ui = 4, Wi = t.forwardRef((e, n) => {
|
|
|
2144
2143
|
x: t.clientX - n.offsetWidth / 2,
|
|
2145
2144
|
y: t.clientY - n.offsetHeight / 2
|
|
2146
2145
|
};
|
|
2147
|
-
M.current = r,
|
|
2148
|
-
}, [F]),
|
|
2146
|
+
M.current = r, Ki(n, r);
|
|
2147
|
+
}, [F]), R = t.useCallback((e, t) => {
|
|
2149
2148
|
let n = v.current, r = _.current;
|
|
2150
2149
|
if (!n || !r) return;
|
|
2151
|
-
let i =
|
|
2150
|
+
let i = Ji(d, r), a = M.current, o = qi({
|
|
2152
2151
|
x: Math.round(a.x + e),
|
|
2153
2152
|
y: Math.round(a.y + t)
|
|
2154
2153
|
}, i, n);
|
|
2155
|
-
M.current = o,
|
|
2154
|
+
M.current = o, Ki(n, o);
|
|
2156
2155
|
}, [d]);
|
|
2157
|
-
function
|
|
2156
|
+
function ne(e) {
|
|
2158
2157
|
c?.(e);
|
|
2159
|
-
let t =
|
|
2158
|
+
let t = Ui(N?.current, _.current), n = e.button === 0;
|
|
2160
2159
|
if (e.defaultPrevented || !n || P || !t || t.disabled) return;
|
|
2161
2160
|
let r = e.pointerType === "touch";
|
|
2162
|
-
T(r), D(!1), e.pointerType === "mouse" && e.preventDefault(), t.startScrub(), O.current = !0, k.current = !1, j.current = 0, A.current = e.nativeEvent.target,
|
|
2161
|
+
T(r), D(!1), e.pointerType === "mouse" && e.preventDefault(), t.startScrub(), O.current = !0, k.current = !1, j.current = 0, A.current = e.nativeEvent.target, L(!0, e.nativeEvent), !r && !Qi() && Hi(_.current, D);
|
|
2163
2162
|
}
|
|
2164
2163
|
r(() => {
|
|
2165
2164
|
if (!S || !N || P) return;
|
|
2166
|
-
let e = N, t =
|
|
2165
|
+
let e = N, t = Ui(e.current, _.current);
|
|
2167
2166
|
if (!t || t.disabled) return;
|
|
2168
|
-
let n =
|
|
2167
|
+
let n = Xi(_.current);
|
|
2169
2168
|
if (!n) return;
|
|
2170
2169
|
function r(t) {
|
|
2171
|
-
if (O.current && (t.preventDefault(),
|
|
2170
|
+
if (O.current && (t.preventDefault(), R(t.movementX, t.movementY), j.current += t.movementX, Math.abs(j.current) >= l)) {
|
|
2172
2171
|
let n = j.current;
|
|
2173
2172
|
j.current = 0, k.current = !0;
|
|
2174
|
-
let r =
|
|
2173
|
+
let r = Ui(e.current, _.current);
|
|
2175
2174
|
n !== 0 && r && !r.disabled && r.scrub(n, t);
|
|
2176
2175
|
}
|
|
2177
2176
|
}
|
|
2178
2177
|
function i(e) {
|
|
2179
|
-
let t =
|
|
2180
|
-
typeof t?.exitPointerLock == "function" && t.exitPointerLock(), O.current = !1,
|
|
2178
|
+
let t = Yi(_.current);
|
|
2179
|
+
typeof t?.exitPointerLock == "function" && t.exitPointerLock(), O.current = !1, L(!1, e), Gi(A.current, _.current, k.current), k.current = !1, A.current = null, j.current = 0;
|
|
2181
2180
|
}
|
|
2182
2181
|
return n.addEventListener("pointermove", r, !0), n.addEventListener("pointerup", i, !0), () => {
|
|
2183
2182
|
n.removeEventListener("pointermove", r, !0), n.removeEventListener("pointerup", i, !0);
|
|
@@ -2187,8 +2186,8 @@ var Hi = 2, Ui = 4, Wi = t.forwardRef((e, n) => {
|
|
|
2187
2186
|
S,
|
|
2188
2187
|
l,
|
|
2189
2188
|
N,
|
|
2190
|
-
|
|
2191
|
-
|
|
2189
|
+
L,
|
|
2190
|
+
R
|
|
2192
2191
|
]), r(() => {
|
|
2193
2192
|
let e = _.current;
|
|
2194
2193
|
if (!e || P) return;
|
|
@@ -2199,7 +2198,7 @@ var Hi = 2, Ui = 4, Wi = t.forwardRef((e, n) => {
|
|
|
2199
2198
|
e.removeEventListener("touchstart", t);
|
|
2200
2199
|
};
|
|
2201
2200
|
}, [P]);
|
|
2202
|
-
let
|
|
2201
|
+
let z = {
|
|
2203
2202
|
touchAction: "none",
|
|
2204
2203
|
WebkitUserSelect: "none",
|
|
2205
2204
|
userSelect: "none",
|
|
@@ -2211,19 +2210,19 @@ var Hi = 2, Ui = 4, Wi = t.forwardRef((e, n) => {
|
|
|
2211
2210
|
"data-disabled": P ? "" : void 0,
|
|
2212
2211
|
"data-scrubbing": S ? "" : void 0,
|
|
2213
2212
|
role: "presentation",
|
|
2214
|
-
style:
|
|
2215
|
-
onPointerDown:
|
|
2213
|
+
style: z,
|
|
2214
|
+
onPointerDown: ne,
|
|
2216
2215
|
...h,
|
|
2217
|
-
children: [i,
|
|
2216
|
+
children: [i, I && y ? ee(/* @__PURE__ */ f("span", {
|
|
2218
2217
|
ref: v,
|
|
2219
2218
|
role: "presentation",
|
|
2220
2219
|
className: "fp-ValueFieldScrubberCursor",
|
|
2221
|
-
children: /* @__PURE__ */ f(
|
|
2220
|
+
children: /* @__PURE__ */ f($i, {})
|
|
2222
2221
|
}), y) : null]
|
|
2223
2222
|
});
|
|
2224
2223
|
});
|
|
2225
|
-
function
|
|
2226
|
-
let n =
|
|
2224
|
+
function Hi(e, t) {
|
|
2225
|
+
let n = Yi(e)?.body;
|
|
2227
2226
|
if (!n || !n.requestPointerLock) {
|
|
2228
2227
|
t(!0);
|
|
2229
2228
|
return;
|
|
@@ -2234,34 +2233,34 @@ function Gi(e, t) {
|
|
|
2234
2233
|
t(!0);
|
|
2235
2234
|
}
|
|
2236
2235
|
}
|
|
2237
|
-
function
|
|
2236
|
+
function Ui(e, t) {
|
|
2238
2237
|
if (!e || e.length === 0) return null;
|
|
2239
2238
|
if (!t || e.length === 1) return e[0] ?? null;
|
|
2240
2239
|
let n = t.closest(".fp-ValueFieldRoot"), r = n ? e.filter((e) => e.inputRef.current?.closest(".fp-ValueFieldRoot") === n) : e;
|
|
2241
|
-
return
|
|
2240
|
+
return Wi(r, t) ?? r[0] ?? null;
|
|
2242
2241
|
}
|
|
2243
|
-
function
|
|
2242
|
+
function Wi(e, t) {
|
|
2244
2243
|
return e.find((e) => {
|
|
2245
2244
|
let n = e.inputRef.current;
|
|
2246
|
-
return n ? (t.compareDocumentPosition(n) &
|
|
2245
|
+
return n ? (t.compareDocumentPosition(n) & Bi) !== 0 : !1;
|
|
2247
2246
|
}) ?? null;
|
|
2248
2247
|
}
|
|
2249
|
-
function
|
|
2248
|
+
function Gi(e, t, n) {
|
|
2250
2249
|
if (n || !e) return;
|
|
2251
|
-
let r =
|
|
2250
|
+
let r = Xi(t);
|
|
2252
2251
|
r && e.dispatchEvent(new r.MouseEvent("click", {
|
|
2253
2252
|
bubbles: !0,
|
|
2254
2253
|
cancelable: !0
|
|
2255
2254
|
}));
|
|
2256
2255
|
}
|
|
2257
|
-
function
|
|
2256
|
+
function Ki(e, t) {
|
|
2258
2257
|
e.style.transform = `translate3d(${t.x}px,${t.y}px,0)`;
|
|
2259
2258
|
}
|
|
2260
|
-
function
|
|
2259
|
+
function qi(e, t, n) {
|
|
2261
2260
|
let r = { ...e }, i = n.offsetWidth / 2, a = n.offsetHeight / 2;
|
|
2262
2261
|
return r.x + i < t.left ? r.x = t.right - i : r.x + i > t.right && (r.x = t.left - i), r.y + a < t.top ? r.y = t.bottom - a : r.y + a > t.bottom && (r.y = t.top - a), r;
|
|
2263
2262
|
}
|
|
2264
|
-
function
|
|
2263
|
+
function Ji(e, t) {
|
|
2265
2264
|
let n = t.getBoundingClientRect();
|
|
2266
2265
|
if (e !== void 0) return {
|
|
2267
2266
|
left: n.left - e / 2,
|
|
@@ -2269,7 +2268,7 @@ function Zi(e, t) {
|
|
|
2269
2268
|
right: n.right + e / 2,
|
|
2270
2269
|
bottom: n.bottom + e / 2
|
|
2271
2270
|
};
|
|
2272
|
-
let r =
|
|
2271
|
+
let r = Xi(t)?.visualViewport;
|
|
2273
2272
|
return r ? {
|
|
2274
2273
|
left: r.offsetLeft,
|
|
2275
2274
|
top: r.offsetTop,
|
|
@@ -2282,19 +2281,19 @@ function Zi(e, t) {
|
|
|
2282
2281
|
bottom: t.ownerDocument.documentElement.clientHeight
|
|
2283
2282
|
};
|
|
2284
2283
|
}
|
|
2285
|
-
function
|
|
2284
|
+
function Yi(e) {
|
|
2286
2285
|
return e ? e.ownerDocument : typeof document > "u" ? null : document;
|
|
2287
2286
|
}
|
|
2288
|
-
function
|
|
2289
|
-
return
|
|
2287
|
+
function Xi(e) {
|
|
2288
|
+
return Yi(e)?.defaultView ?? null;
|
|
2290
2289
|
}
|
|
2291
|
-
function
|
|
2292
|
-
return
|
|
2290
|
+
function Zi(e) {
|
|
2291
|
+
return Yi(e)?.body ?? null;
|
|
2293
2292
|
}
|
|
2294
|
-
function
|
|
2293
|
+
function Qi() {
|
|
2295
2294
|
return typeof navigator < "u" && /AppleWebKit/i.test(navigator.userAgent) && !/(Chrome|Chromium|Edg|OPR|Firefox|HappyDOM)/i.test(navigator.userAgent);
|
|
2296
2295
|
}
|
|
2297
|
-
function
|
|
2296
|
+
function $i() {
|
|
2298
2297
|
return /* @__PURE__ */ f("svg", {
|
|
2299
2298
|
className: "fp-ValueFieldScrubberCursorIcon",
|
|
2300
2299
|
width: "26",
|
|
@@ -2304,11 +2303,11 @@ function na() {
|
|
|
2304
2303
|
children: /* @__PURE__ */ f("path", { d: "M20.5 5.5H6.5V2L1 7L6.5 12V8.5H20.5V12L26 7L20.5 2V5.5Z" })
|
|
2305
2304
|
});
|
|
2306
2305
|
}
|
|
2307
|
-
|
|
2306
|
+
Vi.displayName = "ValueField.Scrubber";
|
|
2308
2307
|
//#endregion
|
|
2309
2308
|
//#region src/components/value-field/value-field-numeric-select.tsx
|
|
2310
|
-
var
|
|
2311
|
-
let { className: r, style: i, value: a, onChange: o, options: s, disabled: c, triggerLabel: l = "Select value", ...m } = e, h = s.includes(a), g =
|
|
2309
|
+
var ea = t.forwardRef((e, n) => {
|
|
2310
|
+
let { className: r, style: i, value: a, onChange: o, options: s, disabled: c, triggerLabel: l = "Select value", ...m } = e, h = s.includes(a), g = Z(a), _ = ta(a, s, h), v = t.useRef(null);
|
|
2312
2311
|
function b(e) {
|
|
2313
2312
|
e !== null && o(Number(e));
|
|
2314
2313
|
}
|
|
@@ -2317,15 +2316,15 @@ var ra = t.forwardRef((e, n) => {
|
|
|
2317
2316
|
value: g,
|
|
2318
2317
|
onValueChange: b,
|
|
2319
2318
|
disabled: c,
|
|
2320
|
-
children: [/* @__PURE__ */ p(
|
|
2319
|
+
children: [/* @__PURE__ */ p(q, {
|
|
2321
2320
|
ref: v,
|
|
2322
2321
|
className: u(r, "fp-ValueFieldNumericSelect"),
|
|
2323
2322
|
style: i,
|
|
2324
2323
|
disabled: c,
|
|
2325
|
-
children: [/* @__PURE__ */ p(
|
|
2324
|
+
children: [/* @__PURE__ */ p(K, {
|
|
2326
2325
|
className: "fp-ValueFieldNumericSelectField",
|
|
2327
2326
|
disabled: c,
|
|
2328
|
-
children: [/* @__PURE__ */ f(
|
|
2327
|
+
children: [/* @__PURE__ */ f(Vi, {}), /* @__PURE__ */ f(X, {
|
|
2329
2328
|
ref: n,
|
|
2330
2329
|
value: a,
|
|
2331
2330
|
onChange: o,
|
|
@@ -2337,7 +2336,7 @@ var ra = t.forwardRef((e, n) => {
|
|
|
2337
2336
|
"aria-label": l,
|
|
2338
2337
|
children: [/* @__PURE__ */ f(y.Value, {}), /* @__PURE__ */ f(y.Icon, {
|
|
2339
2338
|
className: "fp-ValueFieldNumericSelectIcon",
|
|
2340
|
-
children: /* @__PURE__ */ f(
|
|
2339
|
+
children: /* @__PURE__ */ f(qe, { size: "4" })
|
|
2341
2340
|
})]
|
|
2342
2341
|
})]
|
|
2343
2342
|
}), /* @__PURE__ */ f(y.Portal, { children: /* @__PURE__ */ f(y.Positioner, {
|
|
@@ -2350,7 +2349,7 @@ var ra = t.forwardRef((e, n) => {
|
|
|
2350
2349
|
children: [
|
|
2351
2350
|
/* @__PURE__ */ f(y.ScrollUpArrow, {
|
|
2352
2351
|
className: "fp-SelectScrollUpButton",
|
|
2353
|
-
children: /* @__PURE__ */ f(
|
|
2352
|
+
children: /* @__PURE__ */ f(Xe, { size: "4" })
|
|
2354
2353
|
}),
|
|
2355
2354
|
/* @__PURE__ */ p(y.List, { children: [!h && /* @__PURE__ */ p(d, { children: [/* @__PURE__ */ p(y.Item, {
|
|
2356
2355
|
value: g,
|
|
@@ -2358,46 +2357,46 @@ var ra = t.forwardRef((e, n) => {
|
|
|
2358
2357
|
className: "fp-MenuItem fp-MenuCheckboxItem fp-ValueFieldNumericSelectCurrentItem",
|
|
2359
2358
|
children: [/* @__PURE__ */ f(y.ItemIndicator, {
|
|
2360
2359
|
className: "fp-MenuItemIndicator",
|
|
2361
|
-
children: /* @__PURE__ */ f(
|
|
2360
|
+
children: /* @__PURE__ */ f(W, { size: "4" })
|
|
2362
2361
|
}), /* @__PURE__ */ f(y.ItemText, { children: a })]
|
|
2363
2362
|
}), /* @__PURE__ */ f(y.Separator, { className: "fp-MenuSeparator" })] }), s.map((e) => /* @__PURE__ */ p(y.Item, {
|
|
2364
|
-
value:
|
|
2365
|
-
label:
|
|
2363
|
+
value: Z(e),
|
|
2364
|
+
label: Z(e),
|
|
2366
2365
|
className: "fp-MenuItem fp-MenuCheckboxItem",
|
|
2367
2366
|
children: [/* @__PURE__ */ f(y.ItemIndicator, {
|
|
2368
2367
|
className: "fp-MenuItemIndicator",
|
|
2369
|
-
children: /* @__PURE__ */ f(
|
|
2368
|
+
children: /* @__PURE__ */ f(W, { size: "4" })
|
|
2370
2369
|
}), /* @__PURE__ */ f(y.ItemText, { children: e })]
|
|
2371
|
-
},
|
|
2370
|
+
}, Z(e)))] }),
|
|
2372
2371
|
/* @__PURE__ */ f(y.ScrollDownArrow, {
|
|
2373
2372
|
className: "fp-SelectScrollDownButton",
|
|
2374
|
-
children: /* @__PURE__ */ f(
|
|
2373
|
+
children: /* @__PURE__ */ f(qe, { size: "4" })
|
|
2375
2374
|
})
|
|
2376
2375
|
]
|
|
2377
2376
|
})
|
|
2378
2377
|
}) })]
|
|
2379
2378
|
});
|
|
2380
2379
|
});
|
|
2381
|
-
function
|
|
2380
|
+
function ta(e, t, n) {
|
|
2382
2381
|
let r = t.map((e) => {
|
|
2383
|
-
let t =
|
|
2382
|
+
let t = Z(e);
|
|
2384
2383
|
return {
|
|
2385
2384
|
value: t,
|
|
2386
2385
|
label: t
|
|
2387
2386
|
};
|
|
2388
2387
|
});
|
|
2389
2388
|
return n ? r : [{
|
|
2390
|
-
value:
|
|
2391
|
-
label:
|
|
2389
|
+
value: Z(e),
|
|
2390
|
+
label: Z(e)
|
|
2392
2391
|
}, ...r];
|
|
2393
2392
|
}
|
|
2394
|
-
function
|
|
2393
|
+
function Z(e) {
|
|
2395
2394
|
return `${e}`;
|
|
2396
2395
|
}
|
|
2397
|
-
|
|
2396
|
+
ea.displayName = "ValueField.NumericSelect";
|
|
2398
2397
|
//#endregion
|
|
2399
2398
|
//#region src/components/value-field/named-colors.ts
|
|
2400
|
-
var
|
|
2399
|
+
var na = {
|
|
2401
2400
|
aliceblue: {
|
|
2402
2401
|
r: 240,
|
|
2403
2402
|
g: 248,
|
|
@@ -3133,22 +3132,22 @@ var aa = {
|
|
|
3133
3132
|
g: 205,
|
|
3134
3133
|
b: 50
|
|
3135
3134
|
}
|
|
3136
|
-
},
|
|
3135
|
+
}, ra = t.forwardRef((e, t) => {
|
|
3137
3136
|
let { value: n, onChange: r, ignoreAlpha: i = !1, ...o } = e;
|
|
3138
|
-
return /* @__PURE__ */ f(
|
|
3137
|
+
return /* @__PURE__ */ f(Ni, {
|
|
3139
3138
|
inputRef: t,
|
|
3140
3139
|
value: n,
|
|
3141
3140
|
onChange: r,
|
|
3142
|
-
formatter: a(() =>
|
|
3141
|
+
formatter: a(() => ia({ ignoreAlpha: i }), [i]),
|
|
3143
3142
|
...o
|
|
3144
3143
|
});
|
|
3145
3144
|
});
|
|
3146
|
-
function
|
|
3145
|
+
function ia(e) {
|
|
3147
3146
|
let { ignoreAlpha: t } = e;
|
|
3148
3147
|
return {
|
|
3149
3148
|
parse(e, n) {
|
|
3150
|
-
if (
|
|
3151
|
-
let { r: t, g: r, b: i } =
|
|
3149
|
+
if (aa(e)) {
|
|
3150
|
+
let { r: t, g: r, b: i } = na[e];
|
|
3152
3151
|
return {
|
|
3153
3152
|
valid: !0,
|
|
3154
3153
|
value: {
|
|
@@ -3161,7 +3160,7 @@ function sa(e) {
|
|
|
3161
3160
|
}
|
|
3162
3161
|
try {
|
|
3163
3162
|
return {
|
|
3164
|
-
value: A(e,
|
|
3163
|
+
value: A(e, oa, (e) => sa(e, n), ca, (e) => t ? {
|
|
3165
3164
|
...e,
|
|
3166
3165
|
a: 1
|
|
3167
3166
|
} : e),
|
|
@@ -3209,27 +3208,27 @@ function sa(e) {
|
|
|
3209
3208
|
}
|
|
3210
3209
|
};
|
|
3211
3210
|
}
|
|
3212
|
-
function
|
|
3213
|
-
return Object.keys(
|
|
3211
|
+
function aa(e) {
|
|
3212
|
+
return Object.keys(na).includes(e);
|
|
3214
3213
|
}
|
|
3215
|
-
function
|
|
3214
|
+
function oa(e) {
|
|
3216
3215
|
return e.match(/[0-9a-f]+/gi)?.[0] ?? "";
|
|
3217
3216
|
}
|
|
3218
|
-
function
|
|
3217
|
+
function sa(e, t) {
|
|
3219
3218
|
if (!/^[0-9a-f]{1,8}$/i.test(e)) throw Error("Invalid hex substring");
|
|
3220
3219
|
switch (e.length) {
|
|
3221
|
-
case 1: return e.repeat(6) +
|
|
3222
|
-
case 2: return e.repeat(3) +
|
|
3223
|
-
case 3: return e.split("").map((e) => e.repeat(2)).join("") +
|
|
3220
|
+
case 1: return e.repeat(6) + la(t.a);
|
|
3221
|
+
case 2: return e.repeat(3) + la(t.a);
|
|
3222
|
+
case 3: return e.split("").map((e) => e.repeat(2)).join("") + la(t.a);
|
|
3224
3223
|
case 4: return e.slice(0, 3).split("").map((e) => e.repeat(2)).join("") + e[3].repeat(2);
|
|
3225
3224
|
case 5: return e.slice(0, 3).split("").map((e) => e.repeat(2)).join("") + e.slice(-2);
|
|
3226
|
-
case 6: return e +
|
|
3225
|
+
case 6: return e + la(t.a);
|
|
3227
3226
|
case 7: return e.slice(0, 6) + e[6].repeat(2);
|
|
3228
3227
|
case 8: return e;
|
|
3229
3228
|
default: throw Error("Invalid hex substring");
|
|
3230
3229
|
}
|
|
3231
3230
|
}
|
|
3232
|
-
function
|
|
3231
|
+
function ca(e) {
|
|
3233
3232
|
return {
|
|
3234
3233
|
r: parseInt(e.substring(0, 2), 16) / 255,
|
|
3235
3234
|
g: parseInt(e.substring(2, 4), 16) / 255,
|
|
@@ -3237,37 +3236,37 @@ function da(e) {
|
|
|
3237
3236
|
a: parseInt(e.substring(6, 8), 16) / 255
|
|
3238
3237
|
};
|
|
3239
3238
|
}
|
|
3240
|
-
function
|
|
3239
|
+
function la(e) {
|
|
3241
3240
|
return Math.round(e * 255).toString(16);
|
|
3242
3241
|
}
|
|
3243
3242
|
//#endregion
|
|
3244
3243
|
//#region src/components/value-field/index.ts
|
|
3245
|
-
var
|
|
3246
|
-
Hex: () =>
|
|
3247
|
-
Label: () =>
|
|
3248
|
-
Multi: () =>
|
|
3249
|
-
Numeric: () =>
|
|
3250
|
-
NumericSelect: () =>
|
|
3251
|
-
Root: () =>
|
|
3252
|
-
Scrubber: () =>
|
|
3244
|
+
var ua = /* @__PURE__ */ z({
|
|
3245
|
+
Hex: () => ra,
|
|
3246
|
+
Label: () => J,
|
|
3247
|
+
Multi: () => q,
|
|
3248
|
+
Numeric: () => X,
|
|
3249
|
+
NumericSelect: () => ea,
|
|
3250
|
+
Root: () => K,
|
|
3251
|
+
Scrubber: () => Vi
|
|
3253
3252
|
});
|
|
3254
3253
|
//#endregion
|
|
3255
3254
|
//#region src/lib/color.ts
|
|
3256
|
-
function
|
|
3255
|
+
function da(e) {
|
|
3257
3256
|
let t = j(e * 255, 0).toString(16);
|
|
3258
3257
|
return t.length < 2 ? "0" + t : t;
|
|
3259
3258
|
}
|
|
3260
|
-
function
|
|
3261
|
-
let i = r < 1 ?
|
|
3262
|
-
return "#" +
|
|
3259
|
+
function fa({ r: e, g: t, b: n, a: r }) {
|
|
3260
|
+
let i = r < 1 ? da(r) : "";
|
|
3261
|
+
return "#" + da(e) + da(t) + da(n) + i;
|
|
3263
3262
|
}
|
|
3264
|
-
function
|
|
3265
|
-
return
|
|
3263
|
+
function pa(e) {
|
|
3264
|
+
return fa(va(e));
|
|
3266
3265
|
}
|
|
3267
|
-
function
|
|
3268
|
-
return
|
|
3266
|
+
function ma(e) {
|
|
3267
|
+
return fa(Q(e));
|
|
3269
3268
|
}
|
|
3270
|
-
function
|
|
3269
|
+
function ha({ r: e, g: t, b: n, a: r }) {
|
|
3271
3270
|
let i = Math.max(e, t, n), a = i - Math.min(e, t, n), o = a ? i === e ? (t - n) / a : i === t ? 2 + (n - e) / a : 4 + (e - t) / a : 0;
|
|
3272
3271
|
return {
|
|
3273
3272
|
h: 60 * (o < 0 ? o + 6 : o),
|
|
@@ -3276,7 +3275,7 @@ function Y({ r: e, g: t, b: n, a: r }) {
|
|
|
3276
3275
|
a: r
|
|
3277
3276
|
};
|
|
3278
3277
|
}
|
|
3279
|
-
function
|
|
3278
|
+
function Q({ h: e, s: t, v: n, a: r }) {
|
|
3280
3279
|
e = e / 360 * 6, t /= 100, n /= 100;
|
|
3281
3280
|
let i = Math.floor(e), a = n * (1 - t), o = n * (1 - (e - i) * t), s = n * (1 - (1 - e + i) * t), c = i % 6;
|
|
3282
3281
|
return {
|
|
@@ -3307,7 +3306,7 @@ function X({ h: e, s: t, v: n, a: r }) {
|
|
|
3307
3306
|
a: r
|
|
3308
3307
|
};
|
|
3309
3308
|
}
|
|
3310
|
-
function
|
|
3309
|
+
function ga({ h: e, s: t, l: n, a: r }) {
|
|
3311
3310
|
return t *= (n < 50 ? n : 100 - n) / 100, {
|
|
3312
3311
|
h: e,
|
|
3313
3312
|
s: t > 0 ? 2 * t / (n + t) * 100 : 0,
|
|
@@ -3315,7 +3314,7 @@ function va({ h: e, s: t, l: n, a: r }) {
|
|
|
3315
3314
|
a: r
|
|
3316
3315
|
};
|
|
3317
3316
|
}
|
|
3318
|
-
function
|
|
3317
|
+
function _a({ h: e, s: t, v: n, a: r }) {
|
|
3319
3318
|
let i = (200 - t) * n / 100;
|
|
3320
3319
|
return {
|
|
3321
3320
|
h: e,
|
|
@@ -3324,17 +3323,17 @@ function ya({ h: e, s: t, v: n, a: r }) {
|
|
|
3324
3323
|
a: r
|
|
3325
3324
|
};
|
|
3326
3325
|
}
|
|
3327
|
-
function
|
|
3328
|
-
return
|
|
3326
|
+
function va(e) {
|
|
3327
|
+
return Q(ga(e));
|
|
3329
3328
|
}
|
|
3330
|
-
function
|
|
3331
|
-
return
|
|
3329
|
+
function ya(e) {
|
|
3330
|
+
return _a(ha(e));
|
|
3332
3331
|
}
|
|
3333
|
-
function
|
|
3332
|
+
function ba(e) {
|
|
3334
3333
|
let t = j(e.r, 4), n = j(e.g, 4), r = j(e.b, 4), i = j(e.a, 2);
|
|
3335
3334
|
return i < 1 ? `color(display-p3 ${t} ${n} ${r} / ${i})` : `color(display-p3 ${t} ${n} ${r})`;
|
|
3336
3335
|
}
|
|
3337
|
-
function
|
|
3336
|
+
function xa(e) {
|
|
3338
3337
|
let t = Math.round(e.r * 255), n = Math.round(e.g * 255), r = Math.round(e.b * 255), i = e.a;
|
|
3339
3338
|
return i < 1 ? `rgb(${t} ${n} ${r} / ${i})` : `rgb(${t} ${n} ${r})`;
|
|
3340
3339
|
}
|
|
@@ -3359,22 +3358,22 @@ var Ca = {
|
|
|
3359
3358
|
"rgb",
|
|
3360
3359
|
"hsl",
|
|
3361
3360
|
"hsv"
|
|
3362
|
-
], [Ta, $] =
|
|
3361
|
+
], [Ta, $] = Ce("ColorPicker"), Ea = (e) => {
|
|
3363
3362
|
let { colorSpace: t, models: n = wa, defaultActiveModel: r, activeModel: i, onActiveModelChange: a, defaultColor: o, color: c, onColorChange: l, children: u } = e;
|
|
3364
3363
|
Da(i, r, n);
|
|
3365
|
-
let [d = Ca, p] =
|
|
3364
|
+
let [d = Ca, p] = ge({
|
|
3366
3365
|
prop: c,
|
|
3367
3366
|
defaultProp: o,
|
|
3368
3367
|
onChange: l
|
|
3369
|
-
}), [m = n[0], h] =
|
|
3368
|
+
}), [m = n[0], h] = ge({
|
|
3370
3369
|
prop: i,
|
|
3371
3370
|
defaultProp: r,
|
|
3372
3371
|
onChange: a
|
|
3373
3372
|
}), [g, _] = s({}), v = {
|
|
3374
|
-
hsv: g.hsv ??
|
|
3375
|
-
hsl: g.hsl ??
|
|
3373
|
+
hsv: g.hsv ?? ha(d),
|
|
3374
|
+
hsl: g.hsl ?? ya(d),
|
|
3376
3375
|
rgb: g.rgb ?? d,
|
|
3377
|
-
hex: g.hex ??
|
|
3376
|
+
hex: g.hex ?? fa(d)
|
|
3378
3377
|
}, y = v.hsv.h;
|
|
3379
3378
|
return /* @__PURE__ */ f(Ta, {
|
|
3380
3379
|
colorSpace: t,
|
|
@@ -3386,20 +3385,20 @@ var Ca = {
|
|
|
3386
3385
|
let { mode: t, value: n } = e;
|
|
3387
3386
|
t === "rgb" ? (_({
|
|
3388
3387
|
rgb: n,
|
|
3389
|
-
hsv:
|
|
3390
|
-
hsl:
|
|
3391
|
-
hex:
|
|
3388
|
+
hsv: ha(n),
|
|
3389
|
+
hsl: ya(n),
|
|
3390
|
+
hex: fa(n)
|
|
3392
3391
|
}), p(n)) : t === "hsv" ? (_({
|
|
3393
3392
|
hsv: n,
|
|
3394
|
-
hsl:
|
|
3395
|
-
rgb:
|
|
3396
|
-
hex:
|
|
3397
|
-
}), p(
|
|
3398
|
-
hsv:
|
|
3393
|
+
hsl: _a(n),
|
|
3394
|
+
rgb: Q(n),
|
|
3395
|
+
hex: ma(n)
|
|
3396
|
+
}), p(Q(n))) : t === "hsl" && (_({
|
|
3397
|
+
hsv: ga(n),
|
|
3399
3398
|
hsl: n,
|
|
3400
|
-
rgb:
|
|
3401
|
-
hex:
|
|
3402
|
-
}), p(
|
|
3399
|
+
rgb: va(n),
|
|
3400
|
+
hex: pa(n)
|
|
3401
|
+
}), p(va(n)));
|
|
3403
3402
|
},
|
|
3404
3403
|
hue: y,
|
|
3405
3404
|
colorsByModel: v,
|
|
@@ -3413,83 +3412,89 @@ function Da(e, t, n) {
|
|
|
3413
3412
|
}
|
|
3414
3413
|
//#endregion
|
|
3415
3414
|
//#region src/components/slider/slider.tsx
|
|
3416
|
-
var Oa = 2, ka = 0, Aa = 100, ja = "horizontal", Ma = "ltr", Na =
|
|
3417
|
-
|
|
3415
|
+
var Oa = 2, ka = 0, Aa = 100, ja = "horizontal", Ma = "ltr", Na = l("fp-SliderRoot", {
|
|
3416
|
+
variants: { size: {
|
|
3417
|
+
small: "fp-size-small",
|
|
3418
|
+
large: "fp-size-large"
|
|
3419
|
+
} },
|
|
3420
|
+
defaultVariants: { size: "large" }
|
|
3421
|
+
}), Pa = t.forwardRef((e, t) => {
|
|
3422
|
+
let { className: n, size: i, min: a = ka, max: c = Aa, defaultValue: l = [a], value: d, onValueChange: m, onValueCommit: h, tabIndex: g, orientation: _ = ja, dir: v = Ma, inverted: y, disabled: b, step: x = 1, minStepsBetweenThumbs: S, range: C = !0, rangeAnchor: w, baseValue: T, hints: E, ...D } = e, O = G("Slider"), A = b || O?.disabled, j = o(null), M = V(j, t), [N, ee] = s(d ?? l), te = Ra(N, y, a, c), I = Ra(l, y, a, c), L = o(d), R = o(l);
|
|
3418
3423
|
return r(() => {
|
|
3419
|
-
k(
|
|
3420
|
-
}, [
|
|
3421
|
-
direction:
|
|
3424
|
+
k(d, L.current) && k(l, R.current) || (ee(d ?? l), L.current = d, R.current = l);
|
|
3425
|
+
}, [d, l]), /* @__PURE__ */ f(P, {
|
|
3426
|
+
direction: v,
|
|
3422
3427
|
children: /* @__PURE__ */ f(F.Root, {
|
|
3423
|
-
className:
|
|
3424
|
-
defaultValue:
|
|
3425
|
-
dir:
|
|
3426
|
-
disabled:
|
|
3427
|
-
max:
|
|
3428
|
-
min:
|
|
3429
|
-
minStepsBetweenValues:
|
|
3428
|
+
className: B(n, Na({ size: i })),
|
|
3429
|
+
defaultValue: I,
|
|
3430
|
+
dir: v === Ma ? void 0 : v,
|
|
3431
|
+
disabled: A,
|
|
3432
|
+
max: c,
|
|
3433
|
+
min: a,
|
|
3434
|
+
minStepsBetweenValues: S,
|
|
3430
3435
|
onValueChange: (e, t) => {
|
|
3431
|
-
let n = za(
|
|
3432
|
-
|
|
3436
|
+
let n = Ba(za(e, y, a, c), t, j.current, _, v, y, a, c, x).map((e) => Ka(e, E, a, c));
|
|
3437
|
+
m?.(n), ee(n);
|
|
3433
3438
|
},
|
|
3434
3439
|
onValueCommitted: (e, t) => {
|
|
3435
|
-
let n = za(
|
|
3436
|
-
|
|
3440
|
+
let n = Ba(za(e, y, a, c), t, j.current, _, v, y, a, c, x).map((e) => Ka(e, E, a, c));
|
|
3441
|
+
h?.(n);
|
|
3437
3442
|
},
|
|
3438
|
-
orientation:
|
|
3439
|
-
step:
|
|
3443
|
+
orientation: _,
|
|
3444
|
+
step: x,
|
|
3440
3445
|
thumbAlignment: "center",
|
|
3441
|
-
value:
|
|
3442
|
-
...
|
|
3446
|
+
value: te,
|
|
3447
|
+
...D,
|
|
3443
3448
|
children: /* @__PURE__ */ p(F.Control, {
|
|
3444
|
-
ref:
|
|
3449
|
+
ref: M,
|
|
3445
3450
|
className: "fp-SliderControl",
|
|
3446
|
-
tabIndex:
|
|
3451
|
+
tabIndex: g ?? -1,
|
|
3447
3452
|
children: [
|
|
3448
3453
|
/* @__PURE__ */ f(F.Track, {
|
|
3449
3454
|
className: "fp-SliderTrack",
|
|
3450
3455
|
style: { position: "static" },
|
|
3451
|
-
children:
|
|
3456
|
+
children: N.map((e, t) => /* @__PURE__ */ f(F.Thumb, {
|
|
3452
3457
|
index: t,
|
|
3453
3458
|
className: u("fp-SliderThumb", {
|
|
3454
3459
|
"fp-SliderThumb-focusVisible": !0,
|
|
3455
|
-
"fp-SliderThumb-baseValue": e ===
|
|
3460
|
+
"fp-SliderThumb-baseValue": e === T
|
|
3456
3461
|
})
|
|
3457
3462
|
}, t))
|
|
3458
3463
|
}),
|
|
3459
|
-
|
|
3460
|
-
dir:
|
|
3461
|
-
value:
|
|
3462
|
-
min:
|
|
3463
|
-
max:
|
|
3464
|
-
orientation:
|
|
3465
|
-
inverted:
|
|
3466
|
-
rangeAnchor:
|
|
3467
|
-
disabled:
|
|
3464
|
+
C && /* @__PURE__ */ f(Ia, {
|
|
3465
|
+
dir: v,
|
|
3466
|
+
value: N,
|
|
3467
|
+
min: a,
|
|
3468
|
+
max: c,
|
|
3469
|
+
orientation: _,
|
|
3470
|
+
inverted: y,
|
|
3471
|
+
rangeAnchor: w,
|
|
3472
|
+
disabled: A
|
|
3468
3473
|
}),
|
|
3469
|
-
|
|
3474
|
+
E && E.map((e) => /* @__PURE__ */ f(Fa, {
|
|
3470
3475
|
hint: e,
|
|
3471
|
-
baseValue:
|
|
3472
|
-
min:
|
|
3473
|
-
max:
|
|
3474
|
-
orientation:
|
|
3475
|
-
dir:
|
|
3476
|
-
inverted:
|
|
3476
|
+
baseValue: T,
|
|
3477
|
+
min: a,
|
|
3478
|
+
max: c,
|
|
3479
|
+
orientation: _,
|
|
3480
|
+
dir: v,
|
|
3481
|
+
inverted: y
|
|
3477
3482
|
}, e))
|
|
3478
3483
|
]
|
|
3479
3484
|
})
|
|
3480
3485
|
})
|
|
3481
3486
|
});
|
|
3482
3487
|
});
|
|
3483
|
-
|
|
3484
|
-
var
|
|
3485
|
-
let { baseValue: t, dir: n, inverted: r, max: i, min: a, orientation: o, hint: s } = e, { startEdge: c } =
|
|
3488
|
+
Pa.displayName = "Slider";
|
|
3489
|
+
var Fa = (e) => {
|
|
3490
|
+
let { baseValue: t, dir: n, inverted: r, max: i, min: a, orientation: o, hint: s } = e, { startEdge: c } = La(o, n, r), l = Y([a, i], [0, 100])(s);
|
|
3486
3491
|
return /* @__PURE__ */ f("span", {
|
|
3487
3492
|
className: u("fp-SliderHint", { "fp-SliderHint-baseValue": s === t }),
|
|
3488
3493
|
"data-orientation": o,
|
|
3489
|
-
style: { [c]: `calc(${l}% -
|
|
3494
|
+
style: { [c]: `calc(${l}% - var(--slider-hint-width) / 2)` }
|
|
3490
3495
|
});
|
|
3491
|
-
},
|
|
3492
|
-
let { min: t, max: n, value: r, rangeAnchor: i = t, orientation: a, dir: o, inverted: s, disabled: c } = e, l = r.length > 1 ? Math.min(...r) : Math.min(i, ...r), u = r.length > 1 ? Math.max(...r) : Math.max(i, ...r), d =
|
|
3496
|
+
}, Ia = (e) => {
|
|
3497
|
+
let { min: t, max: n, value: r, rangeAnchor: i = t, orientation: a, dir: o, inverted: s, disabled: c } = e, l = r.length > 1 ? Math.min(...r) : Math.min(i, ...r), u = r.length > 1 ? Math.max(...r) : Math.max(i, ...r), d = Y([t, n], [0, 100])(l), p = 100 - Y([t, n], [0, 100])(u), m = La(a, o, s);
|
|
3493
3498
|
return /* @__PURE__ */ f("span", {
|
|
3494
3499
|
className: "fp-SliderRange",
|
|
3495
3500
|
"data-orientation": a,
|
|
@@ -3500,7 +3505,7 @@ var Pa = (e) => {
|
|
|
3500
3505
|
}
|
|
3501
3506
|
});
|
|
3502
3507
|
};
|
|
3503
|
-
function
|
|
3508
|
+
function La(e, t, n) {
|
|
3504
3509
|
let r = n ? "inverted" : "normal";
|
|
3505
3510
|
return {
|
|
3506
3511
|
vertical: {
|
|
@@ -3525,58 +3530,58 @@ function Ia(e, t, n) {
|
|
|
3525
3530
|
}
|
|
3526
3531
|
}[e][r];
|
|
3527
3532
|
}
|
|
3528
|
-
function
|
|
3529
|
-
let i =
|
|
3533
|
+
function Ra(e, t, n, r) {
|
|
3534
|
+
let i = Ga(e, t, n, r);
|
|
3530
3535
|
if (i.length === 1) {
|
|
3531
3536
|
let e = i[0];
|
|
3532
3537
|
if (e !== void 0) return e;
|
|
3533
3538
|
}
|
|
3534
3539
|
return i;
|
|
3535
3540
|
}
|
|
3536
|
-
function
|
|
3537
|
-
return
|
|
3541
|
+
function za(e, t, n, r) {
|
|
3542
|
+
return Ga(typeof e == "number" ? [e] : e, t, n, r);
|
|
3538
3543
|
}
|
|
3539
|
-
function
|
|
3544
|
+
function Ba(e, t, n, r, i, a, o, s, c) {
|
|
3540
3545
|
if (t.reason !== "track-press" || n === null) return e;
|
|
3541
|
-
let l = n.parentElement, u =
|
|
3546
|
+
let l = n.parentElement, u = Va(t.event);
|
|
3542
3547
|
if (l === null || u === void 0) return e;
|
|
3543
|
-
let d =
|
|
3548
|
+
let d = Ua(u, l.getBoundingClientRect(), r, i, a), f = Wa(o + (s - o) * d, o, s, c), p = Ha(t);
|
|
3544
3549
|
return e.map((t, n) => n === p || e.length === 1 ? f : t);
|
|
3545
3550
|
}
|
|
3546
|
-
function
|
|
3551
|
+
function Va(e) {
|
|
3547
3552
|
if ("clientX" in e && "clientY" in e && typeof e.clientX == "number" && typeof e.clientY == "number") return {
|
|
3548
3553
|
x: e.clientX,
|
|
3549
3554
|
y: e.clientY
|
|
3550
3555
|
};
|
|
3551
3556
|
}
|
|
3552
|
-
function
|
|
3557
|
+
function Ha(e) {
|
|
3553
3558
|
if ("activeThumbIndex" in e && typeof e.activeThumbIndex == "number") return e.activeThumbIndex;
|
|
3554
3559
|
}
|
|
3555
|
-
function
|
|
3560
|
+
function Ua(e, t, n, r, i) {
|
|
3556
3561
|
let a = n === "vertical" ? (t.bottom - e.y) / t.height : (e.x - t.left) / t.width, o = n === "horizontal" && r === "rtl" ? 1 - a : a, s = i ? 1 - o : o;
|
|
3557
3562
|
return Math.min(1, Math.max(0, s));
|
|
3558
3563
|
}
|
|
3559
|
-
function
|
|
3564
|
+
function Wa(e, t, n, r) {
|
|
3560
3565
|
let i = t + Math.round((e - t) / r) * r, a = Number(i.toFixed(10));
|
|
3561
3566
|
return Math.min(n, Math.max(t, a));
|
|
3562
3567
|
}
|
|
3563
|
-
function
|
|
3568
|
+
function Ga(e, t, n, r) {
|
|
3564
3569
|
return t ? e.map((e) => n + r - e) : [...e];
|
|
3565
3570
|
}
|
|
3566
|
-
function
|
|
3567
|
-
let i =
|
|
3571
|
+
function Ka(e, t, n, r) {
|
|
3572
|
+
let i = Y([0, 100], [0, r - n])(Oa), a = t?.find((t) => Math.abs(t - e) <= i);
|
|
3568
3573
|
return typeof a == "number" ? a : e;
|
|
3569
3574
|
}
|
|
3570
3575
|
//#endregion
|
|
3571
3576
|
//#region src/components/color-picker/color-picker-hue.tsx
|
|
3572
|
-
var
|
|
3573
|
-
let { className: t, style: n } = e, { activeModel: r, colorSpace: i, hue: a, color: o, onColorChange: s } = $("Hue"), c =
|
|
3577
|
+
var qa = (e) => {
|
|
3578
|
+
let { className: t, style: n } = e, { activeModel: r, colorSpace: i, hue: a, color: o, onColorChange: s } = $("Hue"), c = Ya[r], l = (e) => {
|
|
3574
3579
|
s({
|
|
3575
3580
|
mode: "rgb",
|
|
3576
3581
|
value: c.setHue(o, e[0])
|
|
3577
3582
|
});
|
|
3578
3583
|
}, u = c.getThumbColor(a, i);
|
|
3579
|
-
return /* @__PURE__ */ f(
|
|
3584
|
+
return /* @__PURE__ */ f(Pa, {
|
|
3580
3585
|
"aria-label": "hue",
|
|
3581
3586
|
range: !1,
|
|
3582
3587
|
min: 0,
|
|
@@ -3589,11 +3594,11 @@ var Ka = (e) => {
|
|
|
3589
3594
|
...n
|
|
3590
3595
|
}
|
|
3591
3596
|
});
|
|
3592
|
-
},
|
|
3593
|
-
getHue: (e) => Math.round(
|
|
3597
|
+
}, Ja = {
|
|
3598
|
+
getHue: (e) => Math.round(ha(e).h),
|
|
3594
3599
|
setHue: (e, t) => {
|
|
3595
|
-
let { s: n, v: r } =
|
|
3596
|
-
return
|
|
3600
|
+
let { s: n, v: r } = ha(e);
|
|
3601
|
+
return Q({
|
|
3597
3602
|
h: t,
|
|
3598
3603
|
s: n,
|
|
3599
3604
|
v: r,
|
|
@@ -3601,7 +3606,7 @@ var Ka = (e) => {
|
|
|
3601
3606
|
});
|
|
3602
3607
|
},
|
|
3603
3608
|
getThumbColor: (e, t) => {
|
|
3604
|
-
let { r: n, g: r, b: i } =
|
|
3609
|
+
let { r: n, g: r, b: i } = Q({
|
|
3605
3610
|
h: e,
|
|
3606
3611
|
s: 100,
|
|
3607
3612
|
v: 100,
|
|
@@ -3609,38 +3614,38 @@ var Ka = (e) => {
|
|
|
3609
3614
|
});
|
|
3610
3615
|
return t === "display-p3" ? `color(display-p3 ${+n.toFixed(4)} ${+r.toFixed(4)} ${+i.toFixed(4)})` : `rgb(${Math.round(n * 255)} ${Math.round(r * 255)} ${Math.round(i * 255)})`;
|
|
3611
3616
|
}
|
|
3612
|
-
},
|
|
3613
|
-
rgb:
|
|
3614
|
-
hsl:
|
|
3615
|
-
hsv:
|
|
3616
|
-
hex:
|
|
3617
|
-
},
|
|
3617
|
+
}, Ya = {
|
|
3618
|
+
rgb: Ja,
|
|
3619
|
+
hsl: Ja,
|
|
3620
|
+
hsv: Ja,
|
|
3621
|
+
hex: Ja
|
|
3622
|
+
}, Xa = (e) => {
|
|
3618
3623
|
let { className: t, style: n } = e, { colorSpace: r, color: i, onColorChange: a } = $("Hue"), o = {
|
|
3619
3624
|
srgb: {
|
|
3620
|
-
transparent:
|
|
3625
|
+
transparent: xa({
|
|
3621
3626
|
...i,
|
|
3622
3627
|
a: 0
|
|
3623
3628
|
}),
|
|
3624
|
-
opaque:
|
|
3629
|
+
opaque: xa({
|
|
3625
3630
|
...i,
|
|
3626
3631
|
a: 1
|
|
3627
3632
|
})
|
|
3628
3633
|
},
|
|
3629
3634
|
p3: {
|
|
3630
|
-
transparent:
|
|
3635
|
+
transparent: ba({
|
|
3631
3636
|
...i,
|
|
3632
3637
|
a: 0
|
|
3633
3638
|
}),
|
|
3634
|
-
opaque:
|
|
3639
|
+
opaque: ba({
|
|
3635
3640
|
...i,
|
|
3636
3641
|
a: 1
|
|
3637
3642
|
})
|
|
3638
3643
|
}
|
|
3639
3644
|
}, s = {
|
|
3640
|
-
srgb:
|
|
3641
|
-
p3:
|
|
3645
|
+
srgb: xa(Sa(i)),
|
|
3646
|
+
p3: ba(Sa(i))
|
|
3642
3647
|
};
|
|
3643
|
-
return /* @__PURE__ */ f(
|
|
3648
|
+
return /* @__PURE__ */ f(Pa, {
|
|
3644
3649
|
"aria-label": "alpha",
|
|
3645
3650
|
min: 0,
|
|
3646
3651
|
max: 100,
|
|
@@ -3666,24 +3671,24 @@ var Ka = (e) => {
|
|
|
3666
3671
|
...n
|
|
3667
3672
|
}
|
|
3668
3673
|
});
|
|
3669
|
-
},
|
|
3674
|
+
}, Za = 8, Qa = (e) => {
|
|
3670
3675
|
let { onColorChange: t, colorsByModel: n, hue: r, colorSpace: i, activeModel: a } = $("ColorPicker.Area"), s = {
|
|
3671
|
-
srgb: Q(
|
|
3676
|
+
srgb: xa(Q({
|
|
3672
3677
|
h: r,
|
|
3673
3678
|
s: 100,
|
|
3674
3679
|
v: 100,
|
|
3675
3680
|
a: 1
|
|
3676
3681
|
})),
|
|
3677
|
-
p3:
|
|
3682
|
+
p3: ba(Q({
|
|
3678
3683
|
h: r,
|
|
3679
3684
|
s: 100,
|
|
3680
3685
|
v: 100,
|
|
3681
3686
|
a: 1
|
|
3682
3687
|
}))
|
|
3683
3688
|
}, c = {
|
|
3684
|
-
srgb:
|
|
3685
|
-
p3:
|
|
3686
|
-
}, l =
|
|
3689
|
+
srgb: xa(n.rgb),
|
|
3690
|
+
p3: ba(n.rgb)
|
|
3691
|
+
}, l = $a(n, a), u = o(null), { size: d } = eo(u), m = (e) => {
|
|
3687
3692
|
t(a === "hsl" ? {
|
|
3688
3693
|
mode: "hsl",
|
|
3689
3694
|
value: {
|
|
@@ -3705,11 +3710,11 @@ var Ka = (e) => {
|
|
|
3705
3710
|
if (e.type === "pointerdown" && e.currentTarget.setPointerCapture(e.pointerId), e.type === "pointermove" && !e.currentTarget.hasPointerCapture(e.pointerId)) return;
|
|
3706
3711
|
let t = e.currentTarget.getBoundingClientRect();
|
|
3707
3712
|
m({
|
|
3708
|
-
x: A(e.clientX - t.x,
|
|
3713
|
+
x: A(e.clientX - t.x, Y([0, d], [0, 100]), O({
|
|
3709
3714
|
min: 0,
|
|
3710
3715
|
max: 100
|
|
3711
3716
|
})),
|
|
3712
|
-
y: A(e.clientY - t.y -
|
|
3717
|
+
y: A(e.clientY - t.y - Za, Y([0, d], [0, 100]), O({
|
|
3713
3718
|
min: 0,
|
|
3714
3719
|
max: 100
|
|
3715
3720
|
}))
|
|
@@ -3766,7 +3771,7 @@ var Ka = (e) => {
|
|
|
3766
3771
|
})]
|
|
3767
3772
|
});
|
|
3768
3773
|
};
|
|
3769
|
-
function
|
|
3774
|
+
function $a(e, t) {
|
|
3770
3775
|
if (t === "hsl") {
|
|
3771
3776
|
let t = e.hsl;
|
|
3772
3777
|
return {
|
|
@@ -3781,7 +3786,7 @@ function Qa(e, t) {
|
|
|
3781
3786
|
};
|
|
3782
3787
|
}
|
|
3783
3788
|
}
|
|
3784
|
-
function
|
|
3789
|
+
function eo(e) {
|
|
3785
3790
|
let [n, r] = t.useState(0);
|
|
3786
3791
|
return t.useLayoutEffect(() => {
|
|
3787
3792
|
let t = e.current;
|
|
@@ -3797,7 +3802,7 @@ function $a(e) {
|
|
|
3797
3802
|
}
|
|
3798
3803
|
//#endregion
|
|
3799
3804
|
//#region src/components/flex/flex.tsx
|
|
3800
|
-
var
|
|
3805
|
+
var to = {
|
|
3801
3806
|
0: "fp-gap-0",
|
|
3802
3807
|
px: "fp-gap-px",
|
|
3803
3808
|
"0.5": "fp-gap-0_5",
|
|
@@ -3820,7 +3825,7 @@ var eo = {
|
|
|
3820
3825
|
14: "fp-gap-14",
|
|
3821
3826
|
15: "fp-gap-15",
|
|
3822
3827
|
16: "fp-gap-16"
|
|
3823
|
-
},
|
|
3828
|
+
}, no = l("fp-Flex", {
|
|
3824
3829
|
variants: {
|
|
3825
3830
|
direction: {
|
|
3826
3831
|
row: "fp-direction-row",
|
|
@@ -3846,16 +3851,16 @@ var eo = {
|
|
|
3846
3851
|
wrap: "fp-wrap-wrap",
|
|
3847
3852
|
wrapReverse: "fp-wrap-wrap-reverse"
|
|
3848
3853
|
},
|
|
3849
|
-
gap:
|
|
3850
|
-
columnGap:
|
|
3851
|
-
rowGap:
|
|
3854
|
+
gap: to,
|
|
3855
|
+
columnGap: to,
|
|
3856
|
+
rowGap: to
|
|
3852
3857
|
},
|
|
3853
3858
|
defaultVariants: { direction: "row" }
|
|
3854
|
-
}),
|
|
3859
|
+
}), ro = t.forwardRef((e, t) => {
|
|
3855
3860
|
let { className: n, direction: r, align: i, justify: a, wrap: o, gap: s, columnGap: c, rowGap: l, ...u } = e;
|
|
3856
3861
|
return /* @__PURE__ */ f("div", {
|
|
3857
3862
|
ref: t,
|
|
3858
|
-
className:
|
|
3863
|
+
className: no({
|
|
3859
3864
|
className: n,
|
|
3860
3865
|
direction: r,
|
|
3861
3866
|
align: i,
|
|
@@ -3868,11 +3873,11 @@ var eo = {
|
|
|
3868
3873
|
...u
|
|
3869
3874
|
});
|
|
3870
3875
|
});
|
|
3871
|
-
|
|
3872
|
-
var
|
|
3876
|
+
ro.displayName = "Flex";
|
|
3877
|
+
var io = {
|
|
3873
3878
|
hex: () => {
|
|
3874
3879
|
let { colorsByModel: e, onColorChange: t } = $("ColorPicker.HEX"), n = e.rgb;
|
|
3875
|
-
return /* @__PURE__ */ p(
|
|
3880
|
+
return /* @__PURE__ */ p(q, { children: [/* @__PURE__ */ f(K, { children: /* @__PURE__ */ f(ra, {
|
|
3876
3881
|
onChange: (e) => {
|
|
3877
3882
|
t({
|
|
3878
3883
|
mode: "rgb",
|
|
@@ -3880,9 +3885,9 @@ var ro = {
|
|
|
3880
3885
|
});
|
|
3881
3886
|
},
|
|
3882
3887
|
value: n
|
|
3883
|
-
}) }), /* @__PURE__ */ p(
|
|
3888
|
+
}) }), /* @__PURE__ */ p(K, {
|
|
3884
3889
|
style: { flex: "0 0 52px" },
|
|
3885
|
-
children: [/* @__PURE__ */ f(
|
|
3890
|
+
children: [/* @__PURE__ */ f(X, {
|
|
3886
3891
|
onChange: (e) => {
|
|
3887
3892
|
t({
|
|
3888
3893
|
mode: "rgb",
|
|
@@ -3898,7 +3903,7 @@ var ro = {
|
|
|
3898
3903
|
targetRange: [0, 100],
|
|
3899
3904
|
precision: 2,
|
|
3900
3905
|
allowedUnits: ["%"]
|
|
3901
|
-
}), /* @__PURE__ */ f(
|
|
3906
|
+
}), /* @__PURE__ */ f(J, { children: "%" })]
|
|
3902
3907
|
})] });
|
|
3903
3908
|
},
|
|
3904
3909
|
hsv: () => {
|
|
@@ -3911,31 +3916,31 @@ var ro = {
|
|
|
3911
3916
|
}
|
|
3912
3917
|
});
|
|
3913
3918
|
};
|
|
3914
|
-
return /* @__PURE__ */ p(
|
|
3915
|
-
/* @__PURE__ */ f(
|
|
3919
|
+
return /* @__PURE__ */ p(q, { children: [
|
|
3920
|
+
/* @__PURE__ */ f(K, { children: /* @__PURE__ */ f(X, {
|
|
3916
3921
|
onChange: r("h"),
|
|
3917
3922
|
value: n.h,
|
|
3918
3923
|
min: 0,
|
|
3919
3924
|
max: 360,
|
|
3920
3925
|
precision: 0
|
|
3921
3926
|
}) }),
|
|
3922
|
-
/* @__PURE__ */ f(
|
|
3927
|
+
/* @__PURE__ */ f(K, { children: /* @__PURE__ */ f(X, {
|
|
3923
3928
|
onChange: r("s"),
|
|
3924
3929
|
value: n.s,
|
|
3925
3930
|
min: 0,
|
|
3926
3931
|
max: 100,
|
|
3927
3932
|
precision: 0
|
|
3928
3933
|
}) }),
|
|
3929
|
-
/* @__PURE__ */ f(
|
|
3934
|
+
/* @__PURE__ */ f(K, { children: /* @__PURE__ */ f(X, {
|
|
3930
3935
|
onChange: r("v"),
|
|
3931
3936
|
value: n.v,
|
|
3932
3937
|
min: 0,
|
|
3933
3938
|
max: 100,
|
|
3934
3939
|
precision: 0
|
|
3935
3940
|
}) }),
|
|
3936
|
-
/* @__PURE__ */ p(
|
|
3941
|
+
/* @__PURE__ */ p(K, {
|
|
3937
3942
|
style: { flex: "0 0 52px" },
|
|
3938
|
-
children: [/* @__PURE__ */ f(
|
|
3943
|
+
children: [/* @__PURE__ */ f(X, {
|
|
3939
3944
|
onChange: r("a"),
|
|
3940
3945
|
value: n.a,
|
|
3941
3946
|
min: 0,
|
|
@@ -3943,7 +3948,7 @@ var ro = {
|
|
|
3943
3948
|
targetRange: [0, 100],
|
|
3944
3949
|
precision: 2,
|
|
3945
3950
|
allowedUnits: ["%"]
|
|
3946
|
-
}), /* @__PURE__ */ f(
|
|
3951
|
+
}), /* @__PURE__ */ f(J, { children: "%" })]
|
|
3947
3952
|
})
|
|
3948
3953
|
] });
|
|
3949
3954
|
},
|
|
@@ -3957,31 +3962,31 @@ var ro = {
|
|
|
3957
3962
|
}
|
|
3958
3963
|
});
|
|
3959
3964
|
};
|
|
3960
|
-
return /* @__PURE__ */ p(
|
|
3961
|
-
/* @__PURE__ */ f(
|
|
3965
|
+
return /* @__PURE__ */ p(q, { children: [
|
|
3966
|
+
/* @__PURE__ */ f(K, { children: /* @__PURE__ */ f(X, {
|
|
3962
3967
|
onChange: r("h"),
|
|
3963
3968
|
value: n.h,
|
|
3964
3969
|
min: 0,
|
|
3965
3970
|
max: 360,
|
|
3966
3971
|
precision: 0
|
|
3967
3972
|
}) }),
|
|
3968
|
-
/* @__PURE__ */ f(
|
|
3973
|
+
/* @__PURE__ */ f(K, { children: /* @__PURE__ */ f(X, {
|
|
3969
3974
|
onChange: r("s"),
|
|
3970
3975
|
value: n.s,
|
|
3971
3976
|
min: 0,
|
|
3972
3977
|
max: 100,
|
|
3973
3978
|
precision: 0
|
|
3974
3979
|
}) }),
|
|
3975
|
-
/* @__PURE__ */ f(
|
|
3980
|
+
/* @__PURE__ */ f(K, { children: /* @__PURE__ */ f(X, {
|
|
3976
3981
|
onChange: r("l"),
|
|
3977
3982
|
value: n.l,
|
|
3978
3983
|
min: 0,
|
|
3979
3984
|
max: 100,
|
|
3980
3985
|
precision: 0
|
|
3981
3986
|
}) }),
|
|
3982
|
-
/* @__PURE__ */ p(
|
|
3987
|
+
/* @__PURE__ */ p(K, {
|
|
3983
3988
|
style: { flex: "0 0 52px" },
|
|
3984
|
-
children: [/* @__PURE__ */ f(
|
|
3989
|
+
children: [/* @__PURE__ */ f(X, {
|
|
3985
3990
|
onChange: r("a"),
|
|
3986
3991
|
value: n.a,
|
|
3987
3992
|
min: 0,
|
|
@@ -3989,7 +3994,7 @@ var ro = {
|
|
|
3989
3994
|
targetRange: [0, 100],
|
|
3990
3995
|
precision: 2,
|
|
3991
3996
|
allowedUnits: ["%"]
|
|
3992
|
-
}), /* @__PURE__ */ f(
|
|
3997
|
+
}), /* @__PURE__ */ f(J, { children: "%" })]
|
|
3993
3998
|
})
|
|
3994
3999
|
] });
|
|
3995
4000
|
},
|
|
@@ -4003,8 +4008,8 @@ var ro = {
|
|
|
4003
4008
|
}
|
|
4004
4009
|
});
|
|
4005
4010
|
};
|
|
4006
|
-
return /* @__PURE__ */ p(
|
|
4007
|
-
/* @__PURE__ */ f(
|
|
4011
|
+
return /* @__PURE__ */ p(q, { children: [
|
|
4012
|
+
/* @__PURE__ */ f(K, { children: /* @__PURE__ */ f(X, {
|
|
4008
4013
|
onChange: r("r"),
|
|
4009
4014
|
value: n.r,
|
|
4010
4015
|
min: 0,
|
|
@@ -4012,7 +4017,7 @@ var ro = {
|
|
|
4012
4017
|
targetRange: [0, 255],
|
|
4013
4018
|
precision: 0
|
|
4014
4019
|
}) }),
|
|
4015
|
-
/* @__PURE__ */ f(
|
|
4020
|
+
/* @__PURE__ */ f(K, { children: /* @__PURE__ */ f(X, {
|
|
4016
4021
|
onChange: r("g"),
|
|
4017
4022
|
value: n.g,
|
|
4018
4023
|
min: 0,
|
|
@@ -4020,7 +4025,7 @@ var ro = {
|
|
|
4020
4025
|
targetRange: [0, 255],
|
|
4021
4026
|
precision: 0
|
|
4022
4027
|
}) }),
|
|
4023
|
-
/* @__PURE__ */ f(
|
|
4028
|
+
/* @__PURE__ */ f(K, { children: /* @__PURE__ */ f(X, {
|
|
4024
4029
|
onChange: r("b"),
|
|
4025
4030
|
value: n.b,
|
|
4026
4031
|
min: 0,
|
|
@@ -4028,9 +4033,9 @@ var ro = {
|
|
|
4028
4033
|
targetRange: [0, 255],
|
|
4029
4034
|
precision: 0
|
|
4030
4035
|
}) }),
|
|
4031
|
-
/* @__PURE__ */ p(
|
|
4036
|
+
/* @__PURE__ */ p(K, {
|
|
4032
4037
|
style: { flex: "0 0 52px" },
|
|
4033
|
-
children: [/* @__PURE__ */ f(
|
|
4038
|
+
children: [/* @__PURE__ */ f(X, {
|
|
4034
4039
|
onChange: r("a"),
|
|
4035
4040
|
value: n.a,
|
|
4036
4041
|
min: 0,
|
|
@@ -4038,89 +4043,89 @@ var ro = {
|
|
|
4038
4043
|
targetRange: [0, 100],
|
|
4039
4044
|
precision: 2,
|
|
4040
4045
|
allowedUnits: ["%"]
|
|
4041
|
-
}), /* @__PURE__ */ f(
|
|
4046
|
+
}), /* @__PURE__ */ f(J, { children: "%" })]
|
|
4042
4047
|
})
|
|
4043
4048
|
] });
|
|
4044
4049
|
}
|
|
4045
|
-
},
|
|
4046
|
-
let { models: t, activeModel: n, onActiveModelChange: r } = $("ColorPicker.Input"), i =
|
|
4050
|
+
}, ao = (e) => {
|
|
4051
|
+
let { models: t, activeModel: n, onActiveModelChange: r } = $("ColorPicker.Input"), i = io[n], a = t.map((e) => ({
|
|
4047
4052
|
value: e,
|
|
4048
4053
|
label: e.toUpperCase()
|
|
4049
4054
|
}));
|
|
4050
4055
|
function o(e) {
|
|
4051
4056
|
e !== null && r(e);
|
|
4052
4057
|
}
|
|
4053
|
-
return /* @__PURE__ */ p(
|
|
4058
|
+
return /* @__PURE__ */ p(ro, {
|
|
4054
4059
|
gap: "2.5",
|
|
4055
4060
|
className: e.className,
|
|
4056
4061
|
style: e.style,
|
|
4057
|
-
children: [t.length > 1 && /* @__PURE__ */ p(
|
|
4062
|
+
children: [t.length > 1 && /* @__PURE__ */ p(vn, {
|
|
4058
4063
|
items: a,
|
|
4059
4064
|
value: n,
|
|
4060
4065
|
onValueChange: o,
|
|
4061
|
-
children: [/* @__PURE__ */ p(
|
|
4066
|
+
children: [/* @__PURE__ */ p(Cn, {
|
|
4062
4067
|
style: { width: 56 },
|
|
4063
|
-
children: [/* @__PURE__ */ f(
|
|
4064
|
-
}), /* @__PURE__ */ f(
|
|
4068
|
+
children: [/* @__PURE__ */ f(bn, {}), /* @__PURE__ */ f(wn, { children: /* @__PURE__ */ f(qe, {}) })]
|
|
4069
|
+
}), /* @__PURE__ */ f(oo, { children: a.map((e) => /* @__PURE__ */ p(On, {
|
|
4065
4070
|
value: e.value,
|
|
4066
4071
|
label: e.label,
|
|
4067
|
-
children: [/* @__PURE__ */ f(
|
|
4072
|
+
children: [/* @__PURE__ */ f(An, { children: /* @__PURE__ */ f(W, { size: "4" }) }), /* @__PURE__ */ f(kn, { children: e.label })]
|
|
4068
4073
|
}, e.value)) })]
|
|
4069
4074
|
}), /* @__PURE__ */ f(i, {})]
|
|
4070
4075
|
});
|
|
4071
4076
|
};
|
|
4072
|
-
function
|
|
4077
|
+
function oo(e) {
|
|
4073
4078
|
let { children: t } = e;
|
|
4074
|
-
return /* @__PURE__ */ f(
|
|
4075
|
-
/* @__PURE__ */ f(
|
|
4076
|
-
/* @__PURE__ */ f(
|
|
4077
|
-
/* @__PURE__ */ f(
|
|
4079
|
+
return /* @__PURE__ */ f(yn, { children: /* @__PURE__ */ f(Tn, { children: /* @__PURE__ */ p(En, { children: [
|
|
4080
|
+
/* @__PURE__ */ f(Pn, { children: /* @__PURE__ */ f(Xe, {}) }),
|
|
4081
|
+
/* @__PURE__ */ f(Dn, { children: t }),
|
|
4082
|
+
/* @__PURE__ */ f(Fn, { children: /* @__PURE__ */ f(qe, {}) })
|
|
4078
4083
|
] }) }) });
|
|
4079
4084
|
}
|
|
4080
4085
|
//#endregion
|
|
4081
4086
|
//#region src/components/color-picker/index.ts
|
|
4082
|
-
var
|
|
4083
|
-
Alpha: () =>
|
|
4084
|
-
Area: () =>
|
|
4085
|
-
Hue: () =>
|
|
4086
|
-
Input: () =>
|
|
4087
|
+
var so = /* @__PURE__ */ z({
|
|
4088
|
+
Alpha: () => Xa,
|
|
4089
|
+
Area: () => Qa,
|
|
4090
|
+
Hue: () => qa,
|
|
4091
|
+
Input: () => ao,
|
|
4087
4092
|
Root: () => Ea,
|
|
4088
4093
|
useColorPickerContext: () => $
|
|
4089
|
-
}),
|
|
4094
|
+
}), co = t.forwardRef((e, t) => {
|
|
4090
4095
|
let { className: n, ...r } = e;
|
|
4091
|
-
return /* @__PURE__ */ f(
|
|
4096
|
+
return /* @__PURE__ */ f(I.Root, {
|
|
4092
4097
|
ref: t,
|
|
4093
|
-
className:
|
|
4098
|
+
className: B(n, "fp-CollapsibleRoot"),
|
|
4094
4099
|
...r
|
|
4095
4100
|
});
|
|
4096
|
-
}),
|
|
4101
|
+
}), lo = t.forwardRef((e, t) => {
|
|
4097
4102
|
let { className: n, children: r, ...i } = e;
|
|
4098
|
-
return /* @__PURE__ */ p(
|
|
4103
|
+
return /* @__PURE__ */ p(I.Trigger, {
|
|
4099
4104
|
ref: t,
|
|
4100
|
-
className:
|
|
4105
|
+
className: B(n, "fp-CollapsibleTrigger"),
|
|
4101
4106
|
...i,
|
|
4102
|
-
children: [/* @__PURE__ */ f(
|
|
4107
|
+
children: [/* @__PURE__ */ f(Ye, {
|
|
4103
4108
|
viewBox: "4 4 16 16",
|
|
4104
4109
|
size: "4",
|
|
4105
4110
|
className: "fp-CollapsibleIndicator"
|
|
4106
4111
|
}), r]
|
|
4107
4112
|
});
|
|
4108
|
-
}),
|
|
4113
|
+
}), uo = t.forwardRef((e, t) => {
|
|
4109
4114
|
let { className: n, ...r } = e;
|
|
4110
|
-
return /* @__PURE__ */ f(
|
|
4115
|
+
return /* @__PURE__ */ f(I.Panel, {
|
|
4111
4116
|
ref: t,
|
|
4112
|
-
className:
|
|
4117
|
+
className: B(n, "fp-CollapsibleContent"),
|
|
4113
4118
|
...r
|
|
4114
4119
|
});
|
|
4115
4120
|
});
|
|
4116
|
-
|
|
4121
|
+
co.displayName = "Collapsible.Root", lo.displayName = "Collapsible.Trigger", uo.displayName = "Collapsible.Panel";
|
|
4117
4122
|
//#endregion
|
|
4118
4123
|
//#region src/components/collapsible/index.ts
|
|
4119
|
-
var
|
|
4120
|
-
Panel: () =>
|
|
4121
|
-
Root: () =>
|
|
4122
|
-
Trigger: () =>
|
|
4123
|
-
}),
|
|
4124
|
+
var fo = /* @__PURE__ */ z({
|
|
4125
|
+
Panel: () => uo,
|
|
4126
|
+
Root: () => co,
|
|
4127
|
+
Trigger: () => lo
|
|
4128
|
+
}), po = l("fp-Button", {
|
|
4124
4129
|
variants: {
|
|
4125
4130
|
variant: {
|
|
4126
4131
|
primary: "fp-variant-primary",
|
|
@@ -4140,11 +4145,11 @@ var uo = /* @__PURE__ */ I({
|
|
|
4140
4145
|
variant: "secondary",
|
|
4141
4146
|
size: "small"
|
|
4142
4147
|
}
|
|
4143
|
-
}),
|
|
4148
|
+
}), mo = t.forwardRef((e, t) => {
|
|
4144
4149
|
let { className: n, variant: r, size: i, fullWidth: a, ...o } = e;
|
|
4145
4150
|
return /* @__PURE__ */ f("button", {
|
|
4146
4151
|
ref: t,
|
|
4147
|
-
className:
|
|
4152
|
+
className: po({
|
|
4148
4153
|
className: n,
|
|
4149
4154
|
variant: r,
|
|
4150
4155
|
size: i,
|
|
@@ -4153,29 +4158,29 @@ var uo = /* @__PURE__ */ I({
|
|
|
4153
4158
|
...o
|
|
4154
4159
|
});
|
|
4155
4160
|
});
|
|
4156
|
-
|
|
4161
|
+
mo.displayName = "Button";
|
|
4157
4162
|
//#endregion
|
|
4158
4163
|
//#region src/components/textarea/textarea.tsx
|
|
4159
|
-
var
|
|
4164
|
+
var ho = t.forwardRef((e, t) => {
|
|
4160
4165
|
let { className: n, ...r } = e;
|
|
4161
|
-
return /* @__PURE__ */ f(
|
|
4166
|
+
return /* @__PURE__ */ f(L, {
|
|
4162
4167
|
className: u(n, "fp-textarea"),
|
|
4163
4168
|
ref: t,
|
|
4164
4169
|
...r
|
|
4165
4170
|
});
|
|
4166
4171
|
});
|
|
4167
|
-
|
|
4172
|
+
ho.displayName = "Textarea";
|
|
4168
4173
|
//#endregion
|
|
4169
4174
|
//#region src/components/switch/switch.tsx
|
|
4170
|
-
var
|
|
4175
|
+
var go = t.forwardRef((e, t) => {
|
|
4171
4176
|
let { className: n, ...r } = e;
|
|
4172
|
-
return /* @__PURE__ */ f(
|
|
4177
|
+
return /* @__PURE__ */ f(R.Root, {
|
|
4173
4178
|
ref: t,
|
|
4174
|
-
className:
|
|
4179
|
+
className: B(n, "fp-switchRoot"),
|
|
4175
4180
|
...r,
|
|
4176
|
-
children: /* @__PURE__ */ f(
|
|
4181
|
+
children: /* @__PURE__ */ f(R.Thumb, { className: "fp-switchThumb" })
|
|
4177
4182
|
});
|
|
4178
4183
|
});
|
|
4179
|
-
|
|
4184
|
+
go.displayName = "Switch";
|
|
4180
4185
|
//#endregion
|
|
4181
|
-
export {
|
|
4186
|
+
export { Ne as ActionsIcon, Oi as AlertDialog, Pe as AlignBottomIcon, Fe as AlignHorizontalCenterIcon, Ie as AlignLeftIcon, Le as AlignRightIcon, Re as AlignTopIcon, ze as AlignVerticalCenterIcon, Be as AnnotationIcon, Ve as AspectRatioIcon, He as AutoHeightIcon, Ue as AutoWidthIcon, We as BlendModeIcon, Ge as BooleanIcon, mo as Button, _n as Checkbox, W as CheckmarkIcon, Ke as CheckmarkIndeterminateIcon, qe as ChevronDownIcon, Je as ChevronLeftIcon, Ye as ChevronRightIcon, Xe as ChevronUpIcon, Ze as CircleIcon, Qe as ClearIcon, $e as CloseIcon, et as CodeIcon, fo as Collapsible, so as ColorPicker, sr as Combobox, tt as CommentIcon, nt as ComponentIcon, rt as ConstraintLeftIcon, it as ConstraintTopIcon, Ur as ContextMenu, at as CornerRadiusIcon, ot as DesignIcon, _i as Dialog, st as DrawIcon, Tr as DropdownMenu, ct as EllipsisIcon, lt as ExpandIcon, ut as EyeIcon, dt as EyedropperIcon, ht as FigmaIcon, ft as FillGradientIcon, pt as FillPatternIcon, mt as FillSolidIcon, gt as FixedSizeIcon, ro as Flex, _t as FlipHorizontalIcon, vt as FlipVerticalIcon, yt as FrameIcon, bt as HelpIcon, Xr as IconButton, xt as ImageIcon, Mi as Input, fe as Label, St as LayersCollapseIcon, Ct as LetterSpacingIcon, wt as LineHeightIcon, me as Link, Tt as LinkIcon, Et as MinusIcon, Dt as MoveIcon, Ot as NumberIcon, kt as OpacityIcon, At as PaletteIcon, jt as PanelLeftCloseIcon, pe as Paragraph, Mt as PenIcon, Nt as PlayIcon, Pt as PlusIcon, ci as Popover, ke as RadioGroup, Ft as RectangleIcon, It as RotateClockwiseIcon, Lt as RotationIcon, Rt as RulerIcon, zt as SearchIcon, Se as SegmentedControl, In as Select, Bt as SelectMatchingIcon, Vt as ShadowBottomLeftIcon, Ht as ShadowBottomRightIcon, Ut as ShadowDownIcon, Wt as ShadowLeftIcon, Gt as ShadowRightIcon, Kt as ShadowTopLeftIcon, qt as ShadowTopRightIcon, Jt as ShadowUpIcon, Pa as Slider, Yt as SlidersIcon, Xt as StringIcon, cn as StylesIcon, go as Switch, ue as Tabs, H as Text, Qt as TextAlignCenterIcon, $t as TextAlignLeftIcon, en as TextAlignRightIcon, Zt as TextIcon, tn as TextVerticalAlignBottomIcon, nn as TextVerticalAlignMiddleIcon, rn as TextVerticalAlignTopIcon, ho as Textarea, Jr as Tooltip, Gr as TooltipProvider, ua as ValueField, on as VariableIcon, an as VariableModeIcon, sn as VideoIcon, U as createIcon };
|