@valbuild/react 0.62.5 → 0.62.6

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@valbuild/react",
3
- "version": "0.62.5",
3
+ "version": "0.62.6",
4
4
  "private": false,
5
5
  "description": "Val - React internal helpers",
6
6
  "sideEffects": false,
@@ -9,9 +9,9 @@
9
9
  "test": "jest"
10
10
  },
11
11
  "dependencies": {
12
- "@valbuild/core": "~0.62.5",
13
- "@valbuild/shared": "~0.62.5",
14
- "@valbuild/ui": "~0.62.5",
12
+ "@valbuild/core": "~0.62.6",
13
+ "@valbuild/shared": "~0.62.6",
14
+ "@valbuild/ui": "~0.62.6",
15
15
  "@vercel/stega": "^0.1.0",
16
16
  "base64-arraybuffer": "^1.0.2"
17
17
  },
@@ -197,6 +197,9 @@ function _objectSpread2(e) {
197
197
 
198
198
  function stegaEncode(input, opts) {
199
199
  function rec(sourceOrSelector, recOpts) {
200
+ if (recOpts !== null && recOpts !== void 0 && recOpts.schema && isKeyOfSchema(recOpts === null || recOpts === void 0 ? void 0 : recOpts.schema)) {
201
+ return sourceOrSelector;
202
+ }
200
203
  if (recOpts !== null && recOpts !== void 0 && recOpts.schema && isLiteralSchema(recOpts === null || recOpts === void 0 ? void 0 : recOpts.schema)) {
201
204
  return sourceOrSelector;
202
205
  }
@@ -339,6 +342,9 @@ function unknownSchema(schema) {
339
342
  function isUnionSchema(schema) {
340
343
  return (schema === null || schema === void 0 ? void 0 : schema.type) === "union";
341
344
  }
345
+ function isKeyOfSchema(schema) {
346
+ return (schema === null || schema === void 0 ? void 0 : schema.type) === "keyOf";
347
+ }
342
348
  function isObjectSchema(schema) {
343
349
  return (schema === null || schema === void 0 ? void 0 : schema.type) === "object";
344
350
  }
@@ -207,6 +207,9 @@ function _objectSpread2(e) {
207
207
 
208
208
  function stegaEncode(input, opts) {
209
209
  function rec(sourceOrSelector, recOpts) {
210
+ if (recOpts !== null && recOpts !== void 0 && recOpts.schema && isKeyOfSchema(recOpts === null || recOpts === void 0 ? void 0 : recOpts.schema)) {
211
+ return sourceOrSelector;
212
+ }
210
213
  if (recOpts !== null && recOpts !== void 0 && recOpts.schema && isLiteralSchema(recOpts === null || recOpts === void 0 ? void 0 : recOpts.schema)) {
211
214
  return sourceOrSelector;
212
215
  }
@@ -349,6 +352,9 @@ function unknownSchema(schema) {
349
352
  function isUnionSchema(schema) {
350
353
  return (schema === null || schema === void 0 ? void 0 : schema.type) === "union";
351
354
  }
355
+ function isKeyOfSchema(schema) {
356
+ return (schema === null || schema === void 0 ? void 0 : schema.type) === "keyOf";
357
+ }
352
358
  function isObjectSchema(schema) {
353
359
  return (schema === null || schema === void 0 ? void 0 : schema.type) === "object";
354
360
  }
@@ -207,6 +207,9 @@ function _objectSpread2(e) {
207
207
 
208
208
  function stegaEncode(input, opts) {
209
209
  function rec(sourceOrSelector, recOpts) {
210
+ if (recOpts !== null && recOpts !== void 0 && recOpts.schema && isKeyOfSchema(recOpts === null || recOpts === void 0 ? void 0 : recOpts.schema)) {
211
+ return sourceOrSelector;
212
+ }
210
213
  if (recOpts !== null && recOpts !== void 0 && recOpts.schema && isLiteralSchema(recOpts === null || recOpts === void 0 ? void 0 : recOpts.schema)) {
211
214
  return sourceOrSelector;
212
215
  }
@@ -349,6 +352,9 @@ function unknownSchema(schema) {
349
352
  function isUnionSchema(schema) {
350
353
  return (schema === null || schema === void 0 ? void 0 : schema.type) === "union";
351
354
  }
355
+ function isKeyOfSchema(schema) {
356
+ return (schema === null || schema === void 0 ? void 0 : schema.type) === "keyOf";
357
+ }
352
358
  function isObjectSchema(schema) {
353
359
  return (schema === null || schema === void 0 ? void 0 : schema.type) === "object";
354
360
  }
@@ -197,6 +197,9 @@ function _objectSpread2(e) {
197
197
 
198
198
  function stegaEncode(input, opts) {
199
199
  function rec(sourceOrSelector, recOpts) {
200
+ if (recOpts !== null && recOpts !== void 0 && recOpts.schema && isKeyOfSchema(recOpts === null || recOpts === void 0 ? void 0 : recOpts.schema)) {
201
+ return sourceOrSelector;
202
+ }
200
203
  if (recOpts !== null && recOpts !== void 0 && recOpts.schema && isLiteralSchema(recOpts === null || recOpts === void 0 ? void 0 : recOpts.schema)) {
201
204
  return sourceOrSelector;
202
205
  }
@@ -339,6 +342,9 @@ function unknownSchema(schema) {
339
342
  function isUnionSchema(schema) {
340
343
  return (schema === null || schema === void 0 ? void 0 : schema.type) === "union";
341
344
  }
345
+ function isKeyOfSchema(schema) {
346
+ return (schema === null || schema === void 0 ? void 0 : schema.type) === "keyOf";
347
+ }
342
348
  function isObjectSchema(schema) {
343
349
  return (schema === null || schema === void 0 ? void 0 : schema.type) === "object";
344
350
  }
@@ -197,6 +197,9 @@ function _objectSpread2(e) {
197
197
 
198
198
  function stegaEncode(input, opts) {
199
199
  function rec(sourceOrSelector, recOpts) {
200
+ if (recOpts !== null && recOpts !== void 0 && recOpts.schema && isKeyOfSchema(recOpts === null || recOpts === void 0 ? void 0 : recOpts.schema)) {
201
+ return sourceOrSelector;
202
+ }
200
203
  if (recOpts !== null && recOpts !== void 0 && recOpts.schema && isLiteralSchema(recOpts === null || recOpts === void 0 ? void 0 : recOpts.schema)) {
201
204
  return sourceOrSelector;
202
205
  }
@@ -339,6 +342,9 @@ function unknownSchema(schema) {
339
342
  function isUnionSchema(schema) {
340
343
  return (schema === null || schema === void 0 ? void 0 : schema.type) === "union";
341
344
  }
345
+ function isKeyOfSchema(schema) {
346
+ return (schema === null || schema === void 0 ? void 0 : schema.type) === "keyOf";
347
+ }
342
348
  function isObjectSchema(schema) {
343
349
  return (schema === null || schema === void 0 ? void 0 : schema.type) === "object";
344
350
  }