@wix/create-app 0.0.130 → 0.0.132
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/index.js +490 -205
- package/build/index.js.map +1 -1
- package/package.json +3 -2
package/build/index.js
CHANGED
|
@@ -47340,7 +47340,7 @@ var require_front_matter = __commonJS({
|
|
|
47340
47340
|
|
|
47341
47341
|
// src/index.tsx
|
|
47342
47342
|
init_esm_shims();
|
|
47343
|
-
var
|
|
47343
|
+
var import_react118 = __toESM(require_react(), 1);
|
|
47344
47344
|
import { cwd as cwd2 } from "node:process";
|
|
47345
47345
|
|
|
47346
47346
|
// ../cli-telemetry-react/src/index.ts
|
|
@@ -58116,7 +58116,8 @@ var CliUserErrorCode = (0, import_variant11.variant)({
|
|
|
58116
58116
|
ProjectIsAlreadyLinked: {},
|
|
58117
58117
|
ProjectIsNotLinkable: {},
|
|
58118
58118
|
MissingPresetCssForSiteComponent: (0, import_variant11.fields)(),
|
|
58119
|
-
AppInstallerSiteNotFound: (0, import_variant11.fields)()
|
|
58119
|
+
AppInstallerSiteNotFound: (0, import_variant11.fields)(),
|
|
58120
|
+
EAccessPermissionDenied: {}
|
|
58120
58121
|
});
|
|
58121
58122
|
var CliErrorCode = (0, import_variant11.variant)({
|
|
58122
58123
|
...CliSystemErrorCode,
|
|
@@ -58427,12 +58428,22 @@ function fixHostExceptions(host) {
|
|
|
58427
58428
|
}
|
|
58428
58429
|
function resolveMappingsByDomain(domain, domainToMappings) {
|
|
58429
58430
|
const mappings = domainToMappings[domain] || domainToMappings[USER_DOMAIN];
|
|
58430
|
-
if (
|
|
58431
|
+
if (mappings) {
|
|
58432
|
+
return mappings;
|
|
58433
|
+
}
|
|
58434
|
+
const rootDomainMappings = resolveRootDomain(domain, domainToMappings);
|
|
58435
|
+
if (!rootDomainMappings) {
|
|
58431
58436
|
if (isBaseDomain(domain)) {
|
|
58432
58437
|
return domainToMappings[wwwBaseDomain];
|
|
58433
58438
|
}
|
|
58434
58439
|
}
|
|
58435
|
-
return
|
|
58440
|
+
return rootDomainMappings ?? [];
|
|
58441
|
+
}
|
|
58442
|
+
function resolveRootDomain(domain, domainToMappings) {
|
|
58443
|
+
return Object.entries(domainToMappings).find(([entryDomain]) => {
|
|
58444
|
+
const [_2, ...rooDomainSegments] = domain.split(".");
|
|
58445
|
+
return rooDomainSegments.join(".") === entryDomain;
|
|
58446
|
+
})?.[1];
|
|
58436
58447
|
}
|
|
58437
58448
|
function resolvePath(protoPath, mappings) {
|
|
58438
58449
|
const mapping = mappings?.find((m) => protoPath.startsWith(m.destPath));
|
|
@@ -68786,6 +68797,15 @@ ${errorMessage2}`
|
|
|
68786
68797
|
}
|
|
68787
68798
|
);
|
|
68788
68799
|
},
|
|
68800
|
+
EAccessPermissionDenied: () => {
|
|
68801
|
+
return () => /* @__PURE__ */ import_react77.default.createElement(
|
|
68802
|
+
ErrorMessage,
|
|
68803
|
+
{
|
|
68804
|
+
message: `Wix CLI doesn't have enough permission to modify files.`,
|
|
68805
|
+
cause
|
|
68806
|
+
}
|
|
68807
|
+
);
|
|
68808
|
+
},
|
|
68789
68809
|
FailedToCreateShareUrl: () => {
|
|
68790
68810
|
return () => /* @__PURE__ */ import_react77.default.createElement(SystemErrorMessage, { message: "Failed to create preview URL." });
|
|
68791
68811
|
},
|
|
@@ -72035,12 +72055,66 @@ function getErrorLogFilePath(cwd3) {
|
|
|
72035
72055
|
return join5(cwd3, ERROR_LOG_FILENAME);
|
|
72036
72056
|
}
|
|
72037
72057
|
|
|
72058
|
+
// ../cli-http-client-react/src/index.ts
|
|
72059
|
+
init_esm_shims();
|
|
72060
|
+
|
|
72061
|
+
// ../cli-http-client-react/src/useHttpClient.ts
|
|
72062
|
+
init_esm_shims();
|
|
72063
|
+
var import_react92 = __toESM(require_react(), 1);
|
|
72064
|
+
|
|
72065
|
+
// ../cli-http-client-react/src/httpClientProvider.tsx
|
|
72066
|
+
init_esm_shims();
|
|
72067
|
+
var import_react91 = __toESM(require_react(), 1);
|
|
72068
|
+
var HttpClientContext = (0, import_react91.createContext)(null);
|
|
72069
|
+
var HttpClientProvider = ({
|
|
72070
|
+
children,
|
|
72071
|
+
headers
|
|
72072
|
+
}) => {
|
|
72073
|
+
return /* @__PURE__ */ import_react91.default.createElement(HttpClientContext.Provider, { value: { headers } }, children);
|
|
72074
|
+
};
|
|
72075
|
+
|
|
72076
|
+
// ../cli-http-client-react/src/useHttpClient.ts
|
|
72077
|
+
function useHttpClient({
|
|
72078
|
+
type
|
|
72079
|
+
}) {
|
|
72080
|
+
const context2 = (0, import_react92.useContext)(HttpClientContext);
|
|
72081
|
+
const { getAccessToken: getAppToken, getRequestHeaders: createAuthHeaders } = useAuth();
|
|
72082
|
+
return (0, import_react92.useMemo)(
|
|
72083
|
+
() => createHttpClient({
|
|
72084
|
+
type,
|
|
72085
|
+
getAppToken,
|
|
72086
|
+
createHeaders: () => ({
|
|
72087
|
+
...createAuthHeaders?.(),
|
|
72088
|
+
...context2?.headers
|
|
72089
|
+
})
|
|
72090
|
+
}),
|
|
72091
|
+
[type, getAppToken, createAuthHeaders, context2]
|
|
72092
|
+
);
|
|
72093
|
+
}
|
|
72094
|
+
|
|
72095
|
+
// ../cli-http-client-react/src/buildHttpClientHeaders.ts
|
|
72096
|
+
init_esm_shims();
|
|
72097
|
+
var buildHttpClientHeaders = ({
|
|
72098
|
+
flow,
|
|
72099
|
+
command,
|
|
72100
|
+
cliVersion
|
|
72101
|
+
}) => {
|
|
72102
|
+
const buildWixBiGatewayHeader = (flow2, command2, cliVersion2) => [
|
|
72103
|
+
`environment=CLI-${flow2}`,
|
|
72104
|
+
`package-version=${cliVersion2}`,
|
|
72105
|
+
`package-name=${command2}`
|
|
72106
|
+
].join(",");
|
|
72107
|
+
return {
|
|
72108
|
+
"x-wix-bi-gateway": buildWixBiGatewayHeader(flow, command, cliVersion)
|
|
72109
|
+
};
|
|
72110
|
+
};
|
|
72111
|
+
|
|
72038
72112
|
// src/bi/index.ts
|
|
72039
72113
|
init_esm_shims();
|
|
72040
72114
|
|
|
72041
72115
|
// src/bi/useCreateAppBi.ts
|
|
72042
72116
|
init_esm_shims();
|
|
72043
|
-
var
|
|
72117
|
+
var import_react93 = __toESM(require_react(), 1);
|
|
72044
72118
|
|
|
72045
72119
|
// src/bi/events.ts
|
|
72046
72120
|
init_esm_shims();
|
|
@@ -72096,7 +72170,7 @@ var createAppBiEvents = (biLogger) => ({
|
|
|
72096
72170
|
// src/bi/useCreateAppBi.ts
|
|
72097
72171
|
function useCreateAppBi() {
|
|
72098
72172
|
const biLogger = useBiLogger();
|
|
72099
|
-
return (0,
|
|
72173
|
+
return (0, import_react93.useMemo)(() => createAppBiEvents(biLogger), [biLogger]);
|
|
72100
72174
|
}
|
|
72101
72175
|
|
|
72102
72176
|
// src/bi/createBiLogger.ts
|
|
@@ -72334,7 +72408,7 @@ function reportCommandStartEvent({
|
|
|
72334
72408
|
var package_default = {
|
|
72335
72409
|
name: "@wix/create-app",
|
|
72336
72410
|
description: "Create Wix apps",
|
|
72337
|
-
version: "0.0.
|
|
72411
|
+
version: "0.0.132",
|
|
72338
72412
|
author: "Ihor Machuzhak",
|
|
72339
72413
|
bin: "bin/index.cjs",
|
|
72340
72414
|
devDependencies: {
|
|
@@ -72349,6 +72423,7 @@ var package_default = {
|
|
|
72349
72423
|
"@wix/cli-error": "workspace:*",
|
|
72350
72424
|
"@wix/cli-error-reporting": "workspace:*",
|
|
72351
72425
|
"@wix/cli-fs": "workspace:*",
|
|
72426
|
+
"@wix/cli-http-client-react": "workspace:*",
|
|
72352
72427
|
"@wix/cli-i18n": "workspace:*",
|
|
72353
72428
|
"@wix/cli-telemetry": "workspace:*",
|
|
72354
72429
|
"@wix/cli-telemetry-react": "workspace:*",
|
|
@@ -72463,7 +72538,7 @@ var createBiLogger2 = async (errorReporter2, userId) => {
|
|
|
72463
72538
|
|
|
72464
72539
|
// src/components/CreateAppCommand.tsx
|
|
72465
72540
|
init_esm_shims();
|
|
72466
|
-
var
|
|
72541
|
+
var import_react117 = __toESM(require_react(), 1);
|
|
72467
72542
|
var import_variant43 = __toESM(require_lib(), 1);
|
|
72468
72543
|
|
|
72469
72544
|
// ../package-manager/src/index.ts
|
|
@@ -74453,10 +74528,10 @@ async function getPackageManagerName(repoType) {
|
|
|
74453
74528
|
|
|
74454
74529
|
// src/components/WelcomeMessage.tsx
|
|
74455
74530
|
init_esm_shims();
|
|
74456
|
-
var
|
|
74531
|
+
var import_react94 = __toESM(require_react(), 1);
|
|
74457
74532
|
var WelcomeMessage = () => {
|
|
74458
74533
|
const { t: t3 } = useTranslation();
|
|
74459
|
-
return /* @__PURE__ */
|
|
74534
|
+
return /* @__PURE__ */ import_react94.default.createElement(Box_default, { flexDirection: "column", marginBottom: 1, paddingTop: 1 }, /* @__PURE__ */ import_react94.default.createElement(Text2, { bold: true }, t3("create_app.create_wix_app")));
|
|
74460
74535
|
};
|
|
74461
74536
|
|
|
74462
74537
|
// src/validations/index.ts
|
|
@@ -75716,33 +75791,33 @@ function validateAppName(value2) {
|
|
|
75716
75791
|
|
|
75717
75792
|
// src/components/AuthProvider.tsx
|
|
75718
75793
|
init_esm_shims();
|
|
75719
|
-
var
|
|
75794
|
+
var import_react96 = __toESM(require_react(), 1);
|
|
75720
75795
|
|
|
75721
75796
|
// src/components/LoginRequiredWarning.tsx
|
|
75722
75797
|
init_esm_shims();
|
|
75723
|
-
var
|
|
75798
|
+
var import_react95 = __toESM(require_react(), 1);
|
|
75724
75799
|
var LoginRequiredWarning = () => {
|
|
75725
75800
|
const { t: t3 } = useTranslation();
|
|
75726
|
-
return /* @__PURE__ */
|
|
75801
|
+
return /* @__PURE__ */ import_react95.default.createElement(Box_default, { flexDirection: "column", marginBottom: 1 }, /* @__PURE__ */ import_react95.default.createElement(Text2, null, t3("create_app.login_required_warning")));
|
|
75727
75802
|
};
|
|
75728
75803
|
|
|
75729
75804
|
// src/components/AuthProvider.tsx
|
|
75730
75805
|
var AuthProvider = ({ userInfo: userInfo2, children }) => {
|
|
75731
75806
|
const biLogger = useBiLogger();
|
|
75732
75807
|
const errorReporter2 = useErrorReporter();
|
|
75733
|
-
const handleLogin = (0,
|
|
75808
|
+
const handleLogin = (0, import_react96.useCallback)(
|
|
75734
75809
|
(userInfo3) => {
|
|
75735
75810
|
errorReporter2.setUser({ id: userInfo3.userId });
|
|
75736
75811
|
addUserFields(biLogger, userInfo3.userId);
|
|
75737
75812
|
},
|
|
75738
75813
|
[biLogger, errorReporter2]
|
|
75739
75814
|
);
|
|
75740
|
-
return /* @__PURE__ */
|
|
75815
|
+
return /* @__PURE__ */ import_react96.default.createElement(import_react96.default.Fragment, null, userInfo2 == null && /* @__PURE__ */ import_react96.default.createElement(LoginRequiredWarning, null), /* @__PURE__ */ import_react96.default.createElement(AccountAuthProvider, { onLogin: handleLogin, children }));
|
|
75741
75816
|
};
|
|
75742
75817
|
|
|
75743
75818
|
// src/components/Questions/Questions.tsx
|
|
75744
75819
|
init_esm_shims();
|
|
75745
|
-
var
|
|
75820
|
+
var import_react112 = __toESM(require_react(), 1);
|
|
75746
75821
|
var import_variant39 = __toESM(require_lib(), 1);
|
|
75747
75822
|
|
|
75748
75823
|
// ../dev-center-client/src/index.ts
|
|
@@ -75755,6 +75830,7 @@ init_esm_shims();
|
|
|
75755
75830
|
init_esm_shims();
|
|
75756
75831
|
var __Array = {
|
|
75757
75832
|
checkboxGroupOptions: "_checkboxGroup",
|
|
75833
|
+
tagsOptions: "_tags",
|
|
75758
75834
|
validation: "_arrayType"
|
|
75759
75835
|
};
|
|
75760
75836
|
var __Boolean = { checkboxOptions: "_checkbox" };
|
|
@@ -75777,6 +75853,7 @@ var __String = {
|
|
|
75777
75853
|
};
|
|
75778
75854
|
var _actionProviderSPIConfig = { actionConfig: "_actionSPIConfig" };
|
|
75779
75855
|
var _actionSPIConfig = { icon: "_wixCommonImage" };
|
|
75856
|
+
var _address = { multilineAddressOptions: "_componentsMultilineAddress" };
|
|
75780
75857
|
var _adminConfigurableTextInput = {
|
|
75781
75858
|
requiredSettings: "google.protobuf.FieldMask",
|
|
75782
75859
|
adminConfigurableSettings: "google.protobuf.FieldMask"
|
|
@@ -75784,6 +75861,7 @@ var _adminConfigurableTextInput = {
|
|
|
75784
75861
|
var _andCondition = { conditions: "_conditionNode" };
|
|
75785
75862
|
var _appData = { components: "_component", pricingModels: "_pricingModel" };
|
|
75786
75863
|
var _appEmbedData = { image: "_media" };
|
|
75864
|
+
var _appointment = { description: "_richContent" };
|
|
75787
75865
|
var _arrayItems = { data: "_dataItems", dataItem: "_dataItem" };
|
|
75788
75866
|
var _arrayType = { items: "_arrayTypeArrayItems" };
|
|
75789
75867
|
var _arrayTypeArrayItems = {
|
|
@@ -75799,6 +75877,7 @@ var _billing = {
|
|
|
75799
75877
|
oneTimePrice: "DOUBLE",
|
|
75800
75878
|
meteredBilling: "_meteredBilling"
|
|
75801
75879
|
};
|
|
75880
|
+
var _breakPoint = { items: "_itemLayout" };
|
|
75802
75881
|
var _breakpointPresetStyleOverrides = {
|
|
75803
75882
|
default: "_presetStyleOverrides",
|
|
75804
75883
|
small: "_presetStyleOverrides"
|
|
@@ -75806,7 +75885,8 @@ var _breakpointPresetStyleOverrides = {
|
|
|
75806
75885
|
var _checkbox = { label: "_richContent" };
|
|
75807
75886
|
var _checkboxGroup = {
|
|
75808
75887
|
description: "_richContent",
|
|
75809
|
-
options: "_checkboxGroupOption"
|
|
75888
|
+
options: "_checkboxGroupOption",
|
|
75889
|
+
media: "_mediaItem"
|
|
75810
75890
|
};
|
|
75811
75891
|
var _checkboxGroupOption = { media: "_mediaItem" };
|
|
75812
75892
|
var _commonImage = { urlExpirationDate: "google.protobuf.Timestamp" };
|
|
@@ -75836,11 +75916,15 @@ var _cssNumber = {
|
|
|
75836
75916
|
maximum: "google.protobuf.FloatValue",
|
|
75837
75917
|
multipleOf: "google.protobuf.FloatValue"
|
|
75838
75918
|
};
|
|
75839
|
-
var _dataItem = {
|
|
75919
|
+
var _dataItem = {
|
|
75920
|
+
number: "__Number",
|
|
75921
|
+
arrayItems: "_arrayItems",
|
|
75922
|
+
data: "_dataItems"
|
|
75923
|
+
};
|
|
75840
75924
|
var _dataItems = { items: "Map#_dataItem" };
|
|
75841
|
-
var _dateInput = { description: "_richContent" };
|
|
75842
|
-
var _datePicker = { description: "_richContent" };
|
|
75843
|
-
var _dateTimeInput = { description: "_richContent" };
|
|
75925
|
+
var _dateInput = { description: "_richContent", media: "_mediaItem" };
|
|
75926
|
+
var _datePicker = { description: "_richContent", media: "_mediaItem" };
|
|
75927
|
+
var _dateTimeInput = { description: "_richContent", media: "_mediaItem" };
|
|
75844
75928
|
var _description = { representativeImage: "_wixCommonImage" };
|
|
75845
75929
|
var _design = { poll: "_pollDesign" };
|
|
75846
75930
|
var _devCenterTestingComponentData = {
|
|
@@ -75852,8 +75936,8 @@ var _devCenterTestingComponentData = {
|
|
|
75852
75936
|
richContentMap: "Map#_richContent"
|
|
75853
75937
|
};
|
|
75854
75938
|
var _displayField = { richContentOptions: "_richContentOptions" };
|
|
75855
|
-
var _donationInput = { description: "_richContent" };
|
|
75856
|
-
var _dropdown = { description: "_richContent" };
|
|
75939
|
+
var _donationInput = { description: "_richContent", media: "_mediaItem" };
|
|
75940
|
+
var _dropdown = { description: "_richContent", media: "_mediaItem" };
|
|
75857
75941
|
var _editorElement = {
|
|
75858
75942
|
style: "Map#_styleItem",
|
|
75859
75943
|
data: "Map#_dataItem",
|
|
@@ -75874,13 +75958,20 @@ var _expectedInputs = {
|
|
|
75874
75958
|
expectedVerifyInputs: "_predefinedExpectedInput"
|
|
75875
75959
|
};
|
|
75876
75960
|
var _field = { inputOptions: "_inputField", displayOptions: "_displayField" };
|
|
75877
|
-
var _fileUpload = { description: "_richContent" };
|
|
75961
|
+
var _fileUpload = { description: "_richContent", media: "_mediaItem" };
|
|
75962
|
+
var _fixedPayment = { description: "_richContent", media: "_mediaItem" };
|
|
75878
75963
|
var _focalPoint = { x: "DOUBLE", y: "DOUBLE" };
|
|
75964
|
+
var _formLayout = {
|
|
75965
|
+
large: "_breakPoint",
|
|
75966
|
+
medium: "_breakPoint",
|
|
75967
|
+
small: "_breakPoint"
|
|
75968
|
+
};
|
|
75879
75969
|
var _formTemplate = {
|
|
75880
75970
|
createdDate: "google.protobuf.Timestamp",
|
|
75881
75971
|
updatedDate: "google.protobuf.Timestamp",
|
|
75882
75972
|
fields: "_field",
|
|
75883
75973
|
deletedFields: "_field",
|
|
75974
|
+
steps: "_step",
|
|
75884
75975
|
rules: "_v2Rule",
|
|
75885
75976
|
submitSettings: "_submitSettings"
|
|
75886
75977
|
};
|
|
@@ -75894,6 +75985,7 @@ var _getAppResponse = {
|
|
|
75894
75985
|
dateCreated: "google.protobuf.Timestamp",
|
|
75895
75986
|
data: "_appData"
|
|
75896
75987
|
};
|
|
75988
|
+
var _group = { items: "_itemLayout" };
|
|
75897
75989
|
var _image = { urlExpirationDate: "google.protobuf.Timestamp" };
|
|
75898
75990
|
var _imageData = { image: "_media" };
|
|
75899
75991
|
var _inlineElement = {
|
|
@@ -75911,7 +76003,9 @@ var _inputField = {
|
|
|
75911
76003
|
objectOptions: "__Object",
|
|
75912
76004
|
wixFileOptions: "_wixFile",
|
|
75913
76005
|
paymentOptions: "_payment",
|
|
75914
|
-
multilineAddressOptions: "
|
|
76006
|
+
multilineAddressOptions: "_address",
|
|
76007
|
+
schedulingOptions: "_scheduling",
|
|
76008
|
+
addressOptions: "_address"
|
|
75915
76009
|
};
|
|
75916
76010
|
var _inputField_Number = {
|
|
75917
76011
|
numberInputOptions: "_numberInput",
|
|
@@ -75920,6 +76014,7 @@ var _inputField_Number = {
|
|
|
75920
76014
|
};
|
|
75921
76015
|
var _item = { image: "_itemImage", video: "_video" };
|
|
75922
76016
|
var _itemImage = { media: "_media" };
|
|
76017
|
+
var _itemLayout = { group: "_group" };
|
|
75923
76018
|
var _itemStyle = { ratio: "google.protobuf.DoubleValue" };
|
|
75924
76019
|
var _mapData = { mapSettings: "_mapSettings" };
|
|
75925
76020
|
var _mapSettings = {
|
|
@@ -75935,9 +76030,6 @@ var _meteredBilling = {
|
|
|
75935
76030
|
monthlyBaseFee: "DOUBLE",
|
|
75936
76031
|
additionalCharges: "google.protobuf.DoubleValue"
|
|
75937
76032
|
};
|
|
75938
|
-
var _multilineAddress = {
|
|
75939
|
-
multilineAddressOptions: "_componentsMultilineAddress"
|
|
75940
|
-
};
|
|
75941
76033
|
var _multilingualTranslationSchema = { referenceData: "_schema" };
|
|
75942
76034
|
var _node = {
|
|
75943
76035
|
galleryData: "_galleryData",
|
|
@@ -75951,7 +76043,8 @@ var _node = {
|
|
|
75951
76043
|
};
|
|
75952
76044
|
var _numberInput = {
|
|
75953
76045
|
default: "google.protobuf.DoubleValue",
|
|
75954
|
-
description: "_richContent"
|
|
76046
|
+
description: "_richContent",
|
|
76047
|
+
media: "_mediaItem"
|
|
75955
76048
|
};
|
|
75956
76049
|
var _numberType = {
|
|
75957
76050
|
maximum: "google.protobuf.DoubleValue",
|
|
@@ -75969,9 +76062,16 @@ var _packageDimension = {
|
|
|
75969
76062
|
var _packageType = { dimension: "_packageDimension", image: "_image" };
|
|
75970
76063
|
var _payment = {
|
|
75971
76064
|
checkboxGroupOptions: "_productCheckboxGroup",
|
|
75972
|
-
donationInputOptions: "_donationInput"
|
|
76065
|
+
donationInputOptions: "_donationInput",
|
|
76066
|
+
paymentInputOptions: "_paymentInput",
|
|
76067
|
+
fixedPaymentOptions: "_fixedPayment"
|
|
76068
|
+
};
|
|
76069
|
+
var _paymentInput = {
|
|
76070
|
+
default: "google.protobuf.DoubleValue",
|
|
76071
|
+
description: "_richContent",
|
|
76072
|
+
media: "_mediaItem"
|
|
75973
76073
|
};
|
|
75974
|
-
var _phoneInput = { description: "_richContent" };
|
|
76074
|
+
var _phoneInput = { description: "_richContent", media: "_mediaItem" };
|
|
75975
76075
|
var _plan = { billing: "_billing" };
|
|
75976
76076
|
var _pluginConfig = { startingEnforcementDate: "google.protobuf.Timestamp" };
|
|
75977
76077
|
var _poll = { image: "_media", options: "_pollOption" };
|
|
@@ -75999,15 +76099,16 @@ var _presetStyleOverrides = { elements: "Map#_elementStyleOverrides" };
|
|
|
75999
76099
|
var _pricingModel = { plans: "_plan" };
|
|
76000
76100
|
var _productCheckboxGroup = {
|
|
76001
76101
|
description: "_richContent",
|
|
76002
|
-
options: "_productCheckboxGroupOption"
|
|
76102
|
+
options: "_productCheckboxGroupOption",
|
|
76103
|
+
media: "_mediaItem"
|
|
76003
76104
|
};
|
|
76004
76105
|
var _productCheckboxGroupOption = { media: "_mediaItem" };
|
|
76005
76106
|
var _propertiesType = {
|
|
76006
76107
|
numberOptions: "_numberType",
|
|
76007
76108
|
arrayOptions: "_arrayType"
|
|
76008
76109
|
};
|
|
76009
|
-
var _radioGroup = { description: "_richContent" };
|
|
76010
|
-
var _ratingInput = { description: "_richContent" };
|
|
76110
|
+
var _radioGroup = { description: "_richContent", media: "_mediaItem" };
|
|
76111
|
+
var _ratingInput = { description: "_richContent", media: "_mediaItem" };
|
|
76011
76112
|
var _refElement = {
|
|
76012
76113
|
resolvedElement: "_inlineElement",
|
|
76013
76114
|
elementsDefaults: "Map#_refInnerElementDefaults",
|
|
@@ -76016,6 +76117,7 @@ var _refElement = {
|
|
|
76016
76117
|
var _refInnerElementDefaults = { elements: "Map#_refInnerElementDefaults" };
|
|
76017
76118
|
var _richContent = { nodes: "_node", metadata: "_v1Metadata" };
|
|
76018
76119
|
var _richContentOptions = { richContent: "_richContent" };
|
|
76120
|
+
var _scheduling = { appointmentOptions: "_appointment" };
|
|
76019
76121
|
var _schema = {
|
|
76020
76122
|
createdDate: "google.protobuf.Timestamp",
|
|
76021
76123
|
updatedDate: "google.protobuf.Timestamp",
|
|
@@ -76027,16 +76129,23 @@ var _schemaGroup = {
|
|
|
76027
76129
|
};
|
|
76028
76130
|
var _shippingLabelCarrierSpiConfig = { packageTypes: "_packageType" };
|
|
76029
76131
|
var _shippingProviderConfig = { shippingPrice: "DOUBLE" };
|
|
76030
|
-
var _signature = { description: "_richContent" };
|
|
76132
|
+
var _signature = { description: "_richContent", media: "_mediaItem" };
|
|
76133
|
+
var _step = { layout: "_formLayout" };
|
|
76031
76134
|
var _studioWidgetComponentData = {
|
|
76032
76135
|
widgetDisplay: "_widgetDisplay",
|
|
76033
76136
|
editorPresence: "_editorPresence"
|
|
76034
76137
|
};
|
|
76035
76138
|
var _styleItem = { number: "_cssNumber" };
|
|
76036
76139
|
var _submitSettings = { thankYouMessageOptions: "_thankYouMessageOptions" };
|
|
76037
|
-
var
|
|
76140
|
+
var _tags = {
|
|
76141
|
+
description: "_richContent",
|
|
76142
|
+
options: "_tagsOption",
|
|
76143
|
+
media: "_mediaItem"
|
|
76144
|
+
};
|
|
76145
|
+
var _tagsOption = { media: "_mediaItem" };
|
|
76146
|
+
var _textInput = { description: "_richContent", media: "_mediaItem" };
|
|
76038
76147
|
var _thankYouMessageOptions = { richContent: "_richContent" };
|
|
76039
|
-
var _timeInput = { description: "_richContent" };
|
|
76148
|
+
var _timeInput = { description: "_richContent", media: "_mediaItem" };
|
|
76040
76149
|
var _v1Metadata = {
|
|
76041
76150
|
createdTimestamp: "google.protobuf.Timestamp",
|
|
76042
76151
|
updatedTimestamp: "google.protobuf.Timestamp"
|
|
@@ -76180,10 +76289,12 @@ function getAppByVersion(payload5) {
|
|
|
76180
76289
|
__String,
|
|
76181
76290
|
_actionProviderSPIConfig,
|
|
76182
76291
|
_actionSPIConfig,
|
|
76292
|
+
_address,
|
|
76183
76293
|
_adminConfigurableTextInput,
|
|
76184
76294
|
_andCondition,
|
|
76185
76295
|
_appData,
|
|
76186
76296
|
_appEmbedData,
|
|
76297
|
+
_appointment,
|
|
76187
76298
|
_arrayItems,
|
|
76188
76299
|
_arrayType,
|
|
76189
76300
|
_arrayTypeArrayItems,
|
|
@@ -76191,6 +76302,7 @@ function getAppByVersion(payload5) {
|
|
|
76191
76302
|
_authenticatorConfig,
|
|
76192
76303
|
_background,
|
|
76193
76304
|
_billing,
|
|
76305
|
+
_breakPoint,
|
|
76194
76306
|
_breakpointPresetStyleOverrides,
|
|
76195
76307
|
_checkbox,
|
|
76196
76308
|
_checkboxGroup,
|
|
@@ -76222,11 +76334,14 @@ function getAppByVersion(payload5) {
|
|
|
76222
76334
|
_expectedInputs,
|
|
76223
76335
|
_field,
|
|
76224
76336
|
_fileUpload,
|
|
76337
|
+
_fixedPayment,
|
|
76225
76338
|
_focalPoint,
|
|
76339
|
+
_formLayout,
|
|
76226
76340
|
_formTemplate,
|
|
76227
76341
|
_functionsShopPriceSpiConfig,
|
|
76228
76342
|
_galleryData,
|
|
76229
76343
|
_galleryOptions,
|
|
76344
|
+
_group,
|
|
76230
76345
|
_image,
|
|
76231
76346
|
_imageData,
|
|
76232
76347
|
_inlineElement,
|
|
@@ -76234,6 +76349,7 @@ function getAppByVersion(payload5) {
|
|
|
76234
76349
|
_inputField_Number,
|
|
76235
76350
|
_item,
|
|
76236
76351
|
_itemImage,
|
|
76352
|
+
_itemLayout,
|
|
76237
76353
|
_itemStyle,
|
|
76238
76354
|
_mapData,
|
|
76239
76355
|
_mapSettings,
|
|
@@ -76241,7 +76357,6 @@ function getAppByVersion(payload5) {
|
|
|
76241
76357
|
_mediaItem,
|
|
76242
76358
|
_messageContainingTranslatables,
|
|
76243
76359
|
_meteredBilling,
|
|
76244
|
-
_multilineAddress,
|
|
76245
76360
|
_multilingualTranslationSchema,
|
|
76246
76361
|
_node,
|
|
76247
76362
|
_numberInput,
|
|
@@ -76251,6 +76366,7 @@ function getAppByVersion(payload5) {
|
|
|
76251
76366
|
_packageDimension,
|
|
76252
76367
|
_packageType,
|
|
76253
76368
|
_payment,
|
|
76369
|
+
_paymentInput,
|
|
76254
76370
|
_phoneInput,
|
|
76255
76371
|
_plan,
|
|
76256
76372
|
_pluginConfig,
|
|
@@ -76276,14 +76392,18 @@ function getAppByVersion(payload5) {
|
|
|
76276
76392
|
_refInnerElementDefaults,
|
|
76277
76393
|
_richContent,
|
|
76278
76394
|
_richContentOptions,
|
|
76395
|
+
_scheduling,
|
|
76279
76396
|
_schema,
|
|
76280
76397
|
_schemaGroup,
|
|
76281
76398
|
_shippingLabelCarrierSpiConfig,
|
|
76282
76399
|
_shippingProviderConfig,
|
|
76283
76400
|
_signature,
|
|
76401
|
+
_step,
|
|
76284
76402
|
_studioWidgetComponentData,
|
|
76285
76403
|
_styleItem,
|
|
76286
76404
|
_submitSettings,
|
|
76405
|
+
_tags,
|
|
76406
|
+
_tagsOption,
|
|
76287
76407
|
_textInput,
|
|
76288
76408
|
_thankYouMessageOptions,
|
|
76289
76409
|
_timeInput,
|
|
@@ -77067,6 +77187,7 @@ function listAppTemplates(payload5) {
|
|
|
77067
77187
|
init_esm_shims();
|
|
77068
77188
|
var __Array2 = {
|
|
77069
77189
|
checkboxGroupOptions: "_checkboxGroup",
|
|
77190
|
+
tagsOptions: "_tags",
|
|
77070
77191
|
validation: "_arrayType"
|
|
77071
77192
|
};
|
|
77072
77193
|
var __Boolean2 = { checkboxOptions: "_checkbox" };
|
|
@@ -77088,6 +77209,7 @@ var __String2 = {
|
|
|
77088
77209
|
};
|
|
77089
77210
|
var _actionProviderSPIConfig2 = { actionConfig: "_actionSPIConfig" };
|
|
77090
77211
|
var _actionSPIConfig2 = { icon: "_commonImage" };
|
|
77212
|
+
var _address2 = { multilineAddressOptions: "_multilineAddress" };
|
|
77091
77213
|
var _adminConfigurableTextInput2 = {
|
|
77092
77214
|
requiredSettings: "google.protobuf.FieldMask",
|
|
77093
77215
|
adminConfigurableSettings: "google.protobuf.FieldMask"
|
|
@@ -77100,6 +77222,7 @@ var _api_Number = {
|
|
|
77100
77222
|
};
|
|
77101
77223
|
var _apiArrayItems = { data: "_dataItems", dataItem: "_dataItem" };
|
|
77102
77224
|
var _appEmbedData2 = { image: "_media" };
|
|
77225
|
+
var _appointment2 = { description: "_richContent" };
|
|
77103
77226
|
var _arrayItems2 = {
|
|
77104
77227
|
numberOptions: "_numberType",
|
|
77105
77228
|
objectOptions: "_objectType"
|
|
@@ -77108,12 +77231,17 @@ var _arrayType2 = { items: "_arrayItems" };
|
|
|
77108
77231
|
var _audioData2 = { audio: "_media", coverImage: "_media" };
|
|
77109
77232
|
var _authenticatorConfig2 = { expectedInputs: "_expectedInputs" };
|
|
77110
77233
|
var _background2 = { image: "_media" };
|
|
77234
|
+
var _breakPoint2 = { items: "_itemLayout" };
|
|
77111
77235
|
var _breakpointPresetStyleOverrides2 = {
|
|
77112
77236
|
default: "_presetStyleOverrides",
|
|
77113
77237
|
small: "_presetStyleOverrides"
|
|
77114
77238
|
};
|
|
77115
77239
|
var _checkbox2 = { label: "_richContent" };
|
|
77116
|
-
var _checkboxGroup2 = {
|
|
77240
|
+
var _checkboxGroup2 = {
|
|
77241
|
+
description: "_richContent",
|
|
77242
|
+
options: "_option",
|
|
77243
|
+
media: "_mediaItem"
|
|
77244
|
+
};
|
|
77117
77245
|
var _commonImage2 = {
|
|
77118
77246
|
urlExpirationDate: "google.protobuf.Timestamp",
|
|
77119
77247
|
focalPoint: "_focalPoint"
|
|
@@ -77143,11 +77271,15 @@ var _cssNumber2 = {
|
|
|
77143
77271
|
maximum: "google.protobuf.FloatValue",
|
|
77144
77272
|
multipleOf: "google.protobuf.FloatValue"
|
|
77145
77273
|
};
|
|
77146
|
-
var _dataItem2 = {
|
|
77274
|
+
var _dataItem2 = {
|
|
77275
|
+
number: "_api_Number",
|
|
77276
|
+
arrayItems: "_apiArrayItems",
|
|
77277
|
+
data: "_dataItems"
|
|
77278
|
+
};
|
|
77147
77279
|
var _dataItems2 = { items: "Map#_dataItem" };
|
|
77148
|
-
var _dateInput2 = { description: "_richContent" };
|
|
77149
|
-
var _datePicker2 = { description: "_richContent" };
|
|
77150
|
-
var _dateTimeInput2 = { description: "_richContent" };
|
|
77280
|
+
var _dateInput2 = { description: "_richContent", media: "_mediaItem" };
|
|
77281
|
+
var _datePicker2 = { description: "_richContent", media: "_mediaItem" };
|
|
77282
|
+
var _dateTimeInput2 = { description: "_richContent", media: "_mediaItem" };
|
|
77151
77283
|
var _description2 = { representativeImage: "_commonImage" };
|
|
77152
77284
|
var _design2 = { poll: "_pollDesign" };
|
|
77153
77285
|
var _devCenterTestingComponentData2 = {
|
|
@@ -77160,8 +77292,8 @@ var _devCenterTestingComponentData2 = {
|
|
|
77160
77292
|
};
|
|
77161
77293
|
var _discount = { saleInfo: "_saleInfo" };
|
|
77162
77294
|
var _displayField2 = { richContentOptions: "_richContentOptions" };
|
|
77163
|
-
var _donationInput2 = { description: "_richContent" };
|
|
77164
|
-
var _dropdown2 = { description: "_richContent" };
|
|
77295
|
+
var _donationInput2 = { description: "_richContent", media: "_mediaItem" };
|
|
77296
|
+
var _dropdown2 = { description: "_richContent", media: "_mediaItem" };
|
|
77165
77297
|
var _editorElement2 = {
|
|
77166
77298
|
style: "Map#_styleItem",
|
|
77167
77299
|
data: "Map#_dataItem",
|
|
@@ -77182,13 +77314,20 @@ var _expectedInputs2 = {
|
|
|
77182
77314
|
expectedVerifyInputs: "_predefinedExpectedInput"
|
|
77183
77315
|
};
|
|
77184
77316
|
var _field2 = { inputOptions: "_inputField", displayOptions: "_displayField" };
|
|
77185
|
-
var _fileUpload2 = { description: "_richContent" };
|
|
77317
|
+
var _fileUpload2 = { description: "_richContent", media: "_mediaItem" };
|
|
77318
|
+
var _fixedPayment2 = { description: "_richContent", media: "_mediaItem" };
|
|
77186
77319
|
var _focalPoint2 = { x: "DOUBLE", y: "DOUBLE" };
|
|
77320
|
+
var _formLayout2 = {
|
|
77321
|
+
large: "_breakPoint",
|
|
77322
|
+
medium: "_breakPoint",
|
|
77323
|
+
small: "_breakPoint"
|
|
77324
|
+
};
|
|
77187
77325
|
var _formTemplate2 = {
|
|
77188
77326
|
createdDate: "google.protobuf.Timestamp",
|
|
77189
77327
|
updatedDate: "google.protobuf.Timestamp",
|
|
77190
77328
|
fields: "_field",
|
|
77191
77329
|
deletedFields: "_field",
|
|
77330
|
+
steps: "_step",
|
|
77192
77331
|
rules: "_v2Rule",
|
|
77193
77332
|
submitSettings: "_submitSettings"
|
|
77194
77333
|
};
|
|
@@ -77199,6 +77338,7 @@ var _functionsShopPriceSpiConfig2 = {
|
|
|
77199
77338
|
};
|
|
77200
77339
|
var _galleryData2 = { items: "_item", options: "_galleryOptions" };
|
|
77201
77340
|
var _galleryOptions2 = { item: "_itemStyle" };
|
|
77341
|
+
var _group2 = { items: "_itemLayout" };
|
|
77202
77342
|
var _image2 = { urlExpirationDate: "google.protobuf.Timestamp" };
|
|
77203
77343
|
var _imageData2 = { image: "_media" };
|
|
77204
77344
|
var _inlineElement2 = {
|
|
@@ -77216,13 +77356,13 @@ var _inputField2 = {
|
|
|
77216
77356
|
objectOptions: "__Object",
|
|
77217
77357
|
wixFileOptions: "_wixFile",
|
|
77218
77358
|
paymentOptions: "_payment",
|
|
77219
|
-
multilineAddressOptions: "
|
|
77220
|
-
|
|
77221
|
-
|
|
77222
|
-
multilineAddressOptions: "_multilineAddress"
|
|
77359
|
+
multilineAddressOptions: "_address",
|
|
77360
|
+
schedulingOptions: "_scheduling",
|
|
77361
|
+
addressOptions: "_address"
|
|
77223
77362
|
};
|
|
77224
77363
|
var _item2 = { image: "_itemImage", video: "_video" };
|
|
77225
77364
|
var _itemImage2 = { media: "_media" };
|
|
77365
|
+
var _itemLayout2 = { group: "_group" };
|
|
77226
77366
|
var _itemStyle2 = { ratio: "google.protobuf.DoubleValue" };
|
|
77227
77367
|
var _managedApp = {
|
|
77228
77368
|
premiumInfo: "_premiumInfo",
|
|
@@ -77241,7 +77381,7 @@ var _mediaItem2 = { image: "_upstreamWixCommonImage" };
|
|
|
77241
77381
|
var _messageContainingTranslatables2 = {
|
|
77242
77382
|
innerTranslatableRichContent: "_richContent"
|
|
77243
77383
|
};
|
|
77244
|
-
var
|
|
77384
|
+
var _multilineAddress = { description: "_richContent" };
|
|
77245
77385
|
var _multilingualTranslationSchema2 = { referenceData: "_schema" };
|
|
77246
77386
|
var _node2 = {
|
|
77247
77387
|
galleryData: "_galleryData",
|
|
@@ -77255,7 +77395,8 @@ var _node2 = {
|
|
|
77255
77395
|
};
|
|
77256
77396
|
var _numberInput2 = {
|
|
77257
77397
|
default: "google.protobuf.DoubleValue",
|
|
77258
|
-
description: "_richContent"
|
|
77398
|
+
description: "_richContent",
|
|
77399
|
+
media: "_mediaItem"
|
|
77259
77400
|
};
|
|
77260
77401
|
var _numberType2 = {
|
|
77261
77402
|
maximum: "google.protobuf.DoubleValue",
|
|
@@ -77274,9 +77415,16 @@ var _packageDimension2 = {
|
|
|
77274
77415
|
var _packageType2 = { dimension: "_packageDimension", image: "_image" };
|
|
77275
77416
|
var _payment2 = {
|
|
77276
77417
|
checkboxGroupOptions: "_productCheckboxGroup",
|
|
77277
|
-
donationInputOptions: "_donationInput"
|
|
77418
|
+
donationInputOptions: "_donationInput",
|
|
77419
|
+
paymentInputOptions: "_paymentInput",
|
|
77420
|
+
fixedPaymentOptions: "_fixedPayment"
|
|
77278
77421
|
};
|
|
77279
|
-
var
|
|
77422
|
+
var _paymentInput2 = {
|
|
77423
|
+
default: "google.protobuf.DoubleValue",
|
|
77424
|
+
description: "_richContent",
|
|
77425
|
+
media: "_mediaItem"
|
|
77426
|
+
};
|
|
77427
|
+
var _phoneInput2 = { description: "_richContent", media: "_mediaItem" };
|
|
77280
77428
|
var _pluginConfig2 = { startingEnforcementDate: "google.protobuf.Timestamp" };
|
|
77281
77429
|
var _poll2 = { image: "_media", options: "_pollOption" };
|
|
77282
77430
|
var _pollData2 = { poll: "_poll", design: "_design" };
|
|
@@ -77304,15 +77452,16 @@ var _presetStyleOverrides2 = { elements: "Map#_elementStyleOverrides" };
|
|
|
77304
77452
|
var _pricingDetails = { discount: "_discount" };
|
|
77305
77453
|
var _productCheckboxGroup2 = {
|
|
77306
77454
|
description: "_richContent",
|
|
77307
|
-
options: "_productCheckboxGroupOption"
|
|
77455
|
+
options: "_productCheckboxGroupOption",
|
|
77456
|
+
media: "_mediaItem"
|
|
77308
77457
|
};
|
|
77309
77458
|
var _productCheckboxGroupOption2 = { media: "_mediaItem" };
|
|
77310
77459
|
var _propertiesType2 = {
|
|
77311
77460
|
numberOptions: "_numberType",
|
|
77312
77461
|
arrayOptions: "_arrayType"
|
|
77313
77462
|
};
|
|
77314
|
-
var _radioGroup2 = { description: "_richContent" };
|
|
77315
|
-
var _ratingInput2 = { description: "_richContent" };
|
|
77463
|
+
var _radioGroup2 = { description: "_richContent", media: "_mediaItem" };
|
|
77464
|
+
var _ratingInput2 = { description: "_richContent", media: "_mediaItem" };
|
|
77316
77465
|
var _refElement2 = {
|
|
77317
77466
|
resolvedElement: "_inlineElement",
|
|
77318
77467
|
elementsDefaults: "Map#_refInnerElementDefaults",
|
|
@@ -77325,6 +77474,7 @@ var _saleInfo = {
|
|
|
77325
77474
|
startDate: "google.protobuf.Timestamp",
|
|
77326
77475
|
endDate: "google.protobuf.Timestamp"
|
|
77327
77476
|
};
|
|
77477
|
+
var _scheduling2 = { appointmentOptions: "_appointment" };
|
|
77328
77478
|
var _schema2 = {
|
|
77329
77479
|
createdDate: "google.protobuf.Timestamp",
|
|
77330
77480
|
updatedDate: "google.protobuf.Timestamp",
|
|
@@ -77336,16 +77486,23 @@ var _schemaGroup2 = {
|
|
|
77336
77486
|
};
|
|
77337
77487
|
var _shippingLabelCarrierSpiConfig2 = { packageTypes: "_packageType" };
|
|
77338
77488
|
var _shippingProviderConfig2 = { shippingPrice: "DOUBLE" };
|
|
77339
|
-
var _signature2 = { description: "_richContent" };
|
|
77489
|
+
var _signature2 = { description: "_richContent", media: "_mediaItem" };
|
|
77490
|
+
var _step2 = { layout: "_formLayout" };
|
|
77340
77491
|
var _studioWidgetComponentData2 = {
|
|
77341
77492
|
widgetDisplay: "_widgetDisplay",
|
|
77342
77493
|
editorPresence: "_editorPresence"
|
|
77343
77494
|
};
|
|
77344
77495
|
var _styleItem2 = { number: "_cssNumber" };
|
|
77345
77496
|
var _submitSettings2 = { thankYouMessageOptions: "_thankYouMessageOptions" };
|
|
77346
|
-
var
|
|
77497
|
+
var _tags2 = {
|
|
77498
|
+
description: "_richContent",
|
|
77499
|
+
options: "_tagsOption",
|
|
77500
|
+
media: "_mediaItem"
|
|
77501
|
+
};
|
|
77502
|
+
var _tagsOption2 = { media: "_mediaItem" };
|
|
77503
|
+
var _textInput2 = { description: "_richContent", media: "_mediaItem" };
|
|
77347
77504
|
var _thankYouMessageOptions2 = { richContent: "_richContent" };
|
|
77348
|
-
var _timeInput2 = { description: "_richContent" };
|
|
77505
|
+
var _timeInput2 = { description: "_richContent", media: "_mediaItem" };
|
|
77349
77506
|
var _upstreamWixCommonImage = {
|
|
77350
77507
|
urlExpirationDate: "google.protobuf.Timestamp"
|
|
77351
77508
|
};
|
|
@@ -77439,16 +77596,19 @@ function managedApps(payload5) {
|
|
|
77439
77596
|
__String: __String2,
|
|
77440
77597
|
_actionProviderSPIConfig: _actionProviderSPIConfig2,
|
|
77441
77598
|
_actionSPIConfig: _actionSPIConfig2,
|
|
77599
|
+
_address: _address2,
|
|
77442
77600
|
_adminConfigurableTextInput: _adminConfigurableTextInput2,
|
|
77443
77601
|
_andCondition: _andCondition2,
|
|
77444
77602
|
_apiArrayItems,
|
|
77445
77603
|
_api_Number,
|
|
77446
77604
|
_appEmbedData: _appEmbedData2,
|
|
77605
|
+
_appointment: _appointment2,
|
|
77447
77606
|
_arrayItems: _arrayItems2,
|
|
77448
77607
|
_arrayType: _arrayType2,
|
|
77449
77608
|
_audioData: _audioData2,
|
|
77450
77609
|
_authenticatorConfig: _authenticatorConfig2,
|
|
77451
77610
|
_background: _background2,
|
|
77611
|
+
_breakPoint: _breakPoint2,
|
|
77452
77612
|
_breakpointPresetStyleOverrides: _breakpointPresetStyleOverrides2,
|
|
77453
77613
|
_checkbox: _checkbox2,
|
|
77454
77614
|
_checkboxGroup: _checkboxGroup2,
|
|
@@ -77479,20 +77639,23 @@ function managedApps(payload5) {
|
|
|
77479
77639
|
_expectedInputs: _expectedInputs2,
|
|
77480
77640
|
_field: _field2,
|
|
77481
77641
|
_fileUpload: _fileUpload2,
|
|
77642
|
+
_fixedPayment: _fixedPayment2,
|
|
77482
77643
|
_focalPoint: _focalPoint2,
|
|
77644
|
+
_formLayout: _formLayout2,
|
|
77483
77645
|
_formTemplate: _formTemplate2,
|
|
77484
77646
|
_freeTrialData,
|
|
77485
77647
|
_function,
|
|
77486
77648
|
_functionsShopPriceSpiConfig: _functionsShopPriceSpiConfig2,
|
|
77487
77649
|
_galleryData: _galleryData2,
|
|
77488
77650
|
_galleryOptions: _galleryOptions2,
|
|
77651
|
+
_group: _group2,
|
|
77489
77652
|
_image: _image2,
|
|
77490
77653
|
_imageData: _imageData2,
|
|
77491
77654
|
_inlineElement: _inlineElement2,
|
|
77492
77655
|
_inputField: _inputField2,
|
|
77493
|
-
_inputFieldMultilineAddress,
|
|
77494
77656
|
_item: _item2,
|
|
77495
77657
|
_itemImage: _itemImage2,
|
|
77658
|
+
_itemLayout: _itemLayout2,
|
|
77496
77659
|
_itemStyle: _itemStyle2,
|
|
77497
77660
|
_managedApp,
|
|
77498
77661
|
_mapData: _mapData2,
|
|
@@ -77500,7 +77663,7 @@ function managedApps(payload5) {
|
|
|
77500
77663
|
_media: _media2,
|
|
77501
77664
|
_mediaItem: _mediaItem2,
|
|
77502
77665
|
_messageContainingTranslatables: _messageContainingTranslatables2,
|
|
77503
|
-
_multilineAddress
|
|
77666
|
+
_multilineAddress,
|
|
77504
77667
|
_multilingualTranslationSchema: _multilingualTranslationSchema2,
|
|
77505
77668
|
_node: _node2,
|
|
77506
77669
|
_numberInput: _numberInput2,
|
|
@@ -77511,6 +77674,7 @@ function managedApps(payload5) {
|
|
|
77511
77674
|
_packageDimension: _packageDimension2,
|
|
77512
77675
|
_packageType: _packageType2,
|
|
77513
77676
|
_payment: _payment2,
|
|
77677
|
+
_paymentInput: _paymentInput2,
|
|
77514
77678
|
_phoneInput: _phoneInput2,
|
|
77515
77679
|
_pluginConfig: _pluginConfig2,
|
|
77516
77680
|
_poll: _poll2,
|
|
@@ -77537,14 +77701,18 @@ function managedApps(payload5) {
|
|
|
77537
77701
|
_richContent: _richContent2,
|
|
77538
77702
|
_richContentOptions: _richContentOptions2,
|
|
77539
77703
|
_saleInfo,
|
|
77704
|
+
_scheduling: _scheduling2,
|
|
77540
77705
|
_schema: _schema2,
|
|
77541
77706
|
_schemaGroup: _schemaGroup2,
|
|
77542
77707
|
_shippingLabelCarrierSpiConfig: _shippingLabelCarrierSpiConfig2,
|
|
77543
77708
|
_shippingProviderConfig: _shippingProviderConfig2,
|
|
77544
77709
|
_signature: _signature2,
|
|
77710
|
+
_step: _step2,
|
|
77545
77711
|
_studioWidgetComponentData: _studioWidgetComponentData2,
|
|
77546
77712
|
_styleItem: _styleItem2,
|
|
77547
77713
|
_submitSettings: _submitSettings2,
|
|
77714
|
+
_tags: _tags2,
|
|
77715
|
+
_tagsOption: _tagsOption2,
|
|
77548
77716
|
_textInput: _textInput2,
|
|
77549
77717
|
_thankYouMessageOptions: _thankYouMessageOptions2,
|
|
77550
77718
|
_timeInput: _timeInput2,
|
|
@@ -77820,6 +77988,10 @@ var ComponentType;
|
|
|
77820
77988
|
ComponentType3["CONTACTS_SEGMENTS_V2_FILTER_PROVIDER"] = "CONTACTS_SEGMENTS_V2_FILTER_PROVIDER";
|
|
77821
77989
|
ComponentType3["ANALYTICS_PRODUCT_CATALOG"] = "ANALYTICS_PRODUCT_CATALOG";
|
|
77822
77990
|
ComponentType3["SITE_MIGRATION"] = "SITE_MIGRATION";
|
|
77991
|
+
ComponentType3["RESTAURANTS_POS_PROVIDER_SETTINGS_SERVICE_PLUGIN"] = "RESTAURANTS_POS_PROVIDER_SETTINGS_SERVICE_PLUGIN";
|
|
77992
|
+
ComponentType3["WIX_VIBE_CODING_INSTRUCTIONS"] = "WIX_VIBE_CODING_INSTRUCTIONS";
|
|
77993
|
+
ComponentType3["TAX_EXEMPT_GROUPS_PROVIDER"] = "TAX_EXEMPT_GROUPS_PROVIDER";
|
|
77994
|
+
ComponentType3["BOOKING_AUTOMATIONS_CONFIGURATION"] = "BOOKING_AUTOMATIONS_CONFIGURATION";
|
|
77823
77995
|
})(ComponentType || (ComponentType = {}));
|
|
77824
77996
|
var WidgetVertical;
|
|
77825
77997
|
(function(WidgetVertical3) {
|
|
@@ -77871,6 +78043,12 @@ var VerticalDocking;
|
|
|
77871
78043
|
VerticalDocking3["VCENTER"] = "VCENTER";
|
|
77872
78044
|
VerticalDocking3["BOTTOM_DOCKING"] = "BOTTOM_DOCKING";
|
|
77873
78045
|
})(VerticalDocking || (VerticalDocking = {}));
|
|
78046
|
+
var SiteMembersSsrCaching;
|
|
78047
|
+
(function(SiteMembersSsrCaching3) {
|
|
78048
|
+
SiteMembersSsrCaching3["UNKNOWN_SITE_MEMBERS_SSR_CACHING"] = "UNKNOWN_SITE_MEMBERS_SSR_CACHING";
|
|
78049
|
+
SiteMembersSsrCaching3["CACHING_ALLOWED"] = "CACHING_ALLOWED";
|
|
78050
|
+
SiteMembersSsrCaching3["CACHING_NOT_ALLOWED"] = "CACHING_NOT_ALLOWED";
|
|
78051
|
+
})(SiteMembersSsrCaching || (SiteMembersSsrCaching = {}));
|
|
77874
78052
|
var ReplacementType;
|
|
77875
78053
|
(function(ReplacementType3) {
|
|
77876
78054
|
ReplacementType3["UNKNOWN_REPLACEMENT"] = "UNKNOWN_REPLACEMENT";
|
|
@@ -78178,6 +78356,12 @@ var Status;
|
|
|
78178
78356
|
Status4["ACTIVE"] = "ACTIVE";
|
|
78179
78357
|
Status4["INACTIVE"] = "INACTIVE";
|
|
78180
78358
|
})(Status || (Status = {}));
|
|
78359
|
+
var LayoutMode;
|
|
78360
|
+
(function(LayoutMode3) {
|
|
78361
|
+
LayoutMode3["STANDARD_VIEW"] = "STANDARD_VIEW";
|
|
78362
|
+
LayoutMode3["BUILDER_VIEW"] = "BUILDER_VIEW";
|
|
78363
|
+
LayoutMode3["EXPANDED_VIEW"] = "EXPANDED_VIEW";
|
|
78364
|
+
})(LayoutMode || (LayoutMode = {}));
|
|
78181
78365
|
var TextInputDisplayType;
|
|
78182
78366
|
(function(TextInputDisplayType3) {
|
|
78183
78367
|
TextInputDisplayType3["TEXT"] = "TEXT";
|
|
@@ -78572,6 +78756,7 @@ var OAuthAppType;
|
|
|
78572
78756
|
OAuthAppType3["WEB_APP"] = "WEB_APP";
|
|
78573
78757
|
OAuthAppType3["MOBILE"] = "MOBILE";
|
|
78574
78758
|
OAuthAppType3["OTHER"] = "OTHER";
|
|
78759
|
+
OAuthAppType3["SYSTEM"] = "SYSTEM";
|
|
78575
78760
|
})(OAuthAppType || (OAuthAppType = {}));
|
|
78576
78761
|
var OAuthTechnologies;
|
|
78577
78762
|
(function(OAuthTechnologies3) {
|
|
@@ -78794,7 +78979,27 @@ var StringComponentType;
|
|
|
78794
78979
|
StringComponentType3["DATE_INPUT"] = "DATE_INPUT";
|
|
78795
78980
|
StringComponentType3["TIME_INPUT"] = "TIME_INPUT";
|
|
78796
78981
|
StringComponentType3["DATE_PICKER"] = "DATE_PICKER";
|
|
78982
|
+
StringComponentType3["SERVICES_DROPDOWN"] = "SERVICES_DROPDOWN";
|
|
78797
78983
|
})(StringComponentType || (StringComponentType = {}));
|
|
78984
|
+
var ImagePosition;
|
|
78985
|
+
(function(ImagePosition3) {
|
|
78986
|
+
ImagePosition3["UNKNOWN_IMAGE_POSITION"] = "UNKNOWN_IMAGE_POSITION";
|
|
78987
|
+
ImagePosition3["ABOVE"] = "ABOVE";
|
|
78988
|
+
ImagePosition3["BELOW"] = "BELOW";
|
|
78989
|
+
})(ImagePosition || (ImagePosition = {}));
|
|
78990
|
+
var AlignmentEnumAlignment;
|
|
78991
|
+
(function(AlignmentEnumAlignment3) {
|
|
78992
|
+
AlignmentEnumAlignment3["UNKNOWN_ALIGNMENT"] = "UNKNOWN_ALIGNMENT";
|
|
78993
|
+
AlignmentEnumAlignment3["LEFT"] = "LEFT";
|
|
78994
|
+
AlignmentEnumAlignment3["CENTER"] = "CENTER";
|
|
78995
|
+
AlignmentEnumAlignment3["RIGHT"] = "RIGHT";
|
|
78996
|
+
})(AlignmentEnumAlignment || (AlignmentEnumAlignment = {}));
|
|
78997
|
+
var ImageFit;
|
|
78998
|
+
(function(ImageFit3) {
|
|
78999
|
+
ImageFit3["UNKNOWN_IMAGE_FIT"] = "UNKNOWN_IMAGE_FIT";
|
|
79000
|
+
ImageFit3["COVER"] = "COVER";
|
|
79001
|
+
ImageFit3["CONTAIN"] = "CONTAIN";
|
|
79002
|
+
})(ImageFit || (ImageFit = {}));
|
|
78798
79003
|
var NumberOfColumns;
|
|
78799
79004
|
(function(NumberOfColumns3) {
|
|
78800
79005
|
NumberOfColumns3["UNKNOWN"] = "UNKNOWN";
|
|
@@ -78841,6 +79046,7 @@ var ArrayComponentType;
|
|
|
78841
79046
|
(function(ArrayComponentType3) {
|
|
78842
79047
|
ArrayComponentType3["UNKNOWN_COMPONENT_TYPE"] = "UNKNOWN_COMPONENT_TYPE";
|
|
78843
79048
|
ArrayComponentType3["CHECKBOX_GROUP"] = "CHECKBOX_GROUP";
|
|
79049
|
+
ArrayComponentType3["TAGS"] = "TAGS";
|
|
78844
79050
|
})(ArrayComponentType || (ArrayComponentType = {}));
|
|
78845
79051
|
var WixFileComponentType;
|
|
78846
79052
|
(function(WixFileComponentType3) {
|
|
@@ -78848,6 +79054,15 @@ var WixFileComponentType;
|
|
|
78848
79054
|
WixFileComponentType3["FILE_UPLOAD"] = "FILE_UPLOAD";
|
|
78849
79055
|
WixFileComponentType3["SIGNATURE"] = "SIGNATURE";
|
|
78850
79056
|
})(WixFileComponentType || (WixFileComponentType = {}));
|
|
79057
|
+
var UploadFileFormatEnumUploadFileFormat;
|
|
79058
|
+
(function(UploadFileFormatEnumUploadFileFormat3) {
|
|
79059
|
+
UploadFileFormatEnumUploadFileFormat3["UNKNOWN_UPLOAD_FILE_FORMAT"] = "UNKNOWN_UPLOAD_FILE_FORMAT";
|
|
79060
|
+
UploadFileFormatEnumUploadFileFormat3["VIDEO"] = "VIDEO";
|
|
79061
|
+
UploadFileFormatEnumUploadFileFormat3["IMAGE"] = "IMAGE";
|
|
79062
|
+
UploadFileFormatEnumUploadFileFormat3["AUDIO"] = "AUDIO";
|
|
79063
|
+
UploadFileFormatEnumUploadFileFormat3["DOCUMENT"] = "DOCUMENT";
|
|
79064
|
+
UploadFileFormatEnumUploadFileFormat3["ARCHIVE"] = "ARCHIVE";
|
|
79065
|
+
})(UploadFileFormatEnumUploadFileFormat || (UploadFileFormatEnumUploadFileFormat = {}));
|
|
78851
79066
|
var UploadFileFormat;
|
|
78852
79067
|
(function(UploadFileFormat3) {
|
|
78853
79068
|
UploadFileFormat3["UNDEFINED"] = "UNDEFINED";
|
|
@@ -78862,6 +79077,8 @@ var PaymentComponentType;
|
|
|
78862
79077
|
PaymentComponentType3["UNKNOWN_COMPONENT_TYPE"] = "UNKNOWN_COMPONENT_TYPE";
|
|
78863
79078
|
PaymentComponentType3["CHECKBOX_GROUP"] = "CHECKBOX_GROUP";
|
|
78864
79079
|
PaymentComponentType3["DONATION_INPUT"] = "DONATION_INPUT";
|
|
79080
|
+
PaymentComponentType3["PAYMENT_INPUT"] = "PAYMENT_INPUT";
|
|
79081
|
+
PaymentComponentType3["FIXED_PAYMENT"] = "FIXED_PAYMENT";
|
|
78865
79082
|
})(PaymentComponentType || (PaymentComponentType = {}));
|
|
78866
79083
|
var ProductType;
|
|
78867
79084
|
(function(ProductType3) {
|
|
@@ -78875,23 +79092,29 @@ var PriceType;
|
|
|
78875
79092
|
PriceType3["FIXED_PRICE"] = "FIXED_PRICE";
|
|
78876
79093
|
PriceType3["DYNAMIC_PRICE"] = "DYNAMIC_PRICE";
|
|
78877
79094
|
})(PriceType || (PriceType = {}));
|
|
78878
|
-
var
|
|
78879
|
-
(function(
|
|
78880
|
-
|
|
78881
|
-
|
|
78882
|
-
|
|
78883
|
-
})(ImageFit || (ImageFit = {}));
|
|
78884
|
-
var MultilineAddressComponentType;
|
|
78885
|
-
(function(MultilineAddressComponentType3) {
|
|
78886
|
-
MultilineAddressComponentType3["UNKNOWN_COMPONENT_TYPE"] = "UNKNOWN_COMPONENT_TYPE";
|
|
78887
|
-
MultilineAddressComponentType3["MULTILINE_ADDRESS"] = "MULTILINE_ADDRESS";
|
|
78888
|
-
})(MultilineAddressComponentType || (MultilineAddressComponentType = {}));
|
|
79095
|
+
var AddressComponentType;
|
|
79096
|
+
(function(AddressComponentType3) {
|
|
79097
|
+
AddressComponentType3["UNKNOWN_COMPONENT_TYPE"] = "UNKNOWN_COMPONENT_TYPE";
|
|
79098
|
+
AddressComponentType3["MULTILINE_ADDRESS"] = "MULTILINE_ADDRESS";
|
|
79099
|
+
})(AddressComponentType || (AddressComponentType = {}));
|
|
78889
79100
|
var DefaultCountryConfigType;
|
|
78890
79101
|
(function(DefaultCountryConfigType3) {
|
|
78891
79102
|
DefaultCountryConfigType3["UNKNOWN_DEFAULT_COUNTRY"] = "UNKNOWN_DEFAULT_COUNTRY";
|
|
78892
79103
|
DefaultCountryConfigType3["BY_IP"] = "BY_IP";
|
|
78893
79104
|
DefaultCountryConfigType3["COUNTRY"] = "COUNTRY";
|
|
78894
79105
|
})(DefaultCountryConfigType || (DefaultCountryConfigType = {}));
|
|
79106
|
+
var SchedulingComponentType;
|
|
79107
|
+
(function(SchedulingComponentType3) {
|
|
79108
|
+
SchedulingComponentType3["UNKNOWN_COMPONENT_TYPE"] = "UNKNOWN_COMPONENT_TYPE";
|
|
79109
|
+
SchedulingComponentType3["APPOINTMENT"] = "APPOINTMENT";
|
|
79110
|
+
})(SchedulingComponentType || (SchedulingComponentType = {}));
|
|
79111
|
+
var AppointmentFormat;
|
|
79112
|
+
(function(AppointmentFormat3) {
|
|
79113
|
+
AppointmentFormat3["UNKNOWN_FORMAT_TYPE"] = "UNKNOWN_FORMAT_TYPE";
|
|
79114
|
+
AppointmentFormat3["IN_PERSON"] = "IN_PERSON";
|
|
79115
|
+
AppointmentFormat3["VIDEO_CONFERENCE"] = "VIDEO_CONFERENCE";
|
|
79116
|
+
AppointmentFormat3["PHONE"] = "PHONE";
|
|
79117
|
+
})(AppointmentFormat || (AppointmentFormat = {}));
|
|
78895
79118
|
var InputType;
|
|
78896
79119
|
(function(InputType3) {
|
|
78897
79120
|
InputType3["UNKNOWN_INPUT_TYPE"] = "UNKNOWN_INPUT_TYPE";
|
|
@@ -78903,6 +79126,8 @@ var InputType;
|
|
|
78903
79126
|
InputType3["WIX_FILE"] = "WIX_FILE";
|
|
78904
79127
|
InputType3["PAYMENT"] = "PAYMENT";
|
|
78905
79128
|
InputType3["MULTILINE_ADDRESS"] = "MULTILINE_ADDRESS";
|
|
79129
|
+
InputType3["SCHEDULING"] = "SCHEDULING";
|
|
79130
|
+
InputType3["ADDRESS"] = "ADDRESS";
|
|
78906
79131
|
})(InputType || (InputType = {}));
|
|
78907
79132
|
var EmailInfoTag;
|
|
78908
79133
|
(function(EmailInfoTag3) {
|
|
@@ -79079,6 +79304,7 @@ var FactorType;
|
|
|
79079
79304
|
FactorType3["TOTP"] = "TOTP";
|
|
79080
79305
|
FactorType3["PUSH"] = "PUSH";
|
|
79081
79306
|
FactorType3["WEBAUTHN"] = "WEBAUTHN";
|
|
79307
|
+
FactorType3["RECOVERY_CODE"] = "RECOVERY_CODE";
|
|
79082
79308
|
})(FactorType || (FactorType = {}));
|
|
79083
79309
|
var MonitoringType;
|
|
79084
79310
|
(function(MonitoringType3) {
|
|
@@ -79505,6 +79731,7 @@ var DataType;
|
|
|
79505
79731
|
DataType3["arrayItems"] = "arrayItems";
|
|
79506
79732
|
DataType3["direction"] = "direction";
|
|
79507
79733
|
DataType3["menuItems"] = "menuItems";
|
|
79734
|
+
DataType3["data"] = "data";
|
|
79508
79735
|
})(DataType || (DataType = {}));
|
|
79509
79736
|
var A11yAttributes;
|
|
79510
79737
|
(function(A11yAttributes3) {
|
|
@@ -79694,6 +79921,7 @@ var Archetype;
|
|
|
79694
79921
|
Archetype3["AnimatedGraphic"] = "AnimatedGraphic";
|
|
79695
79922
|
Archetype3["Cart"] = "Cart";
|
|
79696
79923
|
Archetype3["ContactForm"] = "ContactForm";
|
|
79924
|
+
Archetype3["Frame"] = "Frame";
|
|
79697
79925
|
})(Archetype || (Archetype = {}));
|
|
79698
79926
|
var NativeStateType;
|
|
79699
79927
|
(function(NativeStateType3) {
|
|
@@ -79949,6 +80177,11 @@ var ValueConstraintType;
|
|
|
79949
80177
|
ValueConstraintType3["MIN_MAX_RANGE"] = "MIN_MAX_RANGE";
|
|
79950
80178
|
ValueConstraintType3["RANGE"] = "RANGE";
|
|
79951
80179
|
})(ValueConstraintType || (ValueConstraintType = {}));
|
|
80180
|
+
var RegionScopeScope;
|
|
80181
|
+
(function(RegionScopeScope3) {
|
|
80182
|
+
RegionScopeScope3["SPECIFIC_REGIONS"] = "SPECIFIC_REGIONS";
|
|
80183
|
+
RegionScopeScope3["WORLDWIDE"] = "WORLDWIDE";
|
|
80184
|
+
})(RegionScopeScope || (RegionScopeScope = {}));
|
|
79952
80185
|
var SaleType;
|
|
79953
80186
|
(function(SaleType2) {
|
|
79954
80187
|
SaleType2["UNKNOWN_SALE_TYPE"] = "UNKNOWN_SALE_TYPE";
|
|
@@ -80370,6 +80603,10 @@ var ComponentType2;
|
|
|
80370
80603
|
ComponentType3["CONTACTS_SEGMENTS_V2_FILTER_PROVIDER"] = "CONTACTS_SEGMENTS_V2_FILTER_PROVIDER";
|
|
80371
80604
|
ComponentType3["ANALYTICS_PRODUCT_CATALOG"] = "ANALYTICS_PRODUCT_CATALOG";
|
|
80372
80605
|
ComponentType3["SITE_MIGRATION"] = "SITE_MIGRATION";
|
|
80606
|
+
ComponentType3["RESTAURANTS_POS_PROVIDER_SETTINGS_SERVICE_PLUGIN"] = "RESTAURANTS_POS_PROVIDER_SETTINGS_SERVICE_PLUGIN";
|
|
80607
|
+
ComponentType3["WIX_VIBE_CODING_INSTRUCTIONS"] = "WIX_VIBE_CODING_INSTRUCTIONS";
|
|
80608
|
+
ComponentType3["TAX_EXEMPT_GROUPS_PROVIDER"] = "TAX_EXEMPT_GROUPS_PROVIDER";
|
|
80609
|
+
ComponentType3["BOOKING_AUTOMATIONS_CONFIGURATION"] = "BOOKING_AUTOMATIONS_CONFIGURATION";
|
|
80373
80610
|
})(ComponentType2 || (ComponentType2 = {}));
|
|
80374
80611
|
var WidgetVertical2;
|
|
80375
80612
|
(function(WidgetVertical3) {
|
|
@@ -80421,6 +80658,12 @@ var VerticalDocking2;
|
|
|
80421
80658
|
VerticalDocking3["VCENTER"] = "VCENTER";
|
|
80422
80659
|
VerticalDocking3["BOTTOM_DOCKING"] = "BOTTOM_DOCKING";
|
|
80423
80660
|
})(VerticalDocking2 || (VerticalDocking2 = {}));
|
|
80661
|
+
var SiteMembersSsrCaching2;
|
|
80662
|
+
(function(SiteMembersSsrCaching3) {
|
|
80663
|
+
SiteMembersSsrCaching3["UNKNOWN_SITE_MEMBERS_SSR_CACHING"] = "UNKNOWN_SITE_MEMBERS_SSR_CACHING";
|
|
80664
|
+
SiteMembersSsrCaching3["CACHING_ALLOWED"] = "CACHING_ALLOWED";
|
|
80665
|
+
SiteMembersSsrCaching3["CACHING_NOT_ALLOWED"] = "CACHING_NOT_ALLOWED";
|
|
80666
|
+
})(SiteMembersSsrCaching2 || (SiteMembersSsrCaching2 = {}));
|
|
80424
80667
|
var ReplacementType2;
|
|
80425
80668
|
(function(ReplacementType3) {
|
|
80426
80669
|
ReplacementType3["UNKNOWN_REPLACEMENT"] = "UNKNOWN_REPLACEMENT";
|
|
@@ -80728,6 +80971,12 @@ var Status2;
|
|
|
80728
80971
|
Status4["ACTIVE"] = "ACTIVE";
|
|
80729
80972
|
Status4["INACTIVE"] = "INACTIVE";
|
|
80730
80973
|
})(Status2 || (Status2 = {}));
|
|
80974
|
+
var LayoutMode2;
|
|
80975
|
+
(function(LayoutMode3) {
|
|
80976
|
+
LayoutMode3["STANDARD_VIEW"] = "STANDARD_VIEW";
|
|
80977
|
+
LayoutMode3["BUILDER_VIEW"] = "BUILDER_VIEW";
|
|
80978
|
+
LayoutMode3["EXPANDED_VIEW"] = "EXPANDED_VIEW";
|
|
80979
|
+
})(LayoutMode2 || (LayoutMode2 = {}));
|
|
80731
80980
|
var TextInputDisplayType2;
|
|
80732
80981
|
(function(TextInputDisplayType3) {
|
|
80733
80982
|
TextInputDisplayType3["TEXT"] = "TEXT";
|
|
@@ -81122,6 +81371,7 @@ var OAuthAppType2;
|
|
|
81122
81371
|
OAuthAppType3["WEB_APP"] = "WEB_APP";
|
|
81123
81372
|
OAuthAppType3["MOBILE"] = "MOBILE";
|
|
81124
81373
|
OAuthAppType3["OTHER"] = "OTHER";
|
|
81374
|
+
OAuthAppType3["SYSTEM"] = "SYSTEM";
|
|
81125
81375
|
})(OAuthAppType2 || (OAuthAppType2 = {}));
|
|
81126
81376
|
var OAuthTechnologies2;
|
|
81127
81377
|
(function(OAuthTechnologies3) {
|
|
@@ -81344,7 +81594,27 @@ var StringComponentType2;
|
|
|
81344
81594
|
StringComponentType3["DATE_INPUT"] = "DATE_INPUT";
|
|
81345
81595
|
StringComponentType3["TIME_INPUT"] = "TIME_INPUT";
|
|
81346
81596
|
StringComponentType3["DATE_PICKER"] = "DATE_PICKER";
|
|
81597
|
+
StringComponentType3["SERVICES_DROPDOWN"] = "SERVICES_DROPDOWN";
|
|
81347
81598
|
})(StringComponentType2 || (StringComponentType2 = {}));
|
|
81599
|
+
var ImagePosition2;
|
|
81600
|
+
(function(ImagePosition3) {
|
|
81601
|
+
ImagePosition3["UNKNOWN_IMAGE_POSITION"] = "UNKNOWN_IMAGE_POSITION";
|
|
81602
|
+
ImagePosition3["ABOVE"] = "ABOVE";
|
|
81603
|
+
ImagePosition3["BELOW"] = "BELOW";
|
|
81604
|
+
})(ImagePosition2 || (ImagePosition2 = {}));
|
|
81605
|
+
var AlignmentEnumAlignment2;
|
|
81606
|
+
(function(AlignmentEnumAlignment3) {
|
|
81607
|
+
AlignmentEnumAlignment3["UNKNOWN_ALIGNMENT"] = "UNKNOWN_ALIGNMENT";
|
|
81608
|
+
AlignmentEnumAlignment3["LEFT"] = "LEFT";
|
|
81609
|
+
AlignmentEnumAlignment3["CENTER"] = "CENTER";
|
|
81610
|
+
AlignmentEnumAlignment3["RIGHT"] = "RIGHT";
|
|
81611
|
+
})(AlignmentEnumAlignment2 || (AlignmentEnumAlignment2 = {}));
|
|
81612
|
+
var ImageFit2;
|
|
81613
|
+
(function(ImageFit3) {
|
|
81614
|
+
ImageFit3["UNKNOWN_IMAGE_FIT"] = "UNKNOWN_IMAGE_FIT";
|
|
81615
|
+
ImageFit3["COVER"] = "COVER";
|
|
81616
|
+
ImageFit3["CONTAIN"] = "CONTAIN";
|
|
81617
|
+
})(ImageFit2 || (ImageFit2 = {}));
|
|
81348
81618
|
var NumberOfColumns2;
|
|
81349
81619
|
(function(NumberOfColumns3) {
|
|
81350
81620
|
NumberOfColumns3["UNKNOWN"] = "UNKNOWN";
|
|
@@ -81391,6 +81661,7 @@ var ArrayComponentType2;
|
|
|
81391
81661
|
(function(ArrayComponentType3) {
|
|
81392
81662
|
ArrayComponentType3["UNKNOWN_COMPONENT_TYPE"] = "UNKNOWN_COMPONENT_TYPE";
|
|
81393
81663
|
ArrayComponentType3["CHECKBOX_GROUP"] = "CHECKBOX_GROUP";
|
|
81664
|
+
ArrayComponentType3["TAGS"] = "TAGS";
|
|
81394
81665
|
})(ArrayComponentType2 || (ArrayComponentType2 = {}));
|
|
81395
81666
|
var WixFileComponentType2;
|
|
81396
81667
|
(function(WixFileComponentType3) {
|
|
@@ -81398,6 +81669,15 @@ var WixFileComponentType2;
|
|
|
81398
81669
|
WixFileComponentType3["FILE_UPLOAD"] = "FILE_UPLOAD";
|
|
81399
81670
|
WixFileComponentType3["SIGNATURE"] = "SIGNATURE";
|
|
81400
81671
|
})(WixFileComponentType2 || (WixFileComponentType2 = {}));
|
|
81672
|
+
var UploadFileFormatEnumUploadFileFormat2;
|
|
81673
|
+
(function(UploadFileFormatEnumUploadFileFormat3) {
|
|
81674
|
+
UploadFileFormatEnumUploadFileFormat3["UNKNOWN_UPLOAD_FILE_FORMAT"] = "UNKNOWN_UPLOAD_FILE_FORMAT";
|
|
81675
|
+
UploadFileFormatEnumUploadFileFormat3["VIDEO"] = "VIDEO";
|
|
81676
|
+
UploadFileFormatEnumUploadFileFormat3["IMAGE"] = "IMAGE";
|
|
81677
|
+
UploadFileFormatEnumUploadFileFormat3["AUDIO"] = "AUDIO";
|
|
81678
|
+
UploadFileFormatEnumUploadFileFormat3["DOCUMENT"] = "DOCUMENT";
|
|
81679
|
+
UploadFileFormatEnumUploadFileFormat3["ARCHIVE"] = "ARCHIVE";
|
|
81680
|
+
})(UploadFileFormatEnumUploadFileFormat2 || (UploadFileFormatEnumUploadFileFormat2 = {}));
|
|
81401
81681
|
var UploadFileFormat2;
|
|
81402
81682
|
(function(UploadFileFormat3) {
|
|
81403
81683
|
UploadFileFormat3["UNDEFINED"] = "UNDEFINED";
|
|
@@ -81412,6 +81692,8 @@ var PaymentComponentType2;
|
|
|
81412
81692
|
PaymentComponentType3["UNKNOWN_COMPONENT_TYPE"] = "UNKNOWN_COMPONENT_TYPE";
|
|
81413
81693
|
PaymentComponentType3["CHECKBOX_GROUP"] = "CHECKBOX_GROUP";
|
|
81414
81694
|
PaymentComponentType3["DONATION_INPUT"] = "DONATION_INPUT";
|
|
81695
|
+
PaymentComponentType3["PAYMENT_INPUT"] = "PAYMENT_INPUT";
|
|
81696
|
+
PaymentComponentType3["FIXED_PAYMENT"] = "FIXED_PAYMENT";
|
|
81415
81697
|
})(PaymentComponentType2 || (PaymentComponentType2 = {}));
|
|
81416
81698
|
var ProductType2;
|
|
81417
81699
|
(function(ProductType3) {
|
|
@@ -81425,23 +81707,29 @@ var PriceType2;
|
|
|
81425
81707
|
PriceType3["FIXED_PRICE"] = "FIXED_PRICE";
|
|
81426
81708
|
PriceType3["DYNAMIC_PRICE"] = "DYNAMIC_PRICE";
|
|
81427
81709
|
})(PriceType2 || (PriceType2 = {}));
|
|
81428
|
-
var
|
|
81429
|
-
(function(
|
|
81430
|
-
|
|
81431
|
-
|
|
81432
|
-
|
|
81433
|
-
})(ImageFit2 || (ImageFit2 = {}));
|
|
81434
|
-
var MultilineAddressComponentType2;
|
|
81435
|
-
(function(MultilineAddressComponentType3) {
|
|
81436
|
-
MultilineAddressComponentType3["UNKNOWN_COMPONENT_TYPE"] = "UNKNOWN_COMPONENT_TYPE";
|
|
81437
|
-
MultilineAddressComponentType3["MULTILINE_ADDRESS"] = "MULTILINE_ADDRESS";
|
|
81438
|
-
})(MultilineAddressComponentType2 || (MultilineAddressComponentType2 = {}));
|
|
81710
|
+
var AddressComponentType2;
|
|
81711
|
+
(function(AddressComponentType3) {
|
|
81712
|
+
AddressComponentType3["UNKNOWN_COMPONENT_TYPE"] = "UNKNOWN_COMPONENT_TYPE";
|
|
81713
|
+
AddressComponentType3["MULTILINE_ADDRESS"] = "MULTILINE_ADDRESS";
|
|
81714
|
+
})(AddressComponentType2 || (AddressComponentType2 = {}));
|
|
81439
81715
|
var DefaultCountryConfigType2;
|
|
81440
81716
|
(function(DefaultCountryConfigType3) {
|
|
81441
81717
|
DefaultCountryConfigType3["UNKNOWN_DEFAULT_COUNTRY"] = "UNKNOWN_DEFAULT_COUNTRY";
|
|
81442
81718
|
DefaultCountryConfigType3["BY_IP"] = "BY_IP";
|
|
81443
81719
|
DefaultCountryConfigType3["COUNTRY"] = "COUNTRY";
|
|
81444
81720
|
})(DefaultCountryConfigType2 || (DefaultCountryConfigType2 = {}));
|
|
81721
|
+
var SchedulingComponentType2;
|
|
81722
|
+
(function(SchedulingComponentType3) {
|
|
81723
|
+
SchedulingComponentType3["UNKNOWN_COMPONENT_TYPE"] = "UNKNOWN_COMPONENT_TYPE";
|
|
81724
|
+
SchedulingComponentType3["APPOINTMENT"] = "APPOINTMENT";
|
|
81725
|
+
})(SchedulingComponentType2 || (SchedulingComponentType2 = {}));
|
|
81726
|
+
var AppointmentFormat2;
|
|
81727
|
+
(function(AppointmentFormat3) {
|
|
81728
|
+
AppointmentFormat3["UNKNOWN_FORMAT_TYPE"] = "UNKNOWN_FORMAT_TYPE";
|
|
81729
|
+
AppointmentFormat3["IN_PERSON"] = "IN_PERSON";
|
|
81730
|
+
AppointmentFormat3["VIDEO_CONFERENCE"] = "VIDEO_CONFERENCE";
|
|
81731
|
+
AppointmentFormat3["PHONE"] = "PHONE";
|
|
81732
|
+
})(AppointmentFormat2 || (AppointmentFormat2 = {}));
|
|
81445
81733
|
var InputType2;
|
|
81446
81734
|
(function(InputType3) {
|
|
81447
81735
|
InputType3["UNKNOWN_INPUT_TYPE"] = "UNKNOWN_INPUT_TYPE";
|
|
@@ -81453,6 +81741,8 @@ var InputType2;
|
|
|
81453
81741
|
InputType3["WIX_FILE"] = "WIX_FILE";
|
|
81454
81742
|
InputType3["PAYMENT"] = "PAYMENT";
|
|
81455
81743
|
InputType3["MULTILINE_ADDRESS"] = "MULTILINE_ADDRESS";
|
|
81744
|
+
InputType3["SCHEDULING"] = "SCHEDULING";
|
|
81745
|
+
InputType3["ADDRESS"] = "ADDRESS";
|
|
81456
81746
|
})(InputType2 || (InputType2 = {}));
|
|
81457
81747
|
var EmailInfoTag2;
|
|
81458
81748
|
(function(EmailInfoTag3) {
|
|
@@ -81629,6 +81919,7 @@ var FactorType2;
|
|
|
81629
81919
|
FactorType3["TOTP"] = "TOTP";
|
|
81630
81920
|
FactorType3["PUSH"] = "PUSH";
|
|
81631
81921
|
FactorType3["WEBAUTHN"] = "WEBAUTHN";
|
|
81922
|
+
FactorType3["RECOVERY_CODE"] = "RECOVERY_CODE";
|
|
81632
81923
|
})(FactorType2 || (FactorType2 = {}));
|
|
81633
81924
|
var MonitoringType2;
|
|
81634
81925
|
(function(MonitoringType3) {
|
|
@@ -82055,6 +82346,7 @@ var DataType2;
|
|
|
82055
82346
|
DataType3["arrayItems"] = "arrayItems";
|
|
82056
82347
|
DataType3["direction"] = "direction";
|
|
82057
82348
|
DataType3["menuItems"] = "menuItems";
|
|
82349
|
+
DataType3["data"] = "data";
|
|
82058
82350
|
})(DataType2 || (DataType2 = {}));
|
|
82059
82351
|
var A11yAttributes2;
|
|
82060
82352
|
(function(A11yAttributes3) {
|
|
@@ -82244,6 +82536,7 @@ var Archetype2;
|
|
|
82244
82536
|
Archetype3["AnimatedGraphic"] = "AnimatedGraphic";
|
|
82245
82537
|
Archetype3["Cart"] = "Cart";
|
|
82246
82538
|
Archetype3["ContactForm"] = "ContactForm";
|
|
82539
|
+
Archetype3["Frame"] = "Frame";
|
|
82247
82540
|
})(Archetype2 || (Archetype2 = {}));
|
|
82248
82541
|
var NativeStateType2;
|
|
82249
82542
|
(function(NativeStateType3) {
|
|
@@ -82499,6 +82792,11 @@ var ValueConstraintType2;
|
|
|
82499
82792
|
ValueConstraintType3["MIN_MAX_RANGE"] = "MIN_MAX_RANGE";
|
|
82500
82793
|
ValueConstraintType3["RANGE"] = "RANGE";
|
|
82501
82794
|
})(ValueConstraintType2 || (ValueConstraintType2 = {}));
|
|
82795
|
+
var RegionScopeScope2;
|
|
82796
|
+
(function(RegionScopeScope3) {
|
|
82797
|
+
RegionScopeScope3["SPECIFIC_REGIONS"] = "SPECIFIC_REGIONS";
|
|
82798
|
+
RegionScopeScope3["WORLDWIDE"] = "WORLDWIDE";
|
|
82799
|
+
})(RegionScopeScope2 || (RegionScopeScope2 = {}));
|
|
82502
82800
|
var OpenConsentIn2;
|
|
82503
82801
|
(function(OpenConsentIn3) {
|
|
82504
82802
|
OpenConsentIn3["NONE_VALUE"] = "NONE_VALUE";
|
|
@@ -83179,28 +83477,10 @@ var DevCenterClient = class {
|
|
|
83179
83477
|
|
|
83180
83478
|
// ../dev-center-client/src/useDevCenterClient.ts
|
|
83181
83479
|
init_esm_shims();
|
|
83182
|
-
var
|
|
83183
|
-
|
|
83184
|
-
// ../cli-http-client-react/src/index.ts
|
|
83185
|
-
init_esm_shims();
|
|
83186
|
-
|
|
83187
|
-
// ../cli-http-client-react/src/useHttpClient.ts
|
|
83188
|
-
init_esm_shims();
|
|
83189
|
-
var import_react95 = __toESM(require_react(), 1);
|
|
83190
|
-
function useHttpClient({
|
|
83191
|
-
type
|
|
83192
|
-
}) {
|
|
83193
|
-
const { getAccessToken: getAppToken, getRequestHeaders: createHeaders2 } = useAuth();
|
|
83194
|
-
return (0, import_react95.useMemo)(
|
|
83195
|
-
() => createHttpClient({ type, getAppToken, createHeaders: createHeaders2 }),
|
|
83196
|
-
[type, getAppToken, createHeaders2]
|
|
83197
|
-
);
|
|
83198
|
-
}
|
|
83199
|
-
|
|
83200
|
-
// ../dev-center-client/src/useDevCenterClient.ts
|
|
83480
|
+
var import_react97 = __toESM(require_react(), 1);
|
|
83201
83481
|
function useDevCenterClient() {
|
|
83202
83482
|
const httpClient = useHttpClient({ type: "backoffice" });
|
|
83203
|
-
return (0,
|
|
83483
|
+
return (0, import_react97.useMemo)(() => new DevCenterClient(httpClient), [httpClient]);
|
|
83204
83484
|
}
|
|
83205
83485
|
|
|
83206
83486
|
// src/parse-command-options.ts
|
|
@@ -83299,7 +83579,7 @@ var DeveloperAppsStatus = (0, import_variant31.variant)({
|
|
|
83299
83579
|
|
|
83300
83580
|
// src/components/CreateAppOrExtendExisting.tsx
|
|
83301
83581
|
init_esm_shims();
|
|
83302
|
-
var
|
|
83582
|
+
var import_react98 = __toESM(require_react(), 1);
|
|
83303
83583
|
var import_variant32 = __toESM(require_lib(), 1);
|
|
83304
83584
|
var CreateAppOrExtendExisting = ({
|
|
83305
83585
|
developerAppsStatus,
|
|
@@ -83316,7 +83596,7 @@ var CreateAppOrExtendExisting = ({
|
|
|
83316
83596
|
Available: SelectOptionAvailability.Enabled()
|
|
83317
83597
|
})
|
|
83318
83598
|
);
|
|
83319
|
-
return /* @__PURE__ */
|
|
83599
|
+
return /* @__PURE__ */ import_react98.default.createElement(import_react98.default.Fragment, null, /* @__PURE__ */ import_react98.default.createElement(
|
|
83320
83600
|
SelectInput2,
|
|
83321
83601
|
{
|
|
83322
83602
|
label: t3("create_app.create_new_or_extend.label"),
|
|
@@ -83349,16 +83629,16 @@ var CreateAppOrExtendExisting = ({
|
|
|
83349
83629
|
|
|
83350
83630
|
// src/components/Questions/NewAppFlow.tsx
|
|
83351
83631
|
init_esm_shims();
|
|
83352
|
-
var
|
|
83632
|
+
var import_react108 = __toESM(require_react(), 1);
|
|
83353
83633
|
var import_variant37 = __toESM(require_lib(), 1);
|
|
83354
83634
|
|
|
83355
83635
|
// src/components/ChooseAppName.tsx
|
|
83356
83636
|
init_esm_shims();
|
|
83357
|
-
var
|
|
83637
|
+
var import_react99 = __toESM(require_react(), 1);
|
|
83358
83638
|
var ChooseAppName = ({ onSubmit }) => {
|
|
83359
83639
|
const { t: t3 } = useTranslation();
|
|
83360
83640
|
const { cliFlowStepAnswered } = useCreateAppBi();
|
|
83361
|
-
return /* @__PURE__ */
|
|
83641
|
+
return /* @__PURE__ */ import_react99.default.createElement(
|
|
83362
83642
|
TextInput2,
|
|
83363
83643
|
{
|
|
83364
83644
|
label: t3("create_app.create_new.name_of_app.label"),
|
|
@@ -83379,22 +83659,22 @@ var ChooseAppName = ({ onSubmit }) => {
|
|
|
83379
83659
|
|
|
83380
83660
|
// src/components/ChoosePackageName.tsx
|
|
83381
83661
|
init_esm_shims();
|
|
83382
|
-
var
|
|
83662
|
+
var import_react101 = __toESM(require_react(), 1);
|
|
83383
83663
|
var import_variant33 = __toESM(require_lib(), 1);
|
|
83384
83664
|
import { join as join11, relative as relative3 } from "node:path";
|
|
83385
83665
|
var import_kebabCase2 = __toESM(require_kebabCase(), 1);
|
|
83386
83666
|
|
|
83387
83667
|
// src/components/ConfirmPackagePath.tsx
|
|
83388
83668
|
init_esm_shims();
|
|
83389
|
-
var
|
|
83669
|
+
var import_react100 = __toESM(require_react(), 1);
|
|
83390
83670
|
var ConfirmPackagePath = ({
|
|
83391
83671
|
path: path8,
|
|
83392
83672
|
onSubmit
|
|
83393
83673
|
}) => {
|
|
83394
83674
|
const { t: t3 } = useTranslation();
|
|
83395
83675
|
const { cliFlowStepAnswered } = useCreateAppBi();
|
|
83396
|
-
const [cancelled, setCancelled] = (0,
|
|
83397
|
-
return /* @__PURE__ */
|
|
83676
|
+
const [cancelled, setCancelled] = (0, import_react100.useState)(false);
|
|
83677
|
+
return /* @__PURE__ */ import_react100.default.createElement(import_react100.default.Fragment, null, /* @__PURE__ */ import_react100.default.createElement(Box_default, { marginLeft: -2, marginBottom: 1 }, /* @__PURE__ */ import_react100.default.createElement(
|
|
83398
83678
|
ConfirmInput,
|
|
83399
83679
|
{
|
|
83400
83680
|
label: t3("create_app.confirm_path_message", {
|
|
@@ -83413,7 +83693,7 @@ var ConfirmPackagePath = ({
|
|
|
83413
83693
|
}
|
|
83414
83694
|
}
|
|
83415
83695
|
}
|
|
83416
|
-
)), cancelled && /* @__PURE__ */
|
|
83696
|
+
)), cancelled && /* @__PURE__ */ import_react100.default.createElement(Box_default, { marginBottom: 1 }, /* @__PURE__ */ import_react100.default.createElement(Text2, null, t3("create_app.confirm_path_exit_message"))));
|
|
83417
83697
|
};
|
|
83418
83698
|
|
|
83419
83699
|
// src/components/ChoosePackageName.tsx
|
|
@@ -83425,8 +83705,8 @@ var ChoosePackageName = ({
|
|
|
83425
83705
|
}) => {
|
|
83426
83706
|
const { t: t3 } = useTranslation();
|
|
83427
83707
|
const { cliFlowStepAnswered } = useCreateAppBi();
|
|
83428
|
-
const [packageName, setPackageName] = (0,
|
|
83429
|
-
const defaultPackageName = (0,
|
|
83708
|
+
const [packageName, setPackageName] = (0, import_react101.useState)();
|
|
83709
|
+
const defaultPackageName = (0, import_react101.useMemo)(() => {
|
|
83430
83710
|
return (0, import_kebabCase2.default)(appName);
|
|
83431
83711
|
}, [appName]);
|
|
83432
83712
|
const isMonorepo = (0, import_variant33.isType)(repoType, RepoType.Monorepo);
|
|
@@ -83442,7 +83722,7 @@ var ChoosePackageName = ({
|
|
|
83442
83722
|
})
|
|
83443
83723
|
});
|
|
83444
83724
|
}
|
|
83445
|
-
const handlePackageNameSet = (0,
|
|
83725
|
+
const handlePackageNameSet = (0, import_react101.useCallback)(
|
|
83446
83726
|
(packageName2) => {
|
|
83447
83727
|
cliFlowStepAnswered({
|
|
83448
83728
|
question: t3("create_app.choose_package_name.label"),
|
|
@@ -83457,7 +83737,7 @@ var ChoosePackageName = ({
|
|
|
83457
83737
|
},
|
|
83458
83738
|
[cliFlowStepAnswered, setPackageName, onSelected, isMonorepo, t3]
|
|
83459
83739
|
);
|
|
83460
|
-
const handlePackagePathConfirm = (0,
|
|
83740
|
+
const handlePackagePathConfirm = (0, import_react101.useCallback)(
|
|
83461
83741
|
(packageName2, isConfirmed) => {
|
|
83462
83742
|
if (isConfirmed) {
|
|
83463
83743
|
onSelected(packageName2);
|
|
@@ -83465,7 +83745,7 @@ var ChoosePackageName = ({
|
|
|
83465
83745
|
},
|
|
83466
83746
|
[onSelected]
|
|
83467
83747
|
);
|
|
83468
|
-
return /* @__PURE__ */
|
|
83748
|
+
return /* @__PURE__ */ import_react101.default.createElement(import_react101.default.Fragment, null, /* @__PURE__ */ import_react101.default.createElement(
|
|
83469
83749
|
TextInput2,
|
|
83470
83750
|
{
|
|
83471
83751
|
label: t3("create_app.choose_package_name.label"),
|
|
@@ -83474,7 +83754,7 @@ var ChoosePackageName = ({
|
|
|
83474
83754
|
validate: validate3,
|
|
83475
83755
|
inCreateFlow: true
|
|
83476
83756
|
}
|
|
83477
|
-
), packageName && isMonorepo && /* @__PURE__ */
|
|
83757
|
+
), packageName && isMonorepo && /* @__PURE__ */ import_react101.default.createElement(
|
|
83478
83758
|
ConfirmPackagePath,
|
|
83479
83759
|
{
|
|
83480
83760
|
path: relative3(
|
|
@@ -83488,17 +83768,17 @@ var ChoosePackageName = ({
|
|
|
83488
83768
|
|
|
83489
83769
|
// src/components/Questions/ChooseTemplateFlow.tsx
|
|
83490
83770
|
init_esm_shims();
|
|
83491
|
-
var
|
|
83771
|
+
var import_react104 = __toESM(require_react(), 1);
|
|
83492
83772
|
|
|
83493
83773
|
// src/components/ChooseAppCreationSource.tsx
|
|
83494
83774
|
init_esm_shims();
|
|
83495
|
-
var
|
|
83775
|
+
var import_react102 = __toESM(require_react(), 1);
|
|
83496
83776
|
var ChooseAppCreationSource = ({
|
|
83497
83777
|
onSelected
|
|
83498
83778
|
}) => {
|
|
83499
83779
|
const { t: t3 } = useTranslation();
|
|
83500
83780
|
const { cliFlowStepAnswered } = useCreateAppBi();
|
|
83501
|
-
return /* @__PURE__ */
|
|
83781
|
+
return /* @__PURE__ */ import_react102.default.createElement(
|
|
83502
83782
|
SelectInput2,
|
|
83503
83783
|
{
|
|
83504
83784
|
label: t3("create_app.choose_app_creation_source.label"),
|
|
@@ -83532,13 +83812,13 @@ var ChooseAppCreationSource = ({
|
|
|
83532
83812
|
|
|
83533
83813
|
// src/components/ChooseTemplate.tsx
|
|
83534
83814
|
init_esm_shims();
|
|
83535
|
-
var
|
|
83815
|
+
var import_react103 = __toESM(require_react(), 1);
|
|
83536
83816
|
var import_variant34 = __toESM(require_lib(), 1);
|
|
83537
83817
|
var ChooseTemplate = ({ onSelected }) => {
|
|
83538
83818
|
const { t: t3 } = useTranslation();
|
|
83539
83819
|
const { cliFlowStepAnswered } = useCreateAppBi();
|
|
83540
83820
|
const { queryCliAppTemplates } = useDevCenterClient();
|
|
83541
|
-
const [isTemplateSelected, setIsTemplateSelected] = (0,
|
|
83821
|
+
const [isTemplateSelected, setIsTemplateSelected] = (0, import_react103.useState)(false);
|
|
83542
83822
|
const { status } = useAsync2(async () => {
|
|
83543
83823
|
const appTemplates = await queryCliAppTemplates();
|
|
83544
83824
|
return {
|
|
@@ -83552,10 +83832,10 @@ var ChooseTemplate = ({ onSelected }) => {
|
|
|
83552
83832
|
})
|
|
83553
83833
|
};
|
|
83554
83834
|
}, []);
|
|
83555
|
-
return /* @__PURE__ */
|
|
83835
|
+
return /* @__PURE__ */ import_react103.default.createElement(import_react103.default.Fragment, null, (0, import_variant34.match)(status, {
|
|
83556
83836
|
Error: () => null,
|
|
83557
|
-
Loading: () => /* @__PURE__ */
|
|
83558
|
-
Success: ({ result: { appTemplatesOptions } }) => /* @__PURE__ */
|
|
83837
|
+
Loading: () => /* @__PURE__ */ import_react103.default.createElement(Spinner2, null),
|
|
83838
|
+
Success: ({ result: { appTemplatesOptions } }) => /* @__PURE__ */ import_react103.default.createElement(import_react103.default.Fragment, null, /* @__PURE__ */ import_react103.default.createElement(
|
|
83559
83839
|
SelectInput2,
|
|
83560
83840
|
{
|
|
83561
83841
|
label: t3("create_app.choose_template.title"),
|
|
@@ -83570,12 +83850,12 @@ var ChooseTemplate = ({ onSelected }) => {
|
|
|
83570
83850
|
onSelected(value2);
|
|
83571
83851
|
}
|
|
83572
83852
|
}
|
|
83573
|
-
), !isTemplateSelected && /* @__PURE__ */
|
|
83853
|
+
), !isTemplateSelected && /* @__PURE__ */ import_react103.default.createElement(Box_default, { marginTop: 1 }, /* @__PURE__ */ import_react103.default.createElement(
|
|
83574
83854
|
Trans2,
|
|
83575
83855
|
{
|
|
83576
83856
|
i18nKey: "create_app.choose_template.see_templates",
|
|
83577
83857
|
components: [
|
|
83578
|
-
/* @__PURE__ */
|
|
83858
|
+
/* @__PURE__ */ import_react103.default.createElement(Link, { url: "https://dev.wix.com/apps-templates?filter=cli" })
|
|
83579
83859
|
]
|
|
83580
83860
|
}
|
|
83581
83861
|
)))
|
|
@@ -83586,8 +83866,8 @@ var ChooseTemplate = ({ onSelected }) => {
|
|
|
83586
83866
|
var ChooseTemplateFlow = ({
|
|
83587
83867
|
onTemplateChoose
|
|
83588
83868
|
}) => {
|
|
83589
|
-
const [shouldSelectTemplate, setShouldSelectTemplate] = (0,
|
|
83590
|
-
return /* @__PURE__ */
|
|
83869
|
+
const [shouldSelectTemplate, setShouldSelectTemplate] = (0, import_react104.useState)(false);
|
|
83870
|
+
return /* @__PURE__ */ import_react104.default.createElement(import_react104.default.Fragment, null, /* @__PURE__ */ import_react104.default.createElement(
|
|
83591
83871
|
ChooseAppCreationSource,
|
|
83592
83872
|
{
|
|
83593
83873
|
onSelected: (source) => {
|
|
@@ -83598,7 +83878,7 @@ var ChooseTemplateFlow = ({
|
|
|
83598
83878
|
}
|
|
83599
83879
|
}
|
|
83600
83880
|
}
|
|
83601
|
-
), shouldSelectTemplate && /* @__PURE__ */
|
|
83881
|
+
), shouldSelectTemplate && /* @__PURE__ */ import_react104.default.createElement(
|
|
83602
83882
|
ChooseTemplate,
|
|
83603
83883
|
{
|
|
83604
83884
|
onSelected: (template) => {
|
|
@@ -83610,21 +83890,21 @@ var ChooseTemplateFlow = ({
|
|
|
83610
83890
|
|
|
83611
83891
|
// src/components/RegisteringApp.tsx
|
|
83612
83892
|
init_esm_shims();
|
|
83613
|
-
var
|
|
83893
|
+
var import_react105 = __toESM(require_react(), 1);
|
|
83614
83894
|
var RegisteringApp = () => {
|
|
83615
83895
|
const { t: t3 } = useTranslation();
|
|
83616
|
-
return /* @__PURE__ */
|
|
83896
|
+
return /* @__PURE__ */ import_react105.default.createElement(Box_default, { marginTop: 1 }, /* @__PURE__ */ import_react105.default.createElement(Spinner2, { text: t3("create_app.create_new.registering_your_app") }));
|
|
83617
83897
|
};
|
|
83618
83898
|
|
|
83619
83899
|
// src/components/AppRegistered.tsx
|
|
83620
83900
|
init_esm_shims();
|
|
83621
|
-
var
|
|
83901
|
+
var import_react106 = __toESM(require_react(), 1);
|
|
83622
83902
|
var AppRegistered = ({ appName }) => {
|
|
83623
|
-
return /* @__PURE__ */
|
|
83903
|
+
return /* @__PURE__ */ import_react106.default.createElement(Box_default, { marginLeft: -2 }, /* @__PURE__ */ import_react106.default.createElement(Alert, { type: "success" }, /* @__PURE__ */ import_react106.default.createElement(Badge, { skin: "success" }, /* @__PURE__ */ import_react106.default.createElement(Trans2, { i18nKey: "create_app.success" })), " ", /* @__PURE__ */ import_react106.default.createElement(
|
|
83624
83904
|
Trans2,
|
|
83625
83905
|
{
|
|
83626
83906
|
i18nKey: "create_app.create_new.app_registered_successfully",
|
|
83627
|
-
components: [/* @__PURE__ */
|
|
83907
|
+
components: [/* @__PURE__ */ import_react106.default.createElement(Text2, { bold: true })],
|
|
83628
83908
|
values: { appName }
|
|
83629
83909
|
}
|
|
83630
83910
|
)));
|
|
@@ -83632,7 +83912,7 @@ var AppRegistered = ({ appName }) => {
|
|
|
83632
83912
|
|
|
83633
83913
|
// src/components/mcp/ConfigMcp.tsx
|
|
83634
83914
|
init_esm_shims();
|
|
83635
|
-
var
|
|
83915
|
+
var import_react107 = __toESM(require_react(), 1);
|
|
83636
83916
|
var import_variant35 = __toESM(require_lib(), 1);
|
|
83637
83917
|
var IdeForMcp = (0, import_variant35.variant)({
|
|
83638
83918
|
VsCode: {},
|
|
@@ -83641,16 +83921,16 @@ var IdeForMcp = (0, import_variant35.variant)({
|
|
|
83641
83921
|
var ConfigMcp = ({ onSelected }) => {
|
|
83642
83922
|
const { t: t3 } = useTranslation();
|
|
83643
83923
|
const { cliFlowStepAnswered } = useCreateAppBi();
|
|
83644
|
-
return /* @__PURE__ */
|
|
83924
|
+
return /* @__PURE__ */ import_react107.default.createElement(
|
|
83645
83925
|
SelectInput2,
|
|
83646
83926
|
{
|
|
83647
83927
|
label: t3("create_app.choose_ide_for_mcp.question"),
|
|
83648
|
-
info: /* @__PURE__ */
|
|
83928
|
+
info: /* @__PURE__ */ import_react107.default.createElement(
|
|
83649
83929
|
Trans2,
|
|
83650
83930
|
{
|
|
83651
83931
|
i18nKey: "create_app.choose_ide_for_mcp.description",
|
|
83652
83932
|
components: [
|
|
83653
|
-
/* @__PURE__ */
|
|
83933
|
+
/* @__PURE__ */ import_react107.default.createElement(Link, { url: "https://www.wix.com/studio/developers/mcp-server" })
|
|
83654
83934
|
]
|
|
83655
83935
|
}
|
|
83656
83936
|
),
|
|
@@ -83738,11 +84018,11 @@ var NewAppFlow = ({
|
|
|
83738
84018
|
}) => {
|
|
83739
84019
|
const devCenterClient = useDevCenterClient();
|
|
83740
84020
|
const biLogger = useBiLogger();
|
|
83741
|
-
const [templateData, setTemplateData] = (0,
|
|
84021
|
+
const [templateData, setTemplateData] = (0, import_react108.useState)(
|
|
83742
84022
|
templateFromOptions
|
|
83743
84023
|
);
|
|
83744
|
-
const [appName, setAppName] = (0,
|
|
83745
|
-
const [packageName, setPackageName] = (0,
|
|
84024
|
+
const [appName, setAppName] = (0, import_react108.useState)();
|
|
84025
|
+
const [packageName, setPackageName] = (0, import_react108.useState)();
|
|
83746
84026
|
const createAppCallback = useAsyncCallback3(
|
|
83747
84027
|
async (_2, { appName: appName2, packageName: packageName2, template, mcpConfigResult }) => {
|
|
83748
84028
|
const { id: appId } = await (0, import_variant37.match)(
|
|
@@ -83784,7 +84064,7 @@ var NewAppFlow = ({
|
|
|
83784
84064
|
});
|
|
83785
84065
|
}
|
|
83786
84066
|
}, []);
|
|
83787
|
-
return /* @__PURE__ */
|
|
84067
|
+
return /* @__PURE__ */ import_react108.default.createElement(import_react108.default.Fragment, null, !templateFromOptions && /* @__PURE__ */ import_react108.default.createElement(ChooseTemplateFlow, { onTemplateChoose: setTemplateData }), templateData && !autoCreateApp && /* @__PURE__ */ import_react108.default.createElement(ChooseAppName, { onSubmit: setAppName }), appName && templateData && !autoCreateApp && /* @__PURE__ */ import_react108.default.createElement(
|
|
83788
84068
|
ChoosePackageName,
|
|
83789
84069
|
{
|
|
83790
84070
|
appName,
|
|
@@ -83803,7 +84083,7 @@ var NewAppFlow = ({
|
|
|
83803
84083
|
}
|
|
83804
84084
|
}
|
|
83805
84085
|
}
|
|
83806
|
-
), appName && packageName && templateData && !autoCreateApp && /* @__PURE__ */
|
|
84086
|
+
), appName && packageName && templateData && !autoCreateApp && /* @__PURE__ */ import_react108.default.createElement(import_react108.default.Fragment, null, /* @__PURE__ */ import_react108.default.createElement(
|
|
83807
84087
|
ConfigMcp,
|
|
83808
84088
|
{
|
|
83809
84089
|
onSelected: (ideForMcp) => {
|
|
@@ -83821,26 +84101,26 @@ var NewAppFlow = ({
|
|
|
83821
84101
|
}
|
|
83822
84102
|
)), (0, import_variant37.match)(createAppCallback.status, {
|
|
83823
84103
|
Error: () => null,
|
|
83824
|
-
Loading: () => /* @__PURE__ */
|
|
83825
|
-
Success: ({ result }) => /* @__PURE__ */
|
|
84104
|
+
Loading: () => /* @__PURE__ */ import_react108.default.createElement(RegisteringApp, null),
|
|
84105
|
+
Success: ({ result }) => /* @__PURE__ */ import_react108.default.createElement(AppRegistered, { ...result }),
|
|
83826
84106
|
NotRequested: () => null
|
|
83827
84107
|
}));
|
|
83828
84108
|
};
|
|
83829
84109
|
|
|
83830
84110
|
// src/components/Questions/ExistingAppFlow.tsx
|
|
83831
84111
|
init_esm_shims();
|
|
83832
|
-
var
|
|
84112
|
+
var import_react110 = __toESM(require_react(), 1);
|
|
83833
84113
|
|
|
83834
84114
|
// src/components/ExtendExistingApp.tsx
|
|
83835
84115
|
init_esm_shims();
|
|
83836
|
-
var
|
|
84116
|
+
var import_react109 = __toESM(require_react(), 1);
|
|
83837
84117
|
var ExtendExistingApp = ({
|
|
83838
84118
|
developerApps,
|
|
83839
84119
|
onSelected
|
|
83840
84120
|
}) => {
|
|
83841
84121
|
const { t: t3 } = useTranslation();
|
|
83842
84122
|
const { cliFlowStepAnswered } = useCreateAppBi();
|
|
83843
|
-
return /* @__PURE__ */
|
|
84123
|
+
return /* @__PURE__ */ import_react109.default.createElement(
|
|
83844
84124
|
SelectInput2,
|
|
83845
84125
|
{
|
|
83846
84126
|
label: t3("create_app.extend_existing.select_app.label"),
|
|
@@ -83875,8 +84155,8 @@ var ExistingAppFlow = ({
|
|
|
83875
84155
|
repoType
|
|
83876
84156
|
}) => {
|
|
83877
84157
|
const biLogger = useBiLogger();
|
|
83878
|
-
const [appData, setAppData] = (0,
|
|
83879
|
-
return /* @__PURE__ */
|
|
84158
|
+
const [appData, setAppData] = (0, import_react110.useState)();
|
|
84159
|
+
return /* @__PURE__ */ import_react110.default.createElement(import_react110.default.Fragment, null, /* @__PURE__ */ import_react110.default.createElement(
|
|
83880
84160
|
ExtendExistingApp,
|
|
83881
84161
|
{
|
|
83882
84162
|
developerApps,
|
|
@@ -83887,7 +84167,7 @@ var ExistingAppFlow = ({
|
|
|
83887
84167
|
setAppData(appData2);
|
|
83888
84168
|
}
|
|
83889
84169
|
}
|
|
83890
|
-
), appData && /* @__PURE__ */
|
|
84170
|
+
), appData && /* @__PURE__ */ import_react110.default.createElement(
|
|
83891
84171
|
ChoosePackageName,
|
|
83892
84172
|
{
|
|
83893
84173
|
appName: appData.appName,
|
|
@@ -83907,45 +84187,45 @@ var ExistingAppFlow = ({
|
|
|
83907
84187
|
|
|
83908
84188
|
// src/components/StartFromTemplateMessage.tsx
|
|
83909
84189
|
init_esm_shims();
|
|
83910
|
-
var
|
|
84190
|
+
var import_react111 = __toESM(require_react(), 1);
|
|
83911
84191
|
var import_variant38 = __toESM(require_lib(), 1);
|
|
83912
84192
|
var StartFromTemplateMessage = ({
|
|
83913
84193
|
template
|
|
83914
84194
|
}) => {
|
|
83915
84195
|
const messageComponent = (0, import_variant38.match)(template, {
|
|
83916
|
-
App: ({ payload: payload5 }) => /* @__PURE__ */
|
|
84196
|
+
App: ({ payload: payload5 }) => /* @__PURE__ */ import_react111.default.createElement(
|
|
83917
84197
|
Trans2,
|
|
83918
84198
|
{
|
|
83919
84199
|
i18nKey: "create_app.template_is_set_from_options.template_id",
|
|
83920
84200
|
values: {
|
|
83921
84201
|
templateName: payload5.title
|
|
83922
84202
|
},
|
|
83923
|
-
components: [/* @__PURE__ */
|
|
84203
|
+
components: [/* @__PURE__ */ import_react111.default.createElement(Text2, { bold: true })]
|
|
83924
84204
|
}
|
|
83925
84205
|
),
|
|
83926
|
-
GitRepo: ({ url: url2 }) => /* @__PURE__ */
|
|
84206
|
+
GitRepo: ({ url: url2 }) => /* @__PURE__ */ import_react111.default.createElement(
|
|
83927
84207
|
Trans2,
|
|
83928
84208
|
{
|
|
83929
84209
|
i18nKey: "create_app.template_is_set_from_options.git_repository",
|
|
83930
84210
|
values: {
|
|
83931
84211
|
templateRepoUrl: url2
|
|
83932
84212
|
},
|
|
83933
|
-
components: [/* @__PURE__ */
|
|
84213
|
+
components: [/* @__PURE__ */ import_react111.default.createElement(Text2, { bold: true })]
|
|
83934
84214
|
}
|
|
83935
84215
|
),
|
|
83936
|
-
Local: ({ path: path8 }) => /* @__PURE__ */
|
|
84216
|
+
Local: ({ path: path8 }) => /* @__PURE__ */ import_react111.default.createElement(
|
|
83937
84217
|
Trans2,
|
|
83938
84218
|
{
|
|
83939
84219
|
i18nKey: "create_app.template_is_set_from_options.local",
|
|
83940
84220
|
values: {
|
|
83941
84221
|
templatePath: path8
|
|
83942
84222
|
},
|
|
83943
|
-
components: [/* @__PURE__ */
|
|
84223
|
+
components: [/* @__PURE__ */ import_react111.default.createElement(Text2, { bold: true })]
|
|
83944
84224
|
}
|
|
83945
84225
|
),
|
|
83946
84226
|
Default: () => null
|
|
83947
84227
|
});
|
|
83948
|
-
return /* @__PURE__ */
|
|
84228
|
+
return /* @__PURE__ */ import_react111.default.createElement(Box_default, { marginBottom: 1 }, messageComponent);
|
|
83949
84229
|
};
|
|
83950
84230
|
|
|
83951
84231
|
// src/components/Questions/Questions.tsx
|
|
@@ -83959,7 +84239,7 @@ var Questions = ({
|
|
|
83959
84239
|
const devCenterClient = useDevCenterClient();
|
|
83960
84240
|
const { reportError: reportError2 } = useErrorReporter();
|
|
83961
84241
|
const { getDeveloperApps } = useDevCenterClient();
|
|
83962
|
-
const [appCreationFlow, setAppCreationFlow] = (0,
|
|
84242
|
+
const [appCreationFlow, setAppCreationFlow] = (0, import_react112.useState)();
|
|
83963
84243
|
const { status } = useAsync2(async () => {
|
|
83964
84244
|
const { template, appName } = await parseCommandOptions(
|
|
83965
84245
|
targetParentFolder2,
|
|
@@ -83992,12 +84272,12 @@ var Questions = ({
|
|
|
83992
84272
|
}, []);
|
|
83993
84273
|
return (0, import_variant39.match)(status, {
|
|
83994
84274
|
Error: () => null,
|
|
83995
|
-
Loading: () => /* @__PURE__ */
|
|
84275
|
+
Loading: () => /* @__PURE__ */ import_react112.default.createElement(Spinner2, { text: t3("general.loading") }),
|
|
83996
84276
|
Success: ({
|
|
83997
84277
|
result: { template, appName, developerApps, developerAppsStatus }
|
|
83998
84278
|
}) => {
|
|
83999
84279
|
if (template) {
|
|
84000
|
-
return /* @__PURE__ */
|
|
84280
|
+
return /* @__PURE__ */ import_react112.default.createElement(import_react112.default.Fragment, null, /* @__PURE__ */ import_react112.default.createElement(StartFromTemplateMessage, { template }), /* @__PURE__ */ import_react112.default.createElement(
|
|
84001
84281
|
NewAppFlow,
|
|
84002
84282
|
{
|
|
84003
84283
|
onSubmit,
|
|
@@ -84009,7 +84289,7 @@ var Questions = ({
|
|
|
84009
84289
|
));
|
|
84010
84290
|
}
|
|
84011
84291
|
if ((0, import_variant39.isType)(developerAppsStatus, "NoApps")) {
|
|
84012
|
-
return /* @__PURE__ */
|
|
84292
|
+
return /* @__PURE__ */ import_react112.default.createElement(
|
|
84013
84293
|
NewAppFlow,
|
|
84014
84294
|
{
|
|
84015
84295
|
onSubmit,
|
|
@@ -84018,20 +84298,20 @@ var Questions = ({
|
|
|
84018
84298
|
}
|
|
84019
84299
|
);
|
|
84020
84300
|
}
|
|
84021
|
-
return /* @__PURE__ */
|
|
84301
|
+
return /* @__PURE__ */ import_react112.default.createElement(import_react112.default.Fragment, null, /* @__PURE__ */ import_react112.default.createElement(
|
|
84022
84302
|
CreateAppOrExtendExisting,
|
|
84023
84303
|
{
|
|
84024
84304
|
developerAppsStatus,
|
|
84025
84305
|
onStartCreationFlow: setAppCreationFlow
|
|
84026
84306
|
}
|
|
84027
|
-
), appCreationFlow === "new" && /* @__PURE__ */
|
|
84307
|
+
), appCreationFlow === "new" && /* @__PURE__ */ import_react112.default.createElement(
|
|
84028
84308
|
NewAppFlow,
|
|
84029
84309
|
{
|
|
84030
84310
|
onSubmit,
|
|
84031
84311
|
targetParentFolder: targetParentFolder2,
|
|
84032
84312
|
repoType
|
|
84033
84313
|
}
|
|
84034
|
-
), appCreationFlow === "existing" && /* @__PURE__ */
|
|
84314
|
+
), appCreationFlow === "existing" && /* @__PURE__ */ import_react112.default.createElement(
|
|
84035
84315
|
ExistingAppFlow,
|
|
84036
84316
|
{
|
|
84037
84317
|
developerApps,
|
|
@@ -84465,10 +84745,10 @@ function getTasks({
|
|
|
84465
84745
|
|
|
84466
84746
|
// src/components/FinishedSuccessfullyMessage.tsx
|
|
84467
84747
|
init_esm_shims();
|
|
84468
|
-
var
|
|
84748
|
+
var import_react113 = __toESM(require_react(), 1);
|
|
84469
84749
|
var FinishedSuccessfullyMessage = ({ packageName, appData: { appName, appId }, packageManager }) => {
|
|
84470
84750
|
const { t: t3 } = useTranslation();
|
|
84471
|
-
return /* @__PURE__ */
|
|
84751
|
+
return /* @__PURE__ */ import_react113.default.createElement(
|
|
84472
84752
|
Box_default,
|
|
84473
84753
|
{
|
|
84474
84754
|
borderColor: "blue",
|
|
@@ -84480,22 +84760,22 @@ var FinishedSuccessfullyMessage = ({ packageName, appData: { appName, appId }, p
|
|
|
84480
84760
|
marginLeft: -2,
|
|
84481
84761
|
marginBottom: 1
|
|
84482
84762
|
},
|
|
84483
|
-
/* @__PURE__ */
|
|
84484
|
-
/* @__PURE__ */
|
|
84763
|
+
/* @__PURE__ */ import_react113.default.createElement(Box_default, { marginTop: -2, marginLeft: -4 }, /* @__PURE__ */ import_react113.default.createElement(Text2, { skin: "question", bold: true }, t3("create_app.results"), " ")),
|
|
84764
|
+
/* @__PURE__ */ import_react113.default.createElement(Text2, null, /* @__PURE__ */ import_react113.default.createElement(
|
|
84485
84765
|
Trans2,
|
|
84486
84766
|
{
|
|
84487
84767
|
i18nKey: "create_app.generate_project.finished.ready_to_start",
|
|
84488
|
-
components: [/* @__PURE__ */
|
|
84768
|
+
components: [/* @__PURE__ */ import_react113.default.createElement(Text2, { bold: true })],
|
|
84489
84769
|
values: { appName }
|
|
84490
84770
|
}
|
|
84491
84771
|
)),
|
|
84492
|
-
/* @__PURE__ */
|
|
84493
|
-
/* @__PURE__ */
|
|
84772
|
+
/* @__PURE__ */ import_react113.default.createElement(Text2, { bold: true }, t3("create_app.generate_project.finished.next_steps")),
|
|
84773
|
+
/* @__PURE__ */ import_react113.default.createElement(UnorderedList, { gap: 1 }, /* @__PURE__ */ import_react113.default.createElement(UnorderedList.Item, { marker: "\u{1F45F}" }, /* @__PURE__ */ import_react113.default.createElement(Text2, null, t3("create_app.generate_project.finished.run_local_development")), /* @__PURE__ */ import_react113.default.createElement(Text2, { skin: "info" }, `cd ${packageName}`), /* @__PURE__ */ import_react113.default.createElement(Text2, { skin: "info" }, `${packageManager.getRunCmd()} dev`)), /* @__PURE__ */ import_react113.default.createElement(UnorderedList.Item, { marker: "\u{1F3AF}" }, /* @__PURE__ */ import_react113.default.createElement(Text2, null, t3("create_app.generate_project.finished.generate_extensions")), /* @__PURE__ */ import_react113.default.createElement(Text2, { skin: "info" }, `${packageManager.getRunCmd()} generate`)), /* @__PURE__ */ import_react113.default.createElement(UnorderedList.Item, { marker: "\u{1F91D}" }, /* @__PURE__ */ import_react113.default.createElement(
|
|
84494
84774
|
Trans2,
|
|
84495
84775
|
{
|
|
84496
84776
|
i18nKey: "create_app.create_new.app_on_dev_center",
|
|
84497
84777
|
components: [
|
|
84498
|
-
/* @__PURE__ */
|
|
84778
|
+
/* @__PURE__ */ import_react113.default.createElement(
|
|
84499
84779
|
Link,
|
|
84500
84780
|
{
|
|
84501
84781
|
skin: "info",
|
|
@@ -84504,12 +84784,12 @@ var FinishedSuccessfullyMessage = ({ packageName, appData: { appName, appId }, p
|
|
|
84504
84784
|
)
|
|
84505
84785
|
]
|
|
84506
84786
|
}
|
|
84507
|
-
)), /* @__PURE__ */
|
|
84787
|
+
)), /* @__PURE__ */ import_react113.default.createElement(UnorderedList.Item, { marker: /* @__PURE__ */ import_react113.default.createElement(Learn, null) }, /* @__PURE__ */ import_react113.default.createElement(
|
|
84508
84788
|
Trans2,
|
|
84509
84789
|
{
|
|
84510
84790
|
i18nKey: "create_app.generate_project.finished.visit_docs",
|
|
84511
84791
|
components: [
|
|
84512
|
-
/* @__PURE__ */
|
|
84792
|
+
/* @__PURE__ */ import_react113.default.createElement(
|
|
84513
84793
|
Link,
|
|
84514
84794
|
{
|
|
84515
84795
|
skin: "info",
|
|
@@ -84518,12 +84798,12 @@ var FinishedSuccessfullyMessage = ({ packageName, appData: { appName, appId }, p
|
|
|
84518
84798
|
)
|
|
84519
84799
|
]
|
|
84520
84800
|
}
|
|
84521
|
-
)), /* @__PURE__ */
|
|
84801
|
+
)), /* @__PURE__ */ import_react113.default.createElement(UnorderedList.Item, { marker: "\u{1F4AC}" }, /* @__PURE__ */ import_react113.default.createElement(
|
|
84522
84802
|
Trans2,
|
|
84523
84803
|
{
|
|
84524
84804
|
i18nKey: "create_app.generate_project.finished.join_community",
|
|
84525
84805
|
components: [
|
|
84526
|
-
/* @__PURE__ */
|
|
84806
|
+
/* @__PURE__ */ import_react113.default.createElement(Link, { skin: "info", url: "https://discord.gg/wixstudio" })
|
|
84527
84807
|
]
|
|
84528
84808
|
}
|
|
84529
84809
|
)))
|
|
@@ -84532,21 +84812,21 @@ var FinishedSuccessfullyMessage = ({ packageName, appData: { appName, appId }, p
|
|
|
84532
84812
|
|
|
84533
84813
|
// src/components/TaskList.tsx
|
|
84534
84814
|
init_esm_shims();
|
|
84535
|
-
var
|
|
84815
|
+
var import_react114 = __toESM(require_react(), 1);
|
|
84536
84816
|
var TaskList = ({ tasks, totalTaskCount }) => {
|
|
84537
|
-
return /* @__PURE__ */
|
|
84817
|
+
return /* @__PURE__ */ import_react114.default.createElement(import_react114.default.Fragment, null, tasks.map((task, index) => {
|
|
84538
84818
|
const stepper = `[${index + 1}/${totalTaskCount}]`;
|
|
84539
84819
|
const fullText = `${stepper} ${task.text}`;
|
|
84540
84820
|
if (task.status === "running") {
|
|
84541
|
-
return /* @__PURE__ */
|
|
84821
|
+
return /* @__PURE__ */ import_react114.default.createElement(Spinner2, { key: index, text: fullText });
|
|
84542
84822
|
}
|
|
84543
|
-
return /* @__PURE__ */
|
|
84823
|
+
return /* @__PURE__ */ import_react114.default.createElement(Alert, { key: index, type: "success" }, fullText);
|
|
84544
84824
|
}));
|
|
84545
84825
|
};
|
|
84546
84826
|
|
|
84547
84827
|
// src/task-runner.ts
|
|
84548
84828
|
init_esm_shims();
|
|
84549
|
-
var
|
|
84829
|
+
var import_react115 = __toESM(require_react(), 1);
|
|
84550
84830
|
var import_variant42 = __toESM(require_lib(), 1);
|
|
84551
84831
|
var TaskRunnerStatus = (0, import_variant42.variant)({
|
|
84552
84832
|
Idle: {},
|
|
@@ -84572,7 +84852,7 @@ var TaskRunnerStatus = (0, import_variant42.variant)({
|
|
|
84572
84852
|
}
|
|
84573
84853
|
});
|
|
84574
84854
|
function useTaskRunner() {
|
|
84575
|
-
const [status, setStatus] = (0,
|
|
84855
|
+
const [status, setStatus] = (0, import_react115.useState)(
|
|
84576
84856
|
TaskRunnerStatus.Idle()
|
|
84577
84857
|
);
|
|
84578
84858
|
const { execute } = useAsyncCallback3(async (_2, tasks) => {
|
|
@@ -84592,23 +84872,23 @@ function useTaskRunner() {
|
|
|
84592
84872
|
|
|
84593
84873
|
// src/components/mcp/McpConfigCreated.tsx
|
|
84594
84874
|
init_esm_shims();
|
|
84595
|
-
var
|
|
84875
|
+
var import_react116 = __toESM(require_react(), 1);
|
|
84596
84876
|
var McpConfigCreated = ({
|
|
84597
84877
|
mcpPath,
|
|
84598
84878
|
docsUrl
|
|
84599
84879
|
}) => {
|
|
84600
|
-
return /* @__PURE__ */
|
|
84880
|
+
return /* @__PURE__ */ import_react116.default.createElement(Box_default, { flexDirection: "column", marginBottom: 1 }, /* @__PURE__ */ import_react116.default.createElement(Box_default, { marginLeft: -2 }, /* @__PURE__ */ import_react116.default.createElement(Alert, { type: "success" }, /* @__PURE__ */ import_react116.default.createElement(Badge, { skin: "success" }, /* @__PURE__ */ import_react116.default.createElement(Trans2, { i18nKey: "create_app.mcp_config_created_badge" })), " ")), /* @__PURE__ */ import_react116.default.createElement(Box_default, { marginTop: 1, flexDirection: "column" }, /* @__PURE__ */ import_react116.default.createElement(Text2, null, /* @__PURE__ */ import_react116.default.createElement(
|
|
84601
84881
|
Trans2,
|
|
84602
84882
|
{
|
|
84603
84883
|
i18nKey: "create_app.mcp_config_created_1",
|
|
84604
|
-
components: [/* @__PURE__ */
|
|
84884
|
+
components: [/* @__PURE__ */ import_react116.default.createElement(Text2, { bold: true })],
|
|
84605
84885
|
values: { mcpPath }
|
|
84606
84886
|
}
|
|
84607
|
-
)), /* @__PURE__ */
|
|
84887
|
+
)), /* @__PURE__ */ import_react116.default.createElement(Text2, null, /* @__PURE__ */ import_react116.default.createElement(Trans2, { i18nKey: "create_app.mcp_config_created_2" })), /* @__PURE__ */ import_react116.default.createElement(Text2, null, /* @__PURE__ */ import_react116.default.createElement(
|
|
84608
84888
|
Trans2,
|
|
84609
84889
|
{
|
|
84610
84890
|
i18nKey: "create_app.mcp_config_created_3",
|
|
84611
|
-
components: [/* @__PURE__ */
|
|
84891
|
+
components: [/* @__PURE__ */ import_react116.default.createElement(Link, { skin: "info", url: docsUrl })]
|
|
84612
84892
|
}
|
|
84613
84893
|
))));
|
|
84614
84894
|
};
|
|
@@ -84616,12 +84896,12 @@ var McpConfigCreated = ({
|
|
|
84616
84896
|
// src/components/CreateAppCommand.tsx
|
|
84617
84897
|
var GenerationProgress = ({ tasks, totalTaskCount }) => {
|
|
84618
84898
|
const { t: t3 } = useTranslation();
|
|
84619
|
-
return /* @__PURE__ */
|
|
84899
|
+
return /* @__PURE__ */ import_react117.default.createElement(import_react117.default.Fragment, null, /* @__PURE__ */ import_react117.default.createElement(Box_default, { marginBottom: 1, marginTop: 1 }, /* @__PURE__ */ import_react117.default.createElement(Text2, null, t3("create_app.generate_project.generating_project"))), /* @__PURE__ */ import_react117.default.createElement(Box_default, { marginBottom: 1, flexDirection: "column" }, /* @__PURE__ */ import_react117.default.createElement(TaskList, { tasks, totalTaskCount })));
|
|
84620
84900
|
};
|
|
84621
84901
|
var CreateAppCommand = ({ userInfo: userInfo2, targetParentFolder: targetParentFolder2, commandOptions }) => {
|
|
84622
84902
|
const { t: t3 } = useTranslation();
|
|
84623
84903
|
const { execute: executeTaskRunner, status: taskRunnerStatus } = useTaskRunner();
|
|
84624
|
-
const [generationData, setGenerationData] = (0,
|
|
84904
|
+
const [generationData, setGenerationData] = (0, import_react117.useState)();
|
|
84625
84905
|
const { status } = useAsync2(async () => {
|
|
84626
84906
|
const repoType = await getRepoType(targetParentFolder2);
|
|
84627
84907
|
const packageManager = await createPackageManager(repoType);
|
|
@@ -84635,9 +84915,9 @@ var CreateAppCommand = ({ userInfo: userInfo2, targetParentFolder: targetParentF
|
|
|
84635
84915
|
}
|
|
84636
84916
|
return (0, import_variant43.match)(status, {
|
|
84637
84917
|
Error: () => null,
|
|
84638
|
-
Loading: () => /* @__PURE__ */
|
|
84918
|
+
Loading: () => /* @__PURE__ */ import_react117.default.createElement(Spinner2, { text: t3("general.loading") }),
|
|
84639
84919
|
Success: ({ result: { repoType, packageManager } }) => {
|
|
84640
|
-
return /* @__PURE__ */
|
|
84920
|
+
return /* @__PURE__ */ import_react117.default.createElement(
|
|
84641
84921
|
Box_default,
|
|
84642
84922
|
{
|
|
84643
84923
|
flexDirection: "column",
|
|
@@ -84648,8 +84928,8 @@ var CreateAppCommand = ({ userInfo: userInfo2, targetParentFolder: targetParentF
|
|
|
84648
84928
|
borderTop: false,
|
|
84649
84929
|
paddingLeft: 1
|
|
84650
84930
|
},
|
|
84651
|
-
/* @__PURE__ */
|
|
84652
|
-
/* @__PURE__ */
|
|
84931
|
+
/* @__PURE__ */ import_react117.default.createElement(WelcomeMessage, null),
|
|
84932
|
+
/* @__PURE__ */ import_react117.default.createElement(AuthProvider, { userInfo: userInfo2 }, /* @__PURE__ */ import_react117.default.createElement(
|
|
84653
84933
|
Questions,
|
|
84654
84934
|
{
|
|
84655
84935
|
repoType,
|
|
@@ -84668,11 +84948,11 @@ var CreateAppCommand = ({ userInfo: userInfo2, targetParentFolder: targetParentF
|
|
|
84668
84948
|
)),
|
|
84669
84949
|
generationData && (0, import_variant43.match)(taskRunnerStatus, {
|
|
84670
84950
|
Idle: () => null,
|
|
84671
|
-
Running: (status2) => /* @__PURE__ */
|
|
84672
|
-
Done: (status2) => /* @__PURE__ */
|
|
84673
|
-
Created: ({ mcpPath, docsUrl }) => /* @__PURE__ */
|
|
84951
|
+
Running: (status2) => /* @__PURE__ */ import_react117.default.createElement(GenerationProgress, { ...status2 }),
|
|
84952
|
+
Done: (status2) => /* @__PURE__ */ import_react117.default.createElement(import_react117.default.Fragment, null, /* @__PURE__ */ import_react117.default.createElement(GenerationProgress, { ...status2 }), (0, import_variant43.match)(generationData.mcpConfigResult, {
|
|
84953
|
+
Created: ({ mcpPath, docsUrl }) => /* @__PURE__ */ import_react117.default.createElement(McpConfigCreated, { mcpPath, docsUrl }),
|
|
84674
84954
|
Canceled: () => null
|
|
84675
|
-
}), /* @__PURE__ */
|
|
84955
|
+
}), /* @__PURE__ */ import_react117.default.createElement(
|
|
84676
84956
|
FinishedSuccessfullyMessage,
|
|
84677
84957
|
{
|
|
84678
84958
|
packageName: generationData.packageName,
|
|
@@ -84819,16 +85099,21 @@ var program2 = new Command().name(package_default.name).description("Create Wix
|
|
|
84819
85099
|
skipInstall: options.skipInstall ?? false,
|
|
84820
85100
|
skipGit: options.skipGit ?? false
|
|
84821
85101
|
};
|
|
85102
|
+
const headers = buildHttpClientHeaders({
|
|
85103
|
+
flow: "CreateApp",
|
|
85104
|
+
command: command.name(),
|
|
85105
|
+
cliVersion: package_default.version
|
|
85106
|
+
});
|
|
84822
85107
|
try {
|
|
84823
85108
|
await render2(
|
|
84824
|
-
/* @__PURE__ */
|
|
85109
|
+
/* @__PURE__ */ import_react118.default.createElement(BiProvider, { value: biLogger }, /* @__PURE__ */ import_react118.default.createElement(ErrorReporterProvider, { value: errorReporter }, /* @__PURE__ */ import_react118.default.createElement(HttpClientProvider, { headers }, /* @__PURE__ */ import_react118.default.createElement(I18nProvider, { messages: messages_default3 }, /* @__PURE__ */ import_react118.default.createElement(
|
|
84825
85110
|
CreateAppCommand,
|
|
84826
85111
|
{
|
|
84827
85112
|
userInfo,
|
|
84828
85113
|
targetParentFolder,
|
|
84829
85114
|
commandOptions
|
|
84830
85115
|
}
|
|
84831
|
-
))))
|
|
85116
|
+
)))))
|
|
84832
85117
|
);
|
|
84833
85118
|
commandStatus.succeed();
|
|
84834
85119
|
} catch (e2) {
|