@embedreach/components 0.1.100 → 0.1.101
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/chunks/B4MFY5CR.js +5406 -8738
- package/dist/chunks/HO4MOOFI.js +19 -24
- package/dist/chunks/HUY7CZI3.js +23 -28
- package/dist/chunks/index.js +40716 -59540
- package/dist/index.es.js +8 -8
- package/dist/index.umd.js +537 -183
- package/package.json +1 -1
package/dist/chunks/HO4MOOFI.js
CHANGED
|
@@ -1,29 +1,25 @@
|
|
|
1
|
-
import { c
|
|
2
|
-
import { g as
|
|
3
|
-
var
|
|
4
|
-
const [
|
|
1
|
+
import { c, T as l, P as m, a as u, D as v, Q as i } from "./B4MFY5CR.js";
|
|
2
|
+
import { g as d, c as f, a as e } from "./index.js";
|
|
3
|
+
var p = (a) => {
|
|
4
|
+
const [r, t] = c({
|
|
5
5
|
prefix: "TanstackQueryDevtools"
|
|
6
|
+
}), n = d(), s = f(() => {
|
|
7
|
+
const o = r.theme_preference || l;
|
|
8
|
+
return o !== "system" ? o : n();
|
|
6
9
|
});
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
const preference = localStore.theme_preference || THEME_PREFERENCE;
|
|
10
|
-
if (preference !== "system")
|
|
11
|
-
return preference;
|
|
12
|
-
return colorScheme();
|
|
13
|
-
});
|
|
14
|
-
return createComponent(QueryDevtoolsContext.Provider, {
|
|
15
|
-
value: props,
|
|
10
|
+
return e(i.Provider, {
|
|
11
|
+
value: a,
|
|
16
12
|
get children() {
|
|
17
|
-
return
|
|
18
|
-
localStore,
|
|
19
|
-
setLocalStore,
|
|
13
|
+
return e(m, {
|
|
14
|
+
localStore: r,
|
|
15
|
+
setLocalStore: t,
|
|
20
16
|
get children() {
|
|
21
|
-
return
|
|
22
|
-
value:
|
|
17
|
+
return e(u.Provider, {
|
|
18
|
+
value: s,
|
|
23
19
|
get children() {
|
|
24
|
-
return
|
|
25
|
-
localStore,
|
|
26
|
-
setLocalStore
|
|
20
|
+
return e(v, {
|
|
21
|
+
localStore: r,
|
|
22
|
+
setLocalStore: t
|
|
27
23
|
});
|
|
28
24
|
}
|
|
29
25
|
});
|
|
@@ -31,8 +27,7 @@ var DevtoolsComponent = (props) => {
|
|
|
31
27
|
});
|
|
32
28
|
}
|
|
33
29
|
});
|
|
34
|
-
};
|
|
35
|
-
var DevtoolsComponent_default = DevtoolsComponent;
|
|
30
|
+
}, C = p;
|
|
36
31
|
export {
|
|
37
|
-
|
|
32
|
+
C as default
|
|
38
33
|
};
|
package/dist/chunks/HUY7CZI3.js
CHANGED
|
@@ -1,36 +1,32 @@
|
|
|
1
|
-
import { c as
|
|
2
|
-
import { g as
|
|
3
|
-
var
|
|
4
|
-
const [
|
|
1
|
+
import { c as s, T as c, P as u, a as i, b as m, C as P, Q as d } from "./B4MFY5CR.js";
|
|
2
|
+
import { g as v, c as C, a as e } from "./index.js";
|
|
3
|
+
var h = (t) => {
|
|
4
|
+
const [r, o] = s({
|
|
5
5
|
prefix: "TanstackQueryDevtools"
|
|
6
|
+
}), a = v(), l = C(() => {
|
|
7
|
+
const n = r.theme_preference || c;
|
|
8
|
+
return n !== "system" ? n : a();
|
|
6
9
|
});
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
const preference = localStore.theme_preference || THEME_PREFERENCE;
|
|
10
|
-
if (preference !== "system")
|
|
11
|
-
return preference;
|
|
12
|
-
return colorScheme();
|
|
13
|
-
});
|
|
14
|
-
return createComponent(QueryDevtoolsContext.Provider, {
|
|
15
|
-
value: props,
|
|
10
|
+
return e(d.Provider, {
|
|
11
|
+
value: t,
|
|
16
12
|
get children() {
|
|
17
|
-
return
|
|
18
|
-
disabled:
|
|
19
|
-
localStore,
|
|
20
|
-
setLocalStore,
|
|
13
|
+
return e(u, {
|
|
14
|
+
disabled: !0,
|
|
15
|
+
localStore: r,
|
|
16
|
+
setLocalStore: o,
|
|
21
17
|
get children() {
|
|
22
|
-
return
|
|
23
|
-
value:
|
|
18
|
+
return e(i.Provider, {
|
|
19
|
+
value: l,
|
|
24
20
|
get children() {
|
|
25
|
-
return
|
|
21
|
+
return e(m, {
|
|
26
22
|
get children() {
|
|
27
|
-
return
|
|
28
|
-
localStore,
|
|
29
|
-
setLocalStore,
|
|
23
|
+
return e(P, {
|
|
24
|
+
localStore: r,
|
|
25
|
+
setLocalStore: o,
|
|
30
26
|
get onClose() {
|
|
31
|
-
return
|
|
27
|
+
return t.onClose;
|
|
32
28
|
},
|
|
33
|
-
showPanelViewOnly:
|
|
29
|
+
showPanelViewOnly: !0
|
|
34
30
|
});
|
|
35
31
|
}
|
|
36
32
|
});
|
|
@@ -40,8 +36,7 @@ var DevtoolsPanelComponent = (props) => {
|
|
|
40
36
|
});
|
|
41
37
|
}
|
|
42
38
|
});
|
|
43
|
-
};
|
|
44
|
-
var DevtoolsPanelComponent_default = DevtoolsPanelComponent;
|
|
39
|
+
}, p = h;
|
|
45
40
|
export {
|
|
46
|
-
|
|
41
|
+
p as default
|
|
47
42
|
};
|