@wix/cli-app 1.1.128 → 1.1.130
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-RPRDHKFT.js → AddPermissionCommand-BNQLVVG2.js} +2 -2
- package/build/{DevCommand-P65ORV7L.js → DevCommand-RROFLNVA.js} +10 -10
- package/build/{GenerateCommand-VL6Y3C5L.js → GenerateCommand-G4UXQSC4.js} +7 -7
- package/build/{LogsCommand-6QR5HKHU.js → LogsCommand-ZSHD4GIP.js} +3 -3
- package/build/PreviewCommand-TJDGT26I.js +19 -0
- package/build/ReleaseCommand-225R4KKI.js +23 -0
- package/build/{ServeCommand-ERWN7H6G.js → ServeCommand-S6M35AKW.js} +3 -3
- package/build/{build-337EBBZO.js → build-RUSZ3TSC.js} +34 -7
- package/build/build-RUSZ3TSC.js.map +1 -0
- package/build/{chunk-TWBUWLZT.js → chunk-2CWSXZNM.js} +2 -2
- package/build/{chunk-DTBU65A4.js → chunk-DRD6GB7Q.js} +2 -2
- package/build/{chunk-W4K4O6VW.js → chunk-GK6REVIM.js} +2 -2
- package/build/{chunk-DAS4QYL5.js → chunk-HAIW522F.js} +2 -2
- package/build/{chunk-XROEFK43.js → chunk-HJMVSDM6.js} +118 -55
- package/build/chunk-HJMVSDM6.js.map +1 -0
- package/build/{chunk-HJT5ALIX.js → chunk-JACM7HP5.js} +2 -2
- package/build/{chunk-FBO2TLHC.js → chunk-JQTGMEWQ.js} +3 -3
- package/build/{chunk-ROXDRBZW.js → chunk-KIVZW6PT.js} +6 -6
- package/build/{chunk-GR477WMA.js → chunk-NGOYJYOW.js} +2 -2
- package/build/{chunk-DK6F42BS.js → chunk-NJJYZJQS.js} +13 -5
- package/build/{chunk-DK6F42BS.js.map → chunk-NJJYZJQS.js.map} +1 -1
- package/build/{chunk-6W4JMTTK.js → chunk-O6H7XIDU.js} +3 -2
- package/build/{chunk-6W4JMTTK.js.map → chunk-O6H7XIDU.js.map} +1 -1
- package/build/{chunk-HRFRSOBP.js → chunk-SOU6HNBH.js} +4 -4
- package/build/{chunk-W27M7FJQ.js → chunk-SQNOCNCP.js} +2 -2
- package/build/{chunk-JT2I67PF.js → chunk-WKSWNCTU.js} +2 -2
- package/build/{chunk-JWZ2JWEU.js → chunk-Y4JFLKW4.js} +7 -7
- package/build/{chunk-7UOP6QJJ.js → chunk-YKE5JW33.js} +4 -4
- package/build/{chunk-PUCNUVCG.js → chunk-YUGELGFN.js} +6 -6
- package/build/index.js +23 -23
- package/build/platform-sdk/dashboard.js +1 -1
- package/build/platform-sdk/dashboard.js.map +1 -1
- package/build/{preview-Q5JUEKFC.js → preview-IMIIDIZG.js} +12 -12
- package/build/{release-G726XERA.js → release-T4YODE2A.js} +14 -14
- package/build/{render-command-74GTA22T.js → render-command-JIQJEJ2I.js} +5 -5
- package/package.json +4 -4
- package/build/PreviewCommand-4JEZR4WW.js +0 -19
- package/build/ReleaseCommand-422A6W24.js +0 -23
- package/build/build-337EBBZO.js.map +0 -1
- package/build/chunk-XROEFK43.js.map +0 -1
- /package/build/{AddPermissionCommand-RPRDHKFT.js.map → AddPermissionCommand-BNQLVVG2.js.map} +0 -0
- /package/build/{DevCommand-P65ORV7L.js.map → DevCommand-RROFLNVA.js.map} +0 -0
- /package/build/{GenerateCommand-VL6Y3C5L.js.map → GenerateCommand-G4UXQSC4.js.map} +0 -0
- /package/build/{LogsCommand-6QR5HKHU.js.map → LogsCommand-ZSHD4GIP.js.map} +0 -0
- /package/build/{PreviewCommand-4JEZR4WW.js.map → PreviewCommand-TJDGT26I.js.map} +0 -0
- /package/build/{ReleaseCommand-422A6W24.js.map → ReleaseCommand-225R4KKI.js.map} +0 -0
- /package/build/{ServeCommand-ERWN7H6G.js.map → ServeCommand-S6M35AKW.js.map} +0 -0
- /package/build/{chunk-TWBUWLZT.js.map → chunk-2CWSXZNM.js.map} +0 -0
- /package/build/{chunk-DTBU65A4.js.map → chunk-DRD6GB7Q.js.map} +0 -0
- /package/build/{chunk-W4K4O6VW.js.map → chunk-GK6REVIM.js.map} +0 -0
- /package/build/{chunk-DAS4QYL5.js.map → chunk-HAIW522F.js.map} +0 -0
- /package/build/{chunk-HJT5ALIX.js.map → chunk-JACM7HP5.js.map} +0 -0
- /package/build/{chunk-FBO2TLHC.js.map → chunk-JQTGMEWQ.js.map} +0 -0
- /package/build/{chunk-ROXDRBZW.js.map → chunk-KIVZW6PT.js.map} +0 -0
- /package/build/{chunk-GR477WMA.js.map → chunk-NGOYJYOW.js.map} +0 -0
- /package/build/{chunk-HRFRSOBP.js.map → chunk-SOU6HNBH.js.map} +0 -0
- /package/build/{chunk-W27M7FJQ.js.map → chunk-SQNOCNCP.js.map} +0 -0
- /package/build/{chunk-JT2I67PF.js.map → chunk-WKSWNCTU.js.map} +0 -0
- /package/build/{chunk-JWZ2JWEU.js.map → chunk-Y4JFLKW4.js.map} +0 -0
- /package/build/{chunk-7UOP6QJJ.js.map → chunk-YKE5JW33.js.map} +0 -0
- /package/build/{chunk-PUCNUVCG.js.map → chunk-YUGELGFN.js.map} +0 -0
- /package/build/{preview-Q5JUEKFC.js.map → preview-IMIIDIZG.js.map} +0 -0
- /package/build/{release-G726XERA.js.map → release-T4YODE2A.js.map} +0 -0
- /package/build/{render-command-74GTA22T.js.map → render-command-JIQJEJ2I.js.map} +0 -0
|
@@ -3,7 +3,7 @@ const require = _createRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
getBackendEventSlug,
|
|
5
5
|
require_baseUniq
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-O6H7XIDU.js";
|
|
7
7
|
import {
|
|
8
8
|
API_BASEURL_PLACEHOLDER,
|
|
9
9
|
AlgorithmType,
|
|
@@ -43,6 +43,7 @@ import {
|
|
|
43
43
|
SITE_COMPONENTS_PRESETS_PATTERN,
|
|
44
44
|
SITE_COMPONENTS_PREVIEW_PATTERN,
|
|
45
45
|
SITE_COMPONENTS_SDK_PATTERN,
|
|
46
|
+
SITE_COMPONENTS_SDK_STATICS_FOLDER,
|
|
46
47
|
SITE_COMPONENTS_SERVER_STATICS_FOLDER,
|
|
47
48
|
SITE_COMPONENTS_VITE_CACHE_DIR,
|
|
48
49
|
SITE_PLUGINS_PANEL_PATTERN,
|
|
@@ -93,7 +94,7 @@ import {
|
|
|
93
94
|
virtualSiteComponentPreviewScriptAssets,
|
|
94
95
|
virtualSiteComponentScriptAssets,
|
|
95
96
|
virtualSiteComponentSdkScriptAssets
|
|
96
|
-
} from "./chunk-
|
|
97
|
+
} from "./chunk-NJJYZJQS.js";
|
|
97
98
|
import {
|
|
98
99
|
__commonJS,
|
|
99
100
|
__esm,
|
|
@@ -38887,7 +38888,7 @@ var moduleBundleBuildBlocks = ({
|
|
|
38887
38888
|
const virtualBlocksWidgetAssets = virtualBlocksWidgetScriptAssets(initialModel);
|
|
38888
38889
|
const virtualBlocksWidgetPanelAssets = virtualBlocksWidgetPanelScriptAssets(initialModel);
|
|
38889
38890
|
return {
|
|
38890
|
-
name: "wix:module-bundle-build-
|
|
38891
|
+
name: "wix:module-bundle-build-blocks",
|
|
38891
38892
|
apply: "build",
|
|
38892
38893
|
resolveId(rawId) {
|
|
38893
38894
|
const id = cleanId(rawId);
|
|
@@ -38916,12 +38917,13 @@ var moduleBundleBuildSiteComponents = ({
|
|
|
38916
38917
|
const { appId } = initialModel.config;
|
|
38917
38918
|
const virtualSiteComponentAssets = virtualSiteComponentScriptAssets(initialModel);
|
|
38918
38919
|
const virtualSiteComponentPreviewAssets = virtualSiteComponentPreviewScriptAssets(initialModel);
|
|
38920
|
+
const virtualSiteComponentSdkAssets = virtualSiteComponentSdkScriptAssets(initialModel);
|
|
38919
38921
|
return {
|
|
38920
38922
|
name: "wix:module-bundle-build-site-components",
|
|
38921
38923
|
apply: "build",
|
|
38922
38924
|
resolveId(rawId) {
|
|
38923
38925
|
const id = cleanId(rawId);
|
|
38924
|
-
if (virtualSiteComponentAssets.has(id) || virtualSiteComponentPreviewAssets.has(id)) {
|
|
38926
|
+
if (virtualSiteComponentAssets.has(id) || virtualSiteComponentPreviewAssets.has(id) || virtualSiteComponentSdkAssets.has(id)) {
|
|
38925
38927
|
return id;
|
|
38926
38928
|
}
|
|
38927
38929
|
return null;
|
|
@@ -38939,6 +38941,10 @@ var moduleBundleBuildSiteComponents = ({
|
|
|
38939
38941
|
siteComponentPreview
|
|
38940
38942
|
);
|
|
38941
38943
|
}
|
|
38944
|
+
const siteSdkComponent = virtualSiteComponentSdkAssets.get(id);
|
|
38945
|
+
if (siteSdkComponent) {
|
|
38946
|
+
return getSiteComponentSdkBuildTemplate(siteSdkComponent);
|
|
38947
|
+
}
|
|
38942
38948
|
return null;
|
|
38943
38949
|
}
|
|
38944
38950
|
};
|
|
@@ -39527,7 +39533,7 @@ var siteComponentResourcesSchema = external_exports.object({
|
|
|
39527
39533
|
editor: external_exports.object({
|
|
39528
39534
|
componentUrl: external_exports.string(),
|
|
39529
39535
|
cssUrl: external_exports.string().optional()
|
|
39530
|
-
}).optional()
|
|
39536
|
+
}).passthrough().optional()
|
|
39531
39537
|
}).passthrough();
|
|
39532
39538
|
var siteComponentPresetItemSchema = external_exports.object({
|
|
39533
39539
|
cssUrl: external_exports.string(),
|
|
@@ -40568,12 +40574,6 @@ function getViteConfig2(model, options) {
|
|
|
40568
40574
|
const virtualCustomElementScriptEntries = [
|
|
40569
40575
|
...virtualCustomElementScriptAssets(model)
|
|
40570
40576
|
].map(([assetId, component]) => [`script-asset-${component.id}`, assetId]);
|
|
40571
|
-
const virtualSiteComponentSdkScriptEntries = [
|
|
40572
|
-
...virtualSiteComponentSdkScriptAssets(model)
|
|
40573
|
-
].map(([assetId, component]) => [
|
|
40574
|
-
`script-asset-${component.id}-sdk`,
|
|
40575
|
-
assetId
|
|
40576
|
-
]);
|
|
40577
40577
|
const virtualSiteComponentPanelScriptEntries = [
|
|
40578
40578
|
...virtualSiteComponentPanelScriptAssets(model)
|
|
40579
40579
|
].map(([assetId, component]) => [`script-asset-${component.id}`, assetId]);
|
|
@@ -40601,7 +40601,6 @@ function getViteConfig2(model, options) {
|
|
|
40601
40601
|
...embeddedScriptEntries,
|
|
40602
40602
|
...virtualCustomElementHTMLEntries,
|
|
40603
40603
|
...virtualCustomElementScriptEntries,
|
|
40604
|
-
...virtualSiteComponentSdkScriptEntries,
|
|
40605
40604
|
...virtualSiteComponentPanelScriptEntries,
|
|
40606
40605
|
...virtualSiteComponentPresetEntries
|
|
40607
40606
|
]),
|
|
@@ -40704,6 +40703,18 @@ function getViteConfig3(model, options) {
|
|
|
40704
40703
|
// src/vite/configs/build-command/site-components-client.ts
|
|
40705
40704
|
init_esm_shims();
|
|
40706
40705
|
import { mergeConfig as mergeConfig3 } from "vite";
|
|
40706
|
+
|
|
40707
|
+
// src/vite/configs/shared.ts
|
|
40708
|
+
init_esm_shims();
|
|
40709
|
+
var siteComponentsExternals = [
|
|
40710
|
+
"react",
|
|
40711
|
+
"react/jsx-runtime",
|
|
40712
|
+
"react/jsx-dev-runtime",
|
|
40713
|
+
"react-dom",
|
|
40714
|
+
"@wix/services-manager-react"
|
|
40715
|
+
];
|
|
40716
|
+
|
|
40717
|
+
// src/vite/configs/build-command/site-components-client.ts
|
|
40707
40718
|
function getViteConfig4(model, options) {
|
|
40708
40719
|
const virtualSiteComponentScriptEntries = [
|
|
40709
40720
|
...virtualSiteComponentScriptAssets(model)
|
|
@@ -40722,7 +40733,7 @@ function getViteConfig4(model, options) {
|
|
|
40722
40733
|
const config = {
|
|
40723
40734
|
build: {
|
|
40724
40735
|
rollupOptions: {
|
|
40725
|
-
external:
|
|
40736
|
+
external: siteComponentsExternals,
|
|
40726
40737
|
/*
|
|
40727
40738
|
* We need to preserve names of exports from our root modules for convention.
|
|
40728
40739
|
* "strict" or "exports-only" will not work because it will create separated files with exports.
|
|
@@ -40740,10 +40751,6 @@ function getViteConfig4(model, options) {
|
|
|
40740
40751
|
},
|
|
40741
40752
|
plugins: [
|
|
40742
40753
|
moduleBundleBuildSiteComponents({ initialModel: model }),
|
|
40743
|
-
viteExternalsPlugin({
|
|
40744
|
-
react: "React",
|
|
40745
|
-
"react-dom": "ReactDOM"
|
|
40746
|
-
}),
|
|
40747
40754
|
draftJs(),
|
|
40748
40755
|
preserveSiteComponentComponentsExports({ initialModel: model })
|
|
40749
40756
|
],
|
|
@@ -40778,10 +40785,47 @@ function getViteConfig4(model, options) {
|
|
|
40778
40785
|
return mergeConfig3(config, baseConfig);
|
|
40779
40786
|
}
|
|
40780
40787
|
|
|
40781
|
-
// src/vite/configs/build-command/site-components-
|
|
40788
|
+
// src/vite/configs/build-command/site-components-sdk.ts
|
|
40782
40789
|
init_esm_shims();
|
|
40783
40790
|
import { mergeConfig as mergeConfig4 } from "vite";
|
|
40784
40791
|
function getViteConfig5(model, options) {
|
|
40792
|
+
const virtualSiteComponentSdkScriptEntries = [
|
|
40793
|
+
...virtualSiteComponentSdkScriptAssets(model)
|
|
40794
|
+
].map(
|
|
40795
|
+
([assetId, component]) => [`script-asset-${component.id}-sdk`, assetId]
|
|
40796
|
+
);
|
|
40797
|
+
return virtualSiteComponentSdkScriptEntries.map(([entryName, entryPath]) => {
|
|
40798
|
+
const baseConfig = getBaseViteConfig({
|
|
40799
|
+
...options,
|
|
40800
|
+
model,
|
|
40801
|
+
outputDir: SITE_COMPONENTS_SDK_STATICS_FOLDER
|
|
40802
|
+
});
|
|
40803
|
+
const config = {
|
|
40804
|
+
ssr: {
|
|
40805
|
+
target: "webworker",
|
|
40806
|
+
noExternal: true
|
|
40807
|
+
},
|
|
40808
|
+
build: {
|
|
40809
|
+
ssr: true,
|
|
40810
|
+
rollupOptions: {
|
|
40811
|
+
input: {
|
|
40812
|
+
[entryName]: entryPath
|
|
40813
|
+
},
|
|
40814
|
+
output: {
|
|
40815
|
+
inlineDynamicImports: true
|
|
40816
|
+
}
|
|
40817
|
+
}
|
|
40818
|
+
},
|
|
40819
|
+
plugins: [moduleBundleBuildSiteComponents({ initialModel: model })]
|
|
40820
|
+
};
|
|
40821
|
+
return mergeConfig4(config, baseConfig);
|
|
40822
|
+
});
|
|
40823
|
+
}
|
|
40824
|
+
|
|
40825
|
+
// src/vite/configs/build-command/site-components-server.ts
|
|
40826
|
+
init_esm_shims();
|
|
40827
|
+
import { mergeConfig as mergeConfig5 } from "vite";
|
|
40828
|
+
function getViteConfig6(model, options) {
|
|
40785
40829
|
const virtualSiteComponentScriptEntries = [
|
|
40786
40830
|
...virtualSiteComponentScriptAssets(model)
|
|
40787
40831
|
].map(
|
|
@@ -40811,7 +40855,7 @@ function getViteConfig5(model, options) {
|
|
|
40811
40855
|
ssr: true,
|
|
40812
40856
|
ssrEmitAssets: true,
|
|
40813
40857
|
rollupOptions: {
|
|
40814
|
-
external:
|
|
40858
|
+
external: siteComponentsExternals,
|
|
40815
40859
|
input: {
|
|
40816
40860
|
[entryName]: entryPath
|
|
40817
40861
|
},
|
|
@@ -40822,7 +40866,7 @@ function getViteConfig5(model, options) {
|
|
|
40822
40866
|
},
|
|
40823
40867
|
plugins: [moduleBundleBuildSiteComponents({ initialModel: model })]
|
|
40824
40868
|
};
|
|
40825
|
-
return
|
|
40869
|
+
return mergeConfig5(config, baseConfig);
|
|
40826
40870
|
});
|
|
40827
40871
|
}
|
|
40828
40872
|
|
|
@@ -41024,7 +41068,7 @@ function autoOrigin() {
|
|
|
41024
41068
|
}
|
|
41025
41069
|
|
|
41026
41070
|
// src/vite/configs/dev-command/client.ts
|
|
41027
|
-
function
|
|
41071
|
+
function getViteConfig7(model, options) {
|
|
41028
41072
|
const { https, baseBackendUrl, port, origin } = options;
|
|
41029
41073
|
const allowedHosts = origin ? [new URL(origin).hostname] : void 0;
|
|
41030
41074
|
return {
|
|
@@ -41165,7 +41209,7 @@ var m = (n3) => ({
|
|
|
41165
41209
|
|
|
41166
41210
|
// src/vite/configs/dev-command/site-components.ts
|
|
41167
41211
|
var SITE_COMPONENTS_BASE = "/@gateway/site_components";
|
|
41168
|
-
function
|
|
41212
|
+
function getViteConfig8(model, options) {
|
|
41169
41213
|
const { https, baseBackendUrl } = options;
|
|
41170
41214
|
return {
|
|
41171
41215
|
appType: "custom",
|
|
@@ -41182,7 +41226,6 @@ function getViteConfig7(model, options) {
|
|
|
41182
41226
|
cacheDir: SITE_COMPONENTS_VITE_CACHE_DIR,
|
|
41183
41227
|
optimizeDeps: {
|
|
41184
41228
|
include: ["@wix/sdk-context"],
|
|
41185
|
-
exclude: ["react", "react-dom"],
|
|
41186
41229
|
entries: [
|
|
41187
41230
|
SITE_COMPONENTS_PATTERN,
|
|
41188
41231
|
SITE_COMPONENTS_PREVIEW_PATTERN,
|
|
@@ -41202,7 +41245,9 @@ function getViteConfig7(model, options) {
|
|
|
41202
41245
|
projectFolder: model.projectFolder
|
|
41203
41246
|
}),
|
|
41204
41247
|
m({
|
|
41205
|
-
externals:
|
|
41248
|
+
externals: siteComponentsExternals.map(
|
|
41249
|
+
(external) => new RegExp(`^${external}$`)
|
|
41250
|
+
)
|
|
41206
41251
|
}),
|
|
41207
41252
|
fbjsHotfixPlugin(),
|
|
41208
41253
|
draftJs(),
|
|
@@ -42280,17 +42325,16 @@ var siteComponentDevBuilder = (component) => {
|
|
|
42280
42325
|
)
|
|
42281
42326
|
} : void 0,
|
|
42282
42327
|
server: void 0,
|
|
42283
|
-
|
|
42284
|
-
editor
|
|
42285
|
-
|
|
42286
|
-
|
|
42287
|
-
|
|
42288
|
-
|
|
42289
|
-
} : {}
|
|
42328
|
+
editor: previewModuleId ? {
|
|
42329
|
+
...definedResources.editor ?? {},
|
|
42330
|
+
componentUrl: generateUrl(
|
|
42331
|
+
`${SITE_COMPONENTS_BASE}/@id/${previewModuleId}?import`
|
|
42332
|
+
)
|
|
42333
|
+
} : void 0
|
|
42290
42334
|
}
|
|
42291
42335
|
};
|
|
42292
42336
|
};
|
|
42293
|
-
var siteComponentBuildBuilder = (component, { browserBuildOutput }, { siteComponentsClientBuildOutput }, { siteComponentsServerBuildOutput }) => {
|
|
42337
|
+
var siteComponentBuildBuilder = (component, { browserBuildOutput }, { siteComponentsClientBuildOutput }, { siteComponentsServerBuildOutput }, { siteComponentsSdkBuildOutput }) => {
|
|
42294
42338
|
const moduleId = virtualModuleIdForSiteComponentScriptAsset(component.id);
|
|
42295
42339
|
const sdkModuleId = component.relativeSdkPath ? virtualModuleIdForSiteComponentSdkScriptAsset(component.id) : null;
|
|
42296
42340
|
const previewModuleId = component.relativePreviewPath ? virtualModuleIdForSiteComponentPreview(component.id) : null;
|
|
@@ -42339,7 +42383,39 @@ var siteComponentBuildBuilder = (component, { browserBuildOutput }, { siteCompon
|
|
|
42339
42383
|
siteComponentsServerBuildOutput,
|
|
42340
42384
|
moduleId
|
|
42341
42385
|
);
|
|
42342
|
-
const
|
|
42386
|
+
const getSdkResource = () => {
|
|
42387
|
+
if (!sdkModuleId) {
|
|
42388
|
+
return;
|
|
42389
|
+
}
|
|
42390
|
+
if (!siteComponentsSdkBuildOutput) {
|
|
42391
|
+
throw new Error("Missing SDK build output for site component");
|
|
42392
|
+
}
|
|
42393
|
+
return {
|
|
42394
|
+
...definedResources.sdk ?? {},
|
|
42395
|
+
url: generateUrl(
|
|
42396
|
+
extractModuleBundleName(siteComponentsSdkBuildOutput, sdkModuleId)
|
|
42397
|
+
)
|
|
42398
|
+
};
|
|
42399
|
+
};
|
|
42400
|
+
const getEditorResource = () => {
|
|
42401
|
+
if (!previewModuleId) {
|
|
42402
|
+
return;
|
|
42403
|
+
}
|
|
42404
|
+
const editorCssUrl = extractModuleBundleCss(
|
|
42405
|
+
siteComponentsServerBuildOutput,
|
|
42406
|
+
previewModuleId
|
|
42407
|
+
);
|
|
42408
|
+
return {
|
|
42409
|
+
...definedResources.editor ?? {},
|
|
42410
|
+
componentUrl: generateUrl(
|
|
42411
|
+
extractModuleBundleName(
|
|
42412
|
+
siteComponentsClientBuildOutput,
|
|
42413
|
+
previewModuleId
|
|
42414
|
+
)
|
|
42415
|
+
),
|
|
42416
|
+
cssUrl: editorCssUrl ? generateUrl(editorCssUrl) : void 0
|
|
42417
|
+
};
|
|
42418
|
+
};
|
|
42343
42419
|
return {
|
|
42344
42420
|
presets,
|
|
42345
42421
|
elements,
|
|
@@ -42358,23 +42434,8 @@ var siteComponentBuildBuilder = (component, { browserBuildOutput }, { siteCompon
|
|
|
42358
42434
|
extractModuleBundleName(siteComponentsServerBuildOutput, moduleId)
|
|
42359
42435
|
)
|
|
42360
42436
|
},
|
|
42361
|
-
sdk:
|
|
42362
|
-
|
|
42363
|
-
url: generateUrl(
|
|
42364
|
-
extractModuleBundleName(browserBuildOutput, sdkModuleId)
|
|
42365
|
-
)
|
|
42366
|
-
} : void 0,
|
|
42367
|
-
...previewModuleId ? {
|
|
42368
|
-
editor: {
|
|
42369
|
-
componentUrl: generateUrl(
|
|
42370
|
-
extractModuleBundleName(
|
|
42371
|
-
siteComponentsClientBuildOutput,
|
|
42372
|
-
previewModuleId
|
|
42373
|
-
)
|
|
42374
|
-
),
|
|
42375
|
-
cssUrl: editorCssUrl ? generateUrl(editorCssUrl) : void 0
|
|
42376
|
-
}
|
|
42377
|
-
} : {}
|
|
42437
|
+
sdk: getSdkResource(),
|
|
42438
|
+
editor: getEditorResource()
|
|
42378
42439
|
}
|
|
42379
42440
|
};
|
|
42380
42441
|
};
|
|
@@ -42424,7 +42485,7 @@ function getComponentDevSourceBuilder(model, devSource, backendSource) {
|
|
|
42424
42485
|
return source;
|
|
42425
42486
|
};
|
|
42426
42487
|
}
|
|
42427
|
-
function getComponentBuildSourceBuilder(model, browserBuildSource, workerBuildSource, backendSource, siteComponentsClientBuildSource, siteComponentsServerBuildSource) {
|
|
42488
|
+
function getComponentBuildSourceBuilder(model, browserBuildSource, workerBuildSource, backendSource, siteComponentsClientBuildSource, siteComponentsServerBuildSource, siteComponentsSdkBuildSource) {
|
|
42428
42489
|
return async (component) => {
|
|
42429
42490
|
const source = (0, import_variant5.match)(component, {
|
|
42430
42491
|
EmbeddedScript: (embeddedScriptComponent) => embeddedScriptBuilder(model, embeddedScriptComponent, {
|
|
@@ -42471,7 +42532,8 @@ function getComponentBuildSourceBuilder(model, browserBuildSource, workerBuildSo
|
|
|
42471
42532
|
component2,
|
|
42472
42533
|
browserBuildSource,
|
|
42473
42534
|
siteComponentsClientBuildSource,
|
|
42474
|
-
siteComponentsServerBuildSource
|
|
42535
|
+
siteComponentsServerBuildSource,
|
|
42536
|
+
siteComponentsSdkBuildSource
|
|
42475
42537
|
),
|
|
42476
42538
|
SiteComponentPanel: (component2) => siteComponentPanelBuilder(component2, {
|
|
42477
42539
|
buildSource: browserBuildSource
|
|
@@ -42489,12 +42551,13 @@ export {
|
|
|
42489
42551
|
updateTopology,
|
|
42490
42552
|
updateAppManifestComponents,
|
|
42491
42553
|
getMonitoringProvider,
|
|
42492
|
-
|
|
42493
|
-
|
|
42554
|
+
getViteConfig7 as getViteConfig2,
|
|
42555
|
+
getViteConfig8 as getViteConfig3,
|
|
42494
42556
|
getViteConfig2 as getViteConfig4,
|
|
42495
42557
|
getViteConfig3 as getViteConfig5,
|
|
42496
42558
|
getViteConfig4 as getViteConfig6,
|
|
42497
42559
|
getViteConfig5 as getViteConfig7,
|
|
42560
|
+
getViteConfig6 as getViteConfig8,
|
|
42498
42561
|
validateComponents,
|
|
42499
42562
|
createCustomElementConfig,
|
|
42500
42563
|
createAppManifest,
|
|
@@ -42506,4 +42569,4 @@ export {
|
|
|
42506
42569
|
he/he.js:
|
|
42507
42570
|
(*! https://mths.be/he v1.2.0 by @mathias | MIT license *)
|
|
42508
42571
|
*/
|
|
42509
|
-
//# sourceMappingURL=chunk-
|
|
42572
|
+
//# sourceMappingURL=chunk-HJMVSDM6.js.map
|