@algorisys/zen-ui-solid 13.8.0 → 13.8.1
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/form/checkbox/checkbox.d.ts.map +1 -1
- package/dist/components/form/radio/radio-group.d.ts.map +1 -1
- package/dist/components/form/slider/slider.d.ts.map +1 -1
- package/dist/components/form/switch/switch.d.ts.map +1 -1
- package/dist/index208.js +13 -13
- package/dist/index209.js +2 -2
- package/dist/index210.js +5 -5
- package/dist/index211.js +12 -12
- package/dist/index212.js +13 -13
- package/dist/index213.js +10 -10
- package/dist/index214.js +10 -10
- package/dist/index215.js +9 -9
- package/dist/index216.js +9 -9
- package/dist/index218.js +14 -14
- package/dist/index219.js +14 -14
- package/dist/index220.js +13 -13
- package/dist/index221.js +1 -1
- package/dist/index222.js +5 -5
- package/dist/index223.js +9 -9
- package/dist/index224.js +24 -24
- package/dist/index225.js +5 -5
- package/dist/index226.js +3 -3
- package/dist/index249.js +10 -10
- package/dist/index250.js +3 -3
- package/dist/index252.js +2 -2
- package/dist/index257.js +1 -1
- package/dist/index258.js +1 -1
- package/dist/index271.js +5 -5
- package/dist/index271.js.map +1 -1
- package/dist/index272.js +5 -3
- package/dist/index272.js.map +1 -1
- package/dist/index273.js +3 -17
- package/dist/index273.js.map +1 -1
- package/dist/index274.js +17 -16
- package/dist/index274.js.map +1 -1
- package/dist/index275.js +16 -3
- package/dist/index275.js.map +1 -1
- package/dist/index276.js +3 -3
- package/dist/index276.js.map +1 -1
- package/dist/index277.js +3 -26
- package/dist/index277.js.map +1 -1
- package/dist/index278.js +26 -11
- package/dist/index278.js.map +1 -1
- package/dist/index279.js +10 -7
- package/dist/index279.js.map +1 -1
- package/dist/index280.js +8 -49
- package/dist/index280.js.map +1 -1
- package/dist/index281.js +49 -13
- package/dist/index281.js.map +1 -1
- package/dist/index282.js +12 -6
- package/dist/index282.js.map +1 -1
- package/dist/index283.js +7 -4
- package/dist/index283.js.map +1 -1
- package/dist/index284.js +4 -5
- package/dist/index284.js.map +1 -1
- package/dist/index286.js +6 -260
- package/dist/index286.js.map +1 -1
- package/dist/index287.js +105 -64
- package/dist/index287.js.map +1 -1
- package/dist/index288.js +67 -19
- package/dist/index288.js.map +1 -1
- package/dist/index289.js +72 -3
- package/dist/index289.js.map +1 -1
- package/dist/index290.js +22 -15
- package/dist/index290.js.map +1 -1
- package/dist/index291.js +58 -7
- package/dist/index291.js.map +1 -1
- package/dist/index292.js +3 -384
- package/dist/index292.js.map +1 -1
- package/dist/index293.js +16 -35
- package/dist/index293.js.map +1 -1
- package/dist/index294.js +384 -6
- package/dist/index294.js.map +1 -1
- package/dist/index295.js +92 -19
- package/dist/index295.js.map +1 -1
- package/dist/index296.js +34 -391
- package/dist/index296.js.map +1 -1
- package/dist/index297.js +6 -118
- package/dist/index297.js.map +1 -1
- package/dist/index298.js +17 -48
- package/dist/index298.js.map +1 -1
- package/dist/index299.js +62 -16
- package/dist/index299.js.map +1 -1
- package/dist/index300.js +48 -58
- package/dist/index300.js.map +1 -1
- package/dist/index301.js +31 -62
- package/dist/index301.js.map +1 -1
- package/dist/index302.js +16 -20
- package/dist/index302.js.map +1 -1
- package/dist/index303.js +58 -56
- package/dist/index303.js.map +1 -1
- package/dist/index304.js +20 -10
- package/dist/index304.js.map +1 -1
- package/dist/index305.js +10 -117
- package/dist/index305.js.map +1 -1
- package/dist/index306.js +920 -20
- package/dist/index306.js.map +1 -1
- package/dist/index307.js +37 -19
- package/dist/index307.js.map +1 -1
- package/dist/index308.js +256 -18
- package/dist/index308.js.map +1 -1
- package/dist/index309.js +114 -71
- package/dist/index309.js.map +1 -1
- package/dist/index310.js +556 -891
- package/dist/index310.js.map +1 -1
- package/dist/index311.js +121 -36
- package/dist/index311.js.map +1 -1
- package/dist/index312.js +17 -114
- package/dist/index312.js.map +1 -1
- package/dist/index313.js +363 -560
- package/dist/index313.js.map +1 -1
- package/dist/index314.js +85 -118
- package/dist/index314.js.map +1 -1
- package/dist/index315.js +16 -112
- package/dist/index315.js.map +1 -1
- package/dist/index316.js +115 -67
- package/dist/index316.js.map +1 -1
- package/dist/index317.js +21 -16
- package/dist/index317.js.map +1 -1
- package/dist/index318.js +19 -91
- package/dist/index318.js.map +1 -1
- package/dist/index319.js +20 -87
- package/dist/index319.js.map +1 -1
- package/dist/index320.js +71 -16
- package/dist/index320.js.map +1 -1
- package/dist/index321.js +118 -32
- package/dist/index321.js.map +1 -1
- package/dist/index323.js +1 -1
- package/dist/index324.js +93 -63
- package/dist/index324.js.map +1 -1
- package/dist/index325.js +5 -116
- package/dist/index325.js.map +1 -1
- package/dist/index326.js +38 -7
- package/dist/index326.js.map +1 -1
- package/dist/index327.js +44 -7
- package/dist/index327.js.map +1 -1
- package/dist/index328.js +2 -13
- package/dist/index328.js.map +1 -1
- package/dist/index329.js +65 -7
- package/dist/index329.js.map +1 -1
- package/dist/index330.js +115 -3
- package/dist/index330.js.map +1 -1
- package/dist/index331.js +608 -3
- package/dist/index331.js.map +1 -1
- package/dist/index332.js +295 -4
- package/dist/index332.js.map +1 -1
- package/dist/index333.js +88 -5
- package/dist/index333.js.map +1 -1
- package/dist/index334.js +11 -95
- package/dist/index334.js.map +1 -1
- package/dist/index335.js +20 -5
- package/dist/index335.js.map +1 -1
- package/dist/index336.js +62 -38
- package/dist/index336.js.map +1 -1
- package/dist/index337.js +33 -43
- package/dist/index337.js.map +1 -1
- package/dist/index338.js +7 -2
- package/dist/index338.js.map +1 -1
- package/dist/index339.js +6 -608
- package/dist/index339.js.map +1 -1
- package/dist/index340.js +11 -294
- package/dist/index340.js.map +1 -1
- package/dist/index341.js +6 -88
- package/dist/index341.js.map +1 -1
- package/dist/index342.js +3 -10
- package/dist/index342.js.map +1 -1
- package/dist/index343.js +3 -19
- package/dist/index343.js.map +1 -1
- package/dist/index344.js +4 -61
- package/dist/index344.js.map +1 -1
- package/dist/index345.js +5 -33
- package/dist/index345.js.map +1 -1
- package/dist/index346.js +3 -466
- package/dist/index346.js.map +1 -1
- package/dist/index347.js +9 -125
- package/dist/index347.js.map +1 -1
- package/dist/index348.js +33 -134
- package/dist/index348.js.map +1 -1
- package/dist/index349.js +21 -3
- package/dist/index349.js.map +1 -1
- package/dist/index350.js +5 -5
- package/dist/index351.js +2 -2
- package/dist/index357.js +464 -8
- package/dist/index357.js.map +1 -1
- package/dist/index358.js +126 -33
- package/dist/index358.js.map +1 -1
- package/dist/index359.js +133 -20
- package/dist/index359.js.map +1 -1
- package/dist/index53.js +21 -15
- package/dist/index53.js.map +1 -1
- package/dist/index54.js +15 -9
- package/dist/index54.js.map +1 -1
- package/dist/index55.js +20 -14
- package/dist/index55.js.map +1 -1
- package/dist/index62.js +42 -22
- package/dist/index62.js.map +1 -1
- package/dist/server/index.js +50 -12
- package/package.json +1 -1
package/dist/index334.js
CHANGED
|
@@ -1,98 +1,14 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
const
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
return o.map((t) => {
|
|
12
|
-
if (t.duration === 1 / 0)
|
|
13
|
-
return;
|
|
14
|
-
const s = (t.duration || 0) + t.pauseDuration - (i - t.createdAt);
|
|
15
|
-
if (s <= 0) {
|
|
16
|
-
t.visible && n({
|
|
17
|
-
type: a.DISMISS_TOAST,
|
|
18
|
-
toastId: t.id
|
|
19
|
-
});
|
|
20
|
-
return;
|
|
21
|
-
}
|
|
22
|
-
return setTimeout(() => {
|
|
23
|
-
n({
|
|
24
|
-
type: a.DISMISS_TOAST,
|
|
25
|
-
toastId: t.id
|
|
26
|
-
});
|
|
27
|
-
}, s);
|
|
28
|
-
});
|
|
29
|
-
}, u = /* @__PURE__ */ new Map(), f = (e, o) => {
|
|
30
|
-
if (u.has(e))
|
|
31
|
-
return;
|
|
32
|
-
const i = setTimeout(() => {
|
|
33
|
-
u.delete(e), n({
|
|
34
|
-
type: a.REMOVE_TOAST,
|
|
35
|
-
toastId: e
|
|
36
|
-
});
|
|
37
|
-
}, o);
|
|
38
|
-
u.set(e, i);
|
|
39
|
-
}, A = (e) => {
|
|
40
|
-
const o = u.get(e);
|
|
41
|
-
u.delete(e), o && clearTimeout(o);
|
|
42
|
-
}, n = (e) => {
|
|
43
|
-
switch (e.type) {
|
|
44
|
-
case a.ADD_TOAST:
|
|
45
|
-
r("toasts", (t) => {
|
|
46
|
-
const s = t;
|
|
47
|
-
return [e.toast, ...s];
|
|
48
|
-
});
|
|
49
|
-
break;
|
|
50
|
-
case a.DISMISS_TOAST:
|
|
51
|
-
const { toastId: o } = e, i = T.toasts;
|
|
52
|
-
if (o) {
|
|
53
|
-
const t = i.find((s) => s.id === o);
|
|
54
|
-
t && f(o, t.unmountDelay), r("toasts", (s) => s.id === o, d((s) => s.visible = !1));
|
|
55
|
-
} else
|
|
56
|
-
i.forEach((t) => {
|
|
57
|
-
f(t.id, t.unmountDelay);
|
|
58
|
-
}), r("toasts", (t) => t.id !== void 0, d((t) => t.visible = !1));
|
|
59
|
-
break;
|
|
60
|
-
case a.REMOVE_TOAST:
|
|
61
|
-
if (!e.toastId) {
|
|
62
|
-
r("toasts", []);
|
|
63
|
-
break;
|
|
64
|
-
}
|
|
65
|
-
r("toasts", (t) => t.filter((S) => S.id !== e.toastId));
|
|
66
|
-
break;
|
|
67
|
-
case a.UPDATE_TOAST:
|
|
68
|
-
e.toast.id && A(e.toast.id), r("toasts", (t) => t.id === e.toast.id, (t) => ({
|
|
69
|
-
...t,
|
|
70
|
-
...e.toast
|
|
71
|
-
}));
|
|
72
|
-
break;
|
|
73
|
-
case a.UPSERT_TOAST:
|
|
74
|
-
T.toasts.find((t) => t.id === e.toast.id) ? n({ type: a.UPDATE_TOAST, toast: e.toast }) : n({ type: a.ADD_TOAST, toast: e.toast });
|
|
75
|
-
break;
|
|
76
|
-
case a.START_PAUSE:
|
|
77
|
-
r(d((t) => {
|
|
78
|
-
t.pausedAt = Date.now(), t.toasts.forEach((s) => {
|
|
79
|
-
s.paused = !0;
|
|
80
|
-
});
|
|
81
|
-
}));
|
|
82
|
-
break;
|
|
83
|
-
case a.END_PAUSE:
|
|
84
|
-
const c = e.time - (T.pausedAt || 0);
|
|
85
|
-
r(d((t) => {
|
|
86
|
-
t.pausedAt = void 0, t.toasts.forEach((s) => {
|
|
87
|
-
s.pauseDuration += c, s.paused = !1;
|
|
88
|
-
});
|
|
89
|
-
}));
|
|
90
|
-
break;
|
|
91
|
-
}
|
|
92
|
-
};
|
|
1
|
+
var n = /* @__PURE__ */ new WeakMap();
|
|
2
|
+
function u(e) {
|
|
3
|
+
let t = n.get(e);
|
|
4
|
+
if (t != null)
|
|
5
|
+
return t;
|
|
6
|
+
t = 0;
|
|
7
|
+
for (const r of e)
|
|
8
|
+
r.type === "item" && t++;
|
|
9
|
+
return n.set(e, t), t;
|
|
10
|
+
}
|
|
93
11
|
export {
|
|
94
|
-
|
|
95
|
-
n as dispatch,
|
|
96
|
-
T as store
|
|
12
|
+
u as getItemCount
|
|
97
13
|
};
|
|
98
14
|
//# sourceMappingURL=index334.js.map
|
package/dist/index334.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index334.js","sources":["../../../node_modules/.bun
|
|
1
|
+
{"version":3,"file":"index334.js","sources":["../../../node_modules/.bun/@kobalte+core@0.13.12+ee58d66d663bac7b/node_modules/@kobalte/core/dist/chunk/FINWO3A5.jsx"],"sourcesContent":["// src/primitives/create-collection/get-item-count.ts\nvar cache = /* @__PURE__ */ new WeakMap();\nfunction getItemCount(collection) {\n let count = cache.get(collection);\n if (count != null) {\n return count;\n }\n count = 0;\n for (const item of collection) {\n if (item.type === \"item\") {\n count++;\n }\n }\n cache.set(collection, count);\n return count;\n}\n\nexport {\n getItemCount\n};\n"],"names":["cache","WeakMap","getItemCount","collection","count","get","item","type","set"],"mappings":"AACA,IAAIA,wBAA4BC,QAAAA;AAChC,SAASC,EAAaC,GAAY;AAChC,MAAIC,IAAQJ,EAAMK,IAAIF,CAAU;AAChC,MAAIC,KAAS;AACX,WAAOA;AAETA,EAAAA,IAAQ;AACR,aAAWE,KAAQH;AACjB,IAAIG,EAAKC,SAAS,UAChBH;AAGJJ,SAAAA,EAAMQ,IAAIL,GAAYC,CAAK,GACpBA;AACT;","x_google_ignoreList":[0]}
|
package/dist/index335.js
CHANGED
|
@@ -1,8 +1,23 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { useFormControlContext as l } from "./index320.js";
|
|
2
|
+
import { mergeDefaultProps as o } from "./index294.js";
|
|
3
|
+
import { createEffect as t, onCleanup as d } from "solid-js";
|
|
4
|
+
import { access as r } from "./index300.js";
|
|
5
|
+
var n = ["id", "aria-label", "aria-labelledby", "aria-describedby"];
|
|
6
|
+
function f(i) {
|
|
7
|
+
const a = l(), e = o({
|
|
8
|
+
id: a.generateId("field")
|
|
9
|
+
}, i);
|
|
10
|
+
return t(() => d(a.registerField(r(e.id)))), {
|
|
11
|
+
fieldProps: {
|
|
12
|
+
id: () => r(e.id),
|
|
13
|
+
ariaLabel: () => r(e["aria-label"]),
|
|
14
|
+
ariaLabelledBy: () => a.getAriaLabelledBy(r(e.id), r(e["aria-label"]), r(e["aria-labelledby"])),
|
|
15
|
+
ariaDescribedBy: () => a.getAriaDescribedBy(r(e["aria-describedby"]))
|
|
16
|
+
}
|
|
17
|
+
};
|
|
18
|
+
}
|
|
5
19
|
export {
|
|
6
|
-
|
|
20
|
+
n as FORM_CONTROL_FIELD_PROP_NAMES,
|
|
21
|
+
f as createFormControlField
|
|
7
22
|
};
|
|
8
23
|
//# sourceMappingURL=index335.js.map
|
package/dist/index335.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index335.js","sources":["../../../node_modules/.bun
|
|
1
|
+
{"version":3,"file":"index335.js","sources":["../../../node_modules/.bun/@kobalte+core@0.13.12+ee58d66d663bac7b/node_modules/@kobalte/core/dist/chunk/NGHEENNE.jsx"],"sourcesContent":["import {\n useFormControlContext\n} from \"./XUUROM4M.jsx\";\n\n// src/form-control/create-form-control-field.tsx\nimport { access, mergeDefaultProps } from \"@kobalte/utils\";\nimport { createEffect, onCleanup } from \"solid-js\";\nvar FORM_CONTROL_FIELD_PROP_NAMES = [\n \"id\",\n \"aria-label\",\n \"aria-labelledby\",\n \"aria-describedby\"\n];\nfunction createFormControlField(props) {\n const context = useFormControlContext();\n const mergedProps = mergeDefaultProps(\n { id: context.generateId(\"field\") },\n props\n );\n createEffect(() => onCleanup(context.registerField(access(mergedProps.id))));\n return {\n fieldProps: {\n id: () => access(mergedProps.id),\n ariaLabel: () => access(mergedProps[\"aria-label\"]),\n ariaLabelledBy: () => context.getAriaLabelledBy(\n access(mergedProps.id),\n access(mergedProps[\"aria-label\"]),\n access(mergedProps[\"aria-labelledby\"])\n ),\n ariaDescribedBy: () => context.getAriaDescribedBy(access(mergedProps[\"aria-describedby\"]))\n }\n };\n}\n\nexport {\n FORM_CONTROL_FIELD_PROP_NAMES,\n createFormControlField\n};\n"],"names":["FORM_CONTROL_FIELD_PROP_NAMES","createFormControlField","props","context","useFormControlContext","mergedProps","mergeDefaultProps","id","generateId","createEffect","onCleanup","registerField","access","fieldProps","ariaLabel","ariaLabelledBy","getAriaLabelledBy","ariaDescribedBy","getAriaDescribedBy"],"mappings":";;;;AAOA,IAAIA,IAAgC,CAClC,MACA,cACA,mBACA,kBAAkB;AAEpB,SAASC,EAAuBC,GAAO;AACrC,QAAMC,IAAUC,EAAAA,GACVC,IAAcC,EAClB;AAAA,IAAEC,IAAIJ,EAAQK,WAAW,OAAO;AAAA,EAAA,GAChCN,CACF;AACAO,SAAAA,EAAa,MAAMC,EAAUP,EAAQQ,cAAcC,EAAOP,EAAYE,EAAE,CAAC,CAAC,CAAC,GACpE;AAAA,IACLM,YAAY;AAAA,MACVN,IAAIA,MAAMK,EAAOP,EAAYE,EAAE;AAAA,MAC/BO,WAAWA,MAAMF,EAAOP,EAAY,YAAY,CAAC;AAAA,MACjDU,gBAAgBA,MAAMZ,EAAQa,kBAC5BJ,EAAOP,EAAYE,EAAE,GACrBK,EAAOP,EAAY,YAAY,CAAC,GAChCO,EAAOP,EAAY,iBAAiB,CAAC,CACvC;AAAA,MACAY,iBAAiBA,MAAMd,EAAQe,mBAAmBN,EAAOP,EAAY,kBAAkB,CAAC,CAAC;AAAA,IAAA;AAAA,EAC3F;AAEJ;","x_google_ignoreList":[0]}
|
package/dist/index336.js
CHANGED
|
@@ -1,41 +1,65 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
1
|
+
import { createMemo as I, onCleanup as v, $TRACK as x, untrack as A, createRoot as m, createSignal as g } from "solid-js";
|
|
2
|
+
import { isServer as w } from "solid-js/web";
|
|
3
|
+
const k = /* @__PURE__ */ Symbol("fallback");
|
|
4
|
+
function y(c) {
|
|
5
|
+
for (const f of c)
|
|
6
|
+
f.dispose();
|
|
7
|
+
}
|
|
8
|
+
function K(c, f, i, d = {}) {
|
|
9
|
+
if (w) {
|
|
10
|
+
const t = c();
|
|
11
|
+
let l = [];
|
|
12
|
+
if (t && t.length)
|
|
13
|
+
for (let o = 0, u = t.length; o < u; o++)
|
|
14
|
+
l.push(i(() => t[o], () => o));
|
|
15
|
+
else d.fallback && (l = [d.fallback()]);
|
|
16
|
+
return () => l;
|
|
17
|
+
}
|
|
18
|
+
const n = /* @__PURE__ */ new Map();
|
|
19
|
+
return v(() => y(n.values())), () => {
|
|
20
|
+
const t = c() || [];
|
|
21
|
+
return t[x], A(() => {
|
|
22
|
+
if (!t.length)
|
|
23
|
+
return y(n.values()), n.clear(), d.fallback ? [m((s) => (n.set(k, { dispose: s }), d.fallback()))] : [];
|
|
24
|
+
const l = new Array(t.length), o = n.get(k);
|
|
25
|
+
if (!n.size || o) {
|
|
26
|
+
o?.dispose(), n.delete(k);
|
|
27
|
+
for (let e = 0; e < t.length; e++) {
|
|
28
|
+
const s = t[e], a = f(s, e);
|
|
29
|
+
b(l, s, e, a);
|
|
30
|
+
}
|
|
31
|
+
return l;
|
|
32
|
+
}
|
|
33
|
+
const u = new Set(n.keys());
|
|
34
|
+
for (let e = 0; e < t.length; e++) {
|
|
35
|
+
const s = t[e], a = f(s, e);
|
|
36
|
+
u.delete(a);
|
|
37
|
+
const r = n.get(a);
|
|
38
|
+
r ? (l[e] = r.mapped, r.setIndex?.(e), r.setItem(() => s)) : b(l, s, e, a);
|
|
39
|
+
}
|
|
40
|
+
for (const e of u)
|
|
41
|
+
n.get(e)?.dispose(), n.delete(e);
|
|
42
|
+
return l;
|
|
43
|
+
});
|
|
44
|
+
};
|
|
45
|
+
function b(t, l, o, u) {
|
|
46
|
+
m((e) => {
|
|
47
|
+
const [s, a] = g(l), r = { setItem: a, dispose: e };
|
|
48
|
+
if (i.length > 1) {
|
|
49
|
+
const [h, p] = g(o);
|
|
50
|
+
r.setIndex = p, r.mapped = i(s, h);
|
|
51
|
+
} else
|
|
52
|
+
r.mapped = i(s);
|
|
53
|
+
n.set(u, r), t[o] = r.mapped;
|
|
54
|
+
});
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
function R(c) {
|
|
58
|
+
const { by: f } = c;
|
|
59
|
+
return I(K(() => c.each, typeof f == "function" ? f : (i) => i[f], c.children, "fallback" in c ? { fallback: () => c.fallback } : void 0));
|
|
60
|
+
}
|
|
35
61
|
export {
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
o as defaultToastOptions,
|
|
39
|
-
e as defaultToasterOptions
|
|
62
|
+
R as Key,
|
|
63
|
+
K as keyArray
|
|
40
64
|
};
|
|
41
65
|
//# sourceMappingURL=index336.js.map
|
package/dist/index336.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index336.js","sources":["../../../node_modules/.bun/solid-toast@0.5.0+ee58d66d663bac7b/node_modules/solid-toast/dist/source/core/defaults.js"],"sourcesContent":["export const defaultTimeouts = {\n blank: 4000,\n error: 4000,\n success: 2000,\n loading: Infinity,\n custom: 4000,\n};\nexport const defaultToastOptions = {\n id: '',\n icon: '',\n unmountDelay: 500,\n duration: 3000,\n ariaProps: {\n role: 'status',\n 'aria-live': 'polite',\n },\n className: '',\n style: {},\n position: 'top-right',\n iconTheme: {},\n};\nexport const defaultToasterOptions = {\n position: 'top-right',\n toastOptions: defaultToastOptions,\n gutter: 8,\n containerStyle: {},\n containerClassName: '',\n};\nconst defaultContainerPadding = '16px';\nexport const defaultContainerStyle = {\n position: 'fixed',\n 'z-index': 9999,\n top: defaultContainerPadding,\n bottom: defaultContainerPadding,\n left: defaultContainerPadding,\n right: defaultContainerPadding,\n 'pointer-events': 'none',\n};\n"],"names":["defaultTimeouts","defaultToastOptions","defaultToasterOptions","defaultContainerPadding","defaultContainerStyle"],"mappings":"AAAY,MAACA,IAAkB;AAAA,EAC3B,OAAO;AAAA,EACP,OAAO;AAAA,EACP,SAAS;AAAA,EACT,SAAS;AAAA,EACT,QAAQ;AACZ,GACaC,IAAsB;AAAA,EAC/B,IAAI;AAAA,EACJ,MAAM;AAAA,EACN,cAAc;AAAA,EACd,UAAU;AAAA,EACV,WAAW;AAAA,IACP,MAAM;AAAA,IACN,aAAa;AAAA,EACrB;AAAA,EACI,WAAW;AAAA,EACX,OAAO,CAAA;AAAA,EACP,UAAU;AAAA,EACV,WAAW,CAAA;AACf,GACaC,IAAwB;AAAA,EACjC,UAAU;AAAA,EACV,cAAcD;AAAA,EACd,QAAQ;AAAA,EACR,gBAAgB,CAAA;AAAA,EAChB,oBAAoB;AACxB,GACME,IAA0B,QACnBC,IAAwB;AAAA,EACjC,UAAU;AAAA,EACV,WAAW;AAAA,EACX,KAAKD;AAAA,EACL,QAAQA;AAAA,EACR,MAAMA;AAAA,EACN,OAAOA;AAAA,EACP,kBAAkB;AACtB;","x_google_ignoreList":[0]}
|
|
1
|
+
{"version":3,"file":"index336.js","sources":["../../../node_modules/.bun/@solid-primitives+keyed@1.5.3+ee58d66d663bac7b/node_modules/@solid-primitives/keyed/dist/index.js"],"sourcesContent":["import { createMemo, createRoot, createSignal, on, onCleanup, untrack, $TRACK, mapArray, } from \"solid-js\";\nimport { isServer } from \"solid-js/web\";\nconst FALLBACK = Symbol(\"fallback\");\nfunction dispose(list) {\n for (const o of list)\n o.dispose();\n}\n/**\n * Reactively maps an array by specified key with a callback function - underlying helper for the `<Key>` control flow.\n * @param list input list of values to map\n * @param keyFn key getter, items will be identified by it's value. changing the value is changing the item.\n * @param mapFn reactive function used to create mapped output item. Similar to `Array.prototype.map` but both item and index are signals, that could change over time.\n * @param options a fallback for when the input list is empty or missing\n * @returns mapped input array signal\n * @see https://github.com/solidjs-community/solid-primitives/tree/main/packages/keyed#keyArray\n */\nexport function keyArray(items, keyFn, mapFn, options = {}) {\n // SERVER NOOP\n if (isServer) {\n const itemsRef = items();\n let s = [];\n if (itemsRef && itemsRef.length) {\n for (let i = 0, len = itemsRef.length; i < len; i++)\n s.push(mapFn(() => itemsRef[i], () => i));\n }\n else if (options.fallback)\n s = [options.fallback()];\n return () => s;\n }\n const prev = new Map();\n onCleanup(() => dispose(prev.values()));\n return () => {\n const list = items() || [];\n list[$TRACK]; // top level store tracking\n return untrack(() => {\n // fast path for empty arrays\n if (!list.length) {\n dispose(prev.values());\n prev.clear();\n if (!options.fallback)\n return [];\n const fb = createRoot(dispose => {\n prev.set(FALLBACK, { dispose });\n return options.fallback();\n });\n return [fb];\n }\n const result = new Array(list.length);\n // fast path for new create or after fallback\n const fb = prev.get(FALLBACK);\n if (!prev.size || fb) {\n fb?.dispose();\n prev.delete(FALLBACK);\n for (let i = 0; i < list.length; i++) {\n const item = list[i];\n const key = keyFn(item, i);\n addNewItem(result, item, i, key);\n }\n return result;\n }\n const prevKeys = new Set(prev.keys());\n for (let i = 0; i < list.length; i++) {\n const item = list[i];\n const key = keyFn(item, i);\n prevKeys.delete(key);\n const lookup = prev.get(key);\n if (lookup) {\n result[i] = lookup.mapped;\n lookup.setIndex?.(i);\n lookup.setItem(() => item);\n }\n else\n addNewItem(result, item, i, key);\n }\n for (const key of prevKeys) {\n prev.get(key)?.dispose();\n prev.delete(key);\n }\n return result;\n });\n };\n function addNewItem(list, item, i, key) {\n createRoot(dispose => {\n const [getItem, setItem] = createSignal(item);\n const save = { setItem, dispose };\n if (mapFn.length > 1) {\n const [index, setIndex] = createSignal(i);\n save.setIndex = setIndex;\n save.mapped = mapFn(getItem, index);\n }\n else\n save.mapped = mapFn(getItem);\n prev.set(key, save);\n list[i] = save.mapped;\n });\n }\n}\n/**\n * creates a list of elements from the input `each` list\n *\n * it receives a map function as its child that receives a **list item signal** and **index signal** and returns a JSX-Element; if the list is empty, an optional fallback is returned:\n * ```tsx\n * <Key each={items()} by={item => item.id} fallback={<div>No items</div>}>\n * {(item, index) => <div data-index={index()}>{item()}</div>}\n * </Key>\n * ```\n *\n * prop `by` can also be an object key:\n * ```tsx\n * <Key each={items()} by=\"id\">\n * ```\n *\n * @see https://github.com/solidjs-community/solid-primitives/tree/main/packages/keyed#Key\n */\nexport function Key(props) {\n const { by } = props;\n return createMemo(keyArray(() => props.each, typeof by === \"function\" ? by : (v) => v[by], props.children, \"fallback\" in props ? { fallback: () => props.fallback } : undefined));\n}\n/**\n * creates a list of elements from the entries of provided object\n *\n * @param props\n * @param props.of object to iterate entries of (`Object.entries(object)`)\n * @param props.children\n * a map render function that receives an object key, **value signal** and **index signal** and returns a JSX-Element; if the list is empty, an optional fallback is returned:\n * ```tsx\n * <Entries of={object()} fallback={<div>No items</div>}>\n * {(key, value, index) => <div data-index={index()}>{key}: {value()}</div>}\n * </Entries>\n * ```\n *\n * @see https://github.com/solidjs-community/solid-primitives/tree/main/packages/keyed#Entries\n */\nexport function Entries(props) {\n // changes to this function may be applicable to similar functions - grep 4A29BECD-767A-4CC0-AEBB-3543D7B444C6\n const mapFn = props.children;\n return createMemo(mapArray(() => props.of && Object.keys(props.of), mapFn.length < 3\n ? key => mapFn(key, () => props.of[key])\n : (key, i) => mapFn(key, () => props.of[key], i), \"fallback\" in props ? { fallback: () => props.fallback } : undefined));\n}\n/**\n * Creates a list of elements from the entries of provided Map\n *\n * @param props\n * @param props.of map to iterate entries of (`myMap.entries()`)\n * @param props.children\n * a map render function that receives a Map key, **value signal** and **index signal** and returns a JSX-Element; if the list is empty, an optional fallback is returned:\n * ```tsx\n * <MapEntries of={map()} fallback={<div>No items</div>}>\n * {(key, value, index) => <div data-index={index()}>{key}: {value()}</div>}\n * </MapEntries>\n * ```\n *\n * @see https://github.com/solidjs-community/solid-primitives/tree/main/packages/keyed#mapentries\n */\nexport function MapEntries(props) {\n // changes to this function may be applicable to similar functions - grep 4A29BECD-767A-4CC0-AEBB-3543D7B444C6\n const mapFn = props.children;\n return createMemo(mapArray(() => props.of && Array.from(props.of.keys()), mapFn.length < 3\n ? key => mapFn(key, () => props.of.get(key))\n : (key, i) => mapFn(key, () => props.of.get(key), i), \"fallback\" in props ? { fallback: () => props.fallback } : undefined));\n}\n/**\n * Creates a list of elements from the values of provided Set\n *\n * @param props\n * @param props.of set to iterate values of (`mySet.values()`)\n * @param props.children\n * a map render function that receives a Set value and **index signal** and returns a JSX-Element; if the list is empty, an optional fallback is returned:\n * ```tsx\n * <SetValues of={set()} fallback={<div>No items</div>}>\n * {(value, index) => <div data-index={index()}>{value)}</div>}\n * </SetValues>\n * ```\n *\n * @see https://github.com/solidjs-community/solid-primitives/tree/main/packages/keyed#setvalues\n */\nexport function SetValues(props) {\n // changes to this function may be applicable to similar functions - grep 4A29BECD-767A-4CC0-AEBB-3543D7B444C6\n const mapFn = props.children;\n return createMemo(mapArray(() => props.of && Array.from(props.of.values()), mapFn.length < 2 ? value => mapFn(value) : mapFn, \"fallback\" in props ? { fallback: () => props.fallback } : undefined));\n}\nexport function Rerun(props) {\n const key = typeof props.on === \"function\" || Array.isArray(props.on) ? props.on : () => props.on;\n return createMemo(on(key, (a, b) => {\n const child = props.children;\n return typeof child === \"function\" && child.length > 0 ? child(a, b) : child;\n }));\n}\n"],"names":["FALLBACK","dispose","list","o","keyArray","items","keyFn","mapFn","options","isServer","itemsRef","s","i","len","prev","onCleanup","$TRACK","untrack","createRoot","result","fb","item","key","addNewItem","prevKeys","lookup","getItem","setItem","createSignal","save","index","setIndex","Key","props","by","createMemo","v"],"mappings":"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","x_google_ignoreList":[0]}
|
package/dist/index337.js
CHANGED
|
@@ -1,47 +1,37 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
transition: "all 230ms cubic-bezier(.21,1.02,.73,1)",
|
|
26
|
-
...s,
|
|
27
|
-
...i
|
|
1
|
+
function o(e, n, t) {
|
|
2
|
+
const s = [...e];
|
|
3
|
+
return s[t] = n, s.sort((r, a) => r - a);
|
|
4
|
+
}
|
|
5
|
+
function i(e, n) {
|
|
6
|
+
if (e.length === 1) return 0;
|
|
7
|
+
const t = e.map((a) => Math.abs(a - n)), s = Math.min(...t), r = t.indexOf(s);
|
|
8
|
+
return n < e[r] ? r : t.lastIndexOf(s);
|
|
9
|
+
}
|
|
10
|
+
function c(e) {
|
|
11
|
+
return e.slice(0, -1).map((n, t) => e[t + 1] - n);
|
|
12
|
+
}
|
|
13
|
+
function l(e, n) {
|
|
14
|
+
if (n > 0) {
|
|
15
|
+
const t = c(e);
|
|
16
|
+
return Math.min(...t) >= n;
|
|
17
|
+
}
|
|
18
|
+
return !0;
|
|
19
|
+
}
|
|
20
|
+
function f(e, n) {
|
|
21
|
+
return (t) => {
|
|
22
|
+
if (e[0] === e[1] || n[0] === n[1]) return n[0];
|
|
23
|
+
const s = (n[1] - n[0]) / (e[1] - e[0]);
|
|
24
|
+
return n[0] + s * (t - e[0]);
|
|
28
25
|
};
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
toast: { id: e.id, height: n.height }
|
|
34
|
-
});
|
|
35
|
-
}, A = (t, e) => {
|
|
36
|
-
const { toasts: n } = p, s = g().gutter || f.gutter || 8, i = n.filter((o) => (o.position || e) === e && o.height), c = i.findIndex((o) => o.id === t.id), a = i.filter((o, r) => r < c && o.visible).length;
|
|
37
|
-
return i.slice(0, a).reduce((o, r) => o + s + (r.height || 0), 0);
|
|
38
|
-
}, D = (t, e) => (t.position || e).includes("top") ? 1 : -1;
|
|
26
|
+
}
|
|
27
|
+
function u(e) {
|
|
28
|
+
e.preventDefault(), e.stopPropagation();
|
|
29
|
+
}
|
|
39
30
|
export {
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
C as updateToastHeight
|
|
31
|
+
i as getClosestValueIndex,
|
|
32
|
+
o as getNextSortedValues,
|
|
33
|
+
l as hasMinStepsBetweenValues,
|
|
34
|
+
f as linearScale,
|
|
35
|
+
u as stopEventDefaultAndPropagation
|
|
46
36
|
};
|
|
47
37
|
//# sourceMappingURL=index337.js.map
|
package/dist/index337.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index337.js","sources":["../../../node_modules/.bun
|
|
1
|
+
{"version":3,"file":"index337.js","sources":["../../../node_modules/.bun/@kobalte+core@0.13.12+ee58d66d663bac7b/node_modules/@kobalte/core/dist/chunk/GIRHAWVP.jsx"],"sourcesContent":["// src/slider/utils.ts\nfunction getNextSortedValues(prevValues, nextValue, atIndex) {\n const nextValues = [...prevValues];\n nextValues[atIndex] = nextValue;\n return nextValues.sort((a, b) => a - b);\n}\nfunction getClosestValueIndex(values, nextValue) {\n if (values.length === 1)\n return 0;\n const distances = values.map((value) => Math.abs(value - nextValue));\n const closestDistance = Math.min(...distances);\n const closestIndex = distances.indexOf(closestDistance);\n return nextValue < values[closestIndex] ? closestIndex : distances.lastIndexOf(closestDistance);\n}\nfunction getStepsBetweenValues(values) {\n return values.slice(0, -1).map((value, index) => values[index + 1] - value);\n}\nfunction hasMinStepsBetweenValues(values, minStepsBetweenValues) {\n if (minStepsBetweenValues > 0) {\n const stepsBetweenValues = getStepsBetweenValues(values);\n const actualMinStepsBetweenValues = Math.min(...stepsBetweenValues);\n return actualMinStepsBetweenValues >= minStepsBetweenValues;\n }\n return true;\n}\nfunction linearScale(input, output) {\n return (value) => {\n if (input[0] === input[1] || output[0] === output[1])\n return output[0];\n const ratio = (output[1] - output[0]) / (input[1] - input[0]);\n return output[0] + ratio * (value - input[0]);\n };\n}\nfunction stopEventDefaultAndPropagation(event) {\n event.preventDefault();\n event.stopPropagation();\n}\n\nexport {\n getNextSortedValues,\n getClosestValueIndex,\n hasMinStepsBetweenValues,\n linearScale,\n stopEventDefaultAndPropagation\n};\n"],"names":["getNextSortedValues","prevValues","nextValue","atIndex","nextValues","sort","a","b","getClosestValueIndex","values","length","distances","map","value","Math","abs","closestDistance","min","closestIndex","indexOf","lastIndexOf","getStepsBetweenValues","slice","index","hasMinStepsBetweenValues","minStepsBetweenValues","stepsBetweenValues","linearScale","input","output","ratio","stopEventDefaultAndPropagation","event","preventDefault","stopPropagation"],"mappings":"AACA,SAASA,EAAoBC,GAAYC,GAAWC,GAAS;AAC3D,QAAMC,IAAa,CAAC,GAAGH,CAAU;AACjCG,SAAAA,EAAWD,CAAO,IAAID,GACfE,EAAWC,KAAK,CAACC,GAAGC,MAAMD,IAAIC,CAAC;AACxC;AACA,SAASC,EAAqBC,GAAQP,GAAW;AAC/C,MAAIO,EAAOC,WAAW,EACpB,QAAO;AACT,QAAMC,IAAYF,EAAOG,IAAKC,CAAAA,MAAUC,KAAKC,IAAIF,IAAQX,CAAS,CAAC,GAC7Dc,IAAkBF,KAAKG,IAAI,GAAGN,CAAS,GACvCO,IAAeP,EAAUQ,QAAQH,CAAe;AACtD,SAAOd,IAAYO,EAAOS,CAAY,IAAIA,IAAeP,EAAUS,YAAYJ,CAAe;AAChG;AACA,SAASK,EAAsBZ,GAAQ;AACrC,SAAOA,EAAOa,MAAM,GAAG,EAAE,EAAEV,IAAI,CAACC,GAAOU,MAAUd,EAAOc,IAAQ,CAAC,IAAIV,CAAK;AAC5E;AACA,SAASW,EAAyBf,GAAQgB,GAAuB;AAC/D,MAAIA,IAAwB,GAAG;AAC7B,UAAMC,IAAqBL,EAAsBZ,CAAM;AAEvD,WADoCK,KAAKG,IAAI,GAAGS,CAAkB,KAC5BD;AAAAA,EACxC;AACA,SAAO;AACT;AACA,SAASE,EAAYC,GAAOC,GAAQ;AAClC,SAAQhB,CAAAA,MAAU;AAChB,QAAIe,EAAM,CAAC,MAAMA,EAAM,CAAC,KAAKC,EAAO,CAAC,MAAMA,EAAO,CAAC,EACjD,QAAOA,EAAO,CAAC;AACjB,UAAMC,KAASD,EAAO,CAAC,IAAIA,EAAO,CAAC,MAAMD,EAAM,CAAC,IAAIA,EAAM,CAAC;AAC3D,WAAOC,EAAO,CAAC,IAAIC,KAASjB,IAAQe,EAAM,CAAC;AAAA,EAC7C;AACF;AACA,SAASG,EAA+BC,GAAO;AAC7CA,EAAAA,EAAMC,eAAAA,GACND,EAAME,gBAAAA;AACR;","x_google_ignoreList":[0]}
|
package/dist/index338.js
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
|
-
|
|
1
|
+
function r(e) {
|
|
2
|
+
return [
|
|
3
|
+
...Object.values(e.internal.fields),
|
|
4
|
+
...Object.values(e.internal.fieldArrays)
|
|
5
|
+
];
|
|
6
|
+
}
|
|
2
7
|
export {
|
|
3
|
-
|
|
8
|
+
r as getFieldAndArrayStores
|
|
4
9
|
};
|
|
5
10
|
//# sourceMappingURL=index338.js.map
|
package/dist/index338.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index338.js","sources":["../../../node_modules/.bun
|
|
1
|
+
{"version":3,"file":"index338.js","sources":["../../../node_modules/.bun/@modular-forms+solid@0.25.1+ee58d66d663bac7b/node_modules/@modular-forms/solid/dist/source/utils/getFieldAndArrayStores.js"],"sourcesContent":["/**\n * Returns a tuple with all field and field array stores of a form.\n *\n * @param form The form of the stores.\n *\n * @returns The store tuple.\n */\nexport function getFieldAndArrayStores(form) {\n return [\n ...Object.values(form.internal.fields),\n ...Object.values(form.internal.fieldArrays),\n ];\n}\n"],"names":["getFieldAndArrayStores","form"],"mappings":"AAOO,SAASA,EAAuBC,GAAM;AACzC,SAAO;AAAA,IACH,GAAG,OAAO,OAAOA,EAAK,SAAS,MAAM;AAAA,IACrC,GAAG,OAAO,OAAOA,EAAK,SAAS,WAAW;AAAA,EAClD;AACA;","x_google_ignoreList":[0]}
|