@valbuild/react 0.58.0 → 0.59.0

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.
Files changed (40) hide show
  1. package/dist/ValProvider-09e313e2.worker.esm.js +87 -0
  2. package/dist/ValProvider-461fa48b.cjs.js +7 -0
  3. package/dist/ValProvider-461fa48b.cjs.prod.js +115 -0
  4. package/dist/ValProvider-a3b1e699.esm.js +92 -0
  5. package/dist/ValProvider-b34afe68.browser.esm.js +92 -0
  6. package/dist/ValProvider-d17e4d13.cjs.dev.js +121 -0
  7. package/dist/ValUI-1922d8db.cjs.dev.js +1 -1
  8. package/dist/ValUI-23e2422b.cjs.prod.js +1 -1
  9. package/dist/ValUI-7d39a3f6.browser.esm.js +1 -1
  10. package/dist/ValUI-84a9cc93.worker.esm.js +1 -1
  11. package/dist/ValUI-8775ef5c.esm.js +1 -1
  12. package/dist/declarations/src/internal/ValProvider.d.ts +1 -1
  13. package/dist/toConsumableArray-0a75a603.worker.esm.js +19 -0
  14. package/dist/toConsumableArray-0ccd58b7.esm.js +19 -0
  15. package/dist/toConsumableArray-5a71fbb3.browser.esm.js +19 -0
  16. package/dist/toConsumableArray-b2d28ffa.cjs.dev.js +21 -0
  17. package/dist/toConsumableArray-b5e3b83f.cjs.prod.js +21 -0
  18. package/internal/dist/valbuild-react-internal.browser.esm.js +3 -18
  19. package/internal/dist/valbuild-react-internal.cjs.dev.js +4 -19
  20. package/internal/dist/valbuild-react-internal.cjs.prod.js +4 -19
  21. package/internal/dist/valbuild-react-internal.esm.js +3 -18
  22. package/internal/dist/valbuild-react-internal.worker.esm.js +3 -18
  23. package/package.json +4 -4
  24. package/stega/dist/valbuild-react-stega.browser.esm.js +52 -6
  25. package/stega/dist/valbuild-react-stega.cjs.dev.js +53 -7
  26. package/stega/dist/valbuild-react-stega.cjs.prod.js +53 -7
  27. package/stega/dist/valbuild-react-stega.esm.js +52 -6
  28. package/stega/dist/valbuild-react-stega.worker.esm.js +52 -6
  29. package/dist/ValProvider-47b779dc.esm.js +0 -689
  30. package/dist/ValProvider-48e6e607.browser.esm.js +0 -689
  31. package/dist/ValProvider-5b6a05e9.cjs.js +0 -7
  32. package/dist/ValProvider-5b6a05e9.cjs.prod.js +0 -712
  33. package/dist/ValProvider-7c2a7439.worker.esm.js +0 -684
  34. package/dist/ValProvider-87161e66.cjs.dev.js +0 -718
  35. package/dist/declarations/src/internal/ValStore.d.ts +0 -16
  36. package/dist/defineProperty-6ed7deb7.browser.esm.js +0 -32
  37. package/dist/defineProperty-82fbeafc.worker.esm.js +0 -32
  38. package/dist/defineProperty-9bf3d0c0.esm.js +0 -32
  39. package/dist/defineProperty-c84f9aba.cjs.dev.js +0 -35
  40. package/dist/defineProperty-f8fe5660.cjs.prod.js +0 -35
@@ -1,16 +0,0 @@
1
- import { Json, ModuleId, ValApi } from "@valbuild/core";
2
- import type { IValStore } from "@valbuild/shared/internal";
3
- export declare class ValStore implements IValStore {
4
- private readonly api;
5
- private readonly subscribers;
6
- private readonly listeners;
7
- constructor(api: ValApi);
8
- update(moduleIds: ModuleId[]): Promise<void>;
9
- updateAll(): Promise<void>;
10
- updateTree(treePath?: string): Promise<void>;
11
- subscribe: (moduleIds: ModuleId[]) => (listener: () => void) => () => void;
12
- private emitChange;
13
- getSnapshot: (moduleIds: ModuleId[]) => () => Record<ModuleId, Json> | undefined;
14
- getServerSnapshot: (moduleIds: ModuleId[]) => () => Record<ModuleId, Json> | undefined;
15
- get: (moduleIds: ModuleId[]) => Record<ModuleId, Json> | undefined;
16
- }
@@ -1,32 +0,0 @@
1
- function toPrimitive(t, r) {
2
- if ("object" != typeof t || !t) return t;
3
- var e = t[Symbol.toPrimitive];
4
- if (void 0 !== e) {
5
- var i = e.call(t, r || "default");
6
- if ("object" != typeof i) return i;
7
- throw new TypeError("@@toPrimitive must return a primitive value.");
8
- }
9
- return ("string" === r ? String : Number)(t);
10
- }
11
-
12
- function toPropertyKey(t) {
13
- var i = toPrimitive(t, "string");
14
- return "symbol" == typeof i ? i : String(i);
15
- }
16
-
17
- function _defineProperty(obj, key, value) {
18
- key = toPropertyKey(key);
19
- if (key in obj) {
20
- Object.defineProperty(obj, key, {
21
- value: value,
22
- enumerable: true,
23
- configurable: true,
24
- writable: true
25
- });
26
- } else {
27
- obj[key] = value;
28
- }
29
- return obj;
30
- }
31
-
32
- export { _defineProperty as _, toPropertyKey as t };
@@ -1,32 +0,0 @@
1
- function toPrimitive(t, r) {
2
- if ("object" != typeof t || !t) return t;
3
- var e = t[Symbol.toPrimitive];
4
- if (void 0 !== e) {
5
- var i = e.call(t, r || "default");
6
- if ("object" != typeof i) return i;
7
- throw new TypeError("@@toPrimitive must return a primitive value.");
8
- }
9
- return ("string" === r ? String : Number)(t);
10
- }
11
-
12
- function toPropertyKey(t) {
13
- var i = toPrimitive(t, "string");
14
- return "symbol" == typeof i ? i : String(i);
15
- }
16
-
17
- function _defineProperty(obj, key, value) {
18
- key = toPropertyKey(key);
19
- if (key in obj) {
20
- Object.defineProperty(obj, key, {
21
- value: value,
22
- enumerable: true,
23
- configurable: true,
24
- writable: true
25
- });
26
- } else {
27
- obj[key] = value;
28
- }
29
- return obj;
30
- }
31
-
32
- export { _defineProperty as _, toPropertyKey as t };
@@ -1,32 +0,0 @@
1
- function toPrimitive(t, r) {
2
- if ("object" != typeof t || !t) return t;
3
- var e = t[Symbol.toPrimitive];
4
- if (void 0 !== e) {
5
- var i = e.call(t, r || "default");
6
- if ("object" != typeof i) return i;
7
- throw new TypeError("@@toPrimitive must return a primitive value.");
8
- }
9
- return ("string" === r ? String : Number)(t);
10
- }
11
-
12
- function toPropertyKey(t) {
13
- var i = toPrimitive(t, "string");
14
- return "symbol" == typeof i ? i : String(i);
15
- }
16
-
17
- function _defineProperty(obj, key, value) {
18
- key = toPropertyKey(key);
19
- if (key in obj) {
20
- Object.defineProperty(obj, key, {
21
- value: value,
22
- enumerable: true,
23
- configurable: true,
24
- writable: true
25
- });
26
- } else {
27
- obj[key] = value;
28
- }
29
- return obj;
30
- }
31
-
32
- export { _defineProperty as _, toPropertyKey as t };
@@ -1,35 +0,0 @@
1
- 'use strict';
2
-
3
- function toPrimitive(t, r) {
4
- if ("object" != typeof t || !t) return t;
5
- var e = t[Symbol.toPrimitive];
6
- if (void 0 !== e) {
7
- var i = e.call(t, r || "default");
8
- if ("object" != typeof i) return i;
9
- throw new TypeError("@@toPrimitive must return a primitive value.");
10
- }
11
- return ("string" === r ? String : Number)(t);
12
- }
13
-
14
- function toPropertyKey(t) {
15
- var i = toPrimitive(t, "string");
16
- return "symbol" == typeof i ? i : String(i);
17
- }
18
-
19
- function _defineProperty(obj, key, value) {
20
- key = toPropertyKey(key);
21
- if (key in obj) {
22
- Object.defineProperty(obj, key, {
23
- value: value,
24
- enumerable: true,
25
- configurable: true,
26
- writable: true
27
- });
28
- } else {
29
- obj[key] = value;
30
- }
31
- return obj;
32
- }
33
-
34
- exports._defineProperty = _defineProperty;
35
- exports.toPropertyKey = toPropertyKey;
@@ -1,35 +0,0 @@
1
- 'use strict';
2
-
3
- function toPrimitive(t, r) {
4
- if ("object" != typeof t || !t) return t;
5
- var e = t[Symbol.toPrimitive];
6
- if (void 0 !== e) {
7
- var i = e.call(t, r || "default");
8
- if ("object" != typeof i) return i;
9
- throw new TypeError("@@toPrimitive must return a primitive value.");
10
- }
11
- return ("string" === r ? String : Number)(t);
12
- }
13
-
14
- function toPropertyKey(t) {
15
- var i = toPrimitive(t, "string");
16
- return "symbol" == typeof i ? i : String(i);
17
- }
18
-
19
- function _defineProperty(obj, key, value) {
20
- key = toPropertyKey(key);
21
- if (key in obj) {
22
- Object.defineProperty(obj, key, {
23
- value: value,
24
- enumerable: true,
25
- configurable: true,
26
- writable: true
27
- });
28
- } else {
29
- obj[key] = value;
30
- }
31
- return obj;
32
- }
33
-
34
- exports._defineProperty = _defineProperty;
35
- exports.toPropertyKey = toPropertyKey;