@wix/cli-app 1.1.81 → 1.1.83
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/{AddPermissionCommand-SFC44F4N.js → AddPermissionCommand-5X3K4KUG.js} +2 -2
- package/build/{CreateVersionCommand-DMS7UHEW.js → CreateVersionCommand-XWWXAFOX.js} +3 -3
- package/build/{DevCommand-IMACMU76.js → DevCommand-EOEGQX2B.js} +14 -14
- package/build/{GenerateCommand-BXBYWPR6.js → GenerateCommand-IOFKL3RC.js} +1009 -868
- package/build/GenerateCommand-IOFKL3RC.js.map +1 -0
- package/build/{LogsCommand-DXPP2Y63.js → LogsCommand-23QQRT3D.js} +3 -3
- package/build/PreviewCommand-FBODGF7Y.js +19 -0
- package/build/ReleaseCommand-SNCMQQXK.js +28 -0
- package/build/{ReleaseCommand-ZZFTWS7J.js.map → ReleaseCommand-SNCMQQXK.js.map} +1 -1
- package/build/ServeCommand-SGREOUDA.js +43 -0
- package/build/ServeCommand-SGREOUDA.js.map +1 -0
- package/build/{build-5B2A76I7.js → build-PYB5PAZO.js} +8 -8
- package/build/{chunk-GCHPKOS2.js → chunk-3X2VYRBF.js} +13 -7
- package/build/chunk-3X2VYRBF.js.map +1 -0
- package/build/{chunk-R3BD56LW.js → chunk-4PXJSX4C.js} +2 -2
- package/build/{chunk-32DDGTGH.js → chunk-5TP6T6QK.js} +84 -17
- package/build/chunk-5TP6T6QK.js.map +1 -0
- package/build/{chunk-PJJ6F4A3.js → chunk-63VDDLLQ.js} +2 -2
- package/build/{chunk-6GF7ZOLW.js → chunk-AN77SZN2.js} +9 -11
- package/build/{chunk-6GF7ZOLW.js.map → chunk-AN77SZN2.js.map} +1 -1
- package/build/{chunk-RZHKF2FT.js → chunk-E4UNGBQY.js} +2 -2
- package/build/{chunk-JYPZQDKR.js → chunk-GGDJQXOX.js} +3 -3
- package/build/{chunk-3BX4VLQC.js → chunk-KLBXSZ6R.js} +3 -3
- package/build/{chunk-ZVADFZDF.js → chunk-QREADZZF.js} +5 -5
- package/build/{chunk-DBASREIW.js → chunk-SIJDKP2Q.js} +1312 -534
- package/build/chunk-SIJDKP2Q.js.map +1 -0
- package/build/{chunk-D7ONS7OD.js → chunk-TJFERWU7.js} +5 -5
- package/build/{chunk-VV2OOBF3.js → chunk-VB3AXXRP.js} +2 -2
- package/build/{chunk-OPFPQV74.js → chunk-VLQG5SQF.js} +79 -4
- package/build/{chunk-OPFPQV74.js.map → chunk-VLQG5SQF.js.map} +1 -1
- package/build/{chunk-LNBDMMJU.js → chunk-WNR36YTI.js} +2 -2
- package/build/{chunk-42T5NHSS.js → chunk-Y4GJ3NS4.js} +2 -2
- package/build/{chunk-S426UONM.js → chunk-ZCUJ356B.js} +2 -2
- package/build/{chunk-2Y6DEXNR.js → chunk-ZLLXHWZF.js} +957 -375
- package/build/{chunk-2Y6DEXNR.js.map → chunk-ZLLXHWZF.js.map} +1 -1
- package/build/{chunk-CYJERK24.js → chunk-ZOZ5LJV7.js} +7 -7
- package/build/{chunk-CYJERK24.js.map → chunk-ZOZ5LJV7.js.map} +1 -1
- package/build/cloudflare-runtime/entry.js +33 -9
- package/build/cloudflare-runtime/getRegisteredExtensions.js +33 -9
- package/build/index.js +34 -31
- package/build/index.js.map +1 -1
- package/build/platform-sdk/chunk-MM2KVUBI.js +2 -0
- package/build/platform-sdk/chunk-MM2KVUBI.js.map +1 -0
- package/build/platform-sdk/dashboard.js +1 -1
- package/build/platform-sdk/editor.js +1 -1
- package/build/platform-sdk/site.js +1 -1
- package/build/{preview-XTPTMI6C.js → preview-PIFWQKW3.js} +13 -14
- package/build/{preview-XTPTMI6C.js.map → preview-PIFWQKW3.js.map} +1 -1
- package/build/{release-MNTPIKSG.js → release-6Z6LMTRW.js} +15 -16
- package/build/{release-MNTPIKSG.js.map → release-6Z6LMTRW.js.map} +1 -1
- package/build/{render-command-HQXTOVW5.js → render-command-3G25G5MU.js} +6 -6
- package/build/src-MHMTXBSY.js +1120 -0
- package/build/src-MHMTXBSY.js.map +1 -0
- package/package.json +8 -7
- package/build/GenerateCommand-BXBYWPR6.js.map +0 -1
- package/build/PreviewCommand-IKMUVCVS.js +0 -20
- package/build/ReleaseCommand-ZZFTWS7J.js +0 -29
- package/build/ServeCommand-2ESXE2E2.js +0 -169
- package/build/ServeCommand-2ESXE2E2.js.map +0 -1
- package/build/chunk-32DDGTGH.js.map +0 -1
- package/build/chunk-3FL4P2SD.js +0 -92
- package/build/chunk-3FL4P2SD.js.map +0 -1
- package/build/chunk-DBASREIW.js.map +0 -1
- package/build/chunk-GCHPKOS2.js.map +0 -1
- package/build/platform-sdk/chunk-BGEA2LRQ.js +0 -2
- package/build/platform-sdk/chunk-BGEA2LRQ.js.map +0 -1
- /package/build/{AddPermissionCommand-SFC44F4N.js.map → AddPermissionCommand-5X3K4KUG.js.map} +0 -0
- /package/build/{CreateVersionCommand-DMS7UHEW.js.map → CreateVersionCommand-XWWXAFOX.js.map} +0 -0
- /package/build/{DevCommand-IMACMU76.js.map → DevCommand-EOEGQX2B.js.map} +0 -0
- /package/build/{LogsCommand-DXPP2Y63.js.map → LogsCommand-23QQRT3D.js.map} +0 -0
- /package/build/{PreviewCommand-IKMUVCVS.js.map → PreviewCommand-FBODGF7Y.js.map} +0 -0
- /package/build/{build-5B2A76I7.js.map → build-PYB5PAZO.js.map} +0 -0
- /package/build/{chunk-R3BD56LW.js.map → chunk-4PXJSX4C.js.map} +0 -0
- /package/build/{chunk-PJJ6F4A3.js.map → chunk-63VDDLLQ.js.map} +0 -0
- /package/build/{chunk-RZHKF2FT.js.map → chunk-E4UNGBQY.js.map} +0 -0
- /package/build/{chunk-JYPZQDKR.js.map → chunk-GGDJQXOX.js.map} +0 -0
- /package/build/{chunk-3BX4VLQC.js.map → chunk-KLBXSZ6R.js.map} +0 -0
- /package/build/{chunk-ZVADFZDF.js.map → chunk-QREADZZF.js.map} +0 -0
- /package/build/{chunk-D7ONS7OD.js.map → chunk-TJFERWU7.js.map} +0 -0
- /package/build/{chunk-VV2OOBF3.js.map → chunk-VB3AXXRP.js.map} +0 -0
- /package/build/{chunk-LNBDMMJU.js.map → chunk-WNR36YTI.js.map} +0 -0
- /package/build/{chunk-42T5NHSS.js.map → chunk-Y4GJ3NS4.js.map} +0 -0
- /package/build/{chunk-S426UONM.js.map → chunk-ZCUJ356B.js.map} +0 -0
- /package/build/{render-command-HQXTOVW5.js.map → render-command-3G25G5MU.js.map} +0 -0
|
@@ -17317,9 +17317,9 @@ var require_semver2 = __commonJS({
|
|
|
17317
17317
|
}
|
|
17318
17318
|
});
|
|
17319
17319
|
|
|
17320
|
-
// ../../node_modules/retry/lib/retry_operation.js
|
|
17320
|
+
// ../../node_modules/p-retry/node_modules/retry/lib/retry_operation.js
|
|
17321
17321
|
var require_retry_operation = __commonJS({
|
|
17322
|
-
"../../node_modules/retry/lib/retry_operation.js"(exports, module2) {
|
|
17322
|
+
"../../node_modules/p-retry/node_modules/retry/lib/retry_operation.js"(exports, module2) {
|
|
17323
17323
|
"use strict";
|
|
17324
17324
|
init_esm_shims();
|
|
17325
17325
|
function RetryOperation(timeouts, options) {
|
|
@@ -17454,9 +17454,9 @@ var require_retry_operation = __commonJS({
|
|
|
17454
17454
|
}
|
|
17455
17455
|
});
|
|
17456
17456
|
|
|
17457
|
-
// ../../node_modules/retry/lib/retry.js
|
|
17457
|
+
// ../../node_modules/p-retry/node_modules/retry/lib/retry.js
|
|
17458
17458
|
var require_retry = __commonJS({
|
|
17459
|
-
"../../node_modules/retry/lib/retry.js"(exports) {
|
|
17459
|
+
"../../node_modules/p-retry/node_modules/retry/lib/retry.js"(exports) {
|
|
17460
17460
|
"use strict";
|
|
17461
17461
|
init_esm_shims();
|
|
17462
17462
|
var RetryOperation = require_retry_operation();
|
|
@@ -17542,9 +17542,9 @@ var require_retry = __commonJS({
|
|
|
17542
17542
|
}
|
|
17543
17543
|
});
|
|
17544
17544
|
|
|
17545
|
-
// ../../node_modules/retry/index.js
|
|
17545
|
+
// ../../node_modules/p-retry/node_modules/retry/index.js
|
|
17546
17546
|
var require_retry2 = __commonJS({
|
|
17547
|
-
"../../node_modules/retry/index.js"(exports, module2) {
|
|
17547
|
+
"../../node_modules/p-retry/node_modules/retry/index.js"(exports, module2) {
|
|
17548
17548
|
"use strict";
|
|
17549
17549
|
init_esm_shims();
|
|
17550
17550
|
module2.exports = require_retry();
|
|
@@ -87838,6 +87838,21 @@ to your top-level package.json.
|
|
|
87838
87838
|
if (t3.isJSXNamespacedName(name)) {
|
|
87839
87839
|
return name.name.name;
|
|
87840
87840
|
}
|
|
87841
|
+
if (t3.isJSXMemberExpression(name)) {
|
|
87842
|
+
var objectName = getJSXMemberExpressionObjectName(t3, name.object);
|
|
87843
|
+
var propertyName = name.property.name;
|
|
87844
|
+
return "".concat(objectName, ".").concat(propertyName);
|
|
87845
|
+
}
|
|
87846
|
+
return UNKNOWN_ELEMENT_NAME;
|
|
87847
|
+
}
|
|
87848
|
+
function getJSXMemberExpressionObjectName(t3, object) {
|
|
87849
|
+
if (t3.isJSXIdentifier(object)) {
|
|
87850
|
+
return object.name;
|
|
87851
|
+
}
|
|
87852
|
+
if (t3.isJSXMemberExpression(object)) {
|
|
87853
|
+
var objectName = getJSXMemberExpressionObjectName(t3, object.object);
|
|
87854
|
+
return "".concat(objectName, ".").concat(object.property.name);
|
|
87855
|
+
}
|
|
87841
87856
|
return UNKNOWN_ELEMENT_NAME;
|
|
87842
87857
|
}
|
|
87843
87858
|
var UNKNOWN_ELEMENT_NAME = "unknown";
|
|
@@ -113996,7 +114011,7 @@ Did you specify these with the most recent transformation maps first?`);
|
|
|
113996
114011
|
}
|
|
113997
114012
|
var SENTRY_SAAS_URL = "https://sentry.io";
|
|
113998
114013
|
function normalizeUserOptions(userOptions) {
|
|
113999
|
-
var _userOptions$org, _userOptions$project, _userOptions$authToke, _ref, _userOptions$url, _userOptions$debug, _userOptions$silent, _userOptions$telemetr, _userOptions$disable, _ref2, _userOptions$release$, _userOptions$release, _userOptions$release$2, _userOptions$release2, _userOptions$release$3, _userOptions$release3, _userOptions$release$4, _userOptions$release4, _ref3, _userOptions$release$5, _userOptions$release5, _userOptions$_metaOpt, _userOptions$_metaOpt2, _userOptions$_experim;
|
|
114014
|
+
var _userOptions$org, _userOptions$project, _userOptions$authToke, _ref, _userOptions$url, _userOptions$debug, _userOptions$silent, _userOptions$telemetr, _userOptions$disable, _ref2, _userOptions$release$, _userOptions$release, _userOptions$release$2, _userOptions$release2, _userOptions$release$3, _userOptions$release3, _userOptions$release$4, _userOptions$release4, _ref3, _userOptions$release$5, _userOptions$release5, _userOptions$release6, _userOptions$_metaOpt, _userOptions$_metaOpt2, _userOptions$_experim;
|
|
114000
114015
|
var options = {
|
|
114001
114016
|
org: (_userOptions$org = userOptions.org) !== null && _userOptions$org !== void 0 ? _userOptions$org : process.env["SENTRY_ORG"],
|
|
114002
114017
|
project: (_userOptions$project = userOptions.project) !== null && _userOptions$project !== void 0 ? _userOptions$project : process.env["SENTRY_PROJECT"],
|
|
@@ -114014,7 +114029,8 @@ Did you specify these with the most recent transformation maps first?`);
|
|
|
114014
114029
|
inject: (_userOptions$release$2 = (_userOptions$release2 = userOptions.release) === null || _userOptions$release2 === void 0 ? void 0 : _userOptions$release2.inject) !== null && _userOptions$release$2 !== void 0 ? _userOptions$release$2 : true,
|
|
114015
114030
|
create: (_userOptions$release$3 = (_userOptions$release3 = userOptions.release) === null || _userOptions$release3 === void 0 ? void 0 : _userOptions$release3.create) !== null && _userOptions$release$3 !== void 0 ? _userOptions$release$3 : true,
|
|
114016
114031
|
finalize: (_userOptions$release$4 = (_userOptions$release4 = userOptions.release) === null || _userOptions$release4 === void 0 ? void 0 : _userOptions$release4.finalize) !== null && _userOptions$release$4 !== void 0 ? _userOptions$release$4 : true,
|
|
114017
|
-
vcsRemote: (_ref3 = (_userOptions$release$5 = (_userOptions$release5 = userOptions.release) === null || _userOptions$release5 === void 0 ? void 0 : _userOptions$release5.vcsRemote) !== null && _userOptions$release$5 !== void 0 ? _userOptions$release$5 : process.env["SENTRY_VSC_REMOTE"]) !== null && _ref3 !== void 0 ? _ref3 : "origin"
|
|
114032
|
+
vcsRemote: (_ref3 = (_userOptions$release$5 = (_userOptions$release5 = userOptions.release) === null || _userOptions$release5 === void 0 ? void 0 : _userOptions$release5.vcsRemote) !== null && _userOptions$release$5 !== void 0 ? _userOptions$release$5 : process.env["SENTRY_VSC_REMOTE"]) !== null && _ref3 !== void 0 ? _ref3 : "origin",
|
|
114033
|
+
setCommits: (_userOptions$release6 = userOptions.release) === null || _userOptions$release6 === void 0 ? void 0 : _userOptions$release6.setCommits
|
|
114018
114034
|
}),
|
|
114019
114035
|
bundleSizeOptimizations: userOptions.bundleSizeOptimizations,
|
|
114020
114036
|
reactComponentAnnotation: userOptions.reactComponentAnnotation,
|
|
@@ -114027,6 +114043,34 @@ Did you specify these with the most recent transformation maps first?`);
|
|
|
114027
114043
|
moduleMetadata: userOptions.moduleMetadata,
|
|
114028
114044
|
_experiments: (_userOptions$_experim = userOptions._experiments) !== null && _userOptions$_experim !== void 0 ? _userOptions$_experim : {}
|
|
114029
114045
|
};
|
|
114046
|
+
if (options.release.setCommits === void 0) {
|
|
114047
|
+
if (process.env["VERCEL"] && process.env["VERCEL_GIT_COMMIT_SHA"] && process.env["VERCEL_GIT_REPO_SLUG"] && process.env["VERCEL_GIT_REPO_OWNER"] && // We only want to set commits for the production env because Sentry becomes extremely noisy (eg on slack) for
|
|
114048
|
+
// preview environments because the previous commit is always the "stem" commit of the preview/PR causing Sentry
|
|
114049
|
+
// to notify you for other people creating PRs.
|
|
114050
|
+
process.env["VERCEL_TARGET_ENV"] === "production") {
|
|
114051
|
+
options.release.setCommits = {
|
|
114052
|
+
shouldNotThrowOnFailure: true,
|
|
114053
|
+
commit: process.env["VERCEL_GIT_COMMIT_SHA"],
|
|
114054
|
+
previousCommit: process.env["VERCEL_GIT_PREVIOUS_SHA"],
|
|
114055
|
+
repo: "".concat(process.env["VERCEL_GIT_REPO_OWNER"], "/").concat(process.env["VERCEL_GIT_REPO_SLUG"]),
|
|
114056
|
+
ignoreEmpty: true,
|
|
114057
|
+
ignoreMissing: true
|
|
114058
|
+
};
|
|
114059
|
+
} else {
|
|
114060
|
+
options.release.setCommits = {
|
|
114061
|
+
shouldNotThrowOnFailure: true,
|
|
114062
|
+
auto: true,
|
|
114063
|
+
ignoreEmpty: true,
|
|
114064
|
+
ignoreMissing: true
|
|
114065
|
+
};
|
|
114066
|
+
}
|
|
114067
|
+
}
|
|
114068
|
+
if (options.release.deploy === void 0 && process.env["VERCEL"] && process.env["VERCEL_TARGET_ENV"]) {
|
|
114069
|
+
options.release.deploy = {
|
|
114070
|
+
env: "vercel-".concat(process.env["VERCEL_TARGET_ENV"]),
|
|
114071
|
+
url: process.env["VERCEL_URL"] ? "https://".concat(process.env["VERCEL_URL"]) : void 0
|
|
114072
|
+
};
|
|
114073
|
+
}
|
|
114030
114074
|
return options;
|
|
114031
114075
|
}
|
|
114032
114076
|
function validateOptions(options, logger2) {
|
|
@@ -118715,7 +118759,7 @@ Reason: ${reason}`
|
|
|
118715
118759
|
dsn: "https://4c2bae7d9fbc413e8f7385f55c515d51@o1.ingest.sentry.io/6690737",
|
|
118716
118760
|
tracesSampleRate: 1,
|
|
118717
118761
|
sampleRate: 1,
|
|
118718
|
-
release: "3.
|
|
118762
|
+
release: "3.3.1",
|
|
118719
118763
|
integrations: [],
|
|
118720
118764
|
tracePropagationTargets: ["sentry.io/api"],
|
|
118721
118765
|
stackParser,
|
|
@@ -119056,14 +119100,13 @@ Reason: ${reason}`
|
|
|
119056
119100
|
_context5.next = 3;
|
|
119057
119101
|
return cliInstance.releases.uploadSourceMaps(
|
|
119058
119102
|
releaseName !== null && releaseName !== void 0 ? releaseName : "undefined",
|
|
119059
|
-
//
|
|
119103
|
+
// unfortunately this needs a value for now but it will not matter since debug IDs overpower releases anyhow
|
|
119060
119104
|
{
|
|
119061
119105
|
include: [{
|
|
119062
119106
|
paths: [tmpUploadFolder],
|
|
119063
119107
|
rewrite: false,
|
|
119064
119108
|
dist
|
|
119065
|
-
}]
|
|
119066
|
-
useArtifactBundle: true
|
|
119109
|
+
}]
|
|
119067
119110
|
}
|
|
119068
119111
|
);
|
|
119069
119112
|
case 3:
|
|
@@ -119095,7 +119138,7 @@ Reason: ${reason}`
|
|
|
119095
119138
|
_context8.prev = 25;
|
|
119096
119139
|
_context8.t0 = _context8["catch"](1);
|
|
119097
119140
|
sentryScope.captureException('Error in "debugIdUploadPlugin" writeBundle hook');
|
|
119098
|
-
handleRecoverableError(_context8.t0);
|
|
119141
|
+
handleRecoverableError(_context8.t0, false);
|
|
119099
119142
|
case 29:
|
|
119100
119143
|
_context8.prev = 29;
|
|
119101
119144
|
if (folderToCleanUp) {
|
|
@@ -119356,7 +119399,7 @@ Reason: ${reason}`
|
|
|
119356
119399
|
}
|
|
119357
119400
|
}
|
|
119358
119401
|
function releaseManagementPlugin(_ref) {
|
|
119359
|
-
var releaseName = _ref.releaseName, include = _ref.include, dist = _ref.dist, setCommitsOption = _ref.setCommitsOption, shouldCreateRelease = _ref.shouldCreateRelease, shouldFinalizeRelease = _ref.shouldFinalizeRelease, deployOptions = _ref.deployOptions, handleRecoverableError = _ref.handleRecoverableError, sentryScope = _ref.sentryScope, sentryClient = _ref.sentryClient, sentryCliOptions = _ref.sentryCliOptions, createDependencyOnSourcemapFiles = _ref.createDependencyOnSourcemapFiles;
|
|
119402
|
+
var logger2 = _ref.logger, releaseName = _ref.releaseName, include = _ref.include, dist = _ref.dist, setCommitsOption = _ref.setCommitsOption, shouldCreateRelease = _ref.shouldCreateRelease, shouldFinalizeRelease = _ref.shouldFinalizeRelease, deployOptions = _ref.deployOptions, handleRecoverableError = _ref.handleRecoverableError, sentryScope = _ref.sentryScope, sentryClient = _ref.sentryClient, sentryCliOptions = _ref.sentryCliOptions, createDependencyOnSourcemapFiles = _ref.createDependencyOnSourcemapFiles;
|
|
119360
119403
|
var freeGlobalDependencyOnSourcemapFiles = createDependencyOnSourcemapFiles();
|
|
119361
119404
|
return {
|
|
119362
119405
|
name: "sentry-release-management-plugin",
|
|
@@ -119400,47 +119443,63 @@ Reason: ${reason}`
|
|
|
119400
119443
|
dist
|
|
119401
119444
|
});
|
|
119402
119445
|
case 10:
|
|
119403
|
-
if (!setCommitsOption) {
|
|
119404
|
-
_context.next =
|
|
119446
|
+
if (!(setCommitsOption !== false)) {
|
|
119447
|
+
_context.next = 23;
|
|
119405
119448
|
break;
|
|
119406
119449
|
}
|
|
119407
|
-
_context.
|
|
119450
|
+
_context.prev = 11;
|
|
119451
|
+
_context.next = 14;
|
|
119408
119452
|
return cliInstance.releases.setCommits(releaseName, setCommitsOption);
|
|
119409
|
-
case
|
|
119453
|
+
case 14:
|
|
119454
|
+
_context.next = 23;
|
|
119455
|
+
break;
|
|
119456
|
+
case 16:
|
|
119457
|
+
_context.prev = 16;
|
|
119458
|
+
_context.t0 = _context["catch"](11);
|
|
119459
|
+
if (!("shouldNotThrowOnFailure" in setCommitsOption && setCommitsOption.shouldNotThrowOnFailure)) {
|
|
119460
|
+
_context.next = 22;
|
|
119461
|
+
break;
|
|
119462
|
+
}
|
|
119463
|
+
logger2.debug("An error occurred setting commits on release (this message can be ignored unless you commits on release are desired):", _context.t0);
|
|
119464
|
+
_context.next = 23;
|
|
119465
|
+
break;
|
|
119466
|
+
case 22:
|
|
119467
|
+
throw _context.t0;
|
|
119468
|
+
case 23:
|
|
119410
119469
|
if (!shouldFinalizeRelease) {
|
|
119411
|
-
_context.next =
|
|
119470
|
+
_context.next = 26;
|
|
119412
119471
|
break;
|
|
119413
119472
|
}
|
|
119414
|
-
_context.next =
|
|
119473
|
+
_context.next = 26;
|
|
119415
119474
|
return cliInstance.releases.finalize(releaseName);
|
|
119416
|
-
case
|
|
119475
|
+
case 26:
|
|
119417
119476
|
if (!deployOptions) {
|
|
119418
|
-
_context.next =
|
|
119477
|
+
_context.next = 29;
|
|
119419
119478
|
break;
|
|
119420
119479
|
}
|
|
119421
|
-
_context.next =
|
|
119480
|
+
_context.next = 29;
|
|
119422
119481
|
return cliInstance.releases.newDeploy(releaseName, deployOptions);
|
|
119423
|
-
case
|
|
119424
|
-
_context.next =
|
|
119482
|
+
case 29:
|
|
119483
|
+
_context.next = 37;
|
|
119425
119484
|
break;
|
|
119426
|
-
case
|
|
119427
|
-
_context.prev =
|
|
119428
|
-
_context.
|
|
119485
|
+
case 31:
|
|
119486
|
+
_context.prev = 31;
|
|
119487
|
+
_context.t1 = _context["catch"](1);
|
|
119429
119488
|
sentryScope.captureException('Error in "releaseManagementPlugin" writeBundle hook');
|
|
119430
|
-
_context.next =
|
|
119489
|
+
_context.next = 36;
|
|
119431
119490
|
return safeFlushTelemetry(sentryClient);
|
|
119432
|
-
case
|
|
119433
|
-
handleRecoverableError(_context.
|
|
119434
|
-
case
|
|
119435
|
-
_context.prev =
|
|
119491
|
+
case 36:
|
|
119492
|
+
handleRecoverableError(_context.t1, false);
|
|
119493
|
+
case 37:
|
|
119494
|
+
_context.prev = 37;
|
|
119436
119495
|
freeGlobalDependencyOnSourcemapFiles();
|
|
119437
119496
|
freeWriteBundleInvocationDependencyOnSourcemapFiles();
|
|
119438
|
-
return _context.finish(
|
|
119439
|
-
case
|
|
119497
|
+
return _context.finish(37);
|
|
119498
|
+
case 41:
|
|
119440
119499
|
case "end":
|
|
119441
119500
|
return _context.stop();
|
|
119442
119501
|
}
|
|
119443
|
-
}, _callee, null, [[1,
|
|
119502
|
+
}, _callee, null, [[1, 31, 37, 41], [11, 16]]);
|
|
119444
119503
|
}))();
|
|
119445
119504
|
}
|
|
119446
119505
|
};
|
|
@@ -119569,7 +119628,7 @@ Reason: ${reason}`
|
|
|
119569
119628
|
_context.next = 21;
|
|
119570
119629
|
return safeFlushTelemetry(sentryClient);
|
|
119571
119630
|
case 21:
|
|
119572
|
-
handleRecoverableError(_context.t0);
|
|
119631
|
+
handleRecoverableError(_context.t0, true);
|
|
119573
119632
|
case 22:
|
|
119574
119633
|
case "end":
|
|
119575
119634
|
return _context.stop();
|
|
@@ -119628,8 +119687,8 @@ Reason: ${reason}`
|
|
|
119628
119687
|
process.on("beforeExit", function() {
|
|
119629
119688
|
endSession();
|
|
119630
119689
|
});
|
|
119631
|
-
process.env["SENTRY_PIPELINE"] = "".concat(unpluginMetaContext.framework, "-plugin/", "3.
|
|
119632
|
-
function handleRecoverableError(unknownError) {
|
|
119690
|
+
process.env["SENTRY_PIPELINE"] = "".concat(unpluginMetaContext.framework, "-plugin/", "3.3.1");
|
|
119691
|
+
function handleRecoverableError(unknownError, throwByDefault) {
|
|
119633
119692
|
sentrySession.status = "abnormal";
|
|
119634
119693
|
try {
|
|
119635
119694
|
if (options.errorHandler) {
|
|
@@ -119645,14 +119704,17 @@ Reason: ${reason}`
|
|
|
119645
119704
|
}
|
|
119646
119705
|
} else {
|
|
119647
119706
|
sentrySession.status = "crashed";
|
|
119648
|
-
|
|
119707
|
+
if (throwByDefault) {
|
|
119708
|
+
throw unknownError;
|
|
119709
|
+
}
|
|
119710
|
+
logger2.error("An error occurred. Couldn't finish all operations:", unknownError);
|
|
119649
119711
|
}
|
|
119650
119712
|
} finally {
|
|
119651
119713
|
endSession();
|
|
119652
119714
|
}
|
|
119653
119715
|
}
|
|
119654
119716
|
if (!validateOptions(options, logger2)) {
|
|
119655
|
-
handleRecoverableError(new Error("Options were not set correctly. See output above for more details."));
|
|
119717
|
+
handleRecoverableError(new Error("Options were not set correctly. See output above for more details."), true);
|
|
119656
119718
|
}
|
|
119657
119719
|
if (process.cwd().match(/\\node_modules\\|\/node_modules\//)) {
|
|
119658
119720
|
logger2.warn("Running Sentry plugin from within a `node_modules` folder. Some features may not work.");
|
|
@@ -119745,16 +119807,20 @@ Reason: ${reason}`
|
|
|
119745
119807
|
var _injectionCode2 = generateModuleMetadataInjectorCode(metadata);
|
|
119746
119808
|
plugins.push(moduleMetadataInjectionPlugin(_injectionCode2));
|
|
119747
119809
|
}
|
|
119810
|
+
var isRunningInTurborepo = Boolean(process.env["TURBO_HASH"]);
|
|
119811
|
+
var getTurborepoEnvPassthroughWarning = function getTurborepoEnvPassthroughWarning2(envVarName) {
|
|
119812
|
+
return isRunningInTurborepo ? "\nYou seem to be using Turborepo, did you forget to put ".concat(envVarName, " in `passThroughEnv`? https://turbo.build/repo/docs/reference/configuration#passthroughenv") : "";
|
|
119813
|
+
};
|
|
119748
119814
|
if (!options.release.name) {
|
|
119749
119815
|
logger2.debug("No release name provided. Will not create release. Please set the `release.name` option to identify your release.");
|
|
119750
119816
|
} else if (isDevMode) {
|
|
119751
119817
|
logger2.debug("Running in development mode. Will not create release.");
|
|
119752
119818
|
} else if (!options.authToken) {
|
|
119753
|
-
logger2.warn("No auth token provided. Will not create release. Please set the `authToken` option. You can find information on how to generate a Sentry auth token here: https://docs.sentry.io/api/auth/");
|
|
119819
|
+
logger2.warn("No auth token provided. Will not create release. Please set the `authToken` option. You can find information on how to generate a Sentry auth token here: https://docs.sentry.io/api/auth/" + getTurborepoEnvPassthroughWarning("SENTRY_AUTH_TOKEN"));
|
|
119754
119820
|
} else if (!options.org && !options.authToken.startsWith("sntrys_")) {
|
|
119755
|
-
logger2.warn("No organization slug provided. Will not create release. Please set the `org` option to your Sentry organization slug.");
|
|
119821
|
+
logger2.warn("No organization slug provided. Will not create release. Please set the `org` option to your Sentry organization slug." + getTurborepoEnvPassthroughWarning("SENTRY_ORG"));
|
|
119756
119822
|
} else if (!options.project) {
|
|
119757
|
-
logger2.warn("No project provided. Will not create release. Please set the `project` option to your Sentry project slug.");
|
|
119823
|
+
logger2.warn("No project provided. Will not create release. Please set the `project` option to your Sentry project slug." + getTurborepoEnvPassthroughWarning("SENTRY_PROJECT"));
|
|
119758
119824
|
} else {
|
|
119759
119825
|
plugins.push(releaseManagementPlugin({
|
|
119760
119826
|
logger: logger2,
|
|
@@ -119762,6 +119828,8 @@ Reason: ${reason}`
|
|
|
119762
119828
|
shouldCreateRelease: options.release.create,
|
|
119763
119829
|
shouldFinalizeRelease: options.release.finalize,
|
|
119764
119830
|
include: options.release.uploadLegacySourcemaps,
|
|
119831
|
+
// setCommits has a default defined by the options mappings
|
|
119832
|
+
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
119765
119833
|
setCommitsOption: options.release.setCommits,
|
|
119766
119834
|
deployOptions: options.release.deploy,
|
|
119767
119835
|
dist: options.release.dist,
|
|
@@ -119788,11 +119856,11 @@ Reason: ${reason}`
|
|
|
119788
119856
|
} else if (isDevMode) {
|
|
119789
119857
|
logger2.debug("Running in development mode. Will not upload sourcemaps.");
|
|
119790
119858
|
} else if (!options.authToken) {
|
|
119791
|
-
logger2.warn("No auth token provided. Will not upload source maps. Please set the `authToken` option. You can find information on how to generate a Sentry auth token here: https://docs.sentry.io/api/auth/");
|
|
119859
|
+
logger2.warn("No auth token provided. Will not upload source maps. Please set the `authToken` option. You can find information on how to generate a Sentry auth token here: https://docs.sentry.io/api/auth/" + getTurborepoEnvPassthroughWarning("SENTRY_AUTH_TOKEN"));
|
|
119792
119860
|
} else if (!options.org && !options.authToken.startsWith("sntrys_")) {
|
|
119793
|
-
logger2.warn("No org provided. Will not upload source maps. Please set the `org` option to your Sentry organization slug.");
|
|
119861
|
+
logger2.warn("No org provided. Will not upload source maps. Please set the `org` option to your Sentry organization slug." + getTurborepoEnvPassthroughWarning("SENTRY_ORG"));
|
|
119794
119862
|
} else if (!options.project) {
|
|
119795
|
-
logger2.warn("No project provided. Will not upload source maps. Please set the `project` option to your Sentry project slug.");
|
|
119863
|
+
logger2.warn("No project provided. Will not upload source maps. Please set the `project` option to your Sentry project slug." + getTurborepoEnvPassthroughWarning("SENTRY_PROJECT"));
|
|
119796
119864
|
} else {
|
|
119797
119865
|
var _options$sourcemaps3, _options$sourcemaps4, _options$sourcemaps5;
|
|
119798
119866
|
var _webpack_forceExitOnBuildComplete = typeof options._experiments["forceExitOnBuildCompletion"] === "boolean" ? options._experiments["forceExitOnBuildCompletion"] : void 0;
|
|
@@ -120468,6 +120536,240 @@ window.sentryOnLoad = function () {
|
|
|
120468
120536
|
}
|
|
120469
120537
|
});
|
|
120470
120538
|
|
|
120539
|
+
// ../../node_modules/@wix/app-cloud-uploader/node_modules/retry/lib/retry_operation.js
|
|
120540
|
+
var require_retry_operation2 = __commonJS({
|
|
120541
|
+
"../../node_modules/@wix/app-cloud-uploader/node_modules/retry/lib/retry_operation.js"(exports, module2) {
|
|
120542
|
+
"use strict";
|
|
120543
|
+
init_esm_shims();
|
|
120544
|
+
function RetryOperation(timeouts, options) {
|
|
120545
|
+
if (typeof options === "boolean") {
|
|
120546
|
+
options = { forever: options };
|
|
120547
|
+
}
|
|
120548
|
+
this._originalTimeouts = JSON.parse(JSON.stringify(timeouts));
|
|
120549
|
+
this._timeouts = timeouts;
|
|
120550
|
+
this._options = options || {};
|
|
120551
|
+
this._maxRetryTime = options && options.maxRetryTime || Infinity;
|
|
120552
|
+
this._fn = null;
|
|
120553
|
+
this._errors = [];
|
|
120554
|
+
this._attempts = 1;
|
|
120555
|
+
this._operationTimeout = null;
|
|
120556
|
+
this._operationTimeoutCb = null;
|
|
120557
|
+
this._timeout = null;
|
|
120558
|
+
this._operationStart = null;
|
|
120559
|
+
this._timer = null;
|
|
120560
|
+
if (this._options.forever) {
|
|
120561
|
+
this._cachedTimeouts = this._timeouts.slice(0);
|
|
120562
|
+
}
|
|
120563
|
+
}
|
|
120564
|
+
module2.exports = RetryOperation;
|
|
120565
|
+
RetryOperation.prototype.reset = function() {
|
|
120566
|
+
this._attempts = 1;
|
|
120567
|
+
this._timeouts = this._originalTimeouts.slice(0);
|
|
120568
|
+
};
|
|
120569
|
+
RetryOperation.prototype.stop = function() {
|
|
120570
|
+
if (this._timeout) {
|
|
120571
|
+
clearTimeout(this._timeout);
|
|
120572
|
+
}
|
|
120573
|
+
if (this._timer) {
|
|
120574
|
+
clearTimeout(this._timer);
|
|
120575
|
+
}
|
|
120576
|
+
this._timeouts = [];
|
|
120577
|
+
this._cachedTimeouts = null;
|
|
120578
|
+
};
|
|
120579
|
+
RetryOperation.prototype.retry = function(err) {
|
|
120580
|
+
if (this._timeout) {
|
|
120581
|
+
clearTimeout(this._timeout);
|
|
120582
|
+
}
|
|
120583
|
+
if (!err) {
|
|
120584
|
+
return false;
|
|
120585
|
+
}
|
|
120586
|
+
var currentTime = (/* @__PURE__ */ new Date()).getTime();
|
|
120587
|
+
if (err && currentTime - this._operationStart >= this._maxRetryTime) {
|
|
120588
|
+
this._errors.push(err);
|
|
120589
|
+
this._errors.unshift(new Error("RetryOperation timeout occurred"));
|
|
120590
|
+
return false;
|
|
120591
|
+
}
|
|
120592
|
+
this._errors.push(err);
|
|
120593
|
+
var timeout = this._timeouts.shift();
|
|
120594
|
+
if (timeout === void 0) {
|
|
120595
|
+
if (this._cachedTimeouts) {
|
|
120596
|
+
this._errors.splice(0, this._errors.length - 1);
|
|
120597
|
+
timeout = this._cachedTimeouts.slice(-1);
|
|
120598
|
+
} else {
|
|
120599
|
+
return false;
|
|
120600
|
+
}
|
|
120601
|
+
}
|
|
120602
|
+
var self2 = this;
|
|
120603
|
+
this._timer = setTimeout(function() {
|
|
120604
|
+
self2._attempts++;
|
|
120605
|
+
if (self2._operationTimeoutCb) {
|
|
120606
|
+
self2._timeout = setTimeout(function() {
|
|
120607
|
+
self2._operationTimeoutCb(self2._attempts);
|
|
120608
|
+
}, self2._operationTimeout);
|
|
120609
|
+
if (self2._options.unref) {
|
|
120610
|
+
self2._timeout.unref();
|
|
120611
|
+
}
|
|
120612
|
+
}
|
|
120613
|
+
self2._fn(self2._attempts);
|
|
120614
|
+
}, timeout);
|
|
120615
|
+
if (this._options.unref) {
|
|
120616
|
+
this._timer.unref();
|
|
120617
|
+
}
|
|
120618
|
+
return true;
|
|
120619
|
+
};
|
|
120620
|
+
RetryOperation.prototype.attempt = function(fn, timeoutOps) {
|
|
120621
|
+
this._fn = fn;
|
|
120622
|
+
if (timeoutOps) {
|
|
120623
|
+
if (timeoutOps.timeout) {
|
|
120624
|
+
this._operationTimeout = timeoutOps.timeout;
|
|
120625
|
+
}
|
|
120626
|
+
if (timeoutOps.cb) {
|
|
120627
|
+
this._operationTimeoutCb = timeoutOps.cb;
|
|
120628
|
+
}
|
|
120629
|
+
}
|
|
120630
|
+
var self2 = this;
|
|
120631
|
+
if (this._operationTimeoutCb) {
|
|
120632
|
+
this._timeout = setTimeout(function() {
|
|
120633
|
+
self2._operationTimeoutCb();
|
|
120634
|
+
}, self2._operationTimeout);
|
|
120635
|
+
}
|
|
120636
|
+
this._operationStart = (/* @__PURE__ */ new Date()).getTime();
|
|
120637
|
+
this._fn(this._attempts);
|
|
120638
|
+
};
|
|
120639
|
+
RetryOperation.prototype.try = function(fn) {
|
|
120640
|
+
console.log("Using RetryOperation.try() is deprecated");
|
|
120641
|
+
this.attempt(fn);
|
|
120642
|
+
};
|
|
120643
|
+
RetryOperation.prototype.start = function(fn) {
|
|
120644
|
+
console.log("Using RetryOperation.start() is deprecated");
|
|
120645
|
+
this.attempt(fn);
|
|
120646
|
+
};
|
|
120647
|
+
RetryOperation.prototype.start = RetryOperation.prototype.try;
|
|
120648
|
+
RetryOperation.prototype.errors = function() {
|
|
120649
|
+
return this._errors;
|
|
120650
|
+
};
|
|
120651
|
+
RetryOperation.prototype.attempts = function() {
|
|
120652
|
+
return this._attempts;
|
|
120653
|
+
};
|
|
120654
|
+
RetryOperation.prototype.mainError = function() {
|
|
120655
|
+
if (this._errors.length === 0) {
|
|
120656
|
+
return null;
|
|
120657
|
+
}
|
|
120658
|
+
var counts = {};
|
|
120659
|
+
var mainError = null;
|
|
120660
|
+
var mainErrorCount = 0;
|
|
120661
|
+
for (var i2 = 0; i2 < this._errors.length; i2++) {
|
|
120662
|
+
var error = this._errors[i2];
|
|
120663
|
+
var message = error.message;
|
|
120664
|
+
var count = (counts[message] || 0) + 1;
|
|
120665
|
+
counts[message] = count;
|
|
120666
|
+
if (count >= mainErrorCount) {
|
|
120667
|
+
mainError = error;
|
|
120668
|
+
mainErrorCount = count;
|
|
120669
|
+
}
|
|
120670
|
+
}
|
|
120671
|
+
return mainError;
|
|
120672
|
+
};
|
|
120673
|
+
}
|
|
120674
|
+
});
|
|
120675
|
+
|
|
120676
|
+
// ../../node_modules/@wix/app-cloud-uploader/node_modules/retry/lib/retry.js
|
|
120677
|
+
var require_retry3 = __commonJS({
|
|
120678
|
+
"../../node_modules/@wix/app-cloud-uploader/node_modules/retry/lib/retry.js"(exports) {
|
|
120679
|
+
"use strict";
|
|
120680
|
+
init_esm_shims();
|
|
120681
|
+
var RetryOperation = require_retry_operation2();
|
|
120682
|
+
exports.operation = function(options) {
|
|
120683
|
+
var timeouts = exports.timeouts(options);
|
|
120684
|
+
return new RetryOperation(timeouts, {
|
|
120685
|
+
forever: options && (options.forever || options.retries === Infinity),
|
|
120686
|
+
unref: options && options.unref,
|
|
120687
|
+
maxRetryTime: options && options.maxRetryTime
|
|
120688
|
+
});
|
|
120689
|
+
};
|
|
120690
|
+
exports.timeouts = function(options) {
|
|
120691
|
+
if (options instanceof Array) {
|
|
120692
|
+
return [].concat(options);
|
|
120693
|
+
}
|
|
120694
|
+
var opts = {
|
|
120695
|
+
retries: 10,
|
|
120696
|
+
factor: 2,
|
|
120697
|
+
minTimeout: 1 * 1e3,
|
|
120698
|
+
maxTimeout: Infinity,
|
|
120699
|
+
randomize: false
|
|
120700
|
+
};
|
|
120701
|
+
for (var key in options) {
|
|
120702
|
+
opts[key] = options[key];
|
|
120703
|
+
}
|
|
120704
|
+
if (opts.minTimeout > opts.maxTimeout) {
|
|
120705
|
+
throw new Error("minTimeout is greater than maxTimeout");
|
|
120706
|
+
}
|
|
120707
|
+
var timeouts = [];
|
|
120708
|
+
for (var i2 = 0; i2 < opts.retries; i2++) {
|
|
120709
|
+
timeouts.push(this.createTimeout(i2, opts));
|
|
120710
|
+
}
|
|
120711
|
+
if (options && options.forever && !timeouts.length) {
|
|
120712
|
+
timeouts.push(this.createTimeout(i2, opts));
|
|
120713
|
+
}
|
|
120714
|
+
timeouts.sort(function(a2, b) {
|
|
120715
|
+
return a2 - b;
|
|
120716
|
+
});
|
|
120717
|
+
return timeouts;
|
|
120718
|
+
};
|
|
120719
|
+
exports.createTimeout = function(attempt, opts) {
|
|
120720
|
+
var random = opts.randomize ? Math.random() + 1 : 1;
|
|
120721
|
+
var timeout = Math.round(random * Math.max(opts.minTimeout, 1) * Math.pow(opts.factor, attempt));
|
|
120722
|
+
timeout = Math.min(timeout, opts.maxTimeout);
|
|
120723
|
+
return timeout;
|
|
120724
|
+
};
|
|
120725
|
+
exports.wrap = function(obj, options, methods) {
|
|
120726
|
+
if (options instanceof Array) {
|
|
120727
|
+
methods = options;
|
|
120728
|
+
options = null;
|
|
120729
|
+
}
|
|
120730
|
+
if (!methods) {
|
|
120731
|
+
methods = [];
|
|
120732
|
+
for (var key in obj) {
|
|
120733
|
+
if (typeof obj[key] === "function") {
|
|
120734
|
+
methods.push(key);
|
|
120735
|
+
}
|
|
120736
|
+
}
|
|
120737
|
+
}
|
|
120738
|
+
for (var i2 = 0; i2 < methods.length; i2++) {
|
|
120739
|
+
var method = methods[i2];
|
|
120740
|
+
var original = obj[method];
|
|
120741
|
+
obj[method] = function retryWrapper(original2) {
|
|
120742
|
+
var op = exports.operation(options);
|
|
120743
|
+
var args = Array.prototype.slice.call(arguments, 1);
|
|
120744
|
+
var callback = args.pop();
|
|
120745
|
+
args.push(function(err) {
|
|
120746
|
+
if (op.retry(err)) {
|
|
120747
|
+
return;
|
|
120748
|
+
}
|
|
120749
|
+
if (err) {
|
|
120750
|
+
arguments[0] = op.mainError();
|
|
120751
|
+
}
|
|
120752
|
+
callback.apply(this, arguments);
|
|
120753
|
+
});
|
|
120754
|
+
op.attempt(function() {
|
|
120755
|
+
original2.apply(obj, args);
|
|
120756
|
+
});
|
|
120757
|
+
}.bind(obj, original);
|
|
120758
|
+
obj[method].options = options;
|
|
120759
|
+
}
|
|
120760
|
+
};
|
|
120761
|
+
}
|
|
120762
|
+
});
|
|
120763
|
+
|
|
120764
|
+
// ../../node_modules/@wix/app-cloud-uploader/node_modules/retry/index.js
|
|
120765
|
+
var require_retry4 = __commonJS({
|
|
120766
|
+
"../../node_modules/@wix/app-cloud-uploader/node_modules/retry/index.js"(exports, module2) {
|
|
120767
|
+
"use strict";
|
|
120768
|
+
init_esm_shims();
|
|
120769
|
+
module2.exports = require_retry3();
|
|
120770
|
+
}
|
|
120771
|
+
});
|
|
120772
|
+
|
|
120471
120773
|
// ../../node_modules/delayed-stream/lib/delayed_stream.js
|
|
120472
120774
|
var require_delayed_stream = __commonJS({
|
|
120473
120775
|
"../../node_modules/delayed-stream/lib/delayed_stream.js"(exports, module2) {
|
|
@@ -138752,7 +139054,7 @@ var require_chokidar = __commonJS({
|
|
|
138752
139054
|
var package_default = {
|
|
138753
139055
|
name: "@wix/cli-app",
|
|
138754
139056
|
description: "CLI tool for Wix apps",
|
|
138755
|
-
version: "1.1.
|
|
139057
|
+
version: "1.1.83",
|
|
138756
139058
|
author: "Amit Dahan",
|
|
138757
139059
|
dependencies: {
|
|
138758
139060
|
esbuild: "^0.21.3",
|
|
@@ -138766,15 +139068,15 @@ var package_default = {
|
|
|
138766
139068
|
"@types/react": "^18.3.3",
|
|
138767
139069
|
"@types/semver": "^7.5.8",
|
|
138768
139070
|
"@wix/ambassador-blocks-v1-application-structure": "^1.0.3",
|
|
138769
|
-
"@wix/ambassador-blocks-v1-blocks-app": "^1.0.
|
|
139071
|
+
"@wix/ambassador-blocks-v1-blocks-app": "^1.0.58",
|
|
138770
139072
|
"@wix/ambassador-cli-site-override-service-v1-site-override": "^1.0.7",
|
|
138771
139073
|
"@wix/ambassador-ctp-app-cloud-backend-service-v1-app-cloud-backend-deployment": "^1.0.8",
|
|
138772
139074
|
"@wix/ambassador-ctp-gradual-rollout-v1-app-config": "^1.0.73",
|
|
138773
|
-
"@wix/ambassador-devcenter-apps-v1-app": "^1.0.
|
|
138774
|
-
"@wix/ambassador-devcenter-components-v1-component": "^1.0.
|
|
139075
|
+
"@wix/ambassador-devcenter-apps-v1-app": "^1.0.595",
|
|
139076
|
+
"@wix/ambassador-devcenter-components-v1-component": "^1.0.457",
|
|
138775
139077
|
"@wix/app-cloud-uploader": "^1.18.0",
|
|
138776
139078
|
"@wix/arm-client": "workspace:*",
|
|
138777
|
-
"@wix/bi-logger-dev-tools-data": "^1.
|
|
139079
|
+
"@wix/bi-logger-dev-tools-data": "^1.111.0",
|
|
138778
139080
|
"@wix/cli-app-definitions": "workspace:*",
|
|
138779
139081
|
"@wix/cli-app-manifest": "workspace:*",
|
|
138780
139082
|
"@wix/cli-app-platform-sdk": "workspace:*",
|
|
@@ -138803,7 +139105,7 @@ var package_default = {
|
|
|
138803
139105
|
"@wix/extensions-data-client": "workspace:*",
|
|
138804
139106
|
"@wix/gena": "workspace:*",
|
|
138805
139107
|
"@wix/metasite-manager-client": "workspace:*",
|
|
138806
|
-
"@wix/monitoring-buildtime": "^1.
|
|
139108
|
+
"@wix/monitoring-buildtime": "^1.26.0",
|
|
138807
139109
|
"@wix/package-manager": "workspace:*",
|
|
138808
139110
|
"@wix/site-list-client": "workspace:*",
|
|
138809
139111
|
"@wix/site-override-client": "workspace:*",
|
|
@@ -138828,6 +139130,7 @@ var package_default = {
|
|
|
138828
139130
|
semver: "^7.6.3",
|
|
138829
139131
|
variant: "^3.0.0-dev.27",
|
|
138830
139132
|
"vite-plugin-externals": "^0.6.2",
|
|
139133
|
+
"vite-tsconfig-paths": "^5.1.4",
|
|
138831
139134
|
zod: "^3.24.2",
|
|
138832
139135
|
"zod-to-json-schema": "^3.24.3"
|
|
138833
139136
|
},
|
|
@@ -139129,6 +139432,7 @@ var CliUserErrorCode = (0, import_variant.variant)({
|
|
|
139129
139432
|
FailedToApplySiteFsManagerFsUpdates: {},
|
|
139130
139433
|
FailedToApplySiteFsManagerExternalUpdates: {},
|
|
139131
139434
|
CreateVersionDeprecated: (0, import_variant.fields)(),
|
|
139435
|
+
ServeDeprecated: (0, import_variant.fields)(),
|
|
139132
139436
|
CannotFindConfigReferencedAsset: (0, import_variant.fields)(),
|
|
139133
139437
|
CannotReleaseApplicationInReview: {},
|
|
139134
139438
|
FailedToCreateIntellisenseAdapter: {},
|
|
@@ -139138,7 +139442,9 @@ var CliUserErrorCode = (0, import_variant.variant)({
|
|
|
139138
139442
|
FailedToEvalBackendExtension: (0, import_variant.fields)(),
|
|
139139
139443
|
DeploymentPipelineFailed: (0, import_variant.fields)(),
|
|
139140
139444
|
InsufficientNonInterractiveReleaseParameters: {},
|
|
139141
|
-
|
|
139445
|
+
AppNameArgumentIsInvalid: (0, import_variant.fields)(),
|
|
139446
|
+
CannotReleaseMinorInNoninteractive: {},
|
|
139447
|
+
SiteComponentConfigNotFound: (0, import_variant.fields)()
|
|
139142
139448
|
});
|
|
139143
139449
|
var CliErrorCode = (0, import_variant.variant)({
|
|
139144
139450
|
...CliSystemErrorCode,
|
|
@@ -148464,92 +148770,92 @@ var ErrorIcon = () => {
|
|
|
148464
148770
|
return /* @__PURE__ */ import_react29.default.createElement(Text2, null, isUnicodeSupported() ? "\u2716" : "\xD7");
|
|
148465
148771
|
};
|
|
148466
148772
|
|
|
148467
|
-
// ../cli-ui-kit/src/icons/Info.tsx
|
|
148468
|
-
init_esm_shims();
|
|
148469
|
-
var import_react30 = __toESM(require_react(), 1);
|
|
148470
|
-
var InfoIcon = () => {
|
|
148471
|
-
return /* @__PURE__ */ import_react30.default.createElement(Text2, null, isUnicodeSupported() ? "\u2139" : "i");
|
|
148472
|
-
};
|
|
148473
|
-
|
|
148474
148773
|
// ../cli-ui-kit/src/icons/Pointer.tsx
|
|
148475
148774
|
init_esm_shims();
|
|
148476
|
-
var
|
|
148775
|
+
var import_react30 = __toESM(require_react(), 1);
|
|
148477
148776
|
var PointerIcon = ({ appearance }) => {
|
|
148478
148777
|
switch (appearance) {
|
|
148479
148778
|
case "exclamation":
|
|
148480
|
-
return /* @__PURE__ */
|
|
148779
|
+
return /* @__PURE__ */ import_react30.default.createElement(Text2, null, "!");
|
|
148481
148780
|
case "triangle":
|
|
148482
|
-
return /* @__PURE__ */
|
|
148781
|
+
return /* @__PURE__ */ import_react30.default.createElement(Text2, null, isUnicodeSupported() ? "\u25B6" : ">");
|
|
148483
148782
|
default:
|
|
148484
|
-
return /* @__PURE__ */
|
|
148783
|
+
return /* @__PURE__ */ import_react30.default.createElement(Text2, null, isUnicodeSupported() ? "\u276F" : ">");
|
|
148485
148784
|
}
|
|
148486
148785
|
};
|
|
148487
148786
|
|
|
148488
148787
|
// ../cli-ui-kit/src/icons/PointerSmall.tsx
|
|
148489
148788
|
init_esm_shims();
|
|
148490
|
-
var
|
|
148789
|
+
var import_react31 = __toESM(require_react(), 1);
|
|
148491
148790
|
var PointerSmallIcon = () => {
|
|
148492
|
-
return /* @__PURE__ */
|
|
148791
|
+
return /* @__PURE__ */ import_react31.default.createElement(Text2, null, isUnicodeSupported() ? "\u203A" : "\xBB");
|
|
148493
148792
|
};
|
|
148494
148793
|
|
|
148495
148794
|
// ../cli-ui-kit/src/icons/QuestionMark.tsx
|
|
148496
148795
|
init_esm_shims();
|
|
148497
|
-
var
|
|
148796
|
+
var import_react32 = __toESM(require_react(), 1);
|
|
148498
148797
|
var QuestionMarkIcon = () => {
|
|
148499
|
-
return /* @__PURE__ */
|
|
148798
|
+
return /* @__PURE__ */ import_react32.default.createElement(Text2, null, "?");
|
|
148500
148799
|
};
|
|
148501
148800
|
|
|
148502
148801
|
// ../cli-ui-kit/src/icons/Radio.tsx
|
|
148503
148802
|
init_esm_shims();
|
|
148504
|
-
var
|
|
148803
|
+
var import_react33 = __toESM(require_react(), 1);
|
|
148505
148804
|
var RadioIcon = ({ selected }) => {
|
|
148506
148805
|
let content = isUnicodeSupported() ? "\u25CB" : "o";
|
|
148507
148806
|
if (selected) {
|
|
148508
148807
|
content = isUnicodeSupported() ? "\u25CF" : "\u2022";
|
|
148509
148808
|
}
|
|
148510
|
-
return /* @__PURE__ */
|
|
148809
|
+
return /* @__PURE__ */ import_react33.default.createElement(Text2, null, content);
|
|
148511
148810
|
};
|
|
148512
148811
|
|
|
148513
148812
|
// ../cli-ui-kit/src/icons/Success.tsx
|
|
148514
148813
|
init_esm_shims();
|
|
148515
|
-
var
|
|
148814
|
+
var import_react34 = __toESM(require_react(), 1);
|
|
148516
148815
|
var SuccessIcon = () => {
|
|
148517
|
-
return /* @__PURE__ */
|
|
148816
|
+
return /* @__PURE__ */ import_react34.default.createElement(Text2, null, isUnicodeSupported() ? "\u2714" : "\u221A");
|
|
148518
148817
|
};
|
|
148519
148818
|
|
|
148520
148819
|
// ../cli-ui-kit/src/icons/Warning.tsx
|
|
148521
148820
|
init_esm_shims();
|
|
148522
|
-
var
|
|
148821
|
+
var import_react35 = __toESM(require_react(), 1);
|
|
148523
148822
|
var WarningIcon = () => {
|
|
148524
|
-
return /* @__PURE__ */
|
|
148823
|
+
return /* @__PURE__ */ import_react35.default.createElement(Text2, null, isUnicodeSupported() ? "\u26A0" : "\u203C");
|
|
148525
148824
|
};
|
|
148526
148825
|
|
|
148527
148826
|
// ../cli-ui-kit/src/icons/Insight.tsx
|
|
148528
148827
|
init_esm_shims();
|
|
148529
|
-
var
|
|
148828
|
+
var import_react36 = __toESM(require_react(), 1);
|
|
148530
148829
|
var InsightIcon = () => {
|
|
148531
|
-
return /* @__PURE__ */
|
|
148830
|
+
return /* @__PURE__ */ import_react36.default.createElement(Text2, null, isUnicodeSupported() ? "\u{1F4A1}" : "!");
|
|
148532
148831
|
};
|
|
148533
148832
|
|
|
148534
148833
|
// ../cli-ui-kit/src/icons/Learn.tsx
|
|
148535
148834
|
init_esm_shims();
|
|
148536
|
-
var
|
|
148835
|
+
var import_react37 = __toESM(require_react(), 1);
|
|
148537
148836
|
var Learn = () => {
|
|
148538
|
-
return /* @__PURE__ */
|
|
148837
|
+
return /* @__PURE__ */ import_react37.default.createElement(Text2, null, isUnicodeSupported() ? "\u{1F4DA}" : ">");
|
|
148539
148838
|
};
|
|
148540
148839
|
|
|
148541
148840
|
// ../cli-ui-kit/src/icons/Cart.tsx
|
|
148542
148841
|
init_esm_shims();
|
|
148543
|
-
var
|
|
148842
|
+
var import_react38 = __toESM(require_react(), 1);
|
|
148544
148843
|
var Cart = () => {
|
|
148545
|
-
return /* @__PURE__ */
|
|
148844
|
+
return /* @__PURE__ */ import_react38.default.createElement(Text2, null, isUnicodeSupported() ? "\u{1F6D2}" : ">");
|
|
148546
148845
|
};
|
|
148547
148846
|
|
|
148548
148847
|
// ../cli-ui-kit/src/icons/Statistics.tsx
|
|
148549
148848
|
init_esm_shims();
|
|
148550
|
-
var
|
|
148849
|
+
var import_react39 = __toESM(require_react(), 1);
|
|
148551
148850
|
var Statistics = () => {
|
|
148552
|
-
return /* @__PURE__ */
|
|
148851
|
+
return /* @__PURE__ */ import_react39.default.createElement(Text2, null, isUnicodeSupported() ? "\u{1F4CA}" : ">");
|
|
148852
|
+
};
|
|
148853
|
+
|
|
148854
|
+
// ../cli-ui-kit/src/icons/Rocket.tsx
|
|
148855
|
+
init_esm_shims();
|
|
148856
|
+
var import_react40 = __toESM(require_react(), 1);
|
|
148857
|
+
var Rocket = () => {
|
|
148858
|
+
return /* @__PURE__ */ import_react40.default.createElement(Text2, null, isUnicodeSupported() ? "\u{1F680}" : ">");
|
|
148553
148859
|
};
|
|
148554
148860
|
|
|
148555
148861
|
// ../cli-ui-kit/src/components/InputLabel.tsx
|
|
@@ -149641,7 +149947,7 @@ function GroupsList({
|
|
|
149641
149947
|
}
|
|
149642
149948
|
|
|
149643
149949
|
// ../cli-ui-kit/src/components/SelectInput/SelectGroupsInput.tsx
|
|
149644
|
-
var DEFAULT_MAX_HEIGHT =
|
|
149950
|
+
var DEFAULT_MAX_HEIGHT = 20;
|
|
149645
149951
|
function SelectGroupsInput({
|
|
149646
149952
|
label,
|
|
149647
149953
|
info,
|
|
@@ -156949,11 +157255,11 @@ function createHttpClient({
|
|
|
156949
157255
|
|
|
156950
157256
|
// ../cli-error-reporting/src/components/ErrorViewer.ts
|
|
156951
157257
|
init_esm_shims();
|
|
156952
|
-
var
|
|
157258
|
+
var import_react85 = __toESM(require_react(), 1);
|
|
156953
157259
|
|
|
156954
157260
|
// ../cli-error-reporting/src/get-error-component.tsx
|
|
156955
157261
|
init_esm_shims();
|
|
156956
|
-
var
|
|
157262
|
+
var import_react84 = __toESM(require_react(), 1);
|
|
156957
157263
|
var import_variant15 = __toESM(require_lib(), 1);
|
|
156958
157264
|
|
|
156959
157265
|
// ../../node_modules/outdent/lib-module/index.js
|
|
@@ -157175,33 +157481,42 @@ var OutdatedVersionMessage = ({
|
|
|
157175
157481
|
)));
|
|
157176
157482
|
};
|
|
157177
157483
|
|
|
157178
|
-
// ../cli-error-reporting/src/components/
|
|
157484
|
+
// ../cli-error-reporting/src/components/ServeDeprecationMessage.tsx
|
|
157179
157485
|
init_esm_shims();
|
|
157180
157486
|
var import_react82 = __toESM(require_react(), 1);
|
|
157487
|
+
var ServeDeprecationMessage = ({
|
|
157488
|
+
packageManagerRunCmd
|
|
157489
|
+
}) => {
|
|
157490
|
+
return /* @__PURE__ */ import_react82.default.createElement(Box_default, { rowGap: 1, paddingBottom: 1, flexDirection: "column" }, /* @__PURE__ */ import_react82.default.createElement(Alert, { type: "error" }, "Deprecation Notice"), /* @__PURE__ */ import_react82.default.createElement(Text2, null, /* @__PURE__ */ import_react82.default.createElement(Text2, { skin: "info" }, "serve"), " command is being replaced by", " ", /* @__PURE__ */ import_react82.default.createElement(Text2, { skin: "info" }, "preview"), " command."), /* @__PURE__ */ import_react82.default.createElement(Text2, null, "Please run", " ", /* @__PURE__ */ import_react82.default.createElement(Text2, { skin: "info" }, packageManagerRunCmd ? `${packageManagerRunCmd} wix app preview` : "wix app preview"), " ", "instead."));
|
|
157491
|
+
};
|
|
157492
|
+
|
|
157493
|
+
// ../cli-error-reporting/src/components/CreateVersionDeprecationMessage.tsx
|
|
157494
|
+
init_esm_shims();
|
|
157495
|
+
var import_react83 = __toESM(require_react(), 1);
|
|
157181
157496
|
var CreateVersionDeprecationMessage = ({ packageManagerRunCmd }) => {
|
|
157182
|
-
return /* @__PURE__ */
|
|
157497
|
+
return /* @__PURE__ */ import_react83.default.createElement(Box_default, { rowGap: 1, paddingBottom: 1, flexDirection: "column" }, /* @__PURE__ */ import_react83.default.createElement(Alert, { type: "error" }, "Deprecation Notice"), /* @__PURE__ */ import_react83.default.createElement(Text2, null, /* @__PURE__ */ import_react83.default.createElement(Text2, { skin: "info" }, "create-version"), " command is being replaced by", " ", /* @__PURE__ */ import_react83.default.createElement(Text2, { skin: "info" }, "release"), " command."), packageManagerRunCmd ? /* @__PURE__ */ import_react83.default.createElement(Text2, null, "With ", /* @__PURE__ */ import_react83.default.createElement(Text2, { skin: "info" }, packageManagerRunCmd, " wix app release"), " ", "you can:") : /* @__PURE__ */ import_react83.default.createElement(Text2, null, "With the ", /* @__PURE__ */ import_react83.default.createElement(Text2, { skin: "info" }, "release"), " command you can:"), /* @__PURE__ */ import_react83.default.createElement(UnorderedList, { paddingLeft: 2 }, /* @__PURE__ */ import_react83.default.createElement(UnorderedList.Item, null, /* @__PURE__ */ import_react83.default.createElement(Text2, null, "Add comments for each version you release.")), /* @__PURE__ */ import_react83.default.createElement(UnorderedList.Item, null, /* @__PURE__ */ import_react83.default.createElement(Text2, null, "Release new versions instantly without submitting for review.")), /* @__PURE__ */ import_react83.default.createElement(UnorderedList.Item, null, /* @__PURE__ */ import_react83.default.createElement(Text2, null, "Explore different ways to distribute your app."))));
|
|
157183
157498
|
};
|
|
157184
157499
|
|
|
157185
157500
|
// ../cli-error-reporting/src/get-error-component.tsx
|
|
157186
157501
|
function getErrorComponent(code, cause) {
|
|
157187
157502
|
return (0, import_variant15.match)(code, {
|
|
157188
157503
|
UnknownFailure: ({ error }) => {
|
|
157189
|
-
return () => /* @__PURE__ */
|
|
157504
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(import_react84.default.Fragment, null, /* @__PURE__ */ import_react84.default.createElement(Text2, { skin: "error" }, "Oh no, seems like the CLI encountered an unexpected error:"), error instanceof Error ? /* @__PURE__ */ import_react84.default.createElement(Text2, { skin: "error" }, error.message) : /* @__PURE__ */ import_react84.default.createElement(Text2, null, JSON.stringify(error)));
|
|
157190
157505
|
},
|
|
157191
157506
|
FailedToGetDeviceCode: () => {
|
|
157192
|
-
return () => /* @__PURE__ */
|
|
157507
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(SystemErrorMessage, { message: "An error occurred while logging in: Failed to issue a login device code" });
|
|
157193
157508
|
},
|
|
157194
157509
|
FailedToGetAuthToken: () => {
|
|
157195
|
-
return () => /* @__PURE__ */
|
|
157510
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(SystemErrorMessage, { message: "An error occurred while logging in: Failed to issue refresh token" });
|
|
157196
157511
|
},
|
|
157197
157512
|
FailedToRefreshTokenForSite: () => {
|
|
157198
|
-
return () => /* @__PURE__ */
|
|
157513
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(SystemErrorMessage, { message: "An error occurred while logging in: Failed to issue refresh token for site" });
|
|
157199
157514
|
},
|
|
157200
157515
|
FailedToRenewAuthToken: () => {
|
|
157201
|
-
return () => /* @__PURE__ */
|
|
157516
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(SystemErrorMessage, { message: "Failed to renew access token." });
|
|
157202
157517
|
},
|
|
157203
157518
|
FailedToRenewAuthTokenSiteNotFound: ({ siteId }) => {
|
|
157204
|
-
return () => /* @__PURE__ */
|
|
157519
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(
|
|
157205
157520
|
ErrorMessage,
|
|
157206
157521
|
{
|
|
157207
157522
|
message: `Authenticate failed, your configured development site (${siteId}) could not be accessed`,
|
|
@@ -157210,7 +157525,7 @@ function getErrorComponent(code, cause) {
|
|
|
157210
157525
|
);
|
|
157211
157526
|
},
|
|
157212
157527
|
FailedToRenewAuthTokenRefreshTokenRevoked: () => {
|
|
157213
|
-
return () => /* @__PURE__ */
|
|
157528
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(
|
|
157214
157529
|
ErrorMessage,
|
|
157215
157530
|
{
|
|
157216
157531
|
message: "Failed to renew access token: refresh token has been revoked",
|
|
@@ -157219,7 +157534,7 @@ function getErrorComponent(code, cause) {
|
|
|
157219
157534
|
);
|
|
157220
157535
|
},
|
|
157221
157536
|
FailedToRevokeRefreshToken: ({ email }) => {
|
|
157222
|
-
return () => /* @__PURE__ */
|
|
157537
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(
|
|
157223
157538
|
SystemErrorMessage,
|
|
157224
157539
|
{
|
|
157225
157540
|
message: "An error occurred while trying to logout: Failed to revoke refresh token!",
|
|
@@ -157228,10 +157543,10 @@ function getErrorComponent(code, cause) {
|
|
|
157228
157543
|
);
|
|
157229
157544
|
},
|
|
157230
157545
|
FailedToFetchPackageJson: () => {
|
|
157231
|
-
return () => /* @__PURE__ */
|
|
157546
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(SystemErrorMessage, { message: "Failed to fetch package data." });
|
|
157232
157547
|
},
|
|
157233
157548
|
FailedToCreateProjectFolder: ({ packageFolder }) => {
|
|
157234
|
-
return () => /* @__PURE__ */
|
|
157549
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(
|
|
157235
157550
|
ErrorMessage,
|
|
157236
157551
|
{
|
|
157237
157552
|
cause,
|
|
@@ -157244,34 +157559,34 @@ function getErrorComponent(code, cause) {
|
|
|
157244
157559
|
latestVersion,
|
|
157245
157560
|
updateCommand
|
|
157246
157561
|
}) => {
|
|
157247
|
-
return () => /* @__PURE__ */
|
|
157562
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(
|
|
157248
157563
|
ErrorMessage,
|
|
157249
157564
|
{
|
|
157250
|
-
message: /* @__PURE__ */
|
|
157251
|
-
hint: /* @__PURE__ */
|
|
157565
|
+
message: /* @__PURE__ */ import_react84.default.createElement(import_react84.default.Fragment, null, "Generating a Wix App is only supported using the latest version (", latestVersion, ") of ", /* @__PURE__ */ import_react84.default.createElement(Text2, { bold: true }, "@wix/create-app"), " (current:", " ", currentVersion, ")"),
|
|
157566
|
+
hint: /* @__PURE__ */ import_react84.default.createElement(Text2, null, "Make sure you are using the following command:", /* @__PURE__ */ import_react84.default.createElement(Newline, null), /* @__PURE__ */ import_react84.default.createElement(Text2, { bold: true }, updateCommand), /* @__PURE__ */ import_react84.default.createElement(Newline, null), "If the problem persists, try clearing your package manager's cache")
|
|
157252
157567
|
}
|
|
157253
157568
|
);
|
|
157254
157569
|
},
|
|
157255
157570
|
EmptyDirectoryRequiredAppGeneration: ({ folder }) => {
|
|
157256
|
-
return () => /* @__PURE__ */
|
|
157571
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(
|
|
157257
157572
|
ErrorMessage,
|
|
157258
157573
|
{
|
|
157259
|
-
message: /* @__PURE__ */
|
|
157260
|
-
hint: /* @__PURE__ */
|
|
157574
|
+
message: /* @__PURE__ */ import_react84.default.createElement(import_react84.default.Fragment, null, "Generating a Wix App requires an empty directory but", " ", /* @__PURE__ */ import_react84.default.createElement(Text2, { bold: true }, folder), " already exists and isn't empty"),
|
|
157575
|
+
hint: /* @__PURE__ */ import_react84.default.createElement(Text2, null, "Choose a different project name or delete the existing", " ", /* @__PURE__ */ import_react84.default.createElement(Text2, { bold: true }, folder), " folder")
|
|
157261
157576
|
}
|
|
157262
157577
|
);
|
|
157263
157578
|
},
|
|
157264
157579
|
InvalidNewPackageName: ({ packageName, validations }) => {
|
|
157265
|
-
return () => /* @__PURE__ */
|
|
157580
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(
|
|
157266
157581
|
ErrorMessage,
|
|
157267
157582
|
{
|
|
157268
|
-
message: /* @__PURE__ */
|
|
157583
|
+
message: /* @__PURE__ */ import_react84.default.createElement(import_react84.default.Fragment, null, "Generating a Wix App requires a valid npm package name for the generated ", /* @__PURE__ */ import_react84.default.createElement(Text2, { bold: true }, "package.json"), " ", /* @__PURE__ */ import_react84.default.createElement(Newline, null), "The name ", /* @__PURE__ */ import_react84.default.createElement(Text2, { bold: true }, packageName), " failed the following validations:", /* @__PURE__ */ import_react84.default.createElement(Newline, null), validations.map((validation, id) => /* @__PURE__ */ import_react84.default.createElement(Text2, { key: id }, /* @__PURE__ */ import_react84.default.createElement(Newline, null), "- ", validation))),
|
|
157269
157584
|
hint: `Choose a different project name that follows the validations above`
|
|
157270
157585
|
}
|
|
157271
157586
|
);
|
|
157272
157587
|
},
|
|
157273
157588
|
SiteSelectorTimedout: () => {
|
|
157274
|
-
return () => /* @__PURE__ */
|
|
157589
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(
|
|
157275
157590
|
ErrorMessage,
|
|
157276
157591
|
{
|
|
157277
157592
|
message: `Waiting for application installation timed out.`
|
|
@@ -157279,10 +157594,10 @@ function getErrorComponent(code, cause) {
|
|
|
157279
157594
|
);
|
|
157280
157595
|
},
|
|
157281
157596
|
TypeErrorInvalidUrl: () => {
|
|
157282
|
-
return () => /* @__PURE__ */
|
|
157597
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(ErrorMessage, { message: `Invalid assets URL.` });
|
|
157283
157598
|
},
|
|
157284
157599
|
UnsupportedPackageManager: ({ packageManagerName }) => {
|
|
157285
|
-
return () => /* @__PURE__ */
|
|
157600
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(
|
|
157286
157601
|
ErrorMessage,
|
|
157287
157602
|
{
|
|
157288
157603
|
message: `Unsupported package manager detected. Please use a supported one.`,
|
|
@@ -157291,7 +157606,7 @@ function getErrorComponent(code, cause) {
|
|
|
157291
157606
|
);
|
|
157292
157607
|
},
|
|
157293
157608
|
UnsupportedPackageManagerWorkspaces: ({ packageManagerName }) => {
|
|
157294
|
-
return () => /* @__PURE__ */
|
|
157609
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(
|
|
157295
157610
|
ErrorMessage,
|
|
157296
157611
|
{
|
|
157297
157612
|
message: `Generating a Wix App inside ${packageManagerName} workspaces is not supported`
|
|
@@ -157299,35 +157614,35 @@ function getErrorComponent(code, cause) {
|
|
|
157299
157614
|
);
|
|
157300
157615
|
},
|
|
157301
157616
|
FailedToGetDeveloperApps: () => {
|
|
157302
|
-
return () => /* @__PURE__ */
|
|
157617
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(SystemErrorMessage, { message: "Failed to get the list of your applications" });
|
|
157303
157618
|
},
|
|
157304
157619
|
FailedToCreateDevCenterApp: () => {
|
|
157305
|
-
return () => /* @__PURE__ */
|
|
157620
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(SystemErrorMessage, { message: "Failed to register your application in Wix" });
|
|
157306
157621
|
},
|
|
157307
157622
|
FailedToAddPermission: () => {
|
|
157308
|
-
return () => /* @__PURE__ */
|
|
157623
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(SystemErrorMessage, { message: "Failed to add permission" });
|
|
157309
157624
|
},
|
|
157310
157625
|
FailedToGetPlacements: () => {
|
|
157311
|
-
return () => /* @__PURE__ */
|
|
157626
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(SystemErrorMessage, { message: "Failed to get placements" });
|
|
157312
157627
|
},
|
|
157313
157628
|
FailedToCreateTunnel: () => {
|
|
157314
|
-
return () => /* @__PURE__ */
|
|
157629
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(ErrorMessage, { message: "Failed to create tunnel" });
|
|
157315
157630
|
},
|
|
157316
157631
|
FailedToDeleteTunnel: () => {
|
|
157317
|
-
return () => /* @__PURE__ */
|
|
157632
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(ErrorMessage, { message: "Failed to delete tunnel" });
|
|
157318
157633
|
},
|
|
157319
157634
|
FailedToGetBlocksExtensionsData: () => {
|
|
157320
|
-
return () => /* @__PURE__ */
|
|
157635
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(ErrorMessage, { message: "Failed to get blocks extensions data" });
|
|
157321
157636
|
},
|
|
157322
157637
|
FailedToGetBlocksStructure: () => {
|
|
157323
|
-
return () => /* @__PURE__ */
|
|
157638
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(SystemErrorMessage, { message: "Failed to get blocks structure" });
|
|
157324
157639
|
},
|
|
157325
157640
|
FailedToUpdateBlocksAfterSync: () => {
|
|
157326
|
-
return () => /* @__PURE__ */
|
|
157641
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(ErrorMessage, { message: "Failed updating blocks service after changes occoured" });
|
|
157327
157642
|
},
|
|
157328
157643
|
SitePermissionDenied: ({ siteId }) => {
|
|
157329
157644
|
return () => {
|
|
157330
|
-
return /* @__PURE__ */
|
|
157645
|
+
return /* @__PURE__ */ import_react84.default.createElement(
|
|
157331
157646
|
ErrorMessage,
|
|
157332
157647
|
{
|
|
157333
157648
|
message: `You don't have permissions to site ${siteId}`
|
|
@@ -157337,7 +157652,7 @@ function getErrorComponent(code, cause) {
|
|
|
157337
157652
|
},
|
|
157338
157653
|
AppPermissionDenied: ({ appId }) => {
|
|
157339
157654
|
return () => {
|
|
157340
|
-
return /* @__PURE__ */
|
|
157655
|
+
return /* @__PURE__ */ import_react84.default.createElement(
|
|
157341
157656
|
ErrorMessage,
|
|
157342
157657
|
{
|
|
157343
157658
|
message: `You don't have permissions to application ${appId}`
|
|
@@ -157346,10 +157661,10 @@ function getErrorComponent(code, cause) {
|
|
|
157346
157661
|
};
|
|
157347
157662
|
},
|
|
157348
157663
|
FailedToUpdateTelemetryConfig: () => {
|
|
157349
|
-
return () => /* @__PURE__ */
|
|
157664
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(ErrorMessage, { message: "Failed to change telemetry preferences" });
|
|
157350
157665
|
},
|
|
157351
157666
|
FailedToInstallPackage: ({ packageName }) => {
|
|
157352
|
-
return () => /* @__PURE__ */
|
|
157667
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(
|
|
157353
157668
|
ErrorMessage,
|
|
157354
157669
|
{
|
|
157355
157670
|
cause,
|
|
@@ -157358,22 +157673,22 @@ function getErrorComponent(code, cause) {
|
|
|
157358
157673
|
);
|
|
157359
157674
|
},
|
|
157360
157675
|
FailedToResolveNpmDependencies: () => {
|
|
157361
|
-
return () => /* @__PURE__ */
|
|
157676
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(SystemErrorMessage, { message: "Failed to resolve npm dependencies" });
|
|
157362
157677
|
},
|
|
157363
157678
|
FailedToInstallPackages: () => {
|
|
157364
|
-
return () => /* @__PURE__ */
|
|
157679
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(ErrorMessage, { cause, message: "Failed to install npm packages." });
|
|
157365
157680
|
},
|
|
157366
157681
|
FailedMigrationToAnyNpm: () => {
|
|
157367
|
-
return () => /* @__PURE__ */
|
|
157682
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(
|
|
157368
157683
|
ErrorMessage,
|
|
157369
157684
|
{
|
|
157370
|
-
message: /* @__PURE__ */
|
|
157685
|
+
message: /* @__PURE__ */ import_react84.default.createElement(import_react84.default.Fragment, null, "Could not start the migration process"),
|
|
157371
157686
|
hint: "Make sure that your package.json does not have packages installed outside of dev dependencies"
|
|
157372
157687
|
}
|
|
157373
157688
|
);
|
|
157374
157689
|
},
|
|
157375
157690
|
FailedToUninstallPackage: ({ packageName }) => {
|
|
157376
|
-
return () => /* @__PURE__ */
|
|
157691
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(
|
|
157377
157692
|
ErrorMessage,
|
|
157378
157693
|
{
|
|
157379
157694
|
cause,
|
|
@@ -157382,7 +157697,7 @@ function getErrorComponent(code, cause) {
|
|
|
157382
157697
|
);
|
|
157383
157698
|
},
|
|
157384
157699
|
FailedToSyncToRevision: ({ revision }) => {
|
|
157385
|
-
return () => /* @__PURE__ */
|
|
157700
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(
|
|
157386
157701
|
ErrorMessage,
|
|
157387
157702
|
{
|
|
157388
157703
|
message: `Failed to sync the local project to revision ${revision}`
|
|
@@ -157390,28 +157705,28 @@ function getErrorComponent(code, cause) {
|
|
|
157390
157705
|
);
|
|
157391
157706
|
},
|
|
157392
157707
|
FailedToReadCache: ({ path: path5 }) => {
|
|
157393
|
-
return () => /* @__PURE__ */
|
|
157708
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(ErrorMessage, { message: `Failed to read cache file at ${path5}.` });
|
|
157394
157709
|
},
|
|
157395
157710
|
FailedToWriteCache: ({ path: path5 }) => {
|
|
157396
|
-
return () => /* @__PURE__ */
|
|
157711
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(ErrorMessage, { message: `Failed to write cache file at ${path5}.` });
|
|
157397
157712
|
},
|
|
157398
157713
|
UploadApplicationFailed: () => {
|
|
157399
|
-
return () => /* @__PURE__ */
|
|
157714
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(ErrorMessage, { message: "Failed to upload the application" });
|
|
157400
157715
|
},
|
|
157401
157716
|
BuiltProjectNeeded: () => {
|
|
157402
|
-
return () => /* @__PURE__ */
|
|
157717
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(ErrorMessage, { message: "Can not find build output, please execute `wix app build` to build your app before proceeding" });
|
|
157403
157718
|
},
|
|
157404
157719
|
WixUninstallMissingPackageName: () => {
|
|
157405
|
-
return () => /* @__PURE__ */
|
|
157720
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(ErrorMessage, { message: "Please specify a package name" });
|
|
157406
157721
|
},
|
|
157407
157722
|
FailedToReadJson: ({ filePath }) => {
|
|
157408
|
-
return () => /* @__PURE__ */
|
|
157723
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(ErrorMessage, { cause, message: `Failed to read ${filePath}.` });
|
|
157409
157724
|
},
|
|
157410
157725
|
FailedToReadFile: ({ filePath }) => {
|
|
157411
|
-
return () => /* @__PURE__ */
|
|
157726
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(ErrorMessage, { cause, message: `Failed to read ${filePath}.` });
|
|
157412
157727
|
},
|
|
157413
157728
|
InvalidJsonFile: ({ filePath }) => {
|
|
157414
|
-
return () => /* @__PURE__ */
|
|
157729
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(
|
|
157415
157730
|
ErrorMessage,
|
|
157416
157731
|
{
|
|
157417
157732
|
cause,
|
|
@@ -157420,10 +157735,10 @@ function getErrorComponent(code, cause) {
|
|
|
157420
157735
|
);
|
|
157421
157736
|
},
|
|
157422
157737
|
FailedToWriteWixLock: () => {
|
|
157423
|
-
return () => /* @__PURE__ */
|
|
157738
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(ErrorMessage, { message: `Failed to write 'wix.lock'` });
|
|
157424
157739
|
},
|
|
157425
157740
|
InvalidVeloConfigJson: ({ configFilename }) => {
|
|
157426
|
-
return () => /* @__PURE__ */
|
|
157741
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(
|
|
157427
157742
|
ErrorMessage,
|
|
157428
157743
|
{
|
|
157429
157744
|
cause,
|
|
@@ -157432,7 +157747,7 @@ function getErrorComponent(code, cause) {
|
|
|
157432
157747
|
);
|
|
157433
157748
|
},
|
|
157434
157749
|
DashboardPageConfigNotFound: ({ configPath }) => {
|
|
157435
|
-
return () => /* @__PURE__ */
|
|
157750
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(
|
|
157436
157751
|
ErrorMessage,
|
|
157437
157752
|
{
|
|
157438
157753
|
message: `Dashboard page config not found at ${configPath}`
|
|
@@ -157440,7 +157755,7 @@ function getErrorComponent(code, cause) {
|
|
|
157440
157755
|
);
|
|
157441
157756
|
},
|
|
157442
157757
|
EmbeddedScriptConfigNotFound: ({ configPath }) => {
|
|
157443
|
-
return () => /* @__PURE__ */
|
|
157758
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(
|
|
157444
157759
|
ErrorMessage,
|
|
157445
157760
|
{
|
|
157446
157761
|
message: `Embedded script config not found at ${configPath}`
|
|
@@ -157448,7 +157763,7 @@ function getErrorComponent(code, cause) {
|
|
|
157448
157763
|
);
|
|
157449
157764
|
},
|
|
157450
157765
|
CustomElementConfigNotFound: ({ configPath }) => {
|
|
157451
|
-
return () => /* @__PURE__ */
|
|
157766
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(
|
|
157452
157767
|
ErrorMessage,
|
|
157453
157768
|
{
|
|
157454
157769
|
message: `Site widget config not found at ${configPath}`
|
|
@@ -157456,7 +157771,7 @@ function getErrorComponent(code, cause) {
|
|
|
157456
157771
|
);
|
|
157457
157772
|
},
|
|
157458
157773
|
SitePluginConfigNotFound: ({ configPath }) => {
|
|
157459
|
-
return () => /* @__PURE__ */
|
|
157774
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(
|
|
157460
157775
|
ErrorMessage,
|
|
157461
157776
|
{
|
|
157462
157777
|
message: `Site plugin config not found at ${configPath}`
|
|
@@ -157464,7 +157779,7 @@ function getErrorComponent(code, cause) {
|
|
|
157464
157779
|
);
|
|
157465
157780
|
},
|
|
157466
157781
|
BlocksWidgetApiNotFound: ({ folderPath }) => {
|
|
157467
|
-
return () => /* @__PURE__ */
|
|
157782
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(
|
|
157468
157783
|
ErrorMessage,
|
|
157469
157784
|
{
|
|
157470
157785
|
message: `Blocks widget api file not found at ${folderPath}`
|
|
@@ -157472,7 +157787,7 @@ function getErrorComponent(code, cause) {
|
|
|
157472
157787
|
);
|
|
157473
157788
|
},
|
|
157474
157789
|
BlocksWidgetConfigNotFound: ({ configPath }) => {
|
|
157475
|
-
return () => /* @__PURE__ */
|
|
157790
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(
|
|
157476
157791
|
ErrorMessage,
|
|
157477
157792
|
{
|
|
157478
157793
|
message: `Blocks widget config not found at ${configPath}`
|
|
@@ -157480,7 +157795,7 @@ function getErrorComponent(code, cause) {
|
|
|
157480
157795
|
);
|
|
157481
157796
|
},
|
|
157482
157797
|
BlocksWidgetPanelConfigNotFound: ({ configPath }) => {
|
|
157483
|
-
return () => /* @__PURE__ */
|
|
157798
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(
|
|
157484
157799
|
ErrorMessage,
|
|
157485
157800
|
{
|
|
157486
157801
|
message: `Blocks widget panel config not found at ${configPath}`
|
|
@@ -157488,7 +157803,7 @@ function getErrorComponent(code, cause) {
|
|
|
157488
157803
|
);
|
|
157489
157804
|
},
|
|
157490
157805
|
NoExtensionsFound: () => {
|
|
157491
|
-
return () => /* @__PURE__ */
|
|
157806
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(
|
|
157492
157807
|
ErrorMessage,
|
|
157493
157808
|
{
|
|
157494
157809
|
message: "Your project doesn't seem to have any extensions.",
|
|
@@ -157498,16 +157813,16 @@ function getErrorComponent(code, cause) {
|
|
|
157498
157813
|
);
|
|
157499
157814
|
},
|
|
157500
157815
|
NoPagesDirectoryFound: ({ srcDir }) => {
|
|
157501
|
-
return () => /* @__PURE__ */
|
|
157816
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(
|
|
157502
157817
|
ErrorMessage,
|
|
157503
157818
|
{
|
|
157504
|
-
message: /* @__PURE__ */
|
|
157505
|
-
hint: /* @__PURE__ */
|
|
157819
|
+
message: /* @__PURE__ */ import_react84.default.createElement(import_react84.default.Fragment, null, "No ", /* @__PURE__ */ import_react84.default.createElement(Text2, { bold: true }, "pages"), " directory was found under", " ", /* @__PURE__ */ import_react84.default.createElement(Text2, { bold: true }, srcDir), "."),
|
|
157820
|
+
hint: /* @__PURE__ */ import_react84.default.createElement(Text2, null, "Consider re-cloning the project repository or creating a", " ", /* @__PURE__ */ import_react84.default.createElement(Text2, { bold: true }, "pages"), " directory under ", /* @__PURE__ */ import_react84.default.createElement(Text2, { bold: true }, srcDir), ".")
|
|
157506
157821
|
}
|
|
157507
157822
|
);
|
|
157508
157823
|
},
|
|
157509
157824
|
DashboardPluginConfigNotFound: ({ configPath }) => {
|
|
157510
|
-
return () => /* @__PURE__ */
|
|
157825
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(
|
|
157511
157826
|
ErrorMessage,
|
|
157512
157827
|
{
|
|
157513
157828
|
message: `Dashboard plugin config not found at ${configPath}`
|
|
@@ -157515,7 +157830,7 @@ function getErrorComponent(code, cause) {
|
|
|
157515
157830
|
);
|
|
157516
157831
|
},
|
|
157517
157832
|
DashboardMenuPluginConfigNotFound: ({ configPath }) => {
|
|
157518
|
-
return () => /* @__PURE__ */
|
|
157833
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(
|
|
157519
157834
|
ErrorMessage,
|
|
157520
157835
|
{
|
|
157521
157836
|
message: `Dashboard menu plugin config not found at ${configPath}`
|
|
@@ -157523,7 +157838,7 @@ function getErrorComponent(code, cause) {
|
|
|
157523
157838
|
);
|
|
157524
157839
|
},
|
|
157525
157840
|
ServicePluginConfigNotFound: ({ configPath }) => {
|
|
157526
|
-
return () => /* @__PURE__ */
|
|
157841
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(
|
|
157527
157842
|
ErrorMessage,
|
|
157528
157843
|
{
|
|
157529
157844
|
message: `Service plugin config not found at ${configPath}`
|
|
@@ -157531,7 +157846,7 @@ function getErrorComponent(code, cause) {
|
|
|
157531
157846
|
);
|
|
157532
157847
|
},
|
|
157533
157848
|
DashboardModalConfigNotFound: ({ configPath }) => {
|
|
157534
|
-
return () => /* @__PURE__ */
|
|
157849
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(
|
|
157535
157850
|
ErrorMessage,
|
|
157536
157851
|
{
|
|
157537
157852
|
message: `Dashboard modal config not found at ${configPath}`
|
|
@@ -157539,7 +157854,7 @@ function getErrorComponent(code, cause) {
|
|
|
157539
157854
|
);
|
|
157540
157855
|
},
|
|
157541
157856
|
TSConfigNotFound: ({ configPath }) => {
|
|
157542
|
-
return () => /* @__PURE__ */
|
|
157857
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(
|
|
157543
157858
|
ErrorMessage,
|
|
157544
157859
|
{
|
|
157545
157860
|
message: `TypeScript config not found at \`${configPath}\``
|
|
@@ -157547,7 +157862,7 @@ function getErrorComponent(code, cause) {
|
|
|
157547
157862
|
);
|
|
157548
157863
|
},
|
|
157549
157864
|
InvalidTSConfigError: ({ configPath }) => {
|
|
157550
|
-
return () => /* @__PURE__ */
|
|
157865
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(
|
|
157551
157866
|
ErrorMessage,
|
|
157552
157867
|
{
|
|
157553
157868
|
message: defaultOutdent`
|
|
@@ -157556,7 +157871,7 @@ function getErrorComponent(code, cause) {
|
|
|
157556
157871
|
);
|
|
157557
157872
|
},
|
|
157558
157873
|
InvalidConfigSchemaError: ({ configPath, zodError }) => {
|
|
157559
|
-
return () => /* @__PURE__ */
|
|
157874
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(
|
|
157560
157875
|
ErrorMessage,
|
|
157561
157876
|
{
|
|
157562
157877
|
message: defaultOutdent`
|
|
@@ -157568,7 +157883,7 @@ function getErrorComponent(code, cause) {
|
|
|
157568
157883
|
);
|
|
157569
157884
|
},
|
|
157570
157885
|
InvalidParamsOverrideSchemaError: ({ paramsOverridePath, zodError }) => {
|
|
157571
|
-
return () => /* @__PURE__ */
|
|
157886
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(
|
|
157572
157887
|
ErrorMessage,
|
|
157573
157888
|
{
|
|
157574
157889
|
message: defaultOutdent`
|
|
@@ -157580,22 +157895,22 @@ function getErrorComponent(code, cause) {
|
|
|
157580
157895
|
);
|
|
157581
157896
|
},
|
|
157582
157897
|
InvalidDependenciesJsonSchemaError: ({ path: path5, zodError }) => {
|
|
157583
|
-
return () => /* @__PURE__ */
|
|
157898
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(
|
|
157584
157899
|
ErrorMessage,
|
|
157585
157900
|
{
|
|
157586
157901
|
message: defaultOutdent`
|
|
157587
157902
|
Invalid configuration found at \`${path5}\`:
|
|
157588
157903
|
The following errors were found:
|
|
157589
157904
|
${zodError.errors.map(formatZodIssue).join("\n")}`,
|
|
157590
|
-
hint: /* @__PURE__ */
|
|
157905
|
+
hint: /* @__PURE__ */ import_react84.default.createElement(Text2, null, "Try to re-install ", /* @__PURE__ */ import_react84.default.createElement(Text2, { bold: true }, "@wix/cli-app"), " dependency")
|
|
157591
157906
|
}
|
|
157592
157907
|
);
|
|
157593
157908
|
},
|
|
157594
157909
|
PermissionDenied: () => {
|
|
157595
|
-
return () => /* @__PURE__ */
|
|
157910
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(ErrorMessage, { message: "Forbidden operation. Missing permissions" });
|
|
157596
157911
|
},
|
|
157597
157912
|
FailedToReadProjectFiles: () => {
|
|
157598
|
-
return () => /* @__PURE__ */
|
|
157913
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(
|
|
157599
157914
|
ErrorMessage,
|
|
157600
157915
|
{
|
|
157601
157916
|
cause,
|
|
@@ -157608,10 +157923,10 @@ function getErrorComponent(code, cause) {
|
|
|
157608
157923
|
if (maxSizeViolationsData?.files.length) {
|
|
157609
157924
|
errorMessage += ` (${maxSizeViolationsData.expectedSize}KB): ${maxSizeViolationsData.files.map((f) => `${filePaths[f.fileIndex]} (${f.receivedSize}KB)`).join(", ")}`;
|
|
157610
157925
|
}
|
|
157611
|
-
return () => /* @__PURE__ */
|
|
157926
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(ErrorMessage, { message: errorMessage });
|
|
157612
157927
|
},
|
|
157613
157928
|
GridAppFailedToUpdateFiles: () => {
|
|
157614
|
-
return () => /* @__PURE__ */
|
|
157929
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(
|
|
157615
157930
|
ErrorMessage,
|
|
157616
157931
|
{
|
|
157617
157932
|
message: defaultOutdent`
|
|
@@ -157623,10 +157938,10 @@ function getErrorComponent(code, cause) {
|
|
|
157623
157938
|
);
|
|
157624
157939
|
},
|
|
157625
157940
|
FailedToWatchFiles: () => {
|
|
157626
|
-
return () => /* @__PURE__ */
|
|
157941
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(ErrorMessage, { cause, message: "Failed to watch files." });
|
|
157627
157942
|
},
|
|
157628
157943
|
FailedToCreateGridApp: ({ error }) => {
|
|
157629
|
-
return () => /* @__PURE__ */
|
|
157944
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(
|
|
157630
157945
|
ErrorMessage,
|
|
157631
157946
|
{
|
|
157632
157947
|
message: "Failed to create an isolated environment.",
|
|
@@ -157635,7 +157950,7 @@ function getErrorComponent(code, cause) {
|
|
|
157635
157950
|
);
|
|
157636
157951
|
},
|
|
157637
157952
|
DeviceCodeTimedOut: () => {
|
|
157638
|
-
return () => /* @__PURE__ */
|
|
157953
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(ErrorMessage, { message: "The device code has not been approved in the time allocated, please start the login process again." });
|
|
157639
157954
|
},
|
|
157640
157955
|
DuplicateComponentIdsError: ({ issues }) => {
|
|
157641
157956
|
const Issue = ({ issue }) => {
|
|
@@ -157651,44 +157966,45 @@ function getErrorComponent(code, cause) {
|
|
|
157651
157966
|
modal: () => "modal",
|
|
157652
157967
|
topology: () => "topology",
|
|
157653
157968
|
"site-plugin": () => "site plugin",
|
|
157654
|
-
monitoring: () => "monitoring"
|
|
157969
|
+
monitoring: () => "monitoring",
|
|
157970
|
+
"site-component": () => "site component"
|
|
157655
157971
|
});
|
|
157656
|
-
return /* @__PURE__ */
|
|
157972
|
+
return /* @__PURE__ */ import_react84.default.createElement(Box_default, { flexDirection: "column" }, /* @__PURE__ */ import_react84.default.createElement(Text2, null, /* @__PURE__ */ import_react84.default.createElement(Text2, { bold: true }, "Duplicate ID: "), issue.id), /* @__PURE__ */ import_react84.default.createElement(Text2, { bold: true }, "Extensions:"), issue.components.map(({ name, path: path5, type }) => /* @__PURE__ */ import_react84.default.createElement(Text2, { key: path5 }, "[", typeToName(type), "] ", name, " (", path5, ")")), /* @__PURE__ */ import_react84.default.createElement(Text2, null, /* @__PURE__ */ import_react84.default.createElement(Text2, { bold: true }, "Possible GUID: "), issue.suggestedId));
|
|
157657
157973
|
};
|
|
157658
|
-
return () => /* @__PURE__ */
|
|
157974
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(Box_default, { flexDirection: "column", rowGap: 1 }, /* @__PURE__ */ import_react84.default.createElement(
|
|
157659
157975
|
ErrorMessage,
|
|
157660
157976
|
{
|
|
157661
157977
|
message: "Found multiple extensions with the same id, this might happen if you copy paste folders.",
|
|
157662
157978
|
hint: "You can use the provided suggested GUIDs as the ID of the newly created extension."
|
|
157663
157979
|
}
|
|
157664
|
-
), issues.map((issue) => /* @__PURE__ */
|
|
157980
|
+
), issues.map((issue) => /* @__PURE__ */ import_react84.default.createElement(Issue, { issue, key: issue.id })));
|
|
157665
157981
|
},
|
|
157666
157982
|
InvalidResponseData: () => {
|
|
157667
|
-
return () => /* @__PURE__ */
|
|
157983
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(SystemErrorMessage, { message: "Got unexpected response from server." });
|
|
157668
157984
|
},
|
|
157669
157985
|
InvalidCreateAppResponse: () => {
|
|
157670
|
-
return () => /* @__PURE__ */
|
|
157986
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(ErrorMessage, { message: "`createApp` returned an invalid response." });
|
|
157671
157987
|
},
|
|
157672
157988
|
InvalidDeployAppResponse: () => {
|
|
157673
|
-
return () => /* @__PURE__ */
|
|
157989
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(ErrorMessage, { message: "Got unexpected response from server. Make sure you are running a supported version of the Velo CLI." });
|
|
157674
157990
|
},
|
|
157675
157991
|
InvalidGetDeploymentResponse: () => {
|
|
157676
|
-
return () => /* @__PURE__ */
|
|
157992
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(ErrorMessage, { message: "Got unexpected response from server. Please try again later.." });
|
|
157677
157993
|
},
|
|
157678
157994
|
InvalidGetDeploymentPipelineDescriptionResponse: () => {
|
|
157679
|
-
return () => /* @__PURE__ */
|
|
157995
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(SystemErrorMessage, { message: "Got unexpected response from server" });
|
|
157680
157996
|
},
|
|
157681
157997
|
FailedToGetPagesDiff: () => {
|
|
157682
|
-
return () => /* @__PURE__ */
|
|
157998
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(ErrorMessage, { message: "Failed to request pages diff." });
|
|
157683
157999
|
},
|
|
157684
158000
|
InvalidViteBuildOutput: () => {
|
|
157685
|
-
return () => /* @__PURE__ */
|
|
158001
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(ErrorMessage, { message: "Invalid vite build output" });
|
|
157686
158002
|
},
|
|
157687
158003
|
ViteModuleBundleNotFound: () => {
|
|
157688
|
-
return () => /* @__PURE__ */
|
|
158004
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(ErrorMessage, { message: "Could not find module bundle in vite build output" });
|
|
157689
158005
|
},
|
|
157690
158006
|
ViteFileNotFoundInOutput: ({ fileName }) => {
|
|
157691
|
-
return () => /* @__PURE__ */
|
|
158007
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(
|
|
157692
158008
|
ErrorMessage,
|
|
157693
158009
|
{
|
|
157694
158010
|
message: `Could not find ${fileName} in vite build output`
|
|
@@ -157696,58 +158012,58 @@ function getErrorComponent(code, cause) {
|
|
|
157696
158012
|
);
|
|
157697
158013
|
},
|
|
157698
158014
|
FailedToCreateBackendDeployment: () => {
|
|
157699
|
-
return () => /* @__PURE__ */
|
|
158015
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(ErrorMessage, { message: "Failed to create backend deployment" });
|
|
157700
158016
|
},
|
|
157701
158017
|
FailedToUpdateBackendDeployment: () => {
|
|
157702
|
-
return () => /* @__PURE__ */
|
|
158018
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(ErrorMessage, { message: "Failed to update backend deployment" });
|
|
157703
158019
|
},
|
|
157704
158020
|
FailedToGetBackendDeployment: () => {
|
|
157705
|
-
return () => /* @__PURE__ */
|
|
158021
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(ErrorMessage, { message: "Failed to get backend deployment" });
|
|
157706
158022
|
},
|
|
157707
158023
|
FailedToDeployBackend: () => {
|
|
157708
|
-
return () => /* @__PURE__ */
|
|
158024
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(ErrorMessage, { message: "Failed to deploy backend" });
|
|
157709
158025
|
},
|
|
157710
158026
|
FailedToGetUserInfo: () => {
|
|
157711
|
-
return () => /* @__PURE__ */
|
|
158027
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(ErrorMessage, { message: "Failed to get user information." });
|
|
157712
158028
|
},
|
|
157713
158029
|
FailedToGetMyAccount: () => {
|
|
157714
|
-
return () => /* @__PURE__ */
|
|
158030
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(SystemErrorMessage, { message: "Failed to get account information." });
|
|
157715
158031
|
},
|
|
157716
158032
|
FailedToCreateDevelopmentSite: () => {
|
|
157717
|
-
return () => /* @__PURE__ */
|
|
158033
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(ErrorMessage, { message: "Failed to create a Development Site" });
|
|
157718
158034
|
},
|
|
157719
158035
|
FailedToGetDevelopmentSites: () => {
|
|
157720
|
-
return () => /* @__PURE__ */
|
|
158036
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(ErrorMessage, { message: "Failed to request development sites." });
|
|
157721
158037
|
},
|
|
157722
158038
|
FailedToGetDevelopmentSitesLimit: () => {
|
|
157723
|
-
return () => /* @__PURE__ */
|
|
158039
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(ErrorMessage, { message: "Failed to request development sites limit." });
|
|
157724
158040
|
},
|
|
157725
158041
|
FailedToGetRequiredApps: () => {
|
|
157726
|
-
return () => /* @__PURE__ */
|
|
158042
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(SystemErrorMessage, { message: "Failed to get app requirement info." });
|
|
157727
158043
|
},
|
|
157728
158044
|
FailedToGetMarketListing: () => {
|
|
157729
|
-
return () => /* @__PURE__ */
|
|
158045
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(ErrorMessage, { message: "Failed to get market listing." });
|
|
157730
158046
|
},
|
|
157731
158047
|
FailedToAddRequiredApp: () => {
|
|
157732
|
-
return () => /* @__PURE__ */
|
|
158048
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(ErrorMessage, { message: "Failed to add required app." });
|
|
157733
158049
|
},
|
|
157734
158050
|
FailedToQuerySites: () => {
|
|
157735
|
-
return () => /* @__PURE__ */
|
|
158051
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(ErrorMessage, { message: "Failed to request sites list." });
|
|
157736
158052
|
},
|
|
157737
158053
|
FailedToGetSite: () => {
|
|
157738
|
-
return () => /* @__PURE__ */
|
|
158054
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(ErrorMessage, { message: "Failed to get information about your configured Development Site" });
|
|
157739
158055
|
},
|
|
157740
158056
|
FailedToDeploySite: () => {
|
|
157741
|
-
return () => /* @__PURE__ */
|
|
158057
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(ErrorMessage, { message: "Failed to deploy site." });
|
|
157742
158058
|
},
|
|
157743
158059
|
FailedToDeploySitePreview: () => {
|
|
157744
|
-
return () => /* @__PURE__ */
|
|
158060
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(SystemErrorMessage, { message: "Failed to deploy site preview." });
|
|
157745
158061
|
},
|
|
157746
158062
|
FailedToPublishDeployment: () => {
|
|
157747
|
-
return () => /* @__PURE__ */
|
|
158063
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(SystemErrorMessage, { message: "Failed to publish site." });
|
|
157748
158064
|
},
|
|
157749
158065
|
FailedToSaveDevelopmentSite: ({ path: path5 }) => {
|
|
157750
|
-
return () => /* @__PURE__ */
|
|
158066
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(
|
|
157751
158067
|
ErrorMessage,
|
|
157752
158068
|
{
|
|
157753
158069
|
message: "Failed to save the current development site.",
|
|
@@ -157756,16 +158072,16 @@ function getErrorComponent(code, cause) {
|
|
|
157756
158072
|
);
|
|
157757
158073
|
},
|
|
157758
158074
|
FailedToBuildApp: () => {
|
|
157759
|
-
return () => /* @__PURE__ */
|
|
158075
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(
|
|
157760
158076
|
ErrorMessage,
|
|
157761
158077
|
{
|
|
157762
|
-
message: /* @__PURE__ */
|
|
158078
|
+
message: /* @__PURE__ */ import_react84.default.createElement(import_react84.default.Fragment, null, "Failed to build the application.", /* @__PURE__ */ import_react84.default.createElement(Newline, null), cause?.message),
|
|
157763
158079
|
hint: "Please check the build output for more information"
|
|
157764
158080
|
}
|
|
157765
158081
|
);
|
|
157766
158082
|
},
|
|
157767
158083
|
FailedToGetAppInstallationDetails: ({ appId }) => {
|
|
157768
|
-
return () => /* @__PURE__ */
|
|
158084
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(
|
|
157769
158085
|
SystemErrorMessage,
|
|
157770
158086
|
{
|
|
157771
158087
|
message: `Failed to fetch site installation details for app ${appId}`
|
|
@@ -157773,19 +158089,19 @@ function getErrorComponent(code, cause) {
|
|
|
157773
158089
|
);
|
|
157774
158090
|
},
|
|
157775
158091
|
FailedToInitializeGitRepo: () => {
|
|
157776
|
-
return () => /* @__PURE__ */
|
|
158092
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(ErrorMessage, { cause, message: "Failed to initialize git repo." });
|
|
157777
158093
|
},
|
|
157778
158094
|
FailedToInstallDependencies: () => {
|
|
157779
|
-
return () => /* @__PURE__ */
|
|
158095
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(ErrorMessage, { cause, message: "Failed to install dependencies." });
|
|
157780
158096
|
},
|
|
157781
158097
|
FailedToCommitChanges: () => {
|
|
157782
|
-
return () => /* @__PURE__ */
|
|
158098
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(ErrorMessage, { cause, message: "Failed to commit changes." });
|
|
157783
158099
|
},
|
|
157784
158100
|
FailedToDeleteAuthData: () => {
|
|
157785
|
-
return () => /* @__PURE__ */
|
|
158101
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(ErrorMessage, { cause, message: "Failed to delete auth data." });
|
|
157786
158102
|
},
|
|
157787
158103
|
FailedToDeleteLegacyAuthData: () => {
|
|
157788
|
-
return () => /* @__PURE__ */
|
|
158104
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(
|
|
157789
158105
|
ErrorMessage,
|
|
157790
158106
|
{
|
|
157791
158107
|
cause,
|
|
@@ -157794,10 +158110,10 @@ function getErrorComponent(code, cause) {
|
|
|
157794
158110
|
);
|
|
157795
158111
|
},
|
|
157796
158112
|
FailedToSaveAuthData: () => {
|
|
157797
|
-
return () => /* @__PURE__ */
|
|
158113
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(ErrorMessage, { cause, message: "Failed to save auth data." });
|
|
157798
158114
|
},
|
|
157799
158115
|
FailedToSaveApiKeyAuthData: () => {
|
|
157800
|
-
return () => /* @__PURE__ */
|
|
158116
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(
|
|
157801
158117
|
ErrorMessage,
|
|
157802
158118
|
{
|
|
157803
158119
|
cause,
|
|
@@ -157806,7 +158122,7 @@ function getErrorComponent(code, cause) {
|
|
|
157806
158122
|
);
|
|
157807
158123
|
},
|
|
157808
158124
|
FailedToWriteJson: ({ filePath }) => {
|
|
157809
|
-
return () => /* @__PURE__ */
|
|
158125
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(
|
|
157810
158126
|
ErrorMessage,
|
|
157811
158127
|
{
|
|
157812
158128
|
cause,
|
|
@@ -157815,7 +158131,7 @@ function getErrorComponent(code, cause) {
|
|
|
157815
158131
|
);
|
|
157816
158132
|
},
|
|
157817
158133
|
FailedToWriteFile: ({ filePath }) => {
|
|
157818
|
-
return () => /* @__PURE__ */
|
|
158134
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(
|
|
157819
158135
|
ErrorMessage,
|
|
157820
158136
|
{
|
|
157821
158137
|
cause,
|
|
@@ -157824,7 +158140,7 @@ function getErrorComponent(code, cause) {
|
|
|
157824
158140
|
);
|
|
157825
158141
|
},
|
|
157826
158142
|
FailedToCreateDir: ({ dirPath }) => {
|
|
157827
|
-
return () => /* @__PURE__ */
|
|
158143
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(
|
|
157828
158144
|
ErrorMessage,
|
|
157829
158145
|
{
|
|
157830
158146
|
cause,
|
|
@@ -157833,7 +158149,7 @@ function getErrorComponent(code, cause) {
|
|
|
157833
158149
|
);
|
|
157834
158150
|
},
|
|
157835
158151
|
TemplatePathNotFound: ({ templatePath }) => {
|
|
157836
|
-
return () => /* @__PURE__ */
|
|
158152
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(
|
|
157837
158153
|
SystemErrorMessage,
|
|
157838
158154
|
{
|
|
157839
158155
|
message: `Template path not found: ${templatePath}`
|
|
@@ -157841,10 +158157,10 @@ function getErrorComponent(code, cause) {
|
|
|
157841
158157
|
);
|
|
157842
158158
|
},
|
|
157843
158159
|
LocalTemplatePathNotFound: ({ path: path5 }) => {
|
|
157844
|
-
return () => /* @__PURE__ */
|
|
158160
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(ErrorMessage, { message: `Local template path not found: ${path5}` });
|
|
157845
158161
|
},
|
|
157846
158162
|
FailedToCloneRepo: () => {
|
|
157847
|
-
return () => /* @__PURE__ */
|
|
158163
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(
|
|
157848
158164
|
ErrorMessage,
|
|
157849
158165
|
{
|
|
157850
158166
|
cause,
|
|
@@ -157854,44 +158170,44 @@ function getErrorComponent(code, cause) {
|
|
|
157854
158170
|
);
|
|
157855
158171
|
},
|
|
157856
158172
|
InvalidGitUrl: ({ url }) => {
|
|
157857
|
-
return () => /* @__PURE__ */
|
|
158173
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(SystemErrorMessage, { message: `Invalid Git URL: ${url}` });
|
|
157858
158174
|
},
|
|
157859
158175
|
AuthenticationRequired: () => {
|
|
157860
|
-
return () => /* @__PURE__ */
|
|
158176
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(ErrorMessage, { message: "You have to already be logged in to run this command." });
|
|
157861
158177
|
},
|
|
157862
158178
|
InvalidApiKey: () => {
|
|
157863
|
-
return () => /* @__PURE__ */
|
|
158179
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(ErrorMessage, { message: "You used invalid API key to log in." });
|
|
157864
158180
|
},
|
|
157865
158181
|
SiteConfiguredRequired: () => {
|
|
157866
|
-
return () => /* @__PURE__ */
|
|
158182
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(ErrorMessage, { message: "You must provide a `--site` in the command options." });
|
|
157867
158183
|
},
|
|
157868
158184
|
FailedAddingPackageToWorkspace: () => {
|
|
157869
|
-
return () => /* @__PURE__ */
|
|
158185
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(
|
|
157870
158186
|
ErrorMessage,
|
|
157871
158187
|
{
|
|
157872
158188
|
message: "Could not add package to the workspaces configuration. Please add it as instructed by your package manager.",
|
|
157873
|
-
hint: /* @__PURE__ */
|
|
158189
|
+
hint: /* @__PURE__ */ import_react84.default.createElement(Text2, null, "Full error can be found in ", /* @__PURE__ */ import_react84.default.createElement(Text2, { bold: true }, "wix-error.log"))
|
|
157874
158190
|
}
|
|
157875
158191
|
);
|
|
157876
158192
|
},
|
|
157877
158193
|
FailedToGenerateSelfSignedCertificate: () => {
|
|
157878
|
-
return () => /* @__PURE__ */
|
|
158194
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(ErrorMessage, { message: "Failed to generate a self-signed certificate for development." });
|
|
157879
158195
|
},
|
|
157880
158196
|
NonInteractiveTerminal: () => {
|
|
157881
|
-
return () => /* @__PURE__ */
|
|
158197
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(ErrorMessage, { message: "This command is not supported in non-interactive terminals. Please run the command in an interactive terminal (TTY)." });
|
|
157882
158198
|
},
|
|
157883
158199
|
FailedToResolveViteOrigin: () => {
|
|
157884
|
-
return () => /* @__PURE__ */
|
|
158200
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(ErrorMessage, { message: "Failed to resolve the base url for CSS asset urls" });
|
|
157885
158201
|
},
|
|
157886
158202
|
FailedToCreateAppRelease: () => {
|
|
157887
|
-
return () => /* @__PURE__ */
|
|
158203
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(SystemErrorMessage, { message: "Failed to create an app configuration." });
|
|
157888
158204
|
},
|
|
157889
158205
|
AppReleaseConfigViolations: ({ violations }) => {
|
|
157890
|
-
return () => /* @__PURE__ */
|
|
158206
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(
|
|
157891
158207
|
SystemErrorMessage,
|
|
157892
158208
|
{
|
|
157893
158209
|
message: "App configuration upload failed because of violations.",
|
|
157894
|
-
explanation: /* @__PURE__ */
|
|
158210
|
+
explanation: /* @__PURE__ */ import_react84.default.createElement(import_react84.default.Fragment, null, /* @__PURE__ */ import_react84.default.createElement(Text2, null, "Violations:"), violations.map((message, idx) => /* @__PURE__ */ import_react84.default.createElement(
|
|
157895
158211
|
Text2,
|
|
157896
158212
|
{
|
|
157897
158213
|
key: idx
|
|
@@ -157899,33 +158215,33 @@ function getErrorComponent(code, cause) {
|
|
|
157899
158215
|
`
|
|
157900
158216
|
"${message.field}" ${message.description}`
|
|
157901
158217
|
))),
|
|
157902
|
-
hint: /* @__PURE__ */
|
|
158218
|
+
hint: /* @__PURE__ */ import_react84.default.createElement(import_react84.default.Fragment, null, /* @__PURE__ */ import_react84.default.createElement(Text2, null, "It may be temporary error, try again shortly. If it fails again, reach us on Discord:", " ", /* @__PURE__ */ import_react84.default.createElement(Link, { url: "https://discord.gg/devs-on-wix" })))
|
|
157903
158219
|
}
|
|
157904
158220
|
);
|
|
157905
158221
|
},
|
|
157906
158222
|
FailedToUpdateAppRelease: () => {
|
|
157907
|
-
return () => /* @__PURE__ */
|
|
158223
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(SystemErrorMessage, { message: "Failed to update an app configuration." });
|
|
157908
158224
|
},
|
|
157909
158225
|
FailedToCreateComponents: () => {
|
|
157910
|
-
return () => /* @__PURE__ */
|
|
158226
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(SystemErrorMessage, { message: "Failed to create components" });
|
|
157911
158227
|
},
|
|
157912
158228
|
FailedToFetchPackageDetails: () => {
|
|
157913
|
-
return () => /* @__PURE__ */
|
|
158229
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(SystemErrorMessage, { message: "Failed to fetch cli package details." });
|
|
157914
158230
|
},
|
|
157915
158231
|
FailedToGetResolveNpmDependenciesResult: () => {
|
|
157916
|
-
return () => /* @__PURE__ */
|
|
158232
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(SystemErrorMessage, { message: `Failed to resolve "wix.lock" file.` });
|
|
157917
158233
|
},
|
|
157918
158234
|
CliAppVersionMismatch: ({ cliVersion, cliAppVersion }) => {
|
|
157919
|
-
return () => /* @__PURE__ */
|
|
158235
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(
|
|
157920
158236
|
ErrorMessage,
|
|
157921
158237
|
{
|
|
157922
|
-
message: /* @__PURE__ */
|
|
157923
|
-
hint: /* @__PURE__ */
|
|
158238
|
+
message: /* @__PURE__ */ import_react84.default.createElement(Text2, null, "The versions of ", /* @__PURE__ */ import_react84.default.createElement(Text2, { bold: true }, "@wix/cli"), " (", cliVersion, ") and", " ", /* @__PURE__ */ import_react84.default.createElement(Text2, { bold: true }, "@wix/cli-app"), " (", cliAppVersion, ") dependencies do not match"),
|
|
158239
|
+
hint: /* @__PURE__ */ import_react84.default.createElement(Text2, null, "Align their versions in your ", /* @__PURE__ */ import_react84.default.createElement(Text2, { bold: true }, "package.json"), " and re-install dependencies")
|
|
157924
158240
|
}
|
|
157925
158241
|
);
|
|
157926
158242
|
},
|
|
157927
158243
|
InvalidDashboardPageRoute: ({ route, errorMessage }) => {
|
|
157928
|
-
return () => /* @__PURE__ */
|
|
158244
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(
|
|
157929
158245
|
ErrorMessage,
|
|
157930
158246
|
{
|
|
157931
158247
|
message: `Invalid dashboard page route: ${route}`,
|
|
@@ -157934,7 +158250,7 @@ function getErrorComponent(code, cause) {
|
|
|
157934
158250
|
);
|
|
157935
158251
|
},
|
|
157936
158252
|
InvalidEmbeddedScriptFolder: ({ path: path5, errorMessage }) => {
|
|
157937
|
-
return () => /* @__PURE__ */
|
|
158253
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(
|
|
157938
158254
|
ErrorMessage,
|
|
157939
158255
|
{
|
|
157940
158256
|
message: `Invalid embedded script folder: ${path5}`,
|
|
@@ -157943,7 +158259,7 @@ function getErrorComponent(code, cause) {
|
|
|
157943
158259
|
);
|
|
157944
158260
|
},
|
|
157945
158261
|
InvalidEmbeddedScriptTemplate: ({ templateFilename, errorMessage }) => {
|
|
157946
|
-
return () => /* @__PURE__ */
|
|
158262
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(
|
|
157947
158263
|
ErrorMessage,
|
|
157948
158264
|
{
|
|
157949
158265
|
message: `Invalid embedded script template in ${templateFilename}`,
|
|
@@ -157952,34 +158268,34 @@ function getErrorComponent(code, cause) {
|
|
|
157952
158268
|
);
|
|
157953
158269
|
},
|
|
157954
158270
|
InvalidCustomElementTagName: ({ tagName, errorMessage }) => {
|
|
157955
|
-
return () => /* @__PURE__ */
|
|
158271
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(
|
|
157956
158272
|
ErrorMessage,
|
|
157957
158273
|
{
|
|
157958
|
-
message: /* @__PURE__ */
|
|
157959
|
-
hint: /* @__PURE__ */
|
|
158274
|
+
message: /* @__PURE__ */ import_react84.default.createElement(Text2, null, "We use name of folder as tagName for your custom element. Unfortunately, ", /* @__PURE__ */ import_react84.default.createElement(Text2, { bold: true }, tagName), " is invalid tagName. Reason: ", errorMessage),
|
|
158275
|
+
hint: /* @__PURE__ */ import_react84.default.createElement(Text2, null, "You can find rules for tagName here:", " ", /* @__PURE__ */ import_react84.default.createElement(Text2, { bold: true }, "https://developer.mozilla.org/en-US/docs/Web/API/CustomElementRegistry/define#valid_custom_element_names"))
|
|
157960
158276
|
}
|
|
157961
158277
|
);
|
|
157962
158278
|
},
|
|
157963
158279
|
InvalidSiteFrontendPackageVersion: ({ packageName, versionRange }) => {
|
|
157964
|
-
return () => /* @__PURE__ */
|
|
158280
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(
|
|
157965
158281
|
ErrorMessage,
|
|
157966
158282
|
{
|
|
157967
|
-
message: /* @__PURE__ */
|
|
157968
|
-
hint: /* @__PURE__ */
|
|
158283
|
+
message: /* @__PURE__ */ import_react84.default.createElement(Text2, null, "Package ", /* @__PURE__ */ import_react84.default.createElement(Text2, { bold: true }, packageName), " has an invalid version range ", /* @__PURE__ */ import_react84.default.createElement(Text2, { bold: true }, versionRange), " in your", " ", /* @__PURE__ */ import_react84.default.createElement(Text2, { bold: true }, "package.json"), " file."),
|
|
158284
|
+
hint: /* @__PURE__ */ import_react84.default.createElement(Text2, null, "The version range must follow", " ", /* @__PURE__ */ import_react84.default.createElement(Text2, { bold: true }, "semantic versioning"), " rules, and it must contain a major version.", /* @__PURE__ */ import_react84.default.createElement(Newline, null), "Read more about it here:", " ", /* @__PURE__ */ import_react84.default.createElement(Link, { url: "https://docs.npmjs.com/about-semantic-versioning" }))
|
|
157969
158285
|
}
|
|
157970
158286
|
);
|
|
157971
158287
|
},
|
|
157972
158288
|
FailedToCreateSiteOverride: () => {
|
|
157973
|
-
return () => /* @__PURE__ */
|
|
158289
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(SystemErrorMessage, { message: "Failed to create site override configuration" });
|
|
157974
158290
|
},
|
|
157975
158291
|
FailedToGetDeploymentPipelineDescription: () => {
|
|
157976
|
-
return () => /* @__PURE__ */
|
|
158292
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(SystemErrorMessage, { message: "Failed to get deployment pipeline details" });
|
|
157977
158293
|
},
|
|
157978
158294
|
FailedToGetDeploymentStatus: () => {
|
|
157979
|
-
return () => /* @__PURE__ */
|
|
158295
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(SystemErrorMessage, { message: "Failed to get deployment status" });
|
|
157980
158296
|
},
|
|
157981
158297
|
NetworkError: () => {
|
|
157982
|
-
return () => /* @__PURE__ */
|
|
158298
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(
|
|
157983
158299
|
ErrorMessage,
|
|
157984
158300
|
{
|
|
157985
158301
|
cause,
|
|
@@ -157989,13 +158305,13 @@ function getErrorComponent(code, cause) {
|
|
|
157989
158305
|
);
|
|
157990
158306
|
},
|
|
157991
158307
|
FailedToGenerateAppMarketQueryParam: () => {
|
|
157992
|
-
return () => /* @__PURE__ */
|
|
158308
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(SystemErrorMessage, { message: "Failed to get generate appMarket query parameter" });
|
|
157993
158309
|
},
|
|
157994
158310
|
FailedToParseLog: () => {
|
|
157995
|
-
return () => /* @__PURE__ */
|
|
158311
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(SystemErrorMessage, { message: "Failed to parse log from the server" });
|
|
157996
158312
|
},
|
|
157997
158313
|
AppForVersionNotFound: ({ version }) => {
|
|
157998
|
-
return () => /* @__PURE__ */
|
|
158314
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(
|
|
157999
158315
|
ErrorMessage,
|
|
158000
158316
|
{
|
|
158001
158317
|
message: `Could not find app configuration for the provided version: "${version}"`,
|
|
@@ -158004,10 +158320,10 @@ function getErrorComponent(code, cause) {
|
|
|
158004
158320
|
);
|
|
158005
158321
|
},
|
|
158006
158322
|
FailedToFetchAppForVersion: () => {
|
|
158007
|
-
return () => /* @__PURE__ */
|
|
158323
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(SystemErrorMessage, { message: `Failed to fetch app configuration` });
|
|
158008
158324
|
},
|
|
158009
158325
|
FailedToGetAppSecret: () => {
|
|
158010
|
-
return () => /* @__PURE__ */
|
|
158326
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(
|
|
158011
158327
|
SystemErrorMessage,
|
|
158012
158328
|
{
|
|
158013
158329
|
message: `Failed to fetch app keys and configuration`
|
|
@@ -158015,10 +158331,10 @@ function getErrorComponent(code, cause) {
|
|
|
158015
158331
|
);
|
|
158016
158332
|
},
|
|
158017
158333
|
FailedToConnectToLogsService: () => {
|
|
158018
|
-
return () => /* @__PURE__ */
|
|
158334
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(ErrorMessage, { message: `Failed to connect to logs service.` });
|
|
158019
158335
|
},
|
|
158020
158336
|
FailedToGetLogsTopology: () => {
|
|
158021
|
-
return () => /* @__PURE__ */
|
|
158337
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(
|
|
158022
158338
|
ErrorMessage,
|
|
158023
158339
|
{
|
|
158024
158340
|
message: `Failed to fetch logs configuration for the given version.`,
|
|
@@ -158027,7 +158343,7 @@ function getErrorComponent(code, cause) {
|
|
|
158027
158343
|
);
|
|
158028
158344
|
},
|
|
158029
158345
|
FailedInstallCloudflareNoAccess: ({ path: path5 }) => {
|
|
158030
|
-
return () => /* @__PURE__ */
|
|
158346
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(
|
|
158031
158347
|
ErrorMessage,
|
|
158032
158348
|
{
|
|
158033
158349
|
message: `Failed to install required binary in "${path5}"`,
|
|
@@ -158036,10 +158352,10 @@ function getErrorComponent(code, cause) {
|
|
|
158036
158352
|
);
|
|
158037
158353
|
},
|
|
158038
158354
|
LogsConnectionTimeout: () => {
|
|
158039
|
-
return () => /* @__PURE__ */
|
|
158355
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(ErrorMessage, { message: `Log session has been closed due to timeout.` });
|
|
158040
158356
|
},
|
|
158041
158357
|
InvalidServicePluginImplementation: () => {
|
|
158042
|
-
return () => /* @__PURE__ */
|
|
158358
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(
|
|
158043
158359
|
ErrorMessage,
|
|
158044
158360
|
{
|
|
158045
158361
|
message: `Your service plugin implementation is incorrect.`
|
|
@@ -158047,7 +158363,7 @@ function getErrorComponent(code, cause) {
|
|
|
158047
158363
|
);
|
|
158048
158364
|
},
|
|
158049
158365
|
UnknownServicePlugin: ({ name }) => {
|
|
158050
|
-
return () => /* @__PURE__ */
|
|
158366
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(
|
|
158051
158367
|
ErrorMessage,
|
|
158052
158368
|
{
|
|
158053
158369
|
message: `Unknown service plugin with the name of \`${name}\``
|
|
@@ -158055,7 +158371,7 @@ function getErrorComponent(code, cause) {
|
|
|
158055
158371
|
);
|
|
158056
158372
|
},
|
|
158057
158373
|
InvalidServicePluginFolder: ({ relativePath }) => {
|
|
158058
|
-
return () => /* @__PURE__ */
|
|
158374
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(
|
|
158059
158375
|
ErrorMessage,
|
|
158060
158376
|
{
|
|
158061
158377
|
message: `Invalid folder for service plugin in \`${relativePath}\``
|
|
@@ -158063,7 +158379,7 @@ function getErrorComponent(code, cause) {
|
|
|
158063
158379
|
);
|
|
158064
158380
|
},
|
|
158065
158381
|
InvalidSiteOverrideID: () => {
|
|
158066
|
-
return () => /* @__PURE__ */
|
|
158382
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(
|
|
158067
158383
|
ErrorMessage,
|
|
158068
158384
|
{
|
|
158069
158385
|
message: `Failed to read devSiteOverrideId from local app configurations.`,
|
|
@@ -158072,7 +158388,7 @@ function getErrorComponent(code, cause) {
|
|
|
158072
158388
|
);
|
|
158073
158389
|
},
|
|
158074
158390
|
FailedToFindEsbuildOutputFile: () => {
|
|
158075
|
-
return () => /* @__PURE__ */
|
|
158391
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(
|
|
158076
158392
|
ErrorMessage,
|
|
158077
158393
|
{
|
|
158078
158394
|
message: `Failed to find file in ESBuild output`,
|
|
@@ -158081,7 +158397,7 @@ function getErrorComponent(code, cause) {
|
|
|
158081
158397
|
);
|
|
158082
158398
|
},
|
|
158083
158399
|
FailedOptimizingWithEsbuild: () => {
|
|
158084
|
-
return () => /* @__PURE__ */
|
|
158400
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(
|
|
158085
158401
|
ErrorMessage,
|
|
158086
158402
|
{
|
|
158087
158403
|
cause,
|
|
@@ -158091,7 +158407,7 @@ function getErrorComponent(code, cause) {
|
|
|
158091
158407
|
);
|
|
158092
158408
|
},
|
|
158093
158409
|
FailedReadingEsbuildOutputFile: () => {
|
|
158094
|
-
return () => /* @__PURE__ */
|
|
158410
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(
|
|
158095
158411
|
ErrorMessage,
|
|
158096
158412
|
{
|
|
158097
158413
|
message: `Failed to read ESBuild's output file`,
|
|
@@ -158100,16 +158416,16 @@ function getErrorComponent(code, cause) {
|
|
|
158100
158416
|
);
|
|
158101
158417
|
},
|
|
158102
158418
|
CliAppTemplateNotFound: ({ id }) => {
|
|
158103
|
-
return () => /* @__PURE__ */
|
|
158419
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(
|
|
158104
158420
|
ErrorMessage,
|
|
158105
158421
|
{
|
|
158106
|
-
message: /* @__PURE__ */
|
|
158422
|
+
message: /* @__PURE__ */ import_react84.default.createElement(import_react84.default.Fragment, null, "Template with ID ", /* @__PURE__ */ import_react84.default.createElement(Text2, { bold: true }, id), " not found."),
|
|
158107
158423
|
hint: "Make sure you are using the correct template ID"
|
|
158108
158424
|
}
|
|
158109
158425
|
);
|
|
158110
158426
|
},
|
|
158111
158427
|
FailedToQueryCliAppTemplates: () => {
|
|
158112
|
-
return () => /* @__PURE__ */
|
|
158428
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(
|
|
158113
158429
|
SystemErrorMessage,
|
|
158114
158430
|
{
|
|
158115
158431
|
message: "Failed to fetch available app templates"
|
|
@@ -158117,19 +158433,19 @@ function getErrorComponent(code, cause) {
|
|
|
158117
158433
|
);
|
|
158118
158434
|
},
|
|
158119
158435
|
FailedToCreateDevCenterAppFromTemplate: () => {
|
|
158120
|
-
return () => /* @__PURE__ */
|
|
158436
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(SystemErrorMessage, { message: "Failed to register your application in Wix" });
|
|
158121
158437
|
},
|
|
158122
158438
|
FailedToQueryApps: () => {
|
|
158123
|
-
return () => /* @__PURE__ */
|
|
158439
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(SystemErrorMessage, { message: "Failed to query apps" });
|
|
158124
158440
|
},
|
|
158125
158441
|
FailedToGetSiteInstalledApps: () => {
|
|
158126
|
-
return () => /* @__PURE__ */
|
|
158442
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(SystemErrorMessage, { message: "Failed to get site installed apps" });
|
|
158127
158443
|
},
|
|
158128
158444
|
FailedToGetClientSpecMap: () => {
|
|
158129
|
-
return () => /* @__PURE__ */
|
|
158445
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(SystemErrorMessage, { message: "Failed to get site client spec map" });
|
|
158130
158446
|
},
|
|
158131
158447
|
DeniedPermissionToGetAppSecret: () => {
|
|
158132
|
-
return () => /* @__PURE__ */
|
|
158448
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(
|
|
158133
158449
|
ErrorMessage,
|
|
158134
158450
|
{
|
|
158135
158451
|
message: "Insufficient permissions",
|
|
@@ -158138,16 +158454,16 @@ function getErrorComponent(code, cause) {
|
|
|
158138
158454
|
);
|
|
158139
158455
|
},
|
|
158140
158456
|
FailedToCreateVeloApp: () => {
|
|
158141
|
-
return () => /* @__PURE__ */
|
|
158457
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(SystemErrorMessage, { message: "Failed to create an isolated environment." });
|
|
158142
158458
|
},
|
|
158143
158459
|
FailedToUpdateVeloAppFiles: () => {
|
|
158144
|
-
return () => /* @__PURE__ */
|
|
158460
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(SystemErrorMessage, { message: "Failed to update files in the isolated environment" });
|
|
158145
158461
|
},
|
|
158146
158462
|
FailedToGetFilesFromVelo: () => {
|
|
158147
|
-
return () => /* @__PURE__ */
|
|
158463
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(SystemErrorMessage, { message: "Failed to get initial project files" });
|
|
158148
158464
|
},
|
|
158149
158465
|
FailedToOpenBrowser: () => {
|
|
158150
|
-
return () => /* @__PURE__ */
|
|
158466
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(
|
|
158151
158467
|
ErrorMessage,
|
|
158152
158468
|
{
|
|
158153
158469
|
cause,
|
|
@@ -158162,7 +158478,7 @@ function getErrorComponent(code, cause) {
|
|
|
158162
158478
|
deprecated,
|
|
158163
158479
|
hasCliAppInstalled
|
|
158164
158480
|
}) => {
|
|
158165
|
-
return () => /* @__PURE__ */
|
|
158481
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(
|
|
158166
158482
|
OutdatedVersionMessage,
|
|
158167
158483
|
{
|
|
158168
158484
|
currentVersion,
|
|
@@ -158173,10 +158489,10 @@ function getErrorComponent(code, cause) {
|
|
|
158173
158489
|
);
|
|
158174
158490
|
},
|
|
158175
158491
|
FailedToSyncPagesTypes: () => {
|
|
158176
|
-
return () => /* @__PURE__ */
|
|
158492
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(SystemErrorMessage, { message: "Failed to sync pages types" });
|
|
158177
158493
|
},
|
|
158178
158494
|
FailedToInitializeSiteFsManager: () => {
|
|
158179
|
-
return () => /* @__PURE__ */
|
|
158495
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(
|
|
158180
158496
|
ErrorMessage,
|
|
158181
158497
|
{
|
|
158182
158498
|
cause,
|
|
@@ -158185,7 +158501,7 @@ function getErrorComponent(code, cause) {
|
|
|
158185
158501
|
);
|
|
158186
158502
|
},
|
|
158187
158503
|
FailedToGetSiteFsManagerCode: () => {
|
|
158188
|
-
return () => /* @__PURE__ */
|
|
158504
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(
|
|
158189
158505
|
ErrorMessage,
|
|
158190
158506
|
{
|
|
158191
158507
|
cause,
|
|
@@ -158194,7 +158510,7 @@ function getErrorComponent(code, cause) {
|
|
|
158194
158510
|
);
|
|
158195
158511
|
},
|
|
158196
158512
|
FailedToGetSiteFsManagerDocument: () => {
|
|
158197
|
-
return () => /* @__PURE__ */
|
|
158513
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(
|
|
158198
158514
|
ErrorMessage,
|
|
158199
158515
|
{
|
|
158200
158516
|
cause,
|
|
@@ -158203,7 +158519,7 @@ function getErrorComponent(code, cause) {
|
|
|
158203
158519
|
);
|
|
158204
158520
|
},
|
|
158205
158521
|
FailedToApplySiteFsManagerFsUpdates: () => {
|
|
158206
|
-
return () => /* @__PURE__ */
|
|
158522
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(
|
|
158207
158523
|
ErrorMessage,
|
|
158208
158524
|
{
|
|
158209
158525
|
cause,
|
|
@@ -158212,7 +158528,7 @@ function getErrorComponent(code, cause) {
|
|
|
158212
158528
|
);
|
|
158213
158529
|
},
|
|
158214
158530
|
FailedToApplySiteFsManagerExternalUpdates: () => {
|
|
158215
|
-
return () => /* @__PURE__ */
|
|
158531
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(
|
|
158216
158532
|
ErrorMessage,
|
|
158217
158533
|
{
|
|
158218
158534
|
cause,
|
|
@@ -158221,15 +158537,18 @@ function getErrorComponent(code, cause) {
|
|
|
158221
158537
|
);
|
|
158222
158538
|
},
|
|
158223
158539
|
CreateVersionDeprecated: ({ packageManagerRunCmd }) => {
|
|
158224
|
-
return () => /* @__PURE__ */
|
|
158540
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(
|
|
158225
158541
|
CreateVersionDeprecationMessage,
|
|
158226
158542
|
{
|
|
158227
158543
|
packageManagerRunCmd
|
|
158228
158544
|
}
|
|
158229
158545
|
);
|
|
158230
158546
|
},
|
|
158547
|
+
ServeDeprecated: ({ packageManagerRunCmd }) => {
|
|
158548
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(ServeDeprecationMessage, { packageManagerRunCmd });
|
|
158549
|
+
},
|
|
158231
158550
|
CannotFindConfigReferencedAsset: ({ asset, configPath, field }) => {
|
|
158232
|
-
return () => /* @__PURE__ */
|
|
158551
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(
|
|
158233
158552
|
ErrorMessage,
|
|
158234
158553
|
{
|
|
158235
158554
|
message: `Failed to load asset ${asset}`,
|
|
@@ -158238,7 +158557,7 @@ function getErrorComponent(code, cause) {
|
|
|
158238
158557
|
);
|
|
158239
158558
|
},
|
|
158240
158559
|
CannotReleaseApplicationInReview: () => {
|
|
158241
|
-
return () => /* @__PURE__ */
|
|
158560
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(
|
|
158242
158561
|
ErrorMessage,
|
|
158243
158562
|
{
|
|
158244
158563
|
message: "A new version of the app can not be released at this point.",
|
|
@@ -158247,7 +158566,7 @@ function getErrorComponent(code, cause) {
|
|
|
158247
158566
|
);
|
|
158248
158567
|
},
|
|
158249
158568
|
FailedToCreateIntellisenseAdapter: () => {
|
|
158250
|
-
return () => /* @__PURE__ */
|
|
158569
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(
|
|
158251
158570
|
ErrorMessage,
|
|
158252
158571
|
{
|
|
158253
158572
|
cause,
|
|
@@ -158256,7 +158575,7 @@ function getErrorComponent(code, cause) {
|
|
|
158256
158575
|
);
|
|
158257
158576
|
},
|
|
158258
158577
|
FailedToInitIntellisenseAdapterTypes: () => {
|
|
158259
|
-
return () => /* @__PURE__ */
|
|
158578
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(
|
|
158260
158579
|
ErrorMessage,
|
|
158261
158580
|
{
|
|
158262
158581
|
cause,
|
|
@@ -158265,10 +158584,10 @@ function getErrorComponent(code, cause) {
|
|
|
158265
158584
|
);
|
|
158266
158585
|
},
|
|
158267
158586
|
FailedToUpdateIntellisenseAdapterTypes: () => {
|
|
158268
|
-
return () => /* @__PURE__ */
|
|
158587
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(ErrorMessage, { cause, message: "Failed to update site types." });
|
|
158269
158588
|
},
|
|
158270
158589
|
WebMethodOutsideOfProjectDirectory: ({ relativeId }) => {
|
|
158271
|
-
return () => /* @__PURE__ */
|
|
158590
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(
|
|
158272
158591
|
ErrorMessage,
|
|
158273
158592
|
{
|
|
158274
158593
|
cause,
|
|
@@ -158277,13 +158596,13 @@ function getErrorComponent(code, cause) {
|
|
|
158277
158596
|
);
|
|
158278
158597
|
},
|
|
158279
158598
|
FailedToCreateDraftVersion: () => {
|
|
158280
|
-
return () => /* @__PURE__ */
|
|
158599
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(SystemErrorMessage, { message: "Failed to retrieve release options available for your application." });
|
|
158281
158600
|
},
|
|
158282
158601
|
FailedToReleaseDraftVersion: () => {
|
|
158283
|
-
return () => /* @__PURE__ */
|
|
158602
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(SystemErrorMessage, { message: "Failed to release a new version of your application." });
|
|
158284
158603
|
},
|
|
158285
158604
|
WaitForEditorInstallationStateFailure: () => {
|
|
158286
|
-
return () => /* @__PURE__ */
|
|
158605
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(
|
|
158287
158606
|
SystemErrorMessage,
|
|
158288
158607
|
{
|
|
158289
158608
|
message: `Waiting for the Editor to finish installation timed out`
|
|
@@ -158291,7 +158610,7 @@ function getErrorComponent(code, cause) {
|
|
|
158291
158610
|
);
|
|
158292
158611
|
},
|
|
158293
158612
|
EditorPendingInstallationCheckTimedout: () => {
|
|
158294
|
-
return () => /* @__PURE__ */
|
|
158613
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(
|
|
158295
158614
|
SystemErrorMessage,
|
|
158296
158615
|
{
|
|
158297
158616
|
message: `Editor installation details check timed out`
|
|
@@ -158299,7 +158618,7 @@ function getErrorComponent(code, cause) {
|
|
|
158299
158618
|
);
|
|
158300
158619
|
},
|
|
158301
158620
|
FailedToGetSdkSlotData: () => {
|
|
158302
|
-
return () => /* @__PURE__ */
|
|
158621
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(
|
|
158303
158622
|
SystemErrorMessage,
|
|
158304
158623
|
{
|
|
158305
158624
|
message: `Unable to retrieve slot details to extend`
|
|
@@ -158307,7 +158626,7 @@ function getErrorComponent(code, cause) {
|
|
|
158307
158626
|
);
|
|
158308
158627
|
},
|
|
158309
158628
|
FailedToListComponentByComponentType: () => {
|
|
158310
|
-
return () => /* @__PURE__ */
|
|
158629
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(
|
|
158311
158630
|
SystemErrorMessage,
|
|
158312
158631
|
{
|
|
158313
158632
|
message: `Unable to retrieve the list of available extensions for your application`
|
|
@@ -158315,7 +158634,7 @@ function getErrorComponent(code, cause) {
|
|
|
158315
158634
|
);
|
|
158316
158635
|
},
|
|
158317
158636
|
FailedToParseBackofficeExtensionContainer: () => {
|
|
158318
|
-
return () => /* @__PURE__ */
|
|
158637
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(
|
|
158319
158638
|
SystemErrorMessage,
|
|
158320
158639
|
{
|
|
158321
158640
|
message: `Failed to parse backoffice extension containers data`
|
|
@@ -158323,13 +158642,13 @@ function getErrorComponent(code, cause) {
|
|
|
158323
158642
|
);
|
|
158324
158643
|
},
|
|
158325
158644
|
FailedToParseBackofficePages: () => {
|
|
158326
|
-
return () => /* @__PURE__ */
|
|
158645
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(SystemErrorMessage, { message: `Failed to parse backoffice pages data` });
|
|
158327
158646
|
},
|
|
158328
158647
|
FailedToDeployDocument: () => {
|
|
158329
|
-
return () => /* @__PURE__ */
|
|
158648
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(SystemErrorMessage, { message: "Failed to deploy site document." });
|
|
158330
158649
|
},
|
|
158331
158650
|
FailedToEvalBackendExtension: ({ filename, errorMessage }) => {
|
|
158332
|
-
return () => /* @__PURE__ */
|
|
158651
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(
|
|
158333
158652
|
ErrorMessage,
|
|
158334
158653
|
{
|
|
158335
158654
|
message: `Failed to process file "${filename}", error details below:
|
|
@@ -158338,7 +158657,7 @@ ${errorMessage}`
|
|
|
158338
158657
|
);
|
|
158339
158658
|
},
|
|
158340
158659
|
FailedToGetMonitoringLoaderScript: ({ dsn }) => {
|
|
158341
|
-
return () => /* @__PURE__ */
|
|
158660
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(
|
|
158342
158661
|
SystemErrorMessage,
|
|
158343
158662
|
{
|
|
158344
158663
|
message: `Failed to get a monitoring loader script for DSN "${dsn}".`
|
|
@@ -158346,7 +158665,7 @@ ${errorMessage}`
|
|
|
158346
158665
|
);
|
|
158347
158666
|
},
|
|
158348
158667
|
InsufficientNonInterractiveReleaseParameters: () => {
|
|
158349
|
-
return () => /* @__PURE__ */
|
|
158668
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(
|
|
158350
158669
|
ErrorMessage,
|
|
158351
158670
|
{
|
|
158352
158671
|
message: `Release command in non-interactive mode requires following parameter: --version-type`
|
|
@@ -158354,12 +158673,12 @@ ${errorMessage}`
|
|
|
158354
158673
|
);
|
|
158355
158674
|
},
|
|
158356
158675
|
DeploymentPipelineFailed: ({ tasksDescriptions }) => {
|
|
158357
|
-
return () => /* @__PURE__ */
|
|
158676
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(import_react84.default.Fragment, null, /* @__PURE__ */ import_react84.default.createElement(
|
|
158358
158677
|
ErrorMessage,
|
|
158359
158678
|
{
|
|
158360
158679
|
message: `Errors in your site\u2019s code were found while trying to build your custom code. See output below:`
|
|
158361
158680
|
}
|
|
158362
|
-
), /* @__PURE__ */
|
|
158681
|
+
), /* @__PURE__ */ import_react84.default.createElement(Box_default, { paddingLeft: 1, paddingTop: 1, flexDirection: "column" }, tasksDescriptions.map((task, index) => /* @__PURE__ */ import_react84.default.createElement(import_react84.Fragment, { key: index }, /* @__PURE__ */ import_react84.default.createElement(Alert, { type: task.status === "SUCCESS" ? "success" : "error" }, "[", index + 1, "/", tasksDescriptions.length, "] ", task.taskName, "..."), Object.entries(task.description).map(([path5, content]) => /* @__PURE__ */ import_react84.default.createElement(
|
|
158363
158682
|
Box_default,
|
|
158364
158683
|
{
|
|
158365
158684
|
key: path5,
|
|
@@ -158367,12 +158686,12 @@ ${errorMessage}`
|
|
|
158367
158686
|
paddingBottom: 1,
|
|
158368
158687
|
flexDirection: "column"
|
|
158369
158688
|
},
|
|
158370
|
-
/* @__PURE__ */
|
|
158371
|
-
/* @__PURE__ */
|
|
158689
|
+
/* @__PURE__ */ import_react84.default.createElement(Text2, { bold: true }, path5),
|
|
158690
|
+
/* @__PURE__ */ import_react84.default.createElement(Text2, null, content.trim())
|
|
158372
158691
|
))))));
|
|
158373
158692
|
},
|
|
158374
158693
|
FailedToParseLatestVersion: ({ version }) => {
|
|
158375
|
-
return () => /* @__PURE__ */
|
|
158694
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(
|
|
158376
158695
|
SystemErrorMessage,
|
|
158377
158696
|
{
|
|
158378
158697
|
message: `The version "${version}" produced by the system does not conform to the expected semantic versioning format and could not be parsed.`
|
|
@@ -158380,16 +158699,33 @@ ${errorMessage}`
|
|
|
158380
158699
|
);
|
|
158381
158700
|
},
|
|
158382
158701
|
FailedToFetchWixLockFile: () => {
|
|
158383
|
-
return () => /* @__PURE__ */
|
|
158702
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(SystemErrorMessage, { message: `Failed to fetch "wix.lock" file.` });
|
|
158703
|
+
},
|
|
158704
|
+
AppNameArgumentIsInvalid: ({ errorMessage }) => {
|
|
158705
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(
|
|
158706
|
+
ErrorMessage,
|
|
158707
|
+
{
|
|
158708
|
+
message: errorMessage,
|
|
158709
|
+
hint: "Failed to create a new application with the specified parameters. Please modify the parameters or switch to interactive mode."
|
|
158710
|
+
}
|
|
158711
|
+
);
|
|
158384
158712
|
},
|
|
158385
158713
|
CannotReleaseMinorInNoninteractive: () => {
|
|
158386
|
-
return () => /* @__PURE__ */
|
|
158714
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(
|
|
158387
158715
|
ErrorMessage,
|
|
158388
158716
|
{
|
|
158389
158717
|
message: `Minor version release is not allowed.`,
|
|
158390
158718
|
hint: `Please release major version.`
|
|
158391
158719
|
}
|
|
158392
158720
|
);
|
|
158721
|
+
},
|
|
158722
|
+
SiteComponentConfigNotFound: ({ configPath }) => {
|
|
158723
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(
|
|
158724
|
+
ErrorMessage,
|
|
158725
|
+
{
|
|
158726
|
+
message: `Site component config not found at ${configPath}`
|
|
158727
|
+
}
|
|
158728
|
+
);
|
|
158393
158729
|
}
|
|
158394
158730
|
});
|
|
158395
158731
|
}
|
|
@@ -158406,20 +158742,20 @@ var ErrorViewer = ({
|
|
|
158406
158742
|
error: originalError,
|
|
158407
158743
|
systemErrorOverride
|
|
158408
158744
|
}) => {
|
|
158409
|
-
return (0,
|
|
158745
|
+
return (0, import_react85.useMemo)(() => {
|
|
158410
158746
|
const error = normalizeError(originalError);
|
|
158411
|
-
return isCliSystemError(error) && systemErrorOverride ? systemErrorOverride : (0,
|
|
158747
|
+
return isCliSystemError(error) && systemErrorOverride ? systemErrorOverride : (0, import_react85.createElement)(getErrorComponent(error.cliCode, error.cause()));
|
|
158412
158748
|
}, [originalError, systemErrorOverride]);
|
|
158413
158749
|
};
|
|
158414
158750
|
|
|
158415
158751
|
// ../cli-auth/src/providers/AccountAuthProvider.tsx
|
|
158416
158752
|
init_esm_shims();
|
|
158417
|
-
var
|
|
158753
|
+
var import_react92 = __toESM(require_react(), 1);
|
|
158418
158754
|
|
|
158419
158755
|
// ../cli-auth/src/context.ts
|
|
158420
158756
|
init_esm_shims();
|
|
158421
|
-
var
|
|
158422
|
-
var AuthContext = (0,
|
|
158757
|
+
var import_react86 = __toESM(require_react(), 1);
|
|
158758
|
+
var AuthContext = (0, import_react86.createContext)(null);
|
|
158423
158759
|
|
|
158424
158760
|
// ../cli-auth/src/auth-strategies/index.ts
|
|
158425
158761
|
init_esm_shims();
|
|
@@ -160163,12 +160499,12 @@ var createSiteAuthStrategy = (siteId) => ({
|
|
|
160163
160499
|
|
|
160164
160500
|
// ../cli-auth/src/components/EnsureLoggedIn.tsx
|
|
160165
160501
|
init_esm_shims();
|
|
160166
|
-
var
|
|
160502
|
+
var import_react91 = __toESM(require_react(), 1);
|
|
160167
160503
|
var import_variant23 = __toESM(require_lib(), 1);
|
|
160168
160504
|
|
|
160169
160505
|
// ../cli-auth/src/components/Login.tsx
|
|
160170
160506
|
init_esm_shims();
|
|
160171
|
-
var
|
|
160507
|
+
var import_react89 = __toESM(require_react(), 1);
|
|
160172
160508
|
|
|
160173
160509
|
// ../../node_modules/@wix/bi-logger-wix-cli/dist/esm/v2/index.js
|
|
160174
160510
|
init_esm_shims();
|
|
@@ -160198,7 +160534,7 @@ var messages_default2 = {
|
|
|
160198
160534
|
|
|
160199
160535
|
// ../cli-auth/src/components/LoginInstructions.tsx
|
|
160200
160536
|
init_esm_shims();
|
|
160201
|
-
var
|
|
160537
|
+
var import_react88 = __toESM(require_react(), 1);
|
|
160202
160538
|
|
|
160203
160539
|
// ../user-browser/src/index.ts
|
|
160204
160540
|
init_esm_shims();
|
|
@@ -160692,9 +161028,9 @@ async function openBrowser(url) {
|
|
|
160692
161028
|
|
|
160693
161029
|
// ../cli-auth/src/useColoredVerificationUri.ts
|
|
160694
161030
|
init_esm_shims();
|
|
160695
|
-
var
|
|
161031
|
+
var import_react87 = __toESM(require_react(), 1);
|
|
160696
161032
|
function useColoredVerificationUri(verificationUri) {
|
|
160697
|
-
return (0,
|
|
161033
|
+
return (0, import_react87.useMemo)(() => {
|
|
160698
161034
|
const coloredUri = new URL(verificationUri);
|
|
160699
161035
|
coloredUri.searchParams.set("color", "developer");
|
|
160700
161036
|
coloredUri.searchParams.set("studio", "true");
|
|
@@ -160706,7 +161042,7 @@ function useColoredVerificationUri(verificationUri) {
|
|
|
160706
161042
|
var LoginInstructions = ({ userCode, verificationUri }) => {
|
|
160707
161043
|
const coloredVerificationUri = useColoredVerificationUri(verificationUri);
|
|
160708
161044
|
const { reportError } = useErrorReporter();
|
|
160709
|
-
const [openBrowserError, setOpenBrowserError] = (0,
|
|
161045
|
+
const [openBrowserError, setOpenBrowserError] = (0, import_react88.useState)(null);
|
|
160710
161046
|
use_input_default((input, key) => {
|
|
160711
161047
|
if (key.return) {
|
|
160712
161048
|
openBrowser(coloredVerificationUri).catch((error) => {
|
|
@@ -160715,22 +161051,22 @@ var LoginInstructions = ({ userCode, verificationUri }) => {
|
|
|
160715
161051
|
});
|
|
160716
161052
|
}
|
|
160717
161053
|
});
|
|
160718
|
-
return /* @__PURE__ */
|
|
161054
|
+
return /* @__PURE__ */ import_react88.default.createElement(import_react88.default.Fragment, null, /* @__PURE__ */ import_react88.default.createElement(Trans2, { i18nKey: "login.instructions_title" }), /* @__PURE__ */ import_react88.default.createElement(Box_default, { flexDirection: "column", marginTop: 1, marginBottom: 1, marginLeft: 2 }, /* @__PURE__ */ import_react88.default.createElement(
|
|
160719
161055
|
Trans2,
|
|
160720
161056
|
{
|
|
160721
161057
|
i18nKey: "login.instructions_details",
|
|
160722
161058
|
components: [
|
|
160723
|
-
/* @__PURE__ */
|
|
160724
|
-
/* @__PURE__ */
|
|
160725
|
-
/* @__PURE__ */
|
|
161059
|
+
/* @__PURE__ */ import_react88.default.createElement(Text2, { skin: "info" }),
|
|
161060
|
+
/* @__PURE__ */ import_react88.default.createElement(Key, { value: "enter" }),
|
|
161061
|
+
/* @__PURE__ */ import_react88.default.createElement(Link, { url: coloredVerificationUri })
|
|
160726
161062
|
],
|
|
160727
161063
|
values: { code: userCode }
|
|
160728
161064
|
}
|
|
160729
|
-
)), openBrowserError != null && /* @__PURE__ */
|
|
161065
|
+
)), openBrowserError != null && /* @__PURE__ */ import_react88.default.createElement(import_react88.default.Fragment, null, /* @__PURE__ */ import_react88.default.createElement(Box_default, { flexDirection: "column", marginBottom: 1 }, /* @__PURE__ */ import_react88.default.createElement(ErrorViewer, { error: openBrowserError })), /* @__PURE__ */ import_react88.default.createElement(
|
|
160730
161066
|
Trans2,
|
|
160731
161067
|
{
|
|
160732
161068
|
i18nKey: "login.error_opening_browser",
|
|
160733
|
-
components: [/* @__PURE__ */
|
|
161069
|
+
components: [/* @__PURE__ */ import_react88.default.createElement(Link, { url: coloredVerificationUri })]
|
|
160734
161070
|
}
|
|
160735
161071
|
)));
|
|
160736
161072
|
};
|
|
@@ -160785,8 +161121,8 @@ var Login = ({ loginFn, onLogin, onError }) => {
|
|
|
160785
161121
|
);
|
|
160786
161122
|
return (0, import_variant21.match)(status, {
|
|
160787
161123
|
Error: () => null,
|
|
160788
|
-
Loading: () => /* @__PURE__ */
|
|
160789
|
-
Success: ({ result: { userCode, verificationUri } }) => /* @__PURE__ */
|
|
161124
|
+
Loading: () => /* @__PURE__ */ import_react89.default.createElement(Spinner2, null),
|
|
161125
|
+
Success: ({ result: { userCode, verificationUri } }) => /* @__PURE__ */ import_react89.default.createElement(
|
|
160790
161126
|
LoginInstructions,
|
|
160791
161127
|
{
|
|
160792
161128
|
userCode,
|
|
@@ -160798,7 +161134,7 @@ var Login = ({ loginFn, onLogin, onError }) => {
|
|
|
160798
161134
|
|
|
160799
161135
|
// ../cli-auth/src/components/WarnLegacyAuthData.tsx
|
|
160800
161136
|
init_esm_shims();
|
|
160801
|
-
var
|
|
161137
|
+
var import_react90 = __toESM(require_react(), 1);
|
|
160802
161138
|
var import_variant22 = __toESM(require_lib(), 1);
|
|
160803
161139
|
var WarnLegacyAuthData = ({ children }) => {
|
|
160804
161140
|
const { status } = useAsync2(hasLegacyAuthData, [], { onError: () => {
|
|
@@ -160806,7 +161142,7 @@ var WarnLegacyAuthData = ({ children }) => {
|
|
|
160806
161142
|
return (0, import_variant22.match)(status, {
|
|
160807
161143
|
Error: () => null,
|
|
160808
161144
|
Loading: () => null,
|
|
160809
|
-
Success: ({ result }) => /* @__PURE__ */
|
|
161145
|
+
Success: ({ result }) => /* @__PURE__ */ import_react90.default.createElement(import_react90.default.Fragment, null, result && /* @__PURE__ */ import_react90.default.createElement(Box_default, { marginBottom: 1 }, /* @__PURE__ */ import_react90.default.createElement(Trans2, { i18nKey: "login.legacy_auth_notice" })), children)
|
|
160810
161146
|
});
|
|
160811
161147
|
};
|
|
160812
161148
|
|
|
@@ -160826,11 +161162,11 @@ var EnsureLoggedIn = ({
|
|
|
160826
161162
|
onError
|
|
160827
161163
|
});
|
|
160828
161164
|
return (0, import_variant23.match)(status, {
|
|
160829
|
-
Loading: () => /* @__PURE__ */
|
|
161165
|
+
Loading: () => /* @__PURE__ */ import_react91.default.createElement(Spinner2, null),
|
|
160830
161166
|
Error: () => null,
|
|
160831
161167
|
Success: ({ result: accountAuth }) => {
|
|
160832
161168
|
if (accountAuth == null) {
|
|
160833
|
-
return /* @__PURE__ */
|
|
161169
|
+
return /* @__PURE__ */ import_react91.default.createElement(I18nProvider, { messages: messages_default2 }, /* @__PURE__ */ import_react91.default.createElement(WarnLegacyAuthData, null, /* @__PURE__ */ import_react91.default.createElement(
|
|
160834
161170
|
Login,
|
|
160835
161171
|
{
|
|
160836
161172
|
loginFn: login,
|
|
@@ -160854,14 +161190,14 @@ var AccountAuthProvider = ({
|
|
|
160854
161190
|
onLogin
|
|
160855
161191
|
}) => {
|
|
160856
161192
|
const exit = useExit();
|
|
160857
|
-
return /* @__PURE__ */
|
|
161193
|
+
return /* @__PURE__ */ import_react92.default.createElement(
|
|
160858
161194
|
EnsureLoggedIn,
|
|
160859
161195
|
{
|
|
160860
161196
|
authStrategy: accountAuthStrategy,
|
|
160861
161197
|
onLogin: ({ userInfo }) => onLogin?.(userInfo),
|
|
160862
161198
|
onError: onError ?? exit
|
|
160863
161199
|
},
|
|
160864
|
-
({ getAccessToken, getRequestHeaders, userInfo }) => /* @__PURE__ */
|
|
161200
|
+
({ getAccessToken, getRequestHeaders, userInfo }) => /* @__PURE__ */ import_react92.default.createElement(
|
|
160865
161201
|
AuthContext.Provider,
|
|
160866
161202
|
{
|
|
160867
161203
|
value: { getAccessToken, getRequestHeaders, userInfo }
|
|
@@ -160876,9 +161212,9 @@ init_esm_shims();
|
|
|
160876
161212
|
|
|
160877
161213
|
// ../cli-auth/src/useAuth.ts
|
|
160878
161214
|
init_esm_shims();
|
|
160879
|
-
var
|
|
161215
|
+
var import_react93 = __toESM(require_react(), 1);
|
|
160880
161216
|
function useAuth() {
|
|
160881
|
-
const context = (0,
|
|
161217
|
+
const context = (0, import_react93.useContext)(AuthContext);
|
|
160882
161218
|
if (!context) {
|
|
160883
161219
|
throw new Error("useAuth() cannot be used without an <AuthProvider>");
|
|
160884
161220
|
}
|
|
@@ -160887,7 +161223,7 @@ function useAuth() {
|
|
|
160887
161223
|
|
|
160888
161224
|
// ../cli-auth/src/providers/SiteAuthProvider.tsx
|
|
160889
161225
|
init_esm_shims();
|
|
160890
|
-
var
|
|
161226
|
+
var import_react94 = __toESM(require_react(), 1);
|
|
160891
161227
|
var SiteAuthProvider = ({
|
|
160892
161228
|
children,
|
|
160893
161229
|
siteId,
|
|
@@ -160895,15 +161231,15 @@ var SiteAuthProvider = ({
|
|
|
160895
161231
|
onLogin
|
|
160896
161232
|
}) => {
|
|
160897
161233
|
const exit = useExit();
|
|
160898
|
-
const authStrategy = (0,
|
|
160899
|
-
return /* @__PURE__ */
|
|
161234
|
+
const authStrategy = (0, import_react94.useMemo)(() => createSiteAuthStrategy(siteId), [siteId]);
|
|
161235
|
+
return /* @__PURE__ */ import_react94.default.createElement(
|
|
160900
161236
|
EnsureLoggedIn,
|
|
160901
161237
|
{
|
|
160902
161238
|
authStrategy,
|
|
160903
161239
|
onLogin: ({ userInfo }) => onLogin?.(userInfo),
|
|
160904
161240
|
onError: onError ?? exit
|
|
160905
161241
|
},
|
|
160906
|
-
({ getAccessToken, getRequestHeaders, userInfo }) => /* @__PURE__ */
|
|
161242
|
+
({ getAccessToken, getRequestHeaders, userInfo }) => /* @__PURE__ */ import_react94.default.createElement(
|
|
160907
161243
|
AuthContext.Provider,
|
|
160908
161244
|
{
|
|
160909
161245
|
value: { getAccessToken, getRequestHeaders, userInfo }
|
|
@@ -160973,7 +161309,8 @@ var DevCenterComponent = (0, import_variant24.variant)({
|
|
|
160973
161309
|
WebMethod: (0, import_variant24.fields)(),
|
|
160974
161310
|
Event: (0, import_variant24.fields)(),
|
|
160975
161311
|
ServicePlugin: (0, import_variant24.fields)(),
|
|
160976
|
-
Monitoring: (0, import_variant24.fields)()
|
|
161312
|
+
Monitoring: (0, import_variant24.fields)(),
|
|
161313
|
+
SiteComponent: (0, import_variant24.fields)()
|
|
160977
161314
|
});
|
|
160978
161315
|
|
|
160979
161316
|
// src/hosting/upload-application.ts
|
|
@@ -161165,6 +161502,7 @@ var ComponentType;
|
|
|
161165
161502
|
ComponentType4["STORES_PRODUCT_RESTRICTIONS"] = "STORES_PRODUCT_RESTRICTIONS";
|
|
161166
161503
|
ComponentType4["FORM_SUBMISSION_MODERATION"] = "FORM_SUBMISSION_MODERATION";
|
|
161167
161504
|
ComponentType4["EVENTS_EVENT_BADGES"] = "EVENTS_EVENT_BADGES";
|
|
161505
|
+
ComponentType4["BILLING_OPERATION"] = "BILLING_OPERATION";
|
|
161168
161506
|
})(ComponentType || (ComponentType = {}));
|
|
161169
161507
|
var WidgetVertical;
|
|
161170
161508
|
(function(WidgetVertical4) {
|
|
@@ -161463,6 +161801,7 @@ var BackOfficeHostingPlatforms;
|
|
|
161463
161801
|
BackOfficeHostingPlatforms4["GETTING_PAID"] = "GETTING_PAID";
|
|
161464
161802
|
BackOfficeHostingPlatforms4["DATA"] = "DATA";
|
|
161465
161803
|
BackOfficeHostingPlatforms4["LITE_DASHBOARD"] = "LITE_DASHBOARD";
|
|
161804
|
+
BackOfficeHostingPlatforms4["PICASSO_EDITOR"] = "PICASSO_EDITOR";
|
|
161466
161805
|
})(BackOfficeHostingPlatforms || (BackOfficeHostingPlatforms = {}));
|
|
161467
161806
|
var DtsDefinitionType;
|
|
161468
161807
|
(function(DtsDefinitionType4) {
|
|
@@ -162375,6 +162714,7 @@ var Escalation;
|
|
|
162375
162714
|
Escalation4["BLOCK_ROLLOUT"] = "BLOCK_ROLLOUT";
|
|
162376
162715
|
Escalation4["BLOCK_FUTURE_ROLLOUT"] = "BLOCK_FUTURE_ROLLOUT";
|
|
162377
162716
|
Escalation4["OPEN_BUG_SLA"] = "OPEN_BUG_SLA";
|
|
162717
|
+
Escalation4["VISIBILITY"] = "VISIBILITY";
|
|
162378
162718
|
})(Escalation || (Escalation = {}));
|
|
162379
162719
|
var ImportanceLevel;
|
|
162380
162720
|
(function(ImportanceLevel4) {
|
|
@@ -162450,16 +162790,25 @@ var CssPropertyType;
|
|
|
162450
162790
|
CssPropertyType4["backgroundSize"] = "backgroundSize";
|
|
162451
162791
|
CssPropertyType4["backgroundColor"] = "backgroundColor";
|
|
162452
162792
|
CssPropertyType4["backgroundImage"] = "backgroundImage";
|
|
162793
|
+
CssPropertyType4["backgroundClip"] = "backgroundClip";
|
|
162794
|
+
CssPropertyType4["backgroundOrigin"] = "backgroundOrigin";
|
|
162795
|
+
CssPropertyType4["backgroundPosition"] = "backgroundPosition";
|
|
162796
|
+
CssPropertyType4["backgroundRepeat"] = "backgroundRepeat";
|
|
162797
|
+
CssPropertyType4["backgroundAttachment"] = "backgroundAttachment";
|
|
162453
162798
|
CssPropertyType4["margin"] = "margin";
|
|
162454
162799
|
CssPropertyType4["marginTop"] = "marginTop";
|
|
162455
162800
|
CssPropertyType4["marginRight"] = "marginRight";
|
|
162456
162801
|
CssPropertyType4["marginBottom"] = "marginBottom";
|
|
162457
162802
|
CssPropertyType4["marginLeft"] = "marginLeft";
|
|
162803
|
+
CssPropertyType4["marginInlineStart"] = "marginInlineStart";
|
|
162804
|
+
CssPropertyType4["marginInlineEnd"] = "marginInlineEnd";
|
|
162458
162805
|
CssPropertyType4["padding"] = "padding";
|
|
162459
162806
|
CssPropertyType4["paddingTop"] = "paddingTop";
|
|
162460
162807
|
CssPropertyType4["paddingRight"] = "paddingRight";
|
|
162461
162808
|
CssPropertyType4["paddingBottom"] = "paddingBottom";
|
|
162462
162809
|
CssPropertyType4["paddingLeft"] = "paddingLeft";
|
|
162810
|
+
CssPropertyType4["paddingInlineStart"] = "paddingInlineStart";
|
|
162811
|
+
CssPropertyType4["paddingInlineEnd"] = "paddingInlineEnd";
|
|
162463
162812
|
CssPropertyType4["border"] = "border";
|
|
162464
162813
|
CssPropertyType4["borderWidth"] = "borderWidth";
|
|
162465
162814
|
CssPropertyType4["borderStyle"] = "borderStyle";
|
|
@@ -162480,11 +162829,23 @@ var CssPropertyType;
|
|
|
162480
162829
|
CssPropertyType4["borderLeftColor"] = "borderLeftColor";
|
|
162481
162830
|
CssPropertyType4["borderLeftWidth"] = "borderLeftWidth";
|
|
162482
162831
|
CssPropertyType4["borderLeftStyle"] = "borderLeftStyle";
|
|
162832
|
+
CssPropertyType4["borderInlineStart"] = "borderInlineStart";
|
|
162833
|
+
CssPropertyType4["borderInlineStartColor"] = "borderInlineStartColor";
|
|
162834
|
+
CssPropertyType4["borderInlineStartWidth"] = "borderInlineStartWidth";
|
|
162835
|
+
CssPropertyType4["borderInlineStartStyle"] = "borderInlineStartStyle";
|
|
162836
|
+
CssPropertyType4["borderInlineEnd"] = "borderInlineEnd";
|
|
162837
|
+
CssPropertyType4["borderInlineEndColor"] = "borderInlineEndColor";
|
|
162838
|
+
CssPropertyType4["borderInlineEndWidth"] = "borderInlineEndWidth";
|
|
162839
|
+
CssPropertyType4["borderInlineEndStyle"] = "borderInlineEndStyle";
|
|
162483
162840
|
CssPropertyType4["borderRadius"] = "borderRadius";
|
|
162484
162841
|
CssPropertyType4["borderTopLeftRadius"] = "borderTopLeftRadius";
|
|
162485
162842
|
CssPropertyType4["borderTopRightRadius"] = "borderTopRightRadius";
|
|
162486
162843
|
CssPropertyType4["borderBottomRightRadius"] = "borderBottomRightRadius";
|
|
162487
162844
|
CssPropertyType4["borderBottomLeftRadius"] = "borderBottomLeftRadius";
|
|
162845
|
+
CssPropertyType4["borderStartStartRadius"] = "borderStartStartRadius";
|
|
162846
|
+
CssPropertyType4["borderStartEndRadius"] = "borderStartEndRadius";
|
|
162847
|
+
CssPropertyType4["borderEndStartRadius"] = "borderEndStartRadius";
|
|
162848
|
+
CssPropertyType4["borderEndEndRadius"] = "borderEndEndRadius";
|
|
162488
162849
|
CssPropertyType4["font"] = "font";
|
|
162489
162850
|
CssPropertyType4["fontFamily"] = "fontFamily";
|
|
162490
162851
|
CssPropertyType4["fontSize"] = "fontSize";
|
|
@@ -162522,6 +162883,7 @@ var CssDataType;
|
|
|
162522
162883
|
CssDataType4["color"] = "color";
|
|
162523
162884
|
CssDataType4["angle"] = "angle";
|
|
162524
162885
|
CssDataType4["percentage"] = "percentage";
|
|
162886
|
+
CssDataType4["lengthPercentage"] = "lengthPercentage";
|
|
162525
162887
|
CssDataType4["blendMode"] = "blendMode";
|
|
162526
162888
|
})(CssDataType || (CssDataType = {}));
|
|
162527
162889
|
var DataType;
|
|
@@ -162634,6 +162996,23 @@ var ActionName;
|
|
|
162634
162996
|
ActionName4["dashboard"] = "dashboard";
|
|
162635
162997
|
ActionName4["custom"] = "custom";
|
|
162636
162998
|
})(ActionName || (ActionName = {}));
|
|
162999
|
+
var ResizeDirection;
|
|
163000
|
+
(function(ResizeDirection4) {
|
|
163001
|
+
ResizeDirection4["UNKNOWN_ResizeDirection"] = "UNKNOWN_ResizeDirection";
|
|
163002
|
+
ResizeDirection4["horizontal"] = "horizontal";
|
|
163003
|
+
ResizeDirection4["vertical"] = "vertical";
|
|
163004
|
+
ResizeDirection4["horizontalAndVertical"] = "horizontalAndVertical";
|
|
163005
|
+
ResizeDirection4["aspectRatio"] = "aspectRatio";
|
|
163006
|
+
ResizeDirection4["none"] = "none";
|
|
163007
|
+
})(ResizeDirection || (ResizeDirection = {}));
|
|
163008
|
+
var ContentResizeDirection;
|
|
163009
|
+
(function(ContentResizeDirection4) {
|
|
163010
|
+
ContentResizeDirection4["UNKNOWN_ContentResizeDirection"] = "UNKNOWN_ContentResizeDirection";
|
|
163011
|
+
ContentResizeDirection4["horizontal"] = "horizontal";
|
|
163012
|
+
ContentResizeDirection4["vertical"] = "vertical";
|
|
163013
|
+
ContentResizeDirection4["horizontalAndVertical"] = "horizontalAndVertical";
|
|
163014
|
+
ContentResizeDirection4["none"] = "none";
|
|
163015
|
+
})(ContentResizeDirection || (ContentResizeDirection = {}));
|
|
162637
163016
|
var Archetype;
|
|
162638
163017
|
(function(Archetype4) {
|
|
162639
163018
|
Archetype4["UNKNOWN_Archetype"] = "UNKNOWN_Archetype";
|
|
@@ -162709,6 +163088,7 @@ var EVENTS_DIR = join4(BACKEND_DIR, "events");
|
|
|
162709
163088
|
var SERVICE_PLUGINS_DIR = join4(BACKEND_DIR, "service-plugins");
|
|
162710
163089
|
var SITE_DIR = join4(SRC_DIR, "site");
|
|
162711
163090
|
var EMBEDDED_SCRIPTS_DIR = join4(SITE_DIR, "embedded-scripts");
|
|
163091
|
+
var SITE_COMPONENTS_DIR = join4(SITE_DIR, "components");
|
|
162712
163092
|
var SITE_WIDGETS_DIR = join4(SITE_DIR, "widgets", CUSTOM_ELEMENTS_DIR);
|
|
162713
163093
|
var SITE_PLUGINS_DIR = join4(SITE_DIR, "plugins", CUSTOM_ELEMENTS_DIR);
|
|
162714
163094
|
var BLOCKS_WIDGETS_DIR = join4(SITE_DIR, "widgets", "blocks");
|
|
@@ -163107,6 +163487,14 @@ var supportedServicePlugin = z.union([
|
|
|
163107
163487
|
z.literal(ComponentType.ECOM_PAYMENT_SETTINGS),
|
|
163108
163488
|
z.literal(ComponentType.GIFT_CARDS_PROVIDER)
|
|
163109
163489
|
]);
|
|
163490
|
+
var siteComponentConfigSchema = z.object({
|
|
163491
|
+
...baseConfig,
|
|
163492
|
+
id: z.string().uuid().describe(
|
|
163493
|
+
"The ID (GUID) is used to register the component in Wix Developers Center. The ID must be unique across all extensions in the app."
|
|
163494
|
+
),
|
|
163495
|
+
description: z.string(),
|
|
163496
|
+
editorElement: z.unknown()
|
|
163497
|
+
}).strict();
|
|
163110
163498
|
|
|
163111
163499
|
// ../dev-center-client/src/index.ts
|
|
163112
163500
|
init_esm_shims();
|
|
@@ -163209,10 +163597,22 @@ var _devCenterTestingComponentData = {
|
|
|
163209
163597
|
var _displayField = { richContentOptions: "_richContentOptions" };
|
|
163210
163598
|
var _donationInput = { description: "_richContent" };
|
|
163211
163599
|
var _dropdown = { description: "_richContent" };
|
|
163212
|
-
var _editorElement = {
|
|
163600
|
+
var _editorElement = {
|
|
163601
|
+
data: "Map#_dataItem",
|
|
163602
|
+
elements: "Map#_elementItem",
|
|
163603
|
+
presets: "Map#_presetItem",
|
|
163604
|
+
elementsDefaults: "Map#_elementDefaults"
|
|
163605
|
+
};
|
|
163213
163606
|
var _editorPresence = { presetsEditorPresence: "_presetEditorPresence" };
|
|
163214
163607
|
var _editorReactComponent = { editorElement: "_editorElement" };
|
|
163215
|
-
var
|
|
163608
|
+
var _elementDefaults = { elementsDefaults: "Map#_elementDefaults" };
|
|
163609
|
+
var _elementItem = {
|
|
163610
|
+
inlineElement: "_inlineElement",
|
|
163611
|
+
refElement: "_refElement"
|
|
163612
|
+
};
|
|
163613
|
+
var _elementStyleDefaults = {
|
|
163614
|
+
elementsStyleDefaults: "Map#_elementStyleDefaults"
|
|
163615
|
+
};
|
|
163216
163616
|
var _expectedInputs = {
|
|
163217
163617
|
expectedStartInputs: "_predefinedExpectedInput",
|
|
163218
163618
|
expectedVerifyInputs: "_predefinedExpectedInput"
|
|
@@ -163241,7 +163641,12 @@ var _getAppResponse = {
|
|
|
163241
163641
|
};
|
|
163242
163642
|
var _image = { urlExpirationDate: "google.protobuf.Timestamp" };
|
|
163243
163643
|
var _imageData = { image: "_media" };
|
|
163244
|
-
var _inlineElement = {
|
|
163644
|
+
var _inlineElement = {
|
|
163645
|
+
data: "Map#_dataItem",
|
|
163646
|
+
elements: "Map#_elementItem",
|
|
163647
|
+
presets: "Map#_presetItem",
|
|
163648
|
+
elementsDefaults: "Map#_elementDefaults"
|
|
163649
|
+
};
|
|
163245
163650
|
var _inputField = {
|
|
163246
163651
|
stringOptions: "__String",
|
|
163247
163652
|
numberOptions: "__Number",
|
|
@@ -163321,6 +163726,7 @@ var _predefinedExpectedInputConfiguration = {
|
|
|
163321
163726
|
textInput: "_adminConfigurableTextInput"
|
|
163322
163727
|
};
|
|
163323
163728
|
var _presetEditorPresence = { wixMediaThumbnail: "_commonImage" };
|
|
163729
|
+
var _presetItem = { elementsStyleDefaults: "Map#_elementStyleDefaults" };
|
|
163324
163730
|
var _pricingModel = { plans: "_plan" };
|
|
163325
163731
|
var _productCheckboxGroup = {
|
|
163326
163732
|
description: "_richContent",
|
|
@@ -163335,6 +163741,7 @@ var _queryAppRequest = {};
|
|
|
163335
163741
|
var _queryAppResponse = { apps: "_v1App" };
|
|
163336
163742
|
var _radioGroup = { description: "_richContent" };
|
|
163337
163743
|
var _ratingInput = { description: "_richContent" };
|
|
163744
|
+
var _refElement = { resolvedElement: "_inlineElement" };
|
|
163338
163745
|
var _richContent = { nodes: "_node", metadata: "_v1Metadata" };
|
|
163339
163746
|
var _richContentOptions = { richContent: "_richContent" };
|
|
163340
163747
|
var _schema = {
|
|
@@ -163687,7 +164094,9 @@ function getAppByVersion(payload4) {
|
|
|
163687
164094
|
_editorElement,
|
|
163688
164095
|
_editorPresence,
|
|
163689
164096
|
_editorReactComponent,
|
|
164097
|
+
_elementDefaults,
|
|
163690
164098
|
_elementItem,
|
|
164099
|
+
_elementStyleDefaults,
|
|
163691
164100
|
_expectedInputs,
|
|
163692
164101
|
_field,
|
|
163693
164102
|
_fileUpload,
|
|
@@ -163732,12 +164141,14 @@ function getAppByVersion(payload4) {
|
|
|
163732
164141
|
_predefinedExpectedInput,
|
|
163733
164142
|
_predefinedExpectedInputConfiguration,
|
|
163734
164143
|
_presetEditorPresence,
|
|
164144
|
+
_presetItem,
|
|
163735
164145
|
_pricingModel,
|
|
163736
164146
|
_productCheckboxGroup,
|
|
163737
164147
|
_productCheckboxGroupOption,
|
|
163738
164148
|
_propertiesType,
|
|
163739
164149
|
_radioGroup,
|
|
163740
164150
|
_ratingInput,
|
|
164151
|
+
_refElement,
|
|
163741
164152
|
_richContent,
|
|
163742
164153
|
_richContentOptions,
|
|
163743
164154
|
_schema,
|
|
@@ -164363,10 +164774,22 @@ var _discount = { saleInfo: "_saleInfo" };
|
|
|
164363
164774
|
var _displayField2 = { richContentOptions: "_richContentOptions" };
|
|
164364
164775
|
var _donationInput2 = { description: "_richContent" };
|
|
164365
164776
|
var _dropdown2 = { description: "_richContent" };
|
|
164366
|
-
var _editorElement2 = {
|
|
164777
|
+
var _editorElement2 = {
|
|
164778
|
+
data: "Map#_dataItem",
|
|
164779
|
+
elements: "Map#_elementItem",
|
|
164780
|
+
presets: "Map#_presetItem",
|
|
164781
|
+
elementsDefaults: "Map#_elementDefaults"
|
|
164782
|
+
};
|
|
164367
164783
|
var _editorPresence2 = { presetsEditorPresence: "_presetEditorPresence" };
|
|
164368
164784
|
var _editorReactComponent2 = { editorElement: "_editorElement" };
|
|
164369
|
-
var
|
|
164785
|
+
var _elementDefaults2 = { elementsDefaults: "Map#_elementDefaults" };
|
|
164786
|
+
var _elementItem2 = {
|
|
164787
|
+
inlineElement: "_inlineElement",
|
|
164788
|
+
refElement: "_refElement"
|
|
164789
|
+
};
|
|
164790
|
+
var _elementStyleDefaults2 = {
|
|
164791
|
+
elementsStyleDefaults: "Map#_elementStyleDefaults"
|
|
164792
|
+
};
|
|
164370
164793
|
var _expectedInputs2 = {
|
|
164371
164794
|
expectedStartInputs: "_predefinedExpectedInput",
|
|
164372
164795
|
expectedVerifyInputs: "_predefinedExpectedInput"
|
|
@@ -164391,7 +164814,12 @@ var _galleryData2 = { items: "_item", options: "_galleryOptions" };
|
|
|
164391
164814
|
var _galleryOptions2 = { item: "_itemStyle" };
|
|
164392
164815
|
var _image2 = { urlExpirationDate: "google.protobuf.Timestamp" };
|
|
164393
164816
|
var _imageData2 = { image: "_media" };
|
|
164394
|
-
var _inlineElement2 = {
|
|
164817
|
+
var _inlineElement2 = {
|
|
164818
|
+
data: "Map#_dataItem",
|
|
164819
|
+
elements: "Map#_elementItem",
|
|
164820
|
+
presets: "Map#_presetItem",
|
|
164821
|
+
elementsDefaults: "Map#_elementDefaults"
|
|
164822
|
+
};
|
|
164395
164823
|
var _inputField2 = {
|
|
164396
164824
|
stringOptions: "__String",
|
|
164397
164825
|
numberOptions: "__Number",
|
|
@@ -164474,6 +164902,7 @@ var _predefinedExpectedInputConfiguration2 = {
|
|
|
164474
164902
|
};
|
|
164475
164903
|
var _premiumInfo = { freeTrialData: "_freeTrialData" };
|
|
164476
164904
|
var _presetEditorPresence2 = { wixMediaThumbnail: "_commonImage" };
|
|
164905
|
+
var _presetItem2 = { elementsStyleDefaults: "Map#_elementStyleDefaults" };
|
|
164477
164906
|
var _pricingDetails = { discount: "_discount" };
|
|
164478
164907
|
var _productCheckboxGroup2 = {
|
|
164479
164908
|
description: "_richContent",
|
|
@@ -164486,6 +164915,7 @@ var _propertiesType2 = {
|
|
|
164486
164915
|
};
|
|
164487
164916
|
var _radioGroup2 = { description: "_richContent" };
|
|
164488
164917
|
var _ratingInput2 = { description: "_richContent" };
|
|
164918
|
+
var _refElement2 = { resolvedElement: "_inlineElement" };
|
|
164489
164919
|
var _richContent2 = { nodes: "_node", metadata: "_v1Metadata" };
|
|
164490
164920
|
var _richContentOptions2 = { richContent: "_richContent" };
|
|
164491
164921
|
var _saleInfo = {
|
|
@@ -164636,7 +165066,9 @@ function managedApps(payload4) {
|
|
|
164636
165066
|
_editorElement: _editorElement2,
|
|
164637
165067
|
_editorPresence: _editorPresence2,
|
|
164638
165068
|
_editorReactComponent: _editorReactComponent2,
|
|
165069
|
+
_elementDefaults: _elementDefaults2,
|
|
164639
165070
|
_elementItem: _elementItem2,
|
|
165071
|
+
_elementStyleDefaults: _elementStyleDefaults2,
|
|
164640
165072
|
_expectedInputs: _expectedInputs2,
|
|
164641
165073
|
_field: _field2,
|
|
164642
165074
|
_fileUpload: _fileUpload2,
|
|
@@ -164682,12 +165114,14 @@ function managedApps(payload4) {
|
|
|
164682
165114
|
_predefinedExpectedInputConfiguration: _predefinedExpectedInputConfiguration2,
|
|
164683
165115
|
_premiumInfo,
|
|
164684
165116
|
_presetEditorPresence: _presetEditorPresence2,
|
|
165117
|
+
_presetItem: _presetItem2,
|
|
164685
165118
|
_pricingDetails,
|
|
164686
165119
|
_productCheckboxGroup: _productCheckboxGroup2,
|
|
164687
165120
|
_productCheckboxGroupOption: _productCheckboxGroupOption2,
|
|
164688
165121
|
_propertiesType: _propertiesType2,
|
|
164689
165122
|
_radioGroup: _radioGroup2,
|
|
164690
165123
|
_ratingInput: _ratingInput2,
|
|
165124
|
+
_refElement: _refElement2,
|
|
164691
165125
|
_richContent: _richContent2,
|
|
164692
165126
|
_richContentOptions: _richContentOptions2,
|
|
164693
165127
|
_saleInfo,
|
|
@@ -164957,6 +165391,7 @@ var ComponentType2;
|
|
|
164957
165391
|
ComponentType4["STORES_PRODUCT_RESTRICTIONS"] = "STORES_PRODUCT_RESTRICTIONS";
|
|
164958
165392
|
ComponentType4["FORM_SUBMISSION_MODERATION"] = "FORM_SUBMISSION_MODERATION";
|
|
164959
165393
|
ComponentType4["EVENTS_EVENT_BADGES"] = "EVENTS_EVENT_BADGES";
|
|
165394
|
+
ComponentType4["BILLING_OPERATION"] = "BILLING_OPERATION";
|
|
164960
165395
|
})(ComponentType2 || (ComponentType2 = {}));
|
|
164961
165396
|
var WidgetVertical2;
|
|
164962
165397
|
(function(WidgetVertical4) {
|
|
@@ -165255,6 +165690,7 @@ var BackOfficeHostingPlatforms2;
|
|
|
165255
165690
|
BackOfficeHostingPlatforms4["GETTING_PAID"] = "GETTING_PAID";
|
|
165256
165691
|
BackOfficeHostingPlatforms4["DATA"] = "DATA";
|
|
165257
165692
|
BackOfficeHostingPlatforms4["LITE_DASHBOARD"] = "LITE_DASHBOARD";
|
|
165693
|
+
BackOfficeHostingPlatforms4["PICASSO_EDITOR"] = "PICASSO_EDITOR";
|
|
165258
165694
|
})(BackOfficeHostingPlatforms2 || (BackOfficeHostingPlatforms2 = {}));
|
|
165259
165695
|
var DtsDefinitionType2;
|
|
165260
165696
|
(function(DtsDefinitionType4) {
|
|
@@ -166167,6 +166603,7 @@ var Escalation2;
|
|
|
166167
166603
|
Escalation4["BLOCK_ROLLOUT"] = "BLOCK_ROLLOUT";
|
|
166168
166604
|
Escalation4["BLOCK_FUTURE_ROLLOUT"] = "BLOCK_FUTURE_ROLLOUT";
|
|
166169
166605
|
Escalation4["OPEN_BUG_SLA"] = "OPEN_BUG_SLA";
|
|
166606
|
+
Escalation4["VISIBILITY"] = "VISIBILITY";
|
|
166170
166607
|
})(Escalation2 || (Escalation2 = {}));
|
|
166171
166608
|
var ImportanceLevel2;
|
|
166172
166609
|
(function(ImportanceLevel4) {
|
|
@@ -166242,16 +166679,25 @@ var CssPropertyType2;
|
|
|
166242
166679
|
CssPropertyType4["backgroundSize"] = "backgroundSize";
|
|
166243
166680
|
CssPropertyType4["backgroundColor"] = "backgroundColor";
|
|
166244
166681
|
CssPropertyType4["backgroundImage"] = "backgroundImage";
|
|
166682
|
+
CssPropertyType4["backgroundClip"] = "backgroundClip";
|
|
166683
|
+
CssPropertyType4["backgroundOrigin"] = "backgroundOrigin";
|
|
166684
|
+
CssPropertyType4["backgroundPosition"] = "backgroundPosition";
|
|
166685
|
+
CssPropertyType4["backgroundRepeat"] = "backgroundRepeat";
|
|
166686
|
+
CssPropertyType4["backgroundAttachment"] = "backgroundAttachment";
|
|
166245
166687
|
CssPropertyType4["margin"] = "margin";
|
|
166246
166688
|
CssPropertyType4["marginTop"] = "marginTop";
|
|
166247
166689
|
CssPropertyType4["marginRight"] = "marginRight";
|
|
166248
166690
|
CssPropertyType4["marginBottom"] = "marginBottom";
|
|
166249
166691
|
CssPropertyType4["marginLeft"] = "marginLeft";
|
|
166692
|
+
CssPropertyType4["marginInlineStart"] = "marginInlineStart";
|
|
166693
|
+
CssPropertyType4["marginInlineEnd"] = "marginInlineEnd";
|
|
166250
166694
|
CssPropertyType4["padding"] = "padding";
|
|
166251
166695
|
CssPropertyType4["paddingTop"] = "paddingTop";
|
|
166252
166696
|
CssPropertyType4["paddingRight"] = "paddingRight";
|
|
166253
166697
|
CssPropertyType4["paddingBottom"] = "paddingBottom";
|
|
166254
166698
|
CssPropertyType4["paddingLeft"] = "paddingLeft";
|
|
166699
|
+
CssPropertyType4["paddingInlineStart"] = "paddingInlineStart";
|
|
166700
|
+
CssPropertyType4["paddingInlineEnd"] = "paddingInlineEnd";
|
|
166255
166701
|
CssPropertyType4["border"] = "border";
|
|
166256
166702
|
CssPropertyType4["borderWidth"] = "borderWidth";
|
|
166257
166703
|
CssPropertyType4["borderStyle"] = "borderStyle";
|
|
@@ -166272,11 +166718,23 @@ var CssPropertyType2;
|
|
|
166272
166718
|
CssPropertyType4["borderLeftColor"] = "borderLeftColor";
|
|
166273
166719
|
CssPropertyType4["borderLeftWidth"] = "borderLeftWidth";
|
|
166274
166720
|
CssPropertyType4["borderLeftStyle"] = "borderLeftStyle";
|
|
166721
|
+
CssPropertyType4["borderInlineStart"] = "borderInlineStart";
|
|
166722
|
+
CssPropertyType4["borderInlineStartColor"] = "borderInlineStartColor";
|
|
166723
|
+
CssPropertyType4["borderInlineStartWidth"] = "borderInlineStartWidth";
|
|
166724
|
+
CssPropertyType4["borderInlineStartStyle"] = "borderInlineStartStyle";
|
|
166725
|
+
CssPropertyType4["borderInlineEnd"] = "borderInlineEnd";
|
|
166726
|
+
CssPropertyType4["borderInlineEndColor"] = "borderInlineEndColor";
|
|
166727
|
+
CssPropertyType4["borderInlineEndWidth"] = "borderInlineEndWidth";
|
|
166728
|
+
CssPropertyType4["borderInlineEndStyle"] = "borderInlineEndStyle";
|
|
166275
166729
|
CssPropertyType4["borderRadius"] = "borderRadius";
|
|
166276
166730
|
CssPropertyType4["borderTopLeftRadius"] = "borderTopLeftRadius";
|
|
166277
166731
|
CssPropertyType4["borderTopRightRadius"] = "borderTopRightRadius";
|
|
166278
166732
|
CssPropertyType4["borderBottomRightRadius"] = "borderBottomRightRadius";
|
|
166279
166733
|
CssPropertyType4["borderBottomLeftRadius"] = "borderBottomLeftRadius";
|
|
166734
|
+
CssPropertyType4["borderStartStartRadius"] = "borderStartStartRadius";
|
|
166735
|
+
CssPropertyType4["borderStartEndRadius"] = "borderStartEndRadius";
|
|
166736
|
+
CssPropertyType4["borderEndStartRadius"] = "borderEndStartRadius";
|
|
166737
|
+
CssPropertyType4["borderEndEndRadius"] = "borderEndEndRadius";
|
|
166280
166738
|
CssPropertyType4["font"] = "font";
|
|
166281
166739
|
CssPropertyType4["fontFamily"] = "fontFamily";
|
|
166282
166740
|
CssPropertyType4["fontSize"] = "fontSize";
|
|
@@ -166314,6 +166772,7 @@ var CssDataType2;
|
|
|
166314
166772
|
CssDataType4["color"] = "color";
|
|
166315
166773
|
CssDataType4["angle"] = "angle";
|
|
166316
166774
|
CssDataType4["percentage"] = "percentage";
|
|
166775
|
+
CssDataType4["lengthPercentage"] = "lengthPercentage";
|
|
166317
166776
|
CssDataType4["blendMode"] = "blendMode";
|
|
166318
166777
|
})(CssDataType2 || (CssDataType2 = {}));
|
|
166319
166778
|
var DataType2;
|
|
@@ -166426,6 +166885,23 @@ var ActionName2;
|
|
|
166426
166885
|
ActionName4["dashboard"] = "dashboard";
|
|
166427
166886
|
ActionName4["custom"] = "custom";
|
|
166428
166887
|
})(ActionName2 || (ActionName2 = {}));
|
|
166888
|
+
var ResizeDirection2;
|
|
166889
|
+
(function(ResizeDirection4) {
|
|
166890
|
+
ResizeDirection4["UNKNOWN_ResizeDirection"] = "UNKNOWN_ResizeDirection";
|
|
166891
|
+
ResizeDirection4["horizontal"] = "horizontal";
|
|
166892
|
+
ResizeDirection4["vertical"] = "vertical";
|
|
166893
|
+
ResizeDirection4["horizontalAndVertical"] = "horizontalAndVertical";
|
|
166894
|
+
ResizeDirection4["aspectRatio"] = "aspectRatio";
|
|
166895
|
+
ResizeDirection4["none"] = "none";
|
|
166896
|
+
})(ResizeDirection2 || (ResizeDirection2 = {}));
|
|
166897
|
+
var ContentResizeDirection2;
|
|
166898
|
+
(function(ContentResizeDirection4) {
|
|
166899
|
+
ContentResizeDirection4["UNKNOWN_ContentResizeDirection"] = "UNKNOWN_ContentResizeDirection";
|
|
166900
|
+
ContentResizeDirection4["horizontal"] = "horizontal";
|
|
166901
|
+
ContentResizeDirection4["vertical"] = "vertical";
|
|
166902
|
+
ContentResizeDirection4["horizontalAndVertical"] = "horizontalAndVertical";
|
|
166903
|
+
ContentResizeDirection4["none"] = "none";
|
|
166904
|
+
})(ContentResizeDirection2 || (ContentResizeDirection2 = {}));
|
|
166429
166905
|
var Archetype2;
|
|
166430
166906
|
(function(Archetype4) {
|
|
166431
166907
|
Archetype4["UNKNOWN_Archetype"] = "UNKNOWN_Archetype";
|
|
@@ -166814,6 +167290,7 @@ var ComponentType3;
|
|
|
166814
167290
|
ComponentType4["STORES_PRODUCT_RESTRICTIONS"] = "STORES_PRODUCT_RESTRICTIONS";
|
|
166815
167291
|
ComponentType4["FORM_SUBMISSION_MODERATION"] = "FORM_SUBMISSION_MODERATION";
|
|
166816
167292
|
ComponentType4["EVENTS_EVENT_BADGES"] = "EVENTS_EVENT_BADGES";
|
|
167293
|
+
ComponentType4["BILLING_OPERATION"] = "BILLING_OPERATION";
|
|
166817
167294
|
})(ComponentType3 || (ComponentType3 = {}));
|
|
166818
167295
|
var WidgetVertical3;
|
|
166819
167296
|
(function(WidgetVertical4) {
|
|
@@ -167112,6 +167589,7 @@ var BackOfficeHostingPlatforms3;
|
|
|
167112
167589
|
BackOfficeHostingPlatforms4["GETTING_PAID"] = "GETTING_PAID";
|
|
167113
167590
|
BackOfficeHostingPlatforms4["DATA"] = "DATA";
|
|
167114
167591
|
BackOfficeHostingPlatforms4["LITE_DASHBOARD"] = "LITE_DASHBOARD";
|
|
167592
|
+
BackOfficeHostingPlatforms4["PICASSO_EDITOR"] = "PICASSO_EDITOR";
|
|
167115
167593
|
})(BackOfficeHostingPlatforms3 || (BackOfficeHostingPlatforms3 = {}));
|
|
167116
167594
|
var DtsDefinitionType3;
|
|
167117
167595
|
(function(DtsDefinitionType4) {
|
|
@@ -168024,6 +168502,7 @@ var Escalation3;
|
|
|
168024
168502
|
Escalation4["BLOCK_ROLLOUT"] = "BLOCK_ROLLOUT";
|
|
168025
168503
|
Escalation4["BLOCK_FUTURE_ROLLOUT"] = "BLOCK_FUTURE_ROLLOUT";
|
|
168026
168504
|
Escalation4["OPEN_BUG_SLA"] = "OPEN_BUG_SLA";
|
|
168505
|
+
Escalation4["VISIBILITY"] = "VISIBILITY";
|
|
168027
168506
|
})(Escalation3 || (Escalation3 = {}));
|
|
168028
168507
|
var ImportanceLevel3;
|
|
168029
168508
|
(function(ImportanceLevel4) {
|
|
@@ -168099,16 +168578,25 @@ var CssPropertyType3;
|
|
|
168099
168578
|
CssPropertyType4["backgroundSize"] = "backgroundSize";
|
|
168100
168579
|
CssPropertyType4["backgroundColor"] = "backgroundColor";
|
|
168101
168580
|
CssPropertyType4["backgroundImage"] = "backgroundImage";
|
|
168581
|
+
CssPropertyType4["backgroundClip"] = "backgroundClip";
|
|
168582
|
+
CssPropertyType4["backgroundOrigin"] = "backgroundOrigin";
|
|
168583
|
+
CssPropertyType4["backgroundPosition"] = "backgroundPosition";
|
|
168584
|
+
CssPropertyType4["backgroundRepeat"] = "backgroundRepeat";
|
|
168585
|
+
CssPropertyType4["backgroundAttachment"] = "backgroundAttachment";
|
|
168102
168586
|
CssPropertyType4["margin"] = "margin";
|
|
168103
168587
|
CssPropertyType4["marginTop"] = "marginTop";
|
|
168104
168588
|
CssPropertyType4["marginRight"] = "marginRight";
|
|
168105
168589
|
CssPropertyType4["marginBottom"] = "marginBottom";
|
|
168106
168590
|
CssPropertyType4["marginLeft"] = "marginLeft";
|
|
168591
|
+
CssPropertyType4["marginInlineStart"] = "marginInlineStart";
|
|
168592
|
+
CssPropertyType4["marginInlineEnd"] = "marginInlineEnd";
|
|
168107
168593
|
CssPropertyType4["padding"] = "padding";
|
|
168108
168594
|
CssPropertyType4["paddingTop"] = "paddingTop";
|
|
168109
168595
|
CssPropertyType4["paddingRight"] = "paddingRight";
|
|
168110
168596
|
CssPropertyType4["paddingBottom"] = "paddingBottom";
|
|
168111
168597
|
CssPropertyType4["paddingLeft"] = "paddingLeft";
|
|
168598
|
+
CssPropertyType4["paddingInlineStart"] = "paddingInlineStart";
|
|
168599
|
+
CssPropertyType4["paddingInlineEnd"] = "paddingInlineEnd";
|
|
168112
168600
|
CssPropertyType4["border"] = "border";
|
|
168113
168601
|
CssPropertyType4["borderWidth"] = "borderWidth";
|
|
168114
168602
|
CssPropertyType4["borderStyle"] = "borderStyle";
|
|
@@ -168129,11 +168617,23 @@ var CssPropertyType3;
|
|
|
168129
168617
|
CssPropertyType4["borderLeftColor"] = "borderLeftColor";
|
|
168130
168618
|
CssPropertyType4["borderLeftWidth"] = "borderLeftWidth";
|
|
168131
168619
|
CssPropertyType4["borderLeftStyle"] = "borderLeftStyle";
|
|
168620
|
+
CssPropertyType4["borderInlineStart"] = "borderInlineStart";
|
|
168621
|
+
CssPropertyType4["borderInlineStartColor"] = "borderInlineStartColor";
|
|
168622
|
+
CssPropertyType4["borderInlineStartWidth"] = "borderInlineStartWidth";
|
|
168623
|
+
CssPropertyType4["borderInlineStartStyle"] = "borderInlineStartStyle";
|
|
168624
|
+
CssPropertyType4["borderInlineEnd"] = "borderInlineEnd";
|
|
168625
|
+
CssPropertyType4["borderInlineEndColor"] = "borderInlineEndColor";
|
|
168626
|
+
CssPropertyType4["borderInlineEndWidth"] = "borderInlineEndWidth";
|
|
168627
|
+
CssPropertyType4["borderInlineEndStyle"] = "borderInlineEndStyle";
|
|
168132
168628
|
CssPropertyType4["borderRadius"] = "borderRadius";
|
|
168133
168629
|
CssPropertyType4["borderTopLeftRadius"] = "borderTopLeftRadius";
|
|
168134
168630
|
CssPropertyType4["borderTopRightRadius"] = "borderTopRightRadius";
|
|
168135
168631
|
CssPropertyType4["borderBottomRightRadius"] = "borderBottomRightRadius";
|
|
168136
168632
|
CssPropertyType4["borderBottomLeftRadius"] = "borderBottomLeftRadius";
|
|
168633
|
+
CssPropertyType4["borderStartStartRadius"] = "borderStartStartRadius";
|
|
168634
|
+
CssPropertyType4["borderStartEndRadius"] = "borderStartEndRadius";
|
|
168635
|
+
CssPropertyType4["borderEndStartRadius"] = "borderEndStartRadius";
|
|
168636
|
+
CssPropertyType4["borderEndEndRadius"] = "borderEndEndRadius";
|
|
168137
168637
|
CssPropertyType4["font"] = "font";
|
|
168138
168638
|
CssPropertyType4["fontFamily"] = "fontFamily";
|
|
168139
168639
|
CssPropertyType4["fontSize"] = "fontSize";
|
|
@@ -168171,6 +168671,7 @@ var CssDataType3;
|
|
|
168171
168671
|
CssDataType4["color"] = "color";
|
|
168172
168672
|
CssDataType4["angle"] = "angle";
|
|
168173
168673
|
CssDataType4["percentage"] = "percentage";
|
|
168674
|
+
CssDataType4["lengthPercentage"] = "lengthPercentage";
|
|
168174
168675
|
CssDataType4["blendMode"] = "blendMode";
|
|
168175
168676
|
})(CssDataType3 || (CssDataType3 = {}));
|
|
168176
168677
|
var DataType3;
|
|
@@ -168283,6 +168784,23 @@ var ActionName3;
|
|
|
168283
168784
|
ActionName4["dashboard"] = "dashboard";
|
|
168284
168785
|
ActionName4["custom"] = "custom";
|
|
168285
168786
|
})(ActionName3 || (ActionName3 = {}));
|
|
168787
|
+
var ResizeDirection3;
|
|
168788
|
+
(function(ResizeDirection4) {
|
|
168789
|
+
ResizeDirection4["UNKNOWN_ResizeDirection"] = "UNKNOWN_ResizeDirection";
|
|
168790
|
+
ResizeDirection4["horizontal"] = "horizontal";
|
|
168791
|
+
ResizeDirection4["vertical"] = "vertical";
|
|
168792
|
+
ResizeDirection4["horizontalAndVertical"] = "horizontalAndVertical";
|
|
168793
|
+
ResizeDirection4["aspectRatio"] = "aspectRatio";
|
|
168794
|
+
ResizeDirection4["none"] = "none";
|
|
168795
|
+
})(ResizeDirection3 || (ResizeDirection3 = {}));
|
|
168796
|
+
var ContentResizeDirection3;
|
|
168797
|
+
(function(ContentResizeDirection4) {
|
|
168798
|
+
ContentResizeDirection4["UNKNOWN_ContentResizeDirection"] = "UNKNOWN_ContentResizeDirection";
|
|
168799
|
+
ContentResizeDirection4["horizontal"] = "horizontal";
|
|
168800
|
+
ContentResizeDirection4["vertical"] = "vertical";
|
|
168801
|
+
ContentResizeDirection4["horizontalAndVertical"] = "horizontalAndVertical";
|
|
168802
|
+
ContentResizeDirection4["none"] = "none";
|
|
168803
|
+
})(ContentResizeDirection3 || (ContentResizeDirection3 = {}));
|
|
168286
168804
|
var Archetype3;
|
|
168287
168805
|
(function(Archetype4) {
|
|
168288
168806
|
Archetype4["UNKNOWN_Archetype"] = "UNKNOWN_Archetype";
|
|
@@ -168924,19 +169442,19 @@ var DevCenterClient = class {
|
|
|
168924
169442
|
|
|
168925
169443
|
// ../dev-center-client/src/useDevCenterClient.ts
|
|
168926
169444
|
init_esm_shims();
|
|
168927
|
-
var
|
|
169445
|
+
var import_react96 = __toESM(require_react(), 1);
|
|
168928
169446
|
|
|
168929
169447
|
// ../cli-http-client-react/src/index.ts
|
|
168930
169448
|
init_esm_shims();
|
|
168931
169449
|
|
|
168932
169450
|
// ../cli-http-client-react/src/useHttpClient.ts
|
|
168933
169451
|
init_esm_shims();
|
|
168934
|
-
var
|
|
169452
|
+
var import_react95 = __toESM(require_react(), 1);
|
|
168935
169453
|
function useHttpClient({
|
|
168936
169454
|
type
|
|
168937
169455
|
}) {
|
|
168938
169456
|
const { getAccessToken: getAppToken, getRequestHeaders: createHeaders2 } = useAuth();
|
|
168939
|
-
return (0,
|
|
169457
|
+
return (0, import_react95.useMemo)(
|
|
168940
169458
|
() => createHttpClient({ type, getAppToken, createHeaders: createHeaders2 }),
|
|
168941
169459
|
[type, getAppToken, createHeaders2]
|
|
168942
169460
|
);
|
|
@@ -168945,7 +169463,7 @@ function useHttpClient({
|
|
|
168945
169463
|
// ../dev-center-client/src/useDevCenterClient.ts
|
|
168946
169464
|
function useDevCenterClient() {
|
|
168947
169465
|
const httpClient = useHttpClient({ type: "backoffice" });
|
|
168948
|
-
return (0,
|
|
169466
|
+
return (0, import_react96.useMemo)(() => new DevCenterClient(httpClient), [httpClient]);
|
|
168949
169467
|
}
|
|
168950
169468
|
|
|
168951
169469
|
// src/hosting/hosting-service.ts
|
|
@@ -169028,7 +169546,7 @@ import { createReadStream, statSync } from "fs";
|
|
|
169028
169546
|
|
|
169029
169547
|
// ../../node_modules/@wix/app-cloud-uploader/node_modules/p-retry/index.js
|
|
169030
169548
|
init_esm_shims();
|
|
169031
|
-
var import_retry2 = __toESM(
|
|
169549
|
+
var import_retry2 = __toESM(require_retry4(), 1);
|
|
169032
169550
|
var networkErrorMsgs = /* @__PURE__ */ new Set([
|
|
169033
169551
|
"Failed to fetch",
|
|
169034
169552
|
// Chrome
|
|
@@ -170657,7 +171175,7 @@ var uploadApplication = async (appId, projectFolder, biLogger, httpClient, hasBa
|
|
|
170657
171175
|
|
|
170658
171176
|
// src/model.tsx
|
|
170659
171177
|
init_esm_shims();
|
|
170660
|
-
var
|
|
171178
|
+
var import_react99 = __toESM(require_react(), 1);
|
|
170661
171179
|
|
|
170662
171180
|
// src/files/wix.config.ts
|
|
170663
171181
|
init_esm_shims();
|
|
@@ -171351,16 +171869,16 @@ function createEmbeddedScriptFolderValidation(embeddedScripts) {
|
|
|
171351
171869
|
|
|
171352
171870
|
// src/dev-center/components/validations/custom-element.ts
|
|
171353
171871
|
init_esm_shims();
|
|
171354
|
-
var
|
|
171872
|
+
var import_react98 = __toESM(require_react(), 1);
|
|
171355
171873
|
|
|
171356
171874
|
// src/components/extensions/useExtensions.tsx
|
|
171357
171875
|
init_esm_shims();
|
|
171358
|
-
var
|
|
171876
|
+
var import_react97 = __toESM(require_react(), 1);
|
|
171359
171877
|
var import_variant27 = __toESM(require_lib(), 1);
|
|
171360
171878
|
var _DevCenterComponentTypes = (0, import_variant27.typeCatalog)(DevCenterComponent);
|
|
171361
171879
|
function useExtensions() {
|
|
171362
171880
|
const { model } = useProjectModel();
|
|
171363
|
-
const extensionsByType = (0,
|
|
171881
|
+
const extensionsByType = (0, import_react97.useMemo)(() => {
|
|
171364
171882
|
const extensionsMap = model.components.reduce(
|
|
171365
171883
|
(acc, component) => {
|
|
171366
171884
|
acc[component.type].push(component);
|
|
@@ -171383,7 +171901,8 @@ function useExtensions() {
|
|
|
171383
171901
|
Event: [],
|
|
171384
171902
|
ServicePlugin: [],
|
|
171385
171903
|
SitePlugin: [],
|
|
171386
|
-
Monitoring: []
|
|
171904
|
+
Monitoring: [],
|
|
171905
|
+
SiteComponent: []
|
|
171387
171906
|
}
|
|
171388
171907
|
);
|
|
171389
171908
|
extensionsMap.DashboardPage = extensionsMap.DashboardPage.sort(
|
|
@@ -171391,7 +171910,7 @@ function useExtensions() {
|
|
|
171391
171910
|
);
|
|
171392
171911
|
return extensionsMap;
|
|
171393
171912
|
}, [model.components]);
|
|
171394
|
-
const dashboardExtensions = (0,
|
|
171913
|
+
const dashboardExtensions = (0, import_react97.useMemo)(
|
|
171395
171914
|
() => [
|
|
171396
171915
|
...extensionsByType.DashboardPage,
|
|
171397
171916
|
...extensionsByType.DashboardMenuPlugin,
|
|
@@ -171400,11 +171919,11 @@ function useExtensions() {
|
|
|
171400
171919
|
],
|
|
171401
171920
|
[extensionsByType]
|
|
171402
171921
|
);
|
|
171403
|
-
const hasExtensions = (0,
|
|
171922
|
+
const hasExtensions = (0, import_react97.useCallback)(
|
|
171404
171923
|
(extensionType) => extensionType ? extensionsByType[extensionType].length > 0 : model.components.length > 0,
|
|
171405
171924
|
[extensionsByType, model.components]
|
|
171406
171925
|
);
|
|
171407
|
-
const getExtensions = (0,
|
|
171926
|
+
const getExtensions = (0, import_react97.useCallback)(
|
|
171408
171927
|
(extensionType) => extensionsByType[extensionType],
|
|
171409
171928
|
[extensionsByType]
|
|
171410
171929
|
);
|
|
@@ -171483,7 +172002,7 @@ var useCustomElementDirectoryValidation = (extensionType) => {
|
|
|
171483
172002
|
]
|
|
171484
172003
|
])
|
|
171485
172004
|
);
|
|
171486
|
-
return (0,
|
|
172005
|
+
return (0, import_react98.useCallback)(validation, [validation]);
|
|
171487
172006
|
};
|
|
171488
172007
|
var useCustomElementNameValidation = () => {
|
|
171489
172008
|
const { t: t3 } = useTranslation();
|
|
@@ -171495,7 +172014,7 @@ var useCustomElementNameValidation = () => {
|
|
|
171495
172014
|
]
|
|
171496
172015
|
])
|
|
171497
172016
|
);
|
|
171498
|
-
return (0,
|
|
172017
|
+
return (0, import_react98.useCallback)(validation, [validation]);
|
|
171499
172018
|
};
|
|
171500
172019
|
|
|
171501
172020
|
// src/dev-center/components/backend/config.ts
|
|
@@ -171910,6 +172429,42 @@ function virtualBlocksWidgetScriptAssets(model) {
|
|
|
171910
172429
|
])
|
|
171911
172430
|
);
|
|
171912
172431
|
}
|
|
172432
|
+
function virtualModuleIdForSiteComponentScriptAsset(componentId) {
|
|
172433
|
+
return `wix/scripts/site-components/${componentId}/index.js`;
|
|
172434
|
+
}
|
|
172435
|
+
function virtualSiteComponentScriptAssets(model) {
|
|
172436
|
+
return new Map(
|
|
172437
|
+
model.components.filter((0, import_variant28.isType)(DevCenterComponent.SiteComponent)).map((comp) => [
|
|
172438
|
+
virtualModuleIdForSiteComponentScriptAsset(comp.id),
|
|
172439
|
+
comp
|
|
172440
|
+
])
|
|
172441
|
+
);
|
|
172442
|
+
}
|
|
172443
|
+
async function loadSiteComponentConfig(projectFolder, relativePath) {
|
|
172444
|
+
const configRelativePath = replaceExtension(relativePath, "json");
|
|
172445
|
+
const configPath = join9(projectFolder, configRelativePath);
|
|
172446
|
+
const isConfigExist = await pathExists(configPath);
|
|
172447
|
+
if (!isConfigExist) {
|
|
172448
|
+
throw new CliError({
|
|
172449
|
+
code: CliErrorCode.SiteComponentConfigNotFound({
|
|
172450
|
+
configPath: configRelativePath
|
|
172451
|
+
}),
|
|
172452
|
+
cause: null
|
|
172453
|
+
});
|
|
172454
|
+
}
|
|
172455
|
+
const config = await readJson(configPath);
|
|
172456
|
+
const parsedConfig = siteComponentConfigSchema.safeParse(config);
|
|
172457
|
+
if (parsedConfig.success) {
|
|
172458
|
+
return parsedConfig.data;
|
|
172459
|
+
}
|
|
172460
|
+
throw new CliError({
|
|
172461
|
+
code: CliErrorCode.InvalidConfigSchemaError({
|
|
172462
|
+
configPath: configRelativePath,
|
|
172463
|
+
zodError: parsedConfig.error
|
|
172464
|
+
}),
|
|
172465
|
+
cause: parsedConfig.error
|
|
172466
|
+
});
|
|
172467
|
+
}
|
|
171913
172468
|
async function loadEmbeddedScriptParamsOverride(embeddedScriptPath) {
|
|
171914
172469
|
const paramsOverridePath = join9(
|
|
171915
172470
|
dirname3(embeddedScriptPath),
|
|
@@ -171939,6 +172494,11 @@ var EMBEDDED_SCRIPTS_PATTERN = join10(
|
|
|
171939
172494
|
"**",
|
|
171940
172495
|
"embedded.html"
|
|
171941
172496
|
);
|
|
172497
|
+
var SITE_COMPONENTS_PATTERN = join10(
|
|
172498
|
+
SITE_COMPONENTS_DIR,
|
|
172499
|
+
"**",
|
|
172500
|
+
"component.{ts,tsx,js,jsx}"
|
|
172501
|
+
);
|
|
171942
172502
|
var SITE_WIDGETS_ELEMENT_PATTERN = join10(
|
|
171943
172503
|
SITE_WIDGETS_DIR,
|
|
171944
172504
|
"**",
|
|
@@ -172046,11 +172606,11 @@ var BLOCKS_WIDGETS_PANELS_PATTERN = join10(
|
|
|
172046
172606
|
"**",
|
|
172047
172607
|
BLOCKS_WIDGETS_PANEL_PATTERN
|
|
172048
172608
|
);
|
|
172049
|
-
var
|
|
172609
|
+
var BLOCKS_WIDGET_API_PATTERN = "api.{ts,js}";
|
|
172050
172610
|
async function loadBlocksWidgetAndPanels(blocksWidgetPath) {
|
|
172051
172611
|
const { dir: blocksWidgetFolderPath } = parse5(blocksWidgetPath);
|
|
172052
172612
|
const blocksWidgetConfig = await loadBlocksWidgetComponentConfig(blocksWidgetPath);
|
|
172053
|
-
const blocksWidgetAPIPath = (await globby2(normalizeGlobbyPattern(
|
|
172613
|
+
const blocksWidgetAPIPath = (await globby2(normalizeGlobbyPattern(BLOCKS_WIDGET_API_PATTERN), {
|
|
172054
172614
|
cwd: blocksWidgetFolderPath
|
|
172055
172615
|
}))[0];
|
|
172056
172616
|
if (!blocksWidgetAPIPath) {
|
|
@@ -172240,6 +172800,22 @@ async function loadSitePluginComponents(projectFolder, wixDependencies) {
|
|
|
172240
172800
|
}
|
|
172241
172801
|
return sitePlugins;
|
|
172242
172802
|
}
|
|
172803
|
+
async function loadSiteComponent(projectFolder, relativePath) {
|
|
172804
|
+
const config = await loadSiteComponentConfig(projectFolder, relativePath);
|
|
172805
|
+
return DevCenterComponent.SiteComponent({
|
|
172806
|
+
...config,
|
|
172807
|
+
relativePath,
|
|
172808
|
+
platforms: [PlatformType.Editor(), PlatformType.Site()]
|
|
172809
|
+
});
|
|
172810
|
+
}
|
|
172811
|
+
async function loadSiteComponents(projectFolder) {
|
|
172812
|
+
const paths = await globby2(normalizeGlobbyPattern(SITE_COMPONENTS_PATTERN), {
|
|
172813
|
+
cwd: projectFolder
|
|
172814
|
+
});
|
|
172815
|
+
return await Promise.all(
|
|
172816
|
+
paths.map((pagePath) => loadSiteComponent(projectFolder, pagePath))
|
|
172817
|
+
);
|
|
172818
|
+
}
|
|
172243
172819
|
|
|
172244
172820
|
// src/dev-center/components/site/frontend-dependencies.ts
|
|
172245
172821
|
init_esm_shims();
|
|
@@ -172435,7 +173011,8 @@ async function loadDevCenterComponents({
|
|
|
172435
173011
|
webMethod,
|
|
172436
173012
|
servicePlugins,
|
|
172437
173013
|
events,
|
|
172438
|
-
monitoringComponent
|
|
173014
|
+
monitoringComponent,
|
|
173015
|
+
siteComponents
|
|
172439
173016
|
] = await Promise.all([
|
|
172440
173017
|
loadDashboardPageComponents(projectFolder),
|
|
172441
173018
|
loadDashboardPluginComponents(projectFolder),
|
|
@@ -172449,7 +173026,8 @@ async function loadDevCenterComponents({
|
|
|
172449
173026
|
loadBackendWebMethods(projectFolder),
|
|
172450
173027
|
loadServicePlugins(projectFolder),
|
|
172451
173028
|
loadBackendEvents(projectFolder),
|
|
172452
|
-
loadMonitoringComponent(projectFolder, config)
|
|
173029
|
+
loadMonitoringComponent(projectFolder, config),
|
|
173030
|
+
loadSiteComponents(projectFolder)
|
|
172453
173031
|
]);
|
|
172454
173032
|
const dashboardSidebarCategories = loadDashboardSidebarCategoryComponent(config);
|
|
172455
173033
|
const hasBackendComponents = apis.length + servicePlugins.length + events.length > 0;
|
|
@@ -172469,7 +173047,8 @@ async function loadDevCenterComponents({
|
|
|
172469
173047
|
...topologyComponent,
|
|
172470
173048
|
...sitePlugins,
|
|
172471
173049
|
...monitoringComponent,
|
|
172472
|
-
...blocksComponents
|
|
173050
|
+
...blocksComponents,
|
|
173051
|
+
...siteComponents
|
|
172473
173052
|
];
|
|
172474
173053
|
}
|
|
172475
173054
|
|
|
@@ -173002,11 +173581,11 @@ async function loadProjectModel(projectFolder) {
|
|
|
173002
173581
|
})
|
|
173003
173582
|
};
|
|
173004
173583
|
}
|
|
173005
|
-
var ProjectModelContext = (0,
|
|
173584
|
+
var ProjectModelContext = (0, import_react99.createContext)(null);
|
|
173006
173585
|
var ProjectModelProvider = (props) => {
|
|
173007
173586
|
const { reportError } = useErrorReporter();
|
|
173008
|
-
const [model, setModel] = (0,
|
|
173009
|
-
const [watcher] = (0,
|
|
173587
|
+
const [model, setModel] = (0, import_react99.useState)(props.value);
|
|
173588
|
+
const [watcher] = (0, import_react99.useState)(() => {
|
|
173010
173589
|
const watcher2 = new ProjectModelWatcher(model);
|
|
173011
173590
|
if (props.watchForChanges === true) {
|
|
173012
173591
|
watcher2.watch().onChange((newModel, changeType) => {
|
|
@@ -173017,15 +173596,15 @@ var ProjectModelProvider = (props) => {
|
|
|
173017
173596
|
}
|
|
173018
173597
|
return watcher2;
|
|
173019
173598
|
});
|
|
173020
|
-
(0,
|
|
173599
|
+
(0, import_react99.useEffect)(() => {
|
|
173021
173600
|
return () => {
|
|
173022
173601
|
watcher.close().catch(reportError);
|
|
173023
173602
|
};
|
|
173024
173603
|
}, [watcher, reportError]);
|
|
173025
|
-
return /* @__PURE__ */
|
|
173604
|
+
return /* @__PURE__ */ import_react99.default.createElement(ProjectModelContext.Provider, { value: { model, watcher } }, props.children);
|
|
173026
173605
|
};
|
|
173027
173606
|
function useProjectModel() {
|
|
173028
|
-
const context = (0,
|
|
173607
|
+
const context = (0, import_react99.useContext)(ProjectModelContext);
|
|
173029
173608
|
if (context == null) {
|
|
173030
173609
|
throw new Error(
|
|
173031
173610
|
"useProjectModel() cannot be used without an <ProjectModelProvider>"
|
|
@@ -173049,6 +173628,7 @@ export {
|
|
|
173049
173628
|
isCliSystemError,
|
|
173050
173629
|
require_ms,
|
|
173051
173630
|
require_supports_color,
|
|
173631
|
+
require_src,
|
|
173052
173632
|
require_index_node,
|
|
173053
173633
|
isHttpError,
|
|
173054
173634
|
z,
|
|
@@ -173080,13 +173660,12 @@ export {
|
|
|
173080
173660
|
use_input_default,
|
|
173081
173661
|
Text2 as Text,
|
|
173082
173662
|
InputState,
|
|
173083
|
-
InfoIcon,
|
|
173084
173663
|
PointerIcon,
|
|
173085
173664
|
PointerSmallIcon,
|
|
173086
|
-
SuccessIcon,
|
|
173087
173665
|
Learn,
|
|
173088
173666
|
Cart,
|
|
173089
173667
|
Statistics,
|
|
173668
|
+
Rocket,
|
|
173090
173669
|
InputLabel,
|
|
173091
173670
|
ConfirmInput,
|
|
173092
173671
|
SelectOptionAvailability,
|
|
@@ -173222,6 +173801,9 @@ export {
|
|
|
173222
173801
|
virtualModuleIdForBlocksComponentScriptAsset,
|
|
173223
173802
|
virtualBlocksWidgetPanelScriptAssets,
|
|
173224
173803
|
virtualBlocksWidgetScriptAssets,
|
|
173804
|
+
virtualModuleIdForSiteComponentScriptAsset,
|
|
173805
|
+
virtualSiteComponentScriptAssets,
|
|
173806
|
+
SITE_COMPONENTS_PATTERN,
|
|
173225
173807
|
SITE_WIDGETS_ELEMENT_PATTERN,
|
|
173226
173808
|
SITE_WIDGETS_PANEL_PATTERN,
|
|
173227
173809
|
SITE_PLUGINS_PLUGIN_PATTERN,
|
|
@@ -173413,4 +173995,4 @@ mustache/mustache.mjs:
|
|
|
173413
173995
|
* http://github.com/janl/mustache.js
|
|
173414
173996
|
*)
|
|
173415
173997
|
*/
|
|
173416
|
-
//# sourceMappingURL=chunk-
|
|
173998
|
+
//# sourceMappingURL=chunk-ZLLXHWZF.js.map
|