@player-ui/player 0.7.0 → 0.7.1-next.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.
@@ -655,19 +655,19 @@ class BindingInstance {
655
655
  }
656
656
  }
657
657
 
658
- var __defProp$e = Object.defineProperty;
659
- var __getOwnPropSymbols$f = Object.getOwnPropertySymbols;
660
- var __hasOwnProp$f = Object.prototype.hasOwnProperty;
661
- var __propIsEnum$f = Object.prototype.propertyIsEnumerable;
662
- var __defNormalProp$e = (obj, key, value) => key in obj ? __defProp$e(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
663
- var __spreadValues$e = (a, b) => {
658
+ var __defProp$d = Object.defineProperty;
659
+ var __getOwnPropSymbols$e = Object.getOwnPropertySymbols;
660
+ var __hasOwnProp$e = Object.prototype.hasOwnProperty;
661
+ var __propIsEnum$e = Object.prototype.propertyIsEnumerable;
662
+ var __defNormalProp$d = (obj, key, value) => key in obj ? __defProp$d(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
663
+ var __spreadValues$d = (a, b) => {
664
664
  for (var prop in b || (b = {}))
665
- if (__hasOwnProp$f.call(b, prop))
666
- __defNormalProp$e(a, prop, b[prop]);
667
- if (__getOwnPropSymbols$f)
668
- for (var prop of __getOwnPropSymbols$f(b)) {
669
- if (__propIsEnum$f.call(b, prop))
670
- __defNormalProp$e(a, prop, b[prop]);
665
+ if (__hasOwnProp$e.call(b, prop))
666
+ __defNormalProp$d(a, prop, b[prop]);
667
+ if (__getOwnPropSymbols$e)
668
+ for (var prop of __getOwnPropSymbols$e(b)) {
669
+ if (__propIsEnum$e.call(b, prop))
670
+ __defNormalProp$d(a, prop, b[prop]);
671
671
  }
672
672
  return a;
673
673
  };
@@ -684,7 +684,7 @@ function resolveBindingAST(bindingPathNode, options, hooks) {
684
684
  if (node.name === "PathNode") {
685
685
  const nestedResolvedValue = resolveBindingAST(node, options);
686
686
  if (nestedResolvedValue.updates) {
687
- context.updates = __spreadValues$e(__spreadValues$e({}, context.updates), nestedResolvedValue.updates);
687
+ context.updates = __spreadValues$d(__spreadValues$d({}, context.updates), nestedResolvedValue.updates);
688
688
  }
689
689
  try {
690
690
  return options.convertToPath(options.getValue(nestedResolvedValue.path));
@@ -713,7 +713,7 @@ function resolveBindingAST(bindingPathNode, options, hooks) {
713
713
  }
714
714
  function resolveNode(_node) {
715
715
  var _a2, _b;
716
- const resolvedNode = (_a2 = hooks == null ? void 0 : hooks.beforeResolveNode.call(_node, __spreadValues$e(__spreadValues$e({}, context), options))) != null ? _a2 : _node;
716
+ const resolvedNode = (_a2 = hooks == null ? void 0 : hooks.beforeResolveNode.call(_node, __spreadValues$d(__spreadValues$d({}, context), options))) != null ? _a2 : _node;
717
717
  switch (resolvedNode.name) {
718
718
  case "Expression":
719
719
  case "PathNode":
@@ -750,19 +750,19 @@ function resolveBindingAST(bindingPathNode, options, hooks) {
750
750
  };
751
751
  }
752
752
 
753
- var __defProp$d = Object.defineProperty;
754
- var __getOwnPropSymbols$e = Object.getOwnPropertySymbols;
755
- var __hasOwnProp$e = Object.prototype.hasOwnProperty;
756
- var __propIsEnum$e = Object.prototype.propertyIsEnumerable;
757
- var __defNormalProp$d = (obj, key, value) => key in obj ? __defProp$d(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
758
- var __spreadValues$d = (a, b) => {
753
+ var __defProp$c = Object.defineProperty;
754
+ var __getOwnPropSymbols$d = Object.getOwnPropertySymbols;
755
+ var __hasOwnProp$d = Object.prototype.hasOwnProperty;
756
+ var __propIsEnum$d = Object.prototype.propertyIsEnumerable;
757
+ var __defNormalProp$c = (obj, key, value) => key in obj ? __defProp$c(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
758
+ var __spreadValues$c = (a, b) => {
759
759
  for (var prop in b || (b = {}))
760
- if (__hasOwnProp$e.call(b, prop))
761
- __defNormalProp$d(a, prop, b[prop]);
762
- if (__getOwnPropSymbols$e)
763
- for (var prop of __getOwnPropSymbols$e(b)) {
764
- if (__propIsEnum$e.call(b, prop))
765
- __defNormalProp$d(a, prop, b[prop]);
760
+ if (__hasOwnProp$d.call(b, prop))
761
+ __defNormalProp$c(a, prop, b[prop]);
762
+ if (__getOwnPropSymbols$d)
763
+ for (var prop of __getOwnPropSymbols$d(b)) {
764
+ if (__propIsEnum$d.call(b, prop))
765
+ __defNormalProp$c(a, prop, b[prop]);
766
766
  }
767
767
  return a;
768
768
  };
@@ -786,7 +786,7 @@ class BindingParser {
786
786
  skipOptimization: new tapable_ts__WEBPACK_IMPORTED_MODULE_1__["SyncBailHook"](),
787
787
  beforeResolveNode: new tapable_ts__WEBPACK_IMPORTED_MODULE_1__["SyncWaterfallHook"]()
788
788
  };
789
- this.parserOptions = __spreadValues$d(__spreadValues$d({}, DEFAULT_OPTIONS), options);
789
+ this.parserOptions = __spreadValues$c(__spreadValues$c({}, DEFAULT_OPTIONS), options);
790
790
  this.cache = {};
791
791
  this.parseCache = {};
792
792
  this.parse = this.parse.bind(this);
@@ -820,7 +820,7 @@ class BindingParser {
820
820
  if (isBinding(rawBinding)) {
821
821
  return rawBinding;
822
822
  }
823
- const options = __spreadValues$d(__spreadValues$d({}, this.parserOptions), overrides);
823
+ const options = __spreadValues$c(__spreadValues$c({}, this.parserOptions), overrides);
824
824
  let updates = {};
825
825
  const joined = Array.isArray(rawBinding) ? rawBinding.join(".") : String(rawBinding);
826
826
  const normalizeConfig = {
@@ -840,7 +840,7 @@ class BindingParser {
840
840
  }
841
841
  const normalized2 = this.normalizePath(String(path), normalizeConfig);
842
842
  if (normalized2.updates) {
843
- updates = __spreadValues$d(__spreadValues$d({}, updates), normalized2.updates);
843
+ updates = __spreadValues$c(__spreadValues$c({}, updates), normalized2.updates);
844
844
  }
845
845
  const joinedNormalizedPath = normalized2.path.join(".");
846
846
  if (joinedNormalizedPath === "") {
@@ -851,7 +851,7 @@ class BindingParser {
851
851
  };
852
852
  const normalized = this.normalizePath(joined, normalizeConfig);
853
853
  if (normalized.updates) {
854
- updates = __spreadValues$d(__spreadValues$d({}, updates), normalized.updates);
854
+ updates = __spreadValues$c(__spreadValues$c({}, updates), normalized.updates);
855
855
  }
856
856
  const updateKeys = Object.keys(updates);
857
857
  if (!options.readOnly && updateKeys.length > 0) {
@@ -1876,25 +1876,25 @@ function isObjectExpression(expr) {
1876
1876
  return typeof expr === "object" && expr !== null && !Array.isArray(expr) && "value" in expr;
1877
1877
  }
1878
1878
 
1879
- var __defProp$c = Object.defineProperty;
1880
- var __defProps$a = Object.defineProperties;
1881
- var __getOwnPropDescs$a = Object.getOwnPropertyDescriptors;
1882
- var __getOwnPropSymbols$d = Object.getOwnPropertySymbols;
1883
- var __hasOwnProp$d = Object.prototype.hasOwnProperty;
1884
- var __propIsEnum$d = Object.prototype.propertyIsEnumerable;
1885
- var __defNormalProp$c = (obj, key, value) => key in obj ? __defProp$c(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
1886
- var __spreadValues$c = (a, b) => {
1879
+ var __defProp$b = Object.defineProperty;
1880
+ var __defProps$9 = Object.defineProperties;
1881
+ var __getOwnPropDescs$9 = Object.getOwnPropertyDescriptors;
1882
+ var __getOwnPropSymbols$c = Object.getOwnPropertySymbols;
1883
+ var __hasOwnProp$c = Object.prototype.hasOwnProperty;
1884
+ var __propIsEnum$c = Object.prototype.propertyIsEnumerable;
1885
+ var __defNormalProp$b = (obj, key, value) => key in obj ? __defProp$b(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
1886
+ var __spreadValues$b = (a, b) => {
1887
1887
  for (var prop in b || (b = {}))
1888
- if (__hasOwnProp$d.call(b, prop))
1889
- __defNormalProp$c(a, prop, b[prop]);
1890
- if (__getOwnPropSymbols$d)
1891
- for (var prop of __getOwnPropSymbols$d(b)) {
1892
- if (__propIsEnum$d.call(b, prop))
1893
- __defNormalProp$c(a, prop, b[prop]);
1888
+ if (__hasOwnProp$c.call(b, prop))
1889
+ __defNormalProp$b(a, prop, b[prop]);
1890
+ if (__getOwnPropSymbols$c)
1891
+ for (var prop of __getOwnPropSymbols$c(b)) {
1892
+ if (__propIsEnum$c.call(b, prop))
1893
+ __defNormalProp$b(a, prop, b[prop]);
1894
1894
  }
1895
1895
  return a;
1896
1896
  };
1897
- var __spreadProps$a = (a, b) => __defProps$a(a, __getOwnPropDescs$a(b));
1897
+ var __spreadProps$9 = (a, b) => __defProps$9(a, __getOwnPropDescs$9(b));
1898
1898
  const andandOperator = (ctx, a, b) => {
1899
1899
  return ctx.evaluate(a) && ctx.evaluate(b);
1900
1900
  };
@@ -1946,7 +1946,7 @@ class ExpressionEvaluator {
1946
1946
  unary: new Map(Object.entries(DEFAULT_UNARY_OPERATORS)),
1947
1947
  expressions: new Map(Object.entries(DEFAULT_EXPRESSION_HANDLERS))
1948
1948
  };
1949
- this.defaultHookOptions = __spreadProps$a(__spreadValues$c({}, defaultOptions), {
1949
+ this.defaultHookOptions = __spreadProps$9(__spreadValues$b({}, defaultOptions), {
1950
1950
  evaluate: (expr) => this.evaluate(expr, this.defaultHookOptions),
1951
1951
  resolveNode: (node) => this._execAST(node, this.defaultHookOptions)
1952
1952
  });
@@ -1958,7 +1958,7 @@ class ExpressionEvaluator {
1958
1958
  }
1959
1959
  evaluate(expr, options) {
1960
1960
  var _a;
1961
- const resolvedOpts = this.hooks.resolveOptions.call(__spreadProps$a(__spreadValues$c(__spreadValues$c({}, this.defaultHookOptions), options), {
1961
+ const resolvedOpts = this.hooks.resolveOptions.call(__spreadProps$9(__spreadValues$b(__spreadValues$b({}, this.defaultHookOptions), options), {
1962
1962
  resolveNode: (node) => this._execAST(node, resolvedOpts)
1963
1963
  }));
1964
1964
  let expression = (_a = this.hooks.beforeEvaluate.call(expr, resolvedOpts)) != null ? _a : expr;
@@ -2024,7 +2024,7 @@ class ExpressionEvaluator {
2024
2024
  }
2025
2025
  _resolveNode(_currentValue, node, options) {
2026
2026
  const { resolveNode, model } = options;
2027
- const expressionContext = __spreadProps$a(__spreadValues$c({}, options), {
2027
+ const expressionContext = __spreadProps$9(__spreadValues$b({}, options), {
2028
2028
  evaluate: (expr) => this.evaluate(expr, options)
2029
2029
  });
2030
2030
  if (node.type === "Literal") {
@@ -2233,33 +2233,33 @@ class ProxyLogger {
2233
2233
  }
2234
2234
  }
2235
2235
 
2236
- var __defProp$b = Object.defineProperty;
2237
- var __defProps$9 = Object.defineProperties;
2238
- var __getOwnPropDescs$9 = Object.getOwnPropertyDescriptors;
2239
- var __getOwnPropSymbols$c = Object.getOwnPropertySymbols;
2240
- var __hasOwnProp$c = Object.prototype.hasOwnProperty;
2241
- var __propIsEnum$c = Object.prototype.propertyIsEnumerable;
2242
- var __defNormalProp$b = (obj, key, value) => key in obj ? __defProp$b(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
2243
- var __spreadValues$b = (a, b) => {
2236
+ var __defProp$a = Object.defineProperty;
2237
+ var __defProps$8 = Object.defineProperties;
2238
+ var __getOwnPropDescs$8 = Object.getOwnPropertyDescriptors;
2239
+ var __getOwnPropSymbols$b = Object.getOwnPropertySymbols;
2240
+ var __hasOwnProp$b = Object.prototype.hasOwnProperty;
2241
+ var __propIsEnum$b = Object.prototype.propertyIsEnumerable;
2242
+ var __defNormalProp$a = (obj, key, value) => key in obj ? __defProp$a(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
2243
+ var __spreadValues$a = (a, b) => {
2244
2244
  for (var prop in b || (b = {}))
2245
- if (__hasOwnProp$c.call(b, prop))
2246
- __defNormalProp$b(a, prop, b[prop]);
2247
- if (__getOwnPropSymbols$c)
2248
- for (var prop of __getOwnPropSymbols$c(b)) {
2249
- if (__propIsEnum$c.call(b, prop))
2250
- __defNormalProp$b(a, prop, b[prop]);
2245
+ if (__hasOwnProp$b.call(b, prop))
2246
+ __defNormalProp$a(a, prop, b[prop]);
2247
+ if (__getOwnPropSymbols$b)
2248
+ for (var prop of __getOwnPropSymbols$b(b)) {
2249
+ if (__propIsEnum$b.call(b, prop))
2250
+ __defNormalProp$a(a, prop, b[prop]);
2251
2251
  }
2252
2252
  return a;
2253
2253
  };
2254
- var __spreadProps$9 = (a, b) => __defProps$9(a, __getOwnPropDescs$9(b));
2254
+ var __spreadProps$8 = (a, b) => __defProps$8(a, __getOwnPropDescs$8(b));
2255
2255
  var __objRest$2 = (source, exclude) => {
2256
2256
  var target = {};
2257
2257
  for (var prop in source)
2258
- if (__hasOwnProp$c.call(source, prop) && exclude.indexOf(prop) < 0)
2258
+ if (__hasOwnProp$b.call(source, prop) && exclude.indexOf(prop) < 0)
2259
2259
  target[prop] = source[prop];
2260
- if (source != null && __getOwnPropSymbols$c)
2261
- for (var prop of __getOwnPropSymbols$c(source)) {
2262
- if (exclude.indexOf(prop) < 0 && __propIsEnum$c.call(source, prop))
2260
+ if (source != null && __getOwnPropSymbols$b)
2261
+ for (var prop of __getOwnPropSymbols$b(source)) {
2262
+ if (exclude.indexOf(prop) < 0 && __propIsEnum$b.call(source, prop))
2263
2263
  target[prop] = source[prop];
2264
2264
  }
2265
2265
  return target;
@@ -2331,7 +2331,7 @@ class SchemaController {
2331
2331
  if (!((_a = typeDef == null ? void 0 : typeDef.validation) == null ? void 0 : _a.length)) {
2332
2332
  return void 0;
2333
2333
  }
2334
- return typeDef.validation.map((vRef) => __spreadValues$b({
2334
+ return typeDef.validation.map((vRef) => __spreadValues$a({
2335
2335
  severity: "error",
2336
2336
  trigger: "change"
2337
2337
  }, vRef));
@@ -2370,7 +2370,7 @@ class SchemaController {
2370
2370
  if (baseType === void 0) {
2371
2371
  return schemaType;
2372
2372
  }
2373
- return __spreadProps$9(__spreadValues$b(__spreadValues$b({}, baseType), schemaType), {
2373
+ return __spreadProps$8(__spreadValues$a(__spreadValues$a({}, baseType), schemaType), {
2374
2374
  validation: [
2375
2375
  ...(_a = schemaType.validation) != null ? _a : [],
2376
2376
  ...(_b = baseType.validation) != null ? _b : []
@@ -2536,25 +2536,25 @@ function removeBindingAndChildrenFromMap(sourceMap, binding) {
2536
2536
  return targetMap;
2537
2537
  }
2538
2538
 
2539
- var __defProp$a = Object.defineProperty;
2540
- var __defProps$8 = Object.defineProperties;
2541
- var __getOwnPropDescs$8 = Object.getOwnPropertyDescriptors;
2542
- var __getOwnPropSymbols$b = Object.getOwnPropertySymbols;
2543
- var __hasOwnProp$b = Object.prototype.hasOwnProperty;
2544
- var __propIsEnum$b = Object.prototype.propertyIsEnumerable;
2545
- var __defNormalProp$a = (obj, key, value) => key in obj ? __defProp$a(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
2546
- var __spreadValues$a = (a, b) => {
2539
+ var __defProp$9 = Object.defineProperty;
2540
+ var __defProps$7 = Object.defineProperties;
2541
+ var __getOwnPropDescs$7 = Object.getOwnPropertyDescriptors;
2542
+ var __getOwnPropSymbols$a = Object.getOwnPropertySymbols;
2543
+ var __hasOwnProp$a = Object.prototype.hasOwnProperty;
2544
+ var __propIsEnum$a = Object.prototype.propertyIsEnumerable;
2545
+ var __defNormalProp$9 = (obj, key, value) => key in obj ? __defProp$9(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
2546
+ var __spreadValues$9 = (a, b) => {
2547
2547
  for (var prop in b || (b = {}))
2548
- if (__hasOwnProp$b.call(b, prop))
2549
- __defNormalProp$a(a, prop, b[prop]);
2550
- if (__getOwnPropSymbols$b)
2551
- for (var prop of __getOwnPropSymbols$b(b)) {
2552
- if (__propIsEnum$b.call(b, prop))
2553
- __defNormalProp$a(a, prop, b[prop]);
2548
+ if (__hasOwnProp$a.call(b, prop))
2549
+ __defNormalProp$9(a, prop, b[prop]);
2550
+ if (__getOwnPropSymbols$a)
2551
+ for (var prop of __getOwnPropSymbols$a(b)) {
2552
+ if (__propIsEnum$a.call(b, prop))
2553
+ __defNormalProp$9(a, prop, b[prop]);
2554
2554
  }
2555
2555
  return a;
2556
2556
  };
2557
- var __spreadProps$8 = (a, b) => __defProps$8(a, __getOwnPropDescs$8(b));
2557
+ var __spreadProps$7 = (a, b) => __defProps$7(a, __getOwnPropDescs$7(b));
2558
2558
  class ValidationMiddleware {
2559
2559
  constructor(validator, options) {
2560
2560
  this.validator = validator;
@@ -2563,7 +2563,7 @@ class ValidationMiddleware {
2563
2563
  this.shouldIncludeInvalid = options == null ? void 0 : options.shouldIncludeInvalid;
2564
2564
  }
2565
2565
  set(transaction, options, next) {
2566
- const asModel = toModel(this, __spreadProps$8(__spreadValues$a({}, options), { includeInvalid: true }), next);
2566
+ const asModel = toModel(this, __spreadProps$7(__spreadValues$9({}, options), { includeInvalid: true }), next);
2567
2567
  const nextTransaction = [];
2568
2568
  const includedBindings = new Set();
2569
2569
  transaction.forEach(([binding, value]) => {
@@ -2668,33 +2668,33 @@ function getNodeID(node) {
2668
2668
  }
2669
2669
  }
2670
2670
 
2671
- var __defProp$9 = Object.defineProperty;
2672
- var __defProps$7 = Object.defineProperties;
2673
- var __getOwnPropDescs$7 = Object.getOwnPropertyDescriptors;
2674
- var __getOwnPropSymbols$a = Object.getOwnPropertySymbols;
2675
- var __hasOwnProp$a = Object.prototype.hasOwnProperty;
2676
- var __propIsEnum$a = Object.prototype.propertyIsEnumerable;
2677
- var __defNormalProp$9 = (obj, key, value) => key in obj ? __defProp$9(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
2678
- var __spreadValues$9 = (a, b) => {
2671
+ var __defProp$8 = Object.defineProperty;
2672
+ var __defProps$6 = Object.defineProperties;
2673
+ var __getOwnPropDescs$6 = Object.getOwnPropertyDescriptors;
2674
+ var __getOwnPropSymbols$9 = Object.getOwnPropertySymbols;
2675
+ var __hasOwnProp$9 = Object.prototype.hasOwnProperty;
2676
+ var __propIsEnum$9 = Object.prototype.propertyIsEnumerable;
2677
+ var __defNormalProp$8 = (obj, key, value) => key in obj ? __defProp$8(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
2678
+ var __spreadValues$8 = (a, b) => {
2679
2679
  for (var prop in b || (b = {}))
2680
- if (__hasOwnProp$a.call(b, prop))
2681
- __defNormalProp$9(a, prop, b[prop]);
2682
- if (__getOwnPropSymbols$a)
2683
- for (var prop of __getOwnPropSymbols$a(b)) {
2684
- if (__propIsEnum$a.call(b, prop))
2685
- __defNormalProp$9(a, prop, b[prop]);
2680
+ if (__hasOwnProp$9.call(b, prop))
2681
+ __defNormalProp$8(a, prop, b[prop]);
2682
+ if (__getOwnPropSymbols$9)
2683
+ for (var prop of __getOwnPropSymbols$9(b)) {
2684
+ if (__propIsEnum$9.call(b, prop))
2685
+ __defNormalProp$8(a, prop, b[prop]);
2686
2686
  }
2687
2687
  return a;
2688
2688
  };
2689
- var __spreadProps$7 = (a, b) => __defProps$7(a, __getOwnPropDescs$7(b));
2689
+ var __spreadProps$6 = (a, b) => __defProps$6(a, __getOwnPropDescs$6(b));
2690
2690
  var __objRest$1 = (source, exclude) => {
2691
2691
  var target = {};
2692
2692
  for (var prop in source)
2693
- if (__hasOwnProp$a.call(source, prop) && exclude.indexOf(prop) < 0)
2693
+ if (__hasOwnProp$9.call(source, prop) && exclude.indexOf(prop) < 0)
2694
2694
  target[prop] = source[prop];
2695
- if (source != null && __getOwnPropSymbols$a)
2696
- for (var prop of __getOwnPropSymbols$a(source)) {
2697
- if (exclude.indexOf(prop) < 0 && __propIsEnum$a.call(source, prop))
2695
+ if (source != null && __getOwnPropSymbols$9)
2696
+ for (var prop of __getOwnPropSymbols$9(source)) {
2697
+ if (exclude.indexOf(prop) < 0 && __propIsEnum$9.call(source, prop))
2698
2698
  target[prop] = source[prop];
2699
2699
  }
2700
2700
  return target;
@@ -2775,7 +2775,7 @@ class Parser {
2775
2775
  if (localKey === "asset" && typeof localValue === "object") {
2776
2776
  const assetAST = this.parseObject(localValue, NodeType.Asset, options);
2777
2777
  if (assetAST) {
2778
- return __spreadProps$7(__spreadValues$9({}, rest), {
2778
+ return __spreadProps$6(__spreadValues$8({}, rest), {
2779
2779
  children: [
2780
2780
  ...children2,
2781
2781
  {
@@ -2808,14 +2808,14 @@ class Parser {
2808
2808
  }
2809
2809
  return;
2810
2810
  }).filter((element) => !!element);
2811
- return __spreadProps$7(__spreadValues$9({}, rest), {
2811
+ return __spreadProps$6(__spreadValues$8({}, rest), {
2812
2812
  children: [...children2, ...templateChildren]
2813
2813
  });
2814
2814
  } else if (localValue && this.hooks.determineNodeType.call(localValue) === NodeType.Switch) {
2815
2815
  const localSwitch = this.hooks.parseNode.call(localValue, NodeType.Value, options, NodeType.Switch);
2816
2816
  if (localSwitch && localSwitch.type === NodeType.Value && ((_b = localSwitch.children) == null ? void 0 : _b.length) === 1 && localSwitch.value === void 0) {
2817
2817
  const firstChild = localSwitch.children[0];
2818
- return __spreadProps$7(__spreadValues$9({}, rest), {
2818
+ return __spreadProps$6(__spreadValues$8({}, rest), {
2819
2819
  children: [
2820
2820
  ...children2,
2821
2821
  {
@@ -2826,7 +2826,7 @@ class Parser {
2826
2826
  });
2827
2827
  }
2828
2828
  if (localSwitch) {
2829
- return __spreadProps$7(__spreadValues$9({}, rest), {
2829
+ return __spreadProps$6(__spreadValues$8({}, rest), {
2830
2830
  children: [
2831
2831
  ...children2,
2832
2832
  {
@@ -2858,7 +2858,7 @@ class Parser {
2858
2858
  });
2859
2859
  }
2860
2860
  if (multiNode) {
2861
- return __spreadProps$7(__spreadValues$9({}, rest), {
2861
+ return __spreadProps$6(__spreadValues$8({}, rest), {
2862
2862
  children: [
2863
2863
  ...children2,
2864
2864
  {
@@ -2874,7 +2874,7 @@ class Parser {
2874
2874
  if (determineNodeType === NodeType.Applicability) {
2875
2875
  const parsedNode = this.hooks.parseNode.call(localValue, NodeType.Value, options, determineNodeType);
2876
2876
  if (parsedNode) {
2877
- return __spreadProps$7(__spreadValues$9({}, rest), {
2877
+ return __spreadProps$6(__spreadValues$8({}, rest), {
2878
2878
  children: [
2879
2879
  ...children2,
2880
2880
  {
@@ -2921,25 +2921,25 @@ class Parser {
2921
2921
  }
2922
2922
  }
2923
2923
 
2924
- var __defProp$8 = Object.defineProperty;
2925
- var __defProps$6 = Object.defineProperties;
2926
- var __getOwnPropDescs$6 = Object.getOwnPropertyDescriptors;
2927
- var __getOwnPropSymbols$9 = Object.getOwnPropertySymbols;
2928
- var __hasOwnProp$9 = Object.prototype.hasOwnProperty;
2929
- var __propIsEnum$9 = Object.prototype.propertyIsEnumerable;
2930
- var __defNormalProp$8 = (obj, key, value) => key in obj ? __defProp$8(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
2931
- var __spreadValues$8 = (a, b) => {
2924
+ var __defProp$7 = Object.defineProperty;
2925
+ var __defProps$5 = Object.defineProperties;
2926
+ var __getOwnPropDescs$5 = Object.getOwnPropertyDescriptors;
2927
+ var __getOwnPropSymbols$8 = Object.getOwnPropertySymbols;
2928
+ var __hasOwnProp$8 = Object.prototype.hasOwnProperty;
2929
+ var __propIsEnum$8 = Object.prototype.propertyIsEnumerable;
2930
+ var __defNormalProp$7 = (obj, key, value) => key in obj ? __defProp$7(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
2931
+ var __spreadValues$7 = (a, b) => {
2932
2932
  for (var prop in b || (b = {}))
2933
- if (__hasOwnProp$9.call(b, prop))
2934
- __defNormalProp$8(a, prop, b[prop]);
2935
- if (__getOwnPropSymbols$9)
2936
- for (var prop of __getOwnPropSymbols$9(b)) {
2937
- if (__propIsEnum$9.call(b, prop))
2938
- __defNormalProp$8(a, prop, b[prop]);
2933
+ if (__hasOwnProp$8.call(b, prop))
2934
+ __defNormalProp$7(a, prop, b[prop]);
2935
+ if (__getOwnPropSymbols$8)
2936
+ for (var prop of __getOwnPropSymbols$8(b)) {
2937
+ if (__propIsEnum$8.call(b, prop))
2938
+ __defNormalProp$7(a, prop, b[prop]);
2939
2939
  }
2940
2940
  return a;
2941
2941
  };
2942
- var __spreadProps$6 = (a, b) => __defProps$6(a, __getOwnPropDescs$6(b));
2942
+ var __spreadProps$5 = (a, b) => __defProps$5(a, __getOwnPropDescs$5(b));
2943
2943
  function caresAboutDataChanges(dataChanges, dependencies) {
2944
2944
  if (!dataChanges || !dependencies) {
2945
2945
  return true;
@@ -2949,7 +2949,7 @@ function caresAboutDataChanges(dataChanges, dependencies) {
2949
2949
  return depArray.find((dep) => !!dataChangeArray.find((change) => change === dep || change.contains(dep) || dep.contains(change))) !== void 0;
2950
2950
  }
2951
2951
  function toNodeResolveOptions(resolverOptions) {
2952
- return __spreadProps$6(__spreadValues$8({}, resolverOptions), {
2952
+ return __spreadProps$5(__spreadValues$7({}, resolverOptions), {
2953
2953
  data: {
2954
2954
  model: resolverOptions.model,
2955
2955
  formatValue: (ref, value) => {
@@ -2973,39 +2973,39 @@ function unpackAndPush(item, initial) {
2973
2973
  }
2974
2974
  }
2975
2975
 
2976
- var __defProp$7 = Object.defineProperty;
2977
- var __defProps$5 = Object.defineProperties;
2978
- var __getOwnPropDescs$5 = Object.getOwnPropertyDescriptors;
2979
- var __getOwnPropSymbols$8 = Object.getOwnPropertySymbols;
2980
- var __hasOwnProp$8 = Object.prototype.hasOwnProperty;
2981
- var __propIsEnum$8 = Object.prototype.propertyIsEnumerable;
2982
- var __defNormalProp$7 = (obj, key, value) => key in obj ? __defProp$7(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
2983
- var __spreadValues$7 = (a, b) => {
2976
+ var __defProp$6 = Object.defineProperty;
2977
+ var __defProps$4 = Object.defineProperties;
2978
+ var __getOwnPropDescs$4 = Object.getOwnPropertyDescriptors;
2979
+ var __getOwnPropSymbols$7 = Object.getOwnPropertySymbols;
2980
+ var __hasOwnProp$7 = Object.prototype.hasOwnProperty;
2981
+ var __propIsEnum$7 = Object.prototype.propertyIsEnumerable;
2982
+ var __defNormalProp$6 = (obj, key, value) => key in obj ? __defProp$6(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
2983
+ var __spreadValues$6 = (a, b) => {
2984
2984
  for (var prop in b || (b = {}))
2985
- if (__hasOwnProp$8.call(b, prop))
2986
- __defNormalProp$7(a, prop, b[prop]);
2987
- if (__getOwnPropSymbols$8)
2988
- for (var prop of __getOwnPropSymbols$8(b)) {
2989
- if (__propIsEnum$8.call(b, prop))
2990
- __defNormalProp$7(a, prop, b[prop]);
2985
+ if (__hasOwnProp$7.call(b, prop))
2986
+ __defNormalProp$6(a, prop, b[prop]);
2987
+ if (__getOwnPropSymbols$7)
2988
+ for (var prop of __getOwnPropSymbols$7(b)) {
2989
+ if (__propIsEnum$7.call(b, prop))
2990
+ __defNormalProp$6(a, prop, b[prop]);
2991
2991
  }
2992
2992
  return a;
2993
2993
  };
2994
- var __spreadProps$5 = (a, b) => __defProps$5(a, __getOwnPropDescs$5(b));
2994
+ var __spreadProps$4 = (a, b) => __defProps$4(a, __getOwnPropDescs$4(b));
2995
2995
  const withContext = (model) => {
2996
2996
  return {
2997
2997
  get: (binding, options) => {
2998
- return model.get(binding, __spreadValues$7({
2998
+ return model.get(binding, __spreadValues$6({
2999
2999
  context: { model }
3000
3000
  }, options));
3001
3001
  },
3002
3002
  set: (transaction, options) => {
3003
- return model.set(transaction, __spreadValues$7({
3003
+ return model.set(transaction, __spreadValues$6({
3004
3004
  context: { model }
3005
3005
  }, options));
3006
3006
  },
3007
3007
  delete: (binding, options) => {
3008
- return model.delete(binding, __spreadValues$7({
3008
+ return model.delete(binding, __spreadValues$6({
3009
3009
  context: { model }
3010
3010
  }, options));
3011
3011
  }
@@ -3076,7 +3076,7 @@ class Resolver {
3076
3076
  return;
3077
3077
  const value = clonedNode[key];
3078
3078
  if (typeof value === "object" && value !== null) {
3079
- clonedNode[key] = Array.isArray(value) ? [...value] : __spreadValues$7({}, value);
3079
+ clonedNode[key] = Array.isArray(value) ? [...value] : __spreadValues$6({}, value);
3080
3080
  }
3081
3081
  });
3082
3082
  return clonedNode;
@@ -3086,8 +3086,8 @@ class Resolver {
3086
3086
  const dependencyModel = new DependencyModel(options.data.model);
3087
3087
  dependencyModel.trackSubset("core");
3088
3088
  const depModelWithParser = withContext(withParser(dependencyModel, this.options.parseBinding));
3089
- const resolveOptions = this.hooks.resolveOptions.call(__spreadProps$5(__spreadValues$7({}, options), {
3090
- data: __spreadProps$5(__spreadValues$7({}, options.data), {
3089
+ const resolveOptions = this.hooks.resolveOptions.call(__spreadProps$4(__spreadValues$6({}, options), {
3090
+ data: __spreadProps$4(__spreadValues$6({}, options.data), {
3091
3091
  model: depModelWithParser
3092
3092
  }),
3093
3093
  evaluate: (exp) => this.options.evaluator.evaluate(exp, { model: depModelWithParser }),
@@ -3097,7 +3097,7 @@ class Resolver {
3097
3097
  const previousDeps = previousResult == null ? void 0 : previousResult.dependencies;
3098
3098
  const dataChanged = caresAboutDataChanges(dataChanges, previousDeps);
3099
3099
  const shouldUseLastValue = this.hooks.skipResolve.call(!dataChanged, node, resolveOptions);
3100
- const clonedNode = __spreadProps$5(__spreadValues$7({}, this.cloneNode(node)), {
3100
+ const clonedNode = __spreadProps$4(__spreadValues$6({}, this.cloneNode(node)), {
3101
3101
  parent: partiallyResolvedParent
3102
3102
  });
3103
3103
  const resolvedAST = (_a = this.hooks.beforeResolve.call(clonedNode, resolveOptions)) != null ? _a : {
@@ -3105,14 +3105,14 @@ class Resolver {
3105
3105
  };
3106
3106
  const isNestedMultiNode = resolvedAST.type === NodeType.MultiNode && ((_b = partiallyResolvedParent == null ? void 0 : partiallyResolvedParent.parent) == null ? void 0 : _b.type) === NodeType.MultiNode && partiallyResolvedParent.type === NodeType.Value;
3107
3107
  if (previousResult && shouldUseLastValue) {
3108
- const update2 = __spreadProps$5(__spreadValues$7({}, previousResult), {
3108
+ const update2 = __spreadProps$4(__spreadValues$6({}, previousResult), {
3109
3109
  updated: false
3110
3110
  });
3111
3111
  const repopulateASTMapFromCache = (resolvedNode, AST, ASTParent) => {
3112
3112
  var _a2;
3113
3113
  const { node: resolvedASTLocal } = resolvedNode;
3114
3114
  this.ASTMap.set(resolvedASTLocal, AST);
3115
- const resolvedUpdate = __spreadProps$5(__spreadValues$7({}, resolvedNode), {
3115
+ const resolvedUpdate = __spreadProps$4(__spreadValues$6({}, resolvedNode), {
3116
3116
  updated: false
3117
3117
  });
3118
3118
  cacheUpdate.set(AST, resolvedUpdate);
@@ -3164,7 +3164,7 @@ class Resolver {
3164
3164
  }
3165
3165
  }
3166
3166
  updated = updated || childUpdated;
3167
- return __spreadProps$5(__spreadValues$7({}, child), { value: childNode });
3167
+ return __spreadProps$4(__spreadValues$6({}, child), { value: childNode });
3168
3168
  });
3169
3169
  resolvedAST.children = newChildren;
3170
3170
  } else if (resolvedAST.type === NodeType.MultiNode) {
@@ -3194,7 +3194,7 @@ class Resolver {
3194
3194
  if (previousResult && !updated) {
3195
3195
  resolved = previousResult == null ? void 0 : previousResult.value;
3196
3196
  }
3197
- resolved = this.hooks.afterResolve.call(resolved, resolvedAST, __spreadProps$5(__spreadValues$7({}, resolveOptions), {
3197
+ resolved = this.hooks.afterResolve.call(resolved, resolvedAST, __spreadProps$4(__spreadValues$6({}, resolveOptions), {
3198
3198
  getDependencies: (scope) => dependencyModel.getDependencies(scope)
3199
3199
  }));
3200
3200
  const update = {
@@ -3447,17 +3447,17 @@ class ApplicabilityPlugin {
3447
3447
  }
3448
3448
  }
3449
3449
 
3450
- var __getOwnPropSymbols$7 = Object.getOwnPropertySymbols;
3451
- var __hasOwnProp$7 = Object.prototype.hasOwnProperty;
3452
- var __propIsEnum$7 = Object.prototype.propertyIsEnumerable;
3450
+ var __getOwnPropSymbols$6 = Object.getOwnPropertySymbols;
3451
+ var __hasOwnProp$6 = Object.prototype.hasOwnProperty;
3452
+ var __propIsEnum$6 = Object.prototype.propertyIsEnumerable;
3453
3453
  var __objRest = (source, exclude) => {
3454
3454
  var target = {};
3455
3455
  for (var prop in source)
3456
- if (__hasOwnProp$7.call(source, prop) && exclude.indexOf(prop) < 0)
3456
+ if (__hasOwnProp$6.call(source, prop) && exclude.indexOf(prop) < 0)
3457
3457
  target[prop] = source[prop];
3458
- if (source != null && __getOwnPropSymbols$7)
3459
- for (var prop of __getOwnPropSymbols$7(source)) {
3460
- if (exclude.indexOf(prop) < 0 && __propIsEnum$7.call(source, prop))
3458
+ if (source != null && __getOwnPropSymbols$6)
3459
+ for (var prop of __getOwnPropSymbols$6(source)) {
3460
+ if (exclude.indexOf(prop) < 0 && __propIsEnum$6.call(source, prop))
3461
3461
  target[prop] = source[prop];
3462
3462
  }
3463
3463
  return target;
@@ -3533,25 +3533,25 @@ class SwitchPlugin {
3533
3533
  }
3534
3534
  }
3535
3535
 
3536
- var __defProp$6 = Object.defineProperty;
3537
- var __defProps$4 = Object.defineProperties;
3538
- var __getOwnPropDescs$4 = Object.getOwnPropertyDescriptors;
3539
- var __getOwnPropSymbols$6 = Object.getOwnPropertySymbols;
3540
- var __hasOwnProp$6 = Object.prototype.hasOwnProperty;
3541
- var __propIsEnum$6 = Object.prototype.propertyIsEnumerable;
3542
- var __defNormalProp$6 = (obj, key, value) => key in obj ? __defProp$6(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3543
- var __spreadValues$6 = (a, b) => {
3536
+ var __defProp$5 = Object.defineProperty;
3537
+ var __defProps$3 = Object.defineProperties;
3538
+ var __getOwnPropDescs$3 = Object.getOwnPropertyDescriptors;
3539
+ var __getOwnPropSymbols$5 = Object.getOwnPropertySymbols;
3540
+ var __hasOwnProp$5 = Object.prototype.hasOwnProperty;
3541
+ var __propIsEnum$5 = Object.prototype.propertyIsEnumerable;
3542
+ var __defNormalProp$5 = (obj, key, value) => key in obj ? __defProp$5(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3543
+ var __spreadValues$5 = (a, b) => {
3544
3544
  for (var prop in b || (b = {}))
3545
- if (__hasOwnProp$6.call(b, prop))
3546
- __defNormalProp$6(a, prop, b[prop]);
3547
- if (__getOwnPropSymbols$6)
3548
- for (var prop of __getOwnPropSymbols$6(b)) {
3549
- if (__propIsEnum$6.call(b, prop))
3550
- __defNormalProp$6(a, prop, b[prop]);
3545
+ if (__hasOwnProp$5.call(b, prop))
3546
+ __defNormalProp$5(a, prop, b[prop]);
3547
+ if (__getOwnPropSymbols$5)
3548
+ for (var prop of __getOwnPropSymbols$5(b)) {
3549
+ if (__propIsEnum$5.call(b, prop))
3550
+ __defNormalProp$5(a, prop, b[prop]);
3551
3551
  }
3552
3552
  return a;
3553
3553
  };
3554
- var __spreadProps$4 = (a, b) => __defProps$4(a, __getOwnPropDescs$4(b));
3554
+ var __spreadProps$3 = (a, b) => __defProps$3(a, __getOwnPropDescs$3(b));
3555
3555
  class CrossfieldProvider {
3556
3556
  constructor(initialView, parser, logger) {
3557
3557
  this.allValidations = new Set();
@@ -3571,7 +3571,7 @@ class CrossfieldProvider {
3571
3571
  }
3572
3572
  xfieldRefs.forEach((vRef) => {
3573
3573
  var _a2;
3574
- const withDefaults = __spreadValues$6({
3574
+ const withDefaults = __spreadValues$5({
3575
3575
  trigger: "navigation",
3576
3576
  severity: "error"
3577
3577
  }, vRef);
@@ -3622,7 +3622,7 @@ class ViewInstance {
3622
3622
  const parser = new Parser();
3623
3623
  this.hooks.parser.call(parser);
3624
3624
  this.rootNode = parser.parseView(this.initialView);
3625
- this.resolver = new Resolver(this.rootNode, __spreadProps$4(__spreadValues$6({}, this.resolverOptions), {
3625
+ this.resolver = new Resolver(this.rootNode, __spreadProps$3(__spreadValues$5({}, this.resolverOptions), {
3626
3626
  parseNode: parser.parseObject.bind(parser)
3627
3627
  }));
3628
3628
  this.hooks.resolver.call(this.resolver);
@@ -3677,19 +3677,19 @@ class Builder {
3677
3677
  }
3678
3678
  }
3679
3679
 
3680
- var __defProp$5 = Object.defineProperty;
3681
- var __getOwnPropSymbols$5 = Object.getOwnPropertySymbols;
3682
- var __hasOwnProp$5 = Object.prototype.hasOwnProperty;
3683
- var __propIsEnum$5 = Object.prototype.propertyIsEnumerable;
3684
- var __defNormalProp$5 = (obj, key, value) => key in obj ? __defProp$5(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3685
- var __spreadValues$5 = (a, b) => {
3680
+ var __defProp$4 = Object.defineProperty;
3681
+ var __getOwnPropSymbols$4 = Object.getOwnPropertySymbols;
3682
+ var __hasOwnProp$4 = Object.prototype.hasOwnProperty;
3683
+ var __propIsEnum$4 = Object.prototype.propertyIsEnumerable;
3684
+ var __defNormalProp$4 = (obj, key, value) => key in obj ? __defProp$4(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3685
+ var __spreadValues$4 = (a, b) => {
3686
3686
  for (var prop in b || (b = {}))
3687
- if (__hasOwnProp$5.call(b, prop))
3688
- __defNormalProp$5(a, prop, b[prop]);
3689
- if (__getOwnPropSymbols$5)
3690
- for (var prop of __getOwnPropSymbols$5(b)) {
3691
- if (__propIsEnum$5.call(b, prop))
3692
- __defNormalProp$5(a, prop, b[prop]);
3687
+ if (__hasOwnProp$4.call(b, prop))
3688
+ __defNormalProp$4(a, prop, b[prop]);
3689
+ if (__getOwnPropSymbols$4)
3690
+ for (var prop of __getOwnPropSymbols$4(b)) {
3691
+ if (__propIsEnum$4.call(b, prop))
3692
+ __defNormalProp$4(a, prop, b[prop]);
3693
3693
  }
3694
3694
  return a;
3695
3695
  };
@@ -3813,7 +3813,7 @@ class FlowInstance {
3813
3813
  if (newCurrentState.value.state_type === "END" && this.flow.onEnd) {
3814
3814
  this.hooks.onEnd.call(this.flow.onEnd);
3815
3815
  }
3816
- this.hooks.transition.call(prevState, __spreadValues$5({}, newCurrentState));
3816
+ this.hooks.transition.call(prevState, __spreadValues$4({}, newCurrentState));
3817
3817
  this.isTransitioning = false;
3818
3818
  this.hooks.afterTransition.call(this);
3819
3819
  }
@@ -3912,25 +3912,25 @@ function replaceParams(message, params) {
3912
3912
  return message.slice().replace(ANY_CHAR_REGEX, (keyExpr) => params[keyExpr.slice(1)] || keyExpr);
3913
3913
  }
3914
3914
 
3915
- var __defProp$4 = Object.defineProperty;
3916
- var __defProps$3 = Object.defineProperties;
3917
- var __getOwnPropDescs$3 = Object.getOwnPropertyDescriptors;
3918
- var __getOwnPropSymbols$4 = Object.getOwnPropertySymbols;
3919
- var __hasOwnProp$4 = Object.prototype.hasOwnProperty;
3920
- var __propIsEnum$4 = Object.prototype.propertyIsEnumerable;
3921
- var __defNormalProp$4 = (obj, key, value) => key in obj ? __defProp$4(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3922
- var __spreadValues$4 = (a, b) => {
3915
+ var __defProp$3 = Object.defineProperty;
3916
+ var __defProps$2 = Object.defineProperties;
3917
+ var __getOwnPropDescs$2 = Object.getOwnPropertyDescriptors;
3918
+ var __getOwnPropSymbols$3 = Object.getOwnPropertySymbols;
3919
+ var __hasOwnProp$3 = Object.prototype.hasOwnProperty;
3920
+ var __propIsEnum$3 = Object.prototype.propertyIsEnumerable;
3921
+ var __defNormalProp$3 = (obj, key, value) => key in obj ? __defProp$3(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3922
+ var __spreadValues$3 = (a, b) => {
3923
3923
  for (var prop in b || (b = {}))
3924
- if (__hasOwnProp$4.call(b, prop))
3925
- __defNormalProp$4(a, prop, b[prop]);
3926
- if (__getOwnPropSymbols$4)
3927
- for (var prop of __getOwnPropSymbols$4(b)) {
3928
- if (__propIsEnum$4.call(b, prop))
3929
- __defNormalProp$4(a, prop, b[prop]);
3924
+ if (__hasOwnProp$3.call(b, prop))
3925
+ __defNormalProp$3(a, prop, b[prop]);
3926
+ if (__getOwnPropSymbols$3)
3927
+ for (var prop of __getOwnPropSymbols$3(b)) {
3928
+ if (__propIsEnum$3.call(b, prop))
3929
+ __defNormalProp$3(a, prop, b[prop]);
3930
3930
  }
3931
3931
  return a;
3932
3932
  };
3933
- var __spreadProps$3 = (a, b) => __defProps$3(a, __getOwnPropDescs$3(b));
3933
+ var __spreadProps$2 = (a, b) => __defProps$2(a, __getOwnPropDescs$2(b));
3934
3934
  const CONTEXT = "validation-binding-tracker";
3935
3935
  class ValidationBindingTrackerViewPlugin {
3936
3936
  constructor(options) {
@@ -4001,8 +4001,8 @@ class ValidationBindingTrackerViewPlugin {
4001
4001
  this.trackedBindings.add(parsed);
4002
4002
  (_d = (_c = this.options.callbacks) == null ? void 0 : _c.onAdd) == null ? void 0 : _d.call(_c, parsed);
4003
4003
  };
4004
- return __spreadProps$3(__spreadValues$4({}, options), {
4005
- validation: __spreadProps$3(__spreadValues$4({}, options.validation), {
4004
+ return __spreadProps$2(__spreadValues$3({}, options), {
4005
+ validation: __spreadProps$2(__spreadValues$3({}, options.validation), {
4006
4006
  get: (binding, getOptions) => {
4007
4007
  var _a, _b;
4008
4008
  if (getOptions == null ? void 0 : getOptions.track) {
@@ -4093,25 +4093,25 @@ class ValidationBindingTrackerViewPlugin {
4093
4093
  }
4094
4094
  }
4095
4095
 
4096
- var __defProp$3 = Object.defineProperty;
4097
- var __defProps$2 = Object.defineProperties;
4098
- var __getOwnPropDescs$2 = Object.getOwnPropertyDescriptors;
4099
- var __getOwnPropSymbols$3 = Object.getOwnPropertySymbols;
4100
- var __hasOwnProp$3 = Object.prototype.hasOwnProperty;
4101
- var __propIsEnum$3 = Object.prototype.propertyIsEnumerable;
4102
- var __defNormalProp$3 = (obj, key, value) => key in obj ? __defProp$3(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
4103
- var __spreadValues$3 = (a, b) => {
4096
+ var __defProp$2 = Object.defineProperty;
4097
+ var __defProps$1 = Object.defineProperties;
4098
+ var __getOwnPropDescs$1 = Object.getOwnPropertyDescriptors;
4099
+ var __getOwnPropSymbols$2 = Object.getOwnPropertySymbols;
4100
+ var __hasOwnProp$2 = Object.prototype.hasOwnProperty;
4101
+ var __propIsEnum$2 = Object.prototype.propertyIsEnumerable;
4102
+ var __defNormalProp$2 = (obj, key, value) => key in obj ? __defProp$2(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
4103
+ var __spreadValues$2 = (a, b) => {
4104
4104
  for (var prop in b || (b = {}))
4105
- if (__hasOwnProp$3.call(b, prop))
4106
- __defNormalProp$3(a, prop, b[prop]);
4107
- if (__getOwnPropSymbols$3)
4108
- for (var prop of __getOwnPropSymbols$3(b)) {
4109
- if (__propIsEnum$3.call(b, prop))
4110
- __defNormalProp$3(a, prop, b[prop]);
4105
+ if (__hasOwnProp$2.call(b, prop))
4106
+ __defNormalProp$2(a, prop, b[prop]);
4107
+ if (__getOwnPropSymbols$2)
4108
+ for (var prop of __getOwnPropSymbols$2(b)) {
4109
+ if (__propIsEnum$2.call(b, prop))
4110
+ __defNormalProp$2(a, prop, b[prop]);
4111
4111
  }
4112
4112
  return a;
4113
4113
  };
4114
- var __spreadProps$2 = (a, b) => __defProps$2(a, __getOwnPropDescs$2(b));
4114
+ var __spreadProps$1 = (a, b) => __defProps$1(a, __getOwnPropDescs$1(b));
4115
4115
  const SCHEMA_VALIDATION_PROVIDER_NAME = "schema";
4116
4116
  const VIEW_VALIDATION_PROVIDER_NAME = "view";
4117
4117
  const VALIDATION_PROVIDER_NAME_SYMBOL = Symbol.for("validation-provider-name");
@@ -4164,12 +4164,9 @@ class ValidatedBinding {
4164
4164
  getAll() {
4165
4165
  return this.applicableValidations.reduce((all, statefulObj) => {
4166
4166
  if (statefulObj.state === "active" && statefulObj.response) {
4167
- return [
4168
- ...all,
4169
- __spreadProps$2(__spreadValues$3({}, statefulObj.response), {
4170
- blocking: this.checkIfBlocking(statefulObj)
4171
- })
4172
- ];
4167
+ all.push(__spreadProps$1(__spreadValues$2({}, statefulObj.response), {
4168
+ blocking: this.checkIfBlocking(statefulObj)
4169
+ }));
4173
4170
  }
4174
4171
  return all;
4175
4172
  }, []);
@@ -4179,7 +4176,7 @@ class ValidatedBinding {
4179
4176
  return statefulObj.state === "active" && statefulObj.response;
4180
4177
  });
4181
4178
  if ((firstInvalid == null ? void 0 : firstInvalid.state) === "active") {
4182
- return __spreadProps$2(__spreadValues$3({}, firstInvalid.response), {
4179
+ return __spreadProps$1(__spreadValues$2({}, firstInvalid.response), {
4183
4180
  blocking: this.checkIfBlocking(firstInvalid)
4184
4181
  });
4185
4182
  }
@@ -4214,7 +4211,7 @@ class ValidatedBinding {
4214
4211
  state: response ? "active" : "none",
4215
4212
  isBlockingNavigation,
4216
4213
  dismissable: obj.value.severity === "warning" && phase === "navigation",
4217
- response: response ? __spreadProps$2(__spreadValues$3({}, obj.value), {
4214
+ response: response ? __spreadProps$1(__spreadValues$2({}, obj.value), {
4218
4215
  message: (_b = response.message) != null ? _b : "Something is broken",
4219
4216
  severity: obj.value.severity,
4220
4217
  displayTarget: (_c = obj.value.displayTarget) != null ? _c : "field"
@@ -4369,7 +4366,7 @@ class ValidationController {
4369
4366
  if (!this.options) {
4370
4367
  return;
4371
4368
  }
4372
- const bindingTrackerPlugin = new ValidationBindingTrackerViewPlugin(__spreadProps$2(__spreadValues$3({}, this.options), {
4369
+ const bindingTrackerPlugin = new ValidationBindingTrackerViewPlugin(__spreadProps$1(__spreadValues$2({}, this.options), {
4373
4370
  callbacks: {
4374
4371
  onAdd: (binding) => {
4375
4372
  if (!this.options || this.getValidationForBinding(binding) !== void 0) {
@@ -4404,12 +4401,10 @@ class ValidationController {
4404
4401
  if (trigger === "load") {
4405
4402
  const possibleValidations = this.getValidationProviders().reduce((vals, provider) => {
4406
4403
  var _a2, _b, _c, _d;
4407
- return [
4408
- ...vals,
4409
- ...(_d = (_c = (_b = (_a2 = provider.provider).getValidationsForBinding) == null ? void 0 : _b.call(_a2, binding)) == null ? void 0 : _c.map((valObj) => __spreadProps$2(__spreadValues$3({}, valObj), {
4410
- [VALIDATION_PROVIDER_NAME_SYMBOL]: provider.source
4411
- }))) != null ? _d : []
4412
- ];
4404
+ vals.push(...(_d = (_c = (_b = (_a2 = provider.provider).getValidationsForBinding) == null ? void 0 : _b.call(_a2, binding)) == null ? void 0 : _c.map((valObj) => __spreadProps$1(__spreadValues$2({}, valObj), {
4405
+ [VALIDATION_PROVIDER_NAME_SYMBOL]: provider.source
4406
+ }))) != null ? _d : []);
4407
+ return vals;
4413
4408
  }, []);
4414
4409
  if (possibleValidations.length === 0) {
4415
4410
  return;
@@ -4446,12 +4441,12 @@ class ValidationController {
4446
4441
  const model = {
4447
4442
  get(b, options) {
4448
4443
  weakBindings.add(isBinding(b) ? binding : context.parseBinding(b));
4449
- return context.model.get(b, __spreadProps$2(__spreadValues$3({}, options), { includeInvalid: true }));
4444
+ return context.model.get(b, __spreadProps$1(__spreadValues$2({}, options), { includeInvalid: true }));
4450
4445
  },
4451
4446
  set: context.model.set,
4452
4447
  delete: context.model.delete
4453
4448
  };
4454
- const result = handler == null ? void 0 : handler(__spreadProps$2(__spreadValues$3({}, context), {
4449
+ const result = handler == null ? void 0 : handler(__spreadProps$1(__spreadValues$2({}, context), {
4455
4450
  evaluate: (exp, options = { model }) => context.evaluate(exp, options),
4456
4451
  model,
4457
4452
  validation: validationObj,
@@ -4742,25 +4737,6 @@ class AssetTransformCorePlugin {
4742
4737
  }
4743
4738
  }
4744
4739
 
4745
- var __defProp$2 = Object.defineProperty;
4746
- var __defProps$1 = Object.defineProperties;
4747
- var __getOwnPropDescs$1 = Object.getOwnPropertyDescriptors;
4748
- var __getOwnPropSymbols$2 = Object.getOwnPropertySymbols;
4749
- var __hasOwnProp$2 = Object.prototype.hasOwnProperty;
4750
- var __propIsEnum$2 = Object.prototype.propertyIsEnumerable;
4751
- var __defNormalProp$2 = (obj, key, value) => key in obj ? __defProp$2(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
4752
- var __spreadValues$2 = (a, b) => {
4753
- for (var prop in b || (b = {}))
4754
- if (__hasOwnProp$2.call(b, prop))
4755
- __defNormalProp$2(a, prop, b[prop]);
4756
- if (__getOwnPropSymbols$2)
4757
- for (var prop of __getOwnPropSymbols$2(b)) {
4758
- if (__propIsEnum$2.call(b, prop))
4759
- __defNormalProp$2(a, prop, b[prop]);
4760
- }
4761
- return a;
4762
- };
4763
- var __spreadProps$1 = (a, b) => __defProps$1(a, __getOwnPropDescs$1(b));
4764
4740
  class ViewController {
4765
4741
  constructor(initialViews, options) {
4766
4742
  this.hooks = {
@@ -4770,9 +4746,10 @@ class ViewController {
4770
4746
  this.transformRegistry = new _player_ui_partial_match_registry__WEBPACK_IMPORTED_MODULE_11__["Registry"]();
4771
4747
  this.optimizeUpdates = true;
4772
4748
  this.viewOptions = options;
4773
- this.viewMap = initialViews.reduce((viewMap, view) => __spreadProps$1(__spreadValues$2({}, viewMap), {
4774
- [view.id]: view
4775
- }), {});
4749
+ this.viewMap = initialViews.reduce((viewMap, view) => {
4750
+ viewMap[view.id] = view;
4751
+ return viewMap;
4752
+ }, {});
4776
4753
  new AssetTransformCorePlugin(this.transformRegistry).apply(this);
4777
4754
  options.flowController.hooks.flow.tap("viewController", (flow) => {
4778
4755
  flow.hooks.transition.tap("viewController", (_oldState, newState) => {
@@ -4783,17 +4760,18 @@ class ViewController {
4783
4760
  }
4784
4761
  });
4785
4762
  });
4786
- const update = (updates) => {
4763
+ const update = (updates, silent = false) => {
4787
4764
  if (this.currentView) {
4788
4765
  if (this.optimizeUpdates) {
4789
- this.queueUpdate(updates);
4766
+ this.queueUpdate(updates, silent);
4790
4767
  } else {
4791
4768
  this.currentView.update();
4792
4769
  }
4793
4770
  }
4794
4771
  };
4795
- options.model.hooks.onUpdate.tap("viewController", (updates) => {
4796
- update(new Set(updates.map((t) => t.binding)));
4772
+ options.model.hooks.onUpdate.tap("viewController", (updates, updateOptions) => {
4773
+ var _a;
4774
+ update(new Set(updates.map((t) => t.binding)), (_a = updateOptions == null ? void 0 : updateOptions.silent) != null ? _a : false);
4797
4775
  });
4798
4776
  options.model.hooks.onDelete.tap("viewController", (binding) => {
4799
4777
  const parentBinding = binding.parent();
@@ -4805,7 +4783,7 @@ class ViewController {
4805
4783
  }
4806
4784
  });
4807
4785
  }
4808
- queueUpdate(bindings) {
4786
+ queueUpdate(bindings, silent = false) {
4809
4787
  var _a;
4810
4788
  if ((_a = this.pendingUpdate) == null ? void 0 : _a.changedBindings) {
4811
4789
  this.pendingUpdate.changedBindings = new Set([
@@ -4813,7 +4791,10 @@ class ViewController {
4813
4791
  ...bindings
4814
4792
  ]);
4815
4793
  } else {
4816
- this.pendingUpdate = { changedBindings: bindings };
4794
+ this.pendingUpdate = { changedBindings: bindings, scheduled: false };
4795
+ }
4796
+ if (!this.pendingUpdate.scheduled && !silent) {
4797
+ this.pendingUpdate.scheduled = true;
4817
4798
  queue_microtask__WEBPACK_IMPORTED_MODULE_10___default()(() => {
4818
4799
  var _a2, _b;
4819
4800
  const updates = (_a2 = this.pendingUpdate) == null ? void 0 : _a2.changedBindings;
@@ -5172,8 +5153,8 @@ var __async = (__this, __arguments, generator) => {
5172
5153
  step((generator = generator.apply(__this, __arguments)).next());
5173
5154
  });
5174
5155
  };
5175
- const PLAYER_VERSION = "0.7.0";
5176
- const COMMIT = "00b3c9d34a6983cf364452a8b24b30e0c369a222";
5156
+ const PLAYER_VERSION = "0.7.1-next.0";
5157
+ const COMMIT = "b0282a1b53e7a91069e97814edec091b3de9ec5f";
5177
5158
  const _Player = class {
5178
5159
  constructor(config) {
5179
5160
  this.logger = new TapableLogger();