@squiz/render-runtime-lib 1.2.1-alpha.60 → 1.2.1-alpha.63

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.
@@ -1,26 +1,10 @@
1
+ "use strict";
1
2
  var __create = Object.create;
2
3
  var __defProp = Object.defineProperty;
3
- var __defProps = Object.defineProperties;
4
4
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
- var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
6
5
  var __getOwnPropNames = Object.getOwnPropertyNames;
7
- var __getOwnPropSymbols = Object.getOwnPropertySymbols;
8
6
  var __getProtoOf = Object.getPrototypeOf;
9
7
  var __hasOwnProp = Object.prototype.hasOwnProperty;
10
- var __propIsEnum = Object.prototype.propertyIsEnumerable;
11
- var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
12
- var __spreadValues = (a, b) => {
13
- for (var prop in b || (b = {}))
14
- if (__hasOwnProp.call(b, prop))
15
- __defNormalProp(a, prop, b[prop]);
16
- if (__getOwnPropSymbols)
17
- for (var prop of __getOwnPropSymbols(b)) {
18
- if (__propIsEnum.call(b, prop))
19
- __defNormalProp(a, prop, b[prop]);
20
- }
21
- return a;
22
- };
23
- var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
24
8
  var __commonJS = (cb, mod) => function __require() {
25
9
  return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
26
10
  };
@@ -8381,7 +8365,7 @@ var require_scope = __commonJS({
8381
8365
  super(opts);
8382
8366
  this._values = {};
8383
8367
  this._scope = opts.scope;
8384
- this.opts = __spreadProps(__spreadValues({}, opts), { _n: opts.lines ? line : code_1.nil });
8368
+ this.opts = { ...opts, _n: opts.lines ? line : code_1.nil };
8385
8369
  }
8386
8370
  get() {
8387
8371
  return this._scope;
@@ -8567,7 +8551,7 @@ var require_codegen = __commonJS({
8567
8551
  return this;
8568
8552
  }
8569
8553
  get names() {
8570
- const names = this.lhs instanceof code_1.Name ? {} : __spreadValues({}, this.lhs.names);
8554
+ const names = this.lhs instanceof code_1.Name ? {} : { ...this.lhs.names };
8571
8555
  return addExprNames(names, this.rhs);
8572
8556
  }
8573
8557
  };
@@ -8861,7 +8845,7 @@ var require_codegen = __commonJS({
8861
8845
  this._values = {};
8862
8846
  this._blockStarts = [];
8863
8847
  this._constants = {};
8864
- this.opts = __spreadProps(__spreadValues({}, opts), { _n: opts.lines ? "\n" : "" });
8848
+ this.opts = { ...opts, _n: opts.lines ? "\n" : "" };
8865
8849
  this._extScope = extScope;
8866
8850
  this._scope = new scope_1.Scope({ parent: extScope });
8867
8851
  this._nodes = [new Root()];
@@ -9261,7 +9245,7 @@ var require_util = __commonJS({
9261
9245
  setEvaluated(gen, to, from);
9262
9246
  }
9263
9247
  }),
9264
- mergeValues: (from, to) => from === true ? true : __spreadValues(__spreadValues({}, from), to),
9248
+ mergeValues: (from, to) => from === true ? true : { ...from, ...to },
9265
9249
  resultToName: evaluatedPropsToName
9266
9250
  }),
9267
9251
  items: makeMergeEvaluated({
@@ -9537,7 +9521,7 @@ var require_rules = __commonJS({
9537
9521
  object: { type: "object", rules: [] }
9538
9522
  };
9539
9523
  return {
9540
- types: __spreadProps(__spreadValues({}, groups), { integer: true, boolean: true, null: true }),
9524
+ types: { ...groups, integer: true, boolean: true, null: true },
9541
9525
  rules: [{ rules: [] }, groups.number, groups.string, groups.array, groups.object],
9542
9526
  post: { rules: [] },
9543
9527
  all: {},
@@ -10830,7 +10814,7 @@ var require_validate = __commonJS({
10830
10814
  const subschema = (0, subschema_1.getSubschema)(this.it, appl);
10831
10815
  (0, subschema_1.extendSubschemaData)(subschema, this.it, appl);
10832
10816
  (0, subschema_1.extendSubschemaMode)(subschema, appl);
10833
- const nextContext = __spreadProps(__spreadValues(__spreadValues({}, this.it), subschema), { items: void 0, props: void 0 });
10817
+ const nextContext = { ...this.it, ...subschema, items: void 0, props: void 0 };
10834
10818
  subschemaCode(nextContext, valid);
10835
10819
  return nextContext;
10836
10820
  }
@@ -12299,7 +12283,7 @@ var require_core = __commonJS({
12299
12283
  strictTypes: (_k = (_j = o.strictTypes) !== null && _j !== void 0 ? _j : s) !== null && _k !== void 0 ? _k : "log",
12300
12284
  strictTuples: (_m = (_l = o.strictTuples) !== null && _l !== void 0 ? _l : s) !== null && _m !== void 0 ? _m : "log",
12301
12285
  strictRequired: (_p = (_o = o.strictRequired) !== null && _o !== void 0 ? _o : s) !== null && _p !== void 0 ? _p : false,
12302
- code: o.code ? __spreadProps(__spreadValues({}, o.code), { optimize, regExp }) : { optimize, regExp },
12286
+ code: o.code ? { ...o.code, optimize, regExp } : { optimize, regExp },
12303
12287
  loopRequired: (_q = o.loopRequired) !== null && _q !== void 0 ? _q : MAX_EXPRESSION,
12304
12288
  loopEnum: (_r = o.loopEnum) !== null && _r !== void 0 ? _r : MAX_EXPRESSION,
12305
12289
  meta: (_s = o.meta) !== null && _s !== void 0 ? _s : true,
@@ -12322,7 +12306,7 @@ var require_core = __commonJS({
12322
12306
  this._compilations = /* @__PURE__ */ new Set();
12323
12307
  this._loading = {};
12324
12308
  this._cache = /* @__PURE__ */ new Map();
12325
- opts = this.opts = __spreadValues(__spreadValues({}, opts), requiredOptions(opts));
12309
+ opts = this.opts = { ...opts, ...requiredOptions(opts) };
12326
12310
  const { es5, lines } = this.opts.code;
12327
12311
  this.scope = new codegen_2.ValueScope({ scope: {}, prefixes: EXT_SCOPE_NAMES, es5, lines });
12328
12312
  this.logger = getLogger(opts.logger);
@@ -12350,7 +12334,7 @@ var require_core = __commonJS({
12350
12334
  const { $data, meta, schemaId } = this.opts;
12351
12335
  let _dataRefSchema = $dataRefSchema;
12352
12336
  if (schemaId === "id") {
12353
- _dataRefSchema = __spreadValues({}, $dataRefSchema);
12337
+ _dataRefSchema = { ...$dataRefSchema };
12354
12338
  _dataRefSchema.id = _dataRefSchema.$id;
12355
12339
  delete _dataRefSchema.$id;
12356
12340
  }
@@ -12553,10 +12537,11 @@ var require_core = __commonJS({
12553
12537
  return this;
12554
12538
  }
12555
12539
  keywordMetaschema.call(this, def);
12556
- const definition = __spreadProps(__spreadValues({}, def), {
12540
+ const definition = {
12541
+ ...def,
12557
12542
  type: (0, dataType_1.getJSONTypes)(def.type),
12558
12543
  schemaType: (0, dataType_1.getJSONTypes)(def.schemaType)
12559
- });
12544
+ };
12560
12545
  (0, util_1.eachItem)(keyword, definition.type.length === 0 ? (k) => addRule.call(this, k, definition) : (k) => definition.type.forEach((t) => addRule.call(this, k, definition, t)));
12561
12546
  return this;
12562
12547
  }
@@ -12715,7 +12700,7 @@ var require_core = __commonJS({
12715
12700
  }
12716
12701
  }
12717
12702
  function getMetaSchemaOptions() {
12718
- const metaOpts = __spreadValues({}, this.opts);
12703
+ const metaOpts = { ...this.opts };
12719
12704
  for (const opt of META_IGNORE_OPTIONS)
12720
12705
  delete metaOpts[opt];
12721
12706
  return metaOpts;
@@ -12764,10 +12749,11 @@ var require_core = __commonJS({
12764
12749
  return;
12765
12750
  const rule = {
12766
12751
  keyword,
12767
- definition: __spreadProps(__spreadValues({}, definition), {
12752
+ definition: {
12753
+ ...definition,
12768
12754
  type: (0, dataType_1.getJSONTypes)(definition.type),
12769
12755
  schemaType: (0, dataType_1.getJSONTypes)(definition.schemaType)
12770
- })
12756
+ }
12771
12757
  };
12772
12758
  if (definition.before)
12773
12759
  addBeforeRule.call(this, ruleGroup, rule, definition.before);
@@ -15004,7 +14990,10 @@ var require_api = __commonJS({
15004
14990
  return isDigit(c) || c === "." || c === "-";
15005
14991
  }
15006
14992
  function tokenize(text, options) {
15007
- options = Object.freeze(__spreadValues(__spreadValues({}, DEFAULT_OPTIONS), options));
14993
+ options = Object.freeze({
14994
+ ...DEFAULT_OPTIONS,
14995
+ ...options
14996
+ });
15008
14997
  let offset = -1;
15009
14998
  let line = 1;
15010
14999
  let column = 0;
@@ -15015,7 +15004,7 @@ var require_api = __commonJS({
15015
15004
  let range = options.ranges ? {
15016
15005
  range: [startLoc.offset, endOffset]
15017
15006
  } : void 0;
15018
- return __spreadValues({
15007
+ return {
15019
15008
  type: tokenType,
15020
15009
  value,
15021
15010
  loc: {
@@ -15025,8 +15014,9 @@ var require_api = __commonJS({
15025
15014
  column: startLoc.column + value.length,
15026
15015
  offset: endOffset
15027
15016
  }
15028
- }
15029
- }, range);
15017
+ },
15018
+ ...range
15019
+ };
15030
15020
  }
15031
15021
  function next() {
15032
15022
  let c2 = text.charAt(++offset);
@@ -15221,53 +15211,61 @@ var require_api = __commonJS({
15221
15211
  }
15222
15212
  var types = {
15223
15213
  document(body, parts = {}) {
15224
- return __spreadValues({
15214
+ return {
15225
15215
  type: "Document",
15226
- body
15227
- }, parts);
15216
+ body,
15217
+ ...parts
15218
+ };
15228
15219
  },
15229
15220
  string(value, parts = {}) {
15230
- return __spreadValues({
15221
+ return {
15231
15222
  type: "String",
15232
- value
15233
- }, parts);
15223
+ value,
15224
+ ...parts
15225
+ };
15234
15226
  },
15235
15227
  number(value, parts = {}) {
15236
- return __spreadValues({
15228
+ return {
15237
15229
  type: "Number",
15238
- value
15239
- }, parts);
15230
+ value,
15231
+ ...parts
15232
+ };
15240
15233
  },
15241
15234
  boolean(value, parts = {}) {
15242
- return __spreadValues({
15235
+ return {
15243
15236
  type: "Boolean",
15244
- value
15245
- }, parts);
15237
+ value,
15238
+ ...parts
15239
+ };
15246
15240
  },
15247
15241
  null(parts = {}) {
15248
- return __spreadValues({
15242
+ return {
15249
15243
  type: "Null",
15250
- value: "null"
15251
- }, parts);
15244
+ value: "null",
15245
+ ...parts
15246
+ };
15252
15247
  },
15253
15248
  array(elements, parts = {}) {
15254
- return __spreadValues({
15249
+ return {
15255
15250
  type: "Array",
15256
- elements
15257
- }, parts);
15251
+ elements,
15252
+ ...parts
15253
+ };
15258
15254
  },
15259
15255
  object(members, parts = {}) {
15260
- return __spreadValues({
15256
+ return {
15261
15257
  type: "Object",
15262
- members
15263
- }, parts);
15258
+ members,
15259
+ ...parts
15260
+ };
15264
15261
  },
15265
15262
  member(name, value, parts = {}) {
15266
- return __spreadValues({
15263
+ return {
15267
15264
  type: "Member",
15268
15265
  name,
15269
- value
15270
- }, parts);
15266
+ value,
15267
+ ...parts
15268
+ };
15271
15269
  }
15272
15270
  };
15273
15271
  var DEFAULT_OPTIONS$1 = {
@@ -15322,7 +15320,10 @@ var require_api = __commonJS({
15322
15320
  }
15323
15321
  }
15324
15322
  function parse(text, options) {
15325
- options = Object.freeze(__spreadValues(__spreadValues({}, DEFAULT_OPTIONS$1), options));
15323
+ options = Object.freeze({
15324
+ ...DEFAULT_OPTIONS$1,
15325
+ ...options
15326
+ });
15326
15327
  const tokens = tokenize(text, {
15327
15328
  comments: !!options.comments,
15328
15329
  ranges: !!options.ranges
@@ -15356,14 +15357,19 @@ var require_api = __commonJS({
15356
15357
  }
15357
15358
  function createLiteralNode(token) {
15358
15359
  const range = createRange(token.loc.start, token.loc.end);
15359
- return __spreadValues({
15360
+ return {
15360
15361
  type: token.type,
15361
15362
  value: getLiteralValue(token),
15362
15363
  loc: {
15363
- start: __spreadValues({}, token.loc.start),
15364
- end: __spreadValues({}, token.loc.end)
15365
- }
15366
- }, range);
15364
+ start: {
15365
+ ...token.loc.start
15366
+ },
15367
+ end: {
15368
+ ...token.loc.end
15369
+ }
15370
+ },
15371
+ ...range
15372
+ };
15367
15373
  }
15368
15374
  function parseProperty(token) {
15369
15375
  assertTokenType(token, "String");
@@ -15372,12 +15378,17 @@ var require_api = __commonJS({
15372
15378
  assertTokenValue(token, ":");
15373
15379
  const value = parseValue();
15374
15380
  const range = createRange(name.loc.start, value.loc.end);
15375
- return types.member(name, value, __spreadValues({
15381
+ return types.member(name, value, {
15376
15382
  loc: {
15377
- start: __spreadValues({}, name.loc.start),
15378
- end: __spreadValues({}, value.loc.end)
15379
- }
15380
- }, range));
15383
+ start: {
15384
+ ...name.loc.start
15385
+ },
15386
+ end: {
15387
+ ...value.loc.end
15388
+ }
15389
+ },
15390
+ ...range
15391
+ });
15381
15392
  }
15382
15393
  function parseObject(firstToken) {
15383
15394
  assertTokenValue(firstToken, "{");
@@ -15396,12 +15407,17 @@ var require_api = __commonJS({
15396
15407
  }
15397
15408
  assertTokenValue(token, "}");
15398
15409
  const range = createRange(firstToken.loc.start, token.loc.end);
15399
- return types.object(members, __spreadValues({
15410
+ return types.object(members, {
15400
15411
  loc: {
15401
- start: __spreadValues({}, firstToken.loc.start),
15402
- end: __spreadValues({}, token.loc.end)
15403
- }
15404
- }, range));
15412
+ start: {
15413
+ ...firstToken.loc.start
15414
+ },
15415
+ end: {
15416
+ ...token.loc.end
15417
+ }
15418
+ },
15419
+ ...range
15420
+ });
15405
15421
  }
15406
15422
  function parseArray(firstToken) {
15407
15423
  assertTokenValue(firstToken, "[");
@@ -15420,14 +15436,19 @@ var require_api = __commonJS({
15420
15436
  }
15421
15437
  assertTokenValue(token, "]");
15422
15438
  const range = createRange(firstToken.loc.start, token.loc.end);
15423
- return types.array(elements, __spreadValues({
15439
+ return types.array(elements, {
15424
15440
  type: "Array",
15425
15441
  elements,
15426
15442
  loc: {
15427
- start: __spreadValues({}, firstToken.loc.start),
15428
- end: __spreadValues({}, token.loc.end)
15429
- }
15430
- }, range));
15443
+ start: {
15444
+ ...firstToken.loc.start
15445
+ },
15446
+ end: {
15447
+ ...token.loc.end
15448
+ }
15449
+ },
15450
+ ...range
15451
+ });
15431
15452
  }
15432
15453
  function parseValue(token) {
15433
15454
  token = token || next();
@@ -15459,7 +15480,9 @@ var require_api = __commonJS({
15459
15480
  column: 1,
15460
15481
  offset: 0
15461
15482
  },
15462
- end: __spreadValues({}, docBody.loc.end)
15483
+ end: {
15484
+ ...docBody.loc.end
15485
+ }
15463
15486
  }
15464
15487
  };
15465
15488
  if (options.tokens) {
@@ -15562,26 +15585,26 @@ var require_api = __commonJS({
15562
15585
  var require_utils = __commonJS({
15563
15586
  "../component-lib/node_modules/better-ajv-errors/lib/cjs/utils.js"(exports, module2) {
15564
15587
  var __defProp2 = Object.defineProperty;
15565
- var __defProps2 = Object.defineProperties;
15588
+ var __defProps = Object.defineProperties;
15566
15589
  var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
15567
- var __getOwnPropDescs2 = Object.getOwnPropertyDescriptors;
15590
+ var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
15568
15591
  var __getOwnPropNames2 = Object.getOwnPropertyNames;
15569
- var __getOwnPropSymbols2 = Object.getOwnPropertySymbols;
15592
+ var __getOwnPropSymbols = Object.getOwnPropertySymbols;
15570
15593
  var __hasOwnProp2 = Object.prototype.hasOwnProperty;
15571
- var __propIsEnum2 = Object.prototype.propertyIsEnumerable;
15572
- var __defNormalProp2 = (obj, key, value) => key in obj ? __defProp2(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
15573
- var __spreadValues2 = (a, b) => {
15594
+ var __propIsEnum = Object.prototype.propertyIsEnumerable;
15595
+ var __defNormalProp = (obj, key, value) => key in obj ? __defProp2(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
15596
+ var __spreadValues = (a, b) => {
15574
15597
  for (var prop in b || (b = {}))
15575
15598
  if (__hasOwnProp2.call(b, prop))
15576
- __defNormalProp2(a, prop, b[prop]);
15577
- if (__getOwnPropSymbols2)
15578
- for (var prop of __getOwnPropSymbols2(b)) {
15579
- if (__propIsEnum2.call(b, prop))
15580
- __defNormalProp2(a, prop, b[prop]);
15599
+ __defNormalProp(a, prop, b[prop]);
15600
+ if (__getOwnPropSymbols)
15601
+ for (var prop of __getOwnPropSymbols(b)) {
15602
+ if (__propIsEnum.call(b, prop))
15603
+ __defNormalProp(a, prop, b[prop]);
15581
15604
  }
15582
15605
  return a;
15583
15606
  };
15584
- var __spreadProps2 = (a, b) => __defProps2(a, __getOwnPropDescs2(b));
15607
+ var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
15585
15608
  var __export = (target, all) => {
15586
15609
  for (var name in all)
15587
15610
  __defProp2(target, name, { get: all[name], enumerable: true });
@@ -15615,7 +15638,7 @@ var require_utils = __commonJS({
15615
15638
  var isRequiredError = isXError("required");
15616
15639
  var isAnyOfError = isXError("anyOf");
15617
15640
  var isEnumError = isXError("enum");
15618
- var getErrors = (node) => node && node.errors ? node.errors.map((e) => e.keyword === "errorMessage" ? __spreadProps2(__spreadValues2({}, e.params.errors[0]), { message: e.message }) : e) : [];
15641
+ var getErrors = (node) => node && node.errors ? node.errors.map((e) => e.keyword === "errorMessage" ? __spreadProps(__spreadValues({}, e.params.errors[0]), { message: e.message }) : e) : [];
15619
15642
  var getChildren = (node) => node && getValues(node.children) || [];
15620
15643
  var getSiblings = (parent) => (node) => getChildren(parent).filter(not(eq(node)));
15621
15644
  var concatAll = (xs) => (ys) => ys.reduce((zs, z) => zs.concat(z), xs);
@@ -17072,7 +17095,8 @@ var require_source = __commonJS({
17072
17095
  };
17073
17096
  }
17074
17097
  var proto = Object.defineProperties(() => {
17075
- }, __spreadProps(__spreadValues({}, styles), {
17098
+ }, {
17099
+ ...styles,
17076
17100
  level: {
17077
17101
  enumerable: true,
17078
17102
  get() {
@@ -17082,7 +17106,7 @@ var require_source = __commonJS({
17082
17106
  this._generator.level = level;
17083
17107
  }
17084
17108
  }
17085
- }));
17109
+ });
17086
17110
  var createStyler = (open, close, parent) => {
17087
17111
  let openAll;
17088
17112
  let closeAll;
@@ -19402,27 +19426,27 @@ var require_required2 = __commonJS({
19402
19426
  "../component-lib/node_modules/better-ajv-errors/lib/cjs/validation-errors/required.js"(exports, module2) {
19403
19427
  var __create2 = Object.create;
19404
19428
  var __defProp2 = Object.defineProperty;
19405
- var __defProps2 = Object.defineProperties;
19429
+ var __defProps = Object.defineProperties;
19406
19430
  var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
19407
- var __getOwnPropDescs2 = Object.getOwnPropertyDescriptors;
19431
+ var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
19408
19432
  var __getOwnPropNames2 = Object.getOwnPropertyNames;
19409
- var __getOwnPropSymbols2 = Object.getOwnPropertySymbols;
19433
+ var __getOwnPropSymbols = Object.getOwnPropertySymbols;
19410
19434
  var __getProtoOf2 = Object.getPrototypeOf;
19411
19435
  var __hasOwnProp2 = Object.prototype.hasOwnProperty;
19412
- var __propIsEnum2 = Object.prototype.propertyIsEnumerable;
19413
- var __defNormalProp2 = (obj, key, value) => key in obj ? __defProp2(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
19414
- var __spreadValues2 = (a, b) => {
19436
+ var __propIsEnum = Object.prototype.propertyIsEnumerable;
19437
+ var __defNormalProp = (obj, key, value) => key in obj ? __defProp2(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
19438
+ var __spreadValues = (a, b) => {
19415
19439
  for (var prop in b || (b = {}))
19416
19440
  if (__hasOwnProp2.call(b, prop))
19417
- __defNormalProp2(a, prop, b[prop]);
19418
- if (__getOwnPropSymbols2)
19419
- for (var prop of __getOwnPropSymbols2(b)) {
19420
- if (__propIsEnum2.call(b, prop))
19421
- __defNormalProp2(a, prop, b[prop]);
19441
+ __defNormalProp(a, prop, b[prop]);
19442
+ if (__getOwnPropSymbols)
19443
+ for (var prop of __getOwnPropSymbols(b)) {
19444
+ if (__propIsEnum.call(b, prop))
19445
+ __defNormalProp(a, prop, b[prop]);
19422
19446
  }
19423
19447
  return a;
19424
19448
  };
19425
- var __spreadProps2 = (a, b) => __defProps2(a, __getOwnPropDescs2(b));
19449
+ var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
19426
19450
  var __export = (target, all) => {
19427
19451
  for (var name in all)
19428
19452
  __defProp2(target, name, { get: all[name], enumerable: true });
@@ -19456,7 +19480,7 @@ var require_required2 = __commonJS({
19456
19480
  }
19457
19481
  getError() {
19458
19482
  const { message } = this.options;
19459
- return __spreadProps2(__spreadValues2({}, this.getLocation()), {
19483
+ return __spreadProps(__spreadValues({}, this.getLocation()), {
19460
19484
  error: `${this.getDecoratedPath()} ${message}`,
19461
19485
  path: this.instancePath
19462
19486
  });
@@ -19470,27 +19494,27 @@ var require_additional_prop = __commonJS({
19470
19494
  "../component-lib/node_modules/better-ajv-errors/lib/cjs/validation-errors/additional-prop.js"(exports, module2) {
19471
19495
  var __create2 = Object.create;
19472
19496
  var __defProp2 = Object.defineProperty;
19473
- var __defProps2 = Object.defineProperties;
19497
+ var __defProps = Object.defineProperties;
19474
19498
  var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
19475
- var __getOwnPropDescs2 = Object.getOwnPropertyDescriptors;
19499
+ var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
19476
19500
  var __getOwnPropNames2 = Object.getOwnPropertyNames;
19477
- var __getOwnPropSymbols2 = Object.getOwnPropertySymbols;
19501
+ var __getOwnPropSymbols = Object.getOwnPropertySymbols;
19478
19502
  var __getProtoOf2 = Object.getPrototypeOf;
19479
19503
  var __hasOwnProp2 = Object.prototype.hasOwnProperty;
19480
- var __propIsEnum2 = Object.prototype.propertyIsEnumerable;
19481
- var __defNormalProp2 = (obj, key, value) => key in obj ? __defProp2(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
19482
- var __spreadValues2 = (a, b) => {
19504
+ var __propIsEnum = Object.prototype.propertyIsEnumerable;
19505
+ var __defNormalProp = (obj, key, value) => key in obj ? __defProp2(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
19506
+ var __spreadValues = (a, b) => {
19483
19507
  for (var prop in b || (b = {}))
19484
19508
  if (__hasOwnProp2.call(b, prop))
19485
- __defNormalProp2(a, prop, b[prop]);
19486
- if (__getOwnPropSymbols2)
19487
- for (var prop of __getOwnPropSymbols2(b)) {
19488
- if (__propIsEnum2.call(b, prop))
19489
- __defNormalProp2(a, prop, b[prop]);
19509
+ __defNormalProp(a, prop, b[prop]);
19510
+ if (__getOwnPropSymbols)
19511
+ for (var prop of __getOwnPropSymbols(b)) {
19512
+ if (__propIsEnum.call(b, prop))
19513
+ __defNormalProp(a, prop, b[prop]);
19490
19514
  }
19491
19515
  return a;
19492
19516
  };
19493
- var __spreadProps2 = (a, b) => __defProps2(a, __getOwnPropDescs2(b));
19517
+ var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
19494
19518
  var __export = (target, all) => {
19495
19519
  for (var name in all)
19496
19520
  __defProp2(target, name, { get: all[name], enumerable: true });
@@ -19524,7 +19548,7 @@ var require_additional_prop = __commonJS({
19524
19548
  }
19525
19549
  getError() {
19526
19550
  const { params } = this.options;
19527
- return __spreadProps2(__spreadValues2({}, this.getLocation(`${this.instancePath}/${params.additionalProperty}`)), {
19551
+ return __spreadProps(__spreadValues({}, this.getLocation(`${this.instancePath}/${params.additionalProperty}`)), {
19528
19552
  error: `${this.getDecoratedPath()} Property ${params.additionalProperty} is not expected to be here`,
19529
19553
  path: this.instancePath
19530
19554
  });
@@ -19700,27 +19724,27 @@ var require_enum2 = __commonJS({
19700
19724
  "../component-lib/node_modules/better-ajv-errors/lib/cjs/validation-errors/enum.js"(exports, module2) {
19701
19725
  var __create2 = Object.create;
19702
19726
  var __defProp2 = Object.defineProperty;
19703
- var __defProps2 = Object.defineProperties;
19727
+ var __defProps = Object.defineProperties;
19704
19728
  var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
19705
- var __getOwnPropDescs2 = Object.getOwnPropertyDescriptors;
19729
+ var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
19706
19730
  var __getOwnPropNames2 = Object.getOwnPropertyNames;
19707
- var __getOwnPropSymbols2 = Object.getOwnPropertySymbols;
19731
+ var __getOwnPropSymbols = Object.getOwnPropertySymbols;
19708
19732
  var __getProtoOf2 = Object.getPrototypeOf;
19709
19733
  var __hasOwnProp2 = Object.prototype.hasOwnProperty;
19710
- var __propIsEnum2 = Object.prototype.propertyIsEnumerable;
19711
- var __defNormalProp2 = (obj, key, value) => key in obj ? __defProp2(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
19712
- var __spreadValues2 = (a, b) => {
19734
+ var __propIsEnum = Object.prototype.propertyIsEnumerable;
19735
+ var __defNormalProp = (obj, key, value) => key in obj ? __defProp2(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
19736
+ var __spreadValues = (a, b) => {
19713
19737
  for (var prop in b || (b = {}))
19714
19738
  if (__hasOwnProp2.call(b, prop))
19715
- __defNormalProp2(a, prop, b[prop]);
19716
- if (__getOwnPropSymbols2)
19717
- for (var prop of __getOwnPropSymbols2(b)) {
19718
- if (__propIsEnum2.call(b, prop))
19719
- __defNormalProp2(a, prop, b[prop]);
19739
+ __defNormalProp(a, prop, b[prop]);
19740
+ if (__getOwnPropSymbols)
19741
+ for (var prop of __getOwnPropSymbols(b)) {
19742
+ if (__propIsEnum.call(b, prop))
19743
+ __defNormalProp(a, prop, b[prop]);
19720
19744
  }
19721
19745
  return a;
19722
19746
  };
19723
- var __spreadProps2 = (a, b) => __defProps2(a, __getOwnPropDescs2(b));
19747
+ var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
19724
19748
  var __export = (target, all) => {
19725
19749
  for (var name in all)
19726
19750
  __defProp2(target, name, { get: all[name], enumerable: true });
@@ -19761,7 +19785,7 @@ var require_enum2 = __commonJS({
19761
19785
  const { message, params } = this.options;
19762
19786
  const bestMatch = this.findBestMatch();
19763
19787
  const allowedValues = params.allowedValues.join(", ");
19764
- const output = __spreadProps2(__spreadValues2({}, this.getLocation()), {
19788
+ const output = __spreadProps(__spreadValues({}, this.getLocation()), {
19765
19789
  error: `${this.getDecoratedPath()} ${message}: ${allowedValues}`,
19766
19790
  path: this.instancePath
19767
19791
  });
@@ -19793,27 +19817,27 @@ var require_default = __commonJS({
19793
19817
  "../component-lib/node_modules/better-ajv-errors/lib/cjs/validation-errors/default.js"(exports, module2) {
19794
19818
  var __create2 = Object.create;
19795
19819
  var __defProp2 = Object.defineProperty;
19796
- var __defProps2 = Object.defineProperties;
19820
+ var __defProps = Object.defineProperties;
19797
19821
  var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
19798
- var __getOwnPropDescs2 = Object.getOwnPropertyDescriptors;
19822
+ var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
19799
19823
  var __getOwnPropNames2 = Object.getOwnPropertyNames;
19800
- var __getOwnPropSymbols2 = Object.getOwnPropertySymbols;
19824
+ var __getOwnPropSymbols = Object.getOwnPropertySymbols;
19801
19825
  var __getProtoOf2 = Object.getPrototypeOf;
19802
19826
  var __hasOwnProp2 = Object.prototype.hasOwnProperty;
19803
- var __propIsEnum2 = Object.prototype.propertyIsEnumerable;
19804
- var __defNormalProp2 = (obj, key, value) => key in obj ? __defProp2(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
19805
- var __spreadValues2 = (a, b) => {
19827
+ var __propIsEnum = Object.prototype.propertyIsEnumerable;
19828
+ var __defNormalProp = (obj, key, value) => key in obj ? __defProp2(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
19829
+ var __spreadValues = (a, b) => {
19806
19830
  for (var prop in b || (b = {}))
19807
19831
  if (__hasOwnProp2.call(b, prop))
19808
- __defNormalProp2(a, prop, b[prop]);
19809
- if (__getOwnPropSymbols2)
19810
- for (var prop of __getOwnPropSymbols2(b)) {
19811
- if (__propIsEnum2.call(b, prop))
19812
- __defNormalProp2(a, prop, b[prop]);
19832
+ __defNormalProp(a, prop, b[prop]);
19833
+ if (__getOwnPropSymbols)
19834
+ for (var prop of __getOwnPropSymbols(b)) {
19835
+ if (__propIsEnum.call(b, prop))
19836
+ __defNormalProp(a, prop, b[prop]);
19813
19837
  }
19814
19838
  return a;
19815
19839
  };
19816
- var __spreadProps2 = (a, b) => __defProps2(a, __getOwnPropDescs2(b));
19840
+ var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
19817
19841
  var __export = (target, all) => {
19818
19842
  for (var name in all)
19819
19843
  __defProp2(target, name, { get: all[name], enumerable: true });
@@ -19843,7 +19867,7 @@ var require_default = __commonJS({
19843
19867
  }
19844
19868
  getError() {
19845
19869
  const { keyword, message } = this.options;
19846
- return __spreadProps2(__spreadValues2({}, this.getLocation()), {
19870
+ return __spreadProps(__spreadValues({}, this.getLocation()), {
19847
19871
  error: `${this.getDecoratedPath()}: ${keyword} ${message}`,
19848
19872
  path: this.instancePath
19849
19873
  });
@@ -19894,26 +19918,26 @@ var require_validation_errors = __commonJS({
19894
19918
  var require_helpers = __commonJS({
19895
19919
  "../component-lib/node_modules/better-ajv-errors/lib/cjs/helpers.js"(exports, module2) {
19896
19920
  var __defProp2 = Object.defineProperty;
19897
- var __defProps2 = Object.defineProperties;
19921
+ var __defProps = Object.defineProperties;
19898
19922
  var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
19899
- var __getOwnPropDescs2 = Object.getOwnPropertyDescriptors;
19923
+ var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
19900
19924
  var __getOwnPropNames2 = Object.getOwnPropertyNames;
19901
- var __getOwnPropSymbols2 = Object.getOwnPropertySymbols;
19925
+ var __getOwnPropSymbols = Object.getOwnPropertySymbols;
19902
19926
  var __hasOwnProp2 = Object.prototype.hasOwnProperty;
19903
- var __propIsEnum2 = Object.prototype.propertyIsEnumerable;
19904
- var __defNormalProp2 = (obj, key, value) => key in obj ? __defProp2(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
19905
- var __spreadValues2 = (a, b) => {
19927
+ var __propIsEnum = Object.prototype.propertyIsEnumerable;
19928
+ var __defNormalProp = (obj, key, value) => key in obj ? __defProp2(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
19929
+ var __spreadValues = (a, b) => {
19906
19930
  for (var prop in b || (b = {}))
19907
19931
  if (__hasOwnProp2.call(b, prop))
19908
- __defNormalProp2(a, prop, b[prop]);
19909
- if (__getOwnPropSymbols2)
19910
- for (var prop of __getOwnPropSymbols2(b)) {
19911
- if (__propIsEnum2.call(b, prop))
19912
- __defNormalProp2(a, prop, b[prop]);
19932
+ __defNormalProp(a, prop, b[prop]);
19933
+ if (__getOwnPropSymbols)
19934
+ for (var prop of __getOwnPropSymbols(b)) {
19935
+ if (__propIsEnum.call(b, prop))
19936
+ __defNormalProp(a, prop, b[prop]);
19913
19937
  }
19914
19938
  return a;
19915
19939
  };
19916
- var __spreadProps2 = (a, b) => __defProps2(a, __getOwnPropDescs2(b));
19940
+ var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
19917
19941
  var __export = (target, all) => {
19918
19942
  for (var name in all)
19919
19943
  __defProp2(target, name, { get: all[name], enumerable: true });
@@ -19979,7 +20003,7 @@ var require_helpers = __commonJS({
19979
20003
  const allowedValues = [...uniqueValues];
19980
20004
  const error = errors[0];
19981
20005
  return [
19982
- new import_validation_errors.EnumValidationError(__spreadProps2(__spreadValues2({}, error), {
20006
+ new import_validation_errors.EnumValidationError(__spreadProps(__spreadValues({}, error), {
19983
20007
  params: { allowedValues }
19984
20008
  }), options)
19985
20009
  ];
@@ -21117,7 +21141,7 @@ var require_make_dir = __commonJS({
21117
21141
  const defaults = { mode: 511 };
21118
21142
  if (typeof options === "number")
21119
21143
  return options;
21120
- return __spreadValues(__spreadValues({}, defaults), options).mode;
21144
+ return { ...defaults, ...options }.mode;
21121
21145
  };
21122
21146
  module2.exports.makeDir = async (dir, options) => {
21123
21147
  checkPath(dir);
@@ -22732,7 +22756,18 @@ var require_move2 = __commonJS({
22732
22756
  var require_lib4 = __commonJS({
22733
22757
  "../component-lib/node_modules/fs-extra/lib/index.js"(exports, module2) {
22734
22758
  "use strict";
22735
- module2.exports = __spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues({}, require_fs()), require_copy2()), require_empty()), require_ensure()), require_json2()), require_mkdirs()), require_move2()), require_output_file()), require_path_exists()), require_remove());
22759
+ module2.exports = {
22760
+ ...require_fs(),
22761
+ ...require_copy2(),
22762
+ ...require_empty(),
22763
+ ...require_ensure(),
22764
+ ...require_json2(),
22765
+ ...require_mkdirs(),
22766
+ ...require_move2(),
22767
+ ...require_output_file(),
22768
+ ...require_path_exists(),
22769
+ ...require_remove()
22770
+ };
22736
22771
  }
22737
22772
  });
22738
22773