@wix/create-app 0.0.131 → 0.0.133
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 +479 -204
- 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
|
|
@@ -58428,12 +58428,22 @@ function fixHostExceptions(host) {
|
|
|
58428
58428
|
}
|
|
58429
58429
|
function resolveMappingsByDomain(domain, domainToMappings) {
|
|
58430
58430
|
const mappings = domainToMappings[domain] || domainToMappings[USER_DOMAIN];
|
|
58431
|
-
if (
|
|
58431
|
+
if (mappings) {
|
|
58432
|
+
return mappings;
|
|
58433
|
+
}
|
|
58434
|
+
const rootDomainMappings = resolveRootDomain(domain, domainToMappings);
|
|
58435
|
+
if (!rootDomainMappings) {
|
|
58432
58436
|
if (isBaseDomain(domain)) {
|
|
58433
58437
|
return domainToMappings[wwwBaseDomain];
|
|
58434
58438
|
}
|
|
58435
58439
|
}
|
|
58436
|
-
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];
|
|
58437
58447
|
}
|
|
58438
58448
|
function resolvePath(protoPath, mappings) {
|
|
58439
58449
|
const mapping = mappings?.find((m) => protoPath.startsWith(m.destPath));
|
|
@@ -72045,12 +72055,66 @@ function getErrorLogFilePath(cwd3) {
|
|
|
72045
72055
|
return join5(cwd3, ERROR_LOG_FILENAME);
|
|
72046
72056
|
}
|
|
72047
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
|
+
|
|
72048
72112
|
// src/bi/index.ts
|
|
72049
72113
|
init_esm_shims();
|
|
72050
72114
|
|
|
72051
72115
|
// src/bi/useCreateAppBi.ts
|
|
72052
72116
|
init_esm_shims();
|
|
72053
|
-
var
|
|
72117
|
+
var import_react93 = __toESM(require_react(), 1);
|
|
72054
72118
|
|
|
72055
72119
|
// src/bi/events.ts
|
|
72056
72120
|
init_esm_shims();
|
|
@@ -72106,7 +72170,7 @@ var createAppBiEvents = (biLogger) => ({
|
|
|
72106
72170
|
// src/bi/useCreateAppBi.ts
|
|
72107
72171
|
function useCreateAppBi() {
|
|
72108
72172
|
const biLogger = useBiLogger();
|
|
72109
|
-
return (0,
|
|
72173
|
+
return (0, import_react93.useMemo)(() => createAppBiEvents(biLogger), [biLogger]);
|
|
72110
72174
|
}
|
|
72111
72175
|
|
|
72112
72176
|
// src/bi/createBiLogger.ts
|
|
@@ -72344,7 +72408,7 @@ function reportCommandStartEvent({
|
|
|
72344
72408
|
var package_default = {
|
|
72345
72409
|
name: "@wix/create-app",
|
|
72346
72410
|
description: "Create Wix apps",
|
|
72347
|
-
version: "0.0.
|
|
72411
|
+
version: "0.0.133",
|
|
72348
72412
|
author: "Ihor Machuzhak",
|
|
72349
72413
|
bin: "bin/index.cjs",
|
|
72350
72414
|
devDependencies: {
|
|
@@ -72359,6 +72423,7 @@ var package_default = {
|
|
|
72359
72423
|
"@wix/cli-error": "workspace:*",
|
|
72360
72424
|
"@wix/cli-error-reporting": "workspace:*",
|
|
72361
72425
|
"@wix/cli-fs": "workspace:*",
|
|
72426
|
+
"@wix/cli-http-client-react": "workspace:*",
|
|
72362
72427
|
"@wix/cli-i18n": "workspace:*",
|
|
72363
72428
|
"@wix/cli-telemetry": "workspace:*",
|
|
72364
72429
|
"@wix/cli-telemetry-react": "workspace:*",
|
|
@@ -72473,7 +72538,7 @@ var createBiLogger2 = async (errorReporter2, userId) => {
|
|
|
72473
72538
|
|
|
72474
72539
|
// src/components/CreateAppCommand.tsx
|
|
72475
72540
|
init_esm_shims();
|
|
72476
|
-
var
|
|
72541
|
+
var import_react117 = __toESM(require_react(), 1);
|
|
72477
72542
|
var import_variant43 = __toESM(require_lib(), 1);
|
|
72478
72543
|
|
|
72479
72544
|
// ../package-manager/src/index.ts
|
|
@@ -74463,10 +74528,10 @@ async function getPackageManagerName(repoType) {
|
|
|
74463
74528
|
|
|
74464
74529
|
// src/components/WelcomeMessage.tsx
|
|
74465
74530
|
init_esm_shims();
|
|
74466
|
-
var
|
|
74531
|
+
var import_react94 = __toESM(require_react(), 1);
|
|
74467
74532
|
var WelcomeMessage = () => {
|
|
74468
74533
|
const { t: t3 } = useTranslation();
|
|
74469
|
-
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")));
|
|
74470
74535
|
};
|
|
74471
74536
|
|
|
74472
74537
|
// src/validations/index.ts
|
|
@@ -75726,33 +75791,33 @@ function validateAppName(value2) {
|
|
|
75726
75791
|
|
|
75727
75792
|
// src/components/AuthProvider.tsx
|
|
75728
75793
|
init_esm_shims();
|
|
75729
|
-
var
|
|
75794
|
+
var import_react96 = __toESM(require_react(), 1);
|
|
75730
75795
|
|
|
75731
75796
|
// src/components/LoginRequiredWarning.tsx
|
|
75732
75797
|
init_esm_shims();
|
|
75733
|
-
var
|
|
75798
|
+
var import_react95 = __toESM(require_react(), 1);
|
|
75734
75799
|
var LoginRequiredWarning = () => {
|
|
75735
75800
|
const { t: t3 } = useTranslation();
|
|
75736
|
-
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")));
|
|
75737
75802
|
};
|
|
75738
75803
|
|
|
75739
75804
|
// src/components/AuthProvider.tsx
|
|
75740
75805
|
var AuthProvider = ({ userInfo: userInfo2, children }) => {
|
|
75741
75806
|
const biLogger = useBiLogger();
|
|
75742
75807
|
const errorReporter2 = useErrorReporter();
|
|
75743
|
-
const handleLogin = (0,
|
|
75808
|
+
const handleLogin = (0, import_react96.useCallback)(
|
|
75744
75809
|
(userInfo3) => {
|
|
75745
75810
|
errorReporter2.setUser({ id: userInfo3.userId });
|
|
75746
75811
|
addUserFields(biLogger, userInfo3.userId);
|
|
75747
75812
|
},
|
|
75748
75813
|
[biLogger, errorReporter2]
|
|
75749
75814
|
);
|
|
75750
|
-
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 }));
|
|
75751
75816
|
};
|
|
75752
75817
|
|
|
75753
75818
|
// src/components/Questions/Questions.tsx
|
|
75754
75819
|
init_esm_shims();
|
|
75755
|
-
var
|
|
75820
|
+
var import_react112 = __toESM(require_react(), 1);
|
|
75756
75821
|
var import_variant39 = __toESM(require_lib(), 1);
|
|
75757
75822
|
|
|
75758
75823
|
// ../dev-center-client/src/index.ts
|
|
@@ -75765,6 +75830,7 @@ init_esm_shims();
|
|
|
75765
75830
|
init_esm_shims();
|
|
75766
75831
|
var __Array = {
|
|
75767
75832
|
checkboxGroupOptions: "_checkboxGroup",
|
|
75833
|
+
tagsOptions: "_tags",
|
|
75768
75834
|
validation: "_arrayType"
|
|
75769
75835
|
};
|
|
75770
75836
|
var __Boolean = { checkboxOptions: "_checkbox" };
|
|
@@ -75787,6 +75853,7 @@ var __String = {
|
|
|
75787
75853
|
};
|
|
75788
75854
|
var _actionProviderSPIConfig = { actionConfig: "_actionSPIConfig" };
|
|
75789
75855
|
var _actionSPIConfig = { icon: "_wixCommonImage" };
|
|
75856
|
+
var _address = { multilineAddressOptions: "_componentsMultilineAddress" };
|
|
75790
75857
|
var _adminConfigurableTextInput = {
|
|
75791
75858
|
requiredSettings: "google.protobuf.FieldMask",
|
|
75792
75859
|
adminConfigurableSettings: "google.protobuf.FieldMask"
|
|
@@ -75794,6 +75861,7 @@ var _adminConfigurableTextInput = {
|
|
|
75794
75861
|
var _andCondition = { conditions: "_conditionNode" };
|
|
75795
75862
|
var _appData = { components: "_component", pricingModels: "_pricingModel" };
|
|
75796
75863
|
var _appEmbedData = { image: "_media" };
|
|
75864
|
+
var _appointment = { description: "_richContent" };
|
|
75797
75865
|
var _arrayItems = { data: "_dataItems", dataItem: "_dataItem" };
|
|
75798
75866
|
var _arrayType = { items: "_arrayTypeArrayItems" };
|
|
75799
75867
|
var _arrayTypeArrayItems = {
|
|
@@ -75809,6 +75877,7 @@ var _billing = {
|
|
|
75809
75877
|
oneTimePrice: "DOUBLE",
|
|
75810
75878
|
meteredBilling: "_meteredBilling"
|
|
75811
75879
|
};
|
|
75880
|
+
var _breakPoint = { items: "_itemLayout" };
|
|
75812
75881
|
var _breakpointPresetStyleOverrides = {
|
|
75813
75882
|
default: "_presetStyleOverrides",
|
|
75814
75883
|
small: "_presetStyleOverrides"
|
|
@@ -75816,7 +75885,8 @@ var _breakpointPresetStyleOverrides = {
|
|
|
75816
75885
|
var _checkbox = { label: "_richContent" };
|
|
75817
75886
|
var _checkboxGroup = {
|
|
75818
75887
|
description: "_richContent",
|
|
75819
|
-
options: "_checkboxGroupOption"
|
|
75888
|
+
options: "_checkboxGroupOption",
|
|
75889
|
+
media: "_mediaItem"
|
|
75820
75890
|
};
|
|
75821
75891
|
var _checkboxGroupOption = { media: "_mediaItem" };
|
|
75822
75892
|
var _commonImage = { urlExpirationDate: "google.protobuf.Timestamp" };
|
|
@@ -75846,11 +75916,15 @@ var _cssNumber = {
|
|
|
75846
75916
|
maximum: "google.protobuf.FloatValue",
|
|
75847
75917
|
multipleOf: "google.protobuf.FloatValue"
|
|
75848
75918
|
};
|
|
75849
|
-
var _dataItem = {
|
|
75919
|
+
var _dataItem = {
|
|
75920
|
+
number: "__Number",
|
|
75921
|
+
arrayItems: "_arrayItems",
|
|
75922
|
+
data: "_dataItems"
|
|
75923
|
+
};
|
|
75850
75924
|
var _dataItems = { items: "Map#_dataItem" };
|
|
75851
|
-
var _dateInput = { description: "_richContent" };
|
|
75852
|
-
var _datePicker = { description: "_richContent" };
|
|
75853
|
-
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" };
|
|
75854
75928
|
var _description = { representativeImage: "_wixCommonImage" };
|
|
75855
75929
|
var _design = { poll: "_pollDesign" };
|
|
75856
75930
|
var _devCenterTestingComponentData = {
|
|
@@ -75862,8 +75936,8 @@ var _devCenterTestingComponentData = {
|
|
|
75862
75936
|
richContentMap: "Map#_richContent"
|
|
75863
75937
|
};
|
|
75864
75938
|
var _displayField = { richContentOptions: "_richContentOptions" };
|
|
75865
|
-
var _donationInput = { description: "_richContent" };
|
|
75866
|
-
var _dropdown = { description: "_richContent" };
|
|
75939
|
+
var _donationInput = { description: "_richContent", media: "_mediaItem" };
|
|
75940
|
+
var _dropdown = { description: "_richContent", media: "_mediaItem" };
|
|
75867
75941
|
var _editorElement = {
|
|
75868
75942
|
style: "Map#_styleItem",
|
|
75869
75943
|
data: "Map#_dataItem",
|
|
@@ -75884,13 +75958,20 @@ var _expectedInputs = {
|
|
|
75884
75958
|
expectedVerifyInputs: "_predefinedExpectedInput"
|
|
75885
75959
|
};
|
|
75886
75960
|
var _field = { inputOptions: "_inputField", displayOptions: "_displayField" };
|
|
75887
|
-
var _fileUpload = { description: "_richContent" };
|
|
75961
|
+
var _fileUpload = { description: "_richContent", media: "_mediaItem" };
|
|
75962
|
+
var _fixedPayment = { description: "_richContent", media: "_mediaItem" };
|
|
75888
75963
|
var _focalPoint = { x: "DOUBLE", y: "DOUBLE" };
|
|
75964
|
+
var _formLayout = {
|
|
75965
|
+
large: "_breakPoint",
|
|
75966
|
+
medium: "_breakPoint",
|
|
75967
|
+
small: "_breakPoint"
|
|
75968
|
+
};
|
|
75889
75969
|
var _formTemplate = {
|
|
75890
75970
|
createdDate: "google.protobuf.Timestamp",
|
|
75891
75971
|
updatedDate: "google.protobuf.Timestamp",
|
|
75892
75972
|
fields: "_field",
|
|
75893
75973
|
deletedFields: "_field",
|
|
75974
|
+
steps: "_step",
|
|
75894
75975
|
rules: "_v2Rule",
|
|
75895
75976
|
submitSettings: "_submitSettings"
|
|
75896
75977
|
};
|
|
@@ -75904,6 +75985,7 @@ var _getAppResponse = {
|
|
|
75904
75985
|
dateCreated: "google.protobuf.Timestamp",
|
|
75905
75986
|
data: "_appData"
|
|
75906
75987
|
};
|
|
75988
|
+
var _group = { items: "_itemLayout" };
|
|
75907
75989
|
var _image = { urlExpirationDate: "google.protobuf.Timestamp" };
|
|
75908
75990
|
var _imageData = { image: "_media" };
|
|
75909
75991
|
var _inlineElement = {
|
|
@@ -75921,7 +76003,9 @@ var _inputField = {
|
|
|
75921
76003
|
objectOptions: "__Object",
|
|
75922
76004
|
wixFileOptions: "_wixFile",
|
|
75923
76005
|
paymentOptions: "_payment",
|
|
75924
|
-
multilineAddressOptions: "
|
|
76006
|
+
multilineAddressOptions: "_address",
|
|
76007
|
+
schedulingOptions: "_scheduling",
|
|
76008
|
+
addressOptions: "_address"
|
|
75925
76009
|
};
|
|
75926
76010
|
var _inputField_Number = {
|
|
75927
76011
|
numberInputOptions: "_numberInput",
|
|
@@ -75930,6 +76014,7 @@ var _inputField_Number = {
|
|
|
75930
76014
|
};
|
|
75931
76015
|
var _item = { image: "_itemImage", video: "_video" };
|
|
75932
76016
|
var _itemImage = { media: "_media" };
|
|
76017
|
+
var _itemLayout = { group: "_group" };
|
|
75933
76018
|
var _itemStyle = { ratio: "google.protobuf.DoubleValue" };
|
|
75934
76019
|
var _mapData = { mapSettings: "_mapSettings" };
|
|
75935
76020
|
var _mapSettings = {
|
|
@@ -75945,9 +76030,6 @@ var _meteredBilling = {
|
|
|
75945
76030
|
monthlyBaseFee: "DOUBLE",
|
|
75946
76031
|
additionalCharges: "google.protobuf.DoubleValue"
|
|
75947
76032
|
};
|
|
75948
|
-
var _multilineAddress = {
|
|
75949
|
-
multilineAddressOptions: "_componentsMultilineAddress"
|
|
75950
|
-
};
|
|
75951
76033
|
var _multilingualTranslationSchema = { referenceData: "_schema" };
|
|
75952
76034
|
var _node = {
|
|
75953
76035
|
galleryData: "_galleryData",
|
|
@@ -75961,7 +76043,8 @@ var _node = {
|
|
|
75961
76043
|
};
|
|
75962
76044
|
var _numberInput = {
|
|
75963
76045
|
default: "google.protobuf.DoubleValue",
|
|
75964
|
-
description: "_richContent"
|
|
76046
|
+
description: "_richContent",
|
|
76047
|
+
media: "_mediaItem"
|
|
75965
76048
|
};
|
|
75966
76049
|
var _numberType = {
|
|
75967
76050
|
maximum: "google.protobuf.DoubleValue",
|
|
@@ -75979,9 +76062,16 @@ var _packageDimension = {
|
|
|
75979
76062
|
var _packageType = { dimension: "_packageDimension", image: "_image" };
|
|
75980
76063
|
var _payment = {
|
|
75981
76064
|
checkboxGroupOptions: "_productCheckboxGroup",
|
|
75982
|
-
donationInputOptions: "_donationInput"
|
|
76065
|
+
donationInputOptions: "_donationInput",
|
|
76066
|
+
paymentInputOptions: "_paymentInput",
|
|
76067
|
+
fixedPaymentOptions: "_fixedPayment"
|
|
75983
76068
|
};
|
|
75984
|
-
var
|
|
76069
|
+
var _paymentInput = {
|
|
76070
|
+
default: "google.protobuf.DoubleValue",
|
|
76071
|
+
description: "_richContent",
|
|
76072
|
+
media: "_mediaItem"
|
|
76073
|
+
};
|
|
76074
|
+
var _phoneInput = { description: "_richContent", media: "_mediaItem" };
|
|
75985
76075
|
var _plan = { billing: "_billing" };
|
|
75986
76076
|
var _pluginConfig = { startingEnforcementDate: "google.protobuf.Timestamp" };
|
|
75987
76077
|
var _poll = { image: "_media", options: "_pollOption" };
|
|
@@ -76009,15 +76099,16 @@ var _presetStyleOverrides = { elements: "Map#_elementStyleOverrides" };
|
|
|
76009
76099
|
var _pricingModel = { plans: "_plan" };
|
|
76010
76100
|
var _productCheckboxGroup = {
|
|
76011
76101
|
description: "_richContent",
|
|
76012
|
-
options: "_productCheckboxGroupOption"
|
|
76102
|
+
options: "_productCheckboxGroupOption",
|
|
76103
|
+
media: "_mediaItem"
|
|
76013
76104
|
};
|
|
76014
76105
|
var _productCheckboxGroupOption = { media: "_mediaItem" };
|
|
76015
76106
|
var _propertiesType = {
|
|
76016
76107
|
numberOptions: "_numberType",
|
|
76017
76108
|
arrayOptions: "_arrayType"
|
|
76018
76109
|
};
|
|
76019
|
-
var _radioGroup = { description: "_richContent" };
|
|
76020
|
-
var _ratingInput = { description: "_richContent" };
|
|
76110
|
+
var _radioGroup = { description: "_richContent", media: "_mediaItem" };
|
|
76111
|
+
var _ratingInput = { description: "_richContent", media: "_mediaItem" };
|
|
76021
76112
|
var _refElement = {
|
|
76022
76113
|
resolvedElement: "_inlineElement",
|
|
76023
76114
|
elementsDefaults: "Map#_refInnerElementDefaults",
|
|
@@ -76026,6 +76117,7 @@ var _refElement = {
|
|
|
76026
76117
|
var _refInnerElementDefaults = { elements: "Map#_refInnerElementDefaults" };
|
|
76027
76118
|
var _richContent = { nodes: "_node", metadata: "_v1Metadata" };
|
|
76028
76119
|
var _richContentOptions = { richContent: "_richContent" };
|
|
76120
|
+
var _scheduling = { appointmentOptions: "_appointment" };
|
|
76029
76121
|
var _schema = {
|
|
76030
76122
|
createdDate: "google.protobuf.Timestamp",
|
|
76031
76123
|
updatedDate: "google.protobuf.Timestamp",
|
|
@@ -76037,16 +76129,23 @@ var _schemaGroup = {
|
|
|
76037
76129
|
};
|
|
76038
76130
|
var _shippingLabelCarrierSpiConfig = { packageTypes: "_packageType" };
|
|
76039
76131
|
var _shippingProviderConfig = { shippingPrice: "DOUBLE" };
|
|
76040
|
-
var _signature = { description: "_richContent" };
|
|
76132
|
+
var _signature = { description: "_richContent", media: "_mediaItem" };
|
|
76133
|
+
var _step = { layout: "_formLayout" };
|
|
76041
76134
|
var _studioWidgetComponentData = {
|
|
76042
76135
|
widgetDisplay: "_widgetDisplay",
|
|
76043
76136
|
editorPresence: "_editorPresence"
|
|
76044
76137
|
};
|
|
76045
76138
|
var _styleItem = { number: "_cssNumber" };
|
|
76046
76139
|
var _submitSettings = { thankYouMessageOptions: "_thankYouMessageOptions" };
|
|
76047
|
-
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" };
|
|
76048
76147
|
var _thankYouMessageOptions = { richContent: "_richContent" };
|
|
76049
|
-
var _timeInput = { description: "_richContent" };
|
|
76148
|
+
var _timeInput = { description: "_richContent", media: "_mediaItem" };
|
|
76050
76149
|
var _v1Metadata = {
|
|
76051
76150
|
createdTimestamp: "google.protobuf.Timestamp",
|
|
76052
76151
|
updatedTimestamp: "google.protobuf.Timestamp"
|
|
@@ -76190,10 +76289,12 @@ function getAppByVersion(payload5) {
|
|
|
76190
76289
|
__String,
|
|
76191
76290
|
_actionProviderSPIConfig,
|
|
76192
76291
|
_actionSPIConfig,
|
|
76292
|
+
_address,
|
|
76193
76293
|
_adminConfigurableTextInput,
|
|
76194
76294
|
_andCondition,
|
|
76195
76295
|
_appData,
|
|
76196
76296
|
_appEmbedData,
|
|
76297
|
+
_appointment,
|
|
76197
76298
|
_arrayItems,
|
|
76198
76299
|
_arrayType,
|
|
76199
76300
|
_arrayTypeArrayItems,
|
|
@@ -76201,6 +76302,7 @@ function getAppByVersion(payload5) {
|
|
|
76201
76302
|
_authenticatorConfig,
|
|
76202
76303
|
_background,
|
|
76203
76304
|
_billing,
|
|
76305
|
+
_breakPoint,
|
|
76204
76306
|
_breakpointPresetStyleOverrides,
|
|
76205
76307
|
_checkbox,
|
|
76206
76308
|
_checkboxGroup,
|
|
@@ -76232,11 +76334,14 @@ function getAppByVersion(payload5) {
|
|
|
76232
76334
|
_expectedInputs,
|
|
76233
76335
|
_field,
|
|
76234
76336
|
_fileUpload,
|
|
76337
|
+
_fixedPayment,
|
|
76235
76338
|
_focalPoint,
|
|
76339
|
+
_formLayout,
|
|
76236
76340
|
_formTemplate,
|
|
76237
76341
|
_functionsShopPriceSpiConfig,
|
|
76238
76342
|
_galleryData,
|
|
76239
76343
|
_galleryOptions,
|
|
76344
|
+
_group,
|
|
76240
76345
|
_image,
|
|
76241
76346
|
_imageData,
|
|
76242
76347
|
_inlineElement,
|
|
@@ -76244,6 +76349,7 @@ function getAppByVersion(payload5) {
|
|
|
76244
76349
|
_inputField_Number,
|
|
76245
76350
|
_item,
|
|
76246
76351
|
_itemImage,
|
|
76352
|
+
_itemLayout,
|
|
76247
76353
|
_itemStyle,
|
|
76248
76354
|
_mapData,
|
|
76249
76355
|
_mapSettings,
|
|
@@ -76251,7 +76357,6 @@ function getAppByVersion(payload5) {
|
|
|
76251
76357
|
_mediaItem,
|
|
76252
76358
|
_messageContainingTranslatables,
|
|
76253
76359
|
_meteredBilling,
|
|
76254
|
-
_multilineAddress,
|
|
76255
76360
|
_multilingualTranslationSchema,
|
|
76256
76361
|
_node,
|
|
76257
76362
|
_numberInput,
|
|
@@ -76261,6 +76366,7 @@ function getAppByVersion(payload5) {
|
|
|
76261
76366
|
_packageDimension,
|
|
76262
76367
|
_packageType,
|
|
76263
76368
|
_payment,
|
|
76369
|
+
_paymentInput,
|
|
76264
76370
|
_phoneInput,
|
|
76265
76371
|
_plan,
|
|
76266
76372
|
_pluginConfig,
|
|
@@ -76286,14 +76392,18 @@ function getAppByVersion(payload5) {
|
|
|
76286
76392
|
_refInnerElementDefaults,
|
|
76287
76393
|
_richContent,
|
|
76288
76394
|
_richContentOptions,
|
|
76395
|
+
_scheduling,
|
|
76289
76396
|
_schema,
|
|
76290
76397
|
_schemaGroup,
|
|
76291
76398
|
_shippingLabelCarrierSpiConfig,
|
|
76292
76399
|
_shippingProviderConfig,
|
|
76293
76400
|
_signature,
|
|
76401
|
+
_step,
|
|
76294
76402
|
_studioWidgetComponentData,
|
|
76295
76403
|
_styleItem,
|
|
76296
76404
|
_submitSettings,
|
|
76405
|
+
_tags,
|
|
76406
|
+
_tagsOption,
|
|
76297
76407
|
_textInput,
|
|
76298
76408
|
_thankYouMessageOptions,
|
|
76299
76409
|
_timeInput,
|
|
@@ -77077,6 +77187,7 @@ function listAppTemplates(payload5) {
|
|
|
77077
77187
|
init_esm_shims();
|
|
77078
77188
|
var __Array2 = {
|
|
77079
77189
|
checkboxGroupOptions: "_checkboxGroup",
|
|
77190
|
+
tagsOptions: "_tags",
|
|
77080
77191
|
validation: "_arrayType"
|
|
77081
77192
|
};
|
|
77082
77193
|
var __Boolean2 = { checkboxOptions: "_checkbox" };
|
|
@@ -77098,6 +77209,7 @@ var __String2 = {
|
|
|
77098
77209
|
};
|
|
77099
77210
|
var _actionProviderSPIConfig2 = { actionConfig: "_actionSPIConfig" };
|
|
77100
77211
|
var _actionSPIConfig2 = { icon: "_commonImage" };
|
|
77212
|
+
var _address2 = { multilineAddressOptions: "_multilineAddress" };
|
|
77101
77213
|
var _adminConfigurableTextInput2 = {
|
|
77102
77214
|
requiredSettings: "google.protobuf.FieldMask",
|
|
77103
77215
|
adminConfigurableSettings: "google.protobuf.FieldMask"
|
|
@@ -77110,6 +77222,7 @@ var _api_Number = {
|
|
|
77110
77222
|
};
|
|
77111
77223
|
var _apiArrayItems = { data: "_dataItems", dataItem: "_dataItem" };
|
|
77112
77224
|
var _appEmbedData2 = { image: "_media" };
|
|
77225
|
+
var _appointment2 = { description: "_richContent" };
|
|
77113
77226
|
var _arrayItems2 = {
|
|
77114
77227
|
numberOptions: "_numberType",
|
|
77115
77228
|
objectOptions: "_objectType"
|
|
@@ -77118,12 +77231,17 @@ var _arrayType2 = { items: "_arrayItems" };
|
|
|
77118
77231
|
var _audioData2 = { audio: "_media", coverImage: "_media" };
|
|
77119
77232
|
var _authenticatorConfig2 = { expectedInputs: "_expectedInputs" };
|
|
77120
77233
|
var _background2 = { image: "_media" };
|
|
77234
|
+
var _breakPoint2 = { items: "_itemLayout" };
|
|
77121
77235
|
var _breakpointPresetStyleOverrides2 = {
|
|
77122
77236
|
default: "_presetStyleOverrides",
|
|
77123
77237
|
small: "_presetStyleOverrides"
|
|
77124
77238
|
};
|
|
77125
77239
|
var _checkbox2 = { label: "_richContent" };
|
|
77126
|
-
var _checkboxGroup2 = {
|
|
77240
|
+
var _checkboxGroup2 = {
|
|
77241
|
+
description: "_richContent",
|
|
77242
|
+
options: "_option",
|
|
77243
|
+
media: "_mediaItem"
|
|
77244
|
+
};
|
|
77127
77245
|
var _commonImage2 = {
|
|
77128
77246
|
urlExpirationDate: "google.protobuf.Timestamp",
|
|
77129
77247
|
focalPoint: "_focalPoint"
|
|
@@ -77153,11 +77271,15 @@ var _cssNumber2 = {
|
|
|
77153
77271
|
maximum: "google.protobuf.FloatValue",
|
|
77154
77272
|
multipleOf: "google.protobuf.FloatValue"
|
|
77155
77273
|
};
|
|
77156
|
-
var _dataItem2 = {
|
|
77274
|
+
var _dataItem2 = {
|
|
77275
|
+
number: "_api_Number",
|
|
77276
|
+
arrayItems: "_apiArrayItems",
|
|
77277
|
+
data: "_dataItems"
|
|
77278
|
+
};
|
|
77157
77279
|
var _dataItems2 = { items: "Map#_dataItem" };
|
|
77158
|
-
var _dateInput2 = { description: "_richContent" };
|
|
77159
|
-
var _datePicker2 = { description: "_richContent" };
|
|
77160
|
-
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" };
|
|
77161
77283
|
var _description2 = { representativeImage: "_commonImage" };
|
|
77162
77284
|
var _design2 = { poll: "_pollDesign" };
|
|
77163
77285
|
var _devCenterTestingComponentData2 = {
|
|
@@ -77170,8 +77292,8 @@ var _devCenterTestingComponentData2 = {
|
|
|
77170
77292
|
};
|
|
77171
77293
|
var _discount = { saleInfo: "_saleInfo" };
|
|
77172
77294
|
var _displayField2 = { richContentOptions: "_richContentOptions" };
|
|
77173
|
-
var _donationInput2 = { description: "_richContent" };
|
|
77174
|
-
var _dropdown2 = { description: "_richContent" };
|
|
77295
|
+
var _donationInput2 = { description: "_richContent", media: "_mediaItem" };
|
|
77296
|
+
var _dropdown2 = { description: "_richContent", media: "_mediaItem" };
|
|
77175
77297
|
var _editorElement2 = {
|
|
77176
77298
|
style: "Map#_styleItem",
|
|
77177
77299
|
data: "Map#_dataItem",
|
|
@@ -77192,13 +77314,20 @@ var _expectedInputs2 = {
|
|
|
77192
77314
|
expectedVerifyInputs: "_predefinedExpectedInput"
|
|
77193
77315
|
};
|
|
77194
77316
|
var _field2 = { inputOptions: "_inputField", displayOptions: "_displayField" };
|
|
77195
|
-
var _fileUpload2 = { description: "_richContent" };
|
|
77317
|
+
var _fileUpload2 = { description: "_richContent", media: "_mediaItem" };
|
|
77318
|
+
var _fixedPayment2 = { description: "_richContent", media: "_mediaItem" };
|
|
77196
77319
|
var _focalPoint2 = { x: "DOUBLE", y: "DOUBLE" };
|
|
77320
|
+
var _formLayout2 = {
|
|
77321
|
+
large: "_breakPoint",
|
|
77322
|
+
medium: "_breakPoint",
|
|
77323
|
+
small: "_breakPoint"
|
|
77324
|
+
};
|
|
77197
77325
|
var _formTemplate2 = {
|
|
77198
77326
|
createdDate: "google.protobuf.Timestamp",
|
|
77199
77327
|
updatedDate: "google.protobuf.Timestamp",
|
|
77200
77328
|
fields: "_field",
|
|
77201
77329
|
deletedFields: "_field",
|
|
77330
|
+
steps: "_step",
|
|
77202
77331
|
rules: "_v2Rule",
|
|
77203
77332
|
submitSettings: "_submitSettings"
|
|
77204
77333
|
};
|
|
@@ -77209,6 +77338,7 @@ var _functionsShopPriceSpiConfig2 = {
|
|
|
77209
77338
|
};
|
|
77210
77339
|
var _galleryData2 = { items: "_item", options: "_galleryOptions" };
|
|
77211
77340
|
var _galleryOptions2 = { item: "_itemStyle" };
|
|
77341
|
+
var _group2 = { items: "_itemLayout" };
|
|
77212
77342
|
var _image2 = { urlExpirationDate: "google.protobuf.Timestamp" };
|
|
77213
77343
|
var _imageData2 = { image: "_media" };
|
|
77214
77344
|
var _inlineElement2 = {
|
|
@@ -77226,13 +77356,13 @@ var _inputField2 = {
|
|
|
77226
77356
|
objectOptions: "__Object",
|
|
77227
77357
|
wixFileOptions: "_wixFile",
|
|
77228
77358
|
paymentOptions: "_payment",
|
|
77229
|
-
multilineAddressOptions: "
|
|
77230
|
-
|
|
77231
|
-
|
|
77232
|
-
multilineAddressOptions: "_multilineAddress"
|
|
77359
|
+
multilineAddressOptions: "_address",
|
|
77360
|
+
schedulingOptions: "_scheduling",
|
|
77361
|
+
addressOptions: "_address"
|
|
77233
77362
|
};
|
|
77234
77363
|
var _item2 = { image: "_itemImage", video: "_video" };
|
|
77235
77364
|
var _itemImage2 = { media: "_media" };
|
|
77365
|
+
var _itemLayout2 = { group: "_group" };
|
|
77236
77366
|
var _itemStyle2 = { ratio: "google.protobuf.DoubleValue" };
|
|
77237
77367
|
var _managedApp = {
|
|
77238
77368
|
premiumInfo: "_premiumInfo",
|
|
@@ -77251,7 +77381,7 @@ var _mediaItem2 = { image: "_upstreamWixCommonImage" };
|
|
|
77251
77381
|
var _messageContainingTranslatables2 = {
|
|
77252
77382
|
innerTranslatableRichContent: "_richContent"
|
|
77253
77383
|
};
|
|
77254
|
-
var
|
|
77384
|
+
var _multilineAddress = { description: "_richContent" };
|
|
77255
77385
|
var _multilingualTranslationSchema2 = { referenceData: "_schema" };
|
|
77256
77386
|
var _node2 = {
|
|
77257
77387
|
galleryData: "_galleryData",
|
|
@@ -77265,7 +77395,8 @@ var _node2 = {
|
|
|
77265
77395
|
};
|
|
77266
77396
|
var _numberInput2 = {
|
|
77267
77397
|
default: "google.protobuf.DoubleValue",
|
|
77268
|
-
description: "_richContent"
|
|
77398
|
+
description: "_richContent",
|
|
77399
|
+
media: "_mediaItem"
|
|
77269
77400
|
};
|
|
77270
77401
|
var _numberType2 = {
|
|
77271
77402
|
maximum: "google.protobuf.DoubleValue",
|
|
@@ -77284,9 +77415,16 @@ var _packageDimension2 = {
|
|
|
77284
77415
|
var _packageType2 = { dimension: "_packageDimension", image: "_image" };
|
|
77285
77416
|
var _payment2 = {
|
|
77286
77417
|
checkboxGroupOptions: "_productCheckboxGroup",
|
|
77287
|
-
donationInputOptions: "_donationInput"
|
|
77418
|
+
donationInputOptions: "_donationInput",
|
|
77419
|
+
paymentInputOptions: "_paymentInput",
|
|
77420
|
+
fixedPaymentOptions: "_fixedPayment"
|
|
77421
|
+
};
|
|
77422
|
+
var _paymentInput2 = {
|
|
77423
|
+
default: "google.protobuf.DoubleValue",
|
|
77424
|
+
description: "_richContent",
|
|
77425
|
+
media: "_mediaItem"
|
|
77288
77426
|
};
|
|
77289
|
-
var _phoneInput2 = { description: "_richContent" };
|
|
77427
|
+
var _phoneInput2 = { description: "_richContent", media: "_mediaItem" };
|
|
77290
77428
|
var _pluginConfig2 = { startingEnforcementDate: "google.protobuf.Timestamp" };
|
|
77291
77429
|
var _poll2 = { image: "_media", options: "_pollOption" };
|
|
77292
77430
|
var _pollData2 = { poll: "_poll", design: "_design" };
|
|
@@ -77314,15 +77452,16 @@ var _presetStyleOverrides2 = { elements: "Map#_elementStyleOverrides" };
|
|
|
77314
77452
|
var _pricingDetails = { discount: "_discount" };
|
|
77315
77453
|
var _productCheckboxGroup2 = {
|
|
77316
77454
|
description: "_richContent",
|
|
77317
|
-
options: "_productCheckboxGroupOption"
|
|
77455
|
+
options: "_productCheckboxGroupOption",
|
|
77456
|
+
media: "_mediaItem"
|
|
77318
77457
|
};
|
|
77319
77458
|
var _productCheckboxGroupOption2 = { media: "_mediaItem" };
|
|
77320
77459
|
var _propertiesType2 = {
|
|
77321
77460
|
numberOptions: "_numberType",
|
|
77322
77461
|
arrayOptions: "_arrayType"
|
|
77323
77462
|
};
|
|
77324
|
-
var _radioGroup2 = { description: "_richContent" };
|
|
77325
|
-
var _ratingInput2 = { description: "_richContent" };
|
|
77463
|
+
var _radioGroup2 = { description: "_richContent", media: "_mediaItem" };
|
|
77464
|
+
var _ratingInput2 = { description: "_richContent", media: "_mediaItem" };
|
|
77326
77465
|
var _refElement2 = {
|
|
77327
77466
|
resolvedElement: "_inlineElement",
|
|
77328
77467
|
elementsDefaults: "Map#_refInnerElementDefaults",
|
|
@@ -77335,6 +77474,7 @@ var _saleInfo = {
|
|
|
77335
77474
|
startDate: "google.protobuf.Timestamp",
|
|
77336
77475
|
endDate: "google.protobuf.Timestamp"
|
|
77337
77476
|
};
|
|
77477
|
+
var _scheduling2 = { appointmentOptions: "_appointment" };
|
|
77338
77478
|
var _schema2 = {
|
|
77339
77479
|
createdDate: "google.protobuf.Timestamp",
|
|
77340
77480
|
updatedDate: "google.protobuf.Timestamp",
|
|
@@ -77346,16 +77486,23 @@ var _schemaGroup2 = {
|
|
|
77346
77486
|
};
|
|
77347
77487
|
var _shippingLabelCarrierSpiConfig2 = { packageTypes: "_packageType" };
|
|
77348
77488
|
var _shippingProviderConfig2 = { shippingPrice: "DOUBLE" };
|
|
77349
|
-
var _signature2 = { description: "_richContent" };
|
|
77489
|
+
var _signature2 = { description: "_richContent", media: "_mediaItem" };
|
|
77490
|
+
var _step2 = { layout: "_formLayout" };
|
|
77350
77491
|
var _studioWidgetComponentData2 = {
|
|
77351
77492
|
widgetDisplay: "_widgetDisplay",
|
|
77352
77493
|
editorPresence: "_editorPresence"
|
|
77353
77494
|
};
|
|
77354
77495
|
var _styleItem2 = { number: "_cssNumber" };
|
|
77355
77496
|
var _submitSettings2 = { thankYouMessageOptions: "_thankYouMessageOptions" };
|
|
77356
|
-
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" };
|
|
77357
77504
|
var _thankYouMessageOptions2 = { richContent: "_richContent" };
|
|
77358
|
-
var _timeInput2 = { description: "_richContent" };
|
|
77505
|
+
var _timeInput2 = { description: "_richContent", media: "_mediaItem" };
|
|
77359
77506
|
var _upstreamWixCommonImage = {
|
|
77360
77507
|
urlExpirationDate: "google.protobuf.Timestamp"
|
|
77361
77508
|
};
|
|
@@ -77449,16 +77596,19 @@ function managedApps(payload5) {
|
|
|
77449
77596
|
__String: __String2,
|
|
77450
77597
|
_actionProviderSPIConfig: _actionProviderSPIConfig2,
|
|
77451
77598
|
_actionSPIConfig: _actionSPIConfig2,
|
|
77599
|
+
_address: _address2,
|
|
77452
77600
|
_adminConfigurableTextInput: _adminConfigurableTextInput2,
|
|
77453
77601
|
_andCondition: _andCondition2,
|
|
77454
77602
|
_apiArrayItems,
|
|
77455
77603
|
_api_Number,
|
|
77456
77604
|
_appEmbedData: _appEmbedData2,
|
|
77605
|
+
_appointment: _appointment2,
|
|
77457
77606
|
_arrayItems: _arrayItems2,
|
|
77458
77607
|
_arrayType: _arrayType2,
|
|
77459
77608
|
_audioData: _audioData2,
|
|
77460
77609
|
_authenticatorConfig: _authenticatorConfig2,
|
|
77461
77610
|
_background: _background2,
|
|
77611
|
+
_breakPoint: _breakPoint2,
|
|
77462
77612
|
_breakpointPresetStyleOverrides: _breakpointPresetStyleOverrides2,
|
|
77463
77613
|
_checkbox: _checkbox2,
|
|
77464
77614
|
_checkboxGroup: _checkboxGroup2,
|
|
@@ -77489,20 +77639,23 @@ function managedApps(payload5) {
|
|
|
77489
77639
|
_expectedInputs: _expectedInputs2,
|
|
77490
77640
|
_field: _field2,
|
|
77491
77641
|
_fileUpload: _fileUpload2,
|
|
77642
|
+
_fixedPayment: _fixedPayment2,
|
|
77492
77643
|
_focalPoint: _focalPoint2,
|
|
77644
|
+
_formLayout: _formLayout2,
|
|
77493
77645
|
_formTemplate: _formTemplate2,
|
|
77494
77646
|
_freeTrialData,
|
|
77495
77647
|
_function,
|
|
77496
77648
|
_functionsShopPriceSpiConfig: _functionsShopPriceSpiConfig2,
|
|
77497
77649
|
_galleryData: _galleryData2,
|
|
77498
77650
|
_galleryOptions: _galleryOptions2,
|
|
77651
|
+
_group: _group2,
|
|
77499
77652
|
_image: _image2,
|
|
77500
77653
|
_imageData: _imageData2,
|
|
77501
77654
|
_inlineElement: _inlineElement2,
|
|
77502
77655
|
_inputField: _inputField2,
|
|
77503
|
-
_inputFieldMultilineAddress,
|
|
77504
77656
|
_item: _item2,
|
|
77505
77657
|
_itemImage: _itemImage2,
|
|
77658
|
+
_itemLayout: _itemLayout2,
|
|
77506
77659
|
_itemStyle: _itemStyle2,
|
|
77507
77660
|
_managedApp,
|
|
77508
77661
|
_mapData: _mapData2,
|
|
@@ -77510,7 +77663,7 @@ function managedApps(payload5) {
|
|
|
77510
77663
|
_media: _media2,
|
|
77511
77664
|
_mediaItem: _mediaItem2,
|
|
77512
77665
|
_messageContainingTranslatables: _messageContainingTranslatables2,
|
|
77513
|
-
_multilineAddress
|
|
77666
|
+
_multilineAddress,
|
|
77514
77667
|
_multilingualTranslationSchema: _multilingualTranslationSchema2,
|
|
77515
77668
|
_node: _node2,
|
|
77516
77669
|
_numberInput: _numberInput2,
|
|
@@ -77521,6 +77674,7 @@ function managedApps(payload5) {
|
|
|
77521
77674
|
_packageDimension: _packageDimension2,
|
|
77522
77675
|
_packageType: _packageType2,
|
|
77523
77676
|
_payment: _payment2,
|
|
77677
|
+
_paymentInput: _paymentInput2,
|
|
77524
77678
|
_phoneInput: _phoneInput2,
|
|
77525
77679
|
_pluginConfig: _pluginConfig2,
|
|
77526
77680
|
_poll: _poll2,
|
|
@@ -77547,14 +77701,18 @@ function managedApps(payload5) {
|
|
|
77547
77701
|
_richContent: _richContent2,
|
|
77548
77702
|
_richContentOptions: _richContentOptions2,
|
|
77549
77703
|
_saleInfo,
|
|
77704
|
+
_scheduling: _scheduling2,
|
|
77550
77705
|
_schema: _schema2,
|
|
77551
77706
|
_schemaGroup: _schemaGroup2,
|
|
77552
77707
|
_shippingLabelCarrierSpiConfig: _shippingLabelCarrierSpiConfig2,
|
|
77553
77708
|
_shippingProviderConfig: _shippingProviderConfig2,
|
|
77554
77709
|
_signature: _signature2,
|
|
77710
|
+
_step: _step2,
|
|
77555
77711
|
_studioWidgetComponentData: _studioWidgetComponentData2,
|
|
77556
77712
|
_styleItem: _styleItem2,
|
|
77557
77713
|
_submitSettings: _submitSettings2,
|
|
77714
|
+
_tags: _tags2,
|
|
77715
|
+
_tagsOption: _tagsOption2,
|
|
77558
77716
|
_textInput: _textInput2,
|
|
77559
77717
|
_thankYouMessageOptions: _thankYouMessageOptions2,
|
|
77560
77718
|
_timeInput: _timeInput2,
|
|
@@ -77830,6 +77988,10 @@ var ComponentType;
|
|
|
77830
77988
|
ComponentType3["CONTACTS_SEGMENTS_V2_FILTER_PROVIDER"] = "CONTACTS_SEGMENTS_V2_FILTER_PROVIDER";
|
|
77831
77989
|
ComponentType3["ANALYTICS_PRODUCT_CATALOG"] = "ANALYTICS_PRODUCT_CATALOG";
|
|
77832
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";
|
|
77833
77995
|
})(ComponentType || (ComponentType = {}));
|
|
77834
77996
|
var WidgetVertical;
|
|
77835
77997
|
(function(WidgetVertical3) {
|
|
@@ -77881,6 +78043,12 @@ var VerticalDocking;
|
|
|
77881
78043
|
VerticalDocking3["VCENTER"] = "VCENTER";
|
|
77882
78044
|
VerticalDocking3["BOTTOM_DOCKING"] = "BOTTOM_DOCKING";
|
|
77883
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 = {}));
|
|
77884
78052
|
var ReplacementType;
|
|
77885
78053
|
(function(ReplacementType3) {
|
|
77886
78054
|
ReplacementType3["UNKNOWN_REPLACEMENT"] = "UNKNOWN_REPLACEMENT";
|
|
@@ -78188,6 +78356,12 @@ var Status;
|
|
|
78188
78356
|
Status4["ACTIVE"] = "ACTIVE";
|
|
78189
78357
|
Status4["INACTIVE"] = "INACTIVE";
|
|
78190
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 = {}));
|
|
78191
78365
|
var TextInputDisplayType;
|
|
78192
78366
|
(function(TextInputDisplayType3) {
|
|
78193
78367
|
TextInputDisplayType3["TEXT"] = "TEXT";
|
|
@@ -78582,6 +78756,7 @@ var OAuthAppType;
|
|
|
78582
78756
|
OAuthAppType3["WEB_APP"] = "WEB_APP";
|
|
78583
78757
|
OAuthAppType3["MOBILE"] = "MOBILE";
|
|
78584
78758
|
OAuthAppType3["OTHER"] = "OTHER";
|
|
78759
|
+
OAuthAppType3["SYSTEM"] = "SYSTEM";
|
|
78585
78760
|
})(OAuthAppType || (OAuthAppType = {}));
|
|
78586
78761
|
var OAuthTechnologies;
|
|
78587
78762
|
(function(OAuthTechnologies3) {
|
|
@@ -78804,7 +78979,27 @@ var StringComponentType;
|
|
|
78804
78979
|
StringComponentType3["DATE_INPUT"] = "DATE_INPUT";
|
|
78805
78980
|
StringComponentType3["TIME_INPUT"] = "TIME_INPUT";
|
|
78806
78981
|
StringComponentType3["DATE_PICKER"] = "DATE_PICKER";
|
|
78982
|
+
StringComponentType3["SERVICES_DROPDOWN"] = "SERVICES_DROPDOWN";
|
|
78807
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 = {}));
|
|
78808
79003
|
var NumberOfColumns;
|
|
78809
79004
|
(function(NumberOfColumns3) {
|
|
78810
79005
|
NumberOfColumns3["UNKNOWN"] = "UNKNOWN";
|
|
@@ -78851,6 +79046,7 @@ var ArrayComponentType;
|
|
|
78851
79046
|
(function(ArrayComponentType3) {
|
|
78852
79047
|
ArrayComponentType3["UNKNOWN_COMPONENT_TYPE"] = "UNKNOWN_COMPONENT_TYPE";
|
|
78853
79048
|
ArrayComponentType3["CHECKBOX_GROUP"] = "CHECKBOX_GROUP";
|
|
79049
|
+
ArrayComponentType3["TAGS"] = "TAGS";
|
|
78854
79050
|
})(ArrayComponentType || (ArrayComponentType = {}));
|
|
78855
79051
|
var WixFileComponentType;
|
|
78856
79052
|
(function(WixFileComponentType3) {
|
|
@@ -78858,6 +79054,15 @@ var WixFileComponentType;
|
|
|
78858
79054
|
WixFileComponentType3["FILE_UPLOAD"] = "FILE_UPLOAD";
|
|
78859
79055
|
WixFileComponentType3["SIGNATURE"] = "SIGNATURE";
|
|
78860
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 = {}));
|
|
78861
79066
|
var UploadFileFormat;
|
|
78862
79067
|
(function(UploadFileFormat3) {
|
|
78863
79068
|
UploadFileFormat3["UNDEFINED"] = "UNDEFINED";
|
|
@@ -78872,6 +79077,8 @@ var PaymentComponentType;
|
|
|
78872
79077
|
PaymentComponentType3["UNKNOWN_COMPONENT_TYPE"] = "UNKNOWN_COMPONENT_TYPE";
|
|
78873
79078
|
PaymentComponentType3["CHECKBOX_GROUP"] = "CHECKBOX_GROUP";
|
|
78874
79079
|
PaymentComponentType3["DONATION_INPUT"] = "DONATION_INPUT";
|
|
79080
|
+
PaymentComponentType3["PAYMENT_INPUT"] = "PAYMENT_INPUT";
|
|
79081
|
+
PaymentComponentType3["FIXED_PAYMENT"] = "FIXED_PAYMENT";
|
|
78875
79082
|
})(PaymentComponentType || (PaymentComponentType = {}));
|
|
78876
79083
|
var ProductType;
|
|
78877
79084
|
(function(ProductType3) {
|
|
@@ -78885,23 +79092,29 @@ var PriceType;
|
|
|
78885
79092
|
PriceType3["FIXED_PRICE"] = "FIXED_PRICE";
|
|
78886
79093
|
PriceType3["DYNAMIC_PRICE"] = "DYNAMIC_PRICE";
|
|
78887
79094
|
})(PriceType || (PriceType = {}));
|
|
78888
|
-
var
|
|
78889
|
-
(function(
|
|
78890
|
-
|
|
78891
|
-
|
|
78892
|
-
|
|
78893
|
-
})(ImageFit || (ImageFit = {}));
|
|
78894
|
-
var MultilineAddressComponentType;
|
|
78895
|
-
(function(MultilineAddressComponentType3) {
|
|
78896
|
-
MultilineAddressComponentType3["UNKNOWN_COMPONENT_TYPE"] = "UNKNOWN_COMPONENT_TYPE";
|
|
78897
|
-
MultilineAddressComponentType3["MULTILINE_ADDRESS"] = "MULTILINE_ADDRESS";
|
|
78898
|
-
})(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 = {}));
|
|
78899
79100
|
var DefaultCountryConfigType;
|
|
78900
79101
|
(function(DefaultCountryConfigType3) {
|
|
78901
79102
|
DefaultCountryConfigType3["UNKNOWN_DEFAULT_COUNTRY"] = "UNKNOWN_DEFAULT_COUNTRY";
|
|
78902
79103
|
DefaultCountryConfigType3["BY_IP"] = "BY_IP";
|
|
78903
79104
|
DefaultCountryConfigType3["COUNTRY"] = "COUNTRY";
|
|
78904
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 = {}));
|
|
78905
79118
|
var InputType;
|
|
78906
79119
|
(function(InputType3) {
|
|
78907
79120
|
InputType3["UNKNOWN_INPUT_TYPE"] = "UNKNOWN_INPUT_TYPE";
|
|
@@ -78913,6 +79126,8 @@ var InputType;
|
|
|
78913
79126
|
InputType3["WIX_FILE"] = "WIX_FILE";
|
|
78914
79127
|
InputType3["PAYMENT"] = "PAYMENT";
|
|
78915
79128
|
InputType3["MULTILINE_ADDRESS"] = "MULTILINE_ADDRESS";
|
|
79129
|
+
InputType3["SCHEDULING"] = "SCHEDULING";
|
|
79130
|
+
InputType3["ADDRESS"] = "ADDRESS";
|
|
78916
79131
|
})(InputType || (InputType = {}));
|
|
78917
79132
|
var EmailInfoTag;
|
|
78918
79133
|
(function(EmailInfoTag3) {
|
|
@@ -79089,6 +79304,7 @@ var FactorType;
|
|
|
79089
79304
|
FactorType3["TOTP"] = "TOTP";
|
|
79090
79305
|
FactorType3["PUSH"] = "PUSH";
|
|
79091
79306
|
FactorType3["WEBAUTHN"] = "WEBAUTHN";
|
|
79307
|
+
FactorType3["RECOVERY_CODE"] = "RECOVERY_CODE";
|
|
79092
79308
|
})(FactorType || (FactorType = {}));
|
|
79093
79309
|
var MonitoringType;
|
|
79094
79310
|
(function(MonitoringType3) {
|
|
@@ -79515,6 +79731,7 @@ var DataType;
|
|
|
79515
79731
|
DataType3["arrayItems"] = "arrayItems";
|
|
79516
79732
|
DataType3["direction"] = "direction";
|
|
79517
79733
|
DataType3["menuItems"] = "menuItems";
|
|
79734
|
+
DataType3["data"] = "data";
|
|
79518
79735
|
})(DataType || (DataType = {}));
|
|
79519
79736
|
var A11yAttributes;
|
|
79520
79737
|
(function(A11yAttributes3) {
|
|
@@ -79704,6 +79921,7 @@ var Archetype;
|
|
|
79704
79921
|
Archetype3["AnimatedGraphic"] = "AnimatedGraphic";
|
|
79705
79922
|
Archetype3["Cart"] = "Cart";
|
|
79706
79923
|
Archetype3["ContactForm"] = "ContactForm";
|
|
79924
|
+
Archetype3["Frame"] = "Frame";
|
|
79707
79925
|
})(Archetype || (Archetype = {}));
|
|
79708
79926
|
var NativeStateType;
|
|
79709
79927
|
(function(NativeStateType3) {
|
|
@@ -79959,6 +80177,11 @@ var ValueConstraintType;
|
|
|
79959
80177
|
ValueConstraintType3["MIN_MAX_RANGE"] = "MIN_MAX_RANGE";
|
|
79960
80178
|
ValueConstraintType3["RANGE"] = "RANGE";
|
|
79961
80179
|
})(ValueConstraintType || (ValueConstraintType = {}));
|
|
80180
|
+
var RegionScopeScope;
|
|
80181
|
+
(function(RegionScopeScope3) {
|
|
80182
|
+
RegionScopeScope3["SPECIFIC_REGIONS"] = "SPECIFIC_REGIONS";
|
|
80183
|
+
RegionScopeScope3["WORLDWIDE"] = "WORLDWIDE";
|
|
80184
|
+
})(RegionScopeScope || (RegionScopeScope = {}));
|
|
79962
80185
|
var SaleType;
|
|
79963
80186
|
(function(SaleType2) {
|
|
79964
80187
|
SaleType2["UNKNOWN_SALE_TYPE"] = "UNKNOWN_SALE_TYPE";
|
|
@@ -80380,6 +80603,10 @@ var ComponentType2;
|
|
|
80380
80603
|
ComponentType3["CONTACTS_SEGMENTS_V2_FILTER_PROVIDER"] = "CONTACTS_SEGMENTS_V2_FILTER_PROVIDER";
|
|
80381
80604
|
ComponentType3["ANALYTICS_PRODUCT_CATALOG"] = "ANALYTICS_PRODUCT_CATALOG";
|
|
80382
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";
|
|
80383
80610
|
})(ComponentType2 || (ComponentType2 = {}));
|
|
80384
80611
|
var WidgetVertical2;
|
|
80385
80612
|
(function(WidgetVertical3) {
|
|
@@ -80431,6 +80658,12 @@ var VerticalDocking2;
|
|
|
80431
80658
|
VerticalDocking3["VCENTER"] = "VCENTER";
|
|
80432
80659
|
VerticalDocking3["BOTTOM_DOCKING"] = "BOTTOM_DOCKING";
|
|
80433
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 = {}));
|
|
80434
80667
|
var ReplacementType2;
|
|
80435
80668
|
(function(ReplacementType3) {
|
|
80436
80669
|
ReplacementType3["UNKNOWN_REPLACEMENT"] = "UNKNOWN_REPLACEMENT";
|
|
@@ -80738,6 +80971,12 @@ var Status2;
|
|
|
80738
80971
|
Status4["ACTIVE"] = "ACTIVE";
|
|
80739
80972
|
Status4["INACTIVE"] = "INACTIVE";
|
|
80740
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 = {}));
|
|
80741
80980
|
var TextInputDisplayType2;
|
|
80742
80981
|
(function(TextInputDisplayType3) {
|
|
80743
80982
|
TextInputDisplayType3["TEXT"] = "TEXT";
|
|
@@ -81132,6 +81371,7 @@ var OAuthAppType2;
|
|
|
81132
81371
|
OAuthAppType3["WEB_APP"] = "WEB_APP";
|
|
81133
81372
|
OAuthAppType3["MOBILE"] = "MOBILE";
|
|
81134
81373
|
OAuthAppType3["OTHER"] = "OTHER";
|
|
81374
|
+
OAuthAppType3["SYSTEM"] = "SYSTEM";
|
|
81135
81375
|
})(OAuthAppType2 || (OAuthAppType2 = {}));
|
|
81136
81376
|
var OAuthTechnologies2;
|
|
81137
81377
|
(function(OAuthTechnologies3) {
|
|
@@ -81354,7 +81594,27 @@ var StringComponentType2;
|
|
|
81354
81594
|
StringComponentType3["DATE_INPUT"] = "DATE_INPUT";
|
|
81355
81595
|
StringComponentType3["TIME_INPUT"] = "TIME_INPUT";
|
|
81356
81596
|
StringComponentType3["DATE_PICKER"] = "DATE_PICKER";
|
|
81597
|
+
StringComponentType3["SERVICES_DROPDOWN"] = "SERVICES_DROPDOWN";
|
|
81357
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 = {}));
|
|
81358
81618
|
var NumberOfColumns2;
|
|
81359
81619
|
(function(NumberOfColumns3) {
|
|
81360
81620
|
NumberOfColumns3["UNKNOWN"] = "UNKNOWN";
|
|
@@ -81401,6 +81661,7 @@ var ArrayComponentType2;
|
|
|
81401
81661
|
(function(ArrayComponentType3) {
|
|
81402
81662
|
ArrayComponentType3["UNKNOWN_COMPONENT_TYPE"] = "UNKNOWN_COMPONENT_TYPE";
|
|
81403
81663
|
ArrayComponentType3["CHECKBOX_GROUP"] = "CHECKBOX_GROUP";
|
|
81664
|
+
ArrayComponentType3["TAGS"] = "TAGS";
|
|
81404
81665
|
})(ArrayComponentType2 || (ArrayComponentType2 = {}));
|
|
81405
81666
|
var WixFileComponentType2;
|
|
81406
81667
|
(function(WixFileComponentType3) {
|
|
@@ -81408,6 +81669,15 @@ var WixFileComponentType2;
|
|
|
81408
81669
|
WixFileComponentType3["FILE_UPLOAD"] = "FILE_UPLOAD";
|
|
81409
81670
|
WixFileComponentType3["SIGNATURE"] = "SIGNATURE";
|
|
81410
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 = {}));
|
|
81411
81681
|
var UploadFileFormat2;
|
|
81412
81682
|
(function(UploadFileFormat3) {
|
|
81413
81683
|
UploadFileFormat3["UNDEFINED"] = "UNDEFINED";
|
|
@@ -81422,6 +81692,8 @@ var PaymentComponentType2;
|
|
|
81422
81692
|
PaymentComponentType3["UNKNOWN_COMPONENT_TYPE"] = "UNKNOWN_COMPONENT_TYPE";
|
|
81423
81693
|
PaymentComponentType3["CHECKBOX_GROUP"] = "CHECKBOX_GROUP";
|
|
81424
81694
|
PaymentComponentType3["DONATION_INPUT"] = "DONATION_INPUT";
|
|
81695
|
+
PaymentComponentType3["PAYMENT_INPUT"] = "PAYMENT_INPUT";
|
|
81696
|
+
PaymentComponentType3["FIXED_PAYMENT"] = "FIXED_PAYMENT";
|
|
81425
81697
|
})(PaymentComponentType2 || (PaymentComponentType2 = {}));
|
|
81426
81698
|
var ProductType2;
|
|
81427
81699
|
(function(ProductType3) {
|
|
@@ -81435,23 +81707,29 @@ var PriceType2;
|
|
|
81435
81707
|
PriceType3["FIXED_PRICE"] = "FIXED_PRICE";
|
|
81436
81708
|
PriceType3["DYNAMIC_PRICE"] = "DYNAMIC_PRICE";
|
|
81437
81709
|
})(PriceType2 || (PriceType2 = {}));
|
|
81438
|
-
var
|
|
81439
|
-
(function(
|
|
81440
|
-
|
|
81441
|
-
|
|
81442
|
-
|
|
81443
|
-
})(ImageFit2 || (ImageFit2 = {}));
|
|
81444
|
-
var MultilineAddressComponentType2;
|
|
81445
|
-
(function(MultilineAddressComponentType3) {
|
|
81446
|
-
MultilineAddressComponentType3["UNKNOWN_COMPONENT_TYPE"] = "UNKNOWN_COMPONENT_TYPE";
|
|
81447
|
-
MultilineAddressComponentType3["MULTILINE_ADDRESS"] = "MULTILINE_ADDRESS";
|
|
81448
|
-
})(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 = {}));
|
|
81449
81715
|
var DefaultCountryConfigType2;
|
|
81450
81716
|
(function(DefaultCountryConfigType3) {
|
|
81451
81717
|
DefaultCountryConfigType3["UNKNOWN_DEFAULT_COUNTRY"] = "UNKNOWN_DEFAULT_COUNTRY";
|
|
81452
81718
|
DefaultCountryConfigType3["BY_IP"] = "BY_IP";
|
|
81453
81719
|
DefaultCountryConfigType3["COUNTRY"] = "COUNTRY";
|
|
81454
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 = {}));
|
|
81455
81733
|
var InputType2;
|
|
81456
81734
|
(function(InputType3) {
|
|
81457
81735
|
InputType3["UNKNOWN_INPUT_TYPE"] = "UNKNOWN_INPUT_TYPE";
|
|
@@ -81463,6 +81741,8 @@ var InputType2;
|
|
|
81463
81741
|
InputType3["WIX_FILE"] = "WIX_FILE";
|
|
81464
81742
|
InputType3["PAYMENT"] = "PAYMENT";
|
|
81465
81743
|
InputType3["MULTILINE_ADDRESS"] = "MULTILINE_ADDRESS";
|
|
81744
|
+
InputType3["SCHEDULING"] = "SCHEDULING";
|
|
81745
|
+
InputType3["ADDRESS"] = "ADDRESS";
|
|
81466
81746
|
})(InputType2 || (InputType2 = {}));
|
|
81467
81747
|
var EmailInfoTag2;
|
|
81468
81748
|
(function(EmailInfoTag3) {
|
|
@@ -81639,6 +81919,7 @@ var FactorType2;
|
|
|
81639
81919
|
FactorType3["TOTP"] = "TOTP";
|
|
81640
81920
|
FactorType3["PUSH"] = "PUSH";
|
|
81641
81921
|
FactorType3["WEBAUTHN"] = "WEBAUTHN";
|
|
81922
|
+
FactorType3["RECOVERY_CODE"] = "RECOVERY_CODE";
|
|
81642
81923
|
})(FactorType2 || (FactorType2 = {}));
|
|
81643
81924
|
var MonitoringType2;
|
|
81644
81925
|
(function(MonitoringType3) {
|
|
@@ -82065,6 +82346,7 @@ var DataType2;
|
|
|
82065
82346
|
DataType3["arrayItems"] = "arrayItems";
|
|
82066
82347
|
DataType3["direction"] = "direction";
|
|
82067
82348
|
DataType3["menuItems"] = "menuItems";
|
|
82349
|
+
DataType3["data"] = "data";
|
|
82068
82350
|
})(DataType2 || (DataType2 = {}));
|
|
82069
82351
|
var A11yAttributes2;
|
|
82070
82352
|
(function(A11yAttributes3) {
|
|
@@ -82254,6 +82536,7 @@ var Archetype2;
|
|
|
82254
82536
|
Archetype3["AnimatedGraphic"] = "AnimatedGraphic";
|
|
82255
82537
|
Archetype3["Cart"] = "Cart";
|
|
82256
82538
|
Archetype3["ContactForm"] = "ContactForm";
|
|
82539
|
+
Archetype3["Frame"] = "Frame";
|
|
82257
82540
|
})(Archetype2 || (Archetype2 = {}));
|
|
82258
82541
|
var NativeStateType2;
|
|
82259
82542
|
(function(NativeStateType3) {
|
|
@@ -82509,6 +82792,11 @@ var ValueConstraintType2;
|
|
|
82509
82792
|
ValueConstraintType3["MIN_MAX_RANGE"] = "MIN_MAX_RANGE";
|
|
82510
82793
|
ValueConstraintType3["RANGE"] = "RANGE";
|
|
82511
82794
|
})(ValueConstraintType2 || (ValueConstraintType2 = {}));
|
|
82795
|
+
var RegionScopeScope2;
|
|
82796
|
+
(function(RegionScopeScope3) {
|
|
82797
|
+
RegionScopeScope3["SPECIFIC_REGIONS"] = "SPECIFIC_REGIONS";
|
|
82798
|
+
RegionScopeScope3["WORLDWIDE"] = "WORLDWIDE";
|
|
82799
|
+
})(RegionScopeScope2 || (RegionScopeScope2 = {}));
|
|
82512
82800
|
var OpenConsentIn2;
|
|
82513
82801
|
(function(OpenConsentIn3) {
|
|
82514
82802
|
OpenConsentIn3["NONE_VALUE"] = "NONE_VALUE";
|
|
@@ -83189,28 +83477,10 @@ var DevCenterClient = class {
|
|
|
83189
83477
|
|
|
83190
83478
|
// ../dev-center-client/src/useDevCenterClient.ts
|
|
83191
83479
|
init_esm_shims();
|
|
83192
|
-
var
|
|
83193
|
-
|
|
83194
|
-
// ../cli-http-client-react/src/index.ts
|
|
83195
|
-
init_esm_shims();
|
|
83196
|
-
|
|
83197
|
-
// ../cli-http-client-react/src/useHttpClient.ts
|
|
83198
|
-
init_esm_shims();
|
|
83199
|
-
var import_react95 = __toESM(require_react(), 1);
|
|
83200
|
-
function useHttpClient({
|
|
83201
|
-
type
|
|
83202
|
-
}) {
|
|
83203
|
-
const { getAccessToken: getAppToken, getRequestHeaders: createHeaders2 } = useAuth();
|
|
83204
|
-
return (0, import_react95.useMemo)(
|
|
83205
|
-
() => createHttpClient({ type, getAppToken, createHeaders: createHeaders2 }),
|
|
83206
|
-
[type, getAppToken, createHeaders2]
|
|
83207
|
-
);
|
|
83208
|
-
}
|
|
83209
|
-
|
|
83210
|
-
// ../dev-center-client/src/useDevCenterClient.ts
|
|
83480
|
+
var import_react97 = __toESM(require_react(), 1);
|
|
83211
83481
|
function useDevCenterClient() {
|
|
83212
83482
|
const httpClient = useHttpClient({ type: "backoffice" });
|
|
83213
|
-
return (0,
|
|
83483
|
+
return (0, import_react97.useMemo)(() => new DevCenterClient(httpClient), [httpClient]);
|
|
83214
83484
|
}
|
|
83215
83485
|
|
|
83216
83486
|
// src/parse-command-options.ts
|
|
@@ -83309,7 +83579,7 @@ var DeveloperAppsStatus = (0, import_variant31.variant)({
|
|
|
83309
83579
|
|
|
83310
83580
|
// src/components/CreateAppOrExtendExisting.tsx
|
|
83311
83581
|
init_esm_shims();
|
|
83312
|
-
var
|
|
83582
|
+
var import_react98 = __toESM(require_react(), 1);
|
|
83313
83583
|
var import_variant32 = __toESM(require_lib(), 1);
|
|
83314
83584
|
var CreateAppOrExtendExisting = ({
|
|
83315
83585
|
developerAppsStatus,
|
|
@@ -83326,7 +83596,7 @@ var CreateAppOrExtendExisting = ({
|
|
|
83326
83596
|
Available: SelectOptionAvailability.Enabled()
|
|
83327
83597
|
})
|
|
83328
83598
|
);
|
|
83329
|
-
return /* @__PURE__ */
|
|
83599
|
+
return /* @__PURE__ */ import_react98.default.createElement(import_react98.default.Fragment, null, /* @__PURE__ */ import_react98.default.createElement(
|
|
83330
83600
|
SelectInput2,
|
|
83331
83601
|
{
|
|
83332
83602
|
label: t3("create_app.create_new_or_extend.label"),
|
|
@@ -83359,16 +83629,16 @@ var CreateAppOrExtendExisting = ({
|
|
|
83359
83629
|
|
|
83360
83630
|
// src/components/Questions/NewAppFlow.tsx
|
|
83361
83631
|
init_esm_shims();
|
|
83362
|
-
var
|
|
83632
|
+
var import_react108 = __toESM(require_react(), 1);
|
|
83363
83633
|
var import_variant37 = __toESM(require_lib(), 1);
|
|
83364
83634
|
|
|
83365
83635
|
// src/components/ChooseAppName.tsx
|
|
83366
83636
|
init_esm_shims();
|
|
83367
|
-
var
|
|
83637
|
+
var import_react99 = __toESM(require_react(), 1);
|
|
83368
83638
|
var ChooseAppName = ({ onSubmit }) => {
|
|
83369
83639
|
const { t: t3 } = useTranslation();
|
|
83370
83640
|
const { cliFlowStepAnswered } = useCreateAppBi();
|
|
83371
|
-
return /* @__PURE__ */
|
|
83641
|
+
return /* @__PURE__ */ import_react99.default.createElement(
|
|
83372
83642
|
TextInput2,
|
|
83373
83643
|
{
|
|
83374
83644
|
label: t3("create_app.create_new.name_of_app.label"),
|
|
@@ -83389,22 +83659,22 @@ var ChooseAppName = ({ onSubmit }) => {
|
|
|
83389
83659
|
|
|
83390
83660
|
// src/components/ChoosePackageName.tsx
|
|
83391
83661
|
init_esm_shims();
|
|
83392
|
-
var
|
|
83662
|
+
var import_react101 = __toESM(require_react(), 1);
|
|
83393
83663
|
var import_variant33 = __toESM(require_lib(), 1);
|
|
83394
83664
|
import { join as join11, relative as relative3 } from "node:path";
|
|
83395
83665
|
var import_kebabCase2 = __toESM(require_kebabCase(), 1);
|
|
83396
83666
|
|
|
83397
83667
|
// src/components/ConfirmPackagePath.tsx
|
|
83398
83668
|
init_esm_shims();
|
|
83399
|
-
var
|
|
83669
|
+
var import_react100 = __toESM(require_react(), 1);
|
|
83400
83670
|
var ConfirmPackagePath = ({
|
|
83401
83671
|
path: path8,
|
|
83402
83672
|
onSubmit
|
|
83403
83673
|
}) => {
|
|
83404
83674
|
const { t: t3 } = useTranslation();
|
|
83405
83675
|
const { cliFlowStepAnswered } = useCreateAppBi();
|
|
83406
|
-
const [cancelled, setCancelled] = (0,
|
|
83407
|
-
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(
|
|
83408
83678
|
ConfirmInput,
|
|
83409
83679
|
{
|
|
83410
83680
|
label: t3("create_app.confirm_path_message", {
|
|
@@ -83423,7 +83693,7 @@ var ConfirmPackagePath = ({
|
|
|
83423
83693
|
}
|
|
83424
83694
|
}
|
|
83425
83695
|
}
|
|
83426
|
-
)), 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"))));
|
|
83427
83697
|
};
|
|
83428
83698
|
|
|
83429
83699
|
// src/components/ChoosePackageName.tsx
|
|
@@ -83435,8 +83705,8 @@ var ChoosePackageName = ({
|
|
|
83435
83705
|
}) => {
|
|
83436
83706
|
const { t: t3 } = useTranslation();
|
|
83437
83707
|
const { cliFlowStepAnswered } = useCreateAppBi();
|
|
83438
|
-
const [packageName, setPackageName] = (0,
|
|
83439
|
-
const defaultPackageName = (0,
|
|
83708
|
+
const [packageName, setPackageName] = (0, import_react101.useState)();
|
|
83709
|
+
const defaultPackageName = (0, import_react101.useMemo)(() => {
|
|
83440
83710
|
return (0, import_kebabCase2.default)(appName);
|
|
83441
83711
|
}, [appName]);
|
|
83442
83712
|
const isMonorepo = (0, import_variant33.isType)(repoType, RepoType.Monorepo);
|
|
@@ -83452,7 +83722,7 @@ var ChoosePackageName = ({
|
|
|
83452
83722
|
})
|
|
83453
83723
|
});
|
|
83454
83724
|
}
|
|
83455
|
-
const handlePackageNameSet = (0,
|
|
83725
|
+
const handlePackageNameSet = (0, import_react101.useCallback)(
|
|
83456
83726
|
(packageName2) => {
|
|
83457
83727
|
cliFlowStepAnswered({
|
|
83458
83728
|
question: t3("create_app.choose_package_name.label"),
|
|
@@ -83467,7 +83737,7 @@ var ChoosePackageName = ({
|
|
|
83467
83737
|
},
|
|
83468
83738
|
[cliFlowStepAnswered, setPackageName, onSelected, isMonorepo, t3]
|
|
83469
83739
|
);
|
|
83470
|
-
const handlePackagePathConfirm = (0,
|
|
83740
|
+
const handlePackagePathConfirm = (0, import_react101.useCallback)(
|
|
83471
83741
|
(packageName2, isConfirmed) => {
|
|
83472
83742
|
if (isConfirmed) {
|
|
83473
83743
|
onSelected(packageName2);
|
|
@@ -83475,7 +83745,7 @@ var ChoosePackageName = ({
|
|
|
83475
83745
|
},
|
|
83476
83746
|
[onSelected]
|
|
83477
83747
|
);
|
|
83478
|
-
return /* @__PURE__ */
|
|
83748
|
+
return /* @__PURE__ */ import_react101.default.createElement(import_react101.default.Fragment, null, /* @__PURE__ */ import_react101.default.createElement(
|
|
83479
83749
|
TextInput2,
|
|
83480
83750
|
{
|
|
83481
83751
|
label: t3("create_app.choose_package_name.label"),
|
|
@@ -83484,7 +83754,7 @@ var ChoosePackageName = ({
|
|
|
83484
83754
|
validate: validate3,
|
|
83485
83755
|
inCreateFlow: true
|
|
83486
83756
|
}
|
|
83487
|
-
), packageName && isMonorepo && /* @__PURE__ */
|
|
83757
|
+
), packageName && isMonorepo && /* @__PURE__ */ import_react101.default.createElement(
|
|
83488
83758
|
ConfirmPackagePath,
|
|
83489
83759
|
{
|
|
83490
83760
|
path: relative3(
|
|
@@ -83498,17 +83768,17 @@ var ChoosePackageName = ({
|
|
|
83498
83768
|
|
|
83499
83769
|
// src/components/Questions/ChooseTemplateFlow.tsx
|
|
83500
83770
|
init_esm_shims();
|
|
83501
|
-
var
|
|
83771
|
+
var import_react104 = __toESM(require_react(), 1);
|
|
83502
83772
|
|
|
83503
83773
|
// src/components/ChooseAppCreationSource.tsx
|
|
83504
83774
|
init_esm_shims();
|
|
83505
|
-
var
|
|
83775
|
+
var import_react102 = __toESM(require_react(), 1);
|
|
83506
83776
|
var ChooseAppCreationSource = ({
|
|
83507
83777
|
onSelected
|
|
83508
83778
|
}) => {
|
|
83509
83779
|
const { t: t3 } = useTranslation();
|
|
83510
83780
|
const { cliFlowStepAnswered } = useCreateAppBi();
|
|
83511
|
-
return /* @__PURE__ */
|
|
83781
|
+
return /* @__PURE__ */ import_react102.default.createElement(
|
|
83512
83782
|
SelectInput2,
|
|
83513
83783
|
{
|
|
83514
83784
|
label: t3("create_app.choose_app_creation_source.label"),
|
|
@@ -83542,13 +83812,13 @@ var ChooseAppCreationSource = ({
|
|
|
83542
83812
|
|
|
83543
83813
|
// src/components/ChooseTemplate.tsx
|
|
83544
83814
|
init_esm_shims();
|
|
83545
|
-
var
|
|
83815
|
+
var import_react103 = __toESM(require_react(), 1);
|
|
83546
83816
|
var import_variant34 = __toESM(require_lib(), 1);
|
|
83547
83817
|
var ChooseTemplate = ({ onSelected }) => {
|
|
83548
83818
|
const { t: t3 } = useTranslation();
|
|
83549
83819
|
const { cliFlowStepAnswered } = useCreateAppBi();
|
|
83550
83820
|
const { queryCliAppTemplates } = useDevCenterClient();
|
|
83551
|
-
const [isTemplateSelected, setIsTemplateSelected] = (0,
|
|
83821
|
+
const [isTemplateSelected, setIsTemplateSelected] = (0, import_react103.useState)(false);
|
|
83552
83822
|
const { status } = useAsync2(async () => {
|
|
83553
83823
|
const appTemplates = await queryCliAppTemplates();
|
|
83554
83824
|
return {
|
|
@@ -83562,10 +83832,10 @@ var ChooseTemplate = ({ onSelected }) => {
|
|
|
83562
83832
|
})
|
|
83563
83833
|
};
|
|
83564
83834
|
}, []);
|
|
83565
|
-
return /* @__PURE__ */
|
|
83835
|
+
return /* @__PURE__ */ import_react103.default.createElement(import_react103.default.Fragment, null, (0, import_variant34.match)(status, {
|
|
83566
83836
|
Error: () => null,
|
|
83567
|
-
Loading: () => /* @__PURE__ */
|
|
83568
|
-
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(
|
|
83569
83839
|
SelectInput2,
|
|
83570
83840
|
{
|
|
83571
83841
|
label: t3("create_app.choose_template.title"),
|
|
@@ -83580,12 +83850,12 @@ var ChooseTemplate = ({ onSelected }) => {
|
|
|
83580
83850
|
onSelected(value2);
|
|
83581
83851
|
}
|
|
83582
83852
|
}
|
|
83583
|
-
), !isTemplateSelected && /* @__PURE__ */
|
|
83853
|
+
), !isTemplateSelected && /* @__PURE__ */ import_react103.default.createElement(Box_default, { marginTop: 1 }, /* @__PURE__ */ import_react103.default.createElement(
|
|
83584
83854
|
Trans2,
|
|
83585
83855
|
{
|
|
83586
83856
|
i18nKey: "create_app.choose_template.see_templates",
|
|
83587
83857
|
components: [
|
|
83588
|
-
/* @__PURE__ */
|
|
83858
|
+
/* @__PURE__ */ import_react103.default.createElement(Link, { url: "https://dev.wix.com/apps-templates?filter=cli" })
|
|
83589
83859
|
]
|
|
83590
83860
|
}
|
|
83591
83861
|
)))
|
|
@@ -83596,8 +83866,8 @@ var ChooseTemplate = ({ onSelected }) => {
|
|
|
83596
83866
|
var ChooseTemplateFlow = ({
|
|
83597
83867
|
onTemplateChoose
|
|
83598
83868
|
}) => {
|
|
83599
|
-
const [shouldSelectTemplate, setShouldSelectTemplate] = (0,
|
|
83600
|
-
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(
|
|
83601
83871
|
ChooseAppCreationSource,
|
|
83602
83872
|
{
|
|
83603
83873
|
onSelected: (source) => {
|
|
@@ -83608,7 +83878,7 @@ var ChooseTemplateFlow = ({
|
|
|
83608
83878
|
}
|
|
83609
83879
|
}
|
|
83610
83880
|
}
|
|
83611
|
-
), shouldSelectTemplate && /* @__PURE__ */
|
|
83881
|
+
), shouldSelectTemplate && /* @__PURE__ */ import_react104.default.createElement(
|
|
83612
83882
|
ChooseTemplate,
|
|
83613
83883
|
{
|
|
83614
83884
|
onSelected: (template) => {
|
|
@@ -83620,21 +83890,21 @@ var ChooseTemplateFlow = ({
|
|
|
83620
83890
|
|
|
83621
83891
|
// src/components/RegisteringApp.tsx
|
|
83622
83892
|
init_esm_shims();
|
|
83623
|
-
var
|
|
83893
|
+
var import_react105 = __toESM(require_react(), 1);
|
|
83624
83894
|
var RegisteringApp = () => {
|
|
83625
83895
|
const { t: t3 } = useTranslation();
|
|
83626
|
-
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") }));
|
|
83627
83897
|
};
|
|
83628
83898
|
|
|
83629
83899
|
// src/components/AppRegistered.tsx
|
|
83630
83900
|
init_esm_shims();
|
|
83631
|
-
var
|
|
83901
|
+
var import_react106 = __toESM(require_react(), 1);
|
|
83632
83902
|
var AppRegistered = ({ appName }) => {
|
|
83633
|
-
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(
|
|
83634
83904
|
Trans2,
|
|
83635
83905
|
{
|
|
83636
83906
|
i18nKey: "create_app.create_new.app_registered_successfully",
|
|
83637
|
-
components: [/* @__PURE__ */
|
|
83907
|
+
components: [/* @__PURE__ */ import_react106.default.createElement(Text2, { bold: true })],
|
|
83638
83908
|
values: { appName }
|
|
83639
83909
|
}
|
|
83640
83910
|
)));
|
|
@@ -83642,7 +83912,7 @@ var AppRegistered = ({ appName }) => {
|
|
|
83642
83912
|
|
|
83643
83913
|
// src/components/mcp/ConfigMcp.tsx
|
|
83644
83914
|
init_esm_shims();
|
|
83645
|
-
var
|
|
83915
|
+
var import_react107 = __toESM(require_react(), 1);
|
|
83646
83916
|
var import_variant35 = __toESM(require_lib(), 1);
|
|
83647
83917
|
var IdeForMcp = (0, import_variant35.variant)({
|
|
83648
83918
|
VsCode: {},
|
|
@@ -83651,16 +83921,16 @@ var IdeForMcp = (0, import_variant35.variant)({
|
|
|
83651
83921
|
var ConfigMcp = ({ onSelected }) => {
|
|
83652
83922
|
const { t: t3 } = useTranslation();
|
|
83653
83923
|
const { cliFlowStepAnswered } = useCreateAppBi();
|
|
83654
|
-
return /* @__PURE__ */
|
|
83924
|
+
return /* @__PURE__ */ import_react107.default.createElement(
|
|
83655
83925
|
SelectInput2,
|
|
83656
83926
|
{
|
|
83657
83927
|
label: t3("create_app.choose_ide_for_mcp.question"),
|
|
83658
|
-
info: /* @__PURE__ */
|
|
83928
|
+
info: /* @__PURE__ */ import_react107.default.createElement(
|
|
83659
83929
|
Trans2,
|
|
83660
83930
|
{
|
|
83661
83931
|
i18nKey: "create_app.choose_ide_for_mcp.description",
|
|
83662
83932
|
components: [
|
|
83663
|
-
/* @__PURE__ */
|
|
83933
|
+
/* @__PURE__ */ import_react107.default.createElement(Link, { url: "https://www.wix.com/studio/developers/mcp-server" })
|
|
83664
83934
|
]
|
|
83665
83935
|
}
|
|
83666
83936
|
),
|
|
@@ -83748,11 +84018,11 @@ var NewAppFlow = ({
|
|
|
83748
84018
|
}) => {
|
|
83749
84019
|
const devCenterClient = useDevCenterClient();
|
|
83750
84020
|
const biLogger = useBiLogger();
|
|
83751
|
-
const [templateData, setTemplateData] = (0,
|
|
84021
|
+
const [templateData, setTemplateData] = (0, import_react108.useState)(
|
|
83752
84022
|
templateFromOptions
|
|
83753
84023
|
);
|
|
83754
|
-
const [appName, setAppName] = (0,
|
|
83755
|
-
const [packageName, setPackageName] = (0,
|
|
84024
|
+
const [appName, setAppName] = (0, import_react108.useState)();
|
|
84025
|
+
const [packageName, setPackageName] = (0, import_react108.useState)();
|
|
83756
84026
|
const createAppCallback = useAsyncCallback3(
|
|
83757
84027
|
async (_2, { appName: appName2, packageName: packageName2, template, mcpConfigResult }) => {
|
|
83758
84028
|
const { id: appId } = await (0, import_variant37.match)(
|
|
@@ -83794,7 +84064,7 @@ var NewAppFlow = ({
|
|
|
83794
84064
|
});
|
|
83795
84065
|
}
|
|
83796
84066
|
}, []);
|
|
83797
|
-
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(
|
|
83798
84068
|
ChoosePackageName,
|
|
83799
84069
|
{
|
|
83800
84070
|
appName,
|
|
@@ -83813,7 +84083,7 @@ var NewAppFlow = ({
|
|
|
83813
84083
|
}
|
|
83814
84084
|
}
|
|
83815
84085
|
}
|
|
83816
|
-
), 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(
|
|
83817
84087
|
ConfigMcp,
|
|
83818
84088
|
{
|
|
83819
84089
|
onSelected: (ideForMcp) => {
|
|
@@ -83831,26 +84101,26 @@ var NewAppFlow = ({
|
|
|
83831
84101
|
}
|
|
83832
84102
|
)), (0, import_variant37.match)(createAppCallback.status, {
|
|
83833
84103
|
Error: () => null,
|
|
83834
|
-
Loading: () => /* @__PURE__ */
|
|
83835
|
-
Success: ({ result }) => /* @__PURE__ */
|
|
84104
|
+
Loading: () => /* @__PURE__ */ import_react108.default.createElement(RegisteringApp, null),
|
|
84105
|
+
Success: ({ result }) => /* @__PURE__ */ import_react108.default.createElement(AppRegistered, { ...result }),
|
|
83836
84106
|
NotRequested: () => null
|
|
83837
84107
|
}));
|
|
83838
84108
|
};
|
|
83839
84109
|
|
|
83840
84110
|
// src/components/Questions/ExistingAppFlow.tsx
|
|
83841
84111
|
init_esm_shims();
|
|
83842
|
-
var
|
|
84112
|
+
var import_react110 = __toESM(require_react(), 1);
|
|
83843
84113
|
|
|
83844
84114
|
// src/components/ExtendExistingApp.tsx
|
|
83845
84115
|
init_esm_shims();
|
|
83846
|
-
var
|
|
84116
|
+
var import_react109 = __toESM(require_react(), 1);
|
|
83847
84117
|
var ExtendExistingApp = ({
|
|
83848
84118
|
developerApps,
|
|
83849
84119
|
onSelected
|
|
83850
84120
|
}) => {
|
|
83851
84121
|
const { t: t3 } = useTranslation();
|
|
83852
84122
|
const { cliFlowStepAnswered } = useCreateAppBi();
|
|
83853
|
-
return /* @__PURE__ */
|
|
84123
|
+
return /* @__PURE__ */ import_react109.default.createElement(
|
|
83854
84124
|
SelectInput2,
|
|
83855
84125
|
{
|
|
83856
84126
|
label: t3("create_app.extend_existing.select_app.label"),
|
|
@@ -83885,8 +84155,8 @@ var ExistingAppFlow = ({
|
|
|
83885
84155
|
repoType
|
|
83886
84156
|
}) => {
|
|
83887
84157
|
const biLogger = useBiLogger();
|
|
83888
|
-
const [appData, setAppData] = (0,
|
|
83889
|
-
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(
|
|
83890
84160
|
ExtendExistingApp,
|
|
83891
84161
|
{
|
|
83892
84162
|
developerApps,
|
|
@@ -83897,7 +84167,7 @@ var ExistingAppFlow = ({
|
|
|
83897
84167
|
setAppData(appData2);
|
|
83898
84168
|
}
|
|
83899
84169
|
}
|
|
83900
|
-
), appData && /* @__PURE__ */
|
|
84170
|
+
), appData && /* @__PURE__ */ import_react110.default.createElement(
|
|
83901
84171
|
ChoosePackageName,
|
|
83902
84172
|
{
|
|
83903
84173
|
appName: appData.appName,
|
|
@@ -83917,45 +84187,45 @@ var ExistingAppFlow = ({
|
|
|
83917
84187
|
|
|
83918
84188
|
// src/components/StartFromTemplateMessage.tsx
|
|
83919
84189
|
init_esm_shims();
|
|
83920
|
-
var
|
|
84190
|
+
var import_react111 = __toESM(require_react(), 1);
|
|
83921
84191
|
var import_variant38 = __toESM(require_lib(), 1);
|
|
83922
84192
|
var StartFromTemplateMessage = ({
|
|
83923
84193
|
template
|
|
83924
84194
|
}) => {
|
|
83925
84195
|
const messageComponent = (0, import_variant38.match)(template, {
|
|
83926
|
-
App: ({ payload: payload5 }) => /* @__PURE__ */
|
|
84196
|
+
App: ({ payload: payload5 }) => /* @__PURE__ */ import_react111.default.createElement(
|
|
83927
84197
|
Trans2,
|
|
83928
84198
|
{
|
|
83929
84199
|
i18nKey: "create_app.template_is_set_from_options.template_id",
|
|
83930
84200
|
values: {
|
|
83931
84201
|
templateName: payload5.title
|
|
83932
84202
|
},
|
|
83933
|
-
components: [/* @__PURE__ */
|
|
84203
|
+
components: [/* @__PURE__ */ import_react111.default.createElement(Text2, { bold: true })]
|
|
83934
84204
|
}
|
|
83935
84205
|
),
|
|
83936
|
-
GitRepo: ({ url: url2 }) => /* @__PURE__ */
|
|
84206
|
+
GitRepo: ({ url: url2 }) => /* @__PURE__ */ import_react111.default.createElement(
|
|
83937
84207
|
Trans2,
|
|
83938
84208
|
{
|
|
83939
84209
|
i18nKey: "create_app.template_is_set_from_options.git_repository",
|
|
83940
84210
|
values: {
|
|
83941
84211
|
templateRepoUrl: url2
|
|
83942
84212
|
},
|
|
83943
|
-
components: [/* @__PURE__ */
|
|
84213
|
+
components: [/* @__PURE__ */ import_react111.default.createElement(Text2, { bold: true })]
|
|
83944
84214
|
}
|
|
83945
84215
|
),
|
|
83946
|
-
Local: ({ path: path8 }) => /* @__PURE__ */
|
|
84216
|
+
Local: ({ path: path8 }) => /* @__PURE__ */ import_react111.default.createElement(
|
|
83947
84217
|
Trans2,
|
|
83948
84218
|
{
|
|
83949
84219
|
i18nKey: "create_app.template_is_set_from_options.local",
|
|
83950
84220
|
values: {
|
|
83951
84221
|
templatePath: path8
|
|
83952
84222
|
},
|
|
83953
|
-
components: [/* @__PURE__ */
|
|
84223
|
+
components: [/* @__PURE__ */ import_react111.default.createElement(Text2, { bold: true })]
|
|
83954
84224
|
}
|
|
83955
84225
|
),
|
|
83956
84226
|
Default: () => null
|
|
83957
84227
|
});
|
|
83958
|
-
return /* @__PURE__ */
|
|
84228
|
+
return /* @__PURE__ */ import_react111.default.createElement(Box_default, { marginBottom: 1 }, messageComponent);
|
|
83959
84229
|
};
|
|
83960
84230
|
|
|
83961
84231
|
// src/components/Questions/Questions.tsx
|
|
@@ -83969,7 +84239,7 @@ var Questions = ({
|
|
|
83969
84239
|
const devCenterClient = useDevCenterClient();
|
|
83970
84240
|
const { reportError: reportError2 } = useErrorReporter();
|
|
83971
84241
|
const { getDeveloperApps } = useDevCenterClient();
|
|
83972
|
-
const [appCreationFlow, setAppCreationFlow] = (0,
|
|
84242
|
+
const [appCreationFlow, setAppCreationFlow] = (0, import_react112.useState)();
|
|
83973
84243
|
const { status } = useAsync2(async () => {
|
|
83974
84244
|
const { template, appName } = await parseCommandOptions(
|
|
83975
84245
|
targetParentFolder2,
|
|
@@ -84002,12 +84272,12 @@ var Questions = ({
|
|
|
84002
84272
|
}, []);
|
|
84003
84273
|
return (0, import_variant39.match)(status, {
|
|
84004
84274
|
Error: () => null,
|
|
84005
|
-
Loading: () => /* @__PURE__ */
|
|
84275
|
+
Loading: () => /* @__PURE__ */ import_react112.default.createElement(Spinner2, { text: t3("general.loading") }),
|
|
84006
84276
|
Success: ({
|
|
84007
84277
|
result: { template, appName, developerApps, developerAppsStatus }
|
|
84008
84278
|
}) => {
|
|
84009
84279
|
if (template) {
|
|
84010
|
-
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(
|
|
84011
84281
|
NewAppFlow,
|
|
84012
84282
|
{
|
|
84013
84283
|
onSubmit,
|
|
@@ -84019,7 +84289,7 @@ var Questions = ({
|
|
|
84019
84289
|
));
|
|
84020
84290
|
}
|
|
84021
84291
|
if ((0, import_variant39.isType)(developerAppsStatus, "NoApps")) {
|
|
84022
|
-
return /* @__PURE__ */
|
|
84292
|
+
return /* @__PURE__ */ import_react112.default.createElement(
|
|
84023
84293
|
NewAppFlow,
|
|
84024
84294
|
{
|
|
84025
84295
|
onSubmit,
|
|
@@ -84028,20 +84298,20 @@ var Questions = ({
|
|
|
84028
84298
|
}
|
|
84029
84299
|
);
|
|
84030
84300
|
}
|
|
84031
|
-
return /* @__PURE__ */
|
|
84301
|
+
return /* @__PURE__ */ import_react112.default.createElement(import_react112.default.Fragment, null, /* @__PURE__ */ import_react112.default.createElement(
|
|
84032
84302
|
CreateAppOrExtendExisting,
|
|
84033
84303
|
{
|
|
84034
84304
|
developerAppsStatus,
|
|
84035
84305
|
onStartCreationFlow: setAppCreationFlow
|
|
84036
84306
|
}
|
|
84037
|
-
), appCreationFlow === "new" && /* @__PURE__ */
|
|
84307
|
+
), appCreationFlow === "new" && /* @__PURE__ */ import_react112.default.createElement(
|
|
84038
84308
|
NewAppFlow,
|
|
84039
84309
|
{
|
|
84040
84310
|
onSubmit,
|
|
84041
84311
|
targetParentFolder: targetParentFolder2,
|
|
84042
84312
|
repoType
|
|
84043
84313
|
}
|
|
84044
|
-
), appCreationFlow === "existing" && /* @__PURE__ */
|
|
84314
|
+
), appCreationFlow === "existing" && /* @__PURE__ */ import_react112.default.createElement(
|
|
84045
84315
|
ExistingAppFlow,
|
|
84046
84316
|
{
|
|
84047
84317
|
developerApps,
|
|
@@ -84475,10 +84745,10 @@ function getTasks({
|
|
|
84475
84745
|
|
|
84476
84746
|
// src/components/FinishedSuccessfullyMessage.tsx
|
|
84477
84747
|
init_esm_shims();
|
|
84478
|
-
var
|
|
84748
|
+
var import_react113 = __toESM(require_react(), 1);
|
|
84479
84749
|
var FinishedSuccessfullyMessage = ({ packageName, appData: { appName, appId }, packageManager }) => {
|
|
84480
84750
|
const { t: t3 } = useTranslation();
|
|
84481
|
-
return /* @__PURE__ */
|
|
84751
|
+
return /* @__PURE__ */ import_react113.default.createElement(
|
|
84482
84752
|
Box_default,
|
|
84483
84753
|
{
|
|
84484
84754
|
borderColor: "blue",
|
|
@@ -84490,22 +84760,22 @@ var FinishedSuccessfullyMessage = ({ packageName, appData: { appName, appId }, p
|
|
|
84490
84760
|
marginLeft: -2,
|
|
84491
84761
|
marginBottom: 1
|
|
84492
84762
|
},
|
|
84493
|
-
/* @__PURE__ */
|
|
84494
|
-
/* @__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(
|
|
84495
84765
|
Trans2,
|
|
84496
84766
|
{
|
|
84497
84767
|
i18nKey: "create_app.generate_project.finished.ready_to_start",
|
|
84498
|
-
components: [/* @__PURE__ */
|
|
84768
|
+
components: [/* @__PURE__ */ import_react113.default.createElement(Text2, { bold: true })],
|
|
84499
84769
|
values: { appName }
|
|
84500
84770
|
}
|
|
84501
84771
|
)),
|
|
84502
|
-
/* @__PURE__ */
|
|
84503
|
-
/* @__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(
|
|
84504
84774
|
Trans2,
|
|
84505
84775
|
{
|
|
84506
84776
|
i18nKey: "create_app.create_new.app_on_dev_center",
|
|
84507
84777
|
components: [
|
|
84508
|
-
/* @__PURE__ */
|
|
84778
|
+
/* @__PURE__ */ import_react113.default.createElement(
|
|
84509
84779
|
Link,
|
|
84510
84780
|
{
|
|
84511
84781
|
skin: "info",
|
|
@@ -84514,12 +84784,12 @@ var FinishedSuccessfullyMessage = ({ packageName, appData: { appName, appId }, p
|
|
|
84514
84784
|
)
|
|
84515
84785
|
]
|
|
84516
84786
|
}
|
|
84517
|
-
)), /* @__PURE__ */
|
|
84787
|
+
)), /* @__PURE__ */ import_react113.default.createElement(UnorderedList.Item, { marker: /* @__PURE__ */ import_react113.default.createElement(Learn, null) }, /* @__PURE__ */ import_react113.default.createElement(
|
|
84518
84788
|
Trans2,
|
|
84519
84789
|
{
|
|
84520
84790
|
i18nKey: "create_app.generate_project.finished.visit_docs",
|
|
84521
84791
|
components: [
|
|
84522
|
-
/* @__PURE__ */
|
|
84792
|
+
/* @__PURE__ */ import_react113.default.createElement(
|
|
84523
84793
|
Link,
|
|
84524
84794
|
{
|
|
84525
84795
|
skin: "info",
|
|
@@ -84528,12 +84798,12 @@ var FinishedSuccessfullyMessage = ({ packageName, appData: { appName, appId }, p
|
|
|
84528
84798
|
)
|
|
84529
84799
|
]
|
|
84530
84800
|
}
|
|
84531
|
-
)), /* @__PURE__ */
|
|
84801
|
+
)), /* @__PURE__ */ import_react113.default.createElement(UnorderedList.Item, { marker: "\u{1F4AC}" }, /* @__PURE__ */ import_react113.default.createElement(
|
|
84532
84802
|
Trans2,
|
|
84533
84803
|
{
|
|
84534
84804
|
i18nKey: "create_app.generate_project.finished.join_community",
|
|
84535
84805
|
components: [
|
|
84536
|
-
/* @__PURE__ */
|
|
84806
|
+
/* @__PURE__ */ import_react113.default.createElement(Link, { skin: "info", url: "https://discord.gg/wixstudio" })
|
|
84537
84807
|
]
|
|
84538
84808
|
}
|
|
84539
84809
|
)))
|
|
@@ -84542,21 +84812,21 @@ var FinishedSuccessfullyMessage = ({ packageName, appData: { appName, appId }, p
|
|
|
84542
84812
|
|
|
84543
84813
|
// src/components/TaskList.tsx
|
|
84544
84814
|
init_esm_shims();
|
|
84545
|
-
var
|
|
84815
|
+
var import_react114 = __toESM(require_react(), 1);
|
|
84546
84816
|
var TaskList = ({ tasks, totalTaskCount }) => {
|
|
84547
|
-
return /* @__PURE__ */
|
|
84817
|
+
return /* @__PURE__ */ import_react114.default.createElement(import_react114.default.Fragment, null, tasks.map((task, index) => {
|
|
84548
84818
|
const stepper = `[${index + 1}/${totalTaskCount}]`;
|
|
84549
84819
|
const fullText = `${stepper} ${task.text}`;
|
|
84550
84820
|
if (task.status === "running") {
|
|
84551
|
-
return /* @__PURE__ */
|
|
84821
|
+
return /* @__PURE__ */ import_react114.default.createElement(Spinner2, { key: index, text: fullText });
|
|
84552
84822
|
}
|
|
84553
|
-
return /* @__PURE__ */
|
|
84823
|
+
return /* @__PURE__ */ import_react114.default.createElement(Alert, { key: index, type: "success" }, fullText);
|
|
84554
84824
|
}));
|
|
84555
84825
|
};
|
|
84556
84826
|
|
|
84557
84827
|
// src/task-runner.ts
|
|
84558
84828
|
init_esm_shims();
|
|
84559
|
-
var
|
|
84829
|
+
var import_react115 = __toESM(require_react(), 1);
|
|
84560
84830
|
var import_variant42 = __toESM(require_lib(), 1);
|
|
84561
84831
|
var TaskRunnerStatus = (0, import_variant42.variant)({
|
|
84562
84832
|
Idle: {},
|
|
@@ -84582,7 +84852,7 @@ var TaskRunnerStatus = (0, import_variant42.variant)({
|
|
|
84582
84852
|
}
|
|
84583
84853
|
});
|
|
84584
84854
|
function useTaskRunner() {
|
|
84585
|
-
const [status, setStatus] = (0,
|
|
84855
|
+
const [status, setStatus] = (0, import_react115.useState)(
|
|
84586
84856
|
TaskRunnerStatus.Idle()
|
|
84587
84857
|
);
|
|
84588
84858
|
const { execute } = useAsyncCallback3(async (_2, tasks) => {
|
|
@@ -84602,23 +84872,23 @@ function useTaskRunner() {
|
|
|
84602
84872
|
|
|
84603
84873
|
// src/components/mcp/McpConfigCreated.tsx
|
|
84604
84874
|
init_esm_shims();
|
|
84605
|
-
var
|
|
84875
|
+
var import_react116 = __toESM(require_react(), 1);
|
|
84606
84876
|
var McpConfigCreated = ({
|
|
84607
84877
|
mcpPath,
|
|
84608
84878
|
docsUrl
|
|
84609
84879
|
}) => {
|
|
84610
|
-
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(
|
|
84611
84881
|
Trans2,
|
|
84612
84882
|
{
|
|
84613
84883
|
i18nKey: "create_app.mcp_config_created_1",
|
|
84614
|
-
components: [/* @__PURE__ */
|
|
84884
|
+
components: [/* @__PURE__ */ import_react116.default.createElement(Text2, { bold: true })],
|
|
84615
84885
|
values: { mcpPath }
|
|
84616
84886
|
}
|
|
84617
|
-
)), /* @__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(
|
|
84618
84888
|
Trans2,
|
|
84619
84889
|
{
|
|
84620
84890
|
i18nKey: "create_app.mcp_config_created_3",
|
|
84621
|
-
components: [/* @__PURE__ */
|
|
84891
|
+
components: [/* @__PURE__ */ import_react116.default.createElement(Link, { skin: "info", url: docsUrl })]
|
|
84622
84892
|
}
|
|
84623
84893
|
))));
|
|
84624
84894
|
};
|
|
@@ -84626,12 +84896,12 @@ var McpConfigCreated = ({
|
|
|
84626
84896
|
// src/components/CreateAppCommand.tsx
|
|
84627
84897
|
var GenerationProgress = ({ tasks, totalTaskCount }) => {
|
|
84628
84898
|
const { t: t3 } = useTranslation();
|
|
84629
|
-
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 })));
|
|
84630
84900
|
};
|
|
84631
84901
|
var CreateAppCommand = ({ userInfo: userInfo2, targetParentFolder: targetParentFolder2, commandOptions }) => {
|
|
84632
84902
|
const { t: t3 } = useTranslation();
|
|
84633
84903
|
const { execute: executeTaskRunner, status: taskRunnerStatus } = useTaskRunner();
|
|
84634
|
-
const [generationData, setGenerationData] = (0,
|
|
84904
|
+
const [generationData, setGenerationData] = (0, import_react117.useState)();
|
|
84635
84905
|
const { status } = useAsync2(async () => {
|
|
84636
84906
|
const repoType = await getRepoType(targetParentFolder2);
|
|
84637
84907
|
const packageManager = await createPackageManager(repoType);
|
|
@@ -84645,9 +84915,9 @@ var CreateAppCommand = ({ userInfo: userInfo2, targetParentFolder: targetParentF
|
|
|
84645
84915
|
}
|
|
84646
84916
|
return (0, import_variant43.match)(status, {
|
|
84647
84917
|
Error: () => null,
|
|
84648
|
-
Loading: () => /* @__PURE__ */
|
|
84918
|
+
Loading: () => /* @__PURE__ */ import_react117.default.createElement(Spinner2, { text: t3("general.loading") }),
|
|
84649
84919
|
Success: ({ result: { repoType, packageManager } }) => {
|
|
84650
|
-
return /* @__PURE__ */
|
|
84920
|
+
return /* @__PURE__ */ import_react117.default.createElement(
|
|
84651
84921
|
Box_default,
|
|
84652
84922
|
{
|
|
84653
84923
|
flexDirection: "column",
|
|
@@ -84658,8 +84928,8 @@ var CreateAppCommand = ({ userInfo: userInfo2, targetParentFolder: targetParentF
|
|
|
84658
84928
|
borderTop: false,
|
|
84659
84929
|
paddingLeft: 1
|
|
84660
84930
|
},
|
|
84661
|
-
/* @__PURE__ */
|
|
84662
|
-
/* @__PURE__ */
|
|
84931
|
+
/* @__PURE__ */ import_react117.default.createElement(WelcomeMessage, null),
|
|
84932
|
+
/* @__PURE__ */ import_react117.default.createElement(AuthProvider, { userInfo: userInfo2 }, /* @__PURE__ */ import_react117.default.createElement(
|
|
84663
84933
|
Questions,
|
|
84664
84934
|
{
|
|
84665
84935
|
repoType,
|
|
@@ -84678,11 +84948,11 @@ var CreateAppCommand = ({ userInfo: userInfo2, targetParentFolder: targetParentF
|
|
|
84678
84948
|
)),
|
|
84679
84949
|
generationData && (0, import_variant43.match)(taskRunnerStatus, {
|
|
84680
84950
|
Idle: () => null,
|
|
84681
|
-
Running: (status2) => /* @__PURE__ */
|
|
84682
|
-
Done: (status2) => /* @__PURE__ */
|
|
84683
|
-
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 }),
|
|
84684
84954
|
Canceled: () => null
|
|
84685
|
-
}), /* @__PURE__ */
|
|
84955
|
+
}), /* @__PURE__ */ import_react117.default.createElement(
|
|
84686
84956
|
FinishedSuccessfullyMessage,
|
|
84687
84957
|
{
|
|
84688
84958
|
packageName: generationData.packageName,
|
|
@@ -84829,16 +85099,21 @@ var program2 = new Command().name(package_default.name).description("Create Wix
|
|
|
84829
85099
|
skipInstall: options.skipInstall ?? false,
|
|
84830
85100
|
skipGit: options.skipGit ?? false
|
|
84831
85101
|
};
|
|
85102
|
+
const headers = buildHttpClientHeaders({
|
|
85103
|
+
flow: "CreateApp",
|
|
85104
|
+
command: command.name(),
|
|
85105
|
+
cliVersion: package_default.version
|
|
85106
|
+
});
|
|
84832
85107
|
try {
|
|
84833
85108
|
await render2(
|
|
84834
|
-
/* @__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(
|
|
84835
85110
|
CreateAppCommand,
|
|
84836
85111
|
{
|
|
84837
85112
|
userInfo,
|
|
84838
85113
|
targetParentFolder,
|
|
84839
85114
|
commandOptions
|
|
84840
85115
|
}
|
|
84841
|
-
))))
|
|
85116
|
+
)))))
|
|
84842
85117
|
);
|
|
84843
85118
|
commandStatus.succeed();
|
|
84844
85119
|
} catch (e2) {
|