@timeax/form-palette 0.1.14 → 0.1.15

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/extra.js CHANGED
@@ -15462,6 +15462,13 @@ function isEqualValue2(a3, b2) {
15462
15462
  function asGroupValue(value) {
15463
15463
  if (!value) return void 0;
15464
15464
  if (Array.isArray(value)) return value;
15465
+ if (typeof value == "object")
15466
+ return Object.keys(value).map(
15467
+ (key) => ({
15468
+ value: key,
15469
+ state: value[key]
15470
+ })
15471
+ );
15465
15472
  return void 0;
15466
15473
  }
15467
15474
  function asSingleValue(value) {