@wix/cli-app 1.1.96 → 1.1.98
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/{AddPermissionCommand-OSMYPJRQ.js → AddPermissionCommand-DYGRTPW3.js} +2 -2
- package/build/{CreateVersionCommand-2SHGYJBX.js → CreateVersionCommand-7U7SHHMS.js} +3 -3
- package/build/{DevCommand-5JBBIYTN.js → DevCommand-XFK47XPN.js} +10 -10
- package/build/{GenerateCommand-XNXCRR5M.js → GenerateCommand-P6JVFBKZ.js} +98 -122
- package/build/GenerateCommand-P6JVFBKZ.js.map +1 -0
- package/build/{LogsCommand-IR3US32Z.js → LogsCommand-NCHV2GN7.js} +3 -3
- package/build/PreviewCommand-Q42SZUIS.js +19 -0
- package/build/ReleaseCommand-ICLGFGPC.js +23 -0
- package/build/{ServeCommand-25RAESBL.js → ServeCommand-I6VZS2YK.js} +3 -3
- package/build/{build-WZPDIQUO.js → build-Z4VNDOIL.js} +6 -6
- package/build/{chunk-DPNHTDEY.js → chunk-DSA62VDV.js} +2 -2
- package/build/chunk-GTPRE7FA.js +182 -0
- package/build/chunk-GTPRE7FA.js.map +1 -0
- package/build/{chunk-HP5V6YH3.js → chunk-HHUDSUDG.js} +6 -6
- package/build/{chunk-TPHNWSDL.js → chunk-HIQCBMWB.js} +2 -2
- package/build/{chunk-HZKLMNE6.js → chunk-JKPPIEED.js} +7 -7
- package/build/{chunk-K7MHL7B4.js → chunk-ONIPG3V2.js} +2 -2
- package/build/{chunk-HDBHL76U.js → chunk-QYBJOKX2.js} +2 -2
- package/build/{chunk-XML6APOZ.js → chunk-RGMFONBO.js} +31 -18
- package/build/{chunk-XML6APOZ.js.map → chunk-RGMFONBO.js.map} +1 -1
- package/build/{chunk-P5TI5KKJ.js → chunk-SVPWVNP3.js} +170 -31
- package/build/{chunk-P5TI5KKJ.js.map → chunk-SVPWVNP3.js.map} +1 -1
- package/build/{chunk-UAA3DCJW.js → chunk-VFINMMGN.js} +2 -2
- package/build/{chunk-JNAB66MG.js → chunk-X67AAT4X.js} +5 -5
- package/build/{chunk-UMW4BAJ4.js → chunk-X76FK2NI.js} +2 -2
- package/build/{chunk-UGSFGYTI.js → chunk-XGQZVXNJ.js} +3 -3
- package/build/{chunk-4U4CHXCF.js → chunk-Z27QYOLS.js} +47 -11
- package/build/{chunk-4U4CHXCF.js.map → chunk-Z27QYOLS.js.map} +1 -1
- package/build/{chunk-LXXN3RII.js → chunk-ZCGI26DD.js} +2 -1
- package/build/chunk-ZCGI26DD.js.map +1 -0
- package/build/{chunk-D4GD3WIF.js → chunk-ZJEKZSOD.js} +2 -2
- package/build/{chunk-BCCHS2DP.js → chunk-ZLQLKGPF.js} +5 -5
- package/build/{chunk-Y3K3I3H6.js → chunk-ZVIUVZJY.js} +6 -6
- package/build/index.js +49 -31
- package/build/index.js.map +1 -1
- package/build/platform-sdk/editor.js +1 -1
- package/build/platform-sdk/editor.js.map +1 -1
- package/build/platform-sdk/site.js +1 -1
- package/build/platform-sdk/site.js.map +1 -1
- package/build/{preview-VLEJXGSK.js → preview-EBGBJIU5.js} +13 -13
- package/build/{release-ZTHOL4AK.js → release-Y6DR4WSP.js} +15 -15
- package/build/{render-command-VVUDPRHR.js → render-command-WEM3G7VN.js} +6 -6
- package/package.json +4 -4
- package/build/GenerateCommand-XNXCRR5M.js.map +0 -1
- package/build/PreviewCommand-2O3ZZZY3.js +0 -19
- package/build/ReleaseCommand-X3OHX4QJ.js +0 -23
- package/build/chunk-LXXN3RII.js.map +0 -1
- package/build/chunk-ZH2F3CQO.js +0 -23
- package/build/chunk-ZH2F3CQO.js.map +0 -1
- /package/build/{AddPermissionCommand-OSMYPJRQ.js.map → AddPermissionCommand-DYGRTPW3.js.map} +0 -0
- /package/build/{CreateVersionCommand-2SHGYJBX.js.map → CreateVersionCommand-7U7SHHMS.js.map} +0 -0
- /package/build/{DevCommand-5JBBIYTN.js.map → DevCommand-XFK47XPN.js.map} +0 -0
- /package/build/{LogsCommand-IR3US32Z.js.map → LogsCommand-NCHV2GN7.js.map} +0 -0
- /package/build/{PreviewCommand-2O3ZZZY3.js.map → PreviewCommand-Q42SZUIS.js.map} +0 -0
- /package/build/{ReleaseCommand-X3OHX4QJ.js.map → ReleaseCommand-ICLGFGPC.js.map} +0 -0
- /package/build/{ServeCommand-25RAESBL.js.map → ServeCommand-I6VZS2YK.js.map} +0 -0
- /package/build/{build-WZPDIQUO.js.map → build-Z4VNDOIL.js.map} +0 -0
- /package/build/{chunk-DPNHTDEY.js.map → chunk-DSA62VDV.js.map} +0 -0
- /package/build/{chunk-HP5V6YH3.js.map → chunk-HHUDSUDG.js.map} +0 -0
- /package/build/{chunk-TPHNWSDL.js.map → chunk-HIQCBMWB.js.map} +0 -0
- /package/build/{chunk-HZKLMNE6.js.map → chunk-JKPPIEED.js.map} +0 -0
- /package/build/{chunk-K7MHL7B4.js.map → chunk-ONIPG3V2.js.map} +0 -0
- /package/build/{chunk-HDBHL76U.js.map → chunk-QYBJOKX2.js.map} +0 -0
- /package/build/{chunk-UAA3DCJW.js.map → chunk-VFINMMGN.js.map} +0 -0
- /package/build/{chunk-JNAB66MG.js.map → chunk-X67AAT4X.js.map} +0 -0
- /package/build/{chunk-UMW4BAJ4.js.map → chunk-X76FK2NI.js.map} +0 -0
- /package/build/{chunk-UGSFGYTI.js.map → chunk-XGQZVXNJ.js.map} +0 -0
- /package/build/{chunk-D4GD3WIF.js.map → chunk-ZJEKZSOD.js.map} +0 -0
- /package/build/{chunk-BCCHS2DP.js.map → chunk-ZLQLKGPF.js.map} +0 -0
- /package/build/{chunk-Y3K3I3H6.js.map → chunk-ZVIUVZJY.js.map} +0 -0
- /package/build/{preview-VLEJXGSK.js.map → preview-EBGBJIU5.js.map} +0 -0
- /package/build/{release-ZTHOL4AK.js.map → release-Y6DR4WSP.js.map} +0 -0
- /package/build/{render-command-VVUDPRHR.js.map → render-command-WEM3G7VN.js.map} +0 -0
|
@@ -143832,7 +143832,7 @@ var require_chokidar = __commonJS({
|
|
|
143832
143832
|
var package_default = {
|
|
143833
143833
|
name: "@wix/cli-app",
|
|
143834
143834
|
description: "CLI tool for Wix apps",
|
|
143835
|
-
version: "1.1.
|
|
143835
|
+
version: "1.1.98",
|
|
143836
143836
|
author: "Amit Dahan",
|
|
143837
143837
|
dependencies: {
|
|
143838
143838
|
esbuild: "^0.25.0",
|
|
@@ -143850,7 +143850,7 @@ var package_default = {
|
|
|
143850
143850
|
"@wix/ambassador-cli-site-override-service-v1-site-override": "^1.0.9",
|
|
143851
143851
|
"@wix/ambassador-ctp-app-cloud-backend-service-v1-app-cloud-backend-deployment": "^1.0.11",
|
|
143852
143852
|
"@wix/ambassador-ctp-gradual-rollout-v1-app-config": "^1.0.78",
|
|
143853
|
-
"@wix/ambassador-devcenter-apps-v1-app-old": "^1.0.
|
|
143853
|
+
"@wix/ambassador-devcenter-apps-v1-app-old": "^1.0.43",
|
|
143854
143854
|
"@wix/app-cloud-uploader": "^1.18.0",
|
|
143855
143855
|
"@wix/arm-client": "workspace:*",
|
|
143856
143856
|
"@wix/bi-logger-dev-tools-data": "^1.112.0",
|
|
@@ -143942,7 +143942,7 @@ var package_default = {
|
|
|
143942
143942
|
peerDependencies: {
|
|
143943
143943
|
react: "^16.14 || ^17 || ^18",
|
|
143944
143944
|
"react-dom": "^16.14 || ^17 || ^18",
|
|
143945
|
-
typescript: ">=5.
|
|
143945
|
+
typescript: ">=5.5.0 <5.9.0"
|
|
143946
143946
|
},
|
|
143947
143947
|
peerDependenciesMeta: {
|
|
143948
143948
|
"react-dom": {
|
|
@@ -144038,6 +144038,7 @@ var CliSystemErrorCode = (0, import_variant.variant)({
|
|
|
144038
144038
|
UploadApplicationFailed: {},
|
|
144039
144039
|
FailedToCreateDevCenterApp: {},
|
|
144040
144040
|
FailedToCreateDevCenterOAuthApp: {},
|
|
144041
|
+
FailedToUpdateDevCenterOAuthApp: {},
|
|
144041
144042
|
FailedToAddPermission: {},
|
|
144042
144043
|
FailedToGetPlacements: {},
|
|
144043
144044
|
FailedToGetAppSecret: {},
|
|
@@ -144241,7 +144242,8 @@ var CliUserErrorCode = (0, import_variant.variant)({
|
|
|
144241
144242
|
FailedToCleanDistFolder: {},
|
|
144242
144243
|
FailedToIdentifyProgramFlow: (0, import_variant.fields)(),
|
|
144243
144244
|
BuildOutputMissing: (0, import_variant.fields)(),
|
|
144244
|
-
FailedToCreateMonitoringVitePlugin: (0, import_variant.fields)()
|
|
144245
|
+
FailedToCreateMonitoringVitePlugin: (0, import_variant.fields)(),
|
|
144246
|
+
FailedToSyncVeloCLIServerDocumentUpdate: {}
|
|
144245
144247
|
});
|
|
144246
144248
|
var CliErrorCode = (0, import_variant.variant)({
|
|
144247
144249
|
...CliSystemErrorCode,
|
|
@@ -154279,6 +154281,7 @@ function SelectInput2({
|
|
|
154279
154281
|
info,
|
|
154280
154282
|
options,
|
|
154281
154283
|
isActive,
|
|
154284
|
+
value: value2,
|
|
154282
154285
|
onSubmit,
|
|
154283
154286
|
limit = 10,
|
|
154284
154287
|
initialIndex
|
|
@@ -154287,19 +154290,19 @@ function SelectInput2({
|
|
|
154287
154290
|
throw new Error("SelectInput: options cannot be empty");
|
|
154288
154291
|
}
|
|
154289
154292
|
const [inputState, setInputState] = (0, import_react52.useState)(
|
|
154290
|
-
() => InputState.NotSubmitted()
|
|
154293
|
+
() => value2 ?? InputState.NotSubmitted()
|
|
154291
154294
|
);
|
|
154292
154295
|
const handleHighlight = (0, import_react52.useCallback)(
|
|
154293
|
-
({ value:
|
|
154294
|
-
setInputState(InputState.NotSubmitted(
|
|
154296
|
+
({ value: value3 }) => {
|
|
154297
|
+
setInputState(InputState.NotSubmitted(value3));
|
|
154295
154298
|
},
|
|
154296
154299
|
[]
|
|
154297
154300
|
);
|
|
154298
154301
|
const handleSelect = (0, import_react52.useCallback)(
|
|
154299
|
-
({ value:
|
|
154300
|
-
if (!(0, import_variant10.isType)(
|
|
154301
|
-
setInputState(InputState.Submitted(
|
|
154302
|
-
onSubmit(
|
|
154302
|
+
({ value: value3 }) => {
|
|
154303
|
+
if (!(0, import_variant10.isType)(value3.availability, SelectOptionAvailability.Disabled)) {
|
|
154304
|
+
setInputState(InputState.Submitted(value3));
|
|
154305
|
+
onSubmit(value3);
|
|
154303
154306
|
}
|
|
154304
154307
|
},
|
|
154305
154308
|
[onSubmit]
|
|
@@ -154317,6 +154320,11 @@ function SelectInput2({
|
|
|
154317
154320
|
setInputState(InputState.NotSubmitted(inputState.value));
|
|
154318
154321
|
}
|
|
154319
154322
|
}, [isActive]);
|
|
154323
|
+
(0, import_react52.useEffect)(() => {
|
|
154324
|
+
if (value2) {
|
|
154325
|
+
setInputState(value2);
|
|
154326
|
+
}
|
|
154327
|
+
}, [value2, setInputState]);
|
|
154320
154328
|
return /* @__PURE__ */ import_react52.default.createElement(import_react52.default.Fragment, null, /* @__PURE__ */ import_react52.default.createElement(Box_default, { marginLeft: -2, marginBottom: 1 }, /* @__PURE__ */ import_react52.default.createElement(Text2, null, /* @__PURE__ */ import_react52.default.createElement(InputLabel, null, label), " ", info && (0, import_variant10.isType)(inputState, InputState.NotSubmitted) && /* @__PURE__ */ import_react52.default.createElement(Text2, { skin: "secondary" }, info))), /* @__PURE__ */ import_react52.default.createElement(Placeholder2, { inputState }), (0, import_variant10.isType)(inputState, InputState.NotSubmitted) && /* @__PURE__ */ import_react52.default.createElement(Box_default, null, /* @__PURE__ */ import_react52.default.createElement(
|
|
154321
154329
|
SelectInput_default,
|
|
154322
154330
|
{
|
|
@@ -162442,6 +162450,9 @@ function getErrorComponent(code, cause) {
|
|
|
162442
162450
|
FailedToCreateDevCenterOAuthApp: () => {
|
|
162443
162451
|
return () => /* @__PURE__ */ import_react84.default.createElement(SystemErrorMessage, { message: "Failed to register your oauth application in Wix" });
|
|
162444
162452
|
},
|
|
162453
|
+
FailedToUpdateDevCenterOAuthApp: () => {
|
|
162454
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(SystemErrorMessage, { message: "Failed to update your oauth application in Wix" });
|
|
162455
|
+
},
|
|
162445
162456
|
FailedToAddPermission: () => {
|
|
162446
162457
|
return () => /* @__PURE__ */ import_react84.default.createElement(SystemErrorMessage, { message: "Failed to add permission" });
|
|
162447
162458
|
},
|
|
@@ -163373,6 +163384,15 @@ function getErrorComponent(code, cause) {
|
|
|
163373
163384
|
}
|
|
163374
163385
|
);
|
|
163375
163386
|
},
|
|
163387
|
+
FailedToSyncVeloCLIServerDocumentUpdate: () => {
|
|
163388
|
+
return () => /* @__PURE__ */ import_react84.default.createElement(
|
|
163389
|
+
ErrorMessage,
|
|
163390
|
+
{
|
|
163391
|
+
cause,
|
|
163392
|
+
message: "Failed to sync local file system document updates with the Editor."
|
|
163393
|
+
}
|
|
163394
|
+
);
|
|
163395
|
+
},
|
|
163376
163396
|
CreateVersionDeprecated: ({ packageManagerRunCmd }) => {
|
|
163377
163397
|
return () => /* @__PURE__ */ import_react84.default.createElement(
|
|
163378
163398
|
CreateVersionDeprecationMessage,
|
|
@@ -164325,6 +164345,12 @@ function resolveComWixpressAccountApiAccountServiceUrl(opts) {
|
|
|
164325
164345
|
srcPath: "/_api/account-server",
|
|
164326
164346
|
destPath: ""
|
|
164327
164347
|
}
|
|
164348
|
+
],
|
|
164349
|
+
"twins._base_domain_": [
|
|
164350
|
+
{
|
|
164351
|
+
srcPath: "/_api/account-server",
|
|
164352
|
+
destPath: ""
|
|
164353
|
+
}
|
|
164328
164354
|
]
|
|
164329
164355
|
};
|
|
164330
164356
|
return resolveUrl(Object.assign(opts, { domainToMappings }));
|
|
@@ -166426,6 +166452,7 @@ var ComponentType;
|
|
|
166426
166452
|
ComponentType3["WIX_HOSTING_APP_ENVIRONMENT_PROVIDER"] = "WIX_HOSTING_APP_ENVIRONMENT_PROVIDER";
|
|
166427
166453
|
ComponentType3["SDK_EXPORTS"] = "SDK_EXPORTS";
|
|
166428
166454
|
ComponentType3["VIEWER_SERVICE"] = "VIEWER_SERVICE";
|
|
166455
|
+
ComponentType3["WIX_PAYMENTS_PROVIDER_ACCOUNT_SERVICE_PLUGIN"] = "WIX_PAYMENTS_PROVIDER_ACCOUNT_SERVICE_PLUGIN";
|
|
166429
166456
|
})(ComponentType || (ComponentType = {}));
|
|
166430
166457
|
var WidgetVertical;
|
|
166431
166458
|
(function(WidgetVertical3) {
|
|
@@ -167070,6 +167097,8 @@ var DecorationType;
|
|
|
167070
167097
|
DecorationType3["FONT_SIZE"] = "FONT_SIZE";
|
|
167071
167098
|
DecorationType3["EXTERNAL"] = "EXTERNAL";
|
|
167072
167099
|
DecorationType3["STRIKETHROUGH"] = "STRIKETHROUGH";
|
|
167100
|
+
DecorationType3["SUPERSCRIPT"] = "SUPERSCRIPT";
|
|
167101
|
+
DecorationType3["SUBSCRIPT"] = "SUBSCRIPT";
|
|
167073
167102
|
})(DecorationType || (DecorationType = {}));
|
|
167074
167103
|
var FontType;
|
|
167075
167104
|
(function(FontType3) {
|
|
@@ -167803,6 +167832,7 @@ var CssPropertyType;
|
|
|
167803
167832
|
CssPropertyType3["textTransform"] = "textTransform";
|
|
167804
167833
|
CssPropertyType3["textShadow"] = "textShadow";
|
|
167805
167834
|
CssPropertyType3["textOverflow"] = "textOverflow";
|
|
167835
|
+
CssPropertyType3["textIndent"] = "textIndent";
|
|
167806
167836
|
CssPropertyType3["textDecoration"] = "textDecoration";
|
|
167807
167837
|
CssPropertyType3["textDecorationColor"] = "textDecorationColor";
|
|
167808
167838
|
CssPropertyType3["textDecorationLine"] = "textDecorationLine";
|
|
@@ -167886,6 +167916,11 @@ var WritingModeValue;
|
|
|
167886
167916
|
WritingModeValue3["sidewaysRl"] = "sidewaysRl";
|
|
167887
167917
|
WritingModeValue3["sidewaysLr"] = "sidewaysLr";
|
|
167888
167918
|
})(WritingModeValue || (WritingModeValue = {}));
|
|
167919
|
+
var BackgroundModeEnum;
|
|
167920
|
+
(function(BackgroundModeEnum3) {
|
|
167921
|
+
BackgroundModeEnum3["UNKNOWN_BackgroundModeEnum"] = "UNKNOWN_BackgroundModeEnum";
|
|
167922
|
+
BackgroundModeEnum3["shapeDividerSvg"] = "shapeDividerSvg";
|
|
167923
|
+
})(BackgroundModeEnum || (BackgroundModeEnum = {}));
|
|
167889
167924
|
var DataType;
|
|
167890
167925
|
(function(DataType3) {
|
|
167891
167926
|
DataType3["UNKNOWN_DataType"] = "UNKNOWN_DataType";
|
|
@@ -167968,6 +168003,15 @@ var ContainerType;
|
|
|
167968
168003
|
ContainerType3["placeholder"] = "placeholder";
|
|
167969
168004
|
ContainerType3["template"] = "template";
|
|
167970
168005
|
})(ContainerType || (ContainerType = {}));
|
|
168006
|
+
var ResizeDirection;
|
|
168007
|
+
(function(ResizeDirection3) {
|
|
168008
|
+
ResizeDirection3["UNKNOWN_ResizeDirection"] = "UNKNOWN_ResizeDirection";
|
|
168009
|
+
ResizeDirection3["horizontal"] = "horizontal";
|
|
168010
|
+
ResizeDirection3["vertical"] = "vertical";
|
|
168011
|
+
ResizeDirection3["horizontalAndVertical"] = "horizontalAndVertical";
|
|
168012
|
+
ResizeDirection3["aspectRatio"] = "aspectRatio";
|
|
168013
|
+
ResizeDirection3["none"] = "none";
|
|
168014
|
+
})(ResizeDirection || (ResizeDirection = {}));
|
|
167971
168015
|
var ElementType;
|
|
167972
168016
|
(function(ElementType3) {
|
|
167973
168017
|
ElementType3["UNKNOWN_ElementType"] = "UNKNOWN_ElementType";
|
|
@@ -168047,15 +168091,14 @@ var Archetype;
|
|
|
168047
168091
|
Archetype3["VectorArt"] = "VectorArt";
|
|
168048
168092
|
Archetype3["AnimatedGraphic"] = "AnimatedGraphic";
|
|
168049
168093
|
})(Archetype || (Archetype = {}));
|
|
168050
|
-
var
|
|
168051
|
-
(function(
|
|
168052
|
-
|
|
168053
|
-
|
|
168054
|
-
|
|
168055
|
-
|
|
168056
|
-
|
|
168057
|
-
|
|
168058
|
-
})(ResizeDirection || (ResizeDirection = {}));
|
|
168094
|
+
var NativeStateType;
|
|
168095
|
+
(function(NativeStateType3) {
|
|
168096
|
+
NativeStateType3["UNKNOWN_NativeStateType"] = "UNKNOWN_NativeStateType";
|
|
168097
|
+
NativeStateType3["hover"] = "hover";
|
|
168098
|
+
NativeStateType3["focus"] = "focus";
|
|
168099
|
+
NativeStateType3["disabled"] = "disabled";
|
|
168100
|
+
NativeStateType3["invalid"] = "invalid";
|
|
168101
|
+
})(NativeStateType || (NativeStateType = {}));
|
|
168059
168102
|
var ContentResizeDirection;
|
|
168060
168103
|
(function(ContentResizeDirection3) {
|
|
168061
168104
|
ContentResizeDirection3["UNKNOWN_ContentResizeDirection"] = "UNKNOWN_ContentResizeDirection";
|
|
@@ -168064,6 +168107,17 @@ var ContentResizeDirection;
|
|
|
168064
168107
|
ContentResizeDirection3["horizontalAndVertical"] = "horizontalAndVertical";
|
|
168065
168108
|
ContentResizeDirection3["none"] = "none";
|
|
168066
168109
|
})(ContentResizeDirection || (ContentResizeDirection = {}));
|
|
168110
|
+
var InteractionsTrigger;
|
|
168111
|
+
(function(InteractionsTrigger3) {
|
|
168112
|
+
InteractionsTrigger3["UNKNOWN_TRIGGER"] = "UNKNOWN_TRIGGER";
|
|
168113
|
+
InteractionsTrigger3["hover"] = "hover";
|
|
168114
|
+
InteractionsTrigger3["click"] = "click";
|
|
168115
|
+
InteractionsTrigger3["viewEnter"] = "viewEnter";
|
|
168116
|
+
InteractionsTrigger3["pageVisible"] = "pageVisible";
|
|
168117
|
+
InteractionsTrigger3["viewProgress"] = "viewProgress";
|
|
168118
|
+
InteractionsTrigger3["pointerMove"] = "pointerMove";
|
|
168119
|
+
InteractionsTrigger3["animationEnd"] = "animationEnd";
|
|
168120
|
+
})(InteractionsTrigger || (InteractionsTrigger = {}));
|
|
168067
168121
|
var RestrictionLevel;
|
|
168068
168122
|
(function(RestrictionLevel3) {
|
|
168069
168123
|
RestrictionLevel3["UNKNOWN_RESTRICTION_TYPE"] = "UNKNOWN_RESTRICTION_TYPE";
|
|
@@ -168611,7 +168665,8 @@ var siteComponentConfigSchema = z.object({
|
|
|
168611
168665
|
"The ID (GUID) is used to register the component in Wix Developers Center. The ID must be unique across all extensions in the app."
|
|
168612
168666
|
),
|
|
168613
168667
|
description: z.string(),
|
|
168614
|
-
editorElement: z.unknown()
|
|
168668
|
+
editorElement: z.unknown(),
|
|
168669
|
+
installation: z.unknown()
|
|
168615
168670
|
}).strict();
|
|
168616
168671
|
var siteComponentPanelConfigSchema = z.object({
|
|
168617
168672
|
...baseConfig,
|
|
@@ -170870,6 +170925,11 @@ init_esm_shims();
|
|
|
170870
170925
|
var _createOAuthAppRequest = { oAuthApp: "_oAuthApp" };
|
|
170871
170926
|
var _createOAuthAppResponse = { oAuthApp: "_oAuthApp" };
|
|
170872
170927
|
var _oAuthApp = { createdDate: "google.protobuf.Timestamp" };
|
|
170928
|
+
var _updateOAuthAppRequest = {
|
|
170929
|
+
mask: "google.protobuf.FieldMask",
|
|
170930
|
+
oAuthApp: "_oAuthApp"
|
|
170931
|
+
};
|
|
170932
|
+
var _updateOAuthAppResponse = { oAuthApp: "_oAuthApp" };
|
|
170873
170933
|
function resolveWixHeadlessV1OAuthAppServiceUrl(opts) {
|
|
170874
170934
|
var domainToMappings = {
|
|
170875
170935
|
"manage._base_domain_": [
|
|
@@ -170923,6 +170983,32 @@ function createOAuthApp(payload4) {
|
|
|
170923
170983
|
__createOAuthApp.__isAmbassador = true;
|
|
170924
170984
|
return __createOAuthApp;
|
|
170925
170985
|
}
|
|
170986
|
+
function updateOAuthApp(payload4) {
|
|
170987
|
+
var _a2 = serializer(_updateOAuthAppRequest, { _oAuthApp }), toReq = _a2.toJSON, fromReq = _a2.fromJSON;
|
|
170988
|
+
var fromRes = serializer(_updateOAuthAppResponse, {
|
|
170989
|
+
_oAuthApp
|
|
170990
|
+
}).fromJSON;
|
|
170991
|
+
function __updateOAuthApp(_a3) {
|
|
170992
|
+
var host = _a3.host;
|
|
170993
|
+
var serializedData = toReq(payload4);
|
|
170994
|
+
var metadata = {
|
|
170995
|
+
entityFqdn: "wix.headless.v1.o_auth_app",
|
|
170996
|
+
method: "PATCH",
|
|
170997
|
+
methodFqn: "wix.headless.v1.OAuthAppService.UpdateOAuthApp",
|
|
170998
|
+
url: resolveWixHeadlessV1OAuthAppServiceUrl({
|
|
170999
|
+
protoPath: "/v1/oauth-apps/{oAuthApp.id}",
|
|
171000
|
+
data: serializedData,
|
|
171001
|
+
host
|
|
171002
|
+
}),
|
|
171003
|
+
data: serializedData,
|
|
171004
|
+
transformResponse: fromRes
|
|
171005
|
+
};
|
|
171006
|
+
return metadata;
|
|
171007
|
+
}
|
|
171008
|
+
__updateOAuthApp.fromReq = fromReq;
|
|
171009
|
+
__updateOAuthApp.__isAmbassador = true;
|
|
171010
|
+
return __updateOAuthApp;
|
|
171011
|
+
}
|
|
170926
171012
|
|
|
170927
171013
|
// ../../node_modules/@wix/ambassador-devcenter-apps-v1-app-version/build/es/http.impl.js
|
|
170928
171014
|
init_esm_shims();
|
|
@@ -172301,6 +172387,8 @@ var ComponentType2;
|
|
|
172301
172387
|
ComponentType3["EVENT_TIME_SLOTS_CONFIGURATION_PROVIDER"] = "EVENT_TIME_SLOTS_CONFIGURATION_PROVIDER";
|
|
172302
172388
|
ComponentType3["WIX_HOSTING_APP_ENVIRONMENT_PROVIDER"] = "WIX_HOSTING_APP_ENVIRONMENT_PROVIDER";
|
|
172303
172389
|
ComponentType3["SDK_EXPORTS"] = "SDK_EXPORTS";
|
|
172390
|
+
ComponentType3["VIEWER_SERVICE"] = "VIEWER_SERVICE";
|
|
172391
|
+
ComponentType3["WIX_PAYMENTS_PROVIDER_ACCOUNT_SERVICE_PLUGIN"] = "WIX_PAYMENTS_PROVIDER_ACCOUNT_SERVICE_PLUGIN";
|
|
172304
172392
|
})(ComponentType2 || (ComponentType2 = {}));
|
|
172305
172393
|
var WidgetVertical2;
|
|
172306
172394
|
(function(WidgetVertical3) {
|
|
@@ -172692,6 +172780,7 @@ var Tag2;
|
|
|
172692
172780
|
Tag3["ECOM_CREATE_PAY_LINK"] = "ECOM_CREATE_PAY_LINK";
|
|
172693
172781
|
Tag3["ECOM_DELIVERY_PROFILES"] = "ECOM_DELIVERY_PROFILES";
|
|
172694
172782
|
Tag3["ADD_TO_CATEGORY"] = "ADD_TO_CATEGORY";
|
|
172783
|
+
Tag3["MY_BUSINESS"] = "MY_BUSINESS";
|
|
172695
172784
|
})(Tag2 || (Tag2 = {}));
|
|
172696
172785
|
var FilterSelectionType2;
|
|
172697
172786
|
(function(FilterSelectionType3) {
|
|
@@ -172944,6 +173033,8 @@ var DecorationType2;
|
|
|
172944
173033
|
DecorationType3["FONT_SIZE"] = "FONT_SIZE";
|
|
172945
173034
|
DecorationType3["EXTERNAL"] = "EXTERNAL";
|
|
172946
173035
|
DecorationType3["STRIKETHROUGH"] = "STRIKETHROUGH";
|
|
173036
|
+
DecorationType3["SUPERSCRIPT"] = "SUPERSCRIPT";
|
|
173037
|
+
DecorationType3["SUBSCRIPT"] = "SUBSCRIPT";
|
|
172947
173038
|
})(DecorationType2 || (DecorationType2 = {}));
|
|
172948
173039
|
var FontType2;
|
|
172949
173040
|
(function(FontType3) {
|
|
@@ -173514,6 +173605,7 @@ var FactorType2;
|
|
|
173514
173605
|
FactorType3["EMAIL"] = "EMAIL";
|
|
173515
173606
|
FactorType3["TOTP"] = "TOTP";
|
|
173516
173607
|
FactorType3["PUSH"] = "PUSH";
|
|
173608
|
+
FactorType3["WEBAUTHN"] = "WEBAUTHN";
|
|
173517
173609
|
})(FactorType2 || (FactorType2 = {}));
|
|
173518
173610
|
var MonitoringType2;
|
|
173519
173611
|
(function(MonitoringType3) {
|
|
@@ -173609,6 +173701,7 @@ var CssPropertyType2;
|
|
|
173609
173701
|
CssPropertyType3["backgroundRepeat"] = "backgroundRepeat";
|
|
173610
173702
|
CssPropertyType3["backgroundAttachment"] = "backgroundAttachment";
|
|
173611
173703
|
CssPropertyType3["fill"] = "fill";
|
|
173704
|
+
CssPropertyType3["fillOpacity"] = "fillOpacity";
|
|
173612
173705
|
CssPropertyType3["margin"] = "margin";
|
|
173613
173706
|
CssPropertyType3["marginTop"] = "marginTop";
|
|
173614
173707
|
CssPropertyType3["marginRight"] = "marginRight";
|
|
@@ -173675,6 +173768,7 @@ var CssPropertyType2;
|
|
|
173675
173768
|
CssPropertyType3["textTransform"] = "textTransform";
|
|
173676
173769
|
CssPropertyType3["textShadow"] = "textShadow";
|
|
173677
173770
|
CssPropertyType3["textOverflow"] = "textOverflow";
|
|
173771
|
+
CssPropertyType3["textIndent"] = "textIndent";
|
|
173678
173772
|
CssPropertyType3["textDecoration"] = "textDecoration";
|
|
173679
173773
|
CssPropertyType3["textDecorationColor"] = "textDecorationColor";
|
|
173680
173774
|
CssPropertyType3["textDecorationLine"] = "textDecorationLine";
|
|
@@ -173699,6 +173793,9 @@ var CssPropertyType2;
|
|
|
173699
173793
|
CssPropertyType3["objectPosition"] = "objectPosition";
|
|
173700
173794
|
CssPropertyType3["mixBlendMode"] = "mixBlendMode";
|
|
173701
173795
|
CssPropertyType3["isolation"] = "isolation";
|
|
173796
|
+
CssPropertyType3["stroke"] = "stroke";
|
|
173797
|
+
CssPropertyType3["strokeWidth"] = "strokeWidth";
|
|
173798
|
+
CssPropertyType3["strokeOpacity"] = "strokeOpacity";
|
|
173702
173799
|
})(CssPropertyType2 || (CssPropertyType2 = {}));
|
|
173703
173800
|
var CssDataType2;
|
|
173704
173801
|
(function(CssDataType3) {
|
|
@@ -173755,6 +173852,11 @@ var WritingModeValue2;
|
|
|
173755
173852
|
WritingModeValue3["sidewaysRl"] = "sidewaysRl";
|
|
173756
173853
|
WritingModeValue3["sidewaysLr"] = "sidewaysLr";
|
|
173757
173854
|
})(WritingModeValue2 || (WritingModeValue2 = {}));
|
|
173855
|
+
var BackgroundModeEnum2;
|
|
173856
|
+
(function(BackgroundModeEnum3) {
|
|
173857
|
+
BackgroundModeEnum3["UNKNOWN_BackgroundModeEnum"] = "UNKNOWN_BackgroundModeEnum";
|
|
173858
|
+
BackgroundModeEnum3["shapeDividerSvg"] = "shapeDividerSvg";
|
|
173859
|
+
})(BackgroundModeEnum2 || (BackgroundModeEnum2 = {}));
|
|
173758
173860
|
var DataType2;
|
|
173759
173861
|
(function(DataType3) {
|
|
173760
173862
|
DataType3["UNKNOWN_DataType"] = "UNKNOWN_DataType";
|
|
@@ -173782,6 +173884,7 @@ var DataType2;
|
|
|
173782
173884
|
DataType3["container"] = "container";
|
|
173783
173885
|
DataType3["arrayItems"] = "arrayItems";
|
|
173784
173886
|
DataType3["direction"] = "direction";
|
|
173887
|
+
DataType3["menuItems"] = "menuItems";
|
|
173785
173888
|
})(DataType2 || (DataType2 = {}));
|
|
173786
173889
|
var A11yAttributes2;
|
|
173787
173890
|
(function(A11yAttributes3) {
|
|
@@ -173834,7 +173937,17 @@ var ContainerType2;
|
|
|
173834
173937
|
ContainerType3["simple"] = "simple";
|
|
173835
173938
|
ContainerType3["slot"] = "slot";
|
|
173836
173939
|
ContainerType3["placeholder"] = "placeholder";
|
|
173940
|
+
ContainerType3["template"] = "template";
|
|
173837
173941
|
})(ContainerType2 || (ContainerType2 = {}));
|
|
173942
|
+
var ResizeDirection2;
|
|
173943
|
+
(function(ResizeDirection3) {
|
|
173944
|
+
ResizeDirection3["UNKNOWN_ResizeDirection"] = "UNKNOWN_ResizeDirection";
|
|
173945
|
+
ResizeDirection3["horizontal"] = "horizontal";
|
|
173946
|
+
ResizeDirection3["vertical"] = "vertical";
|
|
173947
|
+
ResizeDirection3["horizontalAndVertical"] = "horizontalAndVertical";
|
|
173948
|
+
ResizeDirection3["aspectRatio"] = "aspectRatio";
|
|
173949
|
+
ResizeDirection3["none"] = "none";
|
|
173950
|
+
})(ResizeDirection2 || (ResizeDirection2 = {}));
|
|
173838
173951
|
var ElementTypeEnumElementType;
|
|
173839
173952
|
(function(ElementTypeEnumElementType2) {
|
|
173840
173953
|
ElementTypeEnumElementType2["UNKNOWN_ElementType"] = "UNKNOWN_ElementType";
|
|
@@ -173914,15 +174027,14 @@ var Archetype2;
|
|
|
173914
174027
|
Archetype3["VectorArt"] = "VectorArt";
|
|
173915
174028
|
Archetype3["AnimatedGraphic"] = "AnimatedGraphic";
|
|
173916
174029
|
})(Archetype2 || (Archetype2 = {}));
|
|
173917
|
-
var
|
|
173918
|
-
(function(
|
|
173919
|
-
|
|
173920
|
-
|
|
173921
|
-
|
|
173922
|
-
|
|
173923
|
-
|
|
173924
|
-
|
|
173925
|
-
})(ResizeDirection2 || (ResizeDirection2 = {}));
|
|
174030
|
+
var NativeStateType2;
|
|
174031
|
+
(function(NativeStateType3) {
|
|
174032
|
+
NativeStateType3["UNKNOWN_NativeStateType"] = "UNKNOWN_NativeStateType";
|
|
174033
|
+
NativeStateType3["hover"] = "hover";
|
|
174034
|
+
NativeStateType3["focus"] = "focus";
|
|
174035
|
+
NativeStateType3["disabled"] = "disabled";
|
|
174036
|
+
NativeStateType3["invalid"] = "invalid";
|
|
174037
|
+
})(NativeStateType2 || (NativeStateType2 = {}));
|
|
173926
174038
|
var ContentResizeDirection2;
|
|
173927
174039
|
(function(ContentResizeDirection3) {
|
|
173928
174040
|
ContentResizeDirection3["UNKNOWN_ContentResizeDirection"] = "UNKNOWN_ContentResizeDirection";
|
|
@@ -173931,6 +174043,17 @@ var ContentResizeDirection2;
|
|
|
173931
174043
|
ContentResizeDirection3["horizontalAndVertical"] = "horizontalAndVertical";
|
|
173932
174044
|
ContentResizeDirection3["none"] = "none";
|
|
173933
174045
|
})(ContentResizeDirection2 || (ContentResizeDirection2 = {}));
|
|
174046
|
+
var InteractionsTrigger2;
|
|
174047
|
+
(function(InteractionsTrigger3) {
|
|
174048
|
+
InteractionsTrigger3["UNKNOWN_TRIGGER"] = "UNKNOWN_TRIGGER";
|
|
174049
|
+
InteractionsTrigger3["hover"] = "hover";
|
|
174050
|
+
InteractionsTrigger3["click"] = "click";
|
|
174051
|
+
InteractionsTrigger3["viewEnter"] = "viewEnter";
|
|
174052
|
+
InteractionsTrigger3["pageVisible"] = "pageVisible";
|
|
174053
|
+
InteractionsTrigger3["viewProgress"] = "viewProgress";
|
|
174054
|
+
InteractionsTrigger3["pointerMove"] = "pointerMove";
|
|
174055
|
+
InteractionsTrigger3["animationEnd"] = "animationEnd";
|
|
174056
|
+
})(InteractionsTrigger2 || (InteractionsTrigger2 = {}));
|
|
173934
174057
|
var RestrictionLevel2;
|
|
173935
174058
|
(function(RestrictionLevel3) {
|
|
173936
174059
|
RestrictionLevel3["UNKNOWN_RESTRICTION_TYPE"] = "UNKNOWN_RESTRICTION_TYPE";
|
|
@@ -174313,6 +174436,22 @@ var DevCenterClient = class {
|
|
|
174313
174436
|
});
|
|
174314
174437
|
}
|
|
174315
174438
|
};
|
|
174439
|
+
updateOAuthApp = async (oAuthApp) => {
|
|
174440
|
+
try {
|
|
174441
|
+
const { data } = await this.httpClient.request(
|
|
174442
|
+
updateOAuthApp({
|
|
174443
|
+
oAuthApp,
|
|
174444
|
+
mask: ["allowedDomains", "allowedRedirectUris"]
|
|
174445
|
+
})
|
|
174446
|
+
);
|
|
174447
|
+
return createOAuthAppSchema.parse(data).oAuthApp;
|
|
174448
|
+
} catch (e2) {
|
|
174449
|
+
throw new CliError({
|
|
174450
|
+
code: CliErrorCode.FailedToUpdateDevCenterOAuthApp(),
|
|
174451
|
+
cause: e2
|
|
174452
|
+
});
|
|
174453
|
+
}
|
|
174454
|
+
};
|
|
174316
174455
|
getAppSecret = async (req) => {
|
|
174317
174456
|
try {
|
|
174318
174457
|
const { data } = await pRetry(
|
|
@@ -177843,4 +177982,4 @@ mustache/mustache.mjs:
|
|
|
177843
177982
|
* http://github.com/janl/mustache.js
|
|
177844
177983
|
*)
|
|
177845
177984
|
*/
|
|
177846
|
-
//# sourceMappingURL=chunk-
|
|
177985
|
+
//# sourceMappingURL=chunk-SVPWVNP3.js.map
|