@wix/cli-app 1.1.131 → 1.1.133
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/{AddPermissionCommand-XSII6GZZ.js → AddPermissionCommand-TSG2QSBL.js} +2 -2
- package/build/{DevCommand-2T4E6IPK.js → DevCommand-7MZLBDES.js} +20 -204
- package/build/DevCommand-7MZLBDES.js.map +1 -0
- package/build/{GenerateCommand-OP6IU3NS.js → GenerateCommand-5UI54KBU.js} +8 -8
- package/build/{LogsCommand-2ADHXDRY.js → LogsCommand-WFRYKHOJ.js} +3 -3
- package/build/PreviewCommand-LL5LFTMH.js +19 -0
- package/build/ReleaseCommand-RKFXIF3L.js +23 -0
- package/build/{ServeCommand-4ZRI7MZC.js → ServeCommand-H4SEVUAN.js} +3 -3
- package/build/{build-PRVKXQCP.js → build-DSGVV5ZV.js} +6 -6
- package/build/{chunk-ZHQREOZP.js → chunk-3QFT6UQF.js} +2 -1
- package/build/chunk-3QFT6UQF.js.map +1 -0
- package/build/{chunk-4EI4C7ZX.js → chunk-5WFSVZ46.js} +2 -2
- package/build/{chunk-VIA44IXQ.js → chunk-ANYJPSC5.js} +3 -3
- package/build/{chunk-GMWG6N2T.js → chunk-CGB7ASKC.js} +2 -2
- package/build/{chunk-SLWJRTHZ.js → chunk-DYQDQIEK.js} +6 -6
- package/build/{chunk-KTJCVUFW.js → chunk-ESWUL5ZX.js} +2 -2
- package/build/{chunk-R3HBG3QU.js → chunk-FDSIXM6K.js} +2 -2
- package/build/{chunk-TMLNYIG3.js → chunk-FLD47ENF.js} +382 -120
- package/build/{chunk-TMLNYIG3.js.map → chunk-FLD47ENF.js.map} +1 -1
- package/build/{chunk-3J2LWCT4.js → chunk-GD5PKY3K.js} +2 -2
- package/build/{chunk-EGGJUE6G.js → chunk-JL3LD5NY.js} +2 -2
- package/build/{chunk-AJWBEG3J.js → chunk-LQ4UVRDE.js} +2 -2
- package/build/{chunk-2OG4EPK4.js → chunk-LXB667TS.js} +5 -5
- package/build/{chunk-RIUA44FB.js → chunk-MNXUG25I.js} +5 -5
- package/build/{chunk-IRQCSOFI.js → chunk-QYDPX5NW.js} +3 -3
- package/build/{chunk-JSPL2MJP.js → chunk-RD5ZK7QU.js} +6 -6
- package/build/{chunk-2WRJ6SAT.js → chunk-XLQ3FRLZ.js} +74 -2
- package/build/chunk-XLQ3FRLZ.js.map +1 -0
- package/build/{chunk-TURHJBQY.js → chunk-Z4TJCHCK.js} +27 -17
- package/build/{chunk-TURHJBQY.js.map → chunk-Z4TJCHCK.js.map} +1 -1
- package/build/{chunk-JYCCDTAH.js → chunk-Z5ULQGAD.js} +418 -95
- package/build/chunk-Z5ULQGAD.js.map +1 -0
- package/build/index.js +24 -24
- package/build/platform-sdk/{chunk-J3SVE4GM.js → chunk-R7FAXXP7.js} +1 -1
- package/build/platform-sdk/{chunk-J3SVE4GM.js.map → chunk-R7FAXXP7.js.map} +1 -1
- package/build/platform-sdk/{chunk-QFPCSRLT.js → chunk-WBKL5IQV.js} +2 -2
- package/build/platform-sdk/dashboard.js +1 -1
- package/build/platform-sdk/editor.js +1 -1
- package/build/platform-sdk/sdk-context.js +1 -1
- package/build/platform-sdk/sdk-context.js.map +1 -1
- package/build/platform-sdk/site.js +1 -1
- package/build/{preview-6CYFWYOM.js → preview-2NDGCDVM.js} +13 -13
- package/build/{release-IKWZ3WBN.js → release-EYSGZ3OW.js} +15 -15
- package/build/{render-command-QG5VW3MN.js → render-command-5BZDYMWG.js} +6 -6
- package/package.json +4 -4
- package/schemas/wix-config.json +1 -1
- package/build/DevCommand-2T4E6IPK.js.map +0 -1
- package/build/PreviewCommand-6KHLT4FS.js +0 -19
- package/build/ReleaseCommand-Q3ITCK4T.js +0 -23
- package/build/chunk-2WRJ6SAT.js.map +0 -1
- package/build/chunk-JYCCDTAH.js.map +0 -1
- package/build/chunk-ZHQREOZP.js.map +0 -1
- /package/build/{AddPermissionCommand-XSII6GZZ.js.map → AddPermissionCommand-TSG2QSBL.js.map} +0 -0
- /package/build/{GenerateCommand-OP6IU3NS.js.map → GenerateCommand-5UI54KBU.js.map} +0 -0
- /package/build/{LogsCommand-2ADHXDRY.js.map → LogsCommand-WFRYKHOJ.js.map} +0 -0
- /package/build/{PreviewCommand-6KHLT4FS.js.map → PreviewCommand-LL5LFTMH.js.map} +0 -0
- /package/build/{ReleaseCommand-Q3ITCK4T.js.map → ReleaseCommand-RKFXIF3L.js.map} +0 -0
- /package/build/{ServeCommand-4ZRI7MZC.js.map → ServeCommand-H4SEVUAN.js.map} +0 -0
- /package/build/{build-PRVKXQCP.js.map → build-DSGVV5ZV.js.map} +0 -0
- /package/build/{chunk-4EI4C7ZX.js.map → chunk-5WFSVZ46.js.map} +0 -0
- /package/build/{chunk-VIA44IXQ.js.map → chunk-ANYJPSC5.js.map} +0 -0
- /package/build/{chunk-GMWG6N2T.js.map → chunk-CGB7ASKC.js.map} +0 -0
- /package/build/{chunk-SLWJRTHZ.js.map → chunk-DYQDQIEK.js.map} +0 -0
- /package/build/{chunk-KTJCVUFW.js.map → chunk-ESWUL5ZX.js.map} +0 -0
- /package/build/{chunk-R3HBG3QU.js.map → chunk-FDSIXM6K.js.map} +0 -0
- /package/build/{chunk-3J2LWCT4.js.map → chunk-GD5PKY3K.js.map} +0 -0
- /package/build/{chunk-EGGJUE6G.js.map → chunk-JL3LD5NY.js.map} +0 -0
- /package/build/{chunk-AJWBEG3J.js.map → chunk-LQ4UVRDE.js.map} +0 -0
- /package/build/{chunk-2OG4EPK4.js.map → chunk-LXB667TS.js.map} +0 -0
- /package/build/{chunk-RIUA44FB.js.map → chunk-MNXUG25I.js.map} +0 -0
- /package/build/{chunk-IRQCSOFI.js.map → chunk-QYDPX5NW.js.map} +0 -0
- /package/build/{chunk-JSPL2MJP.js.map → chunk-RD5ZK7QU.js.map} +0 -0
- /package/build/platform-sdk/{chunk-QFPCSRLT.js.map → chunk-WBKL5IQV.js.map} +0 -0
- /package/build/{preview-6CYFWYOM.js.map → preview-2NDGCDVM.js.map} +0 -0
- /package/build/{release-IKWZ3WBN.js.map → release-EYSGZ3OW.js.map} +0 -0
- /package/build/{render-command-QG5VW3MN.js.map → render-command-5BZDYMWG.js.map} +0 -0
|
@@ -306,12 +306,12 @@ var require_isType = __commonJS({
|
|
|
306
306
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
307
307
|
exports.isTypeImpl = void 0;
|
|
308
308
|
function isTypeImpl(key) {
|
|
309
|
-
function
|
|
309
|
+
function isType13(instanceOrType, type) {
|
|
310
310
|
if (instanceOrType != void 0) {
|
|
311
311
|
if (typeof instanceOrType === "function" || typeof instanceOrType === "string") {
|
|
312
312
|
const typeArg = instanceOrType;
|
|
313
313
|
const typeStr2 = typeof typeArg === "string" ? typeArg : typeArg.output.type;
|
|
314
|
-
return (o) =>
|
|
314
|
+
return (o) => isType13(o, typeStr2);
|
|
315
315
|
} else {
|
|
316
316
|
const instance2 = instanceOrType;
|
|
317
317
|
const typeStr2 = typeof type === "string" ? type : type.output.type;
|
|
@@ -321,7 +321,7 @@ var require_isType = __commonJS({
|
|
|
321
321
|
return false;
|
|
322
322
|
}
|
|
323
323
|
}
|
|
324
|
-
return { isType:
|
|
324
|
+
return { isType: isType13 };
|
|
325
325
|
}
|
|
326
326
|
exports.isTypeImpl = isTypeImpl;
|
|
327
327
|
}
|
|
@@ -588,13 +588,13 @@ var require_remote = __commonJS({
|
|
|
588
588
|
CompareResult2[CompareResult2["Greater"] = 1] = "Greater";
|
|
589
589
|
})(CompareResult = exports.CompareResult || (exports.CompareResult = {}));
|
|
590
590
|
function remoteImpl(key) {
|
|
591
|
-
const { isType:
|
|
591
|
+
const { isType: isType13 } = (0, isType_1.isTypeImpl)(key);
|
|
592
592
|
const { match: match15 } = (0, match_1.matchImpl)(key);
|
|
593
593
|
const { variantList } = (0, variant_1.variantImpl)(key);
|
|
594
594
|
function isFunctions(vmod) {
|
|
595
595
|
const keys2 = Object.keys(vmod);
|
|
596
596
|
return keys2.reduce((acc, key2) => {
|
|
597
|
-
return Object.assign(Object.assign({}, acc), { [key2]:
|
|
597
|
+
return Object.assign(Object.assign({}, acc), { [key2]: isType13(key2) });
|
|
598
598
|
}, {});
|
|
599
599
|
}
|
|
600
600
|
function remote(vmod) {
|
|
@@ -862,11 +862,11 @@ var require_cosmos = __commonJS({
|
|
|
862
862
|
var typed_1 = require_typed();
|
|
863
863
|
var matcher_1 = require_matcher();
|
|
864
864
|
function variantCosmos({ key }) {
|
|
865
|
-
const { isType:
|
|
865
|
+
const { isType: isType13 } = (0, isType_1.isTypeImpl)(key);
|
|
866
866
|
const { flags } = (0, flags_1.flagsImpl)(key);
|
|
867
867
|
return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({
|
|
868
868
|
key,
|
|
869
|
-
isType:
|
|
869
|
+
isType: isType13,
|
|
870
870
|
flags
|
|
871
871
|
}, (0, isOfVariant_1.isOfVariantImpl)(key)), (0, match_1.matchImpl)(key)), (0, matcher_1.matcherImpl)(key)), (0, remote_1.remoteImpl)(key)), (0, typed_1.typedImpl)(key)), (0, types_1.typesImpl)(key)), (0, variant_1.variantImpl)(key));
|
|
872
872
|
}
|
|
@@ -9083,12 +9083,12 @@ var require_lodash = __commonJS({
|
|
|
9083
9083
|
Stack.prototype.has = stackHas;
|
|
9084
9084
|
Stack.prototype.set = stackSet;
|
|
9085
9085
|
function arrayLikeKeys(value2, inherited) {
|
|
9086
|
-
var isArr = isArray3(value2), isArg = !isArr && isArguments(value2), isBuff = !isArr && !isArg && isBuffer(value2),
|
|
9086
|
+
var isArr = isArray3(value2), isArg = !isArr && isArguments(value2), isBuff = !isArr && !isArg && isBuffer(value2), isType13 = !isArr && !isArg && !isBuff && isTypedArray2(value2), skipIndexes = isArr || isArg || isBuff || isType13, result = skipIndexes ? baseTimes(value2.length, String) : [], length = result.length;
|
|
9087
9087
|
for (var key in value2) {
|
|
9088
9088
|
if ((inherited || hasOwnProperty3.call(value2, key)) && !(skipIndexes && // Safari 9 has enumerable `arguments.length` in strict mode.
|
|
9089
9089
|
(key == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
|
|
9090
9090
|
isBuff && (key == "offset" || key == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
|
|
9091
|
-
|
|
9091
|
+
isType13 && (key == "buffer" || key == "byteLength" || key == "byteOffset") || // Skip index properties.
|
|
9092
9092
|
isIndex(key, length)))) {
|
|
9093
9093
|
result.push(key);
|
|
9094
9094
|
}
|
|
@@ -20886,9 +20886,9 @@ ${trace}`);
|
|
|
20886
20886
|
Object.defineProperty(exports2, "__esModule", {
|
|
20887
20887
|
value: true
|
|
20888
20888
|
});
|
|
20889
|
-
exports2.default =
|
|
20889
|
+
exports2.default = isType13;
|
|
20890
20890
|
var _index = require_definitions();
|
|
20891
|
-
function
|
|
20891
|
+
function isType13(nodeType, targetType) {
|
|
20892
20892
|
if (nodeType === targetType) return true;
|
|
20893
20893
|
if (nodeType == null) return false;
|
|
20894
20894
|
if (_index.ALIAS_KEYS[targetType]) return false;
|
|
@@ -53433,7 +53433,7 @@ var e,t,r="function"==typeof Symbol?Symbol:{},n=r.iterator||"@@iterator",o=r.toS
|
|
|
53433
53433
|
return false;
|
|
53434
53434
|
}
|
|
53435
53435
|
}
|
|
53436
|
-
function
|
|
53436
|
+
function isType13(node) {
|
|
53437
53437
|
return isLiteral(node) || isObjectExpression(node) || isArrayExpression(node) || isIdentifier(node) || isMemberExpression(node);
|
|
53438
53438
|
}
|
|
53439
53439
|
var nodes = exports2.nodes = {
|
|
@@ -53469,7 +53469,7 @@ var e,t,r="function"==typeof Symbol?Symbol:{},n=r.iterator||"@@iterator",o=r.toS
|
|
|
53469
53469
|
VariableDeclaration(node) {
|
|
53470
53470
|
for (let i2 = 0; i2 < node.declarations.length; i2++) {
|
|
53471
53471
|
const declar = node.declarations[i2];
|
|
53472
|
-
let enabled = isHelper(declar.id) && !
|
|
53472
|
+
let enabled = isHelper(declar.id) && !isType13(declar.init);
|
|
53473
53473
|
if (!enabled && declar.init) {
|
|
53474
53474
|
const state = crawl(declar.init);
|
|
53475
53475
|
enabled = isHelper(declar.init) && state.hasCall || state.hasFunction;
|
|
@@ -61050,7 +61050,7 @@ ${" ".repeat(indentSize)}`);
|
|
|
61050
61050
|
isIdentifier,
|
|
61051
61051
|
isLiteral,
|
|
61052
61052
|
isStringLiteral,
|
|
61053
|
-
isType:
|
|
61053
|
+
isType: isType13,
|
|
61054
61054
|
matchesPattern: _matchesPattern
|
|
61055
61055
|
} = _t;
|
|
61056
61056
|
function matchesPattern(pattern, allowPartial) {
|
|
@@ -61080,7 +61080,7 @@ ${" ".repeat(indentSize)}`);
|
|
|
61080
61080
|
};
|
|
61081
61081
|
}
|
|
61082
61082
|
function isNodeType(type) {
|
|
61083
|
-
return
|
|
61083
|
+
return isType13(this.type, type);
|
|
61084
61084
|
}
|
|
61085
61085
|
function canHaveVariableDeclarationOrExpression() {
|
|
61086
61086
|
return (this.key === "init" || this.key === "left") && this.parentPath.isFor();
|
|
@@ -139636,7 +139636,7 @@ var require_path_type = __commonJS({
|
|
|
139636
139636
|
init_esm_shims();
|
|
139637
139637
|
var { promisify: promisify6 } = __require("util");
|
|
139638
139638
|
var fs11 = __require("fs");
|
|
139639
|
-
async function
|
|
139639
|
+
async function isType13(fsStatType, statsMethodName, filePath) {
|
|
139640
139640
|
if (typeof filePath !== "string") {
|
|
139641
139641
|
throw new TypeError(`Expected a string, got ${typeof filePath}`);
|
|
139642
139642
|
}
|
|
@@ -139663,9 +139663,9 @@ var require_path_type = __commonJS({
|
|
|
139663
139663
|
throw error;
|
|
139664
139664
|
}
|
|
139665
139665
|
}
|
|
139666
|
-
exports.isFile =
|
|
139667
|
-
exports.isDirectory =
|
|
139668
|
-
exports.isSymlink =
|
|
139666
|
+
exports.isFile = isType13.bind(null, "stat", "isFile");
|
|
139667
|
+
exports.isDirectory = isType13.bind(null, "stat", "isDirectory");
|
|
139668
|
+
exports.isSymlink = isType13.bind(null, "lstat", "isSymbolicLink");
|
|
139669
139669
|
exports.isFileSync = isTypeSync2.bind(null, "statSync", "isFile");
|
|
139670
139670
|
exports.isDirectorySync = isTypeSync2.bind(null, "statSync", "isDirectory");
|
|
139671
139671
|
exports.isSymlinkSync = isTypeSync2.bind(null, "lstatSync", "isSymbolicLink");
|
|
@@ -140131,11 +140131,12 @@ var require_types_impl = __commonJS({
|
|
|
140131
140131
|
"use strict";
|
|
140132
140132
|
init_esm_shims();
|
|
140133
140133
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
140134
|
-
exports.
|
|
140135
|
-
exports.
|
|
140136
|
-
exports.
|
|
140137
|
-
exports.
|
|
140138
|
-
exports.
|
|
140134
|
+
exports.BackOfficeScriptAssetType = exports.SlotDataType = exports.DtsDefinitionType = exports.BackOfficeHostingPlatforms = exports.ExtendingComponentType = exports.ExecutionType = exports.SourceType = exports.IntegrationType = exports.ActionSPIConfigInterfaceConfigurationType = exports.HookType = exports.Default = exports.MeasurementSystem = exports.MandatoryField = exports.HostContainerId = exports.PartialPaymentRestriction = exports.SchemaFieldExposure = exports.SimpleType = exports.PrimitiveType = exports.Order = exports.AccessLevel = exports.DataComponentFieldType = exports.ExtensionType = exports.ScriptType = exports.WebComponentDataElementType = exports.DefaultTextStyle = exports.BarAlignmentSelected = exports.ThumbnailsSize = exports.TemplateDefaultColor = exports.EmbedCategory = exports.EmbeddedScriptPlacement = exports.EmbeddedScriptPages = exports.StaticContainer = exports.RegionType = exports.InstallPage = exports.HTTPMethod = exports.Maturity = exports.Exposure = exports.PluginInterface = exports.ReplacementType = exports.SiteMembersSsrCaching = exports.VerticalDocking = exports.HorizontalDocking = exports.UnitType = exports.Region = exports.WidgetWidthType = exports.WidgetHorizontal = exports.WidgetVertical = exports.ComponentType = exports.VersionStatus = exports.Classification = void 0;
|
|
140135
|
+
exports.Placement = exports.Resizing = exports.AspectRatio = exports.ImageStylesPosition = exports.FontType = exports.DecorationType = exports.BackgroundType = exports.PollLayoutDirection = exports.PollLayoutType = exports.VoteRole = exports.ViewRole = exports.MapType = exports.StylesPosition = exports.HTMLDataSource = exports.GIFType = exports.ThumbnailsAlignment = exports.Crop = exports.Orientation = exports.LayoutType = exports.PDFSettingsViewMode = exports.Alignment = exports.DividerDataWidth = exports.LineStyle = exports.TextAlignment = exports.LinkTarget = exports.ButtonDataType = exports.PluginContainerDataAlignment = exports.WidthType = exports.NodeType = exports.InitDirection = exports.AcceptedSmsMessageType = exports.MediaMimeType = exports.AcceptedDirectMessageType = exports.ChannelType = exports.PaginationMode = exports.FilterOptionsType = exports.FilterSelectionType = exports.Tag = exports.AvatarShape = exports.ImageShape = exports.ThumbnailType = exports.TextInputDisplayType = exports.LayoutMode = exports.Status = exports.Domain = exports.BlockType = exports.RestrictedOperation = exports.LockableOperation = exports.AlgorithmType = exports.ViewMode = void 0;
|
|
140136
|
+
exports.ImageFit = exports.AlignmentEnumAlignment = exports.ImagePosition = exports.StringComponentType = exports.Format = exports.FieldType = exports.HeightMode = exports.CustomElementScriptType = exports.SchemaFieldFieldType = exports.SchemaScope = exports.Environment = exports.Type = exports.RecipientFilterType = exports.UserNotificationDataType = exports.Intent = exports.ExposureRuleType = exports.AndroidStyle = exports.MobileApplication = exports.IconType = exports.Level = exports.InitiatorType = exports.UserNotificationDataRecipientFilterType = exports.TypedDynamicParamType = exports.PlanPeriodUnit = exports.PlanFormDefaultSection = exports.PlanFormPricingType = exports.PlanFormPricingOption = exports.RecipientType = exports.NotificationTopicType = exports.NotificationTopicState = exports.PingSettingsGroupComponentDataState = exports.NavigationType = exports.OAuthTechnologies = exports.OAuthAppType = exports.SyncToCalendar = exports.ListEventFromCalendars = exports.ConnectMethod = exports.CalendarType = exports.ResponsivenessBehaviour = exports.VerticalAlignmentAlignment = exports.LayoutDataImagePosition = exports.Scaling = exports.NullValue = exports.VerticalAlignment = exports.Direction = exports.InitialExpandedItems = exports.AppType = exports.CardStylesLayout = exports.CardStylesAlignment = exports.CardStylesType = void 0;
|
|
140137
|
+
exports.ParticipantType = exports.Method = exports.StorageDomain = exports.ConsentCategory = exports.StorageType = exports.PanelMode = exports.PanelContentType = exports.Width = exports.ImportanceLevel = exports.Escalation = exports.MonitoringType = exports.FactorType = exports.AcceptedMessageTypesAcceptedSmsMessageType = exports.AcceptedMessageTypesAcceptedDirectMessageType = exports.ChannelConfigurationChannelType = exports.WixCodePublishTaskName = exports.RequiredIndicatorPlacement = exports.RequiredIndicator = exports.EditableProperties = exports.CustomFieldsType = exports.TemplateType = exports.SubmitSuccessAction = exports.Target = exports.Operator = exports.OverrideEntityType = exports.ChangeableProperty = exports.DisplayFieldType = exports.ContactField = exports.ConfirmationLevel = exports.AddressInfoTag = exports.PhoneInfoTag = exports.EmailInfoTag = exports.InputType = exports.AppointmentFormat = exports.SchedulingComponentType = exports.DefaultCountryConfigType = exports.AddressComponentType = exports.PriceType = exports.ProductType = exports.PaymentComponentType = exports.UploadFileFormat = exports.UploadFileFormatEnumUploadFileFormat = exports.WixFileComponentType = exports.ArrayComponentType = exports.PropertiesTypeEnum = exports.ItemType = exports.BooleanComponentType = exports.NumberComponentType = exports.FirstDayOfWeek = exports.NumberOfColumns = void 0;
|
|
140138
|
+
exports.BusinessModel = exports.PlanDescription = exports.PlanStatus = exports.MediaType = exports.UninstallActions = exports.OpenConsentIn = exports.AssetType = exports.VibeActionType = exports.RegionScopeScope = exports.ValueConstraintType = exports.TimeConstraintType = exports.FilterValueDefinitionMode = exports.ParameterType = exports.OperatorEnumOperator = exports.SidebarEntityType = exports.SidebarDataType = exports.ElementDisplayOption = exports.RestrictionLevel = exports.EffectGroup = exports.InteractionsTrigger = exports.CssPropertyEnumCssPropertyType = exports.GroupType = exports.NativeStateType = exports.Archetype = exports.ContentResizeDirection = exports.BreakpointEnumBreakpoint = exports.SizingType = exports.ActionName = exports.PanelType = exports.ActionType = exports.CssDataTypeEnumCssDataType = exports.BackgroundModeEnum = exports.WritingModeValue = exports.DisplayValueEnumDisplayValue = exports.FilterFunction = exports.StyleType = exports.CssDataType = exports.CssPropertyType = exports.ElementType = exports.VectorArtCategoryTypes = exports.VideoCategoryTypes = exports.ImageCategoryTypes = exports.RichTextAbilities = exports.ResizeDirection = exports.ContainerType = exports.LinkType = exports.A11yAttributes = exports.DataType = exports.Scope = exports.InterfaceConfigurationType = void 0;
|
|
140139
|
+
exports.WebhookIdentityType = exports.TranslationType = void 0;
|
|
140139
140140
|
var Classification2;
|
|
140140
140141
|
(function(Classification3) {
|
|
140141
140142
|
Classification3["SITE_APP"] = "SITE_APP";
|
|
@@ -140553,6 +140554,47 @@ var require_types_impl = __commonJS({
|
|
|
140553
140554
|
ExtensionType4["ASCEND_AUTOMATION_EXTENSION"] = "ASCEND_AUTOMATION_EXTENSION";
|
|
140554
140555
|
ExtensionType4["CONTACT_LABELS_EXTENSION"] = "CONTACT_LABELS_EXTENSION";
|
|
140555
140556
|
})(ExtensionType3 = exports.ExtensionType || (exports.ExtensionType = {}));
|
|
140557
|
+
var DataComponentFieldType3;
|
|
140558
|
+
(function(DataComponentFieldType4) {
|
|
140559
|
+
DataComponentFieldType4["UNKNOWN_FIELD_TYPE"] = "UNKNOWN_FIELD_TYPE";
|
|
140560
|
+
DataComponentFieldType4["TEXT"] = "TEXT";
|
|
140561
|
+
DataComponentFieldType4["NUMBER"] = "NUMBER";
|
|
140562
|
+
DataComponentFieldType4["DATE"] = "DATE";
|
|
140563
|
+
DataComponentFieldType4["DATETIME"] = "DATETIME";
|
|
140564
|
+
DataComponentFieldType4["IMAGE"] = "IMAGE";
|
|
140565
|
+
DataComponentFieldType4["BOOLEAN"] = "BOOLEAN";
|
|
140566
|
+
DataComponentFieldType4["DOCUMENT"] = "DOCUMENT";
|
|
140567
|
+
DataComponentFieldType4["URL"] = "URL";
|
|
140568
|
+
DataComponentFieldType4["RICH_TEXT"] = "RICH_TEXT";
|
|
140569
|
+
DataComponentFieldType4["VIDEO"] = "VIDEO";
|
|
140570
|
+
DataComponentFieldType4["ANY"] = "ANY";
|
|
140571
|
+
DataComponentFieldType4["ARRAY_STRING"] = "ARRAY_STRING";
|
|
140572
|
+
DataComponentFieldType4["ARRAY_DOCUMENT"] = "ARRAY_DOCUMENT";
|
|
140573
|
+
DataComponentFieldType4["AUDIO"] = "AUDIO";
|
|
140574
|
+
DataComponentFieldType4["TIME"] = "TIME";
|
|
140575
|
+
DataComponentFieldType4["LANGUAGE"] = "LANGUAGE";
|
|
140576
|
+
DataComponentFieldType4["RICH_CONTENT"] = "RICH_CONTENT";
|
|
140577
|
+
DataComponentFieldType4["MEDIA_GALLERY"] = "MEDIA_GALLERY";
|
|
140578
|
+
DataComponentFieldType4["ADDRESS"] = "ADDRESS";
|
|
140579
|
+
DataComponentFieldType4["REFERENCE"] = "REFERENCE";
|
|
140580
|
+
DataComponentFieldType4["MULTI_REFERENCE"] = "MULTI_REFERENCE";
|
|
140581
|
+
DataComponentFieldType4["OBJECT"] = "OBJECT";
|
|
140582
|
+
DataComponentFieldType4["ARRAY"] = "ARRAY";
|
|
140583
|
+
})(DataComponentFieldType3 = exports.DataComponentFieldType || (exports.DataComponentFieldType = {}));
|
|
140584
|
+
var AccessLevel3;
|
|
140585
|
+
(function(AccessLevel4) {
|
|
140586
|
+
AccessLevel4["UNDEFINED"] = "UNDEFINED";
|
|
140587
|
+
AccessLevel4["ANYONE"] = "ANYONE";
|
|
140588
|
+
AccessLevel4["SITE_MEMBER"] = "SITE_MEMBER";
|
|
140589
|
+
AccessLevel4["SITE_MEMBER_AUTHOR"] = "SITE_MEMBER_AUTHOR";
|
|
140590
|
+
AccessLevel4["CMS_EDITOR"] = "CMS_EDITOR";
|
|
140591
|
+
AccessLevel4["PRIVILEGED"] = "PRIVILEGED";
|
|
140592
|
+
})(AccessLevel3 = exports.AccessLevel || (exports.AccessLevel = {}));
|
|
140593
|
+
var Order3;
|
|
140594
|
+
(function(Order4) {
|
|
140595
|
+
Order4["ASC"] = "ASC";
|
|
140596
|
+
Order4["DESC"] = "DESC";
|
|
140597
|
+
})(Order3 = exports.Order || (exports.Order = {}));
|
|
140556
140598
|
var PrimitiveType3;
|
|
140557
140599
|
(function(PrimitiveType4) {
|
|
140558
140600
|
PrimitiveType4["UNKNOWN_PRIMITIVE_TYPE"] = "UNKNOWN_PRIMITIVE_TYPE";
|
|
@@ -140631,11 +140673,17 @@ var require_types_impl = __commonJS({
|
|
|
140631
140673
|
ActionSPIConfigInterfaceConfigurationType3["WIDGET_COMPONENT"] = "WIDGET_COMPONENT";
|
|
140632
140674
|
ActionSPIConfigInterfaceConfigurationType3["GENERIC"] = "GENERIC";
|
|
140633
140675
|
})(ActionSPIConfigInterfaceConfigurationType2 = exports.ActionSPIConfigInterfaceConfigurationType || (exports.ActionSPIConfigInterfaceConfigurationType = {}));
|
|
140676
|
+
var IntegrationType3;
|
|
140677
|
+
(function(IntegrationType4) {
|
|
140678
|
+
IntegrationType4["UNKNOWN_INTEGRATION_TYPE"] = "UNKNOWN_INTEGRATION_TYPE";
|
|
140679
|
+
IntegrationType4["WIX_API"] = "WIX_API";
|
|
140680
|
+
})(IntegrationType3 = exports.IntegrationType || (exports.IntegrationType = {}));
|
|
140634
140681
|
var SourceType3;
|
|
140635
140682
|
(function(SourceType4) {
|
|
140636
140683
|
SourceType4["UNKNOWN_SOURCE_TYPE"] = "UNKNOWN_SOURCE_TYPE";
|
|
140637
140684
|
SourceType4["DEV_CENTER"] = "DEV_CENTER";
|
|
140638
140685
|
SourceType4["WIX_API"] = "WIX_API";
|
|
140686
|
+
SourceType4["INTEGRATION"] = "INTEGRATION";
|
|
140639
140687
|
})(SourceType3 = exports.SourceType || (exports.SourceType = {}));
|
|
140640
140688
|
var ExecutionType3;
|
|
140641
140689
|
(function(ExecutionType4) {
|
|
@@ -141229,6 +141277,8 @@ var require_types_impl = __commonJS({
|
|
|
141229
141277
|
PlanFormDefaultSection4["ADVANCED_SETTINGS"] = "ADVANCED_SETTINGS";
|
|
141230
141278
|
PlanFormDefaultSection4["PRICING"] = "PRICING";
|
|
141231
141279
|
PlanFormDefaultSection4["DURATION"] = "DURATION";
|
|
141280
|
+
PlanFormDefaultSection4["CUSTOM_PRICING_RULES"] = "CUSTOM_PRICING_RULES";
|
|
141281
|
+
PlanFormDefaultSection4["START_DATE_RULES"] = "START_DATE_RULES";
|
|
141232
141282
|
})(PlanFormDefaultSection3 = exports.PlanFormDefaultSection || (exports.PlanFormDefaultSection = {}));
|
|
141233
141283
|
var PlanPeriodUnit3;
|
|
141234
141284
|
(function(PlanPeriodUnit4) {
|
|
@@ -145008,7 +145058,7 @@ var require_chokidar = __commonJS({
|
|
|
145008
145058
|
var package_default = {
|
|
145009
145059
|
name: "@wix/cli-app",
|
|
145010
145060
|
description: "CLI tool for Wix apps",
|
|
145011
|
-
version: "1.1.
|
|
145061
|
+
version: "1.1.133",
|
|
145012
145062
|
author: "Amit Dahan",
|
|
145013
145063
|
dependencies: {
|
|
145014
145064
|
esbuild: "^0.25.0",
|
|
@@ -145025,8 +145075,8 @@ var package_default = {
|
|
|
145025
145075
|
"@wix/ambassador-blocks-v1-blocks-app": "^1.0.78",
|
|
145026
145076
|
"@wix/ambassador-cli-site-override-service-v1-site-override": "^1.0.11",
|
|
145027
145077
|
"@wix/ambassador-ctp-app-cloud-backend-service-v1-app-cloud-backend-deployment": "^1.0.15",
|
|
145028
|
-
"@wix/ambassador-ctp-gradual-rollout-v1-app-config": "^1.0.
|
|
145029
|
-
"@wix/ambassador-devcenter-apps-v1-app-old": "^1.0.
|
|
145078
|
+
"@wix/ambassador-ctp-gradual-rollout-v1-app-config": "^1.0.82",
|
|
145079
|
+
"@wix/ambassador-devcenter-apps-v1-app-old": "^1.0.120",
|
|
145030
145080
|
"@wix/app-cloud-uploader": "^1.18.0",
|
|
145031
145081
|
"@wix/arm-client": "workspace:*",
|
|
145032
145082
|
"@wix/bi-logger-dev-tools-data": "^1.125.0",
|
|
@@ -145315,7 +145365,7 @@ var CliSystemErrorCode = (0, import_variant.variant)({
|
|
|
145315
145365
|
FailedToCreateShareUrl: {},
|
|
145316
145366
|
FailedToListShareUrls: {},
|
|
145317
145367
|
FailedToParseNextVersion: (0, import_variant.fields)(),
|
|
145318
|
-
|
|
145368
|
+
FailedToDistributeClientManifestUpdate: {}
|
|
145319
145369
|
});
|
|
145320
145370
|
var CliUserErrorCode = (0, import_variant.variant)({
|
|
145321
145371
|
LatestVersionOfCreateAppRequired: (0, import_variant.fields)(),
|
|
@@ -164882,6 +164932,9 @@ ${errorMessage}`
|
|
|
164882
164932
|
}
|
|
164883
164933
|
);
|
|
164884
164934
|
},
|
|
164935
|
+
FailedToDistributeClientManifestUpdate: () => {
|
|
164936
|
+
return () => /* @__PURE__ */ import_react79.default.createElement(SystemErrorMessage, { message: "Failed to distribute client manifest update." });
|
|
164937
|
+
},
|
|
164885
164938
|
InvalidSiteComponentElementItem: ({ elementPath }) => {
|
|
164886
164939
|
return () => /* @__PURE__ */ import_react79.default.createElement(
|
|
164887
164940
|
ErrorMessage,
|
|
@@ -164899,9 +164952,6 @@ ${errorMessage}`
|
|
|
164899
164952
|
hint: "To resolve this, please visit your app dashboard in Dev Center and ensure the 'Wix App' toggle is enabled."
|
|
164900
164953
|
}
|
|
164901
164954
|
);
|
|
164902
|
-
},
|
|
164903
|
-
AppProjectTypeNotImplemented: () => {
|
|
164904
|
-
return () => /* @__PURE__ */ import_react79.default.createElement(ErrorMessage, { message: "Currently 'App' project type is not supported." });
|
|
164905
164955
|
}
|
|
164906
164956
|
});
|
|
164907
164957
|
}
|
|
@@ -167544,6 +167594,62 @@ var SiteAuthProvider = ({
|
|
|
167544
167594
|
);
|
|
167545
167595
|
};
|
|
167546
167596
|
|
|
167597
|
+
// ../cli-auth/src/hooks/useSiteAuth.ts
|
|
167598
|
+
init_esm_shims();
|
|
167599
|
+
var import_react90 = __toESM(require_react(), 1);
|
|
167600
|
+
var import_variant24 = __toESM(require_lib(), 1);
|
|
167601
|
+
var useSiteAuth = ({
|
|
167602
|
+
siteId,
|
|
167603
|
+
onError,
|
|
167604
|
+
onLogin
|
|
167605
|
+
}) => {
|
|
167606
|
+
const exit = useExit();
|
|
167607
|
+
const authStrategy = (0, import_react90.useMemo)(() => createSiteAuthStrategy(siteId), [siteId]);
|
|
167608
|
+
const { status } = useAsync2(authStrategy.isLoggedIn, [], {
|
|
167609
|
+
onSuccess: (result) => {
|
|
167610
|
+
if (result) {
|
|
167611
|
+
onLogin?.(result.userInfo);
|
|
167612
|
+
}
|
|
167613
|
+
},
|
|
167614
|
+
onError: onError ?? exit
|
|
167615
|
+
});
|
|
167616
|
+
if ((0, import_variant24.isType)(status, "Loading")) {
|
|
167617
|
+
return {
|
|
167618
|
+
isLoading: true,
|
|
167619
|
+
isError: false,
|
|
167620
|
+
isAuthenticated: false,
|
|
167621
|
+
authState: null
|
|
167622
|
+
};
|
|
167623
|
+
}
|
|
167624
|
+
if ((0, import_variant24.isType)(status, "Error")) {
|
|
167625
|
+
return {
|
|
167626
|
+
isLoading: false,
|
|
167627
|
+
isError: true,
|
|
167628
|
+
isAuthenticated: false,
|
|
167629
|
+
authState: null,
|
|
167630
|
+
error: status.error
|
|
167631
|
+
};
|
|
167632
|
+
}
|
|
167633
|
+
const authState = status.result;
|
|
167634
|
+
if (authState == null) {
|
|
167635
|
+
return {
|
|
167636
|
+
isLoading: false,
|
|
167637
|
+
isError: false,
|
|
167638
|
+
isAuthenticated: false,
|
|
167639
|
+
authState: null
|
|
167640
|
+
};
|
|
167641
|
+
}
|
|
167642
|
+
return {
|
|
167643
|
+
isLoading: false,
|
|
167644
|
+
isError: false,
|
|
167645
|
+
isAuthenticated: true,
|
|
167646
|
+
authState,
|
|
167647
|
+
getAccessToken: authState.getAccessToken,
|
|
167648
|
+
getRequestHeaders: authState.getRequestHeaders,
|
|
167649
|
+
userInfo: authState.userInfo
|
|
167650
|
+
};
|
|
167651
|
+
};
|
|
167652
|
+
|
|
167547
167653
|
// ../cli-auth/src/index.ts
|
|
167548
167654
|
var { isLoggedIn: isLoggedInToAccount } = accountAuthStrategy;
|
|
167549
167655
|
|
|
@@ -167578,13 +167684,13 @@ function getDebugLogFilePath(projectFolder) {
|
|
|
167578
167684
|
|
|
167579
167685
|
// ../cli-http-client-react/src/httpClientProvider.tsx
|
|
167580
167686
|
init_esm_shims();
|
|
167581
|
-
var
|
|
167582
|
-
var HttpClientContext = (0,
|
|
167687
|
+
var import_react91 = __toESM(require_react(), 1);
|
|
167688
|
+
var HttpClientContext = (0, import_react91.createContext)(null);
|
|
167583
167689
|
var HttpClientProvider = ({
|
|
167584
167690
|
children,
|
|
167585
167691
|
headers
|
|
167586
167692
|
}) => {
|
|
167587
|
-
return /* @__PURE__ */
|
|
167693
|
+
return /* @__PURE__ */ import_react91.default.createElement(HttpClientContext.Provider, { value: { headers } }, children);
|
|
167588
167694
|
};
|
|
167589
167695
|
|
|
167590
167696
|
// ../cli-http-client-react/src/buildHttpClientHeaders.ts
|
|
@@ -167609,13 +167715,13 @@ init_esm_shims();
|
|
|
167609
167715
|
|
|
167610
167716
|
// ../cli-http-client-react/src/useHttpClient.ts
|
|
167611
167717
|
init_esm_shims();
|
|
167612
|
-
var
|
|
167718
|
+
var import_react92 = __toESM(require_react(), 1);
|
|
167613
167719
|
function useHttpClient({
|
|
167614
167720
|
type
|
|
167615
167721
|
}) {
|
|
167616
|
-
const context = (0,
|
|
167722
|
+
const context = (0, import_react92.useContext)(HttpClientContext);
|
|
167617
167723
|
const { getAccessToken: getAppToken, getRequestHeaders: createAuthHeaders } = useAuth();
|
|
167618
|
-
return (0,
|
|
167724
|
+
return (0, import_react92.useMemo)(
|
|
167619
167725
|
() => createHttpClient({
|
|
167620
167726
|
type,
|
|
167621
167727
|
getAppToken,
|
|
@@ -167630,11 +167736,11 @@ function useHttpClient({
|
|
|
167630
167736
|
|
|
167631
167737
|
// ../cli-panorama/src/PanoramaContext.tsx
|
|
167632
167738
|
init_esm_shims();
|
|
167633
|
-
var
|
|
167634
|
-
var PanoramaContext = (0,
|
|
167739
|
+
var import_react93 = __toESM(require_react(), 1);
|
|
167740
|
+
var PanoramaContext = (0, import_react93.createContext)(void 0);
|
|
167635
167741
|
var PanoramaProvider = (props) => {
|
|
167636
167742
|
const { value: value2, children } = props;
|
|
167637
|
-
return /* @__PURE__ */
|
|
167743
|
+
return /* @__PURE__ */ import_react93.default.createElement(PanoramaContext.Provider, { value: value2 }, children);
|
|
167638
167744
|
};
|
|
167639
167745
|
|
|
167640
167746
|
// ../cli-panorama/src/index.ts
|
|
@@ -167642,23 +167748,23 @@ init_esm_shims();
|
|
|
167642
167748
|
|
|
167643
167749
|
// ../cli-panorama/src/usePanoramaMethodLogger.ts
|
|
167644
167750
|
init_esm_shims();
|
|
167645
|
-
var
|
|
167751
|
+
var import_react94 = __toESM(require_react(), 1);
|
|
167646
167752
|
function usePanoramaMethodLogger(target) {
|
|
167647
|
-
const factory = (0,
|
|
167753
|
+
const factory = (0, import_react94.useContext)(PanoramaContext);
|
|
167648
167754
|
if (factory == null) {
|
|
167649
167755
|
throw new Error(
|
|
167650
167756
|
"usePanoramaMethodLogger() cannot be used without a <PanoramaProvider />"
|
|
167651
167757
|
);
|
|
167652
167758
|
}
|
|
167653
167759
|
const componentId = target.constructor.name;
|
|
167654
|
-
const clientOptions = (0,
|
|
167760
|
+
const clientOptions = (0, import_react94.useMemo)(
|
|
167655
167761
|
() => ({ baseParams: { componentId } }),
|
|
167656
167762
|
[componentId]
|
|
167657
167763
|
);
|
|
167658
|
-
const client2 = (0,
|
|
167764
|
+
const client2 = (0, import_react94.useMemo)(() => {
|
|
167659
167765
|
return factory.client(clientOptions);
|
|
167660
167766
|
}, [factory, clientOptions]);
|
|
167661
|
-
return (0,
|
|
167767
|
+
return (0, import_react94.useMemo)(() => {
|
|
167662
167768
|
const cache3 = /* @__PURE__ */ new Map();
|
|
167663
167769
|
return new Proxy(target, {
|
|
167664
167770
|
get(target2, prop, receiver) {
|
|
@@ -167685,7 +167791,7 @@ function usePanoramaMethodLogger(target) {
|
|
|
167685
167791
|
|
|
167686
167792
|
// ../cli-app-definitions/src/index.ts
|
|
167687
167793
|
init_esm_shims();
|
|
167688
|
-
var
|
|
167794
|
+
var import_variant25 = __toESM(require_lib(), 1);
|
|
167689
167795
|
import { join as join4 } from "node:path";
|
|
167690
167796
|
|
|
167691
167797
|
// ../../node_modules/@wix/ambassador-devcenter-apps-v1-app-old/build/es/types.impl.js
|
|
@@ -168107,6 +168213,47 @@ var ExtensionType;
|
|
|
168107
168213
|
ExtensionType3["ASCEND_AUTOMATION_EXTENSION"] = "ASCEND_AUTOMATION_EXTENSION";
|
|
168108
168214
|
ExtensionType3["CONTACT_LABELS_EXTENSION"] = "CONTACT_LABELS_EXTENSION";
|
|
168109
168215
|
})(ExtensionType || (ExtensionType = {}));
|
|
168216
|
+
var DataComponentFieldType;
|
|
168217
|
+
(function(DataComponentFieldType3) {
|
|
168218
|
+
DataComponentFieldType3["UNKNOWN_FIELD_TYPE"] = "UNKNOWN_FIELD_TYPE";
|
|
168219
|
+
DataComponentFieldType3["TEXT"] = "TEXT";
|
|
168220
|
+
DataComponentFieldType3["NUMBER"] = "NUMBER";
|
|
168221
|
+
DataComponentFieldType3["DATE"] = "DATE";
|
|
168222
|
+
DataComponentFieldType3["DATETIME"] = "DATETIME";
|
|
168223
|
+
DataComponentFieldType3["IMAGE"] = "IMAGE";
|
|
168224
|
+
DataComponentFieldType3["BOOLEAN"] = "BOOLEAN";
|
|
168225
|
+
DataComponentFieldType3["DOCUMENT"] = "DOCUMENT";
|
|
168226
|
+
DataComponentFieldType3["URL"] = "URL";
|
|
168227
|
+
DataComponentFieldType3["RICH_TEXT"] = "RICH_TEXT";
|
|
168228
|
+
DataComponentFieldType3["VIDEO"] = "VIDEO";
|
|
168229
|
+
DataComponentFieldType3["ANY"] = "ANY";
|
|
168230
|
+
DataComponentFieldType3["ARRAY_STRING"] = "ARRAY_STRING";
|
|
168231
|
+
DataComponentFieldType3["ARRAY_DOCUMENT"] = "ARRAY_DOCUMENT";
|
|
168232
|
+
DataComponentFieldType3["AUDIO"] = "AUDIO";
|
|
168233
|
+
DataComponentFieldType3["TIME"] = "TIME";
|
|
168234
|
+
DataComponentFieldType3["LANGUAGE"] = "LANGUAGE";
|
|
168235
|
+
DataComponentFieldType3["RICH_CONTENT"] = "RICH_CONTENT";
|
|
168236
|
+
DataComponentFieldType3["MEDIA_GALLERY"] = "MEDIA_GALLERY";
|
|
168237
|
+
DataComponentFieldType3["ADDRESS"] = "ADDRESS";
|
|
168238
|
+
DataComponentFieldType3["REFERENCE"] = "REFERENCE";
|
|
168239
|
+
DataComponentFieldType3["MULTI_REFERENCE"] = "MULTI_REFERENCE";
|
|
168240
|
+
DataComponentFieldType3["OBJECT"] = "OBJECT";
|
|
168241
|
+
DataComponentFieldType3["ARRAY"] = "ARRAY";
|
|
168242
|
+
})(DataComponentFieldType || (DataComponentFieldType = {}));
|
|
168243
|
+
var AccessLevel;
|
|
168244
|
+
(function(AccessLevel3) {
|
|
168245
|
+
AccessLevel3["UNDEFINED"] = "UNDEFINED";
|
|
168246
|
+
AccessLevel3["ANYONE"] = "ANYONE";
|
|
168247
|
+
AccessLevel3["SITE_MEMBER"] = "SITE_MEMBER";
|
|
168248
|
+
AccessLevel3["SITE_MEMBER_AUTHOR"] = "SITE_MEMBER_AUTHOR";
|
|
168249
|
+
AccessLevel3["CMS_EDITOR"] = "CMS_EDITOR";
|
|
168250
|
+
AccessLevel3["PRIVILEGED"] = "PRIVILEGED";
|
|
168251
|
+
})(AccessLevel || (AccessLevel = {}));
|
|
168252
|
+
var Order;
|
|
168253
|
+
(function(Order3) {
|
|
168254
|
+
Order3["ASC"] = "ASC";
|
|
168255
|
+
Order3["DESC"] = "DESC";
|
|
168256
|
+
})(Order || (Order = {}));
|
|
168110
168257
|
var PrimitiveType;
|
|
168111
168258
|
(function(PrimitiveType3) {
|
|
168112
168259
|
PrimitiveType3["UNKNOWN_PRIMITIVE_TYPE"] = "UNKNOWN_PRIMITIVE_TYPE";
|
|
@@ -168185,11 +168332,17 @@ var ActionSPIConfigInterfaceConfigurationType;
|
|
|
168185
168332
|
ActionSPIConfigInterfaceConfigurationType2["WIDGET_COMPONENT"] = "WIDGET_COMPONENT";
|
|
168186
168333
|
ActionSPIConfigInterfaceConfigurationType2["GENERIC"] = "GENERIC";
|
|
168187
168334
|
})(ActionSPIConfigInterfaceConfigurationType || (ActionSPIConfigInterfaceConfigurationType = {}));
|
|
168335
|
+
var IntegrationType;
|
|
168336
|
+
(function(IntegrationType3) {
|
|
168337
|
+
IntegrationType3["UNKNOWN_INTEGRATION_TYPE"] = "UNKNOWN_INTEGRATION_TYPE";
|
|
168338
|
+
IntegrationType3["WIX_API"] = "WIX_API";
|
|
168339
|
+
})(IntegrationType || (IntegrationType = {}));
|
|
168188
168340
|
var SourceType;
|
|
168189
168341
|
(function(SourceType3) {
|
|
168190
168342
|
SourceType3["UNKNOWN_SOURCE_TYPE"] = "UNKNOWN_SOURCE_TYPE";
|
|
168191
168343
|
SourceType3["DEV_CENTER"] = "DEV_CENTER";
|
|
168192
168344
|
SourceType3["WIX_API"] = "WIX_API";
|
|
168345
|
+
SourceType3["INTEGRATION"] = "INTEGRATION";
|
|
168193
168346
|
})(SourceType || (SourceType = {}));
|
|
168194
168347
|
var ExecutionType;
|
|
168195
168348
|
(function(ExecutionType3) {
|
|
@@ -168783,6 +168936,8 @@ var PlanFormDefaultSection;
|
|
|
168783
168936
|
PlanFormDefaultSection3["ADVANCED_SETTINGS"] = "ADVANCED_SETTINGS";
|
|
168784
168937
|
PlanFormDefaultSection3["PRICING"] = "PRICING";
|
|
168785
168938
|
PlanFormDefaultSection3["DURATION"] = "DURATION";
|
|
168939
|
+
PlanFormDefaultSection3["CUSTOM_PRICING_RULES"] = "CUSTOM_PRICING_RULES";
|
|
168940
|
+
PlanFormDefaultSection3["START_DATE_RULES"] = "START_DATE_RULES";
|
|
168786
168941
|
})(PlanFormDefaultSection || (PlanFormDefaultSection = {}));
|
|
168787
168942
|
var PlanPeriodUnit;
|
|
168788
168943
|
(function(PlanPeriodUnit3) {
|
|
@@ -170364,6 +170519,7 @@ function getAppManifestPath(projectFolder) {
|
|
|
170364
170519
|
var dashboardSidebarCategoryConfig = external_exports.object({
|
|
170365
170520
|
id: external_exports.string(),
|
|
170366
170521
|
label: external_exports.string(),
|
|
170522
|
+
hostingPlatform: external_exports.string().optional(),
|
|
170367
170523
|
priority: external_exports.number().int().optional()
|
|
170368
170524
|
});
|
|
170369
170525
|
var dashboardConfigSchema = external_exports.object({
|
|
@@ -170458,6 +170614,7 @@ var dashboardPagePublicConfigSchema = external_exports.object({
|
|
|
170458
170614
|
sidebar: sidebarConfigSchema.optional()
|
|
170459
170615
|
}).strict();
|
|
170460
170616
|
var dashboardPageConfigSchema = dashboardPagePublicConfigSchema.extend({
|
|
170617
|
+
hostingPlatform: external_exports.string().optional(),
|
|
170461
170618
|
requiredPermission: external_exports.string().optional(),
|
|
170462
170619
|
sentryDSN: external_exports.string().optional(),
|
|
170463
170620
|
experiments: external_exports.object({
|
|
@@ -170483,6 +170640,7 @@ var dashboardModalPublicConfigSchema = external_exports.object({
|
|
|
170483
170640
|
height: external_exports.number().optional().describe("Initial height of the modal while loading, in pixels.")
|
|
170484
170641
|
}).strict();
|
|
170485
170642
|
var dashboardModalConfigSchema = dashboardModalPublicConfigSchema.extend({
|
|
170643
|
+
hostingPlatform: external_exports.string().optional(),
|
|
170486
170644
|
requiredPermission: external_exports.string().optional(),
|
|
170487
170645
|
sentryDSN: external_exports.string().optional(),
|
|
170488
170646
|
metaData: external_exports.record(external_exports.string(), external_exports.unknown()).optional(),
|
|
@@ -170502,6 +170660,7 @@ var dashboardPluginPublicConfigSchema = external_exports.object({
|
|
|
170502
170660
|
height: external_exports.number().optional().describe("Initial height of the plugin while loading, in pixels.")
|
|
170503
170661
|
}).strict();
|
|
170504
170662
|
var dashboardPluginConfigSchema = dashboardPluginPublicConfigSchema.extend({
|
|
170663
|
+
hostingPlatform: external_exports.string().optional(),
|
|
170505
170664
|
requiredPermission: external_exports.string().optional(),
|
|
170506
170665
|
sentryDSN: external_exports.string().optional()
|
|
170507
170666
|
}).strict();
|
|
@@ -170552,6 +170711,7 @@ var dashboardMenuPluginPublicConfigSchema = external_exports.object({
|
|
|
170552
170711
|
action: actionSchema
|
|
170553
170712
|
}).strict();
|
|
170554
170713
|
var dashboardMenuPluginConfigSchema = dashboardMenuPluginPublicConfigSchema.extend({
|
|
170714
|
+
hostingPlatform: external_exports.string().optional(),
|
|
170555
170715
|
sentryDSN: external_exports.string().optional(),
|
|
170556
170716
|
requiredPermission: external_exports.string().optional()
|
|
170557
170717
|
}).strict();
|
|
@@ -170577,7 +170737,7 @@ var embeddedScriptConfigSchema = external_exports.object({
|
|
|
170577
170737
|
"An enum indicating where in the page's DOM the HTML code will be injected."
|
|
170578
170738
|
)
|
|
170579
170739
|
}).strict();
|
|
170580
|
-
var PlatformType = (0,
|
|
170740
|
+
var PlatformType = (0, import_variant25.variant)({
|
|
170581
170741
|
Site: {},
|
|
170582
170742
|
Editor: {},
|
|
170583
170743
|
Dashboard: {},
|
|
@@ -170843,44 +171003,44 @@ var siteComponentPanelConfigSchema = external_exports.object({
|
|
|
170843
171003
|
|
|
170844
171004
|
// src/dev-center/components/dev-center-component.ts
|
|
170845
171005
|
init_esm_shims();
|
|
170846
|
-
var
|
|
170847
|
-
var ServicePlugin = (0,
|
|
170848
|
-
EcomShippingRates: (0,
|
|
170849
|
-
EcomAdditionalFees: (0,
|
|
170850
|
-
EcomDiscountsTrigger: (0,
|
|
170851
|
-
EcomValidations: (0,
|
|
170852
|
-
EcomPaymentSettings: (0,
|
|
170853
|
-
EcomGiftCardsProvider: (0,
|
|
170854
|
-
EcomRecommendationsProvider: (0,
|
|
170855
|
-
ExternalDatabaseProvider: (0,
|
|
170856
|
-
SeoKeywordsSuggestion: (0,
|
|
170857
|
-
PremiumCustomCharges: (0,
|
|
171006
|
+
var import_variant26 = __toESM(require_lib(), 1);
|
|
171007
|
+
var ServicePlugin = (0, import_variant26.variant)({
|
|
171008
|
+
EcomShippingRates: (0, import_variant26.fields)(),
|
|
171009
|
+
EcomAdditionalFees: (0, import_variant26.fields)(),
|
|
171010
|
+
EcomDiscountsTrigger: (0, import_variant26.fields)(),
|
|
171011
|
+
EcomValidations: (0, import_variant26.fields)(),
|
|
171012
|
+
EcomPaymentSettings: (0, import_variant26.fields)(),
|
|
171013
|
+
EcomGiftCardsProvider: (0, import_variant26.fields)(),
|
|
171014
|
+
EcomRecommendationsProvider: (0, import_variant26.fields)(),
|
|
171015
|
+
ExternalDatabaseProvider: (0, import_variant26.fields)(),
|
|
171016
|
+
SeoKeywordsSuggestion: (0, import_variant26.fields)(),
|
|
171017
|
+
PremiumCustomCharges: (0, import_variant26.fields)()
|
|
170858
171018
|
});
|
|
170859
|
-
var DevCenterComponent = (0,
|
|
170860
|
-
DashboardPage: (0,
|
|
170861
|
-
DashboardPlugin: (0,
|
|
170862
|
-
DashboardMenuPlugin: (0,
|
|
170863
|
-
DashboardModal: (0,
|
|
170864
|
-
DashboardSidebarCategory: (0,
|
|
170865
|
-
EmbeddedScript: (0,
|
|
170866
|
-
CustomElement: (0,
|
|
170867
|
-
SitePlugin: (0,
|
|
170868
|
-
BlocksWidget: (0,
|
|
170869
|
-
BlocksWidgetPanel: (0,
|
|
170870
|
-
BlocksMainComponent: (0,
|
|
170871
|
-
Topology: (0,
|
|
170872
|
-
Api: (0,
|
|
170873
|
-
WebMethod: (0,
|
|
170874
|
-
Event: (0,
|
|
170875
|
-
ServicePlugin: (0,
|
|
170876
|
-
Monitoring: (0,
|
|
170877
|
-
SiteComponent: (0,
|
|
170878
|
-
SiteComponentPanel: (0,
|
|
171019
|
+
var DevCenterComponent = (0, import_variant26.variant)({
|
|
171020
|
+
DashboardPage: (0, import_variant26.fields)(),
|
|
171021
|
+
DashboardPlugin: (0, import_variant26.fields)(),
|
|
171022
|
+
DashboardMenuPlugin: (0, import_variant26.fields)(),
|
|
171023
|
+
DashboardModal: (0, import_variant26.fields)(),
|
|
171024
|
+
DashboardSidebarCategory: (0, import_variant26.fields)(),
|
|
171025
|
+
EmbeddedScript: (0, import_variant26.fields)(),
|
|
171026
|
+
CustomElement: (0, import_variant26.fields)(),
|
|
171027
|
+
SitePlugin: (0, import_variant26.fields)(),
|
|
171028
|
+
BlocksWidget: (0, import_variant26.fields)(),
|
|
171029
|
+
BlocksWidgetPanel: (0, import_variant26.fields)(),
|
|
171030
|
+
BlocksMainComponent: (0, import_variant26.fields)(),
|
|
171031
|
+
Topology: (0, import_variant26.fields)(),
|
|
171032
|
+
Api: (0, import_variant26.fields)(),
|
|
171033
|
+
WebMethod: (0, import_variant26.fields)(),
|
|
171034
|
+
Event: (0, import_variant26.fields)(),
|
|
171035
|
+
ServicePlugin: (0, import_variant26.fields)(),
|
|
171036
|
+
Monitoring: (0, import_variant26.fields)(),
|
|
171037
|
+
SiteComponent: (0, import_variant26.fields)(),
|
|
171038
|
+
SiteComponentPanel: (0, import_variant26.fields)()
|
|
170879
171039
|
});
|
|
170880
171040
|
|
|
170881
171041
|
// src/model.tsx
|
|
170882
171042
|
init_esm_shims();
|
|
170883
|
-
var
|
|
171043
|
+
var import_react98 = __toESM(require_react(), 1);
|
|
170884
171044
|
|
|
170885
171045
|
// src/files/wix.config.ts
|
|
170886
171046
|
init_esm_shims();
|
|
@@ -171100,7 +171260,7 @@ var import_fast_glob2 = __toESM(require_out4(), 1);
|
|
|
171100
171260
|
init_esm_shims();
|
|
171101
171261
|
import fs6 from "node:fs";
|
|
171102
171262
|
import fsPromises from "node:fs/promises";
|
|
171103
|
-
async function
|
|
171263
|
+
async function isType10(fsStatType, statsMethodName, filePath) {
|
|
171104
171264
|
if (typeof filePath !== "string") {
|
|
171105
171265
|
throw new TypeError(`Expected a string, got ${typeof filePath}`);
|
|
171106
171266
|
}
|
|
@@ -171127,9 +171287,9 @@ function isTypeSync(fsStatType, statsMethodName, filePath) {
|
|
|
171127
171287
|
throw error;
|
|
171128
171288
|
}
|
|
171129
171289
|
}
|
|
171130
|
-
var isFile =
|
|
171131
|
-
var isDirectory =
|
|
171132
|
-
var isSymlink =
|
|
171290
|
+
var isFile = isType10.bind(void 0, "stat", "isFile");
|
|
171291
|
+
var isDirectory = isType10.bind(void 0, "stat", "isDirectory");
|
|
171292
|
+
var isSymlink = isType10.bind(void 0, "lstat", "isSymbolicLink");
|
|
171133
171293
|
var isFileSync = isTypeSync.bind(void 0, "statSync", "isFile");
|
|
171134
171294
|
var isDirectorySync = isTypeSync.bind(void 0, "statSync", "isDirectory");
|
|
171135
171295
|
var isSymlinkSync = isTypeSync.bind(void 0, "lstatSync", "isSymbolicLink");
|
|
@@ -171438,7 +171598,7 @@ import { randomUUID } from "node:crypto";
|
|
|
171438
171598
|
|
|
171439
171599
|
// src/dev-center/components/dashboard/config.ts
|
|
171440
171600
|
init_esm_shims();
|
|
171441
|
-
var
|
|
171601
|
+
var import_variant27 = __toESM(require_lib(), 1);
|
|
171442
171602
|
|
|
171443
171603
|
// src/dev-center/components/path.ts
|
|
171444
171604
|
init_esm_shims();
|
|
@@ -171560,7 +171720,7 @@ function virtualPathForHTMLAsset(componentId) {
|
|
|
171560
171720
|
function virtualDashboardHTMLAssets(model) {
|
|
171561
171721
|
return new Map(
|
|
171562
171722
|
model.components.filter(
|
|
171563
|
-
(component) => (0,
|
|
171723
|
+
(component) => (0, import_variant27.isType)(component, DevCenterComponent.DashboardPage) || (0, import_variant27.isType)(component, DevCenterComponent.DashboardPlugin) || (0, import_variant27.isType)(component, DevCenterComponent.DashboardModal)
|
|
171564
171724
|
).map((comp) => [virtualPathForHTMLAsset(comp.id), comp])
|
|
171565
171725
|
);
|
|
171566
171726
|
}
|
|
@@ -171570,7 +171730,7 @@ function virtualModuleIdForScriptAsset(componentId) {
|
|
|
171570
171730
|
function virtualDashboardScriptAssets(model) {
|
|
171571
171731
|
return new Map(
|
|
171572
171732
|
model.components.filter(
|
|
171573
|
-
(component) => (0,
|
|
171733
|
+
(component) => (0, import_variant27.isType)(component, DevCenterComponent.DashboardPage) || (0, import_variant27.isType)(component, DevCenterComponent.DashboardPlugin) || (0, import_variant27.isType)(component, DevCenterComponent.DashboardModal)
|
|
171574
171734
|
).map((comp) => [virtualModuleIdForScriptAsset(comp.id), comp])
|
|
171575
171735
|
);
|
|
171576
171736
|
}
|
|
@@ -172127,16 +172287,16 @@ function createEmbeddedScriptFolderValidation(embeddedScripts) {
|
|
|
172127
172287
|
|
|
172128
172288
|
// src/dev-center/components/validations/custom-element.ts
|
|
172129
172289
|
init_esm_shims();
|
|
172130
|
-
var
|
|
172290
|
+
var import_react96 = __toESM(require_react(), 1);
|
|
172131
172291
|
|
|
172132
172292
|
// src/components/extensions/useExtensions.tsx
|
|
172133
172293
|
init_esm_shims();
|
|
172134
|
-
var
|
|
172135
|
-
var
|
|
172136
|
-
var _DevCenterComponentTypes = (0,
|
|
172294
|
+
var import_react95 = __toESM(require_react(), 1);
|
|
172295
|
+
var import_variant28 = __toESM(require_lib(), 1);
|
|
172296
|
+
var _DevCenterComponentTypes = (0, import_variant28.typeCatalog)(DevCenterComponent);
|
|
172137
172297
|
function useExtensions() {
|
|
172138
172298
|
const { model } = useProjectModel();
|
|
172139
|
-
const extensionsByType = (0,
|
|
172299
|
+
const extensionsByType = (0, import_react95.useMemo)(() => {
|
|
172140
172300
|
const extensionsMap = model.components.reduce(
|
|
172141
172301
|
(acc, component) => {
|
|
172142
172302
|
acc[component.type].push(component);
|
|
@@ -172169,7 +172329,7 @@ function useExtensions() {
|
|
|
172169
172329
|
);
|
|
172170
172330
|
return extensionsMap;
|
|
172171
172331
|
}, [model.components]);
|
|
172172
|
-
const dashboardExtensions = (0,
|
|
172332
|
+
const dashboardExtensions = (0, import_react95.useMemo)(
|
|
172173
172333
|
() => [
|
|
172174
172334
|
...extensionsByType.DashboardPage,
|
|
172175
172335
|
...extensionsByType.DashboardMenuPlugin,
|
|
@@ -172178,11 +172338,11 @@ function useExtensions() {
|
|
|
172178
172338
|
],
|
|
172179
172339
|
[extensionsByType]
|
|
172180
172340
|
);
|
|
172181
|
-
const hasExtensions = (0,
|
|
172341
|
+
const hasExtensions = (0, import_react95.useCallback)(
|
|
172182
172342
|
(extensionType) => extensionType ? extensionsByType[extensionType].length > 0 : model.components.length > 0,
|
|
172183
172343
|
[extensionsByType, model.components]
|
|
172184
172344
|
);
|
|
172185
|
-
const getExtensions = (0,
|
|
172345
|
+
const getExtensions = (0, import_react95.useCallback)(
|
|
172186
172346
|
(extensionType) => extensionsByType[extensionType],
|
|
172187
172347
|
[extensionsByType]
|
|
172188
172348
|
);
|
|
@@ -172261,7 +172421,7 @@ var useCustomElementDirectoryValidation = (extensionType) => {
|
|
|
172261
172421
|
]
|
|
172262
172422
|
])
|
|
172263
172423
|
);
|
|
172264
|
-
return (0,
|
|
172424
|
+
return (0, import_react96.useCallback)(validation, [validation]);
|
|
172265
172425
|
};
|
|
172266
172426
|
var useCustomElementNameValidation = () => {
|
|
172267
172427
|
const { t: t3 } = useTranslation();
|
|
@@ -172273,7 +172433,7 @@ var useCustomElementNameValidation = () => {
|
|
|
172273
172433
|
]
|
|
172274
172434
|
])
|
|
172275
172435
|
);
|
|
172276
|
-
return (0,
|
|
172436
|
+
return (0, import_react96.useCallback)(validation, [validation]);
|
|
172277
172437
|
};
|
|
172278
172438
|
|
|
172279
172439
|
// src/dev-center/components/backend/config.ts
|
|
@@ -172407,6 +172567,10 @@ var _appData = { components: "_component", pricingModels: "_pricingModel" };
|
|
|
172407
172567
|
var _appEmbedData = { image: "_media" };
|
|
172408
172568
|
var _appointment = { description: "_richContent" };
|
|
172409
172569
|
var _arrayItems = { data: "_dataItems", dataItem: "_dataItem" };
|
|
172570
|
+
var _arrayOptions = {
|
|
172571
|
+
objectOptions: "_objectOptions",
|
|
172572
|
+
arrayOptions: "_arrayOptions"
|
|
172573
|
+
};
|
|
172410
172574
|
var _arrayType = { items: "_arrayTypeArrayItems" };
|
|
172411
172575
|
var _arrayTypeArrayItems = {
|
|
172412
172576
|
numberOptions: "_numberType",
|
|
@@ -172434,12 +172598,14 @@ var _checkboxGroup = {
|
|
|
172434
172598
|
media: "_mediaItem"
|
|
172435
172599
|
};
|
|
172436
172600
|
var _checkboxGroupOption = { media: "_mediaItem" };
|
|
172601
|
+
var _collection = { fields: "_dataComponentField" };
|
|
172437
172602
|
var _commonImage = { urlExpirationDate: "google.protobuf.Timestamp" };
|
|
172438
172603
|
var _component = { compData: "_componentData" };
|
|
172439
172604
|
var _componentData = {
|
|
172440
172605
|
widgetComponentData: "_widgetComponentData",
|
|
172441
172606
|
widgetOutOfIframeData: "_widgetOutOfIframeComponentData",
|
|
172442
172607
|
studioWidgetComponentData: "_studioWidgetComponentData",
|
|
172608
|
+
dataComponent: "_dataComponent",
|
|
172443
172609
|
shippingLabelCarrier: "_shippingLabelCarrierSpiConfig",
|
|
172444
172610
|
fictionalShippingProvider: "_shippingProviderConfig",
|
|
172445
172611
|
automationsActionProvider: "_actionProviderSPIConfig",
|
|
@@ -172461,6 +172627,11 @@ var _cssNumber = {
|
|
|
172461
172627
|
maximum: "google.protobuf.FloatValue",
|
|
172462
172628
|
multipleOf: "google.protobuf.FloatValue"
|
|
172463
172629
|
};
|
|
172630
|
+
var _dataComponent = { collections: "_collection" };
|
|
172631
|
+
var _dataComponentField = {
|
|
172632
|
+
objectOptions: "_objectOptions",
|
|
172633
|
+
arrayOptions: "_arrayOptions"
|
|
172634
|
+
};
|
|
172464
172635
|
var _dataItem = {
|
|
172465
172636
|
number: "__Number",
|
|
172466
172637
|
arrayItems: "_arrayItems",
|
|
@@ -172601,6 +172772,11 @@ var _numberType = {
|
|
|
172601
172772
|
multipleOf: "google.protobuf.DoubleValue",
|
|
172602
172773
|
enum: "google.protobuf.DoubleValue"
|
|
172603
172774
|
};
|
|
172775
|
+
var _objectField = {
|
|
172776
|
+
objectOptions: "_objectOptions",
|
|
172777
|
+
arrayOptions: "_arrayOptions"
|
|
172778
|
+
};
|
|
172779
|
+
var _objectOptions = { fields: "_objectField" };
|
|
172604
172780
|
var _objectType = { properties: "Map#_propertiesType" };
|
|
172605
172781
|
var _orCondition = { conditions: "_conditionNode" };
|
|
172606
172782
|
var _packageDimension = {
|
|
@@ -172844,6 +173020,7 @@ function getAppByVersion(payload4) {
|
|
|
172844
173020
|
_appEmbedData,
|
|
172845
173021
|
_appointment,
|
|
172846
173022
|
_arrayItems,
|
|
173023
|
+
_arrayOptions,
|
|
172847
173024
|
_arrayType,
|
|
172848
173025
|
_arrayTypeArrayItems,
|
|
172849
173026
|
_audioData,
|
|
@@ -172856,6 +173033,7 @@ function getAppByVersion(payload4) {
|
|
|
172856
173033
|
_checkbox,
|
|
172857
173034
|
_checkboxGroup,
|
|
172858
173035
|
_checkboxGroupOption,
|
|
173036
|
+
_collection,
|
|
172859
173037
|
_commonImage,
|
|
172860
173038
|
_component,
|
|
172861
173039
|
_componentData,
|
|
@@ -172863,6 +173041,8 @@ function getAppByVersion(payload4) {
|
|
|
172863
173041
|
_conditionNode,
|
|
172864
173042
|
_cssCustomPropertyItem,
|
|
172865
173043
|
_cssNumber,
|
|
173044
|
+
_dataComponent,
|
|
173045
|
+
_dataComponentField,
|
|
172866
173046
|
_dataItem,
|
|
172867
173047
|
_dataItems,
|
|
172868
173048
|
_dateInput,
|
|
@@ -172911,6 +173091,8 @@ function getAppByVersion(payload4) {
|
|
|
172911
173091
|
_node,
|
|
172912
173092
|
_numberInput,
|
|
172913
173093
|
_numberType,
|
|
173094
|
+
_objectField,
|
|
173095
|
+
_objectOptions,
|
|
172914
173096
|
_objectType,
|
|
172915
173097
|
_orCondition,
|
|
172916
173098
|
_packageDimension,
|
|
@@ -173822,6 +174004,10 @@ var _arrayItems2 = {
|
|
|
173822
174004
|
numberOptions: "_numberType",
|
|
173823
174005
|
objectOptions: "_objectType"
|
|
173824
174006
|
};
|
|
174007
|
+
var _arrayOptions2 = {
|
|
174008
|
+
objectOptions: "_objectOptions",
|
|
174009
|
+
arrayOptions: "_arrayOptions"
|
|
174010
|
+
};
|
|
173825
174011
|
var _arrayType2 = { items: "_arrayItems" };
|
|
173826
174012
|
var _audioData2 = { audio: "_media", coverImage: "_media" };
|
|
173827
174013
|
var _authenticatorConfig2 = { expectedInputs: "_expectedInputs" };
|
|
@@ -173838,6 +174024,7 @@ var _checkboxGroup2 = {
|
|
|
173838
174024
|
options: "_option",
|
|
173839
174025
|
media: "_mediaItem"
|
|
173840
174026
|
};
|
|
174027
|
+
var _collection2 = { fields: "_dataComponentField" };
|
|
173841
174028
|
var _commonImage2 = {
|
|
173842
174029
|
urlExpirationDate: "google.protobuf.Timestamp",
|
|
173843
174030
|
focalPoint: "_focalPoint"
|
|
@@ -173847,6 +174034,7 @@ var _componentData2 = {
|
|
|
173847
174034
|
widgetComponentData: "_widgetComponentData",
|
|
173848
174035
|
widgetOutOfIframeData: "_widgetOutOfIframeComponentData",
|
|
173849
174036
|
studioWidgetComponentData: "_studioWidgetComponentData",
|
|
174037
|
+
dataComponent: "_dataComponent",
|
|
173850
174038
|
shippingLabelCarrier: "_shippingLabelCarrierSpiConfig",
|
|
173851
174039
|
fictionalShippingProvider: "_shippingProviderConfig",
|
|
173852
174040
|
automationsActionProvider: "_actionProviderSPIConfig",
|
|
@@ -173867,6 +174055,11 @@ var _cssNumber2 = {
|
|
|
173867
174055
|
maximum: "google.protobuf.FloatValue",
|
|
173868
174056
|
multipleOf: "google.protobuf.FloatValue"
|
|
173869
174057
|
};
|
|
174058
|
+
var _dataComponent2 = { collections: "_collection" };
|
|
174059
|
+
var _dataComponentField2 = {
|
|
174060
|
+
objectOptions: "_objectOptions",
|
|
174061
|
+
arrayOptions: "_arrayOptions"
|
|
174062
|
+
};
|
|
173870
174063
|
var _dataItem2 = {
|
|
173871
174064
|
number: "_api_Number",
|
|
173872
174065
|
arrayItems: "_apiArrayItems",
|
|
@@ -174004,6 +174197,11 @@ var _numberType2 = {
|
|
|
174004
174197
|
multipleOf: "google.protobuf.DoubleValue",
|
|
174005
174198
|
enum: "google.protobuf.DoubleValue"
|
|
174006
174199
|
};
|
|
174200
|
+
var _objectField2 = {
|
|
174201
|
+
objectOptions: "_objectOptions",
|
|
174202
|
+
arrayOptions: "_arrayOptions"
|
|
174203
|
+
};
|
|
174204
|
+
var _objectOptions2 = { fields: "_objectField" };
|
|
174007
174205
|
var _objectType2 = { properties: "Map#_propertiesType" };
|
|
174008
174206
|
var _option = { media: "_mediaItem" };
|
|
174009
174207
|
var _orCondition2 = { conditions: "_conditionNode" };
|
|
@@ -174203,6 +174401,7 @@ function managedApps(payload4) {
|
|
|
174203
174401
|
_appEmbedData: _appEmbedData2,
|
|
174204
174402
|
_appointment: _appointment2,
|
|
174205
174403
|
_arrayItems: _arrayItems2,
|
|
174404
|
+
_arrayOptions: _arrayOptions2,
|
|
174206
174405
|
_arrayType: _arrayType2,
|
|
174207
174406
|
_audioData: _audioData2,
|
|
174208
174407
|
_authenticatorConfig: _authenticatorConfig2,
|
|
@@ -174212,12 +174411,15 @@ function managedApps(payload4) {
|
|
|
174212
174411
|
_breakpointPresetStyleOverrides: _breakpointPresetStyleOverrides2,
|
|
174213
174412
|
_checkbox: _checkbox2,
|
|
174214
174413
|
_checkboxGroup: _checkboxGroup2,
|
|
174414
|
+
_collection: _collection2,
|
|
174215
174415
|
_commonImage: _commonImage2,
|
|
174216
174416
|
_component: _component2,
|
|
174217
174417
|
_componentData: _componentData2,
|
|
174218
174418
|
_conditionNode: _conditionNode2,
|
|
174219
174419
|
_cssCustomPropertyItem: _cssCustomPropertyItem2,
|
|
174220
174420
|
_cssNumber: _cssNumber2,
|
|
174421
|
+
_dataComponent: _dataComponent2,
|
|
174422
|
+
_dataComponentField: _dataComponentField2,
|
|
174221
174423
|
_dataItem: _dataItem2,
|
|
174222
174424
|
_dataItems: _dataItems2,
|
|
174223
174425
|
_dateInput: _dateInput2,
|
|
@@ -174269,6 +174471,8 @@ function managedApps(payload4) {
|
|
|
174269
174471
|
_node: _node2,
|
|
174270
174472
|
_numberInput: _numberInput2,
|
|
174271
174473
|
_numberType: _numberType2,
|
|
174474
|
+
_objectField: _objectField2,
|
|
174475
|
+
_objectOptions: _objectOptions2,
|
|
174272
174476
|
_objectType: _objectType2,
|
|
174273
174477
|
_option,
|
|
174274
174478
|
_orCondition: _orCondition2,
|
|
@@ -174792,6 +174996,47 @@ var ExtensionType2;
|
|
|
174792
174996
|
ExtensionType3["ASCEND_AUTOMATION_EXTENSION"] = "ASCEND_AUTOMATION_EXTENSION";
|
|
174793
174997
|
ExtensionType3["CONTACT_LABELS_EXTENSION"] = "CONTACT_LABELS_EXTENSION";
|
|
174794
174998
|
})(ExtensionType2 || (ExtensionType2 = {}));
|
|
174999
|
+
var DataComponentFieldType2;
|
|
175000
|
+
(function(DataComponentFieldType3) {
|
|
175001
|
+
DataComponentFieldType3["UNKNOWN_FIELD_TYPE"] = "UNKNOWN_FIELD_TYPE";
|
|
175002
|
+
DataComponentFieldType3["TEXT"] = "TEXT";
|
|
175003
|
+
DataComponentFieldType3["NUMBER"] = "NUMBER";
|
|
175004
|
+
DataComponentFieldType3["DATE"] = "DATE";
|
|
175005
|
+
DataComponentFieldType3["DATETIME"] = "DATETIME";
|
|
175006
|
+
DataComponentFieldType3["IMAGE"] = "IMAGE";
|
|
175007
|
+
DataComponentFieldType3["BOOLEAN"] = "BOOLEAN";
|
|
175008
|
+
DataComponentFieldType3["DOCUMENT"] = "DOCUMENT";
|
|
175009
|
+
DataComponentFieldType3["URL"] = "URL";
|
|
175010
|
+
DataComponentFieldType3["RICH_TEXT"] = "RICH_TEXT";
|
|
175011
|
+
DataComponentFieldType3["VIDEO"] = "VIDEO";
|
|
175012
|
+
DataComponentFieldType3["ANY"] = "ANY";
|
|
175013
|
+
DataComponentFieldType3["ARRAY_STRING"] = "ARRAY_STRING";
|
|
175014
|
+
DataComponentFieldType3["ARRAY_DOCUMENT"] = "ARRAY_DOCUMENT";
|
|
175015
|
+
DataComponentFieldType3["AUDIO"] = "AUDIO";
|
|
175016
|
+
DataComponentFieldType3["TIME"] = "TIME";
|
|
175017
|
+
DataComponentFieldType3["LANGUAGE"] = "LANGUAGE";
|
|
175018
|
+
DataComponentFieldType3["RICH_CONTENT"] = "RICH_CONTENT";
|
|
175019
|
+
DataComponentFieldType3["MEDIA_GALLERY"] = "MEDIA_GALLERY";
|
|
175020
|
+
DataComponentFieldType3["ADDRESS"] = "ADDRESS";
|
|
175021
|
+
DataComponentFieldType3["REFERENCE"] = "REFERENCE";
|
|
175022
|
+
DataComponentFieldType3["MULTI_REFERENCE"] = "MULTI_REFERENCE";
|
|
175023
|
+
DataComponentFieldType3["OBJECT"] = "OBJECT";
|
|
175024
|
+
DataComponentFieldType3["ARRAY"] = "ARRAY";
|
|
175025
|
+
})(DataComponentFieldType2 || (DataComponentFieldType2 = {}));
|
|
175026
|
+
var AccessLevel2;
|
|
175027
|
+
(function(AccessLevel3) {
|
|
175028
|
+
AccessLevel3["UNDEFINED"] = "UNDEFINED";
|
|
175029
|
+
AccessLevel3["ANYONE"] = "ANYONE";
|
|
175030
|
+
AccessLevel3["SITE_MEMBER"] = "SITE_MEMBER";
|
|
175031
|
+
AccessLevel3["SITE_MEMBER_AUTHOR"] = "SITE_MEMBER_AUTHOR";
|
|
175032
|
+
AccessLevel3["CMS_EDITOR"] = "CMS_EDITOR";
|
|
175033
|
+
AccessLevel3["PRIVILEGED"] = "PRIVILEGED";
|
|
175034
|
+
})(AccessLevel2 || (AccessLevel2 = {}));
|
|
175035
|
+
var Order2;
|
|
175036
|
+
(function(Order3) {
|
|
175037
|
+
Order3["ASC"] = "ASC";
|
|
175038
|
+
Order3["DESC"] = "DESC";
|
|
175039
|
+
})(Order2 || (Order2 = {}));
|
|
174795
175040
|
var PrimitiveType2;
|
|
174796
175041
|
(function(PrimitiveType3) {
|
|
174797
175042
|
PrimitiveType3["UNKNOWN_PRIMITIVE_TYPE"] = "UNKNOWN_PRIMITIVE_TYPE";
|
|
@@ -174870,11 +175115,17 @@ var Type2;
|
|
|
174870
175115
|
Type3["WIDGET_COMPONENT"] = "WIDGET_COMPONENT";
|
|
174871
175116
|
Type3["GENERIC"] = "GENERIC";
|
|
174872
175117
|
})(Type2 || (Type2 = {}));
|
|
175118
|
+
var IntegrationType2;
|
|
175119
|
+
(function(IntegrationType3) {
|
|
175120
|
+
IntegrationType3["UNKNOWN_INTEGRATION_TYPE"] = "UNKNOWN_INTEGRATION_TYPE";
|
|
175121
|
+
IntegrationType3["WIX_API"] = "WIX_API";
|
|
175122
|
+
})(IntegrationType2 || (IntegrationType2 = {}));
|
|
174873
175123
|
var SourceType2;
|
|
174874
175124
|
(function(SourceType3) {
|
|
174875
175125
|
SourceType3["UNKNOWN_SOURCE_TYPE"] = "UNKNOWN_SOURCE_TYPE";
|
|
174876
175126
|
SourceType3["DEV_CENTER"] = "DEV_CENTER";
|
|
174877
175127
|
SourceType3["WIX_API"] = "WIX_API";
|
|
175128
|
+
SourceType3["INTEGRATION"] = "INTEGRATION";
|
|
174878
175129
|
})(SourceType2 || (SourceType2 = {}));
|
|
174879
175130
|
var ExecutionType2;
|
|
174880
175131
|
(function(ExecutionType3) {
|
|
@@ -175468,6 +175719,8 @@ var PlanFormDefaultSection2;
|
|
|
175468
175719
|
PlanFormDefaultSection3["ADVANCED_SETTINGS"] = "ADVANCED_SETTINGS";
|
|
175469
175720
|
PlanFormDefaultSection3["PRICING"] = "PRICING";
|
|
175470
175721
|
PlanFormDefaultSection3["DURATION"] = "DURATION";
|
|
175722
|
+
PlanFormDefaultSection3["CUSTOM_PRICING_RULES"] = "CUSTOM_PRICING_RULES";
|
|
175723
|
+
PlanFormDefaultSection3["START_DATE_RULES"] = "START_DATE_RULES";
|
|
175471
175724
|
})(PlanFormDefaultSection2 || (PlanFormDefaultSection2 = {}));
|
|
175472
175725
|
var PlanPeriodUnit2;
|
|
175473
175726
|
(function(PlanPeriodUnit3) {
|
|
@@ -177710,10 +177963,10 @@ var DevCenterClient = class {
|
|
|
177710
177963
|
|
|
177711
177964
|
// ../dev-center-client/src/useDevCenterClient.ts
|
|
177712
177965
|
init_esm_shims();
|
|
177713
|
-
var
|
|
177966
|
+
var import_react97 = __toESM(require_react(), 1);
|
|
177714
177967
|
function useDevCenterClient() {
|
|
177715
177968
|
const httpClient = useHttpClient({ type: "backoffice" });
|
|
177716
|
-
const client2 = (0,
|
|
177969
|
+
const client2 = (0, import_react97.useMemo)(() => new DevCenterClient(httpClient), [httpClient]);
|
|
177717
177970
|
return usePanoramaMethodLogger(client2);
|
|
177718
177971
|
}
|
|
177719
177972
|
|
|
@@ -179049,7 +179302,7 @@ import { randomUUID as randomUUID2 } from "node:crypto";
|
|
|
179049
179302
|
// src/dev-center/components/site/config.ts
|
|
179050
179303
|
init_esm_shims();
|
|
179051
179304
|
import { join as join9, dirname as dirname3, resolve as resolve3 } from "node:path";
|
|
179052
|
-
var
|
|
179305
|
+
var import_variant29 = __toESM(require_lib(), 1);
|
|
179053
179306
|
var import_types_impl = __toESM(require_types_impl(), 1);
|
|
179054
179307
|
async function loadEmbeddedScriptComponentConfig(embeddedScriptPath) {
|
|
179055
179308
|
const configPath = replaceExtension(embeddedScriptPath, "json");
|
|
@@ -179173,14 +179426,14 @@ function virtualModuleIdForCustomElementScriptAsset(componentId) {
|
|
|
179173
179426
|
function virtualCustomElementPanelHTMLAssets(model) {
|
|
179174
179427
|
return new Map(
|
|
179175
179428
|
model.components.filter(
|
|
179176
|
-
(component) => (0,
|
|
179429
|
+
(component) => ((0, import_variant29.isType)(component, DevCenterComponent.CustomElement) || (0, import_variant29.isType)(component, DevCenterComponent.SitePlugin)) && Boolean(component.relativePanelPath)
|
|
179177
179430
|
).map((comp) => [virtualPathForCustomElementPanelHTMLAsset(comp.id), comp])
|
|
179178
179431
|
);
|
|
179179
179432
|
}
|
|
179180
179433
|
function virtualCustomElementScriptAssets(model) {
|
|
179181
179434
|
return new Map(
|
|
179182
179435
|
model.components.filter(
|
|
179183
|
-
(component) => (0,
|
|
179436
|
+
(component) => (0, import_variant29.isType)(component, DevCenterComponent.CustomElement) || (0, import_variant29.isType)(component, DevCenterComponent.SitePlugin)
|
|
179184
179437
|
).map((comp) => [
|
|
179185
179438
|
virtualModuleIdForCustomElementScriptAsset(comp.id),
|
|
179186
179439
|
comp
|
|
@@ -179190,7 +179443,7 @@ function virtualCustomElementScriptAssets(model) {
|
|
|
179190
179443
|
function virtualCustomElementPanelScriptAssets(model) {
|
|
179191
179444
|
return new Map(
|
|
179192
179445
|
model.components.filter(
|
|
179193
|
-
(component) => ((0,
|
|
179446
|
+
(component) => ((0, import_variant29.isType)(component, DevCenterComponent.CustomElement) || (0, import_variant29.isType)(component, DevCenterComponent.SitePlugin)) && Boolean(component.relativePanelPath)
|
|
179194
179447
|
).map((comp) => [
|
|
179195
179448
|
virtualModuleIdForCustomElementPanelScriptAsset(comp.id),
|
|
179196
179449
|
comp
|
|
@@ -179202,7 +179455,7 @@ function virtualModuleIdForBlocksComponentScriptAsset(componentId) {
|
|
|
179202
179455
|
}
|
|
179203
179456
|
function virtualBlocksWidgetPanelScriptAssets(model) {
|
|
179204
179457
|
return new Map(
|
|
179205
|
-
model.components.filter((0,
|
|
179458
|
+
model.components.filter((0, import_variant29.isType)(DevCenterComponent.BlocksWidgetPanel)).map((comp) => [
|
|
179206
179459
|
virtualModuleIdForBlocksComponentScriptAsset(comp.id),
|
|
179207
179460
|
comp
|
|
179208
179461
|
])
|
|
@@ -179210,7 +179463,7 @@ function virtualBlocksWidgetPanelScriptAssets(model) {
|
|
|
179210
179463
|
}
|
|
179211
179464
|
function virtualBlocksWidgetScriptAssets(model) {
|
|
179212
179465
|
return new Map(
|
|
179213
|
-
model.components.filter((0,
|
|
179466
|
+
model.components.filter((0, import_variant29.isType)(DevCenterComponent.BlocksWidget)).map((comp) => [
|
|
179214
179467
|
virtualModuleIdForBlocksComponentScriptAsset(comp.id),
|
|
179215
179468
|
comp
|
|
179216
179469
|
])
|
|
@@ -179221,7 +179474,7 @@ function virtualModuleIdForSiteComponentScriptAsset(componentId) {
|
|
|
179221
179474
|
}
|
|
179222
179475
|
function virtualSiteComponentScriptAssets(model) {
|
|
179223
179476
|
return new Map(
|
|
179224
|
-
model.components.filter((0,
|
|
179477
|
+
model.components.filter((0, import_variant29.isType)(DevCenterComponent.SiteComponent)).map((comp) => [
|
|
179225
179478
|
virtualModuleIdForSiteComponentScriptAsset(comp.id),
|
|
179226
179479
|
comp
|
|
179227
179480
|
])
|
|
@@ -179232,7 +179485,7 @@ function virtualModuleIdForSiteComponentPanelScriptAsset(componentId) {
|
|
|
179232
179485
|
}
|
|
179233
179486
|
function virtualSiteComponentPanelScriptAssets(model) {
|
|
179234
179487
|
return new Map(
|
|
179235
|
-
model.components.filter((0,
|
|
179488
|
+
model.components.filter((0, import_variant29.isType)(DevCenterComponent.SiteComponentPanel)).map((comp) => [
|
|
179236
179489
|
virtualModuleIdForSiteComponentPanelScriptAsset(comp.id),
|
|
179237
179490
|
comp
|
|
179238
179491
|
])
|
|
@@ -179244,7 +179497,7 @@ function virtualModuleIdForSiteComponentPreview(componentId) {
|
|
|
179244
179497
|
function virtualSiteComponentPreviewScriptAssets(model) {
|
|
179245
179498
|
const assets = /* @__PURE__ */ new Map();
|
|
179246
179499
|
for (const comp of model.components) {
|
|
179247
|
-
if ((0,
|
|
179500
|
+
if ((0, import_variant29.isType)(comp, DevCenterComponent.SiteComponent) && comp.relativePreviewPath) {
|
|
179248
179501
|
assets.set(virtualModuleIdForSiteComponentPreview(comp.id), {
|
|
179249
179502
|
...comp,
|
|
179250
179503
|
relativePreviewPath: comp.relativePreviewPath
|
|
@@ -179336,7 +179589,7 @@ function getElementsPresetEntries(componentId, componentDir, projectFolder, elem
|
|
|
179336
179589
|
function virtualSiteComponentPresetAssets(model) {
|
|
179337
179590
|
const entries = [];
|
|
179338
179591
|
const siteComponents = model.components.filter(
|
|
179339
|
-
(0,
|
|
179592
|
+
(0, import_variant29.isType)(DevCenterComponent.SiteComponent)
|
|
179340
179593
|
);
|
|
179341
179594
|
for (const component of siteComponents) {
|
|
179342
179595
|
if (component.presets) {
|
|
@@ -179372,7 +179625,7 @@ function virtualModuleIdForSiteComponentSdkScriptAsset(componentId) {
|
|
|
179372
179625
|
function virtualSiteComponentSdkScriptAssets(model) {
|
|
179373
179626
|
const assets = /* @__PURE__ */ new Map();
|
|
179374
179627
|
for (const comp of model.components) {
|
|
179375
|
-
if ((0,
|
|
179628
|
+
if ((0, import_variant29.isType)(comp, DevCenterComponent.SiteComponent) && comp.relativeSdkPath) {
|
|
179376
179629
|
assets.set(virtualModuleIdForSiteComponentSdkScriptAsset(comp.id), {
|
|
179377
179630
|
...comp,
|
|
179378
179631
|
relativeSdkPath: comp.relativeSdkPath
|
|
@@ -179989,7 +180242,7 @@ var getMajorVersionFromRange = (packageName, versionRange) => {
|
|
|
179989
180242
|
// src/dev-center/components/backend/components.ts
|
|
179990
180243
|
init_esm_shims();
|
|
179991
180244
|
import { join as join11 } from "node:path";
|
|
179992
|
-
var
|
|
180245
|
+
var import_variant30 = __toESM(require_lib(), 1);
|
|
179993
180246
|
var API_PATTERN = join11(API_DIR, "*", "api.{ts,tsx,js,jsx}");
|
|
179994
180247
|
var WEB_METHOD_PATTERN = join11(WEB_METHOD_DIR, "**", "*.web.ts");
|
|
179995
180248
|
var EVENTS_PATTERN = join11(EVENTS_DIR, "*", "event.{ts,tsx,js,jsx}");
|
|
@@ -180066,7 +180319,7 @@ async function loadServicePlugin(pluginPath) {
|
|
|
180066
180319
|
PlatformType.Dashboard()
|
|
180067
180320
|
],
|
|
180068
180321
|
relativePath: pluginPath,
|
|
180069
|
-
servicePlugin: await (0,
|
|
180322
|
+
servicePlugin: await (0, import_variant30.match)(servicePluginType, {
|
|
180070
180323
|
ECOM_ADDITIONAL_FEES: async () => ServicePlugin.EcomAdditionalFees(
|
|
180071
180324
|
await loadServicePluginConfig(
|
|
180072
180325
|
pluginPath,
|
|
@@ -180727,7 +180980,14 @@ var ProjectModelWatcher = class {
|
|
|
180727
180980
|
if (this.prevModel.config.blocks?.uiRevision !== model.config.blocks?.uiRevision) {
|
|
180728
180981
|
this.emitter.emit("all", model, "blocks-revision-changed");
|
|
180729
180982
|
}
|
|
180730
|
-
if (
|
|
180983
|
+
if (basename(path5) === "component.json") {
|
|
180984
|
+
this.emitter.emit("all", model, "component-updated");
|
|
180985
|
+
return;
|
|
180986
|
+
}
|
|
180987
|
+
if (!deepEqual(model, this.prevModel) && basename(path5) === "component.json") {
|
|
180988
|
+
this.prevModel = model;
|
|
180989
|
+
this.emitter.emit("all", model, "component-updated");
|
|
180990
|
+
} else if (!deepEqual(model, this.prevModel) || basename(path5) === "embedded.html" || basename(path5) === "event.ts") {
|
|
180731
180991
|
this.prevModel = model;
|
|
180732
180992
|
this.emitter.emit("all", model, "model-updated");
|
|
180733
180993
|
} else {
|
|
@@ -180751,11 +181011,11 @@ async function loadProjectModel(projectFolder) {
|
|
|
180751
181011
|
})
|
|
180752
181012
|
};
|
|
180753
181013
|
}
|
|
180754
|
-
var ProjectModelContext = (0,
|
|
181014
|
+
var ProjectModelContext = (0, import_react98.createContext)(null);
|
|
180755
181015
|
var ProjectModelProvider = (props) => {
|
|
180756
181016
|
const { reportError } = useErrorReporter();
|
|
180757
|
-
const [model, setModel] = (0,
|
|
180758
|
-
const [watcher] = (0,
|
|
181017
|
+
const [model, setModel] = (0, import_react98.useState)(props.value);
|
|
181018
|
+
const [watcher] = (0, import_react98.useState)(() => {
|
|
180759
181019
|
const watcher2 = new ProjectModelWatcher(model);
|
|
180760
181020
|
if (props.watchForChanges === true) {
|
|
180761
181021
|
watcher2.watch().onChange((newModel, changeType) => {
|
|
@@ -180766,15 +181026,15 @@ var ProjectModelProvider = (props) => {
|
|
|
180766
181026
|
}
|
|
180767
181027
|
return watcher2;
|
|
180768
181028
|
});
|
|
180769
|
-
(0,
|
|
181029
|
+
(0, import_react98.useEffect)(() => {
|
|
180770
181030
|
return () => {
|
|
180771
181031
|
watcher.close().catch(reportError);
|
|
180772
181032
|
};
|
|
180773
181033
|
}, [watcher, reportError]);
|
|
180774
|
-
return /* @__PURE__ */
|
|
181034
|
+
return /* @__PURE__ */ import_react98.default.createElement(ProjectModelContext.Provider, { value: { model, watcher } }, props.children);
|
|
180775
181035
|
};
|
|
180776
181036
|
function useProjectModel() {
|
|
180777
|
-
const context = (0,
|
|
181037
|
+
const context = (0, import_react98.useContext)(ProjectModelContext);
|
|
180778
181038
|
if (context == null) {
|
|
180779
181039
|
throw new Error(
|
|
180780
181040
|
"useProjectModel() cannot be used without an <ProjectModelProvider>"
|
|
@@ -180805,6 +181065,7 @@ export {
|
|
|
180805
181065
|
isHttpError,
|
|
180806
181066
|
isHttpValidationError,
|
|
180807
181067
|
isHttpApplicationError,
|
|
181068
|
+
createHttpClient,
|
|
180808
181069
|
getTestOverrides,
|
|
180809
181070
|
getDataDirPath,
|
|
180810
181071
|
ensureDataDirExists,
|
|
@@ -180873,6 +181134,7 @@ export {
|
|
|
180873
181134
|
useErrorReporter,
|
|
180874
181135
|
AccountAuthProvider,
|
|
180875
181136
|
SiteAuthProvider,
|
|
181137
|
+
useSiteAuth,
|
|
180876
181138
|
isLoggedInToAccount,
|
|
180877
181139
|
WIX_CONFIG_FILENAME,
|
|
180878
181140
|
TS_CONFIG_FILENAME,
|
|
@@ -181194,4 +181456,4 @@ mustache/mustache.mjs:
|
|
|
181194
181456
|
* http://github.com/janl/mustache.js
|
|
181195
181457
|
*)
|
|
181196
181458
|
*/
|
|
181197
|
-
//# sourceMappingURL=chunk-
|
|
181459
|
+
//# sourceMappingURL=chunk-FLD47ENF.js.map
|