@wix/create-headless-site 0.0.14 → 0.0.15
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 +428 -180
- package/build/index.js.map +1 -1
- package/package.json +3 -3
package/build/index.js
CHANGED
|
@@ -68717,7 +68717,7 @@ var require_lib3 = __commonJS({
|
|
|
68717
68717
|
|
|
68718
68718
|
// src/index.tsx
|
|
68719
68719
|
init_esm_shims();
|
|
68720
|
-
var
|
|
68720
|
+
var import_react115 = __toESM(require_react(), 1);
|
|
68721
68721
|
import { cwd as cwd2 } from "node:process";
|
|
68722
68722
|
|
|
68723
68723
|
// ../cli-telemetry-react/src/index.ts
|
|
@@ -79812,12 +79812,22 @@ function fixHostExceptions(host) {
|
|
|
79812
79812
|
}
|
|
79813
79813
|
function resolveMappingsByDomain(domain, domainToMappings) {
|
|
79814
79814
|
const mappings = domainToMappings[domain] || domainToMappings[USER_DOMAIN];
|
|
79815
|
-
if (
|
|
79815
|
+
if (mappings) {
|
|
79816
|
+
return mappings;
|
|
79817
|
+
}
|
|
79818
|
+
const rootDomainMappings = resolveRootDomain(domain, domainToMappings);
|
|
79819
|
+
if (!rootDomainMappings) {
|
|
79816
79820
|
if (isBaseDomain(domain)) {
|
|
79817
79821
|
return domainToMappings[wwwBaseDomain];
|
|
79818
79822
|
}
|
|
79819
79823
|
}
|
|
79820
|
-
return
|
|
79824
|
+
return rootDomainMappings ?? [];
|
|
79825
|
+
}
|
|
79826
|
+
function resolveRootDomain(domain, domainToMappings) {
|
|
79827
|
+
return Object.entries(domainToMappings).find(([entryDomain]) => {
|
|
79828
|
+
const [_2, ...rooDomainSegments] = domain.split(".");
|
|
79829
|
+
return rooDomainSegments.join(".") === entryDomain;
|
|
79830
|
+
})?.[1];
|
|
79821
79831
|
}
|
|
79822
79832
|
function resolvePath(protoPath, mappings) {
|
|
79823
79833
|
const mapping = mappings?.find((m) => protoPath.startsWith(m.destPath));
|
|
@@ -93898,14 +93908,14 @@ function wixCliCliError(params) {
|
|
|
93898
93908
|
var package_default = {
|
|
93899
93909
|
name: "@wix/create-headless-site",
|
|
93900
93910
|
description: "Headless site creation wizard",
|
|
93901
|
-
version: "0.0.
|
|
93911
|
+
version: "0.0.15",
|
|
93902
93912
|
bin: "bin/index.cjs",
|
|
93903
93913
|
devDependencies: {
|
|
93904
93914
|
"@commander-js/extra-typings": "^13.0.0",
|
|
93905
93915
|
"@types/react": "^18.3.3",
|
|
93906
93916
|
"@types/semver": "^7.5.8",
|
|
93907
93917
|
"@types/validate-npm-package-name": "^4.0.2",
|
|
93908
|
-
"@wix/ambassador-funnel-projects-v1-project": "^1.0.
|
|
93918
|
+
"@wix/ambassador-funnel-projects-v1-project": "^1.0.10",
|
|
93909
93919
|
"@wix/backend-as-a-service-client": "workspace:*",
|
|
93910
93920
|
"@wix/bi-logger-dev-tools-data": "^1.116.0",
|
|
93911
93921
|
"@wix/cli-astro-definitions": "workspace:*",
|
|
@@ -94016,7 +94026,7 @@ var createBiLogger2 = async (errorReporter2, userId) => {
|
|
|
94016
94026
|
|
|
94017
94027
|
// src/components/LinkCommand/LinkCommand.tsx
|
|
94018
94028
|
init_esm_shims();
|
|
94019
|
-
var
|
|
94029
|
+
var import_react107 = __toESM(require_react(), 1);
|
|
94020
94030
|
|
|
94021
94031
|
// ../package-manager/src/index.ts
|
|
94022
94032
|
init_esm_shims();
|
|
@@ -96575,26 +96585,41 @@ var ChooseBusinessName = ({ onSubmit }) => {
|
|
|
96575
96585
|
|
|
96576
96586
|
// src/components/CreateBusiness.tsx
|
|
96577
96587
|
init_esm_shims();
|
|
96578
|
-
var
|
|
96588
|
+
var import_react98 = __toESM(require_react(), 1);
|
|
96579
96589
|
var import_variant30 = __toESM(require_lib(), 1);
|
|
96580
96590
|
|
|
96581
96591
|
// src/clients/funnel-projects/useFunnelProjectsClient.ts
|
|
96582
96592
|
init_esm_shims();
|
|
96583
|
-
var
|
|
96593
|
+
var import_react97 = __toESM(require_react(), 1);
|
|
96584
96594
|
|
|
96585
96595
|
// ../cli-http-client-react/src/index.ts
|
|
96586
96596
|
init_esm_shims();
|
|
96587
96597
|
|
|
96588
96598
|
// ../cli-http-client-react/src/useHttpClient.ts
|
|
96589
96599
|
init_esm_shims();
|
|
96600
|
+
var import_react96 = __toESM(require_react(), 1);
|
|
96601
|
+
|
|
96602
|
+
// ../cli-http-client-react/src/httpClientProvider.tsx
|
|
96603
|
+
init_esm_shims();
|
|
96590
96604
|
var import_react95 = __toESM(require_react(), 1);
|
|
96605
|
+
var HttpClientContext = (0, import_react95.createContext)(null);
|
|
96606
|
+
|
|
96607
|
+
// ../cli-http-client-react/src/useHttpClient.ts
|
|
96591
96608
|
function useHttpClient({
|
|
96592
96609
|
type
|
|
96593
96610
|
}) {
|
|
96594
|
-
const
|
|
96595
|
-
|
|
96596
|
-
|
|
96597
|
-
|
|
96611
|
+
const context2 = (0, import_react96.useContext)(HttpClientContext);
|
|
96612
|
+
const { getAccessToken: getAppToken, getRequestHeaders: createAuthHeaders } = useAuth();
|
|
96613
|
+
return (0, import_react96.useMemo)(
|
|
96614
|
+
() => createHttpClient({
|
|
96615
|
+
type,
|
|
96616
|
+
getAppToken,
|
|
96617
|
+
createHeaders: () => ({
|
|
96618
|
+
...createAuthHeaders?.(),
|
|
96619
|
+
...context2?.headers
|
|
96620
|
+
})
|
|
96621
|
+
}),
|
|
96622
|
+
[type, getAppToken, createAuthHeaders, context2]
|
|
96598
96623
|
);
|
|
96599
96624
|
}
|
|
96600
96625
|
|
|
@@ -96706,7 +96731,7 @@ var FunnelProjectsClient = class {
|
|
|
96706
96731
|
// src/clients/funnel-projects/useFunnelProjectsClient.ts
|
|
96707
96732
|
function useFunnelProjectsClient() {
|
|
96708
96733
|
const httpClient = useHttpClient({ type: "api" });
|
|
96709
|
-
return (0,
|
|
96734
|
+
return (0, import_react97.useMemo)(() => new FunnelProjectsClient(httpClient), [httpClient]);
|
|
96710
96735
|
}
|
|
96711
96736
|
|
|
96712
96737
|
// src/components/CreateBusiness.tsx
|
|
@@ -96716,17 +96741,17 @@ var CreateBusiness = ({ businessName, businessTemplateId, onDone }) => {
|
|
|
96716
96741
|
const { project } = await createProject2(businessName, businessTemplateId);
|
|
96717
96742
|
onDone({ businessId: project.metaSiteId });
|
|
96718
96743
|
}, []);
|
|
96719
|
-
return /* @__PURE__ */
|
|
96744
|
+
return /* @__PURE__ */ import_react98.default.createElement(import_react98.default.Fragment, null, (0, import_variant30.match)(status, {
|
|
96720
96745
|
Error: () => null,
|
|
96721
|
-
Loading: () => /* @__PURE__ */
|
|
96722
|
-
Success: () => /* @__PURE__ */
|
|
96746
|
+
Loading: () => /* @__PURE__ */ import_react98.default.createElement(Box_default, { marginBottom: 1 }, /* @__PURE__ */ import_react98.default.createElement(Spinner2, { text: "Creating your business..." })),
|
|
96747
|
+
Success: () => /* @__PURE__ */ import_react98.default.createElement(Box_default, { marginLeft: -2, marginBottom: 1 }, /* @__PURE__ */ import_react98.default.createElement(Alert, { type: "success" }, /* @__PURE__ */ import_react98.default.createElement(Badge, { skin: "success" }, "Success"), " ", /* @__PURE__ */ import_react98.default.createElement(Text2, null, "Business created successfully"))),
|
|
96723
96748
|
NotRequested: () => null
|
|
96724
96749
|
}));
|
|
96725
96750
|
};
|
|
96726
96751
|
|
|
96727
96752
|
// src/components/CreateProject.tsx
|
|
96728
96753
|
init_esm_shims();
|
|
96729
|
-
var
|
|
96754
|
+
var import_react102 = __toESM(require_react(), 1);
|
|
96730
96755
|
var import_variant31 = __toESM(require_lib(), 1);
|
|
96731
96756
|
|
|
96732
96757
|
// src/validations/validate-project-name.ts
|
|
@@ -96754,6 +96779,7 @@ init_esm_shims();
|
|
|
96754
96779
|
init_esm_shims();
|
|
96755
96780
|
var __Array = {
|
|
96756
96781
|
checkboxGroupOptions: "_checkboxGroup",
|
|
96782
|
+
tagsOptions: "_tags",
|
|
96757
96783
|
validation: "_arrayType"
|
|
96758
96784
|
};
|
|
96759
96785
|
var __Boolean = { checkboxOptions: "_checkbox" };
|
|
@@ -96776,6 +96802,7 @@ var __String = {
|
|
|
96776
96802
|
};
|
|
96777
96803
|
var _actionProviderSPIConfig = { actionConfig: "_actionSPIConfig" };
|
|
96778
96804
|
var _actionSPIConfig = { icon: "_wixCommonImage" };
|
|
96805
|
+
var _address = { multilineAddressOptions: "_componentsMultilineAddress" };
|
|
96779
96806
|
var _adminConfigurableTextInput = {
|
|
96780
96807
|
requiredSettings: "google.protobuf.FieldMask",
|
|
96781
96808
|
adminConfigurableSettings: "google.protobuf.FieldMask"
|
|
@@ -96783,6 +96810,7 @@ var _adminConfigurableTextInput = {
|
|
|
96783
96810
|
var _andCondition = { conditions: "_conditionNode" };
|
|
96784
96811
|
var _appData = { components: "_component", pricingModels: "_pricingModel" };
|
|
96785
96812
|
var _appEmbedData = { image: "_media" };
|
|
96813
|
+
var _appointment = { description: "_richContent" };
|
|
96786
96814
|
var _arrayItems = { data: "_dataItems", dataItem: "_dataItem" };
|
|
96787
96815
|
var _arrayType = { items: "_arrayTypeArrayItems" };
|
|
96788
96816
|
var _arrayTypeArrayItems = {
|
|
@@ -96798,6 +96826,7 @@ var _billing = {
|
|
|
96798
96826
|
oneTimePrice: "DOUBLE",
|
|
96799
96827
|
meteredBilling: "_meteredBilling"
|
|
96800
96828
|
};
|
|
96829
|
+
var _breakPoint = { items: "_itemLayout" };
|
|
96801
96830
|
var _breakpointPresetStyleOverrides = {
|
|
96802
96831
|
default: "_presetStyleOverrides",
|
|
96803
96832
|
small: "_presetStyleOverrides"
|
|
@@ -96805,7 +96834,8 @@ var _breakpointPresetStyleOverrides = {
|
|
|
96805
96834
|
var _checkbox = { label: "_richContent" };
|
|
96806
96835
|
var _checkboxGroup = {
|
|
96807
96836
|
description: "_richContent",
|
|
96808
|
-
options: "_checkboxGroupOption"
|
|
96837
|
+
options: "_checkboxGroupOption",
|
|
96838
|
+
media: "_mediaItem"
|
|
96809
96839
|
};
|
|
96810
96840
|
var _checkboxGroupOption = { media: "_mediaItem" };
|
|
96811
96841
|
var _commonImage = { urlExpirationDate: "google.protobuf.Timestamp" };
|
|
@@ -96835,11 +96865,15 @@ var _cssNumber = {
|
|
|
96835
96865
|
maximum: "google.protobuf.FloatValue",
|
|
96836
96866
|
multipleOf: "google.protobuf.FloatValue"
|
|
96837
96867
|
};
|
|
96838
|
-
var _dataItem = {
|
|
96868
|
+
var _dataItem = {
|
|
96869
|
+
number: "__Number",
|
|
96870
|
+
arrayItems: "_arrayItems",
|
|
96871
|
+
data: "_dataItems"
|
|
96872
|
+
};
|
|
96839
96873
|
var _dataItems = { items: "Map#_dataItem" };
|
|
96840
|
-
var _dateInput = { description: "_richContent" };
|
|
96841
|
-
var _datePicker = { description: "_richContent" };
|
|
96842
|
-
var _dateTimeInput = { description: "_richContent" };
|
|
96874
|
+
var _dateInput = { description: "_richContent", media: "_mediaItem" };
|
|
96875
|
+
var _datePicker = { description: "_richContent", media: "_mediaItem" };
|
|
96876
|
+
var _dateTimeInput = { description: "_richContent", media: "_mediaItem" };
|
|
96843
96877
|
var _description = { representativeImage: "_wixCommonImage" };
|
|
96844
96878
|
var _design = { poll: "_pollDesign" };
|
|
96845
96879
|
var _devCenterTestingComponentData = {
|
|
@@ -96851,8 +96885,8 @@ var _devCenterTestingComponentData = {
|
|
|
96851
96885
|
richContentMap: "Map#_richContent"
|
|
96852
96886
|
};
|
|
96853
96887
|
var _displayField = { richContentOptions: "_richContentOptions" };
|
|
96854
|
-
var _donationInput = { description: "_richContent" };
|
|
96855
|
-
var _dropdown = { description: "_richContent" };
|
|
96888
|
+
var _donationInput = { description: "_richContent", media: "_mediaItem" };
|
|
96889
|
+
var _dropdown = { description: "_richContent", media: "_mediaItem" };
|
|
96856
96890
|
var _editorElement = {
|
|
96857
96891
|
style: "Map#_styleItem",
|
|
96858
96892
|
data: "Map#_dataItem",
|
|
@@ -96873,13 +96907,20 @@ var _expectedInputs = {
|
|
|
96873
96907
|
expectedVerifyInputs: "_predefinedExpectedInput"
|
|
96874
96908
|
};
|
|
96875
96909
|
var _field = { inputOptions: "_inputField", displayOptions: "_displayField" };
|
|
96876
|
-
var _fileUpload = { description: "_richContent" };
|
|
96910
|
+
var _fileUpload = { description: "_richContent", media: "_mediaItem" };
|
|
96911
|
+
var _fixedPayment = { description: "_richContent", media: "_mediaItem" };
|
|
96877
96912
|
var _focalPoint = { x: "DOUBLE", y: "DOUBLE" };
|
|
96913
|
+
var _formLayout = {
|
|
96914
|
+
large: "_breakPoint",
|
|
96915
|
+
medium: "_breakPoint",
|
|
96916
|
+
small: "_breakPoint"
|
|
96917
|
+
};
|
|
96878
96918
|
var _formTemplate = {
|
|
96879
96919
|
createdDate: "google.protobuf.Timestamp",
|
|
96880
96920
|
updatedDate: "google.protobuf.Timestamp",
|
|
96881
96921
|
fields: "_field",
|
|
96882
96922
|
deletedFields: "_field",
|
|
96923
|
+
steps: "_step",
|
|
96883
96924
|
rules: "_v2Rule",
|
|
96884
96925
|
submitSettings: "_submitSettings"
|
|
96885
96926
|
};
|
|
@@ -96893,6 +96934,7 @@ var _getAppResponse = {
|
|
|
96893
96934
|
dateCreated: "google.protobuf.Timestamp",
|
|
96894
96935
|
data: "_appData"
|
|
96895
96936
|
};
|
|
96937
|
+
var _group = { items: "_itemLayout" };
|
|
96896
96938
|
var _image = { urlExpirationDate: "google.protobuf.Timestamp" };
|
|
96897
96939
|
var _imageData = { image: "_media" };
|
|
96898
96940
|
var _inlineElement = {
|
|
@@ -96910,7 +96952,9 @@ var _inputField = {
|
|
|
96910
96952
|
objectOptions: "__Object",
|
|
96911
96953
|
wixFileOptions: "_wixFile",
|
|
96912
96954
|
paymentOptions: "_payment",
|
|
96913
|
-
multilineAddressOptions: "
|
|
96955
|
+
multilineAddressOptions: "_address",
|
|
96956
|
+
schedulingOptions: "_scheduling",
|
|
96957
|
+
addressOptions: "_address"
|
|
96914
96958
|
};
|
|
96915
96959
|
var _inputField_Number = {
|
|
96916
96960
|
numberInputOptions: "_numberInput",
|
|
@@ -96919,6 +96963,7 @@ var _inputField_Number = {
|
|
|
96919
96963
|
};
|
|
96920
96964
|
var _item = { image: "_itemImage", video: "_video" };
|
|
96921
96965
|
var _itemImage = { media: "_media" };
|
|
96966
|
+
var _itemLayout = { group: "_group" };
|
|
96922
96967
|
var _itemStyle = { ratio: "google.protobuf.DoubleValue" };
|
|
96923
96968
|
var _mapData = { mapSettings: "_mapSettings" };
|
|
96924
96969
|
var _mapSettings = {
|
|
@@ -96934,9 +96979,6 @@ var _meteredBilling = {
|
|
|
96934
96979
|
monthlyBaseFee: "DOUBLE",
|
|
96935
96980
|
additionalCharges: "google.protobuf.DoubleValue"
|
|
96936
96981
|
};
|
|
96937
|
-
var _multilineAddress = {
|
|
96938
|
-
multilineAddressOptions: "_componentsMultilineAddress"
|
|
96939
|
-
};
|
|
96940
96982
|
var _multilingualTranslationSchema = { referenceData: "_schema" };
|
|
96941
96983
|
var _node = {
|
|
96942
96984
|
galleryData: "_galleryData",
|
|
@@ -96950,7 +96992,8 @@ var _node = {
|
|
|
96950
96992
|
};
|
|
96951
96993
|
var _numberInput = {
|
|
96952
96994
|
default: "google.protobuf.DoubleValue",
|
|
96953
|
-
description: "_richContent"
|
|
96995
|
+
description: "_richContent",
|
|
96996
|
+
media: "_mediaItem"
|
|
96954
96997
|
};
|
|
96955
96998
|
var _numberType = {
|
|
96956
96999
|
maximum: "google.protobuf.DoubleValue",
|
|
@@ -96968,9 +97011,16 @@ var _packageDimension = {
|
|
|
96968
97011
|
var _packageType = { dimension: "_packageDimension", image: "_image" };
|
|
96969
97012
|
var _payment = {
|
|
96970
97013
|
checkboxGroupOptions: "_productCheckboxGroup",
|
|
96971
|
-
donationInputOptions: "_donationInput"
|
|
97014
|
+
donationInputOptions: "_donationInput",
|
|
97015
|
+
paymentInputOptions: "_paymentInput",
|
|
97016
|
+
fixedPaymentOptions: "_fixedPayment"
|
|
97017
|
+
};
|
|
97018
|
+
var _paymentInput = {
|
|
97019
|
+
default: "google.protobuf.DoubleValue",
|
|
97020
|
+
description: "_richContent",
|
|
97021
|
+
media: "_mediaItem"
|
|
96972
97022
|
};
|
|
96973
|
-
var _phoneInput = { description: "_richContent" };
|
|
97023
|
+
var _phoneInput = { description: "_richContent", media: "_mediaItem" };
|
|
96974
97024
|
var _plan = { billing: "_billing" };
|
|
96975
97025
|
var _pluginConfig = { startingEnforcementDate: "google.protobuf.Timestamp" };
|
|
96976
97026
|
var _poll = { image: "_media", options: "_pollOption" };
|
|
@@ -96998,15 +97048,16 @@ var _presetStyleOverrides = { elements: "Map#_elementStyleOverrides" };
|
|
|
96998
97048
|
var _pricingModel = { plans: "_plan" };
|
|
96999
97049
|
var _productCheckboxGroup = {
|
|
97000
97050
|
description: "_richContent",
|
|
97001
|
-
options: "_productCheckboxGroupOption"
|
|
97051
|
+
options: "_productCheckboxGroupOption",
|
|
97052
|
+
media: "_mediaItem"
|
|
97002
97053
|
};
|
|
97003
97054
|
var _productCheckboxGroupOption = { media: "_mediaItem" };
|
|
97004
97055
|
var _propertiesType = {
|
|
97005
97056
|
numberOptions: "_numberType",
|
|
97006
97057
|
arrayOptions: "_arrayType"
|
|
97007
97058
|
};
|
|
97008
|
-
var _radioGroup = { description: "_richContent" };
|
|
97009
|
-
var _ratingInput = { description: "_richContent" };
|
|
97059
|
+
var _radioGroup = { description: "_richContent", media: "_mediaItem" };
|
|
97060
|
+
var _ratingInput = { description: "_richContent", media: "_mediaItem" };
|
|
97010
97061
|
var _refElement = {
|
|
97011
97062
|
resolvedElement: "_inlineElement",
|
|
97012
97063
|
elementsDefaults: "Map#_refInnerElementDefaults",
|
|
@@ -97015,6 +97066,7 @@ var _refElement = {
|
|
|
97015
97066
|
var _refInnerElementDefaults = { elements: "Map#_refInnerElementDefaults" };
|
|
97016
97067
|
var _richContent = { nodes: "_node", metadata: "_v1Metadata" };
|
|
97017
97068
|
var _richContentOptions = { richContent: "_richContent" };
|
|
97069
|
+
var _scheduling = { appointmentOptions: "_appointment" };
|
|
97018
97070
|
var _schema = {
|
|
97019
97071
|
createdDate: "google.protobuf.Timestamp",
|
|
97020
97072
|
updatedDate: "google.protobuf.Timestamp",
|
|
@@ -97026,16 +97078,23 @@ var _schemaGroup = {
|
|
|
97026
97078
|
};
|
|
97027
97079
|
var _shippingLabelCarrierSpiConfig = { packageTypes: "_packageType" };
|
|
97028
97080
|
var _shippingProviderConfig = { shippingPrice: "DOUBLE" };
|
|
97029
|
-
var _signature = { description: "_richContent" };
|
|
97081
|
+
var _signature = { description: "_richContent", media: "_mediaItem" };
|
|
97082
|
+
var _step = { layout: "_formLayout" };
|
|
97030
97083
|
var _studioWidgetComponentData = {
|
|
97031
97084
|
widgetDisplay: "_widgetDisplay",
|
|
97032
97085
|
editorPresence: "_editorPresence"
|
|
97033
97086
|
};
|
|
97034
97087
|
var _styleItem = { number: "_cssNumber" };
|
|
97035
97088
|
var _submitSettings = { thankYouMessageOptions: "_thankYouMessageOptions" };
|
|
97036
|
-
var
|
|
97089
|
+
var _tags = {
|
|
97090
|
+
description: "_richContent",
|
|
97091
|
+
options: "_tagsOption",
|
|
97092
|
+
media: "_mediaItem"
|
|
97093
|
+
};
|
|
97094
|
+
var _tagsOption = { media: "_mediaItem" };
|
|
97095
|
+
var _textInput = { description: "_richContent", media: "_mediaItem" };
|
|
97037
97096
|
var _thankYouMessageOptions = { richContent: "_richContent" };
|
|
97038
|
-
var _timeInput = { description: "_richContent" };
|
|
97097
|
+
var _timeInput = { description: "_richContent", media: "_mediaItem" };
|
|
97039
97098
|
var _v1Metadata = {
|
|
97040
97099
|
createdTimestamp: "google.protobuf.Timestamp",
|
|
97041
97100
|
updatedTimestamp: "google.protobuf.Timestamp"
|
|
@@ -97179,10 +97238,12 @@ function getAppByVersion(payload5) {
|
|
|
97179
97238
|
__String,
|
|
97180
97239
|
_actionProviderSPIConfig,
|
|
97181
97240
|
_actionSPIConfig,
|
|
97241
|
+
_address,
|
|
97182
97242
|
_adminConfigurableTextInput,
|
|
97183
97243
|
_andCondition,
|
|
97184
97244
|
_appData,
|
|
97185
97245
|
_appEmbedData,
|
|
97246
|
+
_appointment,
|
|
97186
97247
|
_arrayItems,
|
|
97187
97248
|
_arrayType,
|
|
97188
97249
|
_arrayTypeArrayItems,
|
|
@@ -97190,6 +97251,7 @@ function getAppByVersion(payload5) {
|
|
|
97190
97251
|
_authenticatorConfig,
|
|
97191
97252
|
_background,
|
|
97192
97253
|
_billing,
|
|
97254
|
+
_breakPoint,
|
|
97193
97255
|
_breakpointPresetStyleOverrides,
|
|
97194
97256
|
_checkbox,
|
|
97195
97257
|
_checkboxGroup,
|
|
@@ -97221,11 +97283,14 @@ function getAppByVersion(payload5) {
|
|
|
97221
97283
|
_expectedInputs,
|
|
97222
97284
|
_field,
|
|
97223
97285
|
_fileUpload,
|
|
97286
|
+
_fixedPayment,
|
|
97224
97287
|
_focalPoint,
|
|
97288
|
+
_formLayout,
|
|
97225
97289
|
_formTemplate,
|
|
97226
97290
|
_functionsShopPriceSpiConfig,
|
|
97227
97291
|
_galleryData,
|
|
97228
97292
|
_galleryOptions,
|
|
97293
|
+
_group,
|
|
97229
97294
|
_image,
|
|
97230
97295
|
_imageData,
|
|
97231
97296
|
_inlineElement,
|
|
@@ -97233,6 +97298,7 @@ function getAppByVersion(payload5) {
|
|
|
97233
97298
|
_inputField_Number,
|
|
97234
97299
|
_item,
|
|
97235
97300
|
_itemImage,
|
|
97301
|
+
_itemLayout,
|
|
97236
97302
|
_itemStyle,
|
|
97237
97303
|
_mapData,
|
|
97238
97304
|
_mapSettings,
|
|
@@ -97240,7 +97306,6 @@ function getAppByVersion(payload5) {
|
|
|
97240
97306
|
_mediaItem,
|
|
97241
97307
|
_messageContainingTranslatables,
|
|
97242
97308
|
_meteredBilling,
|
|
97243
|
-
_multilineAddress,
|
|
97244
97309
|
_multilingualTranslationSchema,
|
|
97245
97310
|
_node,
|
|
97246
97311
|
_numberInput,
|
|
@@ -97250,6 +97315,7 @@ function getAppByVersion(payload5) {
|
|
|
97250
97315
|
_packageDimension,
|
|
97251
97316
|
_packageType,
|
|
97252
97317
|
_payment,
|
|
97318
|
+
_paymentInput,
|
|
97253
97319
|
_phoneInput,
|
|
97254
97320
|
_plan,
|
|
97255
97321
|
_pluginConfig,
|
|
@@ -97275,14 +97341,18 @@ function getAppByVersion(payload5) {
|
|
|
97275
97341
|
_refInnerElementDefaults,
|
|
97276
97342
|
_richContent,
|
|
97277
97343
|
_richContentOptions,
|
|
97344
|
+
_scheduling,
|
|
97278
97345
|
_schema,
|
|
97279
97346
|
_schemaGroup,
|
|
97280
97347
|
_shippingLabelCarrierSpiConfig,
|
|
97281
97348
|
_shippingProviderConfig,
|
|
97282
97349
|
_signature,
|
|
97350
|
+
_step,
|
|
97283
97351
|
_studioWidgetComponentData,
|
|
97284
97352
|
_styleItem,
|
|
97285
97353
|
_submitSettings,
|
|
97354
|
+
_tags,
|
|
97355
|
+
_tagsOption,
|
|
97286
97356
|
_textInput,
|
|
97287
97357
|
_thankYouMessageOptions,
|
|
97288
97358
|
_timeInput,
|
|
@@ -98066,6 +98136,7 @@ function listAppTemplates(payload5) {
|
|
|
98066
98136
|
init_esm_shims();
|
|
98067
98137
|
var __Array2 = {
|
|
98068
98138
|
checkboxGroupOptions: "_checkboxGroup",
|
|
98139
|
+
tagsOptions: "_tags",
|
|
98069
98140
|
validation: "_arrayType"
|
|
98070
98141
|
};
|
|
98071
98142
|
var __Boolean2 = { checkboxOptions: "_checkbox" };
|
|
@@ -98087,6 +98158,7 @@ var __String2 = {
|
|
|
98087
98158
|
};
|
|
98088
98159
|
var _actionProviderSPIConfig2 = { actionConfig: "_actionSPIConfig" };
|
|
98089
98160
|
var _actionSPIConfig2 = { icon: "_commonImage" };
|
|
98161
|
+
var _address2 = { multilineAddressOptions: "_multilineAddress" };
|
|
98090
98162
|
var _adminConfigurableTextInput2 = {
|
|
98091
98163
|
requiredSettings: "google.protobuf.FieldMask",
|
|
98092
98164
|
adminConfigurableSettings: "google.protobuf.FieldMask"
|
|
@@ -98099,6 +98171,7 @@ var _api_Number = {
|
|
|
98099
98171
|
};
|
|
98100
98172
|
var _apiArrayItems = { data: "_dataItems", dataItem: "_dataItem" };
|
|
98101
98173
|
var _appEmbedData2 = { image: "_media" };
|
|
98174
|
+
var _appointment2 = { description: "_richContent" };
|
|
98102
98175
|
var _arrayItems2 = {
|
|
98103
98176
|
numberOptions: "_numberType",
|
|
98104
98177
|
objectOptions: "_objectType"
|
|
@@ -98107,12 +98180,17 @@ var _arrayType2 = { items: "_arrayItems" };
|
|
|
98107
98180
|
var _audioData2 = { audio: "_media", coverImage: "_media" };
|
|
98108
98181
|
var _authenticatorConfig2 = { expectedInputs: "_expectedInputs" };
|
|
98109
98182
|
var _background2 = { image: "_media" };
|
|
98183
|
+
var _breakPoint2 = { items: "_itemLayout" };
|
|
98110
98184
|
var _breakpointPresetStyleOverrides2 = {
|
|
98111
98185
|
default: "_presetStyleOverrides",
|
|
98112
98186
|
small: "_presetStyleOverrides"
|
|
98113
98187
|
};
|
|
98114
98188
|
var _checkbox2 = { label: "_richContent" };
|
|
98115
|
-
var _checkboxGroup2 = {
|
|
98189
|
+
var _checkboxGroup2 = {
|
|
98190
|
+
description: "_richContent",
|
|
98191
|
+
options: "_option",
|
|
98192
|
+
media: "_mediaItem"
|
|
98193
|
+
};
|
|
98116
98194
|
var _commonImage2 = {
|
|
98117
98195
|
urlExpirationDate: "google.protobuf.Timestamp",
|
|
98118
98196
|
focalPoint: "_focalPoint"
|
|
@@ -98142,11 +98220,15 @@ var _cssNumber2 = {
|
|
|
98142
98220
|
maximum: "google.protobuf.FloatValue",
|
|
98143
98221
|
multipleOf: "google.protobuf.FloatValue"
|
|
98144
98222
|
};
|
|
98145
|
-
var _dataItem2 = {
|
|
98223
|
+
var _dataItem2 = {
|
|
98224
|
+
number: "_api_Number",
|
|
98225
|
+
arrayItems: "_apiArrayItems",
|
|
98226
|
+
data: "_dataItems"
|
|
98227
|
+
};
|
|
98146
98228
|
var _dataItems2 = { items: "Map#_dataItem" };
|
|
98147
|
-
var _dateInput2 = { description: "_richContent" };
|
|
98148
|
-
var _datePicker2 = { description: "_richContent" };
|
|
98149
|
-
var _dateTimeInput2 = { description: "_richContent" };
|
|
98229
|
+
var _dateInput2 = { description: "_richContent", media: "_mediaItem" };
|
|
98230
|
+
var _datePicker2 = { description: "_richContent", media: "_mediaItem" };
|
|
98231
|
+
var _dateTimeInput2 = { description: "_richContent", media: "_mediaItem" };
|
|
98150
98232
|
var _description2 = { representativeImage: "_commonImage" };
|
|
98151
98233
|
var _design2 = { poll: "_pollDesign" };
|
|
98152
98234
|
var _devCenterTestingComponentData2 = {
|
|
@@ -98159,8 +98241,8 @@ var _devCenterTestingComponentData2 = {
|
|
|
98159
98241
|
};
|
|
98160
98242
|
var _discount = { saleInfo: "_saleInfo" };
|
|
98161
98243
|
var _displayField2 = { richContentOptions: "_richContentOptions" };
|
|
98162
|
-
var _donationInput2 = { description: "_richContent" };
|
|
98163
|
-
var _dropdown2 = { description: "_richContent" };
|
|
98244
|
+
var _donationInput2 = { description: "_richContent", media: "_mediaItem" };
|
|
98245
|
+
var _dropdown2 = { description: "_richContent", media: "_mediaItem" };
|
|
98164
98246
|
var _editorElement2 = {
|
|
98165
98247
|
style: "Map#_styleItem",
|
|
98166
98248
|
data: "Map#_dataItem",
|
|
@@ -98181,13 +98263,20 @@ var _expectedInputs2 = {
|
|
|
98181
98263
|
expectedVerifyInputs: "_predefinedExpectedInput"
|
|
98182
98264
|
};
|
|
98183
98265
|
var _field2 = { inputOptions: "_inputField", displayOptions: "_displayField" };
|
|
98184
|
-
var _fileUpload2 = { description: "_richContent" };
|
|
98266
|
+
var _fileUpload2 = { description: "_richContent", media: "_mediaItem" };
|
|
98267
|
+
var _fixedPayment2 = { description: "_richContent", media: "_mediaItem" };
|
|
98185
98268
|
var _focalPoint2 = { x: "DOUBLE", y: "DOUBLE" };
|
|
98269
|
+
var _formLayout2 = {
|
|
98270
|
+
large: "_breakPoint",
|
|
98271
|
+
medium: "_breakPoint",
|
|
98272
|
+
small: "_breakPoint"
|
|
98273
|
+
};
|
|
98186
98274
|
var _formTemplate2 = {
|
|
98187
98275
|
createdDate: "google.protobuf.Timestamp",
|
|
98188
98276
|
updatedDate: "google.protobuf.Timestamp",
|
|
98189
98277
|
fields: "_field",
|
|
98190
98278
|
deletedFields: "_field",
|
|
98279
|
+
steps: "_step",
|
|
98191
98280
|
rules: "_v2Rule",
|
|
98192
98281
|
submitSettings: "_submitSettings"
|
|
98193
98282
|
};
|
|
@@ -98198,6 +98287,7 @@ var _functionsShopPriceSpiConfig2 = {
|
|
|
98198
98287
|
};
|
|
98199
98288
|
var _galleryData2 = { items: "_item", options: "_galleryOptions" };
|
|
98200
98289
|
var _galleryOptions2 = { item: "_itemStyle" };
|
|
98290
|
+
var _group2 = { items: "_itemLayout" };
|
|
98201
98291
|
var _image2 = { urlExpirationDate: "google.protobuf.Timestamp" };
|
|
98202
98292
|
var _imageData2 = { image: "_media" };
|
|
98203
98293
|
var _inlineElement2 = {
|
|
@@ -98215,13 +98305,13 @@ var _inputField2 = {
|
|
|
98215
98305
|
objectOptions: "__Object",
|
|
98216
98306
|
wixFileOptions: "_wixFile",
|
|
98217
98307
|
paymentOptions: "_payment",
|
|
98218
|
-
multilineAddressOptions: "
|
|
98219
|
-
|
|
98220
|
-
|
|
98221
|
-
multilineAddressOptions: "_multilineAddress"
|
|
98308
|
+
multilineAddressOptions: "_address",
|
|
98309
|
+
schedulingOptions: "_scheduling",
|
|
98310
|
+
addressOptions: "_address"
|
|
98222
98311
|
};
|
|
98223
98312
|
var _item2 = { image: "_itemImage", video: "_video" };
|
|
98224
98313
|
var _itemImage2 = { media: "_media" };
|
|
98314
|
+
var _itemLayout2 = { group: "_group" };
|
|
98225
98315
|
var _itemStyle2 = { ratio: "google.protobuf.DoubleValue" };
|
|
98226
98316
|
var _managedApp = {
|
|
98227
98317
|
premiumInfo: "_premiumInfo",
|
|
@@ -98240,7 +98330,7 @@ var _mediaItem2 = { image: "_upstreamWixCommonImage" };
|
|
|
98240
98330
|
var _messageContainingTranslatables2 = {
|
|
98241
98331
|
innerTranslatableRichContent: "_richContent"
|
|
98242
98332
|
};
|
|
98243
|
-
var
|
|
98333
|
+
var _multilineAddress = { description: "_richContent" };
|
|
98244
98334
|
var _multilingualTranslationSchema2 = { referenceData: "_schema" };
|
|
98245
98335
|
var _node2 = {
|
|
98246
98336
|
galleryData: "_galleryData",
|
|
@@ -98254,7 +98344,8 @@ var _node2 = {
|
|
|
98254
98344
|
};
|
|
98255
98345
|
var _numberInput2 = {
|
|
98256
98346
|
default: "google.protobuf.DoubleValue",
|
|
98257
|
-
description: "_richContent"
|
|
98347
|
+
description: "_richContent",
|
|
98348
|
+
media: "_mediaItem"
|
|
98258
98349
|
};
|
|
98259
98350
|
var _numberType2 = {
|
|
98260
98351
|
maximum: "google.protobuf.DoubleValue",
|
|
@@ -98273,9 +98364,16 @@ var _packageDimension2 = {
|
|
|
98273
98364
|
var _packageType2 = { dimension: "_packageDimension", image: "_image" };
|
|
98274
98365
|
var _payment2 = {
|
|
98275
98366
|
checkboxGroupOptions: "_productCheckboxGroup",
|
|
98276
|
-
donationInputOptions: "_donationInput"
|
|
98367
|
+
donationInputOptions: "_donationInput",
|
|
98368
|
+
paymentInputOptions: "_paymentInput",
|
|
98369
|
+
fixedPaymentOptions: "_fixedPayment"
|
|
98370
|
+
};
|
|
98371
|
+
var _paymentInput2 = {
|
|
98372
|
+
default: "google.protobuf.DoubleValue",
|
|
98373
|
+
description: "_richContent",
|
|
98374
|
+
media: "_mediaItem"
|
|
98277
98375
|
};
|
|
98278
|
-
var _phoneInput2 = { description: "_richContent" };
|
|
98376
|
+
var _phoneInput2 = { description: "_richContent", media: "_mediaItem" };
|
|
98279
98377
|
var _pluginConfig2 = { startingEnforcementDate: "google.protobuf.Timestamp" };
|
|
98280
98378
|
var _poll2 = { image: "_media", options: "_pollOption" };
|
|
98281
98379
|
var _pollData2 = { poll: "_poll", design: "_design" };
|
|
@@ -98303,15 +98401,16 @@ var _presetStyleOverrides2 = { elements: "Map#_elementStyleOverrides" };
|
|
|
98303
98401
|
var _pricingDetails = { discount: "_discount" };
|
|
98304
98402
|
var _productCheckboxGroup2 = {
|
|
98305
98403
|
description: "_richContent",
|
|
98306
|
-
options: "_productCheckboxGroupOption"
|
|
98404
|
+
options: "_productCheckboxGroupOption",
|
|
98405
|
+
media: "_mediaItem"
|
|
98307
98406
|
};
|
|
98308
98407
|
var _productCheckboxGroupOption2 = { media: "_mediaItem" };
|
|
98309
98408
|
var _propertiesType2 = {
|
|
98310
98409
|
numberOptions: "_numberType",
|
|
98311
98410
|
arrayOptions: "_arrayType"
|
|
98312
98411
|
};
|
|
98313
|
-
var _radioGroup2 = { description: "_richContent" };
|
|
98314
|
-
var _ratingInput2 = { description: "_richContent" };
|
|
98412
|
+
var _radioGroup2 = { description: "_richContent", media: "_mediaItem" };
|
|
98413
|
+
var _ratingInput2 = { description: "_richContent", media: "_mediaItem" };
|
|
98315
98414
|
var _refElement2 = {
|
|
98316
98415
|
resolvedElement: "_inlineElement",
|
|
98317
98416
|
elementsDefaults: "Map#_refInnerElementDefaults",
|
|
@@ -98324,6 +98423,7 @@ var _saleInfo = {
|
|
|
98324
98423
|
startDate: "google.protobuf.Timestamp",
|
|
98325
98424
|
endDate: "google.protobuf.Timestamp"
|
|
98326
98425
|
};
|
|
98426
|
+
var _scheduling2 = { appointmentOptions: "_appointment" };
|
|
98327
98427
|
var _schema2 = {
|
|
98328
98428
|
createdDate: "google.protobuf.Timestamp",
|
|
98329
98429
|
updatedDate: "google.protobuf.Timestamp",
|
|
@@ -98335,16 +98435,23 @@ var _schemaGroup2 = {
|
|
|
98335
98435
|
};
|
|
98336
98436
|
var _shippingLabelCarrierSpiConfig2 = { packageTypes: "_packageType" };
|
|
98337
98437
|
var _shippingProviderConfig2 = { shippingPrice: "DOUBLE" };
|
|
98338
|
-
var _signature2 = { description: "_richContent" };
|
|
98438
|
+
var _signature2 = { description: "_richContent", media: "_mediaItem" };
|
|
98439
|
+
var _step2 = { layout: "_formLayout" };
|
|
98339
98440
|
var _studioWidgetComponentData2 = {
|
|
98340
98441
|
widgetDisplay: "_widgetDisplay",
|
|
98341
98442
|
editorPresence: "_editorPresence"
|
|
98342
98443
|
};
|
|
98343
98444
|
var _styleItem2 = { number: "_cssNumber" };
|
|
98344
98445
|
var _submitSettings2 = { thankYouMessageOptions: "_thankYouMessageOptions" };
|
|
98345
|
-
var
|
|
98446
|
+
var _tags2 = {
|
|
98447
|
+
description: "_richContent",
|
|
98448
|
+
options: "_tagsOption",
|
|
98449
|
+
media: "_mediaItem"
|
|
98450
|
+
};
|
|
98451
|
+
var _tagsOption2 = { media: "_mediaItem" };
|
|
98452
|
+
var _textInput2 = { description: "_richContent", media: "_mediaItem" };
|
|
98346
98453
|
var _thankYouMessageOptions2 = { richContent: "_richContent" };
|
|
98347
|
-
var _timeInput2 = { description: "_richContent" };
|
|
98454
|
+
var _timeInput2 = { description: "_richContent", media: "_mediaItem" };
|
|
98348
98455
|
var _upstreamWixCommonImage = {
|
|
98349
98456
|
urlExpirationDate: "google.protobuf.Timestamp"
|
|
98350
98457
|
};
|
|
@@ -98438,16 +98545,19 @@ function managedApps(payload5) {
|
|
|
98438
98545
|
__String: __String2,
|
|
98439
98546
|
_actionProviderSPIConfig: _actionProviderSPIConfig2,
|
|
98440
98547
|
_actionSPIConfig: _actionSPIConfig2,
|
|
98548
|
+
_address: _address2,
|
|
98441
98549
|
_adminConfigurableTextInput: _adminConfigurableTextInput2,
|
|
98442
98550
|
_andCondition: _andCondition2,
|
|
98443
98551
|
_apiArrayItems,
|
|
98444
98552
|
_api_Number,
|
|
98445
98553
|
_appEmbedData: _appEmbedData2,
|
|
98554
|
+
_appointment: _appointment2,
|
|
98446
98555
|
_arrayItems: _arrayItems2,
|
|
98447
98556
|
_arrayType: _arrayType2,
|
|
98448
98557
|
_audioData: _audioData2,
|
|
98449
98558
|
_authenticatorConfig: _authenticatorConfig2,
|
|
98450
98559
|
_background: _background2,
|
|
98560
|
+
_breakPoint: _breakPoint2,
|
|
98451
98561
|
_breakpointPresetStyleOverrides: _breakpointPresetStyleOverrides2,
|
|
98452
98562
|
_checkbox: _checkbox2,
|
|
98453
98563
|
_checkboxGroup: _checkboxGroup2,
|
|
@@ -98478,20 +98588,23 @@ function managedApps(payload5) {
|
|
|
98478
98588
|
_expectedInputs: _expectedInputs2,
|
|
98479
98589
|
_field: _field2,
|
|
98480
98590
|
_fileUpload: _fileUpload2,
|
|
98591
|
+
_fixedPayment: _fixedPayment2,
|
|
98481
98592
|
_focalPoint: _focalPoint2,
|
|
98593
|
+
_formLayout: _formLayout2,
|
|
98482
98594
|
_formTemplate: _formTemplate2,
|
|
98483
98595
|
_freeTrialData,
|
|
98484
98596
|
_function,
|
|
98485
98597
|
_functionsShopPriceSpiConfig: _functionsShopPriceSpiConfig2,
|
|
98486
98598
|
_galleryData: _galleryData2,
|
|
98487
98599
|
_galleryOptions: _galleryOptions2,
|
|
98600
|
+
_group: _group2,
|
|
98488
98601
|
_image: _image2,
|
|
98489
98602
|
_imageData: _imageData2,
|
|
98490
98603
|
_inlineElement: _inlineElement2,
|
|
98491
98604
|
_inputField: _inputField2,
|
|
98492
|
-
_inputFieldMultilineAddress,
|
|
98493
98605
|
_item: _item2,
|
|
98494
98606
|
_itemImage: _itemImage2,
|
|
98607
|
+
_itemLayout: _itemLayout2,
|
|
98495
98608
|
_itemStyle: _itemStyle2,
|
|
98496
98609
|
_managedApp,
|
|
98497
98610
|
_mapData: _mapData2,
|
|
@@ -98499,7 +98612,7 @@ function managedApps(payload5) {
|
|
|
98499
98612
|
_media: _media2,
|
|
98500
98613
|
_mediaItem: _mediaItem2,
|
|
98501
98614
|
_messageContainingTranslatables: _messageContainingTranslatables2,
|
|
98502
|
-
_multilineAddress
|
|
98615
|
+
_multilineAddress,
|
|
98503
98616
|
_multilingualTranslationSchema: _multilingualTranslationSchema2,
|
|
98504
98617
|
_node: _node2,
|
|
98505
98618
|
_numberInput: _numberInput2,
|
|
@@ -98510,6 +98623,7 @@ function managedApps(payload5) {
|
|
|
98510
98623
|
_packageDimension: _packageDimension2,
|
|
98511
98624
|
_packageType: _packageType2,
|
|
98512
98625
|
_payment: _payment2,
|
|
98626
|
+
_paymentInput: _paymentInput2,
|
|
98513
98627
|
_phoneInput: _phoneInput2,
|
|
98514
98628
|
_pluginConfig: _pluginConfig2,
|
|
98515
98629
|
_poll: _poll2,
|
|
@@ -98536,14 +98650,18 @@ function managedApps(payload5) {
|
|
|
98536
98650
|
_richContent: _richContent2,
|
|
98537
98651
|
_richContentOptions: _richContentOptions2,
|
|
98538
98652
|
_saleInfo,
|
|
98653
|
+
_scheduling: _scheduling2,
|
|
98539
98654
|
_schema: _schema2,
|
|
98540
98655
|
_schemaGroup: _schemaGroup2,
|
|
98541
98656
|
_shippingLabelCarrierSpiConfig: _shippingLabelCarrierSpiConfig2,
|
|
98542
98657
|
_shippingProviderConfig: _shippingProviderConfig2,
|
|
98543
98658
|
_signature: _signature2,
|
|
98659
|
+
_step: _step2,
|
|
98544
98660
|
_studioWidgetComponentData: _studioWidgetComponentData2,
|
|
98545
98661
|
_styleItem: _styleItem2,
|
|
98546
98662
|
_submitSettings: _submitSettings2,
|
|
98663
|
+
_tags: _tags2,
|
|
98664
|
+
_tagsOption: _tagsOption2,
|
|
98547
98665
|
_textInput: _textInput2,
|
|
98548
98666
|
_thankYouMessageOptions: _thankYouMessageOptions2,
|
|
98549
98667
|
_timeInput: _timeInput2,
|
|
@@ -98819,6 +98937,10 @@ var ComponentType;
|
|
|
98819
98937
|
ComponentType3["CONTACTS_SEGMENTS_V2_FILTER_PROVIDER"] = "CONTACTS_SEGMENTS_V2_FILTER_PROVIDER";
|
|
98820
98938
|
ComponentType3["ANALYTICS_PRODUCT_CATALOG"] = "ANALYTICS_PRODUCT_CATALOG";
|
|
98821
98939
|
ComponentType3["SITE_MIGRATION"] = "SITE_MIGRATION";
|
|
98940
|
+
ComponentType3["RESTAURANTS_POS_PROVIDER_SETTINGS_SERVICE_PLUGIN"] = "RESTAURANTS_POS_PROVIDER_SETTINGS_SERVICE_PLUGIN";
|
|
98941
|
+
ComponentType3["WIX_VIBE_CODING_INSTRUCTIONS"] = "WIX_VIBE_CODING_INSTRUCTIONS";
|
|
98942
|
+
ComponentType3["TAX_EXEMPT_GROUPS_PROVIDER"] = "TAX_EXEMPT_GROUPS_PROVIDER";
|
|
98943
|
+
ComponentType3["BOOKING_AUTOMATIONS_CONFIGURATION"] = "BOOKING_AUTOMATIONS_CONFIGURATION";
|
|
98822
98944
|
})(ComponentType || (ComponentType = {}));
|
|
98823
98945
|
var WidgetVertical;
|
|
98824
98946
|
(function(WidgetVertical3) {
|
|
@@ -98870,6 +98992,12 @@ var VerticalDocking;
|
|
|
98870
98992
|
VerticalDocking3["VCENTER"] = "VCENTER";
|
|
98871
98993
|
VerticalDocking3["BOTTOM_DOCKING"] = "BOTTOM_DOCKING";
|
|
98872
98994
|
})(VerticalDocking || (VerticalDocking = {}));
|
|
98995
|
+
var SiteMembersSsrCaching;
|
|
98996
|
+
(function(SiteMembersSsrCaching3) {
|
|
98997
|
+
SiteMembersSsrCaching3["UNKNOWN_SITE_MEMBERS_SSR_CACHING"] = "UNKNOWN_SITE_MEMBERS_SSR_CACHING";
|
|
98998
|
+
SiteMembersSsrCaching3["CACHING_ALLOWED"] = "CACHING_ALLOWED";
|
|
98999
|
+
SiteMembersSsrCaching3["CACHING_NOT_ALLOWED"] = "CACHING_NOT_ALLOWED";
|
|
99000
|
+
})(SiteMembersSsrCaching || (SiteMembersSsrCaching = {}));
|
|
98873
99001
|
var ReplacementType;
|
|
98874
99002
|
(function(ReplacementType3) {
|
|
98875
99003
|
ReplacementType3["UNKNOWN_REPLACEMENT"] = "UNKNOWN_REPLACEMENT";
|
|
@@ -99177,6 +99305,12 @@ var Status;
|
|
|
99177
99305
|
Status4["ACTIVE"] = "ACTIVE";
|
|
99178
99306
|
Status4["INACTIVE"] = "INACTIVE";
|
|
99179
99307
|
})(Status || (Status = {}));
|
|
99308
|
+
var LayoutMode;
|
|
99309
|
+
(function(LayoutMode3) {
|
|
99310
|
+
LayoutMode3["STANDARD_VIEW"] = "STANDARD_VIEW";
|
|
99311
|
+
LayoutMode3["BUILDER_VIEW"] = "BUILDER_VIEW";
|
|
99312
|
+
LayoutMode3["EXPANDED_VIEW"] = "EXPANDED_VIEW";
|
|
99313
|
+
})(LayoutMode || (LayoutMode = {}));
|
|
99180
99314
|
var TextInputDisplayType;
|
|
99181
99315
|
(function(TextInputDisplayType3) {
|
|
99182
99316
|
TextInputDisplayType3["TEXT"] = "TEXT";
|
|
@@ -99571,6 +99705,7 @@ var OAuthAppType;
|
|
|
99571
99705
|
OAuthAppType3["WEB_APP"] = "WEB_APP";
|
|
99572
99706
|
OAuthAppType3["MOBILE"] = "MOBILE";
|
|
99573
99707
|
OAuthAppType3["OTHER"] = "OTHER";
|
|
99708
|
+
OAuthAppType3["SYSTEM"] = "SYSTEM";
|
|
99574
99709
|
})(OAuthAppType || (OAuthAppType = {}));
|
|
99575
99710
|
var OAuthTechnologies;
|
|
99576
99711
|
(function(OAuthTechnologies3) {
|
|
@@ -99793,7 +99928,27 @@ var StringComponentType;
|
|
|
99793
99928
|
StringComponentType3["DATE_INPUT"] = "DATE_INPUT";
|
|
99794
99929
|
StringComponentType3["TIME_INPUT"] = "TIME_INPUT";
|
|
99795
99930
|
StringComponentType3["DATE_PICKER"] = "DATE_PICKER";
|
|
99931
|
+
StringComponentType3["SERVICES_DROPDOWN"] = "SERVICES_DROPDOWN";
|
|
99796
99932
|
})(StringComponentType || (StringComponentType = {}));
|
|
99933
|
+
var ImagePosition;
|
|
99934
|
+
(function(ImagePosition3) {
|
|
99935
|
+
ImagePosition3["UNKNOWN_IMAGE_POSITION"] = "UNKNOWN_IMAGE_POSITION";
|
|
99936
|
+
ImagePosition3["ABOVE"] = "ABOVE";
|
|
99937
|
+
ImagePosition3["BELOW"] = "BELOW";
|
|
99938
|
+
})(ImagePosition || (ImagePosition = {}));
|
|
99939
|
+
var AlignmentEnumAlignment;
|
|
99940
|
+
(function(AlignmentEnumAlignment3) {
|
|
99941
|
+
AlignmentEnumAlignment3["UNKNOWN_ALIGNMENT"] = "UNKNOWN_ALIGNMENT";
|
|
99942
|
+
AlignmentEnumAlignment3["LEFT"] = "LEFT";
|
|
99943
|
+
AlignmentEnumAlignment3["CENTER"] = "CENTER";
|
|
99944
|
+
AlignmentEnumAlignment3["RIGHT"] = "RIGHT";
|
|
99945
|
+
})(AlignmentEnumAlignment || (AlignmentEnumAlignment = {}));
|
|
99946
|
+
var ImageFit;
|
|
99947
|
+
(function(ImageFit3) {
|
|
99948
|
+
ImageFit3["UNKNOWN_IMAGE_FIT"] = "UNKNOWN_IMAGE_FIT";
|
|
99949
|
+
ImageFit3["COVER"] = "COVER";
|
|
99950
|
+
ImageFit3["CONTAIN"] = "CONTAIN";
|
|
99951
|
+
})(ImageFit || (ImageFit = {}));
|
|
99797
99952
|
var NumberOfColumns;
|
|
99798
99953
|
(function(NumberOfColumns3) {
|
|
99799
99954
|
NumberOfColumns3["UNKNOWN"] = "UNKNOWN";
|
|
@@ -99840,6 +99995,7 @@ var ArrayComponentType;
|
|
|
99840
99995
|
(function(ArrayComponentType3) {
|
|
99841
99996
|
ArrayComponentType3["UNKNOWN_COMPONENT_TYPE"] = "UNKNOWN_COMPONENT_TYPE";
|
|
99842
99997
|
ArrayComponentType3["CHECKBOX_GROUP"] = "CHECKBOX_GROUP";
|
|
99998
|
+
ArrayComponentType3["TAGS"] = "TAGS";
|
|
99843
99999
|
})(ArrayComponentType || (ArrayComponentType = {}));
|
|
99844
100000
|
var WixFileComponentType;
|
|
99845
100001
|
(function(WixFileComponentType3) {
|
|
@@ -99847,6 +100003,15 @@ var WixFileComponentType;
|
|
|
99847
100003
|
WixFileComponentType3["FILE_UPLOAD"] = "FILE_UPLOAD";
|
|
99848
100004
|
WixFileComponentType3["SIGNATURE"] = "SIGNATURE";
|
|
99849
100005
|
})(WixFileComponentType || (WixFileComponentType = {}));
|
|
100006
|
+
var UploadFileFormatEnumUploadFileFormat;
|
|
100007
|
+
(function(UploadFileFormatEnumUploadFileFormat3) {
|
|
100008
|
+
UploadFileFormatEnumUploadFileFormat3["UNKNOWN_UPLOAD_FILE_FORMAT"] = "UNKNOWN_UPLOAD_FILE_FORMAT";
|
|
100009
|
+
UploadFileFormatEnumUploadFileFormat3["VIDEO"] = "VIDEO";
|
|
100010
|
+
UploadFileFormatEnumUploadFileFormat3["IMAGE"] = "IMAGE";
|
|
100011
|
+
UploadFileFormatEnumUploadFileFormat3["AUDIO"] = "AUDIO";
|
|
100012
|
+
UploadFileFormatEnumUploadFileFormat3["DOCUMENT"] = "DOCUMENT";
|
|
100013
|
+
UploadFileFormatEnumUploadFileFormat3["ARCHIVE"] = "ARCHIVE";
|
|
100014
|
+
})(UploadFileFormatEnumUploadFileFormat || (UploadFileFormatEnumUploadFileFormat = {}));
|
|
99850
100015
|
var UploadFileFormat;
|
|
99851
100016
|
(function(UploadFileFormat3) {
|
|
99852
100017
|
UploadFileFormat3["UNDEFINED"] = "UNDEFINED";
|
|
@@ -99861,6 +100026,8 @@ var PaymentComponentType;
|
|
|
99861
100026
|
PaymentComponentType3["UNKNOWN_COMPONENT_TYPE"] = "UNKNOWN_COMPONENT_TYPE";
|
|
99862
100027
|
PaymentComponentType3["CHECKBOX_GROUP"] = "CHECKBOX_GROUP";
|
|
99863
100028
|
PaymentComponentType3["DONATION_INPUT"] = "DONATION_INPUT";
|
|
100029
|
+
PaymentComponentType3["PAYMENT_INPUT"] = "PAYMENT_INPUT";
|
|
100030
|
+
PaymentComponentType3["FIXED_PAYMENT"] = "FIXED_PAYMENT";
|
|
99864
100031
|
})(PaymentComponentType || (PaymentComponentType = {}));
|
|
99865
100032
|
var ProductType;
|
|
99866
100033
|
(function(ProductType3) {
|
|
@@ -99874,23 +100041,29 @@ var PriceType;
|
|
|
99874
100041
|
PriceType3["FIXED_PRICE"] = "FIXED_PRICE";
|
|
99875
100042
|
PriceType3["DYNAMIC_PRICE"] = "DYNAMIC_PRICE";
|
|
99876
100043
|
})(PriceType || (PriceType = {}));
|
|
99877
|
-
var
|
|
99878
|
-
(function(
|
|
99879
|
-
|
|
99880
|
-
|
|
99881
|
-
|
|
99882
|
-
})(ImageFit || (ImageFit = {}));
|
|
99883
|
-
var MultilineAddressComponentType;
|
|
99884
|
-
(function(MultilineAddressComponentType3) {
|
|
99885
|
-
MultilineAddressComponentType3["UNKNOWN_COMPONENT_TYPE"] = "UNKNOWN_COMPONENT_TYPE";
|
|
99886
|
-
MultilineAddressComponentType3["MULTILINE_ADDRESS"] = "MULTILINE_ADDRESS";
|
|
99887
|
-
})(MultilineAddressComponentType || (MultilineAddressComponentType = {}));
|
|
100044
|
+
var AddressComponentType;
|
|
100045
|
+
(function(AddressComponentType3) {
|
|
100046
|
+
AddressComponentType3["UNKNOWN_COMPONENT_TYPE"] = "UNKNOWN_COMPONENT_TYPE";
|
|
100047
|
+
AddressComponentType3["MULTILINE_ADDRESS"] = "MULTILINE_ADDRESS";
|
|
100048
|
+
})(AddressComponentType || (AddressComponentType = {}));
|
|
99888
100049
|
var DefaultCountryConfigType;
|
|
99889
100050
|
(function(DefaultCountryConfigType3) {
|
|
99890
100051
|
DefaultCountryConfigType3["UNKNOWN_DEFAULT_COUNTRY"] = "UNKNOWN_DEFAULT_COUNTRY";
|
|
99891
100052
|
DefaultCountryConfigType3["BY_IP"] = "BY_IP";
|
|
99892
100053
|
DefaultCountryConfigType3["COUNTRY"] = "COUNTRY";
|
|
99893
100054
|
})(DefaultCountryConfigType || (DefaultCountryConfigType = {}));
|
|
100055
|
+
var SchedulingComponentType;
|
|
100056
|
+
(function(SchedulingComponentType3) {
|
|
100057
|
+
SchedulingComponentType3["UNKNOWN_COMPONENT_TYPE"] = "UNKNOWN_COMPONENT_TYPE";
|
|
100058
|
+
SchedulingComponentType3["APPOINTMENT"] = "APPOINTMENT";
|
|
100059
|
+
})(SchedulingComponentType || (SchedulingComponentType = {}));
|
|
100060
|
+
var AppointmentFormat;
|
|
100061
|
+
(function(AppointmentFormat3) {
|
|
100062
|
+
AppointmentFormat3["UNKNOWN_FORMAT_TYPE"] = "UNKNOWN_FORMAT_TYPE";
|
|
100063
|
+
AppointmentFormat3["IN_PERSON"] = "IN_PERSON";
|
|
100064
|
+
AppointmentFormat3["VIDEO_CONFERENCE"] = "VIDEO_CONFERENCE";
|
|
100065
|
+
AppointmentFormat3["PHONE"] = "PHONE";
|
|
100066
|
+
})(AppointmentFormat || (AppointmentFormat = {}));
|
|
99894
100067
|
var InputType;
|
|
99895
100068
|
(function(InputType3) {
|
|
99896
100069
|
InputType3["UNKNOWN_INPUT_TYPE"] = "UNKNOWN_INPUT_TYPE";
|
|
@@ -99902,6 +100075,8 @@ var InputType;
|
|
|
99902
100075
|
InputType3["WIX_FILE"] = "WIX_FILE";
|
|
99903
100076
|
InputType3["PAYMENT"] = "PAYMENT";
|
|
99904
100077
|
InputType3["MULTILINE_ADDRESS"] = "MULTILINE_ADDRESS";
|
|
100078
|
+
InputType3["SCHEDULING"] = "SCHEDULING";
|
|
100079
|
+
InputType3["ADDRESS"] = "ADDRESS";
|
|
99905
100080
|
})(InputType || (InputType = {}));
|
|
99906
100081
|
var EmailInfoTag;
|
|
99907
100082
|
(function(EmailInfoTag3) {
|
|
@@ -100078,6 +100253,7 @@ var FactorType;
|
|
|
100078
100253
|
FactorType3["TOTP"] = "TOTP";
|
|
100079
100254
|
FactorType3["PUSH"] = "PUSH";
|
|
100080
100255
|
FactorType3["WEBAUTHN"] = "WEBAUTHN";
|
|
100256
|
+
FactorType3["RECOVERY_CODE"] = "RECOVERY_CODE";
|
|
100081
100257
|
})(FactorType || (FactorType = {}));
|
|
100082
100258
|
var MonitoringType;
|
|
100083
100259
|
(function(MonitoringType3) {
|
|
@@ -100504,6 +100680,7 @@ var DataType;
|
|
|
100504
100680
|
DataType3["arrayItems"] = "arrayItems";
|
|
100505
100681
|
DataType3["direction"] = "direction";
|
|
100506
100682
|
DataType3["menuItems"] = "menuItems";
|
|
100683
|
+
DataType3["data"] = "data";
|
|
100507
100684
|
})(DataType || (DataType = {}));
|
|
100508
100685
|
var A11yAttributes;
|
|
100509
100686
|
(function(A11yAttributes3) {
|
|
@@ -100693,6 +100870,7 @@ var Archetype;
|
|
|
100693
100870
|
Archetype3["AnimatedGraphic"] = "AnimatedGraphic";
|
|
100694
100871
|
Archetype3["Cart"] = "Cart";
|
|
100695
100872
|
Archetype3["ContactForm"] = "ContactForm";
|
|
100873
|
+
Archetype3["Frame"] = "Frame";
|
|
100696
100874
|
})(Archetype || (Archetype = {}));
|
|
100697
100875
|
var NativeStateType;
|
|
100698
100876
|
(function(NativeStateType3) {
|
|
@@ -100948,6 +101126,11 @@ var ValueConstraintType;
|
|
|
100948
101126
|
ValueConstraintType3["MIN_MAX_RANGE"] = "MIN_MAX_RANGE";
|
|
100949
101127
|
ValueConstraintType3["RANGE"] = "RANGE";
|
|
100950
101128
|
})(ValueConstraintType || (ValueConstraintType = {}));
|
|
101129
|
+
var RegionScopeScope;
|
|
101130
|
+
(function(RegionScopeScope3) {
|
|
101131
|
+
RegionScopeScope3["SPECIFIC_REGIONS"] = "SPECIFIC_REGIONS";
|
|
101132
|
+
RegionScopeScope3["WORLDWIDE"] = "WORLDWIDE";
|
|
101133
|
+
})(RegionScopeScope || (RegionScopeScope = {}));
|
|
100951
101134
|
var SaleType;
|
|
100952
101135
|
(function(SaleType2) {
|
|
100953
101136
|
SaleType2["UNKNOWN_SALE_TYPE"] = "UNKNOWN_SALE_TYPE";
|
|
@@ -101369,6 +101552,10 @@ var ComponentType2;
|
|
|
101369
101552
|
ComponentType3["CONTACTS_SEGMENTS_V2_FILTER_PROVIDER"] = "CONTACTS_SEGMENTS_V2_FILTER_PROVIDER";
|
|
101370
101553
|
ComponentType3["ANALYTICS_PRODUCT_CATALOG"] = "ANALYTICS_PRODUCT_CATALOG";
|
|
101371
101554
|
ComponentType3["SITE_MIGRATION"] = "SITE_MIGRATION";
|
|
101555
|
+
ComponentType3["RESTAURANTS_POS_PROVIDER_SETTINGS_SERVICE_PLUGIN"] = "RESTAURANTS_POS_PROVIDER_SETTINGS_SERVICE_PLUGIN";
|
|
101556
|
+
ComponentType3["WIX_VIBE_CODING_INSTRUCTIONS"] = "WIX_VIBE_CODING_INSTRUCTIONS";
|
|
101557
|
+
ComponentType3["TAX_EXEMPT_GROUPS_PROVIDER"] = "TAX_EXEMPT_GROUPS_PROVIDER";
|
|
101558
|
+
ComponentType3["BOOKING_AUTOMATIONS_CONFIGURATION"] = "BOOKING_AUTOMATIONS_CONFIGURATION";
|
|
101372
101559
|
})(ComponentType2 || (ComponentType2 = {}));
|
|
101373
101560
|
var WidgetVertical2;
|
|
101374
101561
|
(function(WidgetVertical3) {
|
|
@@ -101420,6 +101607,12 @@ var VerticalDocking2;
|
|
|
101420
101607
|
VerticalDocking3["VCENTER"] = "VCENTER";
|
|
101421
101608
|
VerticalDocking3["BOTTOM_DOCKING"] = "BOTTOM_DOCKING";
|
|
101422
101609
|
})(VerticalDocking2 || (VerticalDocking2 = {}));
|
|
101610
|
+
var SiteMembersSsrCaching2;
|
|
101611
|
+
(function(SiteMembersSsrCaching3) {
|
|
101612
|
+
SiteMembersSsrCaching3["UNKNOWN_SITE_MEMBERS_SSR_CACHING"] = "UNKNOWN_SITE_MEMBERS_SSR_CACHING";
|
|
101613
|
+
SiteMembersSsrCaching3["CACHING_ALLOWED"] = "CACHING_ALLOWED";
|
|
101614
|
+
SiteMembersSsrCaching3["CACHING_NOT_ALLOWED"] = "CACHING_NOT_ALLOWED";
|
|
101615
|
+
})(SiteMembersSsrCaching2 || (SiteMembersSsrCaching2 = {}));
|
|
101423
101616
|
var ReplacementType2;
|
|
101424
101617
|
(function(ReplacementType3) {
|
|
101425
101618
|
ReplacementType3["UNKNOWN_REPLACEMENT"] = "UNKNOWN_REPLACEMENT";
|
|
@@ -101727,6 +101920,12 @@ var Status2;
|
|
|
101727
101920
|
Status4["ACTIVE"] = "ACTIVE";
|
|
101728
101921
|
Status4["INACTIVE"] = "INACTIVE";
|
|
101729
101922
|
})(Status2 || (Status2 = {}));
|
|
101923
|
+
var LayoutMode2;
|
|
101924
|
+
(function(LayoutMode3) {
|
|
101925
|
+
LayoutMode3["STANDARD_VIEW"] = "STANDARD_VIEW";
|
|
101926
|
+
LayoutMode3["BUILDER_VIEW"] = "BUILDER_VIEW";
|
|
101927
|
+
LayoutMode3["EXPANDED_VIEW"] = "EXPANDED_VIEW";
|
|
101928
|
+
})(LayoutMode2 || (LayoutMode2 = {}));
|
|
101730
101929
|
var TextInputDisplayType2;
|
|
101731
101930
|
(function(TextInputDisplayType3) {
|
|
101732
101931
|
TextInputDisplayType3["TEXT"] = "TEXT";
|
|
@@ -102121,6 +102320,7 @@ var OAuthAppType2;
|
|
|
102121
102320
|
OAuthAppType3["WEB_APP"] = "WEB_APP";
|
|
102122
102321
|
OAuthAppType3["MOBILE"] = "MOBILE";
|
|
102123
102322
|
OAuthAppType3["OTHER"] = "OTHER";
|
|
102323
|
+
OAuthAppType3["SYSTEM"] = "SYSTEM";
|
|
102124
102324
|
})(OAuthAppType2 || (OAuthAppType2 = {}));
|
|
102125
102325
|
var OAuthTechnologies2;
|
|
102126
102326
|
(function(OAuthTechnologies3) {
|
|
@@ -102343,7 +102543,27 @@ var StringComponentType2;
|
|
|
102343
102543
|
StringComponentType3["DATE_INPUT"] = "DATE_INPUT";
|
|
102344
102544
|
StringComponentType3["TIME_INPUT"] = "TIME_INPUT";
|
|
102345
102545
|
StringComponentType3["DATE_PICKER"] = "DATE_PICKER";
|
|
102546
|
+
StringComponentType3["SERVICES_DROPDOWN"] = "SERVICES_DROPDOWN";
|
|
102346
102547
|
})(StringComponentType2 || (StringComponentType2 = {}));
|
|
102548
|
+
var ImagePosition2;
|
|
102549
|
+
(function(ImagePosition3) {
|
|
102550
|
+
ImagePosition3["UNKNOWN_IMAGE_POSITION"] = "UNKNOWN_IMAGE_POSITION";
|
|
102551
|
+
ImagePosition3["ABOVE"] = "ABOVE";
|
|
102552
|
+
ImagePosition3["BELOW"] = "BELOW";
|
|
102553
|
+
})(ImagePosition2 || (ImagePosition2 = {}));
|
|
102554
|
+
var AlignmentEnumAlignment2;
|
|
102555
|
+
(function(AlignmentEnumAlignment3) {
|
|
102556
|
+
AlignmentEnumAlignment3["UNKNOWN_ALIGNMENT"] = "UNKNOWN_ALIGNMENT";
|
|
102557
|
+
AlignmentEnumAlignment3["LEFT"] = "LEFT";
|
|
102558
|
+
AlignmentEnumAlignment3["CENTER"] = "CENTER";
|
|
102559
|
+
AlignmentEnumAlignment3["RIGHT"] = "RIGHT";
|
|
102560
|
+
})(AlignmentEnumAlignment2 || (AlignmentEnumAlignment2 = {}));
|
|
102561
|
+
var ImageFit2;
|
|
102562
|
+
(function(ImageFit3) {
|
|
102563
|
+
ImageFit3["UNKNOWN_IMAGE_FIT"] = "UNKNOWN_IMAGE_FIT";
|
|
102564
|
+
ImageFit3["COVER"] = "COVER";
|
|
102565
|
+
ImageFit3["CONTAIN"] = "CONTAIN";
|
|
102566
|
+
})(ImageFit2 || (ImageFit2 = {}));
|
|
102347
102567
|
var NumberOfColumns2;
|
|
102348
102568
|
(function(NumberOfColumns3) {
|
|
102349
102569
|
NumberOfColumns3["UNKNOWN"] = "UNKNOWN";
|
|
@@ -102390,6 +102610,7 @@ var ArrayComponentType2;
|
|
|
102390
102610
|
(function(ArrayComponentType3) {
|
|
102391
102611
|
ArrayComponentType3["UNKNOWN_COMPONENT_TYPE"] = "UNKNOWN_COMPONENT_TYPE";
|
|
102392
102612
|
ArrayComponentType3["CHECKBOX_GROUP"] = "CHECKBOX_GROUP";
|
|
102613
|
+
ArrayComponentType3["TAGS"] = "TAGS";
|
|
102393
102614
|
})(ArrayComponentType2 || (ArrayComponentType2 = {}));
|
|
102394
102615
|
var WixFileComponentType2;
|
|
102395
102616
|
(function(WixFileComponentType3) {
|
|
@@ -102397,6 +102618,15 @@ var WixFileComponentType2;
|
|
|
102397
102618
|
WixFileComponentType3["FILE_UPLOAD"] = "FILE_UPLOAD";
|
|
102398
102619
|
WixFileComponentType3["SIGNATURE"] = "SIGNATURE";
|
|
102399
102620
|
})(WixFileComponentType2 || (WixFileComponentType2 = {}));
|
|
102621
|
+
var UploadFileFormatEnumUploadFileFormat2;
|
|
102622
|
+
(function(UploadFileFormatEnumUploadFileFormat3) {
|
|
102623
|
+
UploadFileFormatEnumUploadFileFormat3["UNKNOWN_UPLOAD_FILE_FORMAT"] = "UNKNOWN_UPLOAD_FILE_FORMAT";
|
|
102624
|
+
UploadFileFormatEnumUploadFileFormat3["VIDEO"] = "VIDEO";
|
|
102625
|
+
UploadFileFormatEnumUploadFileFormat3["IMAGE"] = "IMAGE";
|
|
102626
|
+
UploadFileFormatEnumUploadFileFormat3["AUDIO"] = "AUDIO";
|
|
102627
|
+
UploadFileFormatEnumUploadFileFormat3["DOCUMENT"] = "DOCUMENT";
|
|
102628
|
+
UploadFileFormatEnumUploadFileFormat3["ARCHIVE"] = "ARCHIVE";
|
|
102629
|
+
})(UploadFileFormatEnumUploadFileFormat2 || (UploadFileFormatEnumUploadFileFormat2 = {}));
|
|
102400
102630
|
var UploadFileFormat2;
|
|
102401
102631
|
(function(UploadFileFormat3) {
|
|
102402
102632
|
UploadFileFormat3["UNDEFINED"] = "UNDEFINED";
|
|
@@ -102411,6 +102641,8 @@ var PaymentComponentType2;
|
|
|
102411
102641
|
PaymentComponentType3["UNKNOWN_COMPONENT_TYPE"] = "UNKNOWN_COMPONENT_TYPE";
|
|
102412
102642
|
PaymentComponentType3["CHECKBOX_GROUP"] = "CHECKBOX_GROUP";
|
|
102413
102643
|
PaymentComponentType3["DONATION_INPUT"] = "DONATION_INPUT";
|
|
102644
|
+
PaymentComponentType3["PAYMENT_INPUT"] = "PAYMENT_INPUT";
|
|
102645
|
+
PaymentComponentType3["FIXED_PAYMENT"] = "FIXED_PAYMENT";
|
|
102414
102646
|
})(PaymentComponentType2 || (PaymentComponentType2 = {}));
|
|
102415
102647
|
var ProductType2;
|
|
102416
102648
|
(function(ProductType3) {
|
|
@@ -102424,23 +102656,29 @@ var PriceType2;
|
|
|
102424
102656
|
PriceType3["FIXED_PRICE"] = "FIXED_PRICE";
|
|
102425
102657
|
PriceType3["DYNAMIC_PRICE"] = "DYNAMIC_PRICE";
|
|
102426
102658
|
})(PriceType2 || (PriceType2 = {}));
|
|
102427
|
-
var
|
|
102428
|
-
(function(
|
|
102429
|
-
|
|
102430
|
-
|
|
102431
|
-
|
|
102432
|
-
})(ImageFit2 || (ImageFit2 = {}));
|
|
102433
|
-
var MultilineAddressComponentType2;
|
|
102434
|
-
(function(MultilineAddressComponentType3) {
|
|
102435
|
-
MultilineAddressComponentType3["UNKNOWN_COMPONENT_TYPE"] = "UNKNOWN_COMPONENT_TYPE";
|
|
102436
|
-
MultilineAddressComponentType3["MULTILINE_ADDRESS"] = "MULTILINE_ADDRESS";
|
|
102437
|
-
})(MultilineAddressComponentType2 || (MultilineAddressComponentType2 = {}));
|
|
102659
|
+
var AddressComponentType2;
|
|
102660
|
+
(function(AddressComponentType3) {
|
|
102661
|
+
AddressComponentType3["UNKNOWN_COMPONENT_TYPE"] = "UNKNOWN_COMPONENT_TYPE";
|
|
102662
|
+
AddressComponentType3["MULTILINE_ADDRESS"] = "MULTILINE_ADDRESS";
|
|
102663
|
+
})(AddressComponentType2 || (AddressComponentType2 = {}));
|
|
102438
102664
|
var DefaultCountryConfigType2;
|
|
102439
102665
|
(function(DefaultCountryConfigType3) {
|
|
102440
102666
|
DefaultCountryConfigType3["UNKNOWN_DEFAULT_COUNTRY"] = "UNKNOWN_DEFAULT_COUNTRY";
|
|
102441
102667
|
DefaultCountryConfigType3["BY_IP"] = "BY_IP";
|
|
102442
102668
|
DefaultCountryConfigType3["COUNTRY"] = "COUNTRY";
|
|
102443
102669
|
})(DefaultCountryConfigType2 || (DefaultCountryConfigType2 = {}));
|
|
102670
|
+
var SchedulingComponentType2;
|
|
102671
|
+
(function(SchedulingComponentType3) {
|
|
102672
|
+
SchedulingComponentType3["UNKNOWN_COMPONENT_TYPE"] = "UNKNOWN_COMPONENT_TYPE";
|
|
102673
|
+
SchedulingComponentType3["APPOINTMENT"] = "APPOINTMENT";
|
|
102674
|
+
})(SchedulingComponentType2 || (SchedulingComponentType2 = {}));
|
|
102675
|
+
var AppointmentFormat2;
|
|
102676
|
+
(function(AppointmentFormat3) {
|
|
102677
|
+
AppointmentFormat3["UNKNOWN_FORMAT_TYPE"] = "UNKNOWN_FORMAT_TYPE";
|
|
102678
|
+
AppointmentFormat3["IN_PERSON"] = "IN_PERSON";
|
|
102679
|
+
AppointmentFormat3["VIDEO_CONFERENCE"] = "VIDEO_CONFERENCE";
|
|
102680
|
+
AppointmentFormat3["PHONE"] = "PHONE";
|
|
102681
|
+
})(AppointmentFormat2 || (AppointmentFormat2 = {}));
|
|
102444
102682
|
var InputType2;
|
|
102445
102683
|
(function(InputType3) {
|
|
102446
102684
|
InputType3["UNKNOWN_INPUT_TYPE"] = "UNKNOWN_INPUT_TYPE";
|
|
@@ -102452,6 +102690,8 @@ var InputType2;
|
|
|
102452
102690
|
InputType3["WIX_FILE"] = "WIX_FILE";
|
|
102453
102691
|
InputType3["PAYMENT"] = "PAYMENT";
|
|
102454
102692
|
InputType3["MULTILINE_ADDRESS"] = "MULTILINE_ADDRESS";
|
|
102693
|
+
InputType3["SCHEDULING"] = "SCHEDULING";
|
|
102694
|
+
InputType3["ADDRESS"] = "ADDRESS";
|
|
102455
102695
|
})(InputType2 || (InputType2 = {}));
|
|
102456
102696
|
var EmailInfoTag2;
|
|
102457
102697
|
(function(EmailInfoTag3) {
|
|
@@ -102628,6 +102868,7 @@ var FactorType2;
|
|
|
102628
102868
|
FactorType3["TOTP"] = "TOTP";
|
|
102629
102869
|
FactorType3["PUSH"] = "PUSH";
|
|
102630
102870
|
FactorType3["WEBAUTHN"] = "WEBAUTHN";
|
|
102871
|
+
FactorType3["RECOVERY_CODE"] = "RECOVERY_CODE";
|
|
102631
102872
|
})(FactorType2 || (FactorType2 = {}));
|
|
102632
102873
|
var MonitoringType2;
|
|
102633
102874
|
(function(MonitoringType3) {
|
|
@@ -103054,6 +103295,7 @@ var DataType2;
|
|
|
103054
103295
|
DataType3["arrayItems"] = "arrayItems";
|
|
103055
103296
|
DataType3["direction"] = "direction";
|
|
103056
103297
|
DataType3["menuItems"] = "menuItems";
|
|
103298
|
+
DataType3["data"] = "data";
|
|
103057
103299
|
})(DataType2 || (DataType2 = {}));
|
|
103058
103300
|
var A11yAttributes2;
|
|
103059
103301
|
(function(A11yAttributes3) {
|
|
@@ -103243,6 +103485,7 @@ var Archetype2;
|
|
|
103243
103485
|
Archetype3["AnimatedGraphic"] = "AnimatedGraphic";
|
|
103244
103486
|
Archetype3["Cart"] = "Cart";
|
|
103245
103487
|
Archetype3["ContactForm"] = "ContactForm";
|
|
103488
|
+
Archetype3["Frame"] = "Frame";
|
|
103246
103489
|
})(Archetype2 || (Archetype2 = {}));
|
|
103247
103490
|
var NativeStateType2;
|
|
103248
103491
|
(function(NativeStateType3) {
|
|
@@ -103498,6 +103741,11 @@ var ValueConstraintType2;
|
|
|
103498
103741
|
ValueConstraintType3["MIN_MAX_RANGE"] = "MIN_MAX_RANGE";
|
|
103499
103742
|
ValueConstraintType3["RANGE"] = "RANGE";
|
|
103500
103743
|
})(ValueConstraintType2 || (ValueConstraintType2 = {}));
|
|
103744
|
+
var RegionScopeScope2;
|
|
103745
|
+
(function(RegionScopeScope3) {
|
|
103746
|
+
RegionScopeScope3["SPECIFIC_REGIONS"] = "SPECIFIC_REGIONS";
|
|
103747
|
+
RegionScopeScope3["WORLDWIDE"] = "WORLDWIDE";
|
|
103748
|
+
})(RegionScopeScope2 || (RegionScopeScope2 = {}));
|
|
103501
103749
|
var OpenConsentIn2;
|
|
103502
103750
|
(function(OpenConsentIn3) {
|
|
103503
103751
|
OpenConsentIn3["NONE_VALUE"] = "NONE_VALUE";
|
|
@@ -104178,10 +104426,10 @@ var DevCenterClient = class {
|
|
|
104178
104426
|
|
|
104179
104427
|
// ../dev-center-client/src/useDevCenterClient.ts
|
|
104180
104428
|
init_esm_shims();
|
|
104181
|
-
var
|
|
104429
|
+
var import_react99 = __toESM(require_react(), 1);
|
|
104182
104430
|
function useDevCenterClient() {
|
|
104183
104431
|
const httpClient = useHttpClient({ type: "backoffice" });
|
|
104184
|
-
return (0,
|
|
104432
|
+
return (0, import_react99.useMemo)(() => new DevCenterClient(httpClient), [httpClient]);
|
|
104185
104433
|
}
|
|
104186
104434
|
|
|
104187
104435
|
// ../metasite-manager-client/src/index.ts
|
|
@@ -104189,7 +104437,7 @@ init_esm_shims();
|
|
|
104189
104437
|
|
|
104190
104438
|
// ../metasite-manager-client/src/useMetasiteManagerClient.ts
|
|
104191
104439
|
init_esm_shims();
|
|
104192
|
-
var
|
|
104440
|
+
var import_react100 = __toESM(require_react(), 1);
|
|
104193
104441
|
|
|
104194
104442
|
// ../metasite-manager-client/src/metasite-manager-client.ts
|
|
104195
104443
|
init_esm_shims();
|
|
@@ -104356,7 +104604,7 @@ var MetasiteManagerClient = class {
|
|
|
104356
104604
|
// ../metasite-manager-client/src/useMetasiteManagerClient.ts
|
|
104357
104605
|
function useMetasiteManagerClient() {
|
|
104358
104606
|
const httpClient = useHttpClient({ type: "general" });
|
|
104359
|
-
return (0,
|
|
104607
|
+
return (0, import_react100.useMemo)(() => new MetasiteManagerClient(httpClient), [httpClient]);
|
|
104360
104608
|
}
|
|
104361
104609
|
|
|
104362
104610
|
// ../backend-as-a-service-client/src/index.ts
|
|
@@ -104364,7 +104612,7 @@ init_esm_shims();
|
|
|
104364
104612
|
|
|
104365
104613
|
// ../backend-as-a-service-client/src/useBackendAsAServiceClient.ts
|
|
104366
104614
|
init_esm_shims();
|
|
104367
|
-
var
|
|
104615
|
+
var import_react101 = __toESM(require_react(), 1);
|
|
104368
104616
|
|
|
104369
104617
|
// ../backend-as-a-service-client/src/backend-as-a-service-client.ts
|
|
104370
104618
|
init_esm_shims();
|
|
@@ -104821,7 +105069,7 @@ var BackendAsAServiceClient = class {
|
|
|
104821
105069
|
// ../backend-as-a-service-client/src/useBackendAsAServiceClient.ts
|
|
104822
105070
|
function useBackendAsAServiceClient() {
|
|
104823
105071
|
const httpClient = useHttpClient({ type: "backoffice" });
|
|
104824
|
-
return (0,
|
|
105072
|
+
return (0, import_react101.useMemo)(() => new BackendAsAServiceClient(httpClient), [httpClient]);
|
|
104825
105073
|
}
|
|
104826
105074
|
|
|
104827
105075
|
// src/hooks/create-project.ts
|
|
@@ -104886,17 +105134,17 @@ var useCreateProject = (businessId) => {
|
|
|
104886
105134
|
// src/components/CreateProject.tsx
|
|
104887
105135
|
var CreateProject = ({ onSubmit, projectName: providedProjectName, businessId }) => {
|
|
104888
105136
|
const { status, execute } = useCreateProject(businessId);
|
|
104889
|
-
(0,
|
|
105137
|
+
(0, import_react102.useEffect)(() => {
|
|
104890
105138
|
if ((0, import_variant31.isType)(status, "Success")) {
|
|
104891
105139
|
onSubmit(status.result);
|
|
104892
105140
|
}
|
|
104893
105141
|
}, [status, onSubmit]);
|
|
104894
|
-
(0,
|
|
105142
|
+
(0, import_react102.useEffect)(() => {
|
|
104895
105143
|
if (providedProjectName) {
|
|
104896
105144
|
void execute({ projectName: providedProjectName });
|
|
104897
105145
|
}
|
|
104898
105146
|
}, [providedProjectName, execute]);
|
|
104899
|
-
const validate3 = (0,
|
|
105147
|
+
const validate3 = (0, import_react102.useCallback)(async (projectName) => {
|
|
104900
105148
|
try {
|
|
104901
105149
|
validateProjectName(projectName);
|
|
104902
105150
|
return true;
|
|
@@ -104904,7 +105152,7 @@ var CreateProject = ({ onSubmit, projectName: providedProjectName, businessId })
|
|
|
104904
105152
|
return e2.message;
|
|
104905
105153
|
}
|
|
104906
105154
|
}, []);
|
|
104907
|
-
return /* @__PURE__ */
|
|
105155
|
+
return /* @__PURE__ */ import_react102.default.createElement(import_react102.default.Fragment, null, !providedProjectName && /* @__PURE__ */ import_react102.default.createElement(
|
|
104908
105156
|
TextInput2,
|
|
104909
105157
|
{
|
|
104910
105158
|
label: "What's the name of your Custom Frontend project?",
|
|
@@ -104914,15 +105162,15 @@ var CreateProject = ({ onSubmit, projectName: providedProjectName, businessId })
|
|
|
104914
105162
|
}
|
|
104915
105163
|
), (0, import_variant31.match)(status, {
|
|
104916
105164
|
Error: () => null,
|
|
104917
|
-
Loading: () => /* @__PURE__ */
|
|
104918
|
-
Success: () => /* @__PURE__ */
|
|
105165
|
+
Loading: () => /* @__PURE__ */ import_react102.default.createElement(Box_default, { marginBottom: 1 }, /* @__PURE__ */ import_react102.default.createElement(Spinner2, { text: "Creating your project..." })),
|
|
105166
|
+
Success: () => /* @__PURE__ */ import_react102.default.createElement(Box_default, { marginLeft: -2, marginBottom: 1 }, /* @__PURE__ */ import_react102.default.createElement(Alert, { type: "success" }, /* @__PURE__ */ import_react102.default.createElement(Badge, { skin: "success" }, "Success"), " ", /* @__PURE__ */ import_react102.default.createElement(Text2, null, "Project created successfully"))),
|
|
104919
105167
|
NotRequested: () => null
|
|
104920
105168
|
}));
|
|
104921
105169
|
};
|
|
104922
105170
|
|
|
104923
105171
|
// src/components/LinkCommand/GenerateProject.tsx
|
|
104924
105172
|
init_esm_shims();
|
|
104925
|
-
var
|
|
105173
|
+
var import_react105 = __toESM(require_react(), 1);
|
|
104926
105174
|
var import_variant34 = __toESM(require_lib(), 1);
|
|
104927
105175
|
|
|
104928
105176
|
// ../cli-astro-definitions/src/index.ts
|
|
@@ -114355,7 +114603,7 @@ async function getUniqueExtensionPath(projectFolder, extensionPath, suffix) {
|
|
|
114355
114603
|
|
|
114356
114604
|
// src/task-runner.ts
|
|
114357
114605
|
init_esm_shims();
|
|
114358
|
-
var
|
|
114606
|
+
var import_react103 = __toESM(require_react(), 1);
|
|
114359
114607
|
var import_variant33 = __toESM(require_lib(), 1);
|
|
114360
114608
|
var TaskRunnerStatus = (0, import_variant33.variant)({
|
|
114361
114609
|
Idle: {},
|
|
@@ -114381,7 +114629,7 @@ var TaskRunnerStatus = (0, import_variant33.variant)({
|
|
|
114381
114629
|
}
|
|
114382
114630
|
});
|
|
114383
114631
|
function useTaskRunner() {
|
|
114384
|
-
const [status, setStatus] = (0,
|
|
114632
|
+
const [status, setStatus] = (0, import_react103.useState)(
|
|
114385
114633
|
TaskRunnerStatus.Idle()
|
|
114386
114634
|
);
|
|
114387
114635
|
const { execute } = useAsyncCallback3(async (_2, tasks) => {
|
|
@@ -114401,25 +114649,25 @@ function useTaskRunner() {
|
|
|
114401
114649
|
|
|
114402
114650
|
// src/components/TaskList.tsx
|
|
114403
114651
|
init_esm_shims();
|
|
114404
|
-
var
|
|
114652
|
+
var import_react104 = __toESM(require_react(), 1);
|
|
114405
114653
|
var TaskList = ({ tasks, totalTaskCount }) => {
|
|
114406
|
-
return /* @__PURE__ */
|
|
114654
|
+
return /* @__PURE__ */ import_react104.default.createElement(import_react104.default.Fragment, null, tasks.map((task, index) => {
|
|
114407
114655
|
const stepper = `[${index + 1}/${totalTaskCount}]`;
|
|
114408
114656
|
const fullText = `${stepper} ${task.text}`;
|
|
114409
114657
|
if (task.status === "running") {
|
|
114410
|
-
return /* @__PURE__ */
|
|
114658
|
+
return /* @__PURE__ */ import_react104.default.createElement(Spinner2, { key: index, text: fullText });
|
|
114411
114659
|
}
|
|
114412
|
-
return /* @__PURE__ */
|
|
114660
|
+
return /* @__PURE__ */ import_react104.default.createElement(Alert, { key: index, type: "success" }, fullText);
|
|
114413
114661
|
}));
|
|
114414
114662
|
};
|
|
114415
114663
|
|
|
114416
114664
|
// src/components/LinkCommand/GenerateProject.tsx
|
|
114417
114665
|
var GenerationProgress = ({ tasks, totalTaskCount }) => {
|
|
114418
|
-
return /* @__PURE__ */
|
|
114666
|
+
return /* @__PURE__ */ import_react105.default.createElement(import_react105.default.Fragment, null, /* @__PURE__ */ import_react105.default.createElement(Box_default, { marginBottom: 1 }, /* @__PURE__ */ import_react105.default.createElement(Text2, null, "Generating your headless site...")), /* @__PURE__ */ import_react105.default.createElement(TaskList, { tasks, totalTaskCount }));
|
|
114419
114667
|
};
|
|
114420
114668
|
var GenerateProject = ({ projectFolder, businessId, projectData, onDone, packageManager }) => {
|
|
114421
114669
|
const { execute: executeTaskRunner, status: taskRunnerStatus } = useTaskRunner();
|
|
114422
|
-
const generateProject = (0,
|
|
114670
|
+
const generateProject = (0, import_react105.useCallback)(async () => {
|
|
114423
114671
|
const wixConfigFilePath = getWixConfigFilePath(projectFolder);
|
|
114424
114672
|
const envFilePath = getEnvFilePath(projectFolder);
|
|
114425
114673
|
await writeJson(
|
|
@@ -114432,10 +114680,10 @@ var GenerateProject = ({ projectFolder, businessId, projectData, onDone, package
|
|
|
114432
114680
|
);
|
|
114433
114681
|
await updateEnvFile(envFilePath, projectData.environmentVariables);
|
|
114434
114682
|
}, [businessId, projectFolder, projectData]);
|
|
114435
|
-
const extendProject = (0,
|
|
114683
|
+
const extendProject = (0, import_react105.useCallback)(async () => {
|
|
114436
114684
|
await extend2(projectFolder);
|
|
114437
114685
|
}, [projectFolder]);
|
|
114438
|
-
const installDependencies = (0,
|
|
114686
|
+
const installDependencies = (0, import_react105.useCallback)(async () => {
|
|
114439
114687
|
try {
|
|
114440
114688
|
await packageManager.runInstall(projectFolder);
|
|
114441
114689
|
} catch (e2) {
|
|
@@ -114445,7 +114693,7 @@ var GenerateProject = ({ projectFolder, businessId, projectData, onDone, package
|
|
|
114445
114693
|
});
|
|
114446
114694
|
}
|
|
114447
114695
|
}, [projectFolder, packageManager]);
|
|
114448
|
-
const tasks = (0,
|
|
114696
|
+
const tasks = (0, import_react105.useMemo)(() => {
|
|
114449
114697
|
const result = [
|
|
114450
114698
|
{
|
|
114451
114699
|
action: generateProject,
|
|
@@ -114471,16 +114719,16 @@ var GenerateProject = ({ projectFolder, businessId, projectData, onDone, package
|
|
|
114471
114719
|
}, []);
|
|
114472
114720
|
return (0, import_variant34.match)(taskRunnerStatus, {
|
|
114473
114721
|
Idle: () => null,
|
|
114474
|
-
Running: (status) => /* @__PURE__ */
|
|
114475
|
-
Done: (status) => /* @__PURE__ */
|
|
114722
|
+
Running: (status) => /* @__PURE__ */ import_react105.default.createElement(GenerationProgress, { ...status }),
|
|
114723
|
+
Done: (status) => /* @__PURE__ */ import_react105.default.createElement(Box_default, { flexDirection: "column", marginBottom: 1 }, /* @__PURE__ */ import_react105.default.createElement(GenerationProgress, { ...status }), /* @__PURE__ */ import_react105.default.createElement(Box_default, { marginLeft: -2, marginTop: 1 }, /* @__PURE__ */ import_react105.default.createElement(Alert, { type: "success" }, /* @__PURE__ */ import_react105.default.createElement(Badge, { skin: "success" }, "Success"), " ", /* @__PURE__ */ import_react105.default.createElement(Text2, null, "Project set up successfully"))))
|
|
114476
114724
|
});
|
|
114477
114725
|
};
|
|
114478
114726
|
|
|
114479
114727
|
// src/components/LinkCommand/FinishedSuccessfullyMessage.tsx
|
|
114480
114728
|
init_esm_shims();
|
|
114481
|
-
var
|
|
114729
|
+
var import_react106 = __toESM(require_react(), 1);
|
|
114482
114730
|
var FinishedSuccessfullyMessage = ({ packageManager }) => {
|
|
114483
|
-
return /* @__PURE__ */
|
|
114731
|
+
return /* @__PURE__ */ import_react106.default.createElement(
|
|
114484
114732
|
Box_default,
|
|
114485
114733
|
{
|
|
114486
114734
|
borderColor: "blue",
|
|
@@ -114492,8 +114740,8 @@ var FinishedSuccessfullyMessage = ({ packageManager }) => {
|
|
|
114492
114740
|
marginLeft: -2,
|
|
114493
114741
|
marginTop: 1
|
|
114494
114742
|
},
|
|
114495
|
-
/* @__PURE__ */
|
|
114496
|
-
/* @__PURE__ */
|
|
114743
|
+
/* @__PURE__ */ import_react106.default.createElement(Text2, { bold: true }, "Next Steps:"),
|
|
114744
|
+
/* @__PURE__ */ import_react106.default.createElement(UnorderedList, { gap: 1 }, /* @__PURE__ */ import_react106.default.createElement(UnorderedList.Item, { marker: "\u{1F45F}" }, /* @__PURE__ */ import_react106.default.createElement(Text2, null, "Start developing"), /* @__PURE__ */ import_react106.default.createElement(Text2, { skin: "info" }, `${packageManager.getRunCmd()} dev`)), /* @__PURE__ */ import_react106.default.createElement(UnorderedList.Item, { marker: /* @__PURE__ */ import_react106.default.createElement(Learn, null) }, /* @__PURE__ */ import_react106.default.createElement(Text2, null, "For guides and API references visit our"), /* @__PURE__ */ import_react106.default.createElement(Link, { skin: "info", url: "https://dev.wix.com/docs/go-headless" }, "documentation")), /* @__PURE__ */ import_react106.default.createElement(UnorderedList.Item, { marker: "\u{1F4AC}" }, /* @__PURE__ */ import_react106.default.createElement(Text2, null, "Join our"), /* @__PURE__ */ import_react106.default.createElement(Link, { skin: "info", url: "https://discord.gg/wixstudio" }, "Discord community")))
|
|
114497
114745
|
);
|
|
114498
114746
|
};
|
|
114499
114747
|
|
|
@@ -114514,10 +114762,10 @@ var LinkCommand = ({
|
|
|
114514
114762
|
projectName: preEnteredProjectName,
|
|
114515
114763
|
businessName: preEnteredBusinessName
|
|
114516
114764
|
}) => {
|
|
114517
|
-
const [businessName, setBusinessName] = (0,
|
|
114518
|
-
const [businessId, setBusinessId] = (0,
|
|
114519
|
-
const [projectData, setProjectData] = (0,
|
|
114520
|
-
const [isDone, setIsDone] = (0,
|
|
114765
|
+
const [businessName, setBusinessName] = (0, import_react107.useState)(preEnteredBusinessName);
|
|
114766
|
+
const [businessId, setBusinessId] = (0, import_react107.useState)();
|
|
114767
|
+
const [projectData, setProjectData] = (0, import_react107.useState)();
|
|
114768
|
+
const [isDone, setIsDone] = (0, import_react107.useState)(false);
|
|
114521
114769
|
const { status } = useAsync2(async () => {
|
|
114522
114770
|
const alreadyLinked = await isWixConfigExists(projectFolder);
|
|
114523
114771
|
if (alreadyLinked) {
|
|
@@ -114539,9 +114787,9 @@ var LinkCommand = ({
|
|
|
114539
114787
|
}, []);
|
|
114540
114788
|
return (0, import_variant35.match)(status, {
|
|
114541
114789
|
Error: () => null,
|
|
114542
|
-
Loading: () => /* @__PURE__ */
|
|
114790
|
+
Loading: () => /* @__PURE__ */ import_react107.default.createElement(Spinner2, { text: "Loading..." }),
|
|
114543
114791
|
Success: ({ result: { packageManager } }) => {
|
|
114544
|
-
return /* @__PURE__ */
|
|
114792
|
+
return /* @__PURE__ */ import_react107.default.createElement(
|
|
114545
114793
|
Box_default,
|
|
114546
114794
|
{
|
|
114547
114795
|
flexDirection: "column",
|
|
@@ -114552,14 +114800,14 @@ var LinkCommand = ({
|
|
|
114552
114800
|
borderTop: false,
|
|
114553
114801
|
paddingLeft: 1
|
|
114554
114802
|
},
|
|
114555
|
-
/* @__PURE__ */
|
|
114556
|
-
!preEnteredBusinessName && /* @__PURE__ */
|
|
114803
|
+
/* @__PURE__ */ import_react107.default.createElement(WelcomeMessage, null),
|
|
114804
|
+
!preEnteredBusinessName && /* @__PURE__ */ import_react107.default.createElement(
|
|
114557
114805
|
ChooseBusinessName,
|
|
114558
114806
|
{
|
|
114559
114807
|
onSubmit: ({ businessName: businessName2 }) => setBusinessName(businessName2)
|
|
114560
114808
|
}
|
|
114561
114809
|
),
|
|
114562
|
-
businessName && /* @__PURE__ */
|
|
114810
|
+
businessName && /* @__PURE__ */ import_react107.default.createElement(AccountAuthProvider, null, /* @__PURE__ */ import_react107.default.createElement(
|
|
114563
114811
|
CreateBusiness,
|
|
114564
114812
|
{
|
|
114565
114813
|
businessName,
|
|
@@ -114567,7 +114815,7 @@ var LinkCommand = ({
|
|
|
114567
114815
|
onDone: ({ businessId: businessId2 }) => setBusinessId(businessId2)
|
|
114568
114816
|
}
|
|
114569
114817
|
)),
|
|
114570
|
-
businessName && businessId && /* @__PURE__ */
|
|
114818
|
+
businessName && businessId && /* @__PURE__ */ import_react107.default.createElement(SiteAuthProvider, { siteId: businessId }, /* @__PURE__ */ import_react107.default.createElement(
|
|
114571
114819
|
CreateProject,
|
|
114572
114820
|
{
|
|
114573
114821
|
businessId,
|
|
@@ -114575,7 +114823,7 @@ var LinkCommand = ({
|
|
|
114575
114823
|
onSubmit: (data) => setProjectData(data)
|
|
114576
114824
|
}
|
|
114577
114825
|
)),
|
|
114578
|
-
businessName && businessId && projectData && /* @__PURE__ */
|
|
114826
|
+
businessName && businessId && projectData && /* @__PURE__ */ import_react107.default.createElement(
|
|
114579
114827
|
GenerateProject,
|
|
114580
114828
|
{
|
|
114581
114829
|
packageManager,
|
|
@@ -114585,7 +114833,7 @@ var LinkCommand = ({
|
|
|
114585
114833
|
onDone: () => setIsDone(true)
|
|
114586
114834
|
}
|
|
114587
114835
|
),
|
|
114588
|
-
businessName && businessId && projectData && isDone && /* @__PURE__ */
|
|
114836
|
+
businessName && businessId && projectData && isDone && /* @__PURE__ */ import_react107.default.createElement(FinishedSuccessfullyMessage, { packageManager })
|
|
114589
114837
|
);
|
|
114590
114838
|
}
|
|
114591
114839
|
});
|
|
@@ -114624,7 +114872,7 @@ function validateTemplateParams(value2) {
|
|
|
114624
114872
|
|
|
114625
114873
|
// src/components/ProcessCommand.tsx
|
|
114626
114874
|
init_esm_shims();
|
|
114627
|
-
var
|
|
114875
|
+
var import_react114 = __toESM(require_react(), 1);
|
|
114628
114876
|
var import_variant43 = __toESM(require_lib(), 1);
|
|
114629
114877
|
|
|
114630
114878
|
// src/parse-command-options.ts
|
|
@@ -115433,12 +115681,12 @@ async function parseCommandOptions(targetParentFolder2, options) {
|
|
|
115433
115681
|
|
|
115434
115682
|
// src/components/CreateHeadlessSiteCommand.tsx
|
|
115435
115683
|
init_esm_shims();
|
|
115436
|
-
var
|
|
115684
|
+
var import_react113 = __toESM(require_react(), 1);
|
|
115437
115685
|
var import_variant42 = __toESM(require_lib(), 1);
|
|
115438
115686
|
|
|
115439
115687
|
// src/components/ChooseFolder.tsx
|
|
115440
115688
|
init_esm_shims();
|
|
115441
|
-
var
|
|
115689
|
+
var import_react108 = __toESM(require_react(), 1);
|
|
115442
115690
|
var import_variant38 = __toESM(require_lib(), 1);
|
|
115443
115691
|
import { join as join18 } from "node:path";
|
|
115444
115692
|
var validateAppDirectory = async (targetParentFolder2, packageName) => {
|
|
@@ -115452,11 +115700,11 @@ var validateAppDirectory = async (targetParentFolder2, packageName) => {
|
|
|
115452
115700
|
});
|
|
115453
115701
|
};
|
|
115454
115702
|
var ChooseFolder = ({ initialFolderName, targetParentFolder: targetParentFolder2, onSubmit }) => {
|
|
115455
|
-
const validate3 = (0,
|
|
115703
|
+
const validate3 = (0, import_react108.useCallback)(
|
|
115456
115704
|
async (packageName) => validateAppDirectory(targetParentFolder2, packageName),
|
|
115457
115705
|
[targetParentFolder2]
|
|
115458
115706
|
);
|
|
115459
|
-
return /* @__PURE__ */
|
|
115707
|
+
return /* @__PURE__ */ import_react108.default.createElement(
|
|
115460
115708
|
TextInput2,
|
|
115461
115709
|
{
|
|
115462
115710
|
label: "In which directory do you want to create your application?",
|
|
@@ -115471,7 +115719,7 @@ var ChooseFolder = ({ initialFolderName, targetParentFolder: targetParentFolder2
|
|
|
115471
115719
|
// src/components/GenerateProject.tsx
|
|
115472
115720
|
init_esm_shims();
|
|
115473
115721
|
import { mkdir as mkdir3 } from "node:fs/promises";
|
|
115474
|
-
var
|
|
115722
|
+
var import_react109 = __toESM(require_react(), 1);
|
|
115475
115723
|
var import_variant39 = __toESM(require_lib(), 1);
|
|
115476
115724
|
import { join as join20 } from "node:path";
|
|
115477
115725
|
|
|
@@ -115516,7 +115764,7 @@ async function fetchTemplate(url2, path8 = ".") {
|
|
|
115516
115764
|
// src/components/GenerateProject.tsx
|
|
115517
115765
|
var headlessTemplatesGitUrl = "https://github.com/wix/headless-templates.git";
|
|
115518
115766
|
var GenerationProgress2 = ({ tasks, totalTaskCount }) => {
|
|
115519
|
-
return /* @__PURE__ */
|
|
115767
|
+
return /* @__PURE__ */ import_react109.default.createElement(import_react109.default.Fragment, null, /* @__PURE__ */ import_react109.default.createElement(Box_default, { marginBottom: 1 }, /* @__PURE__ */ import_react109.default.createElement(Text2, null, "Generating your headless site...")), /* @__PURE__ */ import_react109.default.createElement(TaskList, { tasks, totalTaskCount }));
|
|
115520
115768
|
};
|
|
115521
115769
|
var GenerateProject2 = ({
|
|
115522
115770
|
repoType,
|
|
@@ -115531,11 +115779,11 @@ var GenerateProject2 = ({
|
|
|
115531
115779
|
}) => {
|
|
115532
115780
|
const { reportError: reportError2 } = useErrorReporter();
|
|
115533
115781
|
const { execute: executeTaskRunner, status: taskRunnerStatus } = useTaskRunner();
|
|
115534
|
-
const packageFolder = (0,
|
|
115782
|
+
const packageFolder = (0, import_react109.useMemo)(
|
|
115535
115783
|
() => join20(targetParentFolder2, folderName),
|
|
115536
115784
|
[folderName, targetParentFolder2]
|
|
115537
115785
|
);
|
|
115538
|
-
const generateProject = (0,
|
|
115786
|
+
const generateProject = (0, import_react109.useCallback)(async () => {
|
|
115539
115787
|
try {
|
|
115540
115788
|
await mkdir3(packageFolder, { recursive: true });
|
|
115541
115789
|
} catch (e2) {
|
|
@@ -115576,7 +115824,7 @@ var GenerateProject2 = ({
|
|
|
115576
115824
|
selectedTemplate,
|
|
115577
115825
|
commandOptions.templateParams
|
|
115578
115826
|
]);
|
|
115579
|
-
const extendProject = (0,
|
|
115827
|
+
const extendProject = (0, import_react109.useCallback)(async () => {
|
|
115580
115828
|
await extend2(packageFolder);
|
|
115581
115829
|
try {
|
|
115582
115830
|
await addFilesFromTemplate(
|
|
@@ -115595,7 +115843,7 @@ var GenerateProject2 = ({
|
|
|
115595
115843
|
packageManager,
|
|
115596
115844
|
repoType
|
|
115597
115845
|
]);
|
|
115598
|
-
const initializeGit = (0,
|
|
115846
|
+
const initializeGit = (0, import_react109.useCallback)(async () => {
|
|
115599
115847
|
try {
|
|
115600
115848
|
await gitInit(packageFolder);
|
|
115601
115849
|
} catch (e2) {
|
|
@@ -115605,7 +115853,7 @@ var GenerateProject2 = ({
|
|
|
115605
115853
|
});
|
|
115606
115854
|
}
|
|
115607
115855
|
}, [packageFolder]);
|
|
115608
|
-
const installDependencies = (0,
|
|
115856
|
+
const installDependencies = (0, import_react109.useCallback)(async () => {
|
|
115609
115857
|
try {
|
|
115610
115858
|
await packageManager.runInstall(packageFolder);
|
|
115611
115859
|
} catch (e2) {
|
|
@@ -115615,7 +115863,7 @@ var GenerateProject2 = ({
|
|
|
115615
115863
|
});
|
|
115616
115864
|
}
|
|
115617
115865
|
}, [packageFolder, packageManager]);
|
|
115618
|
-
const commitToGit = (0,
|
|
115866
|
+
const commitToGit = (0, import_react109.useCallback)(async () => {
|
|
115619
115867
|
try {
|
|
115620
115868
|
await gitCommit(packageFolder);
|
|
115621
115869
|
} catch (e2) {
|
|
@@ -115625,7 +115873,7 @@ var GenerateProject2 = ({
|
|
|
115625
115873
|
});
|
|
115626
115874
|
}
|
|
115627
115875
|
}, [packageFolder]);
|
|
115628
|
-
const tasks = (0,
|
|
115876
|
+
const tasks = (0, import_react109.useMemo)(() => {
|
|
115629
115877
|
const result = [
|
|
115630
115878
|
{
|
|
115631
115879
|
action: generateProject,
|
|
@@ -115675,16 +115923,16 @@ var GenerateProject2 = ({
|
|
|
115675
115923
|
}, []);
|
|
115676
115924
|
return (0, import_variant39.match)(taskRunnerStatus, {
|
|
115677
115925
|
Idle: () => null,
|
|
115678
|
-
Running: (status) => /* @__PURE__ */
|
|
115679
|
-
Done: (status) => /* @__PURE__ */
|
|
115926
|
+
Running: (status) => /* @__PURE__ */ import_react109.default.createElement(GenerationProgress2, { ...status }),
|
|
115927
|
+
Done: (status) => /* @__PURE__ */ import_react109.default.createElement(Box_default, { flexDirection: "column", marginBottom: 1 }, /* @__PURE__ */ import_react109.default.createElement(GenerationProgress2, { ...status }), /* @__PURE__ */ import_react109.default.createElement(Box_default, { marginLeft: -2, marginTop: 1 }, /* @__PURE__ */ import_react109.default.createElement(Alert, { type: "success" }, /* @__PURE__ */ import_react109.default.createElement(Badge, { skin: "success" }, "Success"), " ", /* @__PURE__ */ import_react109.default.createElement(Text2, null, "Project set up successfully"))))
|
|
115680
115928
|
});
|
|
115681
115929
|
};
|
|
115682
115930
|
|
|
115683
115931
|
// src/components/ChooseTemplate.tsx
|
|
115684
115932
|
init_esm_shims();
|
|
115685
|
-
var
|
|
115933
|
+
var import_react110 = __toESM(require_react(), 1);
|
|
115686
115934
|
var ChooseTemplate = ({ onSubmit }) => {
|
|
115687
|
-
const options = (0,
|
|
115935
|
+
const options = (0, import_react110.useMemo)(() => {
|
|
115688
115936
|
return headlessTemplates.map((template) => ({
|
|
115689
115937
|
key: template.siteTemplateId,
|
|
115690
115938
|
title: template.title,
|
|
@@ -115692,7 +115940,7 @@ var ChooseTemplate = ({ onSubmit }) => {
|
|
|
115692
115940
|
value: template
|
|
115693
115941
|
}));
|
|
115694
115942
|
}, []);
|
|
115695
|
-
return /* @__PURE__ */
|
|
115943
|
+
return /* @__PURE__ */ import_react110.default.createElement(
|
|
115696
115944
|
SelectInput2,
|
|
115697
115945
|
{
|
|
115698
115946
|
label: "Choose an initial template for your business",
|
|
@@ -115704,14 +115952,14 @@ var ChooseTemplate = ({ onSubmit }) => {
|
|
|
115704
115952
|
|
|
115705
115953
|
// src/components/ReleaseProject.tsx
|
|
115706
115954
|
init_esm_shims();
|
|
115707
|
-
var
|
|
115955
|
+
var import_react112 = __toESM(require_react(), 1);
|
|
115708
115956
|
var import_variant41 = __toESM(require_lib(), 1);
|
|
115709
115957
|
|
|
115710
115958
|
// src/components/FinishedSuccessfullyMessage.tsx
|
|
115711
115959
|
init_esm_shims();
|
|
115712
|
-
var
|
|
115960
|
+
var import_react111 = __toESM(require_react(), 1);
|
|
115713
115961
|
var FinishedSuccessfullyMessage2 = ({ packageManager, folderName, projectData, isReleased }) => {
|
|
115714
|
-
return /* @__PURE__ */
|
|
115962
|
+
return /* @__PURE__ */ import_react111.default.createElement(
|
|
115715
115963
|
Box_default,
|
|
115716
115964
|
{
|
|
115717
115965
|
borderColor: "blue",
|
|
@@ -115723,9 +115971,9 @@ var FinishedSuccessfullyMessage2 = ({ packageManager, folderName, projectData, i
|
|
|
115723
115971
|
marginLeft: -2,
|
|
115724
115972
|
marginTop: 1
|
|
115725
115973
|
},
|
|
115726
|
-
isReleased && /* @__PURE__ */
|
|
115727
|
-
/* @__PURE__ */
|
|
115728
|
-
/* @__PURE__ */
|
|
115974
|
+
isReleased && /* @__PURE__ */ import_react111.default.createElement(Text2, { bold: true }, /* @__PURE__ */ import_react111.default.createElement(Rocket, null), " Visit your site at: ", projectData.baseUrl),
|
|
115975
|
+
/* @__PURE__ */ import_react111.default.createElement(Text2, { bold: true }, "Next Steps:"),
|
|
115976
|
+
/* @__PURE__ */ import_react111.default.createElement(UnorderedList, { gap: 1 }, /* @__PURE__ */ import_react111.default.createElement(UnorderedList.Item, { marker: "\u{1F45F}" }, /* @__PURE__ */ import_react111.default.createElement(Text2, null, "Start developing"), /* @__PURE__ */ import_react111.default.createElement(Text2, { skin: "info" }, `cd ${folderName}`), /* @__PURE__ */ import_react111.default.createElement(Text2, { skin: "info" }, `${packageManager.getRunCmd()} dev`)), /* @__PURE__ */ import_react111.default.createElement(UnorderedList.Item, { marker: /* @__PURE__ */ import_react111.default.createElement(Learn, null) }, /* @__PURE__ */ import_react111.default.createElement(Text2, null, "For guides and API references visit our"), /* @__PURE__ */ import_react111.default.createElement(Link, { skin: "info", url: "https://dev.wix.com/docs/go-headless" }, "documentation")), /* @__PURE__ */ import_react111.default.createElement(UnorderedList.Item, { marker: "\u{1F4AC}" }, /* @__PURE__ */ import_react111.default.createElement(Text2, null, "Join our"), /* @__PURE__ */ import_react111.default.createElement(Link, { skin: "info", url: "https://discord.gg/wixstudio" }, "Discord community")))
|
|
115729
115977
|
);
|
|
115730
115978
|
};
|
|
115731
115979
|
|
|
@@ -115781,7 +116029,7 @@ var ReleaseProject = ({
|
|
|
115781
116029
|
releaseNonInteractive
|
|
115782
116030
|
}) => {
|
|
115783
116031
|
const { status, execute } = useReleaseProject();
|
|
115784
|
-
(0,
|
|
116032
|
+
(0, import_react112.useEffect)(() => {
|
|
115785
116033
|
if (releaseNonInteractive != null) {
|
|
115786
116034
|
void execute({
|
|
115787
116035
|
confirmed: releaseNonInteractive,
|
|
@@ -115791,7 +116039,7 @@ var ReleaseProject = ({
|
|
|
115791
116039
|
});
|
|
115792
116040
|
}
|
|
115793
116041
|
}, []);
|
|
115794
|
-
return /* @__PURE__ */
|
|
116042
|
+
return /* @__PURE__ */ import_react112.default.createElement(import_react112.default.Fragment, null, releaseNonInteractive == null && /* @__PURE__ */ import_react112.default.createElement(Box_default, { marginLeft: -2, marginBottom: 1 }, /* @__PURE__ */ import_react112.default.createElement(
|
|
115795
116043
|
ConfirmInput,
|
|
115796
116044
|
{
|
|
115797
116045
|
label: "Would you like to publish your site now?",
|
|
@@ -115808,11 +116056,11 @@ var ReleaseProject = ({
|
|
|
115808
116056
|
)), (0, import_variant41.match)(status, {
|
|
115809
116057
|
NotRequested: () => null,
|
|
115810
116058
|
Success: ({ result }) => {
|
|
115811
|
-
return /* @__PURE__ */
|
|
115812
|
-
Success: () => /* @__PURE__ */
|
|
115813
|
-
Skipped: () => /* @__PURE__ */
|
|
115814
|
-
Error: () => /* @__PURE__ */
|
|
115815
|
-
}), /* @__PURE__ */
|
|
116059
|
+
return /* @__PURE__ */ import_react112.default.createElement(import_react112.default.Fragment, null, (0, import_variant41.match)(result, {
|
|
116060
|
+
Success: () => /* @__PURE__ */ import_react112.default.createElement(Box_default, { marginLeft: -2 }, /* @__PURE__ */ import_react112.default.createElement(Alert, { type: "success" }, /* @__PURE__ */ import_react112.default.createElement(Badge, { skin: "success" }, "Success"), " ", /* @__PURE__ */ import_react112.default.createElement(Text2, null, "Site published successfully"))),
|
|
116061
|
+
Skipped: () => /* @__PURE__ */ import_react112.default.createElement(Text2, null, `No worries, you can publish your site later by running ${packageManager.getRunCmd()} release`),
|
|
116062
|
+
Error: () => /* @__PURE__ */ import_react112.default.createElement(Box_default, { flexDirection: "column", gap: 1 }, /* @__PURE__ */ import_react112.default.createElement(Alert, { type: "error" }, "Failed to publish your site"), /* @__PURE__ */ import_react112.default.createElement(Text2, null, `No worries, you can publish your site later by running ${packageManager.getRunCmd()} release`))
|
|
116063
|
+
}), /* @__PURE__ */ import_react112.default.createElement(
|
|
115816
116064
|
FinishedSuccessfullyMessage2,
|
|
115817
116065
|
{
|
|
115818
116066
|
packageManager,
|
|
@@ -115823,7 +116071,7 @@ var ReleaseProject = ({
|
|
|
115823
116071
|
));
|
|
115824
116072
|
},
|
|
115825
116073
|
Error: () => null,
|
|
115826
|
-
Loading: () => /* @__PURE__ */
|
|
116074
|
+
Loading: () => /* @__PURE__ */ import_react112.default.createElement(Spinner2, { text: "Publishing your site..." })
|
|
115827
116075
|
}));
|
|
115828
116076
|
};
|
|
115829
116077
|
|
|
@@ -115836,16 +116084,16 @@ var CreateHeadlessSiteCommand = ({
|
|
|
115836
116084
|
projectName: defaultProjectName,
|
|
115837
116085
|
businessName: defaultBusinessName
|
|
115838
116086
|
}) => {
|
|
115839
|
-
const [businessName, setBusinessName] = (0,
|
|
116087
|
+
const [businessName, setBusinessName] = (0, import_react113.useState)(
|
|
115840
116088
|
defaultBusinessName
|
|
115841
116089
|
);
|
|
115842
|
-
const [selectedTemplate, setSelectedTemplate] = (0,
|
|
115843
|
-
const [folderName, setFolderName] = (0,
|
|
116090
|
+
const [selectedTemplate, setSelectedTemplate] = (0, import_react113.useState)(defaultTemplate);
|
|
116091
|
+
const [folderName, setFolderName] = (0, import_react113.useState)(
|
|
115844
116092
|
defaultProjectName
|
|
115845
116093
|
);
|
|
115846
|
-
const [businessId, setBusinessId] = (0,
|
|
115847
|
-
const [projectData, setProjectData] = (0,
|
|
115848
|
-
const [generationDone, setGenerationDone] = (0,
|
|
116094
|
+
const [businessId, setBusinessId] = (0, import_react113.useState)();
|
|
116095
|
+
const [projectData, setProjectData] = (0, import_react113.useState)();
|
|
116096
|
+
const [generationDone, setGenerationDone] = (0, import_react113.useState)(false);
|
|
115849
116097
|
const { status } = useAsync2(async () => {
|
|
115850
116098
|
const repoType = await getRepoType(targetParentFolder2);
|
|
115851
116099
|
const packageManager = await createPackageManager(repoType);
|
|
@@ -115854,9 +116102,9 @@ var CreateHeadlessSiteCommand = ({
|
|
|
115854
116102
|
}, []);
|
|
115855
116103
|
return (0, import_variant42.match)(status, {
|
|
115856
116104
|
Error: () => null,
|
|
115857
|
-
Loading: () => /* @__PURE__ */
|
|
116105
|
+
Loading: () => /* @__PURE__ */ import_react113.default.createElement(Spinner2, { text: "Loading..." }),
|
|
115858
116106
|
Success: ({ result: { packageManager, repoType } }) => {
|
|
115859
|
-
return /* @__PURE__ */
|
|
116107
|
+
return /* @__PURE__ */ import_react113.default.createElement(
|
|
115860
116108
|
Box_default,
|
|
115861
116109
|
{
|
|
115862
116110
|
flexDirection: "column",
|
|
@@ -115867,14 +116115,14 @@ var CreateHeadlessSiteCommand = ({
|
|
|
115867
116115
|
borderTop: false,
|
|
115868
116116
|
paddingLeft: 1
|
|
115869
116117
|
},
|
|
115870
|
-
/* @__PURE__ */
|
|
115871
|
-
!defaultBusinessName && /* @__PURE__ */
|
|
116118
|
+
/* @__PURE__ */ import_react113.default.createElement(WelcomeMessage, null),
|
|
116119
|
+
!defaultBusinessName && /* @__PURE__ */ import_react113.default.createElement(
|
|
115872
116120
|
ChooseBusinessName,
|
|
115873
116121
|
{
|
|
115874
116122
|
onSubmit: ({ businessName: businessName2 }) => setBusinessName(businessName2)
|
|
115875
116123
|
}
|
|
115876
116124
|
),
|
|
115877
|
-
!defaultTemplate && businessName && /* @__PURE__ */
|
|
116125
|
+
!defaultTemplate && businessName && /* @__PURE__ */ import_react113.default.createElement(
|
|
115878
116126
|
ChooseTemplate,
|
|
115879
116127
|
{
|
|
115880
116128
|
onSubmit: ({ template }) => {
|
|
@@ -115882,7 +116130,7 @@ var CreateHeadlessSiteCommand = ({
|
|
|
115882
116130
|
}
|
|
115883
116131
|
}
|
|
115884
116132
|
),
|
|
115885
|
-
businessName && selectedTemplate && /* @__PURE__ */
|
|
116133
|
+
businessName && selectedTemplate && /* @__PURE__ */ import_react113.default.createElement(AccountAuthProvider, null, /* @__PURE__ */ import_react113.default.createElement(
|
|
115886
116134
|
CreateBusiness,
|
|
115887
116135
|
{
|
|
115888
116136
|
businessName,
|
|
@@ -115890,7 +116138,7 @@ var CreateHeadlessSiteCommand = ({
|
|
|
115890
116138
|
onDone: ({ businessId: businessId2 }) => setBusinessId(businessId2)
|
|
115891
116139
|
}
|
|
115892
116140
|
)),
|
|
115893
|
-
businessName && selectedTemplate && businessId && /* @__PURE__ */
|
|
116141
|
+
businessName && selectedTemplate && businessId && /* @__PURE__ */ import_react113.default.createElement(SiteAuthProvider, { siteId: businessId }, /* @__PURE__ */ import_react113.default.createElement(
|
|
115894
116142
|
CreateProject,
|
|
115895
116143
|
{
|
|
115896
116144
|
businessId,
|
|
@@ -115898,7 +116146,7 @@ var CreateHeadlessSiteCommand = ({
|
|
|
115898
116146
|
onSubmit: (data) => setProjectData(data)
|
|
115899
116147
|
}
|
|
115900
116148
|
)),
|
|
115901
|
-
!defaultProjectName && businessName && selectedTemplate && businessId && projectData && /* @__PURE__ */
|
|
116149
|
+
!defaultProjectName && businessName && selectedTemplate && businessId && projectData && /* @__PURE__ */ import_react113.default.createElement(
|
|
115902
116150
|
ChooseFolder,
|
|
115903
116151
|
{
|
|
115904
116152
|
initialFolderName: projectData.projectName,
|
|
@@ -115906,7 +116154,7 @@ var CreateHeadlessSiteCommand = ({
|
|
|
115906
116154
|
onSubmit: ({ folderName: folderName2 }) => setFolderName(folderName2)
|
|
115907
116155
|
}
|
|
115908
116156
|
),
|
|
115909
|
-
businessName && selectedTemplate && businessId && projectData && folderName && /* @__PURE__ */
|
|
116157
|
+
businessName && selectedTemplate && businessId && projectData && folderName && /* @__PURE__ */ import_react113.default.createElement(
|
|
115910
116158
|
GenerateProject2,
|
|
115911
116159
|
{
|
|
115912
116160
|
folderName,
|
|
@@ -115920,7 +116168,7 @@ var CreateHeadlessSiteCommand = ({
|
|
|
115920
116168
|
onDone: (isDone) => setGenerationDone(isDone)
|
|
115921
116169
|
}
|
|
115922
116170
|
),
|
|
115923
|
-
businessName && selectedTemplate && businessId && projectData && folderName && generationDone && /* @__PURE__ */
|
|
116171
|
+
businessName && selectedTemplate && businessId && projectData && folderName && generationDone && /* @__PURE__ */ import_react113.default.createElement(
|
|
115924
116172
|
ReleaseProject,
|
|
115925
116173
|
{
|
|
115926
116174
|
folderName,
|
|
@@ -115960,9 +116208,9 @@ var ProcessCommand = ({ targetParentFolder: targetParentFolder2, commandOptions
|
|
|
115960
116208
|
}, []);
|
|
115961
116209
|
return (0, import_variant43.match)(status, {
|
|
115962
116210
|
Error: () => null,
|
|
115963
|
-
Loading: () => /* @__PURE__ */
|
|
116211
|
+
Loading: () => /* @__PURE__ */ import_react114.default.createElement(Spinner2, { text: "Loading..." }),
|
|
115964
116212
|
Success: ({ result: { template, projectName, businessName, publish } }) => {
|
|
115965
|
-
return /* @__PURE__ */
|
|
116213
|
+
return /* @__PURE__ */ import_react114.default.createElement(
|
|
115966
116214
|
CreateHeadlessSiteCommand,
|
|
115967
116215
|
{
|
|
115968
116216
|
targetParentFolder: targetParentFolder2,
|
|
@@ -116017,7 +116265,7 @@ program2.command("link").description("Link current project to use Wix as deploym
|
|
|
116017
116265
|
const commandStatus = reportCommandStartEvent2(command);
|
|
116018
116266
|
try {
|
|
116019
116267
|
await render2(
|
|
116020
|
-
/* @__PURE__ */
|
|
116268
|
+
/* @__PURE__ */ import_react115.default.createElement(BiProvider, { value: biLogger }, /* @__PURE__ */ import_react115.default.createElement(ErrorReporterProvider, { value: errorReporter }, /* @__PURE__ */ import_react115.default.createElement(
|
|
116021
116269
|
LinkCommand,
|
|
116022
116270
|
{
|
|
116023
116271
|
projectName: options.projectName,
|
|
@@ -116091,7 +116339,7 @@ program2.command("init", { isDefault: true }).description("Create headless site"
|
|
|
116091
116339
|
const commandStatus = reportCommandStartEvent2(command);
|
|
116092
116340
|
try {
|
|
116093
116341
|
await render2(
|
|
116094
|
-
/* @__PURE__ */
|
|
116342
|
+
/* @__PURE__ */ import_react115.default.createElement(BiProvider, { value: biLogger }, /* @__PURE__ */ import_react115.default.createElement(ErrorReporterProvider, { value: errorReporter }, /* @__PURE__ */ import_react115.default.createElement(
|
|
116095
116343
|
ProcessCommand,
|
|
116096
116344
|
{
|
|
116097
116345
|
targetParentFolder,
|