@wix/create-app 0.0.102 → 0.0.104

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/build/index.js CHANGED
@@ -8588,10 +8588,10 @@ var require_supports_color = __commonJS({
8588
8588
  return 3;
8589
8589
  }
8590
8590
  if ("TERM_PROGRAM" in env3) {
8591
- const version2 = parseInt((env3.TERM_PROGRAM_VERSION || "").split(".")[0], 10);
8591
+ const version = parseInt((env3.TERM_PROGRAM_VERSION || "").split(".")[0], 10);
8592
8592
  switch (env3.TERM_PROGRAM) {
8593
8593
  case "iTerm.app":
8594
- return version2 >= 3 ? 3 : 2;
8594
+ return version >= 3 ? 3 : 2;
8595
8595
  case "Apple_Terminal":
8596
8596
  return 2;
8597
8597
  }
@@ -8672,25 +8672,25 @@ var require_supports_hyperlinks = __commonJS({
8672
8672
  return false;
8673
8673
  }
8674
8674
  if ("TERM_PROGRAM" in env3) {
8675
- const version2 = parseVersion(env3.TERM_PROGRAM_VERSION);
8675
+ const version = parseVersion(env3.TERM_PROGRAM_VERSION);
8676
8676
  switch (env3.TERM_PROGRAM) {
8677
8677
  case "iTerm.app":
8678
- if (version2.major === 3) {
8679
- return version2.minor >= 1;
8678
+ if (version.major === 3) {
8679
+ return version.minor >= 1;
8680
8680
  }
8681
- return version2.major > 3;
8681
+ return version.major > 3;
8682
8682
  case "WezTerm":
8683
- return version2.major >= 20200620;
8683
+ return version.major >= 20200620;
8684
8684
  case "vscode":
8685
- return version2.major > 1 || version2.major === 1 && version2.minor >= 72;
8685
+ return version.major > 1 || version.major === 1 && version.minor >= 72;
8686
8686
  }
8687
8687
  }
8688
8688
  if ("VTE_VERSION" in env3) {
8689
8689
  if (env3.VTE_VERSION === "0.50.0") {
8690
8690
  return false;
8691
8691
  }
8692
- const version2 = parseVersion(env3.VTE_VERSION);
8693
- return version2.major > 0 || version2.minor >= 50;
8692
+ const version = parseVersion(env3.VTE_VERSION);
8693
+ return version.major > 0 || version.minor >= 50;
8694
8694
  }
8695
8695
  return false;
8696
8696
  }
@@ -11042,9 +11042,9 @@ var require_verror = __commonJS({
11042
11042
  }
11043
11043
  });
11044
11044
 
11045
- // ../../node_modules/p-retry/node_modules/retry/lib/retry_operation.js
11045
+ // ../../node_modules/retry/lib/retry_operation.js
11046
11046
  var require_retry_operation = __commonJS({
11047
- "../../node_modules/p-retry/node_modules/retry/lib/retry_operation.js"(exports, module2) {
11047
+ "../../node_modules/retry/lib/retry_operation.js"(exports, module2) {
11048
11048
  "use strict";
11049
11049
  init_esm_shims();
11050
11050
  function RetryOperation(timeouts, options) {
@@ -11179,9 +11179,9 @@ var require_retry_operation = __commonJS({
11179
11179
  }
11180
11180
  });
11181
11181
 
11182
- // ../../node_modules/p-retry/node_modules/retry/lib/retry.js
11182
+ // ../../node_modules/retry/lib/retry.js
11183
11183
  var require_retry = __commonJS({
11184
- "../../node_modules/p-retry/node_modules/retry/lib/retry.js"(exports) {
11184
+ "../../node_modules/retry/lib/retry.js"(exports) {
11185
11185
  "use strict";
11186
11186
  init_esm_shims();
11187
11187
  var RetryOperation = require_retry_operation();
@@ -11267,9 +11267,9 @@ var require_retry = __commonJS({
11267
11267
  }
11268
11268
  });
11269
11269
 
11270
- // ../../node_modules/p-retry/node_modules/retry/index.js
11270
+ // ../../node_modules/retry/index.js
11271
11271
  var require_retry2 = __commonJS({
11272
- "../../node_modules/p-retry/node_modules/retry/index.js"(exports, module2) {
11272
+ "../../node_modules/retry/index.js"(exports, module2) {
11273
11273
  "use strict";
11274
11274
  init_esm_shims();
11275
11275
  module2.exports = require_retry();
@@ -14978,9 +14978,9 @@ var require_validator = __commonJS({
14978
14978
  });
14979
14979
  var deprecatedWarnings = {};
14980
14980
  var currentVerArr = pkg.version.split(".");
14981
- function isOlderVersion(version2, thanVersion) {
14981
+ function isOlderVersion(version, thanVersion) {
14982
14982
  var pkgVersionArr = thanVersion ? thanVersion.split(".") : currentVerArr;
14983
- var destVer = version2.split(".");
14983
+ var destVer = version.split(".");
14984
14984
  for (var i2 = 0; i2 < 3; i2++) {
14985
14985
  if (pkgVersionArr[i2] > destVer[i2]) {
14986
14986
  return true;
@@ -14990,28 +14990,28 @@ var require_validator = __commonJS({
14990
14990
  }
14991
14991
  return false;
14992
14992
  }
14993
- validators.transitional = function transitional(validator, version2, message) {
14994
- var isDeprecated = version2 && isOlderVersion(version2);
14993
+ validators.transitional = function transitional(validator, version, message) {
14994
+ var isDeprecated = version && isOlderVersion(version);
14995
14995
  function formatMessage(opt, desc) {
14996
14996
  return "[Axios v" + pkg.version + "] Transitional option '" + opt + "'" + desc + (message ? ". " + message : "");
14997
14997
  }
14998
14998
  return function(value2, opt, opts) {
14999
14999
  if (validator === false) {
15000
- throw new Error(formatMessage(opt, " has been removed in " + version2));
15000
+ throw new Error(formatMessage(opt, " has been removed in " + version));
15001
15001
  }
15002
15002
  if (isDeprecated && !deprecatedWarnings[opt]) {
15003
15003
  deprecatedWarnings[opt] = true;
15004
15004
  console.warn(
15005
15005
  formatMessage(
15006
15006
  opt,
15007
- " has been deprecated since v" + version2 + " and will be removed in the near future"
15007
+ " has been deprecated since v" + version + " and will be removed in the near future"
15008
15008
  )
15009
15009
  );
15010
15010
  }
15011
15011
  return validator ? validator(value2, opt, opts) : true;
15012
15012
  };
15013
15013
  };
15014
- function assertOptions(options, schema, allowUnknown) {
15014
+ function assertOptions(options, schema2, allowUnknown) {
15015
15015
  if (typeof options !== "object") {
15016
15016
  throw new TypeError("options must be an object");
15017
15017
  }
@@ -15019,7 +15019,7 @@ var require_validator = __commonJS({
15019
15019
  var i2 = keys.length;
15020
15020
  while (i2-- > 0) {
15021
15021
  var opt = keys[i2];
15022
- var validator = schema[opt];
15022
+ var validator = schema2[opt];
15023
15023
  if (validator) {
15024
15024
  var value2 = options[opt];
15025
15025
  var result = value2 === void 0 || validator(value2, opt, options);
@@ -17700,31 +17700,31 @@ var require_semver = __commonJS({
17700
17700
  var parseOptions = require_parse_options();
17701
17701
  var { compareIdentifiers } = require_identifiers();
17702
17702
  var SemVer = class _SemVer {
17703
- constructor(version2, options) {
17703
+ constructor(version, options) {
17704
17704
  options = parseOptions(options);
17705
- if (version2 instanceof _SemVer) {
17706
- if (version2.loose === !!options.loose && version2.includePrerelease === !!options.includePrerelease) {
17707
- return version2;
17705
+ if (version instanceof _SemVer) {
17706
+ if (version.loose === !!options.loose && version.includePrerelease === !!options.includePrerelease) {
17707
+ return version;
17708
17708
  } else {
17709
- version2 = version2.version;
17709
+ version = version.version;
17710
17710
  }
17711
- } else if (typeof version2 !== "string") {
17712
- throw new TypeError(`Invalid version. Must be a string. Got type "${typeof version2}".`);
17711
+ } else if (typeof version !== "string") {
17712
+ throw new TypeError(`Invalid version. Must be a string. Got type "${typeof version}".`);
17713
17713
  }
17714
- if (version2.length > MAX_LENGTH) {
17714
+ if (version.length > MAX_LENGTH) {
17715
17715
  throw new TypeError(
17716
17716
  `version is longer than ${MAX_LENGTH} characters`
17717
17717
  );
17718
17718
  }
17719
- debug3("SemVer", version2, options);
17719
+ debug3("SemVer", version, options);
17720
17720
  this.options = options;
17721
17721
  this.loose = !!options.loose;
17722
17722
  this.includePrerelease = !!options.includePrerelease;
17723
- const m = version2.trim().match(options.loose ? re[t3.LOOSE] : re[t3.FULL]);
17723
+ const m = version.trim().match(options.loose ? re[t3.LOOSE] : re[t3.FULL]);
17724
17724
  if (!m) {
17725
- throw new TypeError(`Invalid Version: ${version2}`);
17725
+ throw new TypeError(`Invalid Version: ${version}`);
17726
17726
  }
17727
- this.raw = version2;
17727
+ this.raw = version;
17728
17728
  this.major = +m[1];
17729
17729
  this.minor = +m[2];
17730
17730
  this.patch = +m[3];
@@ -17954,12 +17954,12 @@ var require_parse = __commonJS({
17954
17954
  "use strict";
17955
17955
  init_esm_shims();
17956
17956
  var SemVer = require_semver();
17957
- var parse2 = (version2, options, throwErrors = false) => {
17958
- if (version2 instanceof SemVer) {
17959
- return version2;
17957
+ var parse2 = (version, options, throwErrors = false) => {
17958
+ if (version instanceof SemVer) {
17959
+ return version;
17960
17960
  }
17961
17961
  try {
17962
- return new SemVer(version2, options);
17962
+ return new SemVer(version, options);
17963
17963
  } catch (er) {
17964
17964
  if (!throwErrors) {
17965
17965
  return null;
@@ -17977,8 +17977,8 @@ var require_valid = __commonJS({
17977
17977
  "use strict";
17978
17978
  init_esm_shims();
17979
17979
  var parse2 = require_parse();
17980
- var valid = (version2, options) => {
17981
- const v = parse2(version2, options);
17980
+ var valid = (version, options) => {
17981
+ const v = parse2(version, options);
17982
17982
  return v ? v.version : null;
17983
17983
  };
17984
17984
  module2.exports = valid;
@@ -17991,8 +17991,8 @@ var require_clean = __commonJS({
17991
17991
  "use strict";
17992
17992
  init_esm_shims();
17993
17993
  var parse2 = require_parse();
17994
- var clean = (version2, options) => {
17995
- const s2 = parse2(version2.trim().replace(/^[=v]+/, ""), options);
17994
+ var clean = (version, options) => {
17995
+ const s2 = parse2(version.trim().replace(/^[=v]+/, ""), options);
17996
17996
  return s2 ? s2.version : null;
17997
17997
  };
17998
17998
  module2.exports = clean;
@@ -18005,7 +18005,7 @@ var require_inc = __commonJS({
18005
18005
  "use strict";
18006
18006
  init_esm_shims();
18007
18007
  var SemVer = require_semver();
18008
- var inc = (version2, release2, options, identifier, identifierBase) => {
18008
+ var inc = (version, release2, options, identifier, identifierBase) => {
18009
18009
  if (typeof options === "string") {
18010
18010
  identifierBase = identifier;
18011
18011
  identifier = options;
@@ -18013,7 +18013,7 @@ var require_inc = __commonJS({
18013
18013
  }
18014
18014
  try {
18015
18015
  return new SemVer(
18016
- version2 instanceof SemVer ? version2.version : version2,
18016
+ version instanceof SemVer ? version.version : version,
18017
18017
  options
18018
18018
  ).inc(release2, identifier, identifierBase).version;
18019
18019
  } catch (er) {
@@ -18108,8 +18108,8 @@ var require_prerelease = __commonJS({
18108
18108
  "use strict";
18109
18109
  init_esm_shims();
18110
18110
  var parse2 = require_parse();
18111
- var prerelease = (version2, options) => {
18112
- const parsed = parse2(version2, options);
18111
+ var prerelease = (version, options) => {
18112
+ const parsed = parse2(version, options);
18113
18113
  return parsed && parsed.prerelease.length ? parsed.prerelease : null;
18114
18114
  };
18115
18115
  module2.exports = prerelease;
@@ -18311,24 +18311,24 @@ var require_coerce = __commonJS({
18311
18311
  var SemVer = require_semver();
18312
18312
  var parse2 = require_parse();
18313
18313
  var { safeRe: re, t: t3 } = require_re();
18314
- var coerce2 = (version2, options) => {
18315
- if (version2 instanceof SemVer) {
18316
- return version2;
18314
+ var coerce2 = (version, options) => {
18315
+ if (version instanceof SemVer) {
18316
+ return version;
18317
18317
  }
18318
- if (typeof version2 === "number") {
18319
- version2 = String(version2);
18318
+ if (typeof version === "number") {
18319
+ version = String(version);
18320
18320
  }
18321
- if (typeof version2 !== "string") {
18321
+ if (typeof version !== "string") {
18322
18322
  return null;
18323
18323
  }
18324
18324
  options = options || {};
18325
18325
  let match22 = null;
18326
18326
  if (!options.rtl) {
18327
- match22 = version2.match(options.includePrerelease ? re[t3.COERCEFULL] : re[t3.COERCE]);
18327
+ match22 = version.match(options.includePrerelease ? re[t3.COERCEFULL] : re[t3.COERCE]);
18328
18328
  } else {
18329
18329
  const coerceRtlRegex = options.includePrerelease ? re[t3.COERCERTLFULL] : re[t3.COERCERTL];
18330
18330
  let next;
18331
- while ((next = coerceRtlRegex.exec(version2)) && (!match22 || match22.index + match22[0].length !== version2.length)) {
18331
+ while ((next = coerceRtlRegex.exec(version)) && (!match22 || match22.index + match22[0].length !== version.length)) {
18332
18332
  if (!match22 || next.index + next[0].length !== match22.index + match22[0].length) {
18333
18333
  match22 = next;
18334
18334
  }
@@ -18514,19 +18514,19 @@ var require_range = __commonJS({
18514
18514
  });
18515
18515
  }
18516
18516
  // if ANY of the sets match ALL of its comparators, then pass
18517
- test(version2) {
18518
- if (!version2) {
18517
+ test(version) {
18518
+ if (!version) {
18519
18519
  return false;
18520
18520
  }
18521
- if (typeof version2 === "string") {
18521
+ if (typeof version === "string") {
18522
18522
  try {
18523
- version2 = new SemVer(version2, this.options);
18523
+ version = new SemVer(version, this.options);
18524
18524
  } catch (er) {
18525
18525
  return false;
18526
18526
  }
18527
18527
  }
18528
18528
  for (let i2 = 0; i2 < this.set.length; i2++) {
18529
- if (testSet(this.set[i2], version2, this.options)) {
18529
+ if (testSet(this.set[i2], version, this.options)) {
18530
18530
  return true;
18531
18531
  }
18532
18532
  }
@@ -18740,13 +18740,13 @@ var require_range = __commonJS({
18740
18740
  }
18741
18741
  return `${from} ${to}`.trim();
18742
18742
  };
18743
- var testSet = (set, version2, options) => {
18743
+ var testSet = (set, version, options) => {
18744
18744
  for (let i2 = 0; i2 < set.length; i2++) {
18745
- if (!set[i2].test(version2)) {
18745
+ if (!set[i2].test(version)) {
18746
18746
  return false;
18747
18747
  }
18748
18748
  }
18749
- if (version2.prerelease.length && !options.includePrerelease) {
18749
+ if (version.prerelease.length && !options.includePrerelease) {
18750
18750
  for (let i2 = 0; i2 < set.length; i2++) {
18751
18751
  debug3(set[i2].semver);
18752
18752
  if (set[i2].semver === Comparator.ANY) {
@@ -18754,7 +18754,7 @@ var require_range = __commonJS({
18754
18754
  }
18755
18755
  if (set[i2].semver.prerelease.length > 0) {
18756
18756
  const allowed = set[i2].semver;
18757
- if (allowed.major === version2.major && allowed.minor === version2.minor && allowed.patch === version2.patch) {
18757
+ if (allowed.major === version.major && allowed.minor === version.minor && allowed.patch === version.patch) {
18758
18758
  return true;
18759
18759
  }
18760
18760
  }
@@ -18816,19 +18816,19 @@ var require_comparator = __commonJS({
18816
18816
  toString() {
18817
18817
  return this.value;
18818
18818
  }
18819
- test(version2) {
18820
- debug3("Comparator.test", version2, this.options.loose);
18821
- if (this.semver === ANY || version2 === ANY) {
18819
+ test(version) {
18820
+ debug3("Comparator.test", version, this.options.loose);
18821
+ if (this.semver === ANY || version === ANY) {
18822
18822
  return true;
18823
18823
  }
18824
- if (typeof version2 === "string") {
18824
+ if (typeof version === "string") {
18825
18825
  try {
18826
- version2 = new SemVer(version2, this.options);
18826
+ version = new SemVer(version, this.options);
18827
18827
  } catch (er) {
18828
18828
  return false;
18829
18829
  }
18830
18830
  }
18831
- return cmp(version2, this.operator, this.semver, this.options);
18831
+ return cmp(version, this.operator, this.semver, this.options);
18832
18832
  }
18833
18833
  intersects(comp, options) {
18834
18834
  if (!(comp instanceof _Comparator)) {
@@ -18886,13 +18886,13 @@ var require_satisfies = __commonJS({
18886
18886
  "use strict";
18887
18887
  init_esm_shims();
18888
18888
  var Range = require_range();
18889
- var satisfies2 = (version2, range, options) => {
18889
+ var satisfies2 = (version, range, options) => {
18890
18890
  try {
18891
18891
  range = new Range(range, options);
18892
18892
  } catch (er) {
18893
18893
  return false;
18894
18894
  }
18895
- return range.test(version2);
18895
+ return range.test(version);
18896
18896
  };
18897
18897
  module2.exports = satisfies2;
18898
18898
  }
@@ -19058,8 +19058,8 @@ var require_outside = __commonJS({
19058
19058
  var lt = require_lt();
19059
19059
  var lte = require_lte();
19060
19060
  var gte = require_gte();
19061
- var outside = (version2, range, hilo, options) => {
19062
- version2 = new SemVer(version2, options);
19061
+ var outside = (version, range, hilo, options) => {
19062
+ version = new SemVer(version, options);
19063
19063
  range = new Range(range, options);
19064
19064
  let gtfn, ltefn, ltfn, comp, ecomp;
19065
19065
  switch (hilo) {
@@ -19080,7 +19080,7 @@ var require_outside = __commonJS({
19080
19080
  default:
19081
19081
  throw new TypeError('Must provide a hilo val of "<" or ">"');
19082
19082
  }
19083
- if (satisfies2(version2, range, options)) {
19083
+ if (satisfies2(version, range, options)) {
19084
19084
  return false;
19085
19085
  }
19086
19086
  for (let i2 = 0; i2 < range.set.length; ++i2) {
@@ -19102,9 +19102,9 @@ var require_outside = __commonJS({
19102
19102
  if (high.operator === comp || high.operator === ecomp) {
19103
19103
  return false;
19104
19104
  }
19105
- if ((!low.operator || low.operator === comp) && ltefn(version2, low.semver)) {
19105
+ if ((!low.operator || low.operator === comp) && ltefn(version, low.semver)) {
19106
19106
  return false;
19107
- } else if (low.operator === ecomp && ltfn(version2, low.semver)) {
19107
+ } else if (low.operator === ecomp && ltfn(version, low.semver)) {
19108
19108
  return false;
19109
19109
  }
19110
19110
  }
@@ -19120,7 +19120,7 @@ var require_gtr = __commonJS({
19120
19120
  "use strict";
19121
19121
  init_esm_shims();
19122
19122
  var outside = require_outside();
19123
- var gtr = (version2, range, options) => outside(version2, range, ">", options);
19123
+ var gtr = (version, range, options) => outside(version, range, ">", options);
19124
19124
  module2.exports = gtr;
19125
19125
  }
19126
19126
  });
@@ -19131,7 +19131,7 @@ var require_ltr = __commonJS({
19131
19131
  "use strict";
19132
19132
  init_esm_shims();
19133
19133
  var outside = require_outside();
19134
- var ltr = (version2, range, options) => outside(version2, range, "<", options);
19134
+ var ltr = (version, range, options) => outside(version, range, "<", options);
19135
19135
  module2.exports = ltr;
19136
19136
  }
19137
19137
  });
@@ -19163,12 +19163,12 @@ var require_simplify = __commonJS({
19163
19163
  let first = null;
19164
19164
  let prev = null;
19165
19165
  const v = versions.sort((a2, b) => compare(a2, b, options));
19166
- for (const version2 of v) {
19167
- const included = satisfies2(version2, range, options);
19166
+ for (const version of v) {
19167
+ const included = satisfies2(version, range, options);
19168
19168
  if (included) {
19169
- prev = version2;
19169
+ prev = version;
19170
19170
  if (!first) {
19171
- first = version2;
19171
+ first = version;
19172
19172
  }
19173
19173
  } else {
19174
19174
  if (prev) {
@@ -19962,8 +19962,8 @@ var init_platform2 = __esm({
19962
19962
 
19963
19963
  // ../../node_modules/@opentelemetry/api-logs/build/esm/internal/global-utils.js
19964
19964
  function makeGetter(requiredVersion, instance2, fallback) {
19965
- return function(version2) {
19966
- return version2 === requiredVersion ? instance2 : fallback;
19965
+ return function(version) {
19966
+ return version === requiredVersion ? instance2 : fallback;
19967
19967
  };
19968
19968
  }
19969
19969
  var GLOBAL_LOGS_API_KEY, _global, API_BACKWARDS_COMPATIBILITY_VERSION;
@@ -20007,8 +20007,8 @@ var init_logs = __esm({
20007
20007
  var _a3, _b;
20008
20008
  return (_b = (_a3 = _global[GLOBAL_LOGS_API_KEY]) === null || _a3 === void 0 ? void 0 : _a3.call(_global, API_BACKWARDS_COMPATIBILITY_VERSION)) !== null && _b !== void 0 ? _b : NOOP_LOGGER_PROVIDER;
20009
20009
  };
20010
- LogsAPI2.prototype.getLogger = function(name, version2, options) {
20011
- return this.getLoggerProvider().getLogger(name, version2, options);
20010
+ LogsAPI2.prototype.getLogger = function(name, version, options) {
20011
+ return this.getLoggerProvider().getLogger(name, version, options);
20012
20012
  };
20013
20013
  LogsAPI2.prototype.disable = function() {
20014
20014
  delete _global[GLOBAL_LOGS_API_KEY];
@@ -22371,12 +22371,12 @@ var init_utils3 = __esm({
22371
22371
  import * as path3 from "path";
22372
22372
  import { types as utilTypes } from "util";
22373
22373
  import { readFileSync as readFileSync2 } from "fs";
22374
- function isSupported(supportedVersions, version2, includePrerelease) {
22375
- if (typeof version2 === "undefined") {
22374
+ function isSupported(supportedVersions, version, includePrerelease) {
22375
+ if (typeof version === "undefined") {
22376
22376
  return supportedVersions.includes("*");
22377
22377
  }
22378
22378
  return supportedVersions.some(function(supportedVersion) {
22379
- return (0, import_semver.satisfies)(version2, supportedVersion, { includePrerelease });
22379
+ return (0, import_semver.satisfies)(version, supportedVersion, { includePrerelease });
22380
22380
  });
22381
22381
  }
22382
22382
  var import_semver, import_shimmer, import_import_in_the_middle, import_require_in_the_middle2, __extends3, __values7, InstrumentationBase;
@@ -22517,8 +22517,8 @@ var init_instrumentation2 = __esm({
22517
22517
  var json = readFileSync2(path3.join(baseDir, "package.json"), {
22518
22518
  encoding: "utf8"
22519
22519
  });
22520
- var version2 = JSON.parse(json).version;
22521
- return typeof version2 === "string" ? version2 : void 0;
22520
+ var version = JSON.parse(json).version;
22521
+ return typeof version === "string" ? version : void 0;
22522
22522
  } catch (error) {
22523
22523
  diag.warn("Failed extracting version", baseDir);
22524
22524
  }
@@ -22539,10 +22539,10 @@ var init_instrumentation2 = __esm({
22539
22539
  }
22540
22540
  return exports;
22541
22541
  }
22542
- var version2 = this._extractPackageVersion(baseDir);
22543
- module2.moduleVersion = version2;
22542
+ var version = this._extractPackageVersion(baseDir);
22543
+ module2.moduleVersion = version;
22544
22544
  if (module2.name === name) {
22545
- if (isSupported(module2.supportedVersions, version2, module2.includePrerelease)) {
22545
+ if (isSupported(module2.supportedVersions, version, module2.includePrerelease)) {
22546
22546
  if (typeof module2.patch === "function") {
22547
22547
  module2.moduleExports = exports;
22548
22548
  if (this._enabled) {
@@ -22562,7 +22562,7 @@ var init_instrumentation2 = __esm({
22562
22562
  var supportedFileInstrumentations = files.filter(function(f) {
22563
22563
  return f.name === normalizedName;
22564
22564
  }).filter(function(f) {
22565
- return isSupported(f.supportedVersions, version2, module2.includePrerelease);
22565
+ return isSupported(f.supportedVersions, version, module2.includePrerelease);
22566
22566
  });
22567
22567
  return supportedFileInstrumentations.reduce(function(patchedExports, file) {
22568
22568
  file.moduleExports = patchedExports;
@@ -24610,8 +24610,8 @@ var require_instrumentation3 = __commonJS({
24610
24610
  _patchValidate() {
24611
24611
  const instrumentation = this;
24612
24612
  return function validate3(original) {
24613
- return function patchValidate(schema, documentAST, rules, options, typeInfo) {
24614
- return instrumentation._validate(this, original, schema, documentAST, rules, typeInfo, options);
24613
+ return function patchValidate(schema2, documentAST, rules, options, typeInfo) {
24614
+ return instrumentation._validate(this, original, schema2, documentAST, rules, typeInfo, options);
24615
24615
  };
24616
24616
  };
24617
24617
  }
@@ -24634,11 +24634,11 @@ var require_instrumentation3 = __commonJS({
24634
24634
  });
24635
24635
  });
24636
24636
  }
24637
- _validate(obj, original, schema, documentAST, rules, typeInfo, options) {
24637
+ _validate(obj, original, schema2, documentAST, rules, typeInfo, options) {
24638
24638
  const span = this.tracer.startSpan(enum_1.SpanNames.VALIDATE, {});
24639
24639
  return api_1.context.with(api_1.trace.setSpan(api_1.context.active(), span), () => {
24640
24640
  return (0, instrumentation_1.safeExecuteInTheMiddle)(() => {
24641
- return original.call(obj, schema, documentAST, rules, options, typeInfo);
24641
+ return original.call(obj, schema2, documentAST, rules, options, typeInfo);
24642
24642
  }, (err, errors) => {
24643
24643
  if (!documentAST.loc) {
24644
24644
  span.updateName(enum_1.SpanNames.SCHEMA_VALIDATE);
@@ -24683,13 +24683,13 @@ var require_instrumentation3 = __commonJS({
24683
24683
  }
24684
24684
  return span;
24685
24685
  }
24686
- _wrapExecuteArgs(schema, document2, rootValue, contextValue, variableValues, operationName, fieldResolver, typeResolver, defaultFieldResolved) {
24686
+ _wrapExecuteArgs(schema2, document2, rootValue, contextValue, variableValues, operationName, fieldResolver, typeResolver, defaultFieldResolved) {
24687
24687
  if (!contextValue) {
24688
24688
  contextValue = {};
24689
24689
  }
24690
24690
  if (contextValue[symbols_1.OTEL_GRAPHQL_DATA_SYMBOL] || this._getConfig().ignoreResolveSpans) {
24691
24691
  return {
24692
- schema,
24692
+ schema: schema2,
24693
24693
  document: document2,
24694
24694
  rootValue,
24695
24695
  contextValue,
@@ -24702,12 +24702,12 @@ var require_instrumentation3 = __commonJS({
24702
24702
  const isUsingDefaultResolver = fieldResolver == null;
24703
24703
  const fieldResolverForExecute = fieldResolver !== null && fieldResolver !== void 0 ? fieldResolver : defaultFieldResolved;
24704
24704
  fieldResolver = (0, utils_1.wrapFieldResolver)(this.tracer, this._getConfig.bind(this), fieldResolverForExecute, isUsingDefaultResolver);
24705
- if (schema) {
24706
- (0, utils_1.wrapFields)(schema.getQueryType(), this.tracer, this._getConfig.bind(this));
24707
- (0, utils_1.wrapFields)(schema.getMutationType(), this.tracer, this._getConfig.bind(this));
24705
+ if (schema2) {
24706
+ (0, utils_1.wrapFields)(schema2.getQueryType(), this.tracer, this._getConfig.bind(this));
24707
+ (0, utils_1.wrapFields)(schema2.getMutationType(), this.tracer, this._getConfig.bind(this));
24708
24708
  }
24709
24709
  return {
24710
- schema,
24710
+ schema: schema2,
24711
24711
  document: document2,
24712
24712
  rootValue,
24713
24713
  contextValue,
@@ -43834,12 +43834,12 @@ var require_schema = __commonJS({
43834
43834
  var common2 = require_common4();
43835
43835
  var YAMLException = require_exception();
43836
43836
  var Type3 = require_type2();
43837
- function compileList(schema, name, result) {
43837
+ function compileList(schema2, name, result) {
43838
43838
  var exclude = [];
43839
- schema.include.forEach(function(includedSchema) {
43839
+ schema2.include.forEach(function(includedSchema) {
43840
43840
  result = compileList(includedSchema, name, result);
43841
43841
  });
43842
- schema[name].forEach(function(currentType) {
43842
+ schema2[name].forEach(function(currentType) {
43843
43843
  result.forEach(function(previousType, previousIndex) {
43844
43844
  if (previousType.tag === currentType.tag && previousType.kind === currentType.kind) {
43845
43845
  exclude.push(previousIndex);
@@ -43896,8 +43896,8 @@ var require_schema = __commonJS({
43896
43896
  }
43897
43897
  schemas = common2.toArray(schemas);
43898
43898
  types = common2.toArray(types);
43899
- if (!schemas.every(function(schema) {
43900
- return schema instanceof Schema;
43899
+ if (!schemas.every(function(schema2) {
43900
+ return schema2 instanceof Schema;
43901
43901
  })) {
43902
43902
  throw new YAMLException("Specified list of super schemas (or a single Schema object) contains a non-Schema object.");
43903
43903
  }
@@ -45945,7 +45945,7 @@ var require_dumper = __commonJS({
45945
45945
  "Off",
45946
45946
  "OFF"
45947
45947
  ];
45948
- function compileStyleMap(schema, map) {
45948
+ function compileStyleMap(schema2, map) {
45949
45949
  var result, keys, index, length, tag, style, type;
45950
45950
  if (map === null) return {};
45951
45951
  result = {};
@@ -45956,7 +45956,7 @@ var require_dumper = __commonJS({
45956
45956
  if (tag.slice(0, 2) === "!!") {
45957
45957
  tag = "tag:yaml.org,2002:" + tag.slice(2);
45958
45958
  }
45959
- type = schema.compiledTypeMap["fallback"][tag];
45959
+ type = schema2.compiledTypeMap["fallback"][tag];
45960
45960
  if (type && _hasOwnProperty.call(type.styleAliases, style)) {
45961
45961
  style = type.styleAliases[style];
45962
45962
  }
@@ -49331,10 +49331,10 @@ function _supportsColor(haveStream, { streamIsTTY, sniffFlags = true } = {}) {
49331
49331
  return 3;
49332
49332
  }
49333
49333
  if ("TERM_PROGRAM" in env) {
49334
- const version2 = Number.parseInt((env.TERM_PROGRAM_VERSION || "").split(".")[0], 10);
49334
+ const version = Number.parseInt((env.TERM_PROGRAM_VERSION || "").split(".")[0], 10);
49335
49335
  switch (env.TERM_PROGRAM) {
49336
49336
  case "iTerm.app": {
49337
- return version2 >= 3 ? 3 : 2;
49337
+ return version >= 3 ? 3 : 2;
49338
49338
  }
49339
49339
  case "Apple_Terminal": {
49340
49340
  return 2;
@@ -51727,6 +51727,7 @@ var ConfirmInput = ({
51727
51727
  label,
51728
51728
  info,
51729
51729
  initialValue = true,
51730
+ isActive,
51730
51731
  onSubmit
51731
51732
  }) => {
51732
51733
  const [inputState, setInputState] = (0, import_react40.useState)(
@@ -51739,6 +51740,11 @@ var ConfirmInput = ({
51739
51740
  },
51740
51741
  [onSubmit]
51741
51742
  );
51743
+ (0, import_react40.useEffect)(() => {
51744
+ if (isActive) {
51745
+ setInputState(InputState.NotSubmitted(inputState.value));
51746
+ }
51747
+ }, [isActive]);
51742
51748
  return /* @__PURE__ */ import_react40.default.createElement(Text2, null, /* @__PURE__ */ import_react40.default.createElement(InputLabel, null, label), " ", info && (0, import_variant3.isType)(inputState, InputState.NotSubmitted) && /* @__PURE__ */ import_react40.default.createElement(Text2, { skin: "secondary" }, info, " "), /* @__PURE__ */ import_react40.default.createElement(Placeholder, { inputState }), (0, import_variant3.isType)(inputState, InputState.NotSubmitted) && /* @__PURE__ */ import_react40.default.createElement(Input, { initialValue, onSubmit: handleSubmit }));
51743
51749
  };
51744
51750
 
@@ -52205,6 +52211,7 @@ function SelectInput2({
52205
52211
  label,
52206
52212
  info,
52207
52213
  options,
52214
+ isActive,
52208
52215
  onSubmit,
52209
52216
  limit = 10,
52210
52217
  initialIndex
@@ -52238,6 +52245,11 @@ function SelectInput2({
52238
52245
  })),
52239
52246
  [options]
52240
52247
  );
52248
+ (0, import_react47.useEffect)(() => {
52249
+ if (isActive) {
52250
+ setInputState(InputState.NotSubmitted(inputState.value));
52251
+ }
52252
+ }, [isActive]);
52241
52253
  return /* @__PURE__ */ import_react47.default.createElement(import_react47.default.Fragment, null, /* @__PURE__ */ import_react47.default.createElement(Box_default, { marginLeft: -2, marginBottom: 1 }, /* @__PURE__ */ import_react47.default.createElement(Text2, null, /* @__PURE__ */ import_react47.default.createElement(InputLabel, null, label), " ", info && (0, import_variant7.isType)(inputState, InputState.NotSubmitted) && /* @__PURE__ */ import_react47.default.createElement(Text2, { skin: "secondary" }, info))), /* @__PURE__ */ import_react47.default.createElement(Placeholder2, { inputState }), (0, import_variant7.isType)(inputState, InputState.NotSubmitted) && /* @__PURE__ */ import_react47.default.createElement(Box_default, null, /* @__PURE__ */ import_react47.default.createElement(
52242
52254
  SelectInput_default,
52243
52255
  {
@@ -52292,6 +52304,7 @@ var import_react49 = __toESM(require_react(), 1);
52292
52304
  var import_variant8 = __toESM(require_lib(), 1);
52293
52305
  var TextInput2 = ({
52294
52306
  label,
52307
+ isActive,
52295
52308
  placeholder,
52296
52309
  onSubmit,
52297
52310
  validate: validate3 = () => true,
@@ -52317,6 +52330,11 @@ var TextInput2 = ({
52317
52330
  [onSubmit, validate3]
52318
52331
  );
52319
52332
  const afterValidationError = Boolean(validationError && !isDirty2);
52333
+ (0, import_react49.useEffect)(() => {
52334
+ if (isActive) {
52335
+ setInputState(InputState.NotSubmitted(inputState.value));
52336
+ }
52337
+ }, [isActive]);
52320
52338
  return /* @__PURE__ */ import_react49.default.createElement(import_react49.default.Fragment, null, /* @__PURE__ */ import_react49.default.createElement(Box_default, { marginBottom: 1, marginLeft: inCreateFlow ? -2 : 0 }, /* @__PURE__ */ import_react49.default.createElement(Text2, null, /* @__PURE__ */ import_react49.default.createElement(
52321
52339
  InputLabel,
52322
52340
  {
@@ -53791,11 +53809,11 @@ function datetimeRegex(args) {
53791
53809
  regex2 = `${regex2}(${opts.join("|")})`;
53792
53810
  return new RegExp(`^${regex2}$`);
53793
53811
  }
53794
- function isValidIP(ip, version2) {
53795
- if ((version2 === "v4" || !version2) && ipv4Regex.test(ip)) {
53812
+ function isValidIP(ip, version) {
53813
+ if ((version === "v4" || !version) && ipv4Regex.test(ip)) {
53796
53814
  return true;
53797
53815
  }
53798
- if ((version2 === "v6" || !version2) && ipv6Regex.test(ip)) {
53816
+ if ((version === "v6" || !version) && ipv6Regex.test(ip)) {
53799
53817
  return true;
53800
53818
  }
53801
53819
  return false;
@@ -53818,11 +53836,11 @@ function isValidJWT(jwt, alg) {
53818
53836
  return false;
53819
53837
  }
53820
53838
  }
53821
- function isValidCidr(ip, version2) {
53822
- if ((version2 === "v4" || !version2) && ipv4CidrRegex.test(ip)) {
53839
+ function isValidCidr(ip, version) {
53840
+ if ((version === "v4" || !version) && ipv4CidrRegex.test(ip)) {
53823
53841
  return true;
53824
53842
  }
53825
- if ((version2 === "v6" || !version2) && ipv6CidrRegex.test(ip)) {
53843
+ if ((version === "v6" || !version) && ipv6CidrRegex.test(ip)) {
53826
53844
  return true;
53827
53845
  }
53828
53846
  return false;
@@ -55143,9 +55161,9 @@ var ZodArray = class _ZodArray extends ZodType {
55143
55161
  return this.min(1, message);
55144
55162
  }
55145
55163
  };
55146
- ZodArray.create = (schema, params) => {
55164
+ ZodArray.create = (schema2, params) => {
55147
55165
  return new ZodArray({
55148
- type: schema,
55166
+ type: schema2,
55149
55167
  minLength: null,
55150
55168
  maxLength: null,
55151
55169
  exactLength: null,
@@ -55153,30 +55171,30 @@ ZodArray.create = (schema, params) => {
55153
55171
  ...processCreateParams(params)
55154
55172
  });
55155
55173
  };
55156
- function deepPartialify(schema) {
55157
- if (schema instanceof ZodObject) {
55174
+ function deepPartialify(schema2) {
55175
+ if (schema2 instanceof ZodObject) {
55158
55176
  const newShape = {};
55159
- for (const key in schema.shape) {
55160
- const fieldSchema = schema.shape[key];
55177
+ for (const key in schema2.shape) {
55178
+ const fieldSchema = schema2.shape[key];
55161
55179
  newShape[key] = ZodOptional.create(deepPartialify(fieldSchema));
55162
55180
  }
55163
55181
  return new ZodObject({
55164
- ...schema._def,
55182
+ ...schema2._def,
55165
55183
  shape: () => newShape
55166
55184
  });
55167
- } else if (schema instanceof ZodArray) {
55185
+ } else if (schema2 instanceof ZodArray) {
55168
55186
  return new ZodArray({
55169
- ...schema._def,
55170
- type: deepPartialify(schema.element)
55187
+ ...schema2._def,
55188
+ type: deepPartialify(schema2.element)
55171
55189
  });
55172
- } else if (schema instanceof ZodOptional) {
55173
- return ZodOptional.create(deepPartialify(schema.unwrap()));
55174
- } else if (schema instanceof ZodNullable) {
55175
- return ZodNullable.create(deepPartialify(schema.unwrap()));
55176
- } else if (schema instanceof ZodTuple) {
55177
- return ZodTuple.create(schema.items.map((item) => deepPartialify(item)));
55190
+ } else if (schema2 instanceof ZodOptional) {
55191
+ return ZodOptional.create(deepPartialify(schema2.unwrap()));
55192
+ } else if (schema2 instanceof ZodNullable) {
55193
+ return ZodNullable.create(deepPartialify(schema2.unwrap()));
55194
+ } else if (schema2 instanceof ZodTuple) {
55195
+ return ZodTuple.create(schema2.items.map((item) => deepPartialify(item)));
55178
55196
  } else {
55179
- return schema;
55197
+ return schema2;
55180
55198
  }
55181
55199
  }
55182
55200
  var ZodObject = class _ZodObject extends ZodType {
@@ -55392,8 +55410,8 @@ var ZodObject = class _ZodObject extends ZodType {
55392
55410
  // }) as any;
55393
55411
  // return merged;
55394
55412
  // }
55395
- setKey(key, schema) {
55396
- return this.augment({ [key]: schema });
55413
+ setKey(key, schema2) {
55414
+ return this.augment({ [key]: schema2 });
55397
55415
  }
55398
55416
  // merge<Incoming extends AnyZodObject>(
55399
55417
  // merging: Incoming
@@ -55839,10 +55857,10 @@ var ZodTuple = class _ZodTuple extends ZodType {
55839
55857
  status.dirty();
55840
55858
  }
55841
55859
  const items = [...ctx.data].map((item, itemIndex) => {
55842
- const schema = this._def.items[itemIndex] || this._def.rest;
55843
- if (!schema)
55860
+ const schema2 = this._def.items[itemIndex] || this._def.rest;
55861
+ if (!schema2)
55844
55862
  return null;
55845
- return schema._parse(new ParseInputLazyPath(ctx, item, ctx.path, itemIndex));
55863
+ return schema2._parse(new ParseInputLazyPath(ctx, item, ctx.path, itemIndex));
55846
55864
  }).filter((x) => !!x);
55847
55865
  if (ctx.common.async) {
55848
55866
  return Promise.all(items).then((results) => {
@@ -56376,9 +56394,9 @@ var ZodPromise = class extends ZodType {
56376
56394
  }));
56377
56395
  }
56378
56396
  };
56379
- ZodPromise.create = (schema, params) => {
56397
+ ZodPromise.create = (schema2, params) => {
56380
56398
  return new ZodPromise({
56381
- type: schema,
56399
+ type: schema2,
56382
56400
  typeName: ZodFirstPartyTypeKind.ZodPromise,
56383
56401
  ...processCreateParams(params)
56384
56402
  });
@@ -56503,17 +56521,17 @@ var ZodEffects = class extends ZodType {
56503
56521
  util.assertNever(effect);
56504
56522
  }
56505
56523
  };
56506
- ZodEffects.create = (schema, effect, params) => {
56524
+ ZodEffects.create = (schema2, effect, params) => {
56507
56525
  return new ZodEffects({
56508
- schema,
56526
+ schema: schema2,
56509
56527
  typeName: ZodFirstPartyTypeKind.ZodEffects,
56510
56528
  effect,
56511
56529
  ...processCreateParams(params)
56512
56530
  });
56513
56531
  };
56514
- ZodEffects.createWithPreprocess = (preprocess, schema, params) => {
56532
+ ZodEffects.createWithPreprocess = (preprocess, schema2, params) => {
56515
56533
  return new ZodEffects({
56516
- schema,
56534
+ schema: schema2,
56517
56535
  effect: { type: "preprocess", transform: preprocess },
56518
56536
  typeName: ZodFirstPartyTypeKind.ZodEffects,
56519
56537
  ...processCreateParams(params)
@@ -57078,7 +57096,6 @@ var CliSystemErrorCode = (0, import_variant11.variant)({
57078
57096
  FailedToGetDeveloperApps: {},
57079
57097
  FailedToUpdateTelemetryConfig: {},
57080
57098
  FailedToSyncToRevision: (0, import_variant11.fields)(),
57081
- FailedToCreateVersion: {},
57082
57099
  FailedToReadCache: (0, import_variant11.fields)(),
57083
57100
  FailedToWriteCache: (0, import_variant11.fields)(),
57084
57101
  UploadApplicationFailed: {},
@@ -57104,7 +57121,6 @@ var CliSystemErrorCode = (0, import_variant11.variant)({
57104
57121
  ViteFileNotFoundInOutput: (0, import_variant11.fields)(),
57105
57122
  FailedToCreateBackendDeployment: {},
57106
57123
  FailedToUpdateBackendDeployment: {},
57107
- InvalidDeploymentUrl: (0, import_variant11.fields)(),
57108
57124
  FailedToGetBackendDeployment: {},
57109
57125
  FailedToDeployBackend: {},
57110
57126
  FailedToGetUserInfo: {},
@@ -57116,13 +57132,11 @@ var CliSystemErrorCode = (0, import_variant11.variant)({
57116
57132
  FailedToQueryApps: {},
57117
57133
  FailedToGetMarketListing: {},
57118
57134
  FailedToAddRequiredApp: {},
57119
- FailedToGetAppValidity: {},
57120
57135
  FailedToQuerySites: {},
57121
57136
  FailedToGetSite: {},
57122
57137
  FailedToDeploySite: {},
57123
57138
  FailedToDeploySitePreview: {},
57124
57139
  FailedToPublishDeployment: {},
57125
- FailedToMarkDeploymentAsPermanent: {},
57126
57140
  FailedToGetAppInstallationDetails: (0, import_variant11.fields)(),
57127
57141
  TypeErrorInvalidUrl: {},
57128
57142
  FailedToGenerateSelfSignedCertificate: {},
@@ -57210,7 +57224,6 @@ var CliUserErrorCode = (0, import_variant11.variant)({
57210
57224
  PermissionDenied: {},
57211
57225
  SiteSelectorTimedout: {},
57212
57226
  FailedToReadProjectFiles: {},
57213
- FailedToCreateVersionForSubmittedApp: {},
57214
57227
  GridAppFilesMaxLengthExceeded: (0, import_variant11.fields)(),
57215
57228
  DeviceCodeTimedOut: {},
57216
57229
  DuplicateComponentIdsError: (0, import_variant11.fields)(),
@@ -57267,7 +57280,8 @@ var CliUserErrorCode = (0, import_variant11.variant)({
57267
57280
  WebMethodOutsideOfProjectDirectory: (0, import_variant11.fields)(),
57268
57281
  FailedToEvalBackendExtension: (0, import_variant11.fields)(),
57269
57282
  DeploymentPipelineFailed: (0, import_variant11.fields)(),
57270
- InsufficientNonInterractiveReleaseParameters: {}
57283
+ InsufficientNonInterractiveReleaseParameters: {},
57284
+ CannotReleaseMinorInNoninteractive: {}
57271
57285
  });
57272
57286
  var CliErrorCode = (0, import_variant11.variant)({
57273
57287
  ...CliSystemErrorCode,
@@ -57664,49 +57678,27 @@ function flattenParams(data, path8 = "") {
57664
57678
  });
57665
57679
  return params;
57666
57680
  }
57667
- function inflateParams(data) {
57668
- const params = {};
57669
- Object.entries(data).forEach(([key, value2]) => {
57670
- let pathParams = params;
57671
- const pathArray = key.split(".");
57672
- const lastPath = pathArray.pop();
57673
- pathArray.forEach((path8) => {
57674
- if (!pathParams[path8]) {
57675
- pathParams[path8] = {};
57676
- }
57677
- pathParams = pathParams[path8];
57678
- });
57679
- pathParams[lastPath] = value2;
57680
- });
57681
- return params;
57682
- }
57683
57681
  function resolvePath2(path8, key) {
57684
57682
  return `${path8}${path8 ? "." : ""}${key}`;
57685
57683
  }
57686
57684
  function toURLSearchParams(params, isComplexRequest) {
57687
57685
  const flatten2 = flattenParams(params);
57688
- const complexParams = {};
57689
- const searchParams = Object.entries(flatten2).reduce((urlSearchParams, [key, value2]) => {
57690
- const keyParams = Array.isArray(value2) ? value2 : [value2];
57691
- keyParams.forEach((param) => {
57692
- if (param === void 0 || param === null) {
57693
- return;
57694
- }
57695
- if (Array.isArray(value2) && typeof param === "object") {
57696
- complexParams[key] = value2;
57697
- return;
57698
- }
57699
- if (!Array.isArray(value2)) {
57700
- complexParams[key] = value2;
57701
- }
57702
- urlSearchParams.append(key, param);
57703
- });
57704
- return urlSearchParams;
57705
- }, new URLSearchParams());
57706
- if (isComplexRequest) {
57707
- searchParams.append(".r", encode(JSON.stringify(inflateParams(complexParams)), true));
57686
+ const isPayloadNonSerializableAsUrlSearchParams = Object.entries(flatten2).some(([key, value2]) => key.includes(".") || Array.isArray(value2) && value2.some((v) => typeof v === "object"));
57687
+ const shouldSerializeToRParam = isComplexRequest && isPayloadNonSerializableAsUrlSearchParams;
57688
+ if (shouldSerializeToRParam) {
57689
+ return new URLSearchParams({ ".r": encode(JSON.stringify(params), true) });
57690
+ } else {
57691
+ return Object.entries(flatten2).reduce((urlSearchParams, [key, value2]) => {
57692
+ const keyParams = Array.isArray(value2) ? value2 : [value2];
57693
+ keyParams.forEach((param) => {
57694
+ if (param === void 0 || param === null || Array.isArray(value2) && typeof param === "object") {
57695
+ return;
57696
+ }
57697
+ urlSearchParams.append(key, param);
57698
+ });
57699
+ return urlSearchParams;
57700
+ }, new URLSearchParams());
57708
57701
  }
57709
- return searchParams;
57710
57702
  }
57711
57703
 
57712
57704
  // ../../node_modules/@wix/metro-runtime/dist/esm/ambassador-index.js
@@ -57725,13 +57717,13 @@ init_esm_shims();
57725
57717
  function schemaSerializer(rootSchema, depSchemas = {}, converterSets) {
57726
57718
  return function serialize(json = {}, converterType) {
57727
57719
  return typeof json === "string" ? json : transformSchema(rootSchema, json);
57728
- function transformSchema(schema, payload5) {
57720
+ function transformSchema(schema2, payload5) {
57729
57721
  const result = {};
57730
57722
  if ([null, void 0].includes(payload5)) {
57731
57723
  return payload5;
57732
57724
  }
57733
57725
  Object.entries(payload5).forEach(([key, val]) => {
57734
- const renderedSchemaName = schema[key];
57726
+ const renderedSchemaName = schema2[key];
57735
57727
  const { schemaName, schemaType } = parseLeanSchemaRef(renderedSchemaName);
57736
57728
  const isMap = schemaType === "Map";
57737
57729
  const isRepeatable = getConverter(schemaName)?.checkRepetable?.(val) ?? Array.isArray(val);
@@ -66490,7 +66482,7 @@ var OutdatedVersionMessage = ({
66490
66482
  init_esm_shims();
66491
66483
  var import_react76 = __toESM(require_react(), 1);
66492
66484
  var CreateVersionDeprecationMessage = ({ packageManagerRunCmd }) => {
66493
- return /* @__PURE__ */ import_react76.default.createElement(Box_default, { rowGap: 1, paddingBottom: 1, flexDirection: "column" }, /* @__PURE__ */ import_react76.default.createElement(Alert, { type: "error" }, "Deprecation Notice"), /* @__PURE__ */ import_react76.default.createElement(Text2, null, /* @__PURE__ */ import_react76.default.createElement(Text2, { skin: "info" }, "create-version"), " command is being replaced by", " ", /* @__PURE__ */ import_react76.default.createElement(Text2, { skin: "info" }, "release"), " command."), packageManagerRunCmd ? /* @__PURE__ */ import_react76.default.createElement(Text2, null, "With ", /* @__PURE__ */ import_react76.default.createElement(Text2, { skin: "info" }, packageManagerRunCmd, " release"), " you can:") : /* @__PURE__ */ import_react76.default.createElement(Text2, null, "With the ", /* @__PURE__ */ import_react76.default.createElement(Text2, { skin: "info" }, "release"), " command you can:"), /* @__PURE__ */ import_react76.default.createElement(UnorderedList, { paddingLeft: 2 }, /* @__PURE__ */ import_react76.default.createElement(UnorderedList.Item, null, /* @__PURE__ */ import_react76.default.createElement(Text2, null, "Add comments for each version you release.")), /* @__PURE__ */ import_react76.default.createElement(UnorderedList.Item, null, /* @__PURE__ */ import_react76.default.createElement(Text2, null, "Release new versions instantly without submitting for review.")), /* @__PURE__ */ import_react76.default.createElement(UnorderedList.Item, null, /* @__PURE__ */ import_react76.default.createElement(Text2, null, "Explore different ways to distribute your app."))));
66485
+ return /* @__PURE__ */ import_react76.default.createElement(Box_default, { rowGap: 1, paddingBottom: 1, flexDirection: "column" }, /* @__PURE__ */ import_react76.default.createElement(Alert, { type: "error" }, "Deprecation Notice"), /* @__PURE__ */ import_react76.default.createElement(Text2, null, /* @__PURE__ */ import_react76.default.createElement(Text2, { skin: "info" }, "create-version"), " command is being replaced by", " ", /* @__PURE__ */ import_react76.default.createElement(Text2, { skin: "info" }, "release"), " command."), packageManagerRunCmd ? /* @__PURE__ */ import_react76.default.createElement(Text2, null, "With ", /* @__PURE__ */ import_react76.default.createElement(Text2, { skin: "info" }, packageManagerRunCmd, " wix app release"), " ", "you can:") : /* @__PURE__ */ import_react76.default.createElement(Text2, null, "With the ", /* @__PURE__ */ import_react76.default.createElement(Text2, { skin: "info" }, "release"), " command you can:"), /* @__PURE__ */ import_react76.default.createElement(UnorderedList, { paddingLeft: 2 }, /* @__PURE__ */ import_react76.default.createElement(UnorderedList.Item, null, /* @__PURE__ */ import_react76.default.createElement(Text2, null, "Add comments for each version you release.")), /* @__PURE__ */ import_react76.default.createElement(UnorderedList.Item, null, /* @__PURE__ */ import_react76.default.createElement(Text2, null, "Release new versions instantly without submitting for review.")), /* @__PURE__ */ import_react76.default.createElement(UnorderedList.Item, null, /* @__PURE__ */ import_react76.default.createElement(Text2, null, "Explore different ways to distribute your app."))));
66494
66486
  };
66495
66487
 
66496
66488
  // ../cli-error-reporting/src/get-error-component.tsx
@@ -66700,9 +66692,6 @@ function getErrorComponent(code, cause) {
66700
66692
  }
66701
66693
  );
66702
66694
  },
66703
- FailedToCreateVersion: () => {
66704
- return () => /* @__PURE__ */ import_react77.default.createElement(ErrorMessage, { message: "Wix CLI failed to create version for your app" });
66705
- },
66706
66695
  FailedToReadCache: ({ path: path8 }) => {
66707
66696
  return () => /* @__PURE__ */ import_react77.default.createElement(ErrorMessage, { message: `Failed to read cache file at ${path8}.` });
66708
66697
  },
@@ -66917,15 +66906,6 @@ function getErrorComponent(code, cause) {
66917
66906
  }
66918
66907
  );
66919
66908
  },
66920
- FailedToCreateVersionForSubmittedApp: () => {
66921
- return () => /* @__PURE__ */ import_react77.default.createElement(
66922
- ErrorMessage,
66923
- {
66924
- message: "Cannot create a new application version because the app has an active marketplace submission",
66925
- hint: "You will be able continue creating versions when your submission is approved or retracted"
66926
- }
66927
- );
66928
- },
66929
66909
  GridAppFilesMaxLengthExceeded: ({ maxSizeViolationsData, filePaths }) => {
66930
66910
  let errorMessage = "Found one or more project files that are bigger than the allowed limit";
66931
66911
  if (maxSizeViolationsData?.files.length) {
@@ -67024,23 +67004,12 @@ function getErrorComponent(code, cause) {
67024
67004
  FailedToUpdateBackendDeployment: () => {
67025
67005
  return () => /* @__PURE__ */ import_react77.default.createElement(ErrorMessage, { message: "Failed to update backend deployment" });
67026
67006
  },
67027
- InvalidDeploymentUrl: ({ deploymentUrl }) => {
67028
- return () => /* @__PURE__ */ import_react77.default.createElement(
67029
- ErrorMessage,
67030
- {
67031
- message: `Invalid deployment URL: \`${deploymentUrl}\``
67032
- }
67033
- );
67034
- },
67035
67007
  FailedToGetBackendDeployment: () => {
67036
67008
  return () => /* @__PURE__ */ import_react77.default.createElement(ErrorMessage, { message: "Failed to get backend deployment" });
67037
67009
  },
67038
67010
  FailedToDeployBackend: () => {
67039
67011
  return () => /* @__PURE__ */ import_react77.default.createElement(ErrorMessage, { message: "Failed to deploy backend" });
67040
67012
  },
67041
- FailedToMarkDeploymentAsPermanent: () => {
67042
- return () => /* @__PURE__ */ import_react77.default.createElement(ErrorMessage, { message: "Failed to make backend deployment permanent" });
67043
- },
67044
67013
  FailedToGetUserInfo: () => {
67045
67014
  return () => /* @__PURE__ */ import_react77.default.createElement(ErrorMessage, { message: "Failed to get user information." });
67046
67015
  },
@@ -67258,9 +67227,6 @@ function getErrorComponent(code, cause) {
67258
67227
  }
67259
67228
  );
67260
67229
  },
67261
- FailedToGetAppValidity: () => {
67262
- return () => /* @__PURE__ */ import_react77.default.createElement(SystemErrorMessage, { message: "Failed to get validation status for app version" });
67263
- },
67264
67230
  InvalidDashboardPageRoute: ({ route, errorMessage }) => {
67265
67231
  return () => /* @__PURE__ */ import_react77.default.createElement(
67266
67232
  ErrorMessage,
@@ -67331,11 +67297,11 @@ function getErrorComponent(code, cause) {
67331
67297
  FailedToParseLog: () => {
67332
67298
  return () => /* @__PURE__ */ import_react77.default.createElement(SystemErrorMessage, { message: "Failed to parse log from the server" });
67333
67299
  },
67334
- AppForVersionNotFound: ({ version: version2 }) => {
67300
+ AppForVersionNotFound: ({ version }) => {
67335
67301
  return () => /* @__PURE__ */ import_react77.default.createElement(
67336
67302
  ErrorMessage,
67337
67303
  {
67338
- message: `Could not find app configuration for the provided version: "${version2}"`,
67304
+ message: `Could not find app configuration for the provided version: "${version}"`,
67339
67305
  hint: `Make sure that there is an app for this version.`
67340
67306
  }
67341
67307
  );
@@ -67686,7 +67652,7 @@ ${errorMessage}`
67686
67652
  return () => /* @__PURE__ */ import_react77.default.createElement(
67687
67653
  ErrorMessage,
67688
67654
  {
67689
- message: `Release command in non-interactive mode requires following parameters: --comment, --version-type, --approve-minor`
67655
+ message: `Release command in non-interactive mode requires following parameter: --version-type`
67690
67656
  }
67691
67657
  );
67692
67658
  },
@@ -67708,16 +67674,25 @@ ${errorMessage}`
67708
67674
  /* @__PURE__ */ import_react77.default.createElement(Text2, null, content.trim())
67709
67675
  ))))));
67710
67676
  },
67711
- FailedToParseLatestVersion: ({ version: version2 }) => {
67677
+ FailedToParseLatestVersion: ({ version }) => {
67712
67678
  return () => /* @__PURE__ */ import_react77.default.createElement(
67713
67679
  SystemErrorMessage,
67714
67680
  {
67715
- message: `The version "${version2}" produced by the system does not conform to the expected semantic versioning format and could not be parsed.`
67681
+ message: `The version "${version}" produced by the system does not conform to the expected semantic versioning format and could not be parsed.`
67716
67682
  }
67717
67683
  );
67718
67684
  },
67719
67685
  FailedToFetchWixLockFile: () => {
67720
67686
  return () => /* @__PURE__ */ import_react77.default.createElement(SystemErrorMessage, { message: `Failed to fetch "wix.lock" file.` });
67687
+ },
67688
+ CannotReleaseMinorInNoninteractive: () => {
67689
+ return () => /* @__PURE__ */ import_react77.default.createElement(
67690
+ ErrorMessage,
67691
+ {
67692
+ message: `Minor version release is not allowed.`,
67693
+ hint: `Please release major version.`
67694
+ }
67695
+ );
67721
67696
  }
67722
67697
  });
67723
67698
  }
@@ -70273,8 +70248,8 @@ var NodeClient = class extends ServerRuntimeClient {
70273
70248
  return this._tracer;
70274
70249
  }
70275
70250
  const name = "@sentry/node";
70276
- const version2 = SDK_VERSION;
70277
- const tracer = trace.getTracer(name, version2);
70251
+ const version = SDK_VERSION;
70252
+ const tracer = trace.getTracer(name, version);
70278
70253
  this._tracer = tracer;
70279
70254
  return tracer;
70280
70255
  }
@@ -70728,7 +70703,7 @@ var LoginInstructions = ({ userCode, verificationUri }) => {
70728
70703
  ],
70729
70704
  values: { code: userCode }
70730
70705
  }
70731
- )), openBrowserError && /* @__PURE__ */ import_react86.default.createElement(import_react86.default.Fragment, null, /* @__PURE__ */ import_react86.default.createElement(Box_default, { flexDirection: "column", marginBottom: 1 }, /* @__PURE__ */ import_react86.default.createElement(ErrorViewer, { error: openBrowserError })), /* @__PURE__ */ import_react86.default.createElement(
70706
+ )), openBrowserError != null && /* @__PURE__ */ import_react86.default.createElement(import_react86.default.Fragment, null, /* @__PURE__ */ import_react86.default.createElement(Box_default, { flexDirection: "column", marginBottom: 1 }, /* @__PURE__ */ import_react86.default.createElement(ErrorViewer, { error: openBrowserError })), /* @__PURE__ */ import_react86.default.createElement(
70732
70707
  Trans2,
70733
70708
  {
70734
70709
  i18nKey: "login.error_opening_browser",
@@ -71208,11 +71183,10 @@ function reportCommandStartEvent({
71208
71183
  }
71209
71184
 
71210
71185
  // package.json
71211
- var version = "0.0.102";
71212
71186
  var package_default = {
71213
71187
  name: "@wix/create-app",
71214
71188
  description: "Create Wix apps",
71215
- version,
71189
+ version: "0.0.104",
71216
71190
  author: "Ihor Machuzhak",
71217
71191
  bin: "bin/index.cjs",
71218
71192
  devDependencies: {
@@ -71222,7 +71196,7 @@ var package_default = {
71222
71196
  "@types/react": "^18.3.3",
71223
71197
  "@types/semver": "^7.5.8",
71224
71198
  "@types/validate-npm-package-name": "^4.0.2",
71225
- "@wix/bi-logger-dev-tools-data": "^1.95.0",
71199
+ "@wix/bi-logger-dev-tools-data": "^1.97.0",
71226
71200
  "@wix/cli-auth": "workspace:*",
71227
71201
  "@wix/cli-error": "workspace:*",
71228
71202
  "@wix/cli-error-reporting": "workspace:*",
@@ -71307,7 +71281,7 @@ var createBiLogger2 = async (errorReporter2, userId) => {
71307
71281
  {
71308
71282
  command: "create-app",
71309
71283
  cliSessionId: randomUUID2(),
71310
- cliVersion: version
71284
+ cliVersion: package_default.version
71311
71285
  },
71312
71286
  userId
71313
71287
  );
@@ -71329,7 +71303,7 @@ var createBiLogger2 = async (errorReporter2, userId) => {
71329
71303
  return reportCommandStartEvent({
71330
71304
  biLogger,
71331
71305
  command: commandFields,
71332
- cliVersion: version,
71306
+ cliVersion: package_default.version,
71333
71307
  flow: "Apps"
71334
71308
  });
71335
71309
  }
@@ -73556,7 +73530,7 @@ var isFileSync = isTypeSync.bind(void 0, "statSync", "isFile");
73556
73530
  var isDirectorySync = isTypeSync.bind(void 0, "statSync", "isDirectory");
73557
73531
  var isSymlinkSync = isTypeSync.bind(void 0, "lstatSync", "isSymbolicLink");
73558
73532
 
73559
- // ../../node_modules/globby/node_modules/unicorn-magic/node.js
73533
+ // ../../node_modules/unicorn-magic/node.js
73560
73534
  init_esm_shims();
73561
73535
  import { promisify as promisify6 } from "node:util";
73562
73536
  import { execFile as execFileCallback, execFileSync as execFileSyncOriginal } from "node:child_process";
@@ -74424,13 +74398,13 @@ var PackageNotFoundError = class extends Error {
74424
74398
  }
74425
74399
  };
74426
74400
  var VersionNotFoundError = class extends Error {
74427
- constructor(packageName, version2) {
74428
- super(`Version \`${version2}\` for package \`${packageName}\` could not be found`);
74401
+ constructor(packageName, version) {
74402
+ super(`Version \`${version}\` for package \`${packageName}\` could not be found`);
74429
74403
  this.name = "VersionNotFoundError";
74430
74404
  }
74431
74405
  };
74432
74406
  async function packageJson(packageName, options = {}) {
74433
- let { version: version2 = "latest" } = options;
74407
+ let { version = "latest" } = options;
74434
74408
  const { omitDeprecated = true } = options;
74435
74409
  const scope = packageName.split("/")[0];
74436
74410
  const registryUrl_ = options.registryUrl ?? registryUrl(scope);
@@ -74457,13 +74431,13 @@ async function packageJson(packageName, options = {}) {
74457
74431
  if (options.allVersions) {
74458
74432
  return data;
74459
74433
  }
74460
- const versionError = new VersionNotFoundError(packageName, version2);
74461
- if (data["dist-tags"][version2]) {
74434
+ const versionError = new VersionNotFoundError(packageName, version);
74435
+ if (data["dist-tags"][version]) {
74462
74436
  const { time } = data;
74463
- data = data.versions[data["dist-tags"][version2]];
74437
+ data = data.versions[data["dist-tags"][version]];
74464
74438
  data.time = time;
74465
- } else if (version2) {
74466
- const versionExists = Boolean(data.versions[version2]);
74439
+ } else if (version) {
74440
+ const versionExists = Boolean(data.versions[version]);
74467
74441
  if (omitDeprecated && !versionExists) {
74468
74442
  for (const [metadataVersion, metadata] of Object.entries(data.versions)) {
74469
74443
  if (metadata.deprecated) {
@@ -74473,13 +74447,13 @@ async function packageJson(packageName, options = {}) {
74473
74447
  }
74474
74448
  if (!versionExists) {
74475
74449
  const versions = Object.keys(data.versions);
74476
- version2 = import_semver2.default.maxSatisfying(versions, version2);
74477
- if (!version2) {
74450
+ version = import_semver2.default.maxSatisfying(versions, version);
74451
+ if (!version) {
74478
74452
  throw versionError;
74479
74453
  }
74480
74454
  }
74481
74455
  const { time } = data;
74482
- data = data.versions[version2];
74456
+ data = data.versions[version];
74483
74457
  data.time = time;
74484
74458
  if (!data) {
74485
74459
  throw versionError;
@@ -74543,6 +74517,17 @@ function validateUUID(value2) {
74543
74517
  throw new InvalidArgumentError("Value must be a valid GUID");
74544
74518
  }
74545
74519
 
74520
+ // src/validations/validate-template-params.ts
74521
+ init_esm_shims();
74522
+ var schema = z.string().transform((value2) => JSON.parse(value2)).pipe(z.record(z.unknown()));
74523
+ function validateTemplateParams(value2) {
74524
+ try {
74525
+ return schema.parse(value2);
74526
+ } catch {
74527
+ throw new InvalidArgumentError("Value must be a valid JSON object string.");
74528
+ }
74529
+ }
74530
+
74546
74531
  // src/components/AuthProvider.tsx
74547
74532
  init_esm_shims();
74548
74533
  var import_react94 = __toESM(require_react(), 1);
@@ -74621,6 +74606,7 @@ var _api_Number = {
74621
74606
  maximum: "google.protobuf.FloatValue",
74622
74607
  multipleOf: "google.protobuf.FloatValue"
74623
74608
  };
74609
+ var _apiArrayItems = { data: "_dataItems", dataItem: "_dataItem" };
74624
74610
  var _appData = { components: "_component", pricingModels: "_pricingModel" };
74625
74611
  var _appEmbedData = { image: "_media" };
74626
74612
  var _arrayItems = {
@@ -74662,7 +74648,8 @@ var _componentData = {
74662
74648
  editorReactComponent: "_editorReactComponent"
74663
74649
  };
74664
74650
  var _conditionNode = { and: "_andCondition", or: "_orCondition" };
74665
- var _dataItem = { number: "_api_Number" };
74651
+ var _dataItem = { number: "_api_Number", arrayItems: "_apiArrayItems" };
74652
+ var _dataItems = { items: "Map#_dataItem" };
74666
74653
  var _dateInput = { description: "_richContent" };
74667
74654
  var _datePicker = { description: "_richContent" };
74668
74655
  var _dateTimeInput = { description: "_richContent" };
@@ -75127,6 +75114,7 @@ function getAppByVersion(payload5) {
75127
75114
  _actionSPIConfig,
75128
75115
  _adminConfigurableTextInput,
75129
75116
  _andCondition,
75117
+ _apiArrayItems,
75130
75118
  _api_Number,
75131
75119
  _appData,
75132
75120
  _appEmbedData,
@@ -75143,6 +75131,7 @@ function getAppByVersion(payload5) {
75143
75131
  _componentData,
75144
75132
  _conditionNode,
75145
75133
  _dataItem,
75134
+ _dataItems,
75146
75135
  _dateInput,
75147
75136
  _datePicker,
75148
75137
  _dateTimeInput,
@@ -75638,76 +75627,6 @@ function queryMarketListing(payload5) {
75638
75627
  return __queryMarketListing;
75639
75628
  }
75640
75629
 
75641
- // ../../node_modules/@wix/ambassador-devcenter-app-assessment-v1-validation/build/es/http.impl.js
75642
- init_esm_shims();
75643
- var _getAppValidationReportRequest = {};
75644
- var _getAppValidationReportResponse = {};
75645
- function resolveComWixDevcenterAppValidationServiceUrl(opts) {
75646
- var domainToMappings = {
75647
- "bo._base_domain_": [
75648
- {
75649
- srcPath: "/_api/app-assessment",
75650
- destPath: ""
75651
- }
75652
- ],
75653
- "wixbo.ai": [
75654
- {
75655
- srcPath: "/_api/app-assessment",
75656
- destPath: ""
75657
- }
75658
- ],
75659
- "wix-bo.com": [
75660
- {
75661
- srcPath: "/_api/app-assessment",
75662
- destPath: ""
75663
- }
75664
- ],
75665
- _api_base_domain_: [
75666
- {
75667
- srcPath: "/_api/app-assessment-service",
75668
- destPath: ""
75669
- }
75670
- ],
75671
- "dev._base_domain_": [
75672
- {
75673
- srcPath: "/_api/app-assessment",
75674
- destPath: ""
75675
- }
75676
- ],
75677
- "manage._base_domain_": [
75678
- {
75679
- srcPath: "/_api/app-assessment",
75680
- destPath: ""
75681
- }
75682
- ]
75683
- };
75684
- return resolveUrl(Object.assign(opts, { domainToMappings }));
75685
- }
75686
- function getAppValidationReport(payload5) {
75687
- var _a3 = serializer(_getAppValidationReportRequest, {}), toReq = _a3.toJSON, fromReq = _a3.fromJSON;
75688
- var fromRes = serializer(_getAppValidationReportResponse, {}).fromJSON;
75689
- function __getAppValidationReport(_a4) {
75690
- var host = _a4.host;
75691
- var serializedData = toReq(payload5);
75692
- var metadata = {
75693
- entityFqdn: "wix.devcenter.app_assessment.v1.validation",
75694
- method: "GET",
75695
- methodFqn: "com.wix.devcenter.AppValidationService.GetAppValidationReport",
75696
- url: resolveComWixDevcenterAppValidationServiceUrl({
75697
- protoPath: "/v1/get-app-validation-report/{appId}/{version}",
75698
- data: serializedData,
75699
- host
75700
- }),
75701
- params: toURLSearchParams(serializedData),
75702
- transformResponse: fromRes
75703
- };
75704
- return metadata;
75705
- }
75706
- __getAppValidationReport.fromReq = fromReq;
75707
- __getAppValidationReport.__isAmbassador = true;
75708
- return __getAppValidationReport;
75709
- }
75710
-
75711
75630
  // ../../node_modules/@wix/ambassador-devcenter-apps-v1-app-template/build/es/http.impl.js
75712
75631
  init_esm_shims();
75713
75632
  var _app = {
@@ -75847,6 +75766,7 @@ var _api_Number2 = {
75847
75766
  maximum: "google.protobuf.FloatValue",
75848
75767
  multipleOf: "google.protobuf.FloatValue"
75849
75768
  };
75769
+ var _apiArrayItems2 = { data: "_dataItems", dataItem: "_dataItem" };
75850
75770
  var _appEmbedData2 = { image: "_media" };
75851
75771
  var _arrayItems2 = {
75852
75772
  numberOptions: "_numberType",
@@ -75881,7 +75801,8 @@ var _componentData2 = {
75881
75801
  editorReactComponent: "_editorReactComponent"
75882
75802
  };
75883
75803
  var _conditionNode2 = { and: "_andCondition", or: "_orCondition" };
75884
- var _dataItem2 = { number: "_api_Number" };
75804
+ var _dataItem2 = { number: "_api_Number", arrayItems: "_apiArrayItems" };
75805
+ var _dataItems2 = { items: "Map#_dataItem" };
75885
75806
  var _dateInput2 = { description: "_richContent" };
75886
75807
  var _datePicker2 = { description: "_richContent" };
75887
75808
  var _dateTimeInput2 = { description: "_richContent" };
@@ -75895,6 +75816,7 @@ var _devCenterTestingComponentData2 = {
75895
75816
  nonTranslatableRichContent: "_richContent",
75896
75817
  richContentMap: "Map#_richContent"
75897
75818
  };
75819
+ var _discount = { saleInfo: "_saleInfo" };
75898
75820
  var _displayField2 = { richContentOptions: "_richContentOptions" };
75899
75821
  var _donationInput2 = { description: "_richContent" };
75900
75822
  var _dropdown2 = { description: "_richContent" };
@@ -75943,7 +75865,11 @@ var _inputFieldMultilineAddress2 = {
75943
75865
  var _item2 = { image: "_itemImage", video: "_video" };
75944
75866
  var _itemImage2 = { media: "_media" };
75945
75867
  var _itemStyle2 = { ratio: "google.protobuf.DoubleValue" };
75946
- var _managedApp = { premiumInfo: "_premiumInfo", components: "_component" };
75868
+ var _managedApp = {
75869
+ premiumInfo: "_premiumInfo",
75870
+ components: "_component",
75871
+ pricingDetails: "_pricingDetails"
75872
+ };
75947
75873
  var _managedAppsRequest = {};
75948
75874
  var _managedAppsResponse = { managedApps: "_managedApp" };
75949
75875
  var _mapData2 = { mapSettings: "_mapSettings" };
@@ -75968,7 +75894,10 @@ var _node2 = {
75968
75894
  audioData: "_audioData",
75969
75895
  nodes: "_node"
75970
75896
  };
75971
- var _numberInput2 = { description: "_richContent" };
75897
+ var _numberInput2 = {
75898
+ default: "google.protobuf.DoubleValue",
75899
+ description: "_richContent"
75900
+ };
75972
75901
  var _numberType2 = {
75973
75902
  maximum: "google.protobuf.DoubleValue",
75974
75903
  minimum: "google.protobuf.DoubleValue",
@@ -76002,6 +75931,7 @@ var _predefinedExpectedInputConfiguration2 = {
76002
75931
  };
76003
75932
  var _premiumInfo = { freeTrialData: "_freeTrialData" };
76004
75933
  var _presetEditorPresence2 = { wixMediaThumbnail: "_commonImage" };
75934
+ var _pricingDetails = { discount: "_discount" };
76005
75935
  var _productCheckboxGroup2 = {
76006
75936
  description: "_richContent",
76007
75937
  options: "_productCheckboxGroupOption"
@@ -76015,6 +75945,10 @@ var _radioGroup2 = { description: "_richContent" };
76015
75945
  var _ratingInput2 = { description: "_richContent" };
76016
75946
  var _richContent2 = { nodes: "_node", metadata: "_v1Metadata" };
76017
75947
  var _richContentOptions2 = { richContent: "_richContent" };
75948
+ var _saleInfo = {
75949
+ startDate: "google.protobuf.Timestamp",
75950
+ endDate: "google.protobuf.Timestamp"
75951
+ };
76018
75952
  var _schema2 = {
76019
75953
  createdDate: "google.protobuf.Timestamp",
76020
75954
  updatedDate: "google.protobuf.Timestamp",
@@ -76130,6 +76064,7 @@ function managedApps(payload5) {
76130
76064
  _actionSPIConfig: _actionSPIConfig2,
76131
76065
  _adminConfigurableTextInput: _adminConfigurableTextInput2,
76132
76066
  _andCondition: _andCondition2,
76067
+ _apiArrayItems: _apiArrayItems2,
76133
76068
  _api_Number: _api_Number2,
76134
76069
  _appEmbedData: _appEmbedData2,
76135
76070
  _arrayItems: _arrayItems2,
@@ -76144,12 +76079,14 @@ function managedApps(payload5) {
76144
76079
  _componentData: _componentData2,
76145
76080
  _conditionNode: _conditionNode2,
76146
76081
  _dataItem: _dataItem2,
76082
+ _dataItems: _dataItems2,
76147
76083
  _dateInput: _dateInput2,
76148
76084
  _datePicker: _datePicker2,
76149
76085
  _dateTimeInput: _dateTimeInput2,
76150
76086
  _description: _description2,
76151
76087
  _design: _design2,
76152
76088
  _devCenterTestingComponentData: _devCenterTestingComponentData2,
76089
+ _discount,
76153
76090
  _displayField: _displayField2,
76154
76091
  _donationInput: _donationInput2,
76155
76092
  _dropdown: _dropdown2,
@@ -76202,6 +76139,7 @@ function managedApps(payload5) {
76202
76139
  _predefinedExpectedInputConfiguration: _predefinedExpectedInputConfiguration2,
76203
76140
  _premiumInfo,
76204
76141
  _presetEditorPresence: _presetEditorPresence2,
76142
+ _pricingDetails,
76205
76143
  _productCheckboxGroup: _productCheckboxGroup2,
76206
76144
  _productCheckboxGroupOption: _productCheckboxGroupOption2,
76207
76145
  _propertiesType: _propertiesType2,
@@ -76209,6 +76147,7 @@ function managedApps(payload5) {
76209
76147
  _ratingInput: _ratingInput2,
76210
76148
  _richContent: _richContent2,
76211
76149
  _richContentOptions: _richContentOptions2,
76150
+ _saleInfo,
76212
76151
  _schema: _schema2,
76213
76152
  _schemaGroup: _schemaGroup2,
76214
76153
  _shippingLabelCarrierSpiConfig: _shippingLabelCarrierSpiConfig2,
@@ -76461,13 +76400,20 @@ var ComponentType;
76461
76400
  ComponentType3["APPLICATION_PROFILE"] = "APPLICATION_PROFILE";
76462
76401
  ComponentType3["TEXT_TO_SPEECH_ACTION_MESSAGE"] = "TEXT_TO_SPEECH_ACTION_MESSAGE";
76463
76402
  ComponentType3["AUDIENCE_PROVIDER"] = "AUDIENCE_PROVIDER";
76464
- ComponentType3["PRICING_PLANS_PRICING"] = "PRICING_PLANS_PRICING";
76465
- ComponentType3["PRICING_PLAN_CUSTOMER_START_DATE_LIMIT"] = "PRICING_PLAN_CUSTOMER_START_DATE_LIMIT";
76466
- ComponentType3["PRICING_PLAN_START_DATE_POLICY"] = "PRICING_PLAN_START_DATE_POLICY";
76403
+ ComponentType3["PRICING_PLANS_PRICE"] = "PRICING_PLANS_PRICE";
76404
+ ComponentType3["PRICING_PLAN_START_DATE_LIMITS"] = "PRICING_PLAN_START_DATE_LIMITS";
76405
+ ComponentType3["PRICING_PLAN_START_DATE_RULES"] = "PRICING_PLAN_START_DATE_RULES";
76467
76406
  ComponentType3["EVENTS_TICKET_RESERVATIONS"] = "EVENTS_TICKET_RESERVATIONS";
76468
76407
  ComponentType3["PAYMENTS_DISPUTE_SERVICE_PLUGIN"] = "PAYMENTS_DISPUTE_SERVICE_PLUGIN";
76469
76408
  ComponentType3["PRICING_PLANS_FEES"] = "PRICING_PLANS_FEES";
76470
76409
  ComponentType3["EDITOR_REACT_COMPONENT"] = "EDITOR_REACT_COMPONENT";
76410
+ ComponentType3["SUPPLIERS_HUB_MARKETPLACE"] = "SUPPLIERS_HUB_MARKETPLACE";
76411
+ ComponentType3["FORM_SCHEMA_DYNAMIC_VALUES"] = "FORM_SCHEMA_DYNAMIC_VALUES";
76412
+ ComponentType3["BLOG_PAYWALL_PROVIDER"] = "BLOG_PAYWALL_PROVIDER";
76413
+ ComponentType3["LOYALTY_CUSTOM_REWARDS_V2"] = "LOYALTY_CUSTOM_REWARDS_V2";
76414
+ ComponentType3["STORES_PRODUCT_RESTRICTIONS"] = "STORES_PRODUCT_RESTRICTIONS";
76415
+ ComponentType3["FORM_SUBMISSION_MODERATION"] = "FORM_SUBMISSION_MODERATION";
76416
+ ComponentType3["EVENTS_EVENT_BADGES"] = "EVENTS_EVENT_BADGES";
76471
76417
  })(ComponentType || (ComponentType = {}));
76472
76418
  var WidgetVertical;
76473
76419
  (function(WidgetVertical3) {
@@ -76573,6 +76519,11 @@ var RegionType;
76573
76519
  RegionType3["BODY"] = "BODY";
76574
76520
  RegionType3["FOOTER"] = "FOOTER";
76575
76521
  })(RegionType || (RegionType = {}));
76522
+ var StaticContainer;
76523
+ (function(StaticContainer3) {
76524
+ StaticContainer3["UNKNOWN_CONTAINER"] = "UNKNOWN_CONTAINER";
76525
+ StaticContainer3["HOMEPAGE"] = "HOMEPAGE";
76526
+ })(StaticContainer || (StaticContainer = {}));
76576
76527
  var EmbeddedScriptPages;
76577
76528
  (function(EmbeddedScriptPages3) {
76578
76529
  EmbeddedScriptPages3["NONE_PAGES"] = "NONE_PAGES";
@@ -76760,6 +76711,7 @@ var BackOfficeHostingPlatforms;
76760
76711
  BackOfficeHostingPlatforms3["AI_SCHEDULING_ASSISTANT_DASHBOARD"] = "AI_SCHEDULING_ASSISTANT_DASHBOARD";
76761
76712
  BackOfficeHostingPlatforms3["GETTING_PAID"] = "GETTING_PAID";
76762
76713
  BackOfficeHostingPlatforms3["DATA"] = "DATA";
76714
+ BackOfficeHostingPlatforms3["LITE_DASHBOARD"] = "LITE_DASHBOARD";
76763
76715
  })(BackOfficeHostingPlatforms || (BackOfficeHostingPlatforms = {}));
76764
76716
  var DtsDefinitionType;
76765
76717
  (function(DtsDefinitionType3) {
@@ -76865,6 +76817,12 @@ var FilterOptionsType;
76865
76817
  FilterOptionsType3["STATIC"] = "STATIC";
76866
76818
  FilterOptionsType3["PROVIDER"] = "PROVIDER";
76867
76819
  })(FilterOptionsType || (FilterOptionsType = {}));
76820
+ var PaginationMode;
76821
+ (function(PaginationMode3) {
76822
+ PaginationMode3["UNKNOWN_PAGINATION_MODE"] = "UNKNOWN_PAGINATION_MODE";
76823
+ PaginationMode3["CURSOR"] = "CURSOR";
76824
+ PaginationMode3["OFFSET"] = "OFFSET";
76825
+ })(PaginationMode || (PaginationMode = {}));
76868
76826
  var ChannelType;
76869
76827
  (function(ChannelType3) {
76870
76828
  ChannelType3["UNKNOWN_CHANNEL_TYPE"] = "UNKNOWN_CHANNEL_TYPE";
@@ -77034,11 +76992,23 @@ var ThumbnailsAlignment;
77034
76992
  ThumbnailsAlignment3["LEFT"] = "LEFT";
77035
76993
  ThumbnailsAlignment3["NONE"] = "NONE";
77036
76994
  })(ThumbnailsAlignment || (ThumbnailsAlignment = {}));
76995
+ var GIFType;
76996
+ (function(GIFType3) {
76997
+ GIFType3["NORMAL"] = "NORMAL";
76998
+ GIFType3["STICKER"] = "STICKER";
76999
+ })(GIFType || (GIFType = {}));
77037
77000
  var Source;
77038
77001
  (function(Source3) {
77039
77002
  Source3["HTML"] = "HTML";
77040
77003
  Source3["ADSENSE"] = "ADSENSE";
77041
77004
  })(Source || (Source = {}));
77005
+ var StylesPosition;
77006
+ (function(StylesPosition3) {
77007
+ StylesPosition3["START"] = "START";
77008
+ StylesPosition3["END"] = "END";
77009
+ StylesPosition3["TOP"] = "TOP";
77010
+ StylesPosition3["HIDDEN"] = "HIDDEN";
77011
+ })(StylesPosition || (StylesPosition = {}));
77042
77012
  var MapType;
77043
77013
  (function(MapType3) {
77044
77014
  MapType3["ROADMAP"] = "ROADMAP";
@@ -77187,6 +77157,12 @@ var NotificationTopicType;
77187
77157
  NotificationTopicType3["PROMOTIONAL"] = "PROMOTIONAL";
77188
77158
  NotificationTopicType3["TRANSACTIONAL"] = "TRANSACTIONAL";
77189
77159
  })(NotificationTopicType || (NotificationTopicType = {}));
77160
+ var RecipientType;
77161
+ (function(RecipientType3) {
77162
+ RecipientType3["UNKNOWN_RECIPIENT_TYPE"] = "UNKNOWN_RECIPIENT_TYPE";
77163
+ RecipientType3["WIX_USER"] = "WIX_USER";
77164
+ RecipientType3["CONTACT"] = "CONTACT";
77165
+ })(RecipientType || (RecipientType = {}));
77190
77166
  var PlanFormPricingOption;
77191
77167
  (function(PlanFormPricingOption3) {
77192
77168
  PlanFormPricingOption3["UNKNOWN_OPTION"] = "UNKNOWN_OPTION";
@@ -77369,6 +77345,7 @@ var StringComponentType;
77369
77345
  var NumberOfColumns;
77370
77346
  (function(NumberOfColumns3) {
77371
77347
  NumberOfColumns3["UNKNOWN"] = "UNKNOWN";
77348
+ NumberOfColumns3["ZERO"] = "ZERO";
77372
77349
  NumberOfColumns3["ONE"] = "ONE";
77373
77350
  NumberOfColumns3["TWO"] = "TWO";
77374
77351
  NumberOfColumns3["THREE"] = "THREE";
@@ -77701,7 +77678,20 @@ var ParticipantType;
77701
77678
  ParticipantType3["UNKNOWN_TYPE"] = "UNKNOWN_TYPE";
77702
77679
  ParticipantType3["WIX_USER"] = "WIX_USER";
77703
77680
  ParticipantType3["CONTACT"] = "CONTACT";
77681
+ ParticipantType3["ANONYMOUS"] = "ANONYMOUS";
77704
77682
  })(ParticipantType || (ParticipantType = {}));
77683
+ var InterfaceConfigurationType;
77684
+ (function(InterfaceConfigurationType3) {
77685
+ InterfaceConfigurationType3["UNKNOWN_TYPE"] = "UNKNOWN_TYPE";
77686
+ InterfaceConfigurationType3["WIDGET_COMPONENT"] = "WIDGET_COMPONENT";
77687
+ InterfaceConfigurationType3["ITEM_SELECTION"] = "ITEM_SELECTION";
77688
+ })(InterfaceConfigurationType || (InterfaceConfigurationType = {}));
77689
+ var Scope2;
77690
+ (function(Scope4) {
77691
+ Scope4["UNKNOWN_SCOPE"] = "UNKNOWN_SCOPE";
77692
+ Scope4["SPECIFIC_SITE"] = "SPECIFIC_SITE";
77693
+ Scope4["NON_SPECIFIC_SITE"] = "NON_SPECIFIC_SITE";
77694
+ })(Scope2 || (Scope2 = {}));
77705
77695
  var CssPropertyType;
77706
77696
  (function(CssPropertyType3) {
77707
77697
  CssPropertyType3["UNKNOWN_CssPropertyType"] = "UNKNOWN_CssPropertyType";
@@ -77764,8 +77754,14 @@ var CssPropertyType;
77764
77754
  CssPropertyType3["textDecorationThickness"] = "textDecorationThickness";
77765
77755
  CssPropertyType3["boxShadow"] = "boxShadow";
77766
77756
  CssPropertyType3["opacity"] = "opacity";
77757
+ CssPropertyType3["overflow"] = "overflow";
77767
77758
  CssPropertyType3["alignSelf"] = "alignSelf";
77768
77759
  CssPropertyType3["justifyContent"] = "justifyContent";
77760
+ CssPropertyType3["alignItems"] = "alignItems";
77761
+ CssPropertyType3["flexDirection"] = "flexDirection";
77762
+ CssPropertyType3["gap"] = "gap";
77763
+ CssPropertyType3["height"] = "height";
77764
+ CssPropertyType3["width"] = "width";
77769
77765
  })(CssPropertyType || (CssPropertyType = {}));
77770
77766
  var CssDataType;
77771
77767
  (function(CssDataType3) {
@@ -77775,6 +77771,7 @@ var CssDataType;
77775
77771
  CssDataType3["color"] = "color";
77776
77772
  CssDataType3["angle"] = "angle";
77777
77773
  CssDataType3["percentage"] = "percentage";
77774
+ CssDataType3["blendMode"] = "blendMode";
77778
77775
  })(CssDataType || (CssDataType = {}));
77779
77776
  var DataType;
77780
77777
  (function(DataType3) {
@@ -77799,6 +77796,10 @@ var DataType;
77799
77796
  DataType3["hostname"] = "hostname";
77800
77797
  DataType3["regex"] = "regex";
77801
77798
  DataType3["guid"] = "guid";
77799
+ DataType3["richText"] = "richText";
77800
+ DataType3["container"] = "container";
77801
+ DataType3["arrayItems"] = "arrayItems";
77802
+ DataType3["direction"] = "direction";
77802
77803
  })(DataType || (DataType = {}));
77803
77804
  var A11yAttributes;
77804
77805
  (function(A11yAttributes3) {
@@ -77845,6 +77846,13 @@ var LinkType;
77845
77846
  LinkType3["edgeAnchorLinks"] = "edgeAnchorLinks";
77846
77847
  LinkType3["loginToWixLink"] = "loginToWixLink";
77847
77848
  })(LinkType || (LinkType = {}));
77849
+ var ContainerType;
77850
+ (function(ContainerType3) {
77851
+ ContainerType3["UNKNOWN_CONTAINER_TYPE"] = "UNKNOWN_CONTAINER_TYPE";
77852
+ ContainerType3["simple"] = "simple";
77853
+ ContainerType3["slot"] = "slot";
77854
+ ContainerType3["placeholder"] = "placeholder";
77855
+ })(ContainerType || (ContainerType = {}));
77848
77856
  var ElementTypeEnumElementType;
77849
77857
  (function(ElementTypeEnumElementType3) {
77850
77858
  ElementTypeEnumElementType3["UNKNOWN_ElementType"] = "UNKNOWN_ElementType";
@@ -77875,6 +77883,53 @@ var ActionName;
77875
77883
  ActionName3["dashboard"] = "dashboard";
77876
77884
  ActionName3["custom"] = "custom";
77877
77885
  })(ActionName || (ActionName = {}));
77886
+ var Archetype;
77887
+ (function(Archetype3) {
77888
+ Archetype3["UNKNOWN_Archetype"] = "UNKNOWN_Archetype";
77889
+ Archetype3["Button"] = "Button";
77890
+ Archetype3["LoginButton"] = "LoginButton";
77891
+ Archetype3["Image"] = "Image";
77892
+ Archetype3["Gallery"] = "Gallery";
77893
+ Archetype3["Video"] = "Video";
77894
+ Archetype3["Audio"] = "Audio";
77895
+ Archetype3["Text"] = "Text";
77896
+ Archetype3["TextInput"] = "TextInput";
77897
+ Archetype3["RichTextEditor"] = "RichTextEditor";
77898
+ Archetype3["SignatureInput"] = "SignatureInput";
77899
+ Archetype3["Checkbox"] = "Checkbox";
77900
+ Archetype3["RadioGroup"] = "RadioGroup";
77901
+ Archetype3["Switch"] = "Switch";
77902
+ Archetype3["Dropdown"] = "Dropdown";
77903
+ Archetype3["DatePicker"] = "DatePicker";
77904
+ Archetype3["TimePicker"] = "TimePicker";
77905
+ Archetype3["Ratings"] = "Ratings";
77906
+ Archetype3["RatingInput"] = "RatingInput";
77907
+ Archetype3["Menu"] = "Menu";
77908
+ Archetype3["Pagination"] = "Pagination";
77909
+ Archetype3["Slider"] = "Slider";
77910
+ Archetype3["Container"] = "Container";
77911
+ Archetype3["Carousel"] = "Carousel";
77912
+ Archetype3["Accordion"] = "Accordion";
77913
+ Archetype3["Tabs"] = "Tabs";
77914
+ Archetype3["ProgressBar"] = "ProgressBar";
77915
+ Archetype3["Upload"] = "Upload";
77916
+ Archetype3["Social"] = "Social";
77917
+ Archetype3["Breadcrumbs"] = "Breadcrumbs";
77918
+ Archetype3["SearchBox"] = "SearchBox";
77919
+ Archetype3["Map"] = "Map";
77920
+ Archetype3["Line"] = "Line";
77921
+ Archetype3["Logo"] = "Logo";
77922
+ Archetype3["Avatar"] = "Avatar";
77923
+ Archetype3["Captcha"] = "Captcha";
77924
+ Archetype3["VectorArt"] = "VectorArt";
77925
+ Archetype3["AnimatedGraphic"] = "AnimatedGraphic";
77926
+ })(Archetype || (Archetype = {}));
77927
+ var RestrictionLevel;
77928
+ (function(RestrictionLevel3) {
77929
+ RestrictionLevel3["UNKNOWN_RESTRICTION_TYPE"] = "UNKNOWN_RESTRICTION_TYPE";
77930
+ RestrictionLevel3["WARNING"] = "WARNING";
77931
+ RestrictionLevel3["LOCKED"] = "LOCKED";
77932
+ })(RestrictionLevel || (RestrictionLevel = {}));
77878
77933
  var SaleType;
77879
77934
  (function(SaleType2) {
77880
77935
  SaleType2["UNKNOWN_SALE_TYPE"] = "UNKNOWN_SALE_TYPE";
@@ -78203,8 +78258,8 @@ var ComponentType2;
78203
78258
  ComponentType3["TEXT_TO_SPEECH_ACTION_MESSAGE"] = "TEXT_TO_SPEECH_ACTION_MESSAGE";
78204
78259
  ComponentType3["AUDIENCE_PROVIDER"] = "AUDIENCE_PROVIDER";
78205
78260
  ComponentType3["PRICING_PLANS_PRICE"] = "PRICING_PLANS_PRICE";
78206
- ComponentType3["PRICING_PLAN_CUSTOMER_START_DATE_LIMIT"] = "PRICING_PLAN_CUSTOMER_START_DATE_LIMIT";
78207
- ComponentType3["PRICING_PLAN_START_DATE_POLICY"] = "PRICING_PLAN_START_DATE_POLICY";
78261
+ ComponentType3["PRICING_PLAN_START_DATE_LIMITS"] = "PRICING_PLAN_START_DATE_LIMITS";
78262
+ ComponentType3["PRICING_PLAN_START_DATE_RULES"] = "PRICING_PLAN_START_DATE_RULES";
78208
78263
  ComponentType3["EVENTS_TICKET_RESERVATIONS"] = "EVENTS_TICKET_RESERVATIONS";
78209
78264
  ComponentType3["PAYMENTS_DISPUTE_SERVICE_PLUGIN"] = "PAYMENTS_DISPUTE_SERVICE_PLUGIN";
78210
78265
  ComponentType3["PRICING_PLANS_FEES"] = "PRICING_PLANS_FEES";
@@ -78213,6 +78268,9 @@ var ComponentType2;
78213
78268
  ComponentType3["FORM_SCHEMA_DYNAMIC_VALUES"] = "FORM_SCHEMA_DYNAMIC_VALUES";
78214
78269
  ComponentType3["BLOG_PAYWALL_PROVIDER"] = "BLOG_PAYWALL_PROVIDER";
78215
78270
  ComponentType3["LOYALTY_CUSTOM_REWARDS_V2"] = "LOYALTY_CUSTOM_REWARDS_V2";
78271
+ ComponentType3["STORES_PRODUCT_RESTRICTIONS"] = "STORES_PRODUCT_RESTRICTIONS";
78272
+ ComponentType3["FORM_SUBMISSION_MODERATION"] = "FORM_SUBMISSION_MODERATION";
78273
+ ComponentType3["EVENTS_EVENT_BADGES"] = "EVENTS_EVENT_BADGES";
78216
78274
  })(ComponentType2 || (ComponentType2 = {}));
78217
78275
  var WidgetVertical2;
78218
78276
  (function(WidgetVertical3) {
@@ -78318,11 +78376,11 @@ var RegionType2;
78318
78376
  RegionType3["BODY"] = "BODY";
78319
78377
  RegionType3["FOOTER"] = "FOOTER";
78320
78378
  })(RegionType2 || (RegionType2 = {}));
78321
- var StaticContainer;
78322
- (function(StaticContainer2) {
78323
- StaticContainer2["UNKNOWN_CONTAINER"] = "UNKNOWN_CONTAINER";
78324
- StaticContainer2["HOMEPAGE"] = "HOMEPAGE";
78325
- })(StaticContainer || (StaticContainer = {}));
78379
+ var StaticContainer2;
78380
+ (function(StaticContainer3) {
78381
+ StaticContainer3["UNKNOWN_CONTAINER"] = "UNKNOWN_CONTAINER";
78382
+ StaticContainer3["HOMEPAGE"] = "HOMEPAGE";
78383
+ })(StaticContainer2 || (StaticContainer2 = {}));
78326
78384
  var EmbeddedScriptPages2;
78327
78385
  (function(EmbeddedScriptPages3) {
78328
78386
  EmbeddedScriptPages3["NONE_PAGES"] = "NONE_PAGES";
@@ -78510,6 +78568,7 @@ var BackOfficeHostingPlatforms2;
78510
78568
  BackOfficeHostingPlatforms3["AI_SCHEDULING_ASSISTANT_DASHBOARD"] = "AI_SCHEDULING_ASSISTANT_DASHBOARD";
78511
78569
  BackOfficeHostingPlatforms3["GETTING_PAID"] = "GETTING_PAID";
78512
78570
  BackOfficeHostingPlatforms3["DATA"] = "DATA";
78571
+ BackOfficeHostingPlatforms3["LITE_DASHBOARD"] = "LITE_DASHBOARD";
78513
78572
  })(BackOfficeHostingPlatforms2 || (BackOfficeHostingPlatforms2 = {}));
78514
78573
  var DtsDefinitionType2;
78515
78574
  (function(DtsDefinitionType3) {
@@ -78615,6 +78674,12 @@ var FilterOptionsType2;
78615
78674
  FilterOptionsType3["STATIC"] = "STATIC";
78616
78675
  FilterOptionsType3["PROVIDER"] = "PROVIDER";
78617
78676
  })(FilterOptionsType2 || (FilterOptionsType2 = {}));
78677
+ var PaginationMode2;
78678
+ (function(PaginationMode3) {
78679
+ PaginationMode3["UNKNOWN_PAGINATION_MODE"] = "UNKNOWN_PAGINATION_MODE";
78680
+ PaginationMode3["CURSOR"] = "CURSOR";
78681
+ PaginationMode3["OFFSET"] = "OFFSET";
78682
+ })(PaginationMode2 || (PaginationMode2 = {}));
78618
78683
  var ChannelType2;
78619
78684
  (function(ChannelType3) {
78620
78685
  ChannelType3["UNKNOWN_CHANNEL_TYPE"] = "UNKNOWN_CHANNEL_TYPE";
@@ -78784,16 +78849,23 @@ var ThumbnailsAlignment2;
78784
78849
  ThumbnailsAlignment3["LEFT"] = "LEFT";
78785
78850
  ThumbnailsAlignment3["NONE"] = "NONE";
78786
78851
  })(ThumbnailsAlignment2 || (ThumbnailsAlignment2 = {}));
78787
- var GIFType;
78788
- (function(GIFType2) {
78789
- GIFType2["NORMAL"] = "NORMAL";
78790
- GIFType2["STICKER"] = "STICKER";
78791
- })(GIFType || (GIFType = {}));
78852
+ var GIFType2;
78853
+ (function(GIFType3) {
78854
+ GIFType3["NORMAL"] = "NORMAL";
78855
+ GIFType3["STICKER"] = "STICKER";
78856
+ })(GIFType2 || (GIFType2 = {}));
78792
78857
  var Source2;
78793
78858
  (function(Source3) {
78794
78859
  Source3["HTML"] = "HTML";
78795
78860
  Source3["ADSENSE"] = "ADSENSE";
78796
78861
  })(Source2 || (Source2 = {}));
78862
+ var StylesPosition2;
78863
+ (function(StylesPosition3) {
78864
+ StylesPosition3["START"] = "START";
78865
+ StylesPosition3["END"] = "END";
78866
+ StylesPosition3["TOP"] = "TOP";
78867
+ StylesPosition3["HIDDEN"] = "HIDDEN";
78868
+ })(StylesPosition2 || (StylesPosition2 = {}));
78797
78869
  var MapType2;
78798
78870
  (function(MapType3) {
78799
78871
  MapType3["ROADMAP"] = "ROADMAP";
@@ -78942,12 +79014,12 @@ var NotificationTopicType2;
78942
79014
  NotificationTopicType3["PROMOTIONAL"] = "PROMOTIONAL";
78943
79015
  NotificationTopicType3["TRANSACTIONAL"] = "TRANSACTIONAL";
78944
79016
  })(NotificationTopicType2 || (NotificationTopicType2 = {}));
78945
- var RecipientType;
78946
- (function(RecipientType2) {
78947
- RecipientType2["UNKNOWN_RECIPIENT_TYPE"] = "UNKNOWN_RECIPIENT_TYPE";
78948
- RecipientType2["WIX_USER"] = "WIX_USER";
78949
- RecipientType2["CONTACT"] = "CONTACT";
78950
- })(RecipientType || (RecipientType = {}));
79017
+ var RecipientType2;
79018
+ (function(RecipientType3) {
79019
+ RecipientType3["UNKNOWN_RECIPIENT_TYPE"] = "UNKNOWN_RECIPIENT_TYPE";
79020
+ RecipientType3["WIX_USER"] = "WIX_USER";
79021
+ RecipientType3["CONTACT"] = "CONTACT";
79022
+ })(RecipientType2 || (RecipientType2 = {}));
78951
79023
  var PlanFormPricingOption2;
78952
79024
  (function(PlanFormPricingOption3) {
78953
79025
  PlanFormPricingOption3["UNKNOWN_OPTION"] = "UNKNOWN_OPTION";
@@ -79465,18 +79537,18 @@ var ParticipantType2;
79465
79537
  ParticipantType3["CONTACT"] = "CONTACT";
79466
79538
  ParticipantType3["ANONYMOUS"] = "ANONYMOUS";
79467
79539
  })(ParticipantType2 || (ParticipantType2 = {}));
79468
- var InterfaceConfigurationType;
79469
- (function(InterfaceConfigurationType2) {
79470
- InterfaceConfigurationType2["UNKNOWN_TYPE"] = "UNKNOWN_TYPE";
79471
- InterfaceConfigurationType2["WIDGET_COMPONENT"] = "WIDGET_COMPONENT";
79472
- InterfaceConfigurationType2["ITEM_SELECTION"] = "ITEM_SELECTION";
79473
- })(InterfaceConfigurationType || (InterfaceConfigurationType = {}));
79474
- var Scope2;
79475
- (function(Scope3) {
79476
- Scope3["UNKNOWN_SCOPE"] = "UNKNOWN_SCOPE";
79477
- Scope3["SPECIFIC_SITE"] = "SPECIFIC_SITE";
79478
- Scope3["NON_SPECIFIC_SITE"] = "NON_SPECIFIC_SITE";
79479
- })(Scope2 || (Scope2 = {}));
79540
+ var InterfaceConfigurationType2;
79541
+ (function(InterfaceConfigurationType3) {
79542
+ InterfaceConfigurationType3["UNKNOWN_TYPE"] = "UNKNOWN_TYPE";
79543
+ InterfaceConfigurationType3["WIDGET_COMPONENT"] = "WIDGET_COMPONENT";
79544
+ InterfaceConfigurationType3["ITEM_SELECTION"] = "ITEM_SELECTION";
79545
+ })(InterfaceConfigurationType2 || (InterfaceConfigurationType2 = {}));
79546
+ var Scope3;
79547
+ (function(Scope4) {
79548
+ Scope4["UNKNOWN_SCOPE"] = "UNKNOWN_SCOPE";
79549
+ Scope4["SPECIFIC_SITE"] = "SPECIFIC_SITE";
79550
+ Scope4["NON_SPECIFIC_SITE"] = "NON_SPECIFIC_SITE";
79551
+ })(Scope3 || (Scope3 = {}));
79480
79552
  var CssPropertyType2;
79481
79553
  (function(CssPropertyType3) {
79482
79554
  CssPropertyType3["UNKNOWN_CssPropertyType"] = "UNKNOWN_CssPropertyType";
@@ -79539,8 +79611,14 @@ var CssPropertyType2;
79539
79611
  CssPropertyType3["textDecorationThickness"] = "textDecorationThickness";
79540
79612
  CssPropertyType3["boxShadow"] = "boxShadow";
79541
79613
  CssPropertyType3["opacity"] = "opacity";
79614
+ CssPropertyType3["overflow"] = "overflow";
79542
79615
  CssPropertyType3["alignSelf"] = "alignSelf";
79543
79616
  CssPropertyType3["justifyContent"] = "justifyContent";
79617
+ CssPropertyType3["alignItems"] = "alignItems";
79618
+ CssPropertyType3["flexDirection"] = "flexDirection";
79619
+ CssPropertyType3["gap"] = "gap";
79620
+ CssPropertyType3["height"] = "height";
79621
+ CssPropertyType3["width"] = "width";
79544
79622
  })(CssPropertyType2 || (CssPropertyType2 = {}));
79545
79623
  var CssDataType2;
79546
79624
  (function(CssDataType3) {
@@ -79550,6 +79628,7 @@ var CssDataType2;
79550
79628
  CssDataType3["color"] = "color";
79551
79629
  CssDataType3["angle"] = "angle";
79552
79630
  CssDataType3["percentage"] = "percentage";
79631
+ CssDataType3["blendMode"] = "blendMode";
79553
79632
  })(CssDataType2 || (CssDataType2 = {}));
79554
79633
  var DataType2;
79555
79634
  (function(DataType3) {
@@ -79574,6 +79653,10 @@ var DataType2;
79574
79653
  DataType3["hostname"] = "hostname";
79575
79654
  DataType3["regex"] = "regex";
79576
79655
  DataType3["guid"] = "guid";
79656
+ DataType3["richText"] = "richText";
79657
+ DataType3["container"] = "container";
79658
+ DataType3["arrayItems"] = "arrayItems";
79659
+ DataType3["direction"] = "direction";
79577
79660
  })(DataType2 || (DataType2 = {}));
79578
79661
  var A11yAttributes2;
79579
79662
  (function(A11yAttributes3) {
@@ -79620,6 +79703,13 @@ var LinkType2;
79620
79703
  LinkType3["edgeAnchorLinks"] = "edgeAnchorLinks";
79621
79704
  LinkType3["loginToWixLink"] = "loginToWixLink";
79622
79705
  })(LinkType2 || (LinkType2 = {}));
79706
+ var ContainerType2;
79707
+ (function(ContainerType3) {
79708
+ ContainerType3["UNKNOWN_CONTAINER_TYPE"] = "UNKNOWN_CONTAINER_TYPE";
79709
+ ContainerType3["simple"] = "simple";
79710
+ ContainerType3["slot"] = "slot";
79711
+ ContainerType3["placeholder"] = "placeholder";
79712
+ })(ContainerType2 || (ContainerType2 = {}));
79623
79713
  var ElementTypeEnumElementType2;
79624
79714
  (function(ElementTypeEnumElementType3) {
79625
79715
  ElementTypeEnumElementType3["UNKNOWN_ElementType"] = "UNKNOWN_ElementType";
@@ -79650,6 +79740,53 @@ var ActionName2;
79650
79740
  ActionName3["dashboard"] = "dashboard";
79651
79741
  ActionName3["custom"] = "custom";
79652
79742
  })(ActionName2 || (ActionName2 = {}));
79743
+ var Archetype2;
79744
+ (function(Archetype3) {
79745
+ Archetype3["UNKNOWN_Archetype"] = "UNKNOWN_Archetype";
79746
+ Archetype3["Button"] = "Button";
79747
+ Archetype3["LoginButton"] = "LoginButton";
79748
+ Archetype3["Image"] = "Image";
79749
+ Archetype3["Gallery"] = "Gallery";
79750
+ Archetype3["Video"] = "Video";
79751
+ Archetype3["Audio"] = "Audio";
79752
+ Archetype3["Text"] = "Text";
79753
+ Archetype3["TextInput"] = "TextInput";
79754
+ Archetype3["RichTextEditor"] = "RichTextEditor";
79755
+ Archetype3["SignatureInput"] = "SignatureInput";
79756
+ Archetype3["Checkbox"] = "Checkbox";
79757
+ Archetype3["RadioGroup"] = "RadioGroup";
79758
+ Archetype3["Switch"] = "Switch";
79759
+ Archetype3["Dropdown"] = "Dropdown";
79760
+ Archetype3["DatePicker"] = "DatePicker";
79761
+ Archetype3["TimePicker"] = "TimePicker";
79762
+ Archetype3["Ratings"] = "Ratings";
79763
+ Archetype3["RatingInput"] = "RatingInput";
79764
+ Archetype3["Menu"] = "Menu";
79765
+ Archetype3["Pagination"] = "Pagination";
79766
+ Archetype3["Slider"] = "Slider";
79767
+ Archetype3["Container"] = "Container";
79768
+ Archetype3["Carousel"] = "Carousel";
79769
+ Archetype3["Accordion"] = "Accordion";
79770
+ Archetype3["Tabs"] = "Tabs";
79771
+ Archetype3["ProgressBar"] = "ProgressBar";
79772
+ Archetype3["Upload"] = "Upload";
79773
+ Archetype3["Social"] = "Social";
79774
+ Archetype3["Breadcrumbs"] = "Breadcrumbs";
79775
+ Archetype3["SearchBox"] = "SearchBox";
79776
+ Archetype3["Map"] = "Map";
79777
+ Archetype3["Line"] = "Line";
79778
+ Archetype3["Logo"] = "Logo";
79779
+ Archetype3["Avatar"] = "Avatar";
79780
+ Archetype3["Captcha"] = "Captcha";
79781
+ Archetype3["VectorArt"] = "VectorArt";
79782
+ Archetype3["AnimatedGraphic"] = "AnimatedGraphic";
79783
+ })(Archetype2 || (Archetype2 = {}));
79784
+ var RestrictionLevel2;
79785
+ (function(RestrictionLevel3) {
79786
+ RestrictionLevel3["UNKNOWN_RESTRICTION_TYPE"] = "UNKNOWN_RESTRICTION_TYPE";
79787
+ RestrictionLevel3["WARNING"] = "WARNING";
79788
+ RestrictionLevel3["LOCKED"] = "LOCKED";
79789
+ })(RestrictionLevel2 || (RestrictionLevel2 = {}));
79653
79790
  var OpenConsentIn2;
79654
79791
  (function(OpenConsentIn3) {
79655
79792
  OpenConsentIn3["NONE_VALUE"] = "NONE_VALUE";
@@ -79848,13 +79985,6 @@ var developerAppSchema = z.object({
79848
79985
  var getDeveloperAppsSchema = z.object({
79849
79986
  myApps: z.array(developerAppSchema)
79850
79987
  });
79851
- var getAppPropertiesValiditySchema = z.object({
79852
- appPropertiesValidity: z.array(
79853
- z.object({
79854
- failures: z.array(z.string())
79855
- })
79856
- )
79857
- });
79858
79988
  var requiredApp = z.object({ id: z.string(), name: z.string() });
79859
79989
  var queryAppSchema = z.object({
79860
79990
  apps: z.array(requiredApp)
@@ -79981,11 +80111,11 @@ var DevCenterClient = class {
79981
80111
  };
79982
80112
  getAppByVersion = async ({
79983
80113
  appId,
79984
- version: version2 = "latest"
80114
+ version = "latest"
79985
80115
  }) => {
79986
80116
  try {
79987
80117
  const { data } = await pRetry(
79988
- () => this.httpClient.request(getAppByVersion({ appId, version: version2 })),
80118
+ () => this.httpClient.request(getAppByVersion({ appId, version })),
79989
80119
  this.retryOptions
79990
80120
  );
79991
80121
  return appByVersionSchema.parse(data);
@@ -79993,7 +80123,7 @@ var DevCenterClient = class {
79993
80123
  if (isHttpError(cause) && cause.response?.status === 404) {
79994
80124
  throw new CliError({
79995
80125
  code: CliErrorCode.AppForVersionNotFound({
79996
- version: version2
80126
+ version
79997
80127
  }),
79998
80128
  cause
79999
80129
  });
@@ -80182,23 +80312,6 @@ var DevCenterClient = class {
80182
80312
  });
80183
80313
  }
80184
80314
  };
80185
- getAppValidationFailuresCount = async (appId, version2) => {
80186
- try {
80187
- const { data } = await this.httpClient.request(
80188
- getAppValidationReport({ appId, version: version2 })
80189
- );
80190
- const result = getAppPropertiesValiditySchema.parse(data);
80191
- const numOfFailingProperties = result.appPropertiesValidity.filter(
80192
- (appProperty) => appProperty.failures.length > 0
80193
- ).length;
80194
- return numOfFailingProperties;
80195
- } catch (e2) {
80196
- throw new CliError({
80197
- code: CliErrorCode.FailedToGetAppValidity(),
80198
- cause: e2
80199
- });
80200
- }
80201
- };
80202
80315
  queryCliAppTemplates = async () => {
80203
80316
  try {
80204
80317
  const { data } = await pRetry(
@@ -81228,7 +81341,8 @@ async function generateApp({
81228
81341
  appData,
81229
81342
  packageManager,
81230
81343
  repoType,
81231
- template
81344
+ template,
81345
+ templateParams
81232
81346
  }) {
81233
81347
  const model = {
81234
81348
  packageName,
@@ -81243,6 +81357,7 @@ async function generateApp({
81243
81357
  runCmd: packageManager.getRunCmd()
81244
81358
  },
81245
81359
  isMonorepo: (0, import_variant38.isType)(repoType, RepoType.Monorepo),
81360
+ templateParams,
81246
81361
  generatePageID: () => randomUUID3()
81247
81362
  };
81248
81363
  const templateFolder = await (0, import_variant38.match)(template, {
@@ -81265,7 +81380,10 @@ function getTasks({
81265
81380
  repoType,
81266
81381
  packageName,
81267
81382
  template,
81268
- targetParentFolder: targetParentFolder2
81383
+ templateParams,
81384
+ targetParentFolder: targetParentFolder2,
81385
+ skipInstall,
81386
+ skipGit
81269
81387
  }, t3) {
81270
81388
  const packageFolder = join12(targetParentFolder2, packageName);
81271
81389
  const generateProject = async () => {
@@ -81283,7 +81401,8 @@ function getTasks({
81283
81401
  appData,
81284
81402
  packageManager,
81285
81403
  repoType,
81286
- template
81404
+ template,
81405
+ templateParams
81287
81406
  });
81288
81407
  await packageManager.setup(packageFolder);
81289
81408
  };
@@ -81342,15 +81461,16 @@ function getTasks({
81342
81461
  loadingText: t3("create_app.generate_project.git_commit.loading"),
81343
81462
  successText: t3("create_app.generate_project.git_commit.done")
81344
81463
  };
81464
+ const optionalInstallTask = skipInstall ? [] : [installDependenciesTask];
81345
81465
  return (0, import_variant39.match)(repoType, {
81346
81466
  None: () => [
81347
81467
  generateProjectTask,
81348
- initializeGitTask,
81349
- installDependenciesTask,
81350
- commitToGitTask
81468
+ ...skipGit ? [] : [initializeGitTask],
81469
+ ...optionalInstallTask,
81470
+ ...skipGit ? [] : [commitToGitTask]
81351
81471
  ],
81352
- Polyrepo: () => [generateProjectTask, installDependenciesTask],
81353
- Monorepo: () => [generateProjectTask, installDependenciesTask]
81472
+ Polyrepo: () => [generateProjectTask, ...optionalInstallTask],
81473
+ Monorepo: () => [generateProjectTask, ...optionalInstallTask]
81354
81474
  });
81355
81475
  }
81356
81476
 
@@ -81528,7 +81648,10 @@ var CreateAppCommand = ({ userInfo: userInfo2, targetParentFolder: targetParentF
81528
81648
  ...generationData2,
81529
81649
  repoType,
81530
81650
  packageManager,
81531
- targetParentFolder: targetParentFolder2
81651
+ targetParentFolder: targetParentFolder2,
81652
+ skipInstall: commandOptions.skipInstall,
81653
+ skipGit: commandOptions.skipGit,
81654
+ templateParams: commandOptions.templateParams
81532
81655
  })
81533
81656
  }
81534
81657
  )),
@@ -81639,6 +81762,21 @@ var program2 = new Command().name(package_default.name).description("Create Wix
81639
81762
  "-x, --template-path <template-path>",
81640
81763
  "Local path to the template folder"
81641
81764
  ).hideHelp()
81765
+ ).addOption(
81766
+ new Option(
81767
+ "--skip-install",
81768
+ "Skip automatic dependency installation"
81769
+ ).hideHelp()
81770
+ ).addOption(
81771
+ new Option(
81772
+ "--skip-git",
81773
+ "Prevent the application from automatically initializing a Git repository during setup"
81774
+ ).hideHelp()
81775
+ ).addOption(
81776
+ new Option(
81777
+ "--template-params <template-params>",
81778
+ "Additional template parameters to be provided to the app template should be formatted as a JSON string. These parameters can be accessed through the templateParams variable."
81779
+ ).argParser(validateTemplateParams).hideHelp()
81642
81780
  ).version(package_default.version, "-v, --version").action(async (options, command) => {
81643
81781
  errorReporter.setContext("command info", {
81644
81782
  args: command.args,
@@ -81649,6 +81787,11 @@ var program2 = new Command().name(package_default.name).description("Create Wix
81649
81787
  userInfo?.userId
81650
81788
  );
81651
81789
  const commandStatus = reportCommandStartEvent2(command);
81790
+ const commandOptions = {
81791
+ ...options,
81792
+ skipInstall: options.skipInstall ?? false,
81793
+ skipGit: options.skipGit ?? false
81794
+ };
81652
81795
  try {
81653
81796
  await render2(
81654
81797
  /* @__PURE__ */ import_react115.default.createElement(BiProvider, { value: biLogger }, /* @__PURE__ */ import_react115.default.createElement(ErrorReporterProvider, { value: errorReporter }, /* @__PURE__ */ import_react115.default.createElement(I18nProvider, { messages: messages_default3 }, /* @__PURE__ */ import_react115.default.createElement(
@@ -81656,7 +81799,7 @@ var program2 = new Command().name(package_default.name).description("Create Wix
81656
81799
  {
81657
81800
  userInfo,
81658
81801
  targetParentFolder,
81659
- commandOptions: options
81802
+ commandOptions
81660
81803
  }
81661
81804
  ))))
81662
81805
  );