@wix/create-headless-site 0.0.13 → 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 +459 -182
- 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
|
|
@@ -79500,7 +79500,8 @@ var CliUserErrorCode = (0, import_variant11.variant)({
|
|
|
79500
79500
|
ProjectIsAlreadyLinked: {},
|
|
79501
79501
|
ProjectIsNotLinkable: {},
|
|
79502
79502
|
MissingPresetCssForSiteComponent: (0, import_variant11.fields)(),
|
|
79503
|
-
AppInstallerSiteNotFound: (0, import_variant11.fields)()
|
|
79503
|
+
AppInstallerSiteNotFound: (0, import_variant11.fields)(),
|
|
79504
|
+
EAccessPermissionDenied: {}
|
|
79504
79505
|
});
|
|
79505
79506
|
var CliErrorCode = (0, import_variant11.variant)({
|
|
79506
79507
|
...CliSystemErrorCode,
|
|
@@ -79811,12 +79812,22 @@ function fixHostExceptions(host) {
|
|
|
79811
79812
|
}
|
|
79812
79813
|
function resolveMappingsByDomain(domain, domainToMappings) {
|
|
79813
79814
|
const mappings = domainToMappings[domain] || domainToMappings[USER_DOMAIN];
|
|
79814
|
-
if (
|
|
79815
|
+
if (mappings) {
|
|
79816
|
+
return mappings;
|
|
79817
|
+
}
|
|
79818
|
+
const rootDomainMappings = resolveRootDomain(domain, domainToMappings);
|
|
79819
|
+
if (!rootDomainMappings) {
|
|
79815
79820
|
if (isBaseDomain(domain)) {
|
|
79816
79821
|
return domainToMappings[wwwBaseDomain];
|
|
79817
79822
|
}
|
|
79818
79823
|
}
|
|
79819
|
-
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];
|
|
79820
79831
|
}
|
|
79821
79832
|
function resolvePath(protoPath, mappings) {
|
|
79822
79833
|
const mapping = mappings?.find((m) => protoPath.startsWith(m.destPath));
|
|
@@ -90365,6 +90376,15 @@ ${errorMessage}`
|
|
|
90365
90376
|
}
|
|
90366
90377
|
);
|
|
90367
90378
|
},
|
|
90379
|
+
EAccessPermissionDenied: () => {
|
|
90380
|
+
return () => /* @__PURE__ */ import_react78.default.createElement(
|
|
90381
|
+
ErrorMessage,
|
|
90382
|
+
{
|
|
90383
|
+
message: `Wix CLI doesn't have enough permission to modify files.`,
|
|
90384
|
+
cause
|
|
90385
|
+
}
|
|
90386
|
+
);
|
|
90387
|
+
},
|
|
90368
90388
|
FailedToCreateShareUrl: () => {
|
|
90369
90389
|
return () => /* @__PURE__ */ import_react78.default.createElement(SystemErrorMessage, { message: "Failed to create preview URL." });
|
|
90370
90390
|
},
|
|
@@ -93888,14 +93908,14 @@ function wixCliCliError(params) {
|
|
|
93888
93908
|
var package_default = {
|
|
93889
93909
|
name: "@wix/create-headless-site",
|
|
93890
93910
|
description: "Headless site creation wizard",
|
|
93891
|
-
version: "0.0.
|
|
93911
|
+
version: "0.0.15",
|
|
93892
93912
|
bin: "bin/index.cjs",
|
|
93893
93913
|
devDependencies: {
|
|
93894
93914
|
"@commander-js/extra-typings": "^13.0.0",
|
|
93895
93915
|
"@types/react": "^18.3.3",
|
|
93896
93916
|
"@types/semver": "^7.5.8",
|
|
93897
93917
|
"@types/validate-npm-package-name": "^4.0.2",
|
|
93898
|
-
"@wix/ambassador-funnel-projects-v1-project": "^1.0.
|
|
93918
|
+
"@wix/ambassador-funnel-projects-v1-project": "^1.0.10",
|
|
93899
93919
|
"@wix/backend-as-a-service-client": "workspace:*",
|
|
93900
93920
|
"@wix/bi-logger-dev-tools-data": "^1.116.0",
|
|
93901
93921
|
"@wix/cli-astro-definitions": "workspace:*",
|
|
@@ -94006,7 +94026,7 @@ var createBiLogger2 = async (errorReporter2, userId) => {
|
|
|
94006
94026
|
|
|
94007
94027
|
// src/components/LinkCommand/LinkCommand.tsx
|
|
94008
94028
|
init_esm_shims();
|
|
94009
|
-
var
|
|
94029
|
+
var import_react107 = __toESM(require_react(), 1);
|
|
94010
94030
|
|
|
94011
94031
|
// ../package-manager/src/index.ts
|
|
94012
94032
|
init_esm_shims();
|
|
@@ -96565,26 +96585,41 @@ var ChooseBusinessName = ({ onSubmit }) => {
|
|
|
96565
96585
|
|
|
96566
96586
|
// src/components/CreateBusiness.tsx
|
|
96567
96587
|
init_esm_shims();
|
|
96568
|
-
var
|
|
96588
|
+
var import_react98 = __toESM(require_react(), 1);
|
|
96569
96589
|
var import_variant30 = __toESM(require_lib(), 1);
|
|
96570
96590
|
|
|
96571
96591
|
// src/clients/funnel-projects/useFunnelProjectsClient.ts
|
|
96572
96592
|
init_esm_shims();
|
|
96573
|
-
var
|
|
96593
|
+
var import_react97 = __toESM(require_react(), 1);
|
|
96574
96594
|
|
|
96575
96595
|
// ../cli-http-client-react/src/index.ts
|
|
96576
96596
|
init_esm_shims();
|
|
96577
96597
|
|
|
96578
96598
|
// ../cli-http-client-react/src/useHttpClient.ts
|
|
96579
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();
|
|
96580
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
|
|
96581
96608
|
function useHttpClient({
|
|
96582
96609
|
type
|
|
96583
96610
|
}) {
|
|
96584
|
-
const
|
|
96585
|
-
|
|
96586
|
-
|
|
96587
|
-
|
|
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]
|
|
96588
96623
|
);
|
|
96589
96624
|
}
|
|
96590
96625
|
|
|
@@ -96596,7 +96631,26 @@ init_esm_shims();
|
|
|
96596
96631
|
var _createProjectRequest = {};
|
|
96597
96632
|
var _createProjectResponse = {};
|
|
96598
96633
|
function resolveWixApiFunnelProjectProjectsServiceUrl(opts) {
|
|
96599
|
-
var domainToMappings = {
|
|
96634
|
+
var domainToMappings = {
|
|
96635
|
+
"www.wixapis.com": [
|
|
96636
|
+
{
|
|
96637
|
+
srcPath: "/funnel/projects",
|
|
96638
|
+
destPath: ""
|
|
96639
|
+
}
|
|
96640
|
+
],
|
|
96641
|
+
"*.dev.wix-code.com": [
|
|
96642
|
+
{
|
|
96643
|
+
srcPath: "/_api/funnel-projects-service",
|
|
96644
|
+
destPath: ""
|
|
96645
|
+
}
|
|
96646
|
+
],
|
|
96647
|
+
_: [
|
|
96648
|
+
{
|
|
96649
|
+
srcPath: "/_api/funnel-projects-service",
|
|
96650
|
+
destPath: ""
|
|
96651
|
+
}
|
|
96652
|
+
]
|
|
96653
|
+
};
|
|
96600
96654
|
return resolveUrl(Object.assign(opts, { domainToMappings }));
|
|
96601
96655
|
}
|
|
96602
96656
|
function createProject(payload5) {
|
|
@@ -96677,7 +96731,7 @@ var FunnelProjectsClient = class {
|
|
|
96677
96731
|
// src/clients/funnel-projects/useFunnelProjectsClient.ts
|
|
96678
96732
|
function useFunnelProjectsClient() {
|
|
96679
96733
|
const httpClient = useHttpClient({ type: "api" });
|
|
96680
|
-
return (0,
|
|
96734
|
+
return (0, import_react97.useMemo)(() => new FunnelProjectsClient(httpClient), [httpClient]);
|
|
96681
96735
|
}
|
|
96682
96736
|
|
|
96683
96737
|
// src/components/CreateBusiness.tsx
|
|
@@ -96687,17 +96741,17 @@ var CreateBusiness = ({ businessName, businessTemplateId, onDone }) => {
|
|
|
96687
96741
|
const { project } = await createProject2(businessName, businessTemplateId);
|
|
96688
96742
|
onDone({ businessId: project.metaSiteId });
|
|
96689
96743
|
}, []);
|
|
96690
|
-
return /* @__PURE__ */
|
|
96744
|
+
return /* @__PURE__ */ import_react98.default.createElement(import_react98.default.Fragment, null, (0, import_variant30.match)(status, {
|
|
96691
96745
|
Error: () => null,
|
|
96692
|
-
Loading: () => /* @__PURE__ */
|
|
96693
|
-
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"))),
|
|
96694
96748
|
NotRequested: () => null
|
|
96695
96749
|
}));
|
|
96696
96750
|
};
|
|
96697
96751
|
|
|
96698
96752
|
// src/components/CreateProject.tsx
|
|
96699
96753
|
init_esm_shims();
|
|
96700
|
-
var
|
|
96754
|
+
var import_react102 = __toESM(require_react(), 1);
|
|
96701
96755
|
var import_variant31 = __toESM(require_lib(), 1);
|
|
96702
96756
|
|
|
96703
96757
|
// src/validations/validate-project-name.ts
|
|
@@ -96725,6 +96779,7 @@ init_esm_shims();
|
|
|
96725
96779
|
init_esm_shims();
|
|
96726
96780
|
var __Array = {
|
|
96727
96781
|
checkboxGroupOptions: "_checkboxGroup",
|
|
96782
|
+
tagsOptions: "_tags",
|
|
96728
96783
|
validation: "_arrayType"
|
|
96729
96784
|
};
|
|
96730
96785
|
var __Boolean = { checkboxOptions: "_checkbox" };
|
|
@@ -96747,6 +96802,7 @@ var __String = {
|
|
|
96747
96802
|
};
|
|
96748
96803
|
var _actionProviderSPIConfig = { actionConfig: "_actionSPIConfig" };
|
|
96749
96804
|
var _actionSPIConfig = { icon: "_wixCommonImage" };
|
|
96805
|
+
var _address = { multilineAddressOptions: "_componentsMultilineAddress" };
|
|
96750
96806
|
var _adminConfigurableTextInput = {
|
|
96751
96807
|
requiredSettings: "google.protobuf.FieldMask",
|
|
96752
96808
|
adminConfigurableSettings: "google.protobuf.FieldMask"
|
|
@@ -96754,6 +96810,7 @@ var _adminConfigurableTextInput = {
|
|
|
96754
96810
|
var _andCondition = { conditions: "_conditionNode" };
|
|
96755
96811
|
var _appData = { components: "_component", pricingModels: "_pricingModel" };
|
|
96756
96812
|
var _appEmbedData = { image: "_media" };
|
|
96813
|
+
var _appointment = { description: "_richContent" };
|
|
96757
96814
|
var _arrayItems = { data: "_dataItems", dataItem: "_dataItem" };
|
|
96758
96815
|
var _arrayType = { items: "_arrayTypeArrayItems" };
|
|
96759
96816
|
var _arrayTypeArrayItems = {
|
|
@@ -96769,6 +96826,7 @@ var _billing = {
|
|
|
96769
96826
|
oneTimePrice: "DOUBLE",
|
|
96770
96827
|
meteredBilling: "_meteredBilling"
|
|
96771
96828
|
};
|
|
96829
|
+
var _breakPoint = { items: "_itemLayout" };
|
|
96772
96830
|
var _breakpointPresetStyleOverrides = {
|
|
96773
96831
|
default: "_presetStyleOverrides",
|
|
96774
96832
|
small: "_presetStyleOverrides"
|
|
@@ -96776,7 +96834,8 @@ var _breakpointPresetStyleOverrides = {
|
|
|
96776
96834
|
var _checkbox = { label: "_richContent" };
|
|
96777
96835
|
var _checkboxGroup = {
|
|
96778
96836
|
description: "_richContent",
|
|
96779
|
-
options: "_checkboxGroupOption"
|
|
96837
|
+
options: "_checkboxGroupOption",
|
|
96838
|
+
media: "_mediaItem"
|
|
96780
96839
|
};
|
|
96781
96840
|
var _checkboxGroupOption = { media: "_mediaItem" };
|
|
96782
96841
|
var _commonImage = { urlExpirationDate: "google.protobuf.Timestamp" };
|
|
@@ -96806,11 +96865,15 @@ var _cssNumber = {
|
|
|
96806
96865
|
maximum: "google.protobuf.FloatValue",
|
|
96807
96866
|
multipleOf: "google.protobuf.FloatValue"
|
|
96808
96867
|
};
|
|
96809
|
-
var _dataItem = {
|
|
96868
|
+
var _dataItem = {
|
|
96869
|
+
number: "__Number",
|
|
96870
|
+
arrayItems: "_arrayItems",
|
|
96871
|
+
data: "_dataItems"
|
|
96872
|
+
};
|
|
96810
96873
|
var _dataItems = { items: "Map#_dataItem" };
|
|
96811
|
-
var _dateInput = { description: "_richContent" };
|
|
96812
|
-
var _datePicker = { description: "_richContent" };
|
|
96813
|
-
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" };
|
|
96814
96877
|
var _description = { representativeImage: "_wixCommonImage" };
|
|
96815
96878
|
var _design = { poll: "_pollDesign" };
|
|
96816
96879
|
var _devCenterTestingComponentData = {
|
|
@@ -96822,8 +96885,8 @@ var _devCenterTestingComponentData = {
|
|
|
96822
96885
|
richContentMap: "Map#_richContent"
|
|
96823
96886
|
};
|
|
96824
96887
|
var _displayField = { richContentOptions: "_richContentOptions" };
|
|
96825
|
-
var _donationInput = { description: "_richContent" };
|
|
96826
|
-
var _dropdown = { description: "_richContent" };
|
|
96888
|
+
var _donationInput = { description: "_richContent", media: "_mediaItem" };
|
|
96889
|
+
var _dropdown = { description: "_richContent", media: "_mediaItem" };
|
|
96827
96890
|
var _editorElement = {
|
|
96828
96891
|
style: "Map#_styleItem",
|
|
96829
96892
|
data: "Map#_dataItem",
|
|
@@ -96844,13 +96907,20 @@ var _expectedInputs = {
|
|
|
96844
96907
|
expectedVerifyInputs: "_predefinedExpectedInput"
|
|
96845
96908
|
};
|
|
96846
96909
|
var _field = { inputOptions: "_inputField", displayOptions: "_displayField" };
|
|
96847
|
-
var _fileUpload = { description: "_richContent" };
|
|
96910
|
+
var _fileUpload = { description: "_richContent", media: "_mediaItem" };
|
|
96911
|
+
var _fixedPayment = { description: "_richContent", media: "_mediaItem" };
|
|
96848
96912
|
var _focalPoint = { x: "DOUBLE", y: "DOUBLE" };
|
|
96913
|
+
var _formLayout = {
|
|
96914
|
+
large: "_breakPoint",
|
|
96915
|
+
medium: "_breakPoint",
|
|
96916
|
+
small: "_breakPoint"
|
|
96917
|
+
};
|
|
96849
96918
|
var _formTemplate = {
|
|
96850
96919
|
createdDate: "google.protobuf.Timestamp",
|
|
96851
96920
|
updatedDate: "google.protobuf.Timestamp",
|
|
96852
96921
|
fields: "_field",
|
|
96853
96922
|
deletedFields: "_field",
|
|
96923
|
+
steps: "_step",
|
|
96854
96924
|
rules: "_v2Rule",
|
|
96855
96925
|
submitSettings: "_submitSettings"
|
|
96856
96926
|
};
|
|
@@ -96864,6 +96934,7 @@ var _getAppResponse = {
|
|
|
96864
96934
|
dateCreated: "google.protobuf.Timestamp",
|
|
96865
96935
|
data: "_appData"
|
|
96866
96936
|
};
|
|
96937
|
+
var _group = { items: "_itemLayout" };
|
|
96867
96938
|
var _image = { urlExpirationDate: "google.protobuf.Timestamp" };
|
|
96868
96939
|
var _imageData = { image: "_media" };
|
|
96869
96940
|
var _inlineElement = {
|
|
@@ -96881,7 +96952,9 @@ var _inputField = {
|
|
|
96881
96952
|
objectOptions: "__Object",
|
|
96882
96953
|
wixFileOptions: "_wixFile",
|
|
96883
96954
|
paymentOptions: "_payment",
|
|
96884
|
-
multilineAddressOptions: "
|
|
96955
|
+
multilineAddressOptions: "_address",
|
|
96956
|
+
schedulingOptions: "_scheduling",
|
|
96957
|
+
addressOptions: "_address"
|
|
96885
96958
|
};
|
|
96886
96959
|
var _inputField_Number = {
|
|
96887
96960
|
numberInputOptions: "_numberInput",
|
|
@@ -96890,6 +96963,7 @@ var _inputField_Number = {
|
|
|
96890
96963
|
};
|
|
96891
96964
|
var _item = { image: "_itemImage", video: "_video" };
|
|
96892
96965
|
var _itemImage = { media: "_media" };
|
|
96966
|
+
var _itemLayout = { group: "_group" };
|
|
96893
96967
|
var _itemStyle = { ratio: "google.protobuf.DoubleValue" };
|
|
96894
96968
|
var _mapData = { mapSettings: "_mapSettings" };
|
|
96895
96969
|
var _mapSettings = {
|
|
@@ -96905,9 +96979,6 @@ var _meteredBilling = {
|
|
|
96905
96979
|
monthlyBaseFee: "DOUBLE",
|
|
96906
96980
|
additionalCharges: "google.protobuf.DoubleValue"
|
|
96907
96981
|
};
|
|
96908
|
-
var _multilineAddress = {
|
|
96909
|
-
multilineAddressOptions: "_componentsMultilineAddress"
|
|
96910
|
-
};
|
|
96911
96982
|
var _multilingualTranslationSchema = { referenceData: "_schema" };
|
|
96912
96983
|
var _node = {
|
|
96913
96984
|
galleryData: "_galleryData",
|
|
@@ -96921,7 +96992,8 @@ var _node = {
|
|
|
96921
96992
|
};
|
|
96922
96993
|
var _numberInput = {
|
|
96923
96994
|
default: "google.protobuf.DoubleValue",
|
|
96924
|
-
description: "_richContent"
|
|
96995
|
+
description: "_richContent",
|
|
96996
|
+
media: "_mediaItem"
|
|
96925
96997
|
};
|
|
96926
96998
|
var _numberType = {
|
|
96927
96999
|
maximum: "google.protobuf.DoubleValue",
|
|
@@ -96939,9 +97011,16 @@ var _packageDimension = {
|
|
|
96939
97011
|
var _packageType = { dimension: "_packageDimension", image: "_image" };
|
|
96940
97012
|
var _payment = {
|
|
96941
97013
|
checkboxGroupOptions: "_productCheckboxGroup",
|
|
96942
|
-
donationInputOptions: "_donationInput"
|
|
97014
|
+
donationInputOptions: "_donationInput",
|
|
97015
|
+
paymentInputOptions: "_paymentInput",
|
|
97016
|
+
fixedPaymentOptions: "_fixedPayment"
|
|
96943
97017
|
};
|
|
96944
|
-
var
|
|
97018
|
+
var _paymentInput = {
|
|
97019
|
+
default: "google.protobuf.DoubleValue",
|
|
97020
|
+
description: "_richContent",
|
|
97021
|
+
media: "_mediaItem"
|
|
97022
|
+
};
|
|
97023
|
+
var _phoneInput = { description: "_richContent", media: "_mediaItem" };
|
|
96945
97024
|
var _plan = { billing: "_billing" };
|
|
96946
97025
|
var _pluginConfig = { startingEnforcementDate: "google.protobuf.Timestamp" };
|
|
96947
97026
|
var _poll = { image: "_media", options: "_pollOption" };
|
|
@@ -96969,15 +97048,16 @@ var _presetStyleOverrides = { elements: "Map#_elementStyleOverrides" };
|
|
|
96969
97048
|
var _pricingModel = { plans: "_plan" };
|
|
96970
97049
|
var _productCheckboxGroup = {
|
|
96971
97050
|
description: "_richContent",
|
|
96972
|
-
options: "_productCheckboxGroupOption"
|
|
97051
|
+
options: "_productCheckboxGroupOption",
|
|
97052
|
+
media: "_mediaItem"
|
|
96973
97053
|
};
|
|
96974
97054
|
var _productCheckboxGroupOption = { media: "_mediaItem" };
|
|
96975
97055
|
var _propertiesType = {
|
|
96976
97056
|
numberOptions: "_numberType",
|
|
96977
97057
|
arrayOptions: "_arrayType"
|
|
96978
97058
|
};
|
|
96979
|
-
var _radioGroup = { description: "_richContent" };
|
|
96980
|
-
var _ratingInput = { description: "_richContent" };
|
|
97059
|
+
var _radioGroup = { description: "_richContent", media: "_mediaItem" };
|
|
97060
|
+
var _ratingInput = { description: "_richContent", media: "_mediaItem" };
|
|
96981
97061
|
var _refElement = {
|
|
96982
97062
|
resolvedElement: "_inlineElement",
|
|
96983
97063
|
elementsDefaults: "Map#_refInnerElementDefaults",
|
|
@@ -96986,6 +97066,7 @@ var _refElement = {
|
|
|
96986
97066
|
var _refInnerElementDefaults = { elements: "Map#_refInnerElementDefaults" };
|
|
96987
97067
|
var _richContent = { nodes: "_node", metadata: "_v1Metadata" };
|
|
96988
97068
|
var _richContentOptions = { richContent: "_richContent" };
|
|
97069
|
+
var _scheduling = { appointmentOptions: "_appointment" };
|
|
96989
97070
|
var _schema = {
|
|
96990
97071
|
createdDate: "google.protobuf.Timestamp",
|
|
96991
97072
|
updatedDate: "google.protobuf.Timestamp",
|
|
@@ -96997,16 +97078,23 @@ var _schemaGroup = {
|
|
|
96997
97078
|
};
|
|
96998
97079
|
var _shippingLabelCarrierSpiConfig = { packageTypes: "_packageType" };
|
|
96999
97080
|
var _shippingProviderConfig = { shippingPrice: "DOUBLE" };
|
|
97000
|
-
var _signature = { description: "_richContent" };
|
|
97081
|
+
var _signature = { description: "_richContent", media: "_mediaItem" };
|
|
97082
|
+
var _step = { layout: "_formLayout" };
|
|
97001
97083
|
var _studioWidgetComponentData = {
|
|
97002
97084
|
widgetDisplay: "_widgetDisplay",
|
|
97003
97085
|
editorPresence: "_editorPresence"
|
|
97004
97086
|
};
|
|
97005
97087
|
var _styleItem = { number: "_cssNumber" };
|
|
97006
97088
|
var _submitSettings = { thankYouMessageOptions: "_thankYouMessageOptions" };
|
|
97007
|
-
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" };
|
|
97008
97096
|
var _thankYouMessageOptions = { richContent: "_richContent" };
|
|
97009
|
-
var _timeInput = { description: "_richContent" };
|
|
97097
|
+
var _timeInput = { description: "_richContent", media: "_mediaItem" };
|
|
97010
97098
|
var _v1Metadata = {
|
|
97011
97099
|
createdTimestamp: "google.protobuf.Timestamp",
|
|
97012
97100
|
updatedTimestamp: "google.protobuf.Timestamp"
|
|
@@ -97150,10 +97238,12 @@ function getAppByVersion(payload5) {
|
|
|
97150
97238
|
__String,
|
|
97151
97239
|
_actionProviderSPIConfig,
|
|
97152
97240
|
_actionSPIConfig,
|
|
97241
|
+
_address,
|
|
97153
97242
|
_adminConfigurableTextInput,
|
|
97154
97243
|
_andCondition,
|
|
97155
97244
|
_appData,
|
|
97156
97245
|
_appEmbedData,
|
|
97246
|
+
_appointment,
|
|
97157
97247
|
_arrayItems,
|
|
97158
97248
|
_arrayType,
|
|
97159
97249
|
_arrayTypeArrayItems,
|
|
@@ -97161,6 +97251,7 @@ function getAppByVersion(payload5) {
|
|
|
97161
97251
|
_authenticatorConfig,
|
|
97162
97252
|
_background,
|
|
97163
97253
|
_billing,
|
|
97254
|
+
_breakPoint,
|
|
97164
97255
|
_breakpointPresetStyleOverrides,
|
|
97165
97256
|
_checkbox,
|
|
97166
97257
|
_checkboxGroup,
|
|
@@ -97192,11 +97283,14 @@ function getAppByVersion(payload5) {
|
|
|
97192
97283
|
_expectedInputs,
|
|
97193
97284
|
_field,
|
|
97194
97285
|
_fileUpload,
|
|
97286
|
+
_fixedPayment,
|
|
97195
97287
|
_focalPoint,
|
|
97288
|
+
_formLayout,
|
|
97196
97289
|
_formTemplate,
|
|
97197
97290
|
_functionsShopPriceSpiConfig,
|
|
97198
97291
|
_galleryData,
|
|
97199
97292
|
_galleryOptions,
|
|
97293
|
+
_group,
|
|
97200
97294
|
_image,
|
|
97201
97295
|
_imageData,
|
|
97202
97296
|
_inlineElement,
|
|
@@ -97204,6 +97298,7 @@ function getAppByVersion(payload5) {
|
|
|
97204
97298
|
_inputField_Number,
|
|
97205
97299
|
_item,
|
|
97206
97300
|
_itemImage,
|
|
97301
|
+
_itemLayout,
|
|
97207
97302
|
_itemStyle,
|
|
97208
97303
|
_mapData,
|
|
97209
97304
|
_mapSettings,
|
|
@@ -97211,7 +97306,6 @@ function getAppByVersion(payload5) {
|
|
|
97211
97306
|
_mediaItem,
|
|
97212
97307
|
_messageContainingTranslatables,
|
|
97213
97308
|
_meteredBilling,
|
|
97214
|
-
_multilineAddress,
|
|
97215
97309
|
_multilingualTranslationSchema,
|
|
97216
97310
|
_node,
|
|
97217
97311
|
_numberInput,
|
|
@@ -97221,6 +97315,7 @@ function getAppByVersion(payload5) {
|
|
|
97221
97315
|
_packageDimension,
|
|
97222
97316
|
_packageType,
|
|
97223
97317
|
_payment,
|
|
97318
|
+
_paymentInput,
|
|
97224
97319
|
_phoneInput,
|
|
97225
97320
|
_plan,
|
|
97226
97321
|
_pluginConfig,
|
|
@@ -97246,14 +97341,18 @@ function getAppByVersion(payload5) {
|
|
|
97246
97341
|
_refInnerElementDefaults,
|
|
97247
97342
|
_richContent,
|
|
97248
97343
|
_richContentOptions,
|
|
97344
|
+
_scheduling,
|
|
97249
97345
|
_schema,
|
|
97250
97346
|
_schemaGroup,
|
|
97251
97347
|
_shippingLabelCarrierSpiConfig,
|
|
97252
97348
|
_shippingProviderConfig,
|
|
97253
97349
|
_signature,
|
|
97350
|
+
_step,
|
|
97254
97351
|
_studioWidgetComponentData,
|
|
97255
97352
|
_styleItem,
|
|
97256
97353
|
_submitSettings,
|
|
97354
|
+
_tags,
|
|
97355
|
+
_tagsOption,
|
|
97257
97356
|
_textInput,
|
|
97258
97357
|
_thankYouMessageOptions,
|
|
97259
97358
|
_timeInput,
|
|
@@ -98037,6 +98136,7 @@ function listAppTemplates(payload5) {
|
|
|
98037
98136
|
init_esm_shims();
|
|
98038
98137
|
var __Array2 = {
|
|
98039
98138
|
checkboxGroupOptions: "_checkboxGroup",
|
|
98139
|
+
tagsOptions: "_tags",
|
|
98040
98140
|
validation: "_arrayType"
|
|
98041
98141
|
};
|
|
98042
98142
|
var __Boolean2 = { checkboxOptions: "_checkbox" };
|
|
@@ -98058,6 +98158,7 @@ var __String2 = {
|
|
|
98058
98158
|
};
|
|
98059
98159
|
var _actionProviderSPIConfig2 = { actionConfig: "_actionSPIConfig" };
|
|
98060
98160
|
var _actionSPIConfig2 = { icon: "_commonImage" };
|
|
98161
|
+
var _address2 = { multilineAddressOptions: "_multilineAddress" };
|
|
98061
98162
|
var _adminConfigurableTextInput2 = {
|
|
98062
98163
|
requiredSettings: "google.protobuf.FieldMask",
|
|
98063
98164
|
adminConfigurableSettings: "google.protobuf.FieldMask"
|
|
@@ -98070,6 +98171,7 @@ var _api_Number = {
|
|
|
98070
98171
|
};
|
|
98071
98172
|
var _apiArrayItems = { data: "_dataItems", dataItem: "_dataItem" };
|
|
98072
98173
|
var _appEmbedData2 = { image: "_media" };
|
|
98174
|
+
var _appointment2 = { description: "_richContent" };
|
|
98073
98175
|
var _arrayItems2 = {
|
|
98074
98176
|
numberOptions: "_numberType",
|
|
98075
98177
|
objectOptions: "_objectType"
|
|
@@ -98078,12 +98180,17 @@ var _arrayType2 = { items: "_arrayItems" };
|
|
|
98078
98180
|
var _audioData2 = { audio: "_media", coverImage: "_media" };
|
|
98079
98181
|
var _authenticatorConfig2 = { expectedInputs: "_expectedInputs" };
|
|
98080
98182
|
var _background2 = { image: "_media" };
|
|
98183
|
+
var _breakPoint2 = { items: "_itemLayout" };
|
|
98081
98184
|
var _breakpointPresetStyleOverrides2 = {
|
|
98082
98185
|
default: "_presetStyleOverrides",
|
|
98083
98186
|
small: "_presetStyleOverrides"
|
|
98084
98187
|
};
|
|
98085
98188
|
var _checkbox2 = { label: "_richContent" };
|
|
98086
|
-
var _checkboxGroup2 = {
|
|
98189
|
+
var _checkboxGroup2 = {
|
|
98190
|
+
description: "_richContent",
|
|
98191
|
+
options: "_option",
|
|
98192
|
+
media: "_mediaItem"
|
|
98193
|
+
};
|
|
98087
98194
|
var _commonImage2 = {
|
|
98088
98195
|
urlExpirationDate: "google.protobuf.Timestamp",
|
|
98089
98196
|
focalPoint: "_focalPoint"
|
|
@@ -98113,11 +98220,15 @@ var _cssNumber2 = {
|
|
|
98113
98220
|
maximum: "google.protobuf.FloatValue",
|
|
98114
98221
|
multipleOf: "google.protobuf.FloatValue"
|
|
98115
98222
|
};
|
|
98116
|
-
var _dataItem2 = {
|
|
98223
|
+
var _dataItem2 = {
|
|
98224
|
+
number: "_api_Number",
|
|
98225
|
+
arrayItems: "_apiArrayItems",
|
|
98226
|
+
data: "_dataItems"
|
|
98227
|
+
};
|
|
98117
98228
|
var _dataItems2 = { items: "Map#_dataItem" };
|
|
98118
|
-
var _dateInput2 = { description: "_richContent" };
|
|
98119
|
-
var _datePicker2 = { description: "_richContent" };
|
|
98120
|
-
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" };
|
|
98121
98232
|
var _description2 = { representativeImage: "_commonImage" };
|
|
98122
98233
|
var _design2 = { poll: "_pollDesign" };
|
|
98123
98234
|
var _devCenterTestingComponentData2 = {
|
|
@@ -98130,8 +98241,8 @@ var _devCenterTestingComponentData2 = {
|
|
|
98130
98241
|
};
|
|
98131
98242
|
var _discount = { saleInfo: "_saleInfo" };
|
|
98132
98243
|
var _displayField2 = { richContentOptions: "_richContentOptions" };
|
|
98133
|
-
var _donationInput2 = { description: "_richContent" };
|
|
98134
|
-
var _dropdown2 = { description: "_richContent" };
|
|
98244
|
+
var _donationInput2 = { description: "_richContent", media: "_mediaItem" };
|
|
98245
|
+
var _dropdown2 = { description: "_richContent", media: "_mediaItem" };
|
|
98135
98246
|
var _editorElement2 = {
|
|
98136
98247
|
style: "Map#_styleItem",
|
|
98137
98248
|
data: "Map#_dataItem",
|
|
@@ -98152,13 +98263,20 @@ var _expectedInputs2 = {
|
|
|
98152
98263
|
expectedVerifyInputs: "_predefinedExpectedInput"
|
|
98153
98264
|
};
|
|
98154
98265
|
var _field2 = { inputOptions: "_inputField", displayOptions: "_displayField" };
|
|
98155
|
-
var _fileUpload2 = { description: "_richContent" };
|
|
98266
|
+
var _fileUpload2 = { description: "_richContent", media: "_mediaItem" };
|
|
98267
|
+
var _fixedPayment2 = { description: "_richContent", media: "_mediaItem" };
|
|
98156
98268
|
var _focalPoint2 = { x: "DOUBLE", y: "DOUBLE" };
|
|
98269
|
+
var _formLayout2 = {
|
|
98270
|
+
large: "_breakPoint",
|
|
98271
|
+
medium: "_breakPoint",
|
|
98272
|
+
small: "_breakPoint"
|
|
98273
|
+
};
|
|
98157
98274
|
var _formTemplate2 = {
|
|
98158
98275
|
createdDate: "google.protobuf.Timestamp",
|
|
98159
98276
|
updatedDate: "google.protobuf.Timestamp",
|
|
98160
98277
|
fields: "_field",
|
|
98161
98278
|
deletedFields: "_field",
|
|
98279
|
+
steps: "_step",
|
|
98162
98280
|
rules: "_v2Rule",
|
|
98163
98281
|
submitSettings: "_submitSettings"
|
|
98164
98282
|
};
|
|
@@ -98169,6 +98287,7 @@ var _functionsShopPriceSpiConfig2 = {
|
|
|
98169
98287
|
};
|
|
98170
98288
|
var _galleryData2 = { items: "_item", options: "_galleryOptions" };
|
|
98171
98289
|
var _galleryOptions2 = { item: "_itemStyle" };
|
|
98290
|
+
var _group2 = { items: "_itemLayout" };
|
|
98172
98291
|
var _image2 = { urlExpirationDate: "google.protobuf.Timestamp" };
|
|
98173
98292
|
var _imageData2 = { image: "_media" };
|
|
98174
98293
|
var _inlineElement2 = {
|
|
@@ -98186,13 +98305,13 @@ var _inputField2 = {
|
|
|
98186
98305
|
objectOptions: "__Object",
|
|
98187
98306
|
wixFileOptions: "_wixFile",
|
|
98188
98307
|
paymentOptions: "_payment",
|
|
98189
|
-
multilineAddressOptions: "
|
|
98190
|
-
|
|
98191
|
-
|
|
98192
|
-
multilineAddressOptions: "_multilineAddress"
|
|
98308
|
+
multilineAddressOptions: "_address",
|
|
98309
|
+
schedulingOptions: "_scheduling",
|
|
98310
|
+
addressOptions: "_address"
|
|
98193
98311
|
};
|
|
98194
98312
|
var _item2 = { image: "_itemImage", video: "_video" };
|
|
98195
98313
|
var _itemImage2 = { media: "_media" };
|
|
98314
|
+
var _itemLayout2 = { group: "_group" };
|
|
98196
98315
|
var _itemStyle2 = { ratio: "google.protobuf.DoubleValue" };
|
|
98197
98316
|
var _managedApp = {
|
|
98198
98317
|
premiumInfo: "_premiumInfo",
|
|
@@ -98211,7 +98330,7 @@ var _mediaItem2 = { image: "_upstreamWixCommonImage" };
|
|
|
98211
98330
|
var _messageContainingTranslatables2 = {
|
|
98212
98331
|
innerTranslatableRichContent: "_richContent"
|
|
98213
98332
|
};
|
|
98214
|
-
var
|
|
98333
|
+
var _multilineAddress = { description: "_richContent" };
|
|
98215
98334
|
var _multilingualTranslationSchema2 = { referenceData: "_schema" };
|
|
98216
98335
|
var _node2 = {
|
|
98217
98336
|
galleryData: "_galleryData",
|
|
@@ -98225,7 +98344,8 @@ var _node2 = {
|
|
|
98225
98344
|
};
|
|
98226
98345
|
var _numberInput2 = {
|
|
98227
98346
|
default: "google.protobuf.DoubleValue",
|
|
98228
|
-
description: "_richContent"
|
|
98347
|
+
description: "_richContent",
|
|
98348
|
+
media: "_mediaItem"
|
|
98229
98349
|
};
|
|
98230
98350
|
var _numberType2 = {
|
|
98231
98351
|
maximum: "google.protobuf.DoubleValue",
|
|
@@ -98244,9 +98364,16 @@ var _packageDimension2 = {
|
|
|
98244
98364
|
var _packageType2 = { dimension: "_packageDimension", image: "_image" };
|
|
98245
98365
|
var _payment2 = {
|
|
98246
98366
|
checkboxGroupOptions: "_productCheckboxGroup",
|
|
98247
|
-
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"
|
|
98248
98375
|
};
|
|
98249
|
-
var _phoneInput2 = { description: "_richContent" };
|
|
98376
|
+
var _phoneInput2 = { description: "_richContent", media: "_mediaItem" };
|
|
98250
98377
|
var _pluginConfig2 = { startingEnforcementDate: "google.protobuf.Timestamp" };
|
|
98251
98378
|
var _poll2 = { image: "_media", options: "_pollOption" };
|
|
98252
98379
|
var _pollData2 = { poll: "_poll", design: "_design" };
|
|
@@ -98274,15 +98401,16 @@ var _presetStyleOverrides2 = { elements: "Map#_elementStyleOverrides" };
|
|
|
98274
98401
|
var _pricingDetails = { discount: "_discount" };
|
|
98275
98402
|
var _productCheckboxGroup2 = {
|
|
98276
98403
|
description: "_richContent",
|
|
98277
|
-
options: "_productCheckboxGroupOption"
|
|
98404
|
+
options: "_productCheckboxGroupOption",
|
|
98405
|
+
media: "_mediaItem"
|
|
98278
98406
|
};
|
|
98279
98407
|
var _productCheckboxGroupOption2 = { media: "_mediaItem" };
|
|
98280
98408
|
var _propertiesType2 = {
|
|
98281
98409
|
numberOptions: "_numberType",
|
|
98282
98410
|
arrayOptions: "_arrayType"
|
|
98283
98411
|
};
|
|
98284
|
-
var _radioGroup2 = { description: "_richContent" };
|
|
98285
|
-
var _ratingInput2 = { description: "_richContent" };
|
|
98412
|
+
var _radioGroup2 = { description: "_richContent", media: "_mediaItem" };
|
|
98413
|
+
var _ratingInput2 = { description: "_richContent", media: "_mediaItem" };
|
|
98286
98414
|
var _refElement2 = {
|
|
98287
98415
|
resolvedElement: "_inlineElement",
|
|
98288
98416
|
elementsDefaults: "Map#_refInnerElementDefaults",
|
|
@@ -98295,6 +98423,7 @@ var _saleInfo = {
|
|
|
98295
98423
|
startDate: "google.protobuf.Timestamp",
|
|
98296
98424
|
endDate: "google.protobuf.Timestamp"
|
|
98297
98425
|
};
|
|
98426
|
+
var _scheduling2 = { appointmentOptions: "_appointment" };
|
|
98298
98427
|
var _schema2 = {
|
|
98299
98428
|
createdDate: "google.protobuf.Timestamp",
|
|
98300
98429
|
updatedDate: "google.protobuf.Timestamp",
|
|
@@ -98306,16 +98435,23 @@ var _schemaGroup2 = {
|
|
|
98306
98435
|
};
|
|
98307
98436
|
var _shippingLabelCarrierSpiConfig2 = { packageTypes: "_packageType" };
|
|
98308
98437
|
var _shippingProviderConfig2 = { shippingPrice: "DOUBLE" };
|
|
98309
|
-
var _signature2 = { description: "_richContent" };
|
|
98438
|
+
var _signature2 = { description: "_richContent", media: "_mediaItem" };
|
|
98439
|
+
var _step2 = { layout: "_formLayout" };
|
|
98310
98440
|
var _studioWidgetComponentData2 = {
|
|
98311
98441
|
widgetDisplay: "_widgetDisplay",
|
|
98312
98442
|
editorPresence: "_editorPresence"
|
|
98313
98443
|
};
|
|
98314
98444
|
var _styleItem2 = { number: "_cssNumber" };
|
|
98315
98445
|
var _submitSettings2 = { thankYouMessageOptions: "_thankYouMessageOptions" };
|
|
98316
|
-
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" };
|
|
98317
98453
|
var _thankYouMessageOptions2 = { richContent: "_richContent" };
|
|
98318
|
-
var _timeInput2 = { description: "_richContent" };
|
|
98454
|
+
var _timeInput2 = { description: "_richContent", media: "_mediaItem" };
|
|
98319
98455
|
var _upstreamWixCommonImage = {
|
|
98320
98456
|
urlExpirationDate: "google.protobuf.Timestamp"
|
|
98321
98457
|
};
|
|
@@ -98409,16 +98545,19 @@ function managedApps(payload5) {
|
|
|
98409
98545
|
__String: __String2,
|
|
98410
98546
|
_actionProviderSPIConfig: _actionProviderSPIConfig2,
|
|
98411
98547
|
_actionSPIConfig: _actionSPIConfig2,
|
|
98548
|
+
_address: _address2,
|
|
98412
98549
|
_adminConfigurableTextInput: _adminConfigurableTextInput2,
|
|
98413
98550
|
_andCondition: _andCondition2,
|
|
98414
98551
|
_apiArrayItems,
|
|
98415
98552
|
_api_Number,
|
|
98416
98553
|
_appEmbedData: _appEmbedData2,
|
|
98554
|
+
_appointment: _appointment2,
|
|
98417
98555
|
_arrayItems: _arrayItems2,
|
|
98418
98556
|
_arrayType: _arrayType2,
|
|
98419
98557
|
_audioData: _audioData2,
|
|
98420
98558
|
_authenticatorConfig: _authenticatorConfig2,
|
|
98421
98559
|
_background: _background2,
|
|
98560
|
+
_breakPoint: _breakPoint2,
|
|
98422
98561
|
_breakpointPresetStyleOverrides: _breakpointPresetStyleOverrides2,
|
|
98423
98562
|
_checkbox: _checkbox2,
|
|
98424
98563
|
_checkboxGroup: _checkboxGroup2,
|
|
@@ -98449,20 +98588,23 @@ function managedApps(payload5) {
|
|
|
98449
98588
|
_expectedInputs: _expectedInputs2,
|
|
98450
98589
|
_field: _field2,
|
|
98451
98590
|
_fileUpload: _fileUpload2,
|
|
98591
|
+
_fixedPayment: _fixedPayment2,
|
|
98452
98592
|
_focalPoint: _focalPoint2,
|
|
98593
|
+
_formLayout: _formLayout2,
|
|
98453
98594
|
_formTemplate: _formTemplate2,
|
|
98454
98595
|
_freeTrialData,
|
|
98455
98596
|
_function,
|
|
98456
98597
|
_functionsShopPriceSpiConfig: _functionsShopPriceSpiConfig2,
|
|
98457
98598
|
_galleryData: _galleryData2,
|
|
98458
98599
|
_galleryOptions: _galleryOptions2,
|
|
98600
|
+
_group: _group2,
|
|
98459
98601
|
_image: _image2,
|
|
98460
98602
|
_imageData: _imageData2,
|
|
98461
98603
|
_inlineElement: _inlineElement2,
|
|
98462
98604
|
_inputField: _inputField2,
|
|
98463
|
-
_inputFieldMultilineAddress,
|
|
98464
98605
|
_item: _item2,
|
|
98465
98606
|
_itemImage: _itemImage2,
|
|
98607
|
+
_itemLayout: _itemLayout2,
|
|
98466
98608
|
_itemStyle: _itemStyle2,
|
|
98467
98609
|
_managedApp,
|
|
98468
98610
|
_mapData: _mapData2,
|
|
@@ -98470,7 +98612,7 @@ function managedApps(payload5) {
|
|
|
98470
98612
|
_media: _media2,
|
|
98471
98613
|
_mediaItem: _mediaItem2,
|
|
98472
98614
|
_messageContainingTranslatables: _messageContainingTranslatables2,
|
|
98473
|
-
_multilineAddress
|
|
98615
|
+
_multilineAddress,
|
|
98474
98616
|
_multilingualTranslationSchema: _multilingualTranslationSchema2,
|
|
98475
98617
|
_node: _node2,
|
|
98476
98618
|
_numberInput: _numberInput2,
|
|
@@ -98481,6 +98623,7 @@ function managedApps(payload5) {
|
|
|
98481
98623
|
_packageDimension: _packageDimension2,
|
|
98482
98624
|
_packageType: _packageType2,
|
|
98483
98625
|
_payment: _payment2,
|
|
98626
|
+
_paymentInput: _paymentInput2,
|
|
98484
98627
|
_phoneInput: _phoneInput2,
|
|
98485
98628
|
_pluginConfig: _pluginConfig2,
|
|
98486
98629
|
_poll: _poll2,
|
|
@@ -98507,14 +98650,18 @@ function managedApps(payload5) {
|
|
|
98507
98650
|
_richContent: _richContent2,
|
|
98508
98651
|
_richContentOptions: _richContentOptions2,
|
|
98509
98652
|
_saleInfo,
|
|
98653
|
+
_scheduling: _scheduling2,
|
|
98510
98654
|
_schema: _schema2,
|
|
98511
98655
|
_schemaGroup: _schemaGroup2,
|
|
98512
98656
|
_shippingLabelCarrierSpiConfig: _shippingLabelCarrierSpiConfig2,
|
|
98513
98657
|
_shippingProviderConfig: _shippingProviderConfig2,
|
|
98514
98658
|
_signature: _signature2,
|
|
98659
|
+
_step: _step2,
|
|
98515
98660
|
_studioWidgetComponentData: _studioWidgetComponentData2,
|
|
98516
98661
|
_styleItem: _styleItem2,
|
|
98517
98662
|
_submitSettings: _submitSettings2,
|
|
98663
|
+
_tags: _tags2,
|
|
98664
|
+
_tagsOption: _tagsOption2,
|
|
98518
98665
|
_textInput: _textInput2,
|
|
98519
98666
|
_thankYouMessageOptions: _thankYouMessageOptions2,
|
|
98520
98667
|
_timeInput: _timeInput2,
|
|
@@ -98790,6 +98937,10 @@ var ComponentType;
|
|
|
98790
98937
|
ComponentType3["CONTACTS_SEGMENTS_V2_FILTER_PROVIDER"] = "CONTACTS_SEGMENTS_V2_FILTER_PROVIDER";
|
|
98791
98938
|
ComponentType3["ANALYTICS_PRODUCT_CATALOG"] = "ANALYTICS_PRODUCT_CATALOG";
|
|
98792
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";
|
|
98793
98944
|
})(ComponentType || (ComponentType = {}));
|
|
98794
98945
|
var WidgetVertical;
|
|
98795
98946
|
(function(WidgetVertical3) {
|
|
@@ -98841,6 +98992,12 @@ var VerticalDocking;
|
|
|
98841
98992
|
VerticalDocking3["VCENTER"] = "VCENTER";
|
|
98842
98993
|
VerticalDocking3["BOTTOM_DOCKING"] = "BOTTOM_DOCKING";
|
|
98843
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 = {}));
|
|
98844
99001
|
var ReplacementType;
|
|
98845
99002
|
(function(ReplacementType3) {
|
|
98846
99003
|
ReplacementType3["UNKNOWN_REPLACEMENT"] = "UNKNOWN_REPLACEMENT";
|
|
@@ -99148,6 +99305,12 @@ var Status;
|
|
|
99148
99305
|
Status4["ACTIVE"] = "ACTIVE";
|
|
99149
99306
|
Status4["INACTIVE"] = "INACTIVE";
|
|
99150
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 = {}));
|
|
99151
99314
|
var TextInputDisplayType;
|
|
99152
99315
|
(function(TextInputDisplayType3) {
|
|
99153
99316
|
TextInputDisplayType3["TEXT"] = "TEXT";
|
|
@@ -99542,6 +99705,7 @@ var OAuthAppType;
|
|
|
99542
99705
|
OAuthAppType3["WEB_APP"] = "WEB_APP";
|
|
99543
99706
|
OAuthAppType3["MOBILE"] = "MOBILE";
|
|
99544
99707
|
OAuthAppType3["OTHER"] = "OTHER";
|
|
99708
|
+
OAuthAppType3["SYSTEM"] = "SYSTEM";
|
|
99545
99709
|
})(OAuthAppType || (OAuthAppType = {}));
|
|
99546
99710
|
var OAuthTechnologies;
|
|
99547
99711
|
(function(OAuthTechnologies3) {
|
|
@@ -99764,7 +99928,27 @@ var StringComponentType;
|
|
|
99764
99928
|
StringComponentType3["DATE_INPUT"] = "DATE_INPUT";
|
|
99765
99929
|
StringComponentType3["TIME_INPUT"] = "TIME_INPUT";
|
|
99766
99930
|
StringComponentType3["DATE_PICKER"] = "DATE_PICKER";
|
|
99931
|
+
StringComponentType3["SERVICES_DROPDOWN"] = "SERVICES_DROPDOWN";
|
|
99767
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 = {}));
|
|
99768
99952
|
var NumberOfColumns;
|
|
99769
99953
|
(function(NumberOfColumns3) {
|
|
99770
99954
|
NumberOfColumns3["UNKNOWN"] = "UNKNOWN";
|
|
@@ -99811,6 +99995,7 @@ var ArrayComponentType;
|
|
|
99811
99995
|
(function(ArrayComponentType3) {
|
|
99812
99996
|
ArrayComponentType3["UNKNOWN_COMPONENT_TYPE"] = "UNKNOWN_COMPONENT_TYPE";
|
|
99813
99997
|
ArrayComponentType3["CHECKBOX_GROUP"] = "CHECKBOX_GROUP";
|
|
99998
|
+
ArrayComponentType3["TAGS"] = "TAGS";
|
|
99814
99999
|
})(ArrayComponentType || (ArrayComponentType = {}));
|
|
99815
100000
|
var WixFileComponentType;
|
|
99816
100001
|
(function(WixFileComponentType3) {
|
|
@@ -99818,6 +100003,15 @@ var WixFileComponentType;
|
|
|
99818
100003
|
WixFileComponentType3["FILE_UPLOAD"] = "FILE_UPLOAD";
|
|
99819
100004
|
WixFileComponentType3["SIGNATURE"] = "SIGNATURE";
|
|
99820
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 = {}));
|
|
99821
100015
|
var UploadFileFormat;
|
|
99822
100016
|
(function(UploadFileFormat3) {
|
|
99823
100017
|
UploadFileFormat3["UNDEFINED"] = "UNDEFINED";
|
|
@@ -99832,6 +100026,8 @@ var PaymentComponentType;
|
|
|
99832
100026
|
PaymentComponentType3["UNKNOWN_COMPONENT_TYPE"] = "UNKNOWN_COMPONENT_TYPE";
|
|
99833
100027
|
PaymentComponentType3["CHECKBOX_GROUP"] = "CHECKBOX_GROUP";
|
|
99834
100028
|
PaymentComponentType3["DONATION_INPUT"] = "DONATION_INPUT";
|
|
100029
|
+
PaymentComponentType3["PAYMENT_INPUT"] = "PAYMENT_INPUT";
|
|
100030
|
+
PaymentComponentType3["FIXED_PAYMENT"] = "FIXED_PAYMENT";
|
|
99835
100031
|
})(PaymentComponentType || (PaymentComponentType = {}));
|
|
99836
100032
|
var ProductType;
|
|
99837
100033
|
(function(ProductType3) {
|
|
@@ -99845,23 +100041,29 @@ var PriceType;
|
|
|
99845
100041
|
PriceType3["FIXED_PRICE"] = "FIXED_PRICE";
|
|
99846
100042
|
PriceType3["DYNAMIC_PRICE"] = "DYNAMIC_PRICE";
|
|
99847
100043
|
})(PriceType || (PriceType = {}));
|
|
99848
|
-
var
|
|
99849
|
-
(function(
|
|
99850
|
-
|
|
99851
|
-
|
|
99852
|
-
|
|
99853
|
-
})(ImageFit || (ImageFit = {}));
|
|
99854
|
-
var MultilineAddressComponentType;
|
|
99855
|
-
(function(MultilineAddressComponentType3) {
|
|
99856
|
-
MultilineAddressComponentType3["UNKNOWN_COMPONENT_TYPE"] = "UNKNOWN_COMPONENT_TYPE";
|
|
99857
|
-
MultilineAddressComponentType3["MULTILINE_ADDRESS"] = "MULTILINE_ADDRESS";
|
|
99858
|
-
})(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 = {}));
|
|
99859
100049
|
var DefaultCountryConfigType;
|
|
99860
100050
|
(function(DefaultCountryConfigType3) {
|
|
99861
100051
|
DefaultCountryConfigType3["UNKNOWN_DEFAULT_COUNTRY"] = "UNKNOWN_DEFAULT_COUNTRY";
|
|
99862
100052
|
DefaultCountryConfigType3["BY_IP"] = "BY_IP";
|
|
99863
100053
|
DefaultCountryConfigType3["COUNTRY"] = "COUNTRY";
|
|
99864
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 = {}));
|
|
99865
100067
|
var InputType;
|
|
99866
100068
|
(function(InputType3) {
|
|
99867
100069
|
InputType3["UNKNOWN_INPUT_TYPE"] = "UNKNOWN_INPUT_TYPE";
|
|
@@ -99873,6 +100075,8 @@ var InputType;
|
|
|
99873
100075
|
InputType3["WIX_FILE"] = "WIX_FILE";
|
|
99874
100076
|
InputType3["PAYMENT"] = "PAYMENT";
|
|
99875
100077
|
InputType3["MULTILINE_ADDRESS"] = "MULTILINE_ADDRESS";
|
|
100078
|
+
InputType3["SCHEDULING"] = "SCHEDULING";
|
|
100079
|
+
InputType3["ADDRESS"] = "ADDRESS";
|
|
99876
100080
|
})(InputType || (InputType = {}));
|
|
99877
100081
|
var EmailInfoTag;
|
|
99878
100082
|
(function(EmailInfoTag3) {
|
|
@@ -100049,6 +100253,7 @@ var FactorType;
|
|
|
100049
100253
|
FactorType3["TOTP"] = "TOTP";
|
|
100050
100254
|
FactorType3["PUSH"] = "PUSH";
|
|
100051
100255
|
FactorType3["WEBAUTHN"] = "WEBAUTHN";
|
|
100256
|
+
FactorType3["RECOVERY_CODE"] = "RECOVERY_CODE";
|
|
100052
100257
|
})(FactorType || (FactorType = {}));
|
|
100053
100258
|
var MonitoringType;
|
|
100054
100259
|
(function(MonitoringType3) {
|
|
@@ -100475,6 +100680,7 @@ var DataType;
|
|
|
100475
100680
|
DataType3["arrayItems"] = "arrayItems";
|
|
100476
100681
|
DataType3["direction"] = "direction";
|
|
100477
100682
|
DataType3["menuItems"] = "menuItems";
|
|
100683
|
+
DataType3["data"] = "data";
|
|
100478
100684
|
})(DataType || (DataType = {}));
|
|
100479
100685
|
var A11yAttributes;
|
|
100480
100686
|
(function(A11yAttributes3) {
|
|
@@ -100664,6 +100870,7 @@ var Archetype;
|
|
|
100664
100870
|
Archetype3["AnimatedGraphic"] = "AnimatedGraphic";
|
|
100665
100871
|
Archetype3["Cart"] = "Cart";
|
|
100666
100872
|
Archetype3["ContactForm"] = "ContactForm";
|
|
100873
|
+
Archetype3["Frame"] = "Frame";
|
|
100667
100874
|
})(Archetype || (Archetype = {}));
|
|
100668
100875
|
var NativeStateType;
|
|
100669
100876
|
(function(NativeStateType3) {
|
|
@@ -100919,6 +101126,11 @@ var ValueConstraintType;
|
|
|
100919
101126
|
ValueConstraintType3["MIN_MAX_RANGE"] = "MIN_MAX_RANGE";
|
|
100920
101127
|
ValueConstraintType3["RANGE"] = "RANGE";
|
|
100921
101128
|
})(ValueConstraintType || (ValueConstraintType = {}));
|
|
101129
|
+
var RegionScopeScope;
|
|
101130
|
+
(function(RegionScopeScope3) {
|
|
101131
|
+
RegionScopeScope3["SPECIFIC_REGIONS"] = "SPECIFIC_REGIONS";
|
|
101132
|
+
RegionScopeScope3["WORLDWIDE"] = "WORLDWIDE";
|
|
101133
|
+
})(RegionScopeScope || (RegionScopeScope = {}));
|
|
100922
101134
|
var SaleType;
|
|
100923
101135
|
(function(SaleType2) {
|
|
100924
101136
|
SaleType2["UNKNOWN_SALE_TYPE"] = "UNKNOWN_SALE_TYPE";
|
|
@@ -101340,6 +101552,10 @@ var ComponentType2;
|
|
|
101340
101552
|
ComponentType3["CONTACTS_SEGMENTS_V2_FILTER_PROVIDER"] = "CONTACTS_SEGMENTS_V2_FILTER_PROVIDER";
|
|
101341
101553
|
ComponentType3["ANALYTICS_PRODUCT_CATALOG"] = "ANALYTICS_PRODUCT_CATALOG";
|
|
101342
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";
|
|
101343
101559
|
})(ComponentType2 || (ComponentType2 = {}));
|
|
101344
101560
|
var WidgetVertical2;
|
|
101345
101561
|
(function(WidgetVertical3) {
|
|
@@ -101391,6 +101607,12 @@ var VerticalDocking2;
|
|
|
101391
101607
|
VerticalDocking3["VCENTER"] = "VCENTER";
|
|
101392
101608
|
VerticalDocking3["BOTTOM_DOCKING"] = "BOTTOM_DOCKING";
|
|
101393
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 = {}));
|
|
101394
101616
|
var ReplacementType2;
|
|
101395
101617
|
(function(ReplacementType3) {
|
|
101396
101618
|
ReplacementType3["UNKNOWN_REPLACEMENT"] = "UNKNOWN_REPLACEMENT";
|
|
@@ -101698,6 +101920,12 @@ var Status2;
|
|
|
101698
101920
|
Status4["ACTIVE"] = "ACTIVE";
|
|
101699
101921
|
Status4["INACTIVE"] = "INACTIVE";
|
|
101700
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 = {}));
|
|
101701
101929
|
var TextInputDisplayType2;
|
|
101702
101930
|
(function(TextInputDisplayType3) {
|
|
101703
101931
|
TextInputDisplayType3["TEXT"] = "TEXT";
|
|
@@ -102092,6 +102320,7 @@ var OAuthAppType2;
|
|
|
102092
102320
|
OAuthAppType3["WEB_APP"] = "WEB_APP";
|
|
102093
102321
|
OAuthAppType3["MOBILE"] = "MOBILE";
|
|
102094
102322
|
OAuthAppType3["OTHER"] = "OTHER";
|
|
102323
|
+
OAuthAppType3["SYSTEM"] = "SYSTEM";
|
|
102095
102324
|
})(OAuthAppType2 || (OAuthAppType2 = {}));
|
|
102096
102325
|
var OAuthTechnologies2;
|
|
102097
102326
|
(function(OAuthTechnologies3) {
|
|
@@ -102314,7 +102543,27 @@ var StringComponentType2;
|
|
|
102314
102543
|
StringComponentType3["DATE_INPUT"] = "DATE_INPUT";
|
|
102315
102544
|
StringComponentType3["TIME_INPUT"] = "TIME_INPUT";
|
|
102316
102545
|
StringComponentType3["DATE_PICKER"] = "DATE_PICKER";
|
|
102546
|
+
StringComponentType3["SERVICES_DROPDOWN"] = "SERVICES_DROPDOWN";
|
|
102317
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 = {}));
|
|
102318
102567
|
var NumberOfColumns2;
|
|
102319
102568
|
(function(NumberOfColumns3) {
|
|
102320
102569
|
NumberOfColumns3["UNKNOWN"] = "UNKNOWN";
|
|
@@ -102361,6 +102610,7 @@ var ArrayComponentType2;
|
|
|
102361
102610
|
(function(ArrayComponentType3) {
|
|
102362
102611
|
ArrayComponentType3["UNKNOWN_COMPONENT_TYPE"] = "UNKNOWN_COMPONENT_TYPE";
|
|
102363
102612
|
ArrayComponentType3["CHECKBOX_GROUP"] = "CHECKBOX_GROUP";
|
|
102613
|
+
ArrayComponentType3["TAGS"] = "TAGS";
|
|
102364
102614
|
})(ArrayComponentType2 || (ArrayComponentType2 = {}));
|
|
102365
102615
|
var WixFileComponentType2;
|
|
102366
102616
|
(function(WixFileComponentType3) {
|
|
@@ -102368,6 +102618,15 @@ var WixFileComponentType2;
|
|
|
102368
102618
|
WixFileComponentType3["FILE_UPLOAD"] = "FILE_UPLOAD";
|
|
102369
102619
|
WixFileComponentType3["SIGNATURE"] = "SIGNATURE";
|
|
102370
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 = {}));
|
|
102371
102630
|
var UploadFileFormat2;
|
|
102372
102631
|
(function(UploadFileFormat3) {
|
|
102373
102632
|
UploadFileFormat3["UNDEFINED"] = "UNDEFINED";
|
|
@@ -102382,6 +102641,8 @@ var PaymentComponentType2;
|
|
|
102382
102641
|
PaymentComponentType3["UNKNOWN_COMPONENT_TYPE"] = "UNKNOWN_COMPONENT_TYPE";
|
|
102383
102642
|
PaymentComponentType3["CHECKBOX_GROUP"] = "CHECKBOX_GROUP";
|
|
102384
102643
|
PaymentComponentType3["DONATION_INPUT"] = "DONATION_INPUT";
|
|
102644
|
+
PaymentComponentType3["PAYMENT_INPUT"] = "PAYMENT_INPUT";
|
|
102645
|
+
PaymentComponentType3["FIXED_PAYMENT"] = "FIXED_PAYMENT";
|
|
102385
102646
|
})(PaymentComponentType2 || (PaymentComponentType2 = {}));
|
|
102386
102647
|
var ProductType2;
|
|
102387
102648
|
(function(ProductType3) {
|
|
@@ -102395,23 +102656,29 @@ var PriceType2;
|
|
|
102395
102656
|
PriceType3["FIXED_PRICE"] = "FIXED_PRICE";
|
|
102396
102657
|
PriceType3["DYNAMIC_PRICE"] = "DYNAMIC_PRICE";
|
|
102397
102658
|
})(PriceType2 || (PriceType2 = {}));
|
|
102398
|
-
var
|
|
102399
|
-
(function(
|
|
102400
|
-
|
|
102401
|
-
|
|
102402
|
-
|
|
102403
|
-
})(ImageFit2 || (ImageFit2 = {}));
|
|
102404
|
-
var MultilineAddressComponentType2;
|
|
102405
|
-
(function(MultilineAddressComponentType3) {
|
|
102406
|
-
MultilineAddressComponentType3["UNKNOWN_COMPONENT_TYPE"] = "UNKNOWN_COMPONENT_TYPE";
|
|
102407
|
-
MultilineAddressComponentType3["MULTILINE_ADDRESS"] = "MULTILINE_ADDRESS";
|
|
102408
|
-
})(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 = {}));
|
|
102409
102664
|
var DefaultCountryConfigType2;
|
|
102410
102665
|
(function(DefaultCountryConfigType3) {
|
|
102411
102666
|
DefaultCountryConfigType3["UNKNOWN_DEFAULT_COUNTRY"] = "UNKNOWN_DEFAULT_COUNTRY";
|
|
102412
102667
|
DefaultCountryConfigType3["BY_IP"] = "BY_IP";
|
|
102413
102668
|
DefaultCountryConfigType3["COUNTRY"] = "COUNTRY";
|
|
102414
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 = {}));
|
|
102415
102682
|
var InputType2;
|
|
102416
102683
|
(function(InputType3) {
|
|
102417
102684
|
InputType3["UNKNOWN_INPUT_TYPE"] = "UNKNOWN_INPUT_TYPE";
|
|
@@ -102423,6 +102690,8 @@ var InputType2;
|
|
|
102423
102690
|
InputType3["WIX_FILE"] = "WIX_FILE";
|
|
102424
102691
|
InputType3["PAYMENT"] = "PAYMENT";
|
|
102425
102692
|
InputType3["MULTILINE_ADDRESS"] = "MULTILINE_ADDRESS";
|
|
102693
|
+
InputType3["SCHEDULING"] = "SCHEDULING";
|
|
102694
|
+
InputType3["ADDRESS"] = "ADDRESS";
|
|
102426
102695
|
})(InputType2 || (InputType2 = {}));
|
|
102427
102696
|
var EmailInfoTag2;
|
|
102428
102697
|
(function(EmailInfoTag3) {
|
|
@@ -102599,6 +102868,7 @@ var FactorType2;
|
|
|
102599
102868
|
FactorType3["TOTP"] = "TOTP";
|
|
102600
102869
|
FactorType3["PUSH"] = "PUSH";
|
|
102601
102870
|
FactorType3["WEBAUTHN"] = "WEBAUTHN";
|
|
102871
|
+
FactorType3["RECOVERY_CODE"] = "RECOVERY_CODE";
|
|
102602
102872
|
})(FactorType2 || (FactorType2 = {}));
|
|
102603
102873
|
var MonitoringType2;
|
|
102604
102874
|
(function(MonitoringType3) {
|
|
@@ -103025,6 +103295,7 @@ var DataType2;
|
|
|
103025
103295
|
DataType3["arrayItems"] = "arrayItems";
|
|
103026
103296
|
DataType3["direction"] = "direction";
|
|
103027
103297
|
DataType3["menuItems"] = "menuItems";
|
|
103298
|
+
DataType3["data"] = "data";
|
|
103028
103299
|
})(DataType2 || (DataType2 = {}));
|
|
103029
103300
|
var A11yAttributes2;
|
|
103030
103301
|
(function(A11yAttributes3) {
|
|
@@ -103214,6 +103485,7 @@ var Archetype2;
|
|
|
103214
103485
|
Archetype3["AnimatedGraphic"] = "AnimatedGraphic";
|
|
103215
103486
|
Archetype3["Cart"] = "Cart";
|
|
103216
103487
|
Archetype3["ContactForm"] = "ContactForm";
|
|
103488
|
+
Archetype3["Frame"] = "Frame";
|
|
103217
103489
|
})(Archetype2 || (Archetype2 = {}));
|
|
103218
103490
|
var NativeStateType2;
|
|
103219
103491
|
(function(NativeStateType3) {
|
|
@@ -103469,6 +103741,11 @@ var ValueConstraintType2;
|
|
|
103469
103741
|
ValueConstraintType3["MIN_MAX_RANGE"] = "MIN_MAX_RANGE";
|
|
103470
103742
|
ValueConstraintType3["RANGE"] = "RANGE";
|
|
103471
103743
|
})(ValueConstraintType2 || (ValueConstraintType2 = {}));
|
|
103744
|
+
var RegionScopeScope2;
|
|
103745
|
+
(function(RegionScopeScope3) {
|
|
103746
|
+
RegionScopeScope3["SPECIFIC_REGIONS"] = "SPECIFIC_REGIONS";
|
|
103747
|
+
RegionScopeScope3["WORLDWIDE"] = "WORLDWIDE";
|
|
103748
|
+
})(RegionScopeScope2 || (RegionScopeScope2 = {}));
|
|
103472
103749
|
var OpenConsentIn2;
|
|
103473
103750
|
(function(OpenConsentIn3) {
|
|
103474
103751
|
OpenConsentIn3["NONE_VALUE"] = "NONE_VALUE";
|
|
@@ -104149,10 +104426,10 @@ var DevCenterClient = class {
|
|
|
104149
104426
|
|
|
104150
104427
|
// ../dev-center-client/src/useDevCenterClient.ts
|
|
104151
104428
|
init_esm_shims();
|
|
104152
|
-
var
|
|
104429
|
+
var import_react99 = __toESM(require_react(), 1);
|
|
104153
104430
|
function useDevCenterClient() {
|
|
104154
104431
|
const httpClient = useHttpClient({ type: "backoffice" });
|
|
104155
|
-
return (0,
|
|
104432
|
+
return (0, import_react99.useMemo)(() => new DevCenterClient(httpClient), [httpClient]);
|
|
104156
104433
|
}
|
|
104157
104434
|
|
|
104158
104435
|
// ../metasite-manager-client/src/index.ts
|
|
@@ -104160,7 +104437,7 @@ init_esm_shims();
|
|
|
104160
104437
|
|
|
104161
104438
|
// ../metasite-manager-client/src/useMetasiteManagerClient.ts
|
|
104162
104439
|
init_esm_shims();
|
|
104163
|
-
var
|
|
104440
|
+
var import_react100 = __toESM(require_react(), 1);
|
|
104164
104441
|
|
|
104165
104442
|
// ../metasite-manager-client/src/metasite-manager-client.ts
|
|
104166
104443
|
init_esm_shims();
|
|
@@ -104327,7 +104604,7 @@ var MetasiteManagerClient = class {
|
|
|
104327
104604
|
// ../metasite-manager-client/src/useMetasiteManagerClient.ts
|
|
104328
104605
|
function useMetasiteManagerClient() {
|
|
104329
104606
|
const httpClient = useHttpClient({ type: "general" });
|
|
104330
|
-
return (0,
|
|
104607
|
+
return (0, import_react100.useMemo)(() => new MetasiteManagerClient(httpClient), [httpClient]);
|
|
104331
104608
|
}
|
|
104332
104609
|
|
|
104333
104610
|
// ../backend-as-a-service-client/src/index.ts
|
|
@@ -104335,7 +104612,7 @@ init_esm_shims();
|
|
|
104335
104612
|
|
|
104336
104613
|
// ../backend-as-a-service-client/src/useBackendAsAServiceClient.ts
|
|
104337
104614
|
init_esm_shims();
|
|
104338
|
-
var
|
|
104615
|
+
var import_react101 = __toESM(require_react(), 1);
|
|
104339
104616
|
|
|
104340
104617
|
// ../backend-as-a-service-client/src/backend-as-a-service-client.ts
|
|
104341
104618
|
init_esm_shims();
|
|
@@ -104792,7 +105069,7 @@ var BackendAsAServiceClient = class {
|
|
|
104792
105069
|
// ../backend-as-a-service-client/src/useBackendAsAServiceClient.ts
|
|
104793
105070
|
function useBackendAsAServiceClient() {
|
|
104794
105071
|
const httpClient = useHttpClient({ type: "backoffice" });
|
|
104795
|
-
return (0,
|
|
105072
|
+
return (0, import_react101.useMemo)(() => new BackendAsAServiceClient(httpClient), [httpClient]);
|
|
104796
105073
|
}
|
|
104797
105074
|
|
|
104798
105075
|
// src/hooks/create-project.ts
|
|
@@ -104857,17 +105134,17 @@ var useCreateProject = (businessId) => {
|
|
|
104857
105134
|
// src/components/CreateProject.tsx
|
|
104858
105135
|
var CreateProject = ({ onSubmit, projectName: providedProjectName, businessId }) => {
|
|
104859
105136
|
const { status, execute } = useCreateProject(businessId);
|
|
104860
|
-
(0,
|
|
105137
|
+
(0, import_react102.useEffect)(() => {
|
|
104861
105138
|
if ((0, import_variant31.isType)(status, "Success")) {
|
|
104862
105139
|
onSubmit(status.result);
|
|
104863
105140
|
}
|
|
104864
105141
|
}, [status, onSubmit]);
|
|
104865
|
-
(0,
|
|
105142
|
+
(0, import_react102.useEffect)(() => {
|
|
104866
105143
|
if (providedProjectName) {
|
|
104867
105144
|
void execute({ projectName: providedProjectName });
|
|
104868
105145
|
}
|
|
104869
105146
|
}, [providedProjectName, execute]);
|
|
104870
|
-
const validate3 = (0,
|
|
105147
|
+
const validate3 = (0, import_react102.useCallback)(async (projectName) => {
|
|
104871
105148
|
try {
|
|
104872
105149
|
validateProjectName(projectName);
|
|
104873
105150
|
return true;
|
|
@@ -104875,7 +105152,7 @@ var CreateProject = ({ onSubmit, projectName: providedProjectName, businessId })
|
|
|
104875
105152
|
return e2.message;
|
|
104876
105153
|
}
|
|
104877
105154
|
}, []);
|
|
104878
|
-
return /* @__PURE__ */
|
|
105155
|
+
return /* @__PURE__ */ import_react102.default.createElement(import_react102.default.Fragment, null, !providedProjectName && /* @__PURE__ */ import_react102.default.createElement(
|
|
104879
105156
|
TextInput2,
|
|
104880
105157
|
{
|
|
104881
105158
|
label: "What's the name of your Custom Frontend project?",
|
|
@@ -104885,15 +105162,15 @@ var CreateProject = ({ onSubmit, projectName: providedProjectName, businessId })
|
|
|
104885
105162
|
}
|
|
104886
105163
|
), (0, import_variant31.match)(status, {
|
|
104887
105164
|
Error: () => null,
|
|
104888
|
-
Loading: () => /* @__PURE__ */
|
|
104889
|
-
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"))),
|
|
104890
105167
|
NotRequested: () => null
|
|
104891
105168
|
}));
|
|
104892
105169
|
};
|
|
104893
105170
|
|
|
104894
105171
|
// src/components/LinkCommand/GenerateProject.tsx
|
|
104895
105172
|
init_esm_shims();
|
|
104896
|
-
var
|
|
105173
|
+
var import_react105 = __toESM(require_react(), 1);
|
|
104897
105174
|
var import_variant34 = __toESM(require_lib(), 1);
|
|
104898
105175
|
|
|
104899
105176
|
// ../cli-astro-definitions/src/index.ts
|
|
@@ -114326,7 +114603,7 @@ async function getUniqueExtensionPath(projectFolder, extensionPath, suffix) {
|
|
|
114326
114603
|
|
|
114327
114604
|
// src/task-runner.ts
|
|
114328
114605
|
init_esm_shims();
|
|
114329
|
-
var
|
|
114606
|
+
var import_react103 = __toESM(require_react(), 1);
|
|
114330
114607
|
var import_variant33 = __toESM(require_lib(), 1);
|
|
114331
114608
|
var TaskRunnerStatus = (0, import_variant33.variant)({
|
|
114332
114609
|
Idle: {},
|
|
@@ -114352,7 +114629,7 @@ var TaskRunnerStatus = (0, import_variant33.variant)({
|
|
|
114352
114629
|
}
|
|
114353
114630
|
});
|
|
114354
114631
|
function useTaskRunner() {
|
|
114355
|
-
const [status, setStatus] = (0,
|
|
114632
|
+
const [status, setStatus] = (0, import_react103.useState)(
|
|
114356
114633
|
TaskRunnerStatus.Idle()
|
|
114357
114634
|
);
|
|
114358
114635
|
const { execute } = useAsyncCallback3(async (_2, tasks) => {
|
|
@@ -114372,25 +114649,25 @@ function useTaskRunner() {
|
|
|
114372
114649
|
|
|
114373
114650
|
// src/components/TaskList.tsx
|
|
114374
114651
|
init_esm_shims();
|
|
114375
|
-
var
|
|
114652
|
+
var import_react104 = __toESM(require_react(), 1);
|
|
114376
114653
|
var TaskList = ({ tasks, totalTaskCount }) => {
|
|
114377
|
-
return /* @__PURE__ */
|
|
114654
|
+
return /* @__PURE__ */ import_react104.default.createElement(import_react104.default.Fragment, null, tasks.map((task, index) => {
|
|
114378
114655
|
const stepper = `[${index + 1}/${totalTaskCount}]`;
|
|
114379
114656
|
const fullText = `${stepper} ${task.text}`;
|
|
114380
114657
|
if (task.status === "running") {
|
|
114381
|
-
return /* @__PURE__ */
|
|
114658
|
+
return /* @__PURE__ */ import_react104.default.createElement(Spinner2, { key: index, text: fullText });
|
|
114382
114659
|
}
|
|
114383
|
-
return /* @__PURE__ */
|
|
114660
|
+
return /* @__PURE__ */ import_react104.default.createElement(Alert, { key: index, type: "success" }, fullText);
|
|
114384
114661
|
}));
|
|
114385
114662
|
};
|
|
114386
114663
|
|
|
114387
114664
|
// src/components/LinkCommand/GenerateProject.tsx
|
|
114388
114665
|
var GenerationProgress = ({ tasks, totalTaskCount }) => {
|
|
114389
|
-
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 }));
|
|
114390
114667
|
};
|
|
114391
114668
|
var GenerateProject = ({ projectFolder, businessId, projectData, onDone, packageManager }) => {
|
|
114392
114669
|
const { execute: executeTaskRunner, status: taskRunnerStatus } = useTaskRunner();
|
|
114393
|
-
const generateProject = (0,
|
|
114670
|
+
const generateProject = (0, import_react105.useCallback)(async () => {
|
|
114394
114671
|
const wixConfigFilePath = getWixConfigFilePath(projectFolder);
|
|
114395
114672
|
const envFilePath = getEnvFilePath(projectFolder);
|
|
114396
114673
|
await writeJson(
|
|
@@ -114403,10 +114680,10 @@ var GenerateProject = ({ projectFolder, businessId, projectData, onDone, package
|
|
|
114403
114680
|
);
|
|
114404
114681
|
await updateEnvFile(envFilePath, projectData.environmentVariables);
|
|
114405
114682
|
}, [businessId, projectFolder, projectData]);
|
|
114406
|
-
const extendProject = (0,
|
|
114683
|
+
const extendProject = (0, import_react105.useCallback)(async () => {
|
|
114407
114684
|
await extend2(projectFolder);
|
|
114408
114685
|
}, [projectFolder]);
|
|
114409
|
-
const installDependencies = (0,
|
|
114686
|
+
const installDependencies = (0, import_react105.useCallback)(async () => {
|
|
114410
114687
|
try {
|
|
114411
114688
|
await packageManager.runInstall(projectFolder);
|
|
114412
114689
|
} catch (e2) {
|
|
@@ -114416,7 +114693,7 @@ var GenerateProject = ({ projectFolder, businessId, projectData, onDone, package
|
|
|
114416
114693
|
});
|
|
114417
114694
|
}
|
|
114418
114695
|
}, [projectFolder, packageManager]);
|
|
114419
|
-
const tasks = (0,
|
|
114696
|
+
const tasks = (0, import_react105.useMemo)(() => {
|
|
114420
114697
|
const result = [
|
|
114421
114698
|
{
|
|
114422
114699
|
action: generateProject,
|
|
@@ -114442,16 +114719,16 @@ var GenerateProject = ({ projectFolder, businessId, projectData, onDone, package
|
|
|
114442
114719
|
}, []);
|
|
114443
114720
|
return (0, import_variant34.match)(taskRunnerStatus, {
|
|
114444
114721
|
Idle: () => null,
|
|
114445
|
-
Running: (status) => /* @__PURE__ */
|
|
114446
|
-
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"))))
|
|
114447
114724
|
});
|
|
114448
114725
|
};
|
|
114449
114726
|
|
|
114450
114727
|
// src/components/LinkCommand/FinishedSuccessfullyMessage.tsx
|
|
114451
114728
|
init_esm_shims();
|
|
114452
|
-
var
|
|
114729
|
+
var import_react106 = __toESM(require_react(), 1);
|
|
114453
114730
|
var FinishedSuccessfullyMessage = ({ packageManager }) => {
|
|
114454
|
-
return /* @__PURE__ */
|
|
114731
|
+
return /* @__PURE__ */ import_react106.default.createElement(
|
|
114455
114732
|
Box_default,
|
|
114456
114733
|
{
|
|
114457
114734
|
borderColor: "blue",
|
|
@@ -114463,8 +114740,8 @@ var FinishedSuccessfullyMessage = ({ packageManager }) => {
|
|
|
114463
114740
|
marginLeft: -2,
|
|
114464
114741
|
marginTop: 1
|
|
114465
114742
|
},
|
|
114466
|
-
/* @__PURE__ */
|
|
114467
|
-
/* @__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")))
|
|
114468
114745
|
);
|
|
114469
114746
|
};
|
|
114470
114747
|
|
|
@@ -114485,10 +114762,10 @@ var LinkCommand = ({
|
|
|
114485
114762
|
projectName: preEnteredProjectName,
|
|
114486
114763
|
businessName: preEnteredBusinessName
|
|
114487
114764
|
}) => {
|
|
114488
|
-
const [businessName, setBusinessName] = (0,
|
|
114489
|
-
const [businessId, setBusinessId] = (0,
|
|
114490
|
-
const [projectData, setProjectData] = (0,
|
|
114491
|
-
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);
|
|
114492
114769
|
const { status } = useAsync2(async () => {
|
|
114493
114770
|
const alreadyLinked = await isWixConfigExists(projectFolder);
|
|
114494
114771
|
if (alreadyLinked) {
|
|
@@ -114510,9 +114787,9 @@ var LinkCommand = ({
|
|
|
114510
114787
|
}, []);
|
|
114511
114788
|
return (0, import_variant35.match)(status, {
|
|
114512
114789
|
Error: () => null,
|
|
114513
|
-
Loading: () => /* @__PURE__ */
|
|
114790
|
+
Loading: () => /* @__PURE__ */ import_react107.default.createElement(Spinner2, { text: "Loading..." }),
|
|
114514
114791
|
Success: ({ result: { packageManager } }) => {
|
|
114515
|
-
return /* @__PURE__ */
|
|
114792
|
+
return /* @__PURE__ */ import_react107.default.createElement(
|
|
114516
114793
|
Box_default,
|
|
114517
114794
|
{
|
|
114518
114795
|
flexDirection: "column",
|
|
@@ -114523,14 +114800,14 @@ var LinkCommand = ({
|
|
|
114523
114800
|
borderTop: false,
|
|
114524
114801
|
paddingLeft: 1
|
|
114525
114802
|
},
|
|
114526
|
-
/* @__PURE__ */
|
|
114527
|
-
!preEnteredBusinessName && /* @__PURE__ */
|
|
114803
|
+
/* @__PURE__ */ import_react107.default.createElement(WelcomeMessage, null),
|
|
114804
|
+
!preEnteredBusinessName && /* @__PURE__ */ import_react107.default.createElement(
|
|
114528
114805
|
ChooseBusinessName,
|
|
114529
114806
|
{
|
|
114530
114807
|
onSubmit: ({ businessName: businessName2 }) => setBusinessName(businessName2)
|
|
114531
114808
|
}
|
|
114532
114809
|
),
|
|
114533
|
-
businessName && /* @__PURE__ */
|
|
114810
|
+
businessName && /* @__PURE__ */ import_react107.default.createElement(AccountAuthProvider, null, /* @__PURE__ */ import_react107.default.createElement(
|
|
114534
114811
|
CreateBusiness,
|
|
114535
114812
|
{
|
|
114536
114813
|
businessName,
|
|
@@ -114538,7 +114815,7 @@ var LinkCommand = ({
|
|
|
114538
114815
|
onDone: ({ businessId: businessId2 }) => setBusinessId(businessId2)
|
|
114539
114816
|
}
|
|
114540
114817
|
)),
|
|
114541
|
-
businessName && businessId && /* @__PURE__ */
|
|
114818
|
+
businessName && businessId && /* @__PURE__ */ import_react107.default.createElement(SiteAuthProvider, { siteId: businessId }, /* @__PURE__ */ import_react107.default.createElement(
|
|
114542
114819
|
CreateProject,
|
|
114543
114820
|
{
|
|
114544
114821
|
businessId,
|
|
@@ -114546,7 +114823,7 @@ var LinkCommand = ({
|
|
|
114546
114823
|
onSubmit: (data) => setProjectData(data)
|
|
114547
114824
|
}
|
|
114548
114825
|
)),
|
|
114549
|
-
businessName && businessId && projectData && /* @__PURE__ */
|
|
114826
|
+
businessName && businessId && projectData && /* @__PURE__ */ import_react107.default.createElement(
|
|
114550
114827
|
GenerateProject,
|
|
114551
114828
|
{
|
|
114552
114829
|
packageManager,
|
|
@@ -114556,7 +114833,7 @@ var LinkCommand = ({
|
|
|
114556
114833
|
onDone: () => setIsDone(true)
|
|
114557
114834
|
}
|
|
114558
114835
|
),
|
|
114559
|
-
businessName && businessId && projectData && isDone && /* @__PURE__ */
|
|
114836
|
+
businessName && businessId && projectData && isDone && /* @__PURE__ */ import_react107.default.createElement(FinishedSuccessfullyMessage, { packageManager })
|
|
114560
114837
|
);
|
|
114561
114838
|
}
|
|
114562
114839
|
});
|
|
@@ -114595,7 +114872,7 @@ function validateTemplateParams(value2) {
|
|
|
114595
114872
|
|
|
114596
114873
|
// src/components/ProcessCommand.tsx
|
|
114597
114874
|
init_esm_shims();
|
|
114598
|
-
var
|
|
114875
|
+
var import_react114 = __toESM(require_react(), 1);
|
|
114599
114876
|
var import_variant43 = __toESM(require_lib(), 1);
|
|
114600
114877
|
|
|
114601
114878
|
// src/parse-command-options.ts
|
|
@@ -115404,12 +115681,12 @@ async function parseCommandOptions(targetParentFolder2, options) {
|
|
|
115404
115681
|
|
|
115405
115682
|
// src/components/CreateHeadlessSiteCommand.tsx
|
|
115406
115683
|
init_esm_shims();
|
|
115407
|
-
var
|
|
115684
|
+
var import_react113 = __toESM(require_react(), 1);
|
|
115408
115685
|
var import_variant42 = __toESM(require_lib(), 1);
|
|
115409
115686
|
|
|
115410
115687
|
// src/components/ChooseFolder.tsx
|
|
115411
115688
|
init_esm_shims();
|
|
115412
|
-
var
|
|
115689
|
+
var import_react108 = __toESM(require_react(), 1);
|
|
115413
115690
|
var import_variant38 = __toESM(require_lib(), 1);
|
|
115414
115691
|
import { join as join18 } from "node:path";
|
|
115415
115692
|
var validateAppDirectory = async (targetParentFolder2, packageName) => {
|
|
@@ -115423,11 +115700,11 @@ var validateAppDirectory = async (targetParentFolder2, packageName) => {
|
|
|
115423
115700
|
});
|
|
115424
115701
|
};
|
|
115425
115702
|
var ChooseFolder = ({ initialFolderName, targetParentFolder: targetParentFolder2, onSubmit }) => {
|
|
115426
|
-
const validate3 = (0,
|
|
115703
|
+
const validate3 = (0, import_react108.useCallback)(
|
|
115427
115704
|
async (packageName) => validateAppDirectory(targetParentFolder2, packageName),
|
|
115428
115705
|
[targetParentFolder2]
|
|
115429
115706
|
);
|
|
115430
|
-
return /* @__PURE__ */
|
|
115707
|
+
return /* @__PURE__ */ import_react108.default.createElement(
|
|
115431
115708
|
TextInput2,
|
|
115432
115709
|
{
|
|
115433
115710
|
label: "In which directory do you want to create your application?",
|
|
@@ -115442,7 +115719,7 @@ var ChooseFolder = ({ initialFolderName, targetParentFolder: targetParentFolder2
|
|
|
115442
115719
|
// src/components/GenerateProject.tsx
|
|
115443
115720
|
init_esm_shims();
|
|
115444
115721
|
import { mkdir as mkdir3 } from "node:fs/promises";
|
|
115445
|
-
var
|
|
115722
|
+
var import_react109 = __toESM(require_react(), 1);
|
|
115446
115723
|
var import_variant39 = __toESM(require_lib(), 1);
|
|
115447
115724
|
import { join as join20 } from "node:path";
|
|
115448
115725
|
|
|
@@ -115487,7 +115764,7 @@ async function fetchTemplate(url2, path8 = ".") {
|
|
|
115487
115764
|
// src/components/GenerateProject.tsx
|
|
115488
115765
|
var headlessTemplatesGitUrl = "https://github.com/wix/headless-templates.git";
|
|
115489
115766
|
var GenerationProgress2 = ({ tasks, totalTaskCount }) => {
|
|
115490
|
-
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 }));
|
|
115491
115768
|
};
|
|
115492
115769
|
var GenerateProject2 = ({
|
|
115493
115770
|
repoType,
|
|
@@ -115502,11 +115779,11 @@ var GenerateProject2 = ({
|
|
|
115502
115779
|
}) => {
|
|
115503
115780
|
const { reportError: reportError2 } = useErrorReporter();
|
|
115504
115781
|
const { execute: executeTaskRunner, status: taskRunnerStatus } = useTaskRunner();
|
|
115505
|
-
const packageFolder = (0,
|
|
115782
|
+
const packageFolder = (0, import_react109.useMemo)(
|
|
115506
115783
|
() => join20(targetParentFolder2, folderName),
|
|
115507
115784
|
[folderName, targetParentFolder2]
|
|
115508
115785
|
);
|
|
115509
|
-
const generateProject = (0,
|
|
115786
|
+
const generateProject = (0, import_react109.useCallback)(async () => {
|
|
115510
115787
|
try {
|
|
115511
115788
|
await mkdir3(packageFolder, { recursive: true });
|
|
115512
115789
|
} catch (e2) {
|
|
@@ -115547,7 +115824,7 @@ var GenerateProject2 = ({
|
|
|
115547
115824
|
selectedTemplate,
|
|
115548
115825
|
commandOptions.templateParams
|
|
115549
115826
|
]);
|
|
115550
|
-
const extendProject = (0,
|
|
115827
|
+
const extendProject = (0, import_react109.useCallback)(async () => {
|
|
115551
115828
|
await extend2(packageFolder);
|
|
115552
115829
|
try {
|
|
115553
115830
|
await addFilesFromTemplate(
|
|
@@ -115566,7 +115843,7 @@ var GenerateProject2 = ({
|
|
|
115566
115843
|
packageManager,
|
|
115567
115844
|
repoType
|
|
115568
115845
|
]);
|
|
115569
|
-
const initializeGit = (0,
|
|
115846
|
+
const initializeGit = (0, import_react109.useCallback)(async () => {
|
|
115570
115847
|
try {
|
|
115571
115848
|
await gitInit(packageFolder);
|
|
115572
115849
|
} catch (e2) {
|
|
@@ -115576,7 +115853,7 @@ var GenerateProject2 = ({
|
|
|
115576
115853
|
});
|
|
115577
115854
|
}
|
|
115578
115855
|
}, [packageFolder]);
|
|
115579
|
-
const installDependencies = (0,
|
|
115856
|
+
const installDependencies = (0, import_react109.useCallback)(async () => {
|
|
115580
115857
|
try {
|
|
115581
115858
|
await packageManager.runInstall(packageFolder);
|
|
115582
115859
|
} catch (e2) {
|
|
@@ -115586,7 +115863,7 @@ var GenerateProject2 = ({
|
|
|
115586
115863
|
});
|
|
115587
115864
|
}
|
|
115588
115865
|
}, [packageFolder, packageManager]);
|
|
115589
|
-
const commitToGit = (0,
|
|
115866
|
+
const commitToGit = (0, import_react109.useCallback)(async () => {
|
|
115590
115867
|
try {
|
|
115591
115868
|
await gitCommit(packageFolder);
|
|
115592
115869
|
} catch (e2) {
|
|
@@ -115596,7 +115873,7 @@ var GenerateProject2 = ({
|
|
|
115596
115873
|
});
|
|
115597
115874
|
}
|
|
115598
115875
|
}, [packageFolder]);
|
|
115599
|
-
const tasks = (0,
|
|
115876
|
+
const tasks = (0, import_react109.useMemo)(() => {
|
|
115600
115877
|
const result = [
|
|
115601
115878
|
{
|
|
115602
115879
|
action: generateProject,
|
|
@@ -115646,16 +115923,16 @@ var GenerateProject2 = ({
|
|
|
115646
115923
|
}, []);
|
|
115647
115924
|
return (0, import_variant39.match)(taskRunnerStatus, {
|
|
115648
115925
|
Idle: () => null,
|
|
115649
|
-
Running: (status) => /* @__PURE__ */
|
|
115650
|
-
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"))))
|
|
115651
115928
|
});
|
|
115652
115929
|
};
|
|
115653
115930
|
|
|
115654
115931
|
// src/components/ChooseTemplate.tsx
|
|
115655
115932
|
init_esm_shims();
|
|
115656
|
-
var
|
|
115933
|
+
var import_react110 = __toESM(require_react(), 1);
|
|
115657
115934
|
var ChooseTemplate = ({ onSubmit }) => {
|
|
115658
|
-
const options = (0,
|
|
115935
|
+
const options = (0, import_react110.useMemo)(() => {
|
|
115659
115936
|
return headlessTemplates.map((template) => ({
|
|
115660
115937
|
key: template.siteTemplateId,
|
|
115661
115938
|
title: template.title,
|
|
@@ -115663,7 +115940,7 @@ var ChooseTemplate = ({ onSubmit }) => {
|
|
|
115663
115940
|
value: template
|
|
115664
115941
|
}));
|
|
115665
115942
|
}, []);
|
|
115666
|
-
return /* @__PURE__ */
|
|
115943
|
+
return /* @__PURE__ */ import_react110.default.createElement(
|
|
115667
115944
|
SelectInput2,
|
|
115668
115945
|
{
|
|
115669
115946
|
label: "Choose an initial template for your business",
|
|
@@ -115675,14 +115952,14 @@ var ChooseTemplate = ({ onSubmit }) => {
|
|
|
115675
115952
|
|
|
115676
115953
|
// src/components/ReleaseProject.tsx
|
|
115677
115954
|
init_esm_shims();
|
|
115678
|
-
var
|
|
115955
|
+
var import_react112 = __toESM(require_react(), 1);
|
|
115679
115956
|
var import_variant41 = __toESM(require_lib(), 1);
|
|
115680
115957
|
|
|
115681
115958
|
// src/components/FinishedSuccessfullyMessage.tsx
|
|
115682
115959
|
init_esm_shims();
|
|
115683
|
-
var
|
|
115960
|
+
var import_react111 = __toESM(require_react(), 1);
|
|
115684
115961
|
var FinishedSuccessfullyMessage2 = ({ packageManager, folderName, projectData, isReleased }) => {
|
|
115685
|
-
return /* @__PURE__ */
|
|
115962
|
+
return /* @__PURE__ */ import_react111.default.createElement(
|
|
115686
115963
|
Box_default,
|
|
115687
115964
|
{
|
|
115688
115965
|
borderColor: "blue",
|
|
@@ -115694,9 +115971,9 @@ var FinishedSuccessfullyMessage2 = ({ packageManager, folderName, projectData, i
|
|
|
115694
115971
|
marginLeft: -2,
|
|
115695
115972
|
marginTop: 1
|
|
115696
115973
|
},
|
|
115697
|
-
isReleased && /* @__PURE__ */
|
|
115698
|
-
/* @__PURE__ */
|
|
115699
|
-
/* @__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")))
|
|
115700
115977
|
);
|
|
115701
115978
|
};
|
|
115702
115979
|
|
|
@@ -115752,7 +116029,7 @@ var ReleaseProject = ({
|
|
|
115752
116029
|
releaseNonInteractive
|
|
115753
116030
|
}) => {
|
|
115754
116031
|
const { status, execute } = useReleaseProject();
|
|
115755
|
-
(0,
|
|
116032
|
+
(0, import_react112.useEffect)(() => {
|
|
115756
116033
|
if (releaseNonInteractive != null) {
|
|
115757
116034
|
void execute({
|
|
115758
116035
|
confirmed: releaseNonInteractive,
|
|
@@ -115762,7 +116039,7 @@ var ReleaseProject = ({
|
|
|
115762
116039
|
});
|
|
115763
116040
|
}
|
|
115764
116041
|
}, []);
|
|
115765
|
-
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(
|
|
115766
116043
|
ConfirmInput,
|
|
115767
116044
|
{
|
|
115768
116045
|
label: "Would you like to publish your site now?",
|
|
@@ -115779,11 +116056,11 @@ var ReleaseProject = ({
|
|
|
115779
116056
|
)), (0, import_variant41.match)(status, {
|
|
115780
116057
|
NotRequested: () => null,
|
|
115781
116058
|
Success: ({ result }) => {
|
|
115782
|
-
return /* @__PURE__ */
|
|
115783
|
-
Success: () => /* @__PURE__ */
|
|
115784
|
-
Skipped: () => /* @__PURE__ */
|
|
115785
|
-
Error: () => /* @__PURE__ */
|
|
115786
|
-
}), /* @__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(
|
|
115787
116064
|
FinishedSuccessfullyMessage2,
|
|
115788
116065
|
{
|
|
115789
116066
|
packageManager,
|
|
@@ -115794,7 +116071,7 @@ var ReleaseProject = ({
|
|
|
115794
116071
|
));
|
|
115795
116072
|
},
|
|
115796
116073
|
Error: () => null,
|
|
115797
|
-
Loading: () => /* @__PURE__ */
|
|
116074
|
+
Loading: () => /* @__PURE__ */ import_react112.default.createElement(Spinner2, { text: "Publishing your site..." })
|
|
115798
116075
|
}));
|
|
115799
116076
|
};
|
|
115800
116077
|
|
|
@@ -115807,16 +116084,16 @@ var CreateHeadlessSiteCommand = ({
|
|
|
115807
116084
|
projectName: defaultProjectName,
|
|
115808
116085
|
businessName: defaultBusinessName
|
|
115809
116086
|
}) => {
|
|
115810
|
-
const [businessName, setBusinessName] = (0,
|
|
116087
|
+
const [businessName, setBusinessName] = (0, import_react113.useState)(
|
|
115811
116088
|
defaultBusinessName
|
|
115812
116089
|
);
|
|
115813
|
-
const [selectedTemplate, setSelectedTemplate] = (0,
|
|
115814
|
-
const [folderName, setFolderName] = (0,
|
|
116090
|
+
const [selectedTemplate, setSelectedTemplate] = (0, import_react113.useState)(defaultTemplate);
|
|
116091
|
+
const [folderName, setFolderName] = (0, import_react113.useState)(
|
|
115815
116092
|
defaultProjectName
|
|
115816
116093
|
);
|
|
115817
|
-
const [businessId, setBusinessId] = (0,
|
|
115818
|
-
const [projectData, setProjectData] = (0,
|
|
115819
|
-
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);
|
|
115820
116097
|
const { status } = useAsync2(async () => {
|
|
115821
116098
|
const repoType = await getRepoType(targetParentFolder2);
|
|
115822
116099
|
const packageManager = await createPackageManager(repoType);
|
|
@@ -115825,9 +116102,9 @@ var CreateHeadlessSiteCommand = ({
|
|
|
115825
116102
|
}, []);
|
|
115826
116103
|
return (0, import_variant42.match)(status, {
|
|
115827
116104
|
Error: () => null,
|
|
115828
|
-
Loading: () => /* @__PURE__ */
|
|
116105
|
+
Loading: () => /* @__PURE__ */ import_react113.default.createElement(Spinner2, { text: "Loading..." }),
|
|
115829
116106
|
Success: ({ result: { packageManager, repoType } }) => {
|
|
115830
|
-
return /* @__PURE__ */
|
|
116107
|
+
return /* @__PURE__ */ import_react113.default.createElement(
|
|
115831
116108
|
Box_default,
|
|
115832
116109
|
{
|
|
115833
116110
|
flexDirection: "column",
|
|
@@ -115838,14 +116115,14 @@ var CreateHeadlessSiteCommand = ({
|
|
|
115838
116115
|
borderTop: false,
|
|
115839
116116
|
paddingLeft: 1
|
|
115840
116117
|
},
|
|
115841
|
-
/* @__PURE__ */
|
|
115842
|
-
!defaultBusinessName && /* @__PURE__ */
|
|
116118
|
+
/* @__PURE__ */ import_react113.default.createElement(WelcomeMessage, null),
|
|
116119
|
+
!defaultBusinessName && /* @__PURE__ */ import_react113.default.createElement(
|
|
115843
116120
|
ChooseBusinessName,
|
|
115844
116121
|
{
|
|
115845
116122
|
onSubmit: ({ businessName: businessName2 }) => setBusinessName(businessName2)
|
|
115846
116123
|
}
|
|
115847
116124
|
),
|
|
115848
|
-
!defaultTemplate && businessName && /* @__PURE__ */
|
|
116125
|
+
!defaultTemplate && businessName && /* @__PURE__ */ import_react113.default.createElement(
|
|
115849
116126
|
ChooseTemplate,
|
|
115850
116127
|
{
|
|
115851
116128
|
onSubmit: ({ template }) => {
|
|
@@ -115853,7 +116130,7 @@ var CreateHeadlessSiteCommand = ({
|
|
|
115853
116130
|
}
|
|
115854
116131
|
}
|
|
115855
116132
|
),
|
|
115856
|
-
businessName && selectedTemplate && /* @__PURE__ */
|
|
116133
|
+
businessName && selectedTemplate && /* @__PURE__ */ import_react113.default.createElement(AccountAuthProvider, null, /* @__PURE__ */ import_react113.default.createElement(
|
|
115857
116134
|
CreateBusiness,
|
|
115858
116135
|
{
|
|
115859
116136
|
businessName,
|
|
@@ -115861,7 +116138,7 @@ var CreateHeadlessSiteCommand = ({
|
|
|
115861
116138
|
onDone: ({ businessId: businessId2 }) => setBusinessId(businessId2)
|
|
115862
116139
|
}
|
|
115863
116140
|
)),
|
|
115864
|
-
businessName && selectedTemplate && businessId && /* @__PURE__ */
|
|
116141
|
+
businessName && selectedTemplate && businessId && /* @__PURE__ */ import_react113.default.createElement(SiteAuthProvider, { siteId: businessId }, /* @__PURE__ */ import_react113.default.createElement(
|
|
115865
116142
|
CreateProject,
|
|
115866
116143
|
{
|
|
115867
116144
|
businessId,
|
|
@@ -115869,7 +116146,7 @@ var CreateHeadlessSiteCommand = ({
|
|
|
115869
116146
|
onSubmit: (data) => setProjectData(data)
|
|
115870
116147
|
}
|
|
115871
116148
|
)),
|
|
115872
|
-
!defaultProjectName && businessName && selectedTemplate && businessId && projectData && /* @__PURE__ */
|
|
116149
|
+
!defaultProjectName && businessName && selectedTemplate && businessId && projectData && /* @__PURE__ */ import_react113.default.createElement(
|
|
115873
116150
|
ChooseFolder,
|
|
115874
116151
|
{
|
|
115875
116152
|
initialFolderName: projectData.projectName,
|
|
@@ -115877,7 +116154,7 @@ var CreateHeadlessSiteCommand = ({
|
|
|
115877
116154
|
onSubmit: ({ folderName: folderName2 }) => setFolderName(folderName2)
|
|
115878
116155
|
}
|
|
115879
116156
|
),
|
|
115880
|
-
businessName && selectedTemplate && businessId && projectData && folderName && /* @__PURE__ */
|
|
116157
|
+
businessName && selectedTemplate && businessId && projectData && folderName && /* @__PURE__ */ import_react113.default.createElement(
|
|
115881
116158
|
GenerateProject2,
|
|
115882
116159
|
{
|
|
115883
116160
|
folderName,
|
|
@@ -115891,7 +116168,7 @@ var CreateHeadlessSiteCommand = ({
|
|
|
115891
116168
|
onDone: (isDone) => setGenerationDone(isDone)
|
|
115892
116169
|
}
|
|
115893
116170
|
),
|
|
115894
|
-
businessName && selectedTemplate && businessId && projectData && folderName && generationDone && /* @__PURE__ */
|
|
116171
|
+
businessName && selectedTemplate && businessId && projectData && folderName && generationDone && /* @__PURE__ */ import_react113.default.createElement(
|
|
115895
116172
|
ReleaseProject,
|
|
115896
116173
|
{
|
|
115897
116174
|
folderName,
|
|
@@ -115931,9 +116208,9 @@ var ProcessCommand = ({ targetParentFolder: targetParentFolder2, commandOptions
|
|
|
115931
116208
|
}, []);
|
|
115932
116209
|
return (0, import_variant43.match)(status, {
|
|
115933
116210
|
Error: () => null,
|
|
115934
|
-
Loading: () => /* @__PURE__ */
|
|
116211
|
+
Loading: () => /* @__PURE__ */ import_react114.default.createElement(Spinner2, { text: "Loading..." }),
|
|
115935
116212
|
Success: ({ result: { template, projectName, businessName, publish } }) => {
|
|
115936
|
-
return /* @__PURE__ */
|
|
116213
|
+
return /* @__PURE__ */ import_react114.default.createElement(
|
|
115937
116214
|
CreateHeadlessSiteCommand,
|
|
115938
116215
|
{
|
|
115939
116216
|
targetParentFolder: targetParentFolder2,
|
|
@@ -115988,7 +116265,7 @@ program2.command("link").description("Link current project to use Wix as deploym
|
|
|
115988
116265
|
const commandStatus = reportCommandStartEvent2(command);
|
|
115989
116266
|
try {
|
|
115990
116267
|
await render2(
|
|
115991
|
-
/* @__PURE__ */
|
|
116268
|
+
/* @__PURE__ */ import_react115.default.createElement(BiProvider, { value: biLogger }, /* @__PURE__ */ import_react115.default.createElement(ErrorReporterProvider, { value: errorReporter }, /* @__PURE__ */ import_react115.default.createElement(
|
|
115992
116269
|
LinkCommand,
|
|
115993
116270
|
{
|
|
115994
116271
|
projectName: options.projectName,
|
|
@@ -116062,7 +116339,7 @@ program2.command("init", { isDefault: true }).description("Create headless site"
|
|
|
116062
116339
|
const commandStatus = reportCommandStartEvent2(command);
|
|
116063
116340
|
try {
|
|
116064
116341
|
await render2(
|
|
116065
|
-
/* @__PURE__ */
|
|
116342
|
+
/* @__PURE__ */ import_react115.default.createElement(BiProvider, { value: biLogger }, /* @__PURE__ */ import_react115.default.createElement(ErrorReporterProvider, { value: errorReporter }, /* @__PURE__ */ import_react115.default.createElement(
|
|
116066
116343
|
ProcessCommand,
|
|
116067
116344
|
{
|
|
116068
116345
|
targetParentFolder,
|