@bagelink/blox 1.15.277 → 1.15.283
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/dist/CmsPageView.vue.d.ts.map +1 -1
- package/dist/{PreviewApp-DPabYkJj.cjs → PreviewApp-CkYPSubW.cjs} +1 -1
- package/dist/{PreviewApp-CMVaJ7u_.js → PreviewApp-zHU3IczK.js} +1 -1
- package/dist/{PreviewApp.vue_vue_type_style_index_0_lang-BE0hNpPg.cjs → PreviewApp.vue_vue_type_style_index_0_lang-D5JOgHMi.cjs} +1 -1
- package/dist/{PreviewApp.vue_vue_type_style_index_0_lang-DNhMmQCj.js → PreviewApp.vue_vue_type_style_index_0_lang-DRNfZA56.js} +1 -1
- package/dist/index.cjs +2 -2
- package/dist/index.mjs +3 -3
- package/dist/{routes-DUYnmvXF.js → routes-BIVQyFL7.js} +13 -121
- package/dist/{routes-DxMOiC2D.cjs → routes-CsGAn1AG.cjs} +11 -119
- package/dist/{shard-runner-D4gCfCi3.js → shard-runner-BJd76pCJ.js} +3 -2
- package/dist/{shard-runner-CZnX4qnn.cjs → shard-runner-DKz93Boo.cjs} +3 -2
- package/dist/ssg/cli.cjs +1 -1
- package/dist/ssg/cli.mjs +1 -1
- package/dist/ssg/index.cjs +1 -1
- package/dist/ssg/index.mjs +1 -1
- package/dist/ssg/shard-runner.d.ts.map +1 -1
- package/dist/style.css +3 -0
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CmsPageView.vue.d.ts","sourceRoot":"","sources":["../src/CmsPageView.vue"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"CmsPageView.vue.d.ts","sourceRoot":"","sources":["../src/CmsPageView.vue"],"names":[],"mappings":";AAyhBA,wBAMG"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const PreviewApp_vue_vue_type_style_index_0_lang = require("./PreviewApp.vue_vue_type_style_index_0_lang-
|
|
3
|
+
const PreviewApp_vue_vue_type_style_index_0_lang = require("./PreviewApp.vue_vue_type_style_index_0_lang-D5JOgHMi.cjs");
|
|
4
4
|
exports.default = PreviewApp_vue_vue_type_style_index_0_lang._sfc_main;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, inject, ref, h, provide, onMounted, onUnmounted, openBlock, createElementBlock, createVNode, unref, nextTick } from "vue";
|
|
2
|
-
import { e as BLOX_REGISTRY_KEY, u as useLocale, f as BLOX_RUNTIME_KEY } from "./routes-
|
|
2
|
+
import { e as BLOX_REGISTRY_KEY, u as useLocale, f as BLOX_RUNTIME_KEY } from "./routes-BIVQyFL7.js";
|
|
3
3
|
function sendToEditor(msg) {
|
|
4
4
|
window.parent.postMessage(cloneForPostMessage(msg), "*");
|
|
5
5
|
}
|
package/dist/index.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const routes = require("./routes-
|
|
4
|
-
const PreviewApp_vue_vue_type_style_index_0_lang = require("./PreviewApp.vue_vue_type_style_index_0_lang-
|
|
3
|
+
const routes = require("./routes-CsGAn1AG.cjs");
|
|
4
|
+
const PreviewApp_vue_vue_type_style_index_0_lang = require("./PreviewApp.vue_vue_type_style_index_0_lang-D5JOgHMi.cjs");
|
|
5
5
|
const vue = require("vue");
|
|
6
6
|
const vueRouter = require("vue-router");
|
|
7
7
|
const pinia = require("pinia");
|
package/dist/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { h as BLOX_LOCALE_STRATEGY_KEY, u as useLocale, n as normalizeLink, f as BLOX_RUNTIME_KEY, j as useSeo, k as getRegistryData, l as getItemBySlug, m as getItemById, o as getContentRoute, p as provideBloxData, d as createBlox, g as generateContentRoutes, q as installContentFallback, i as installLocaleAwareResolve, a as setActiveLocale, r as installSmartLinks, t as consumePendingLocaleSwitch } from "./routes-
|
|
2
|
-
import { _, v, w, x, B, y, z, A, C, D, P, E, F, c, b, G, H, I, J, K, L, M, N, O, Q, R, S, T, s, U, V, W, X } from "./routes-
|
|
3
|
-
import { _ as _2, P as P2, s as s2, a } from "./PreviewApp.vue_vue_type_style_index_0_lang-
|
|
1
|
+
import { h as BLOX_LOCALE_STRATEGY_KEY, u as useLocale, n as normalizeLink, f as BLOX_RUNTIME_KEY, j as useSeo, k as getRegistryData, l as getItemBySlug, m as getItemById, o as getContentRoute, p as provideBloxData, d as createBlox, g as generateContentRoutes, q as installContentFallback, i as installLocaleAwareResolve, a as setActiveLocale, r as installSmartLinks, t as consumePendingLocaleSwitch } from "./routes-BIVQyFL7.js";
|
|
2
|
+
import { _, v, w, x, B, y, z, A, C, D, P, E, F, c, b, G, H, I, J, K, L, M, N, O, Q, R, S, T, s, U, V, W, X } from "./routes-BIVQyFL7.js";
|
|
3
|
+
import { _ as _2, P as P2, s as s2, a } from "./PreviewApp.vue_vue_type_style_index_0_lang-DRNfZA56.js";
|
|
4
4
|
import { defineComponent, resolveComponent, openBlock, createBlock, withCtx, Transition, resolveDynamicComponent, inject, ref, watch, onMounted, onUnmounted, computed, onServerPrefetch, toValue, createApp, h, Suspense, markRaw } from "vue";
|
|
5
5
|
import { useRouter, useRoute } from "vue-router";
|
|
6
6
|
import { createPinia } from "pinia";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
var __defProp = Object.defineProperty;
|
|
2
2
|
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3
3
|
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4
|
-
import { inject, computed, ref, defineComponent, onMounted, unref, openBlock, createBlock, Teleport, createElementBlock, createElementVNode, createCommentVNode, h, provide, watch, resolveComponent,
|
|
4
|
+
import { inject, computed, ref, defineComponent, onMounted, unref, openBlock, createBlock, Teleport, createElementBlock, createElementVNode, createCommentVNode, h, provide, watch, resolveComponent, toDisplayString, createVNode, withCtx, createTextVNode, Fragment, getCurrentInstance, shallowRef, onServerPrefetch, toValue, markRaw, resolveDynamicComponent } from "vue";
|
|
5
5
|
import { useRoute, useRouter } from "vue-router";
|
|
6
6
|
import { BLOX_WEBSITE_ID_WINDOW_KEY, BLOX_STATE_WINDOW_KEY } from "./ssg/client.mjs";
|
|
7
|
-
import { getI18n
|
|
7
|
+
import { getI18n } from "@bagelink/vue";
|
|
8
8
|
let BASE = "/api";
|
|
9
9
|
let _websiteName = "";
|
|
10
10
|
let _store = "";
|
|
@@ -278,26 +278,17 @@ const PageRenderer = defineComponent({
|
|
|
278
278
|
});
|
|
279
279
|
const _hoisted_1$1 = {
|
|
280
280
|
key: 0,
|
|
281
|
-
class: "blox-loading"
|
|
281
|
+
class: "blox-initial-loading"
|
|
282
282
|
};
|
|
283
|
-
const _hoisted_2$1 = {
|
|
284
|
-
const _hoisted_3$1 = { class: "flex space-between pb-1" };
|
|
285
|
-
const _hoisted_4$1 = { class: "flex gap-1" };
|
|
286
|
-
const _hoisted_5 = { class: "grid grid-wrap-2 gap-2 py-2" };
|
|
287
|
-
const _hoisted_6 = { class: "py-1" };
|
|
288
|
-
const _hoisted_7 = { class: "grid grid-wrap-4 gap-col-1 py-2" };
|
|
289
|
-
const _hoisted_8 = { class: "grid grid-wrap-2 grid-span-3 m_grid-span-4 gap-2" };
|
|
290
|
-
const _hoisted_9 = { class: "grid grid-wrap-4 gap-2 py-2" };
|
|
291
|
-
const _hoisted_10 = { class: "grid-span-3" };
|
|
292
|
-
const _hoisted_11 = {
|
|
283
|
+
const _hoisted_2$1 = {
|
|
293
284
|
key: 1,
|
|
294
285
|
class: "blox-not-found"
|
|
295
286
|
};
|
|
296
|
-
const
|
|
287
|
+
const _hoisted_3$1 = {
|
|
297
288
|
key: 2,
|
|
298
289
|
class: "blox-error color-red"
|
|
299
290
|
};
|
|
300
|
-
const
|
|
291
|
+
const _hoisted_4$1 = {
|
|
301
292
|
key: 0,
|
|
302
293
|
class: "blox-nav-progress"
|
|
303
294
|
};
|
|
@@ -421,109 +412,10 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
421
412
|
return (_ctx, _cache) => {
|
|
422
413
|
const _component_RouterLink = resolveComponent("RouterLink");
|
|
423
414
|
return openBlock(), createElementBlock("div", null, [
|
|
424
|
-
initialLoading.value && blocks.value.length === 0 ? (openBlock(), createElementBlock("div", _hoisted_1$1, [
|
|
425
|
-
createElementVNode("div",
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
width: "180px",
|
|
429
|
-
height: "42px"
|
|
430
|
-
}),
|
|
431
|
-
createElementVNode("div", _hoisted_4$1, [
|
|
432
|
-
(openBlock(), createElementBlock(Fragment, null, renderList(5, (item) => {
|
|
433
|
-
return createVNode(unref(Skeleton), {
|
|
434
|
-
key: item,
|
|
435
|
-
width: "90px",
|
|
436
|
-
height: "20px"
|
|
437
|
-
});
|
|
438
|
-
}), 64))
|
|
439
|
-
])
|
|
440
|
-
]),
|
|
441
|
-
createElementVNode("div", _hoisted_5, [
|
|
442
|
-
createVNode(unref(Skeleton), {
|
|
443
|
-
width: "100%",
|
|
444
|
-
height: "260px"
|
|
445
|
-
}),
|
|
446
|
-
createElementVNode("div", _hoisted_6, [
|
|
447
|
-
createVNode(unref(Skeleton), {
|
|
448
|
-
width: "120px",
|
|
449
|
-
height: "16px",
|
|
450
|
-
class: "mb-1"
|
|
451
|
-
}),
|
|
452
|
-
createVNode(unref(Skeleton), {
|
|
453
|
-
width: "92%",
|
|
454
|
-
height: "34px"
|
|
455
|
-
}),
|
|
456
|
-
createVNode(unref(Skeleton), {
|
|
457
|
-
width: "72%",
|
|
458
|
-
height: "34px",
|
|
459
|
-
class: "mb-1"
|
|
460
|
-
}),
|
|
461
|
-
createVNode(unref(Skeleton), {
|
|
462
|
-
width: "190px",
|
|
463
|
-
height: "16px"
|
|
464
|
-
})
|
|
465
|
-
])
|
|
466
|
-
]),
|
|
467
|
-
createElementVNode("div", _hoisted_7, [
|
|
468
|
-
createElementVNode("div", null, [
|
|
469
|
-
createVNode(unref(Skeleton), {
|
|
470
|
-
width: "150px",
|
|
471
|
-
height: "28px",
|
|
472
|
-
class: "mb-1"
|
|
473
|
-
}),
|
|
474
|
-
(openBlock(), createElementBlock(Fragment, null, renderList(3, (tab) => {
|
|
475
|
-
return createVNode(unref(Skeleton), {
|
|
476
|
-
key: tab,
|
|
477
|
-
width: "90px",
|
|
478
|
-
height: "20px",
|
|
479
|
-
class: "mb-1"
|
|
480
|
-
});
|
|
481
|
-
}), 64))
|
|
482
|
-
]),
|
|
483
|
-
createElementVNode("div", _hoisted_8, [
|
|
484
|
-
(openBlock(), createElementBlock(Fragment, null, renderList(2, (card) => {
|
|
485
|
-
return createElementVNode("div", { key: card }, [
|
|
486
|
-
createVNode(unref(Skeleton), {
|
|
487
|
-
width: "100%",
|
|
488
|
-
height: "210px"
|
|
489
|
-
}),
|
|
490
|
-
createVNode(unref(Skeleton), {
|
|
491
|
-
width: "88%",
|
|
492
|
-
height: "24px",
|
|
493
|
-
class: "mt-05"
|
|
494
|
-
}),
|
|
495
|
-
createVNode(unref(Skeleton), {
|
|
496
|
-
width: "52%",
|
|
497
|
-
height: "15px"
|
|
498
|
-
})
|
|
499
|
-
]);
|
|
500
|
-
}), 64))
|
|
501
|
-
])
|
|
502
|
-
]),
|
|
503
|
-
createElementVNode("div", _hoisted_9, [
|
|
504
|
-
createVNode(unref(Skeleton), {
|
|
505
|
-
width: "100%",
|
|
506
|
-
height: "320px"
|
|
507
|
-
}),
|
|
508
|
-
createElementVNode("div", _hoisted_10, [
|
|
509
|
-
createVNode(unref(Skeleton), {
|
|
510
|
-
width: "220px",
|
|
511
|
-
height: "30px",
|
|
512
|
-
class: "mb-1"
|
|
513
|
-
}),
|
|
514
|
-
(openBlock(), createElementBlock(Fragment, null, renderList(5, (row) => {
|
|
515
|
-
return createVNode(unref(Skeleton), {
|
|
516
|
-
key: row,
|
|
517
|
-
width: "100%",
|
|
518
|
-
height: "58px",
|
|
519
|
-
class: "mb-05"
|
|
520
|
-
});
|
|
521
|
-
}), 64))
|
|
522
|
-
])
|
|
523
|
-
])
|
|
524
|
-
])
|
|
525
|
-
])) : notFound.value ? (openBlock(), createElementBlock("div", _hoisted_11, [
|
|
526
|
-
_cache[0] || (_cache[0] = createElementVNode("h2", null, "404", -1)),
|
|
415
|
+
initialLoading.value && blocks.value.length === 0 ? (openBlock(), createElementBlock("div", _hoisted_1$1, [..._cache[0] || (_cache[0] = [
|
|
416
|
+
createElementVNode("div", { class: "blox-nav-progress" }, null, -1)
|
|
417
|
+
])])) : notFound.value ? (openBlock(), createElementBlock("div", _hoisted_2$1, [
|
|
418
|
+
_cache[1] || (_cache[1] = createElementVNode("h2", null, "404", -1)),
|
|
527
419
|
createElementVNode("p", null, toDisplayString(unref(locale2) === "he" ? "הדף לא נמצא" : "Page not found"), 1),
|
|
528
420
|
createVNode(_component_RouterLink, { to: "/" }, {
|
|
529
421
|
default: withCtx(() => [
|
|
@@ -531,8 +423,8 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
531
423
|
]),
|
|
532
424
|
_: 1
|
|
533
425
|
})
|
|
534
|
-
])) : error.value ? (openBlock(), createElementBlock("div",
|
|
535
|
-
navigating.value ? (openBlock(), createElementBlock("div",
|
|
426
|
+
])) : error.value ? (openBlock(), createElementBlock("div", _hoisted_3$1, toDisplayString(error.value), 1)) : (openBlock(), createElementBlock(Fragment, { key: 3 }, [
|
|
427
|
+
navigating.value ? (openBlock(), createElementBlock("div", _hoisted_4$1)) : createCommentVNode("", true),
|
|
536
428
|
createVNode(unref(PageRenderer), { blocks: blocks.value }, null, 8, ["blocks"])
|
|
537
429
|
], 64)),
|
|
538
430
|
unref(adminConfig) ? (openBlock(), createBlock(_sfc_main$3, {
|
|
@@ -964,7 +856,7 @@ class BloxInstance {
|
|
|
964
856
|
}
|
|
965
857
|
router.addRoute({
|
|
966
858
|
path: "/_blox_preview",
|
|
967
|
-
component: () => import("./PreviewApp-
|
|
859
|
+
component: () => import("./PreviewApp-zHU3IczK.js"),
|
|
968
860
|
beforeEnter: () => window.parent !== window ? true : "/"
|
|
969
861
|
});
|
|
970
862
|
router.addRoute({ path: "/:pathMatch(.*)*", component: _sfc_main$2 });
|
|
@@ -279,26 +279,17 @@ const PageRenderer = vue.defineComponent({
|
|
|
279
279
|
});
|
|
280
280
|
const _hoisted_1$1 = {
|
|
281
281
|
key: 0,
|
|
282
|
-
class: "blox-loading"
|
|
282
|
+
class: "blox-initial-loading"
|
|
283
283
|
};
|
|
284
|
-
const _hoisted_2$1 = {
|
|
285
|
-
const _hoisted_3$1 = { class: "flex space-between pb-1" };
|
|
286
|
-
const _hoisted_4$1 = { class: "flex gap-1" };
|
|
287
|
-
const _hoisted_5 = { class: "grid grid-wrap-2 gap-2 py-2" };
|
|
288
|
-
const _hoisted_6 = { class: "py-1" };
|
|
289
|
-
const _hoisted_7 = { class: "grid grid-wrap-4 gap-col-1 py-2" };
|
|
290
|
-
const _hoisted_8 = { class: "grid grid-wrap-2 grid-span-3 m_grid-span-4 gap-2" };
|
|
291
|
-
const _hoisted_9 = { class: "grid grid-wrap-4 gap-2 py-2" };
|
|
292
|
-
const _hoisted_10 = { class: "grid-span-3" };
|
|
293
|
-
const _hoisted_11 = {
|
|
284
|
+
const _hoisted_2$1 = {
|
|
294
285
|
key: 1,
|
|
295
286
|
class: "blox-not-found"
|
|
296
287
|
};
|
|
297
|
-
const
|
|
288
|
+
const _hoisted_3$1 = {
|
|
298
289
|
key: 2,
|
|
299
290
|
class: "blox-error color-red"
|
|
300
291
|
};
|
|
301
|
-
const
|
|
292
|
+
const _hoisted_4$1 = {
|
|
302
293
|
key: 0,
|
|
303
294
|
class: "blox-nav-progress"
|
|
304
295
|
};
|
|
@@ -422,109 +413,10 @@ const _sfc_main$2 = /* @__PURE__ */ vue.defineComponent({
|
|
|
422
413
|
return (_ctx, _cache) => {
|
|
423
414
|
const _component_RouterLink = vue.resolveComponent("RouterLink");
|
|
424
415
|
return vue.openBlock(), vue.createElementBlock("div", null, [
|
|
425
|
-
initialLoading.value && blocks.value.length === 0 ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$1, [
|
|
426
|
-
vue.createElementVNode("div",
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
width: "180px",
|
|
430
|
-
height: "42px"
|
|
431
|
-
}),
|
|
432
|
-
vue.createElementVNode("div", _hoisted_4$1, [
|
|
433
|
-
(vue.openBlock(), vue.createElementBlock(vue.Fragment, null, vue.renderList(5, (item) => {
|
|
434
|
-
return vue.createVNode(vue.unref(vue$1.Skeleton), {
|
|
435
|
-
key: item,
|
|
436
|
-
width: "90px",
|
|
437
|
-
height: "20px"
|
|
438
|
-
});
|
|
439
|
-
}), 64))
|
|
440
|
-
])
|
|
441
|
-
]),
|
|
442
|
-
vue.createElementVNode("div", _hoisted_5, [
|
|
443
|
-
vue.createVNode(vue.unref(vue$1.Skeleton), {
|
|
444
|
-
width: "100%",
|
|
445
|
-
height: "260px"
|
|
446
|
-
}),
|
|
447
|
-
vue.createElementVNode("div", _hoisted_6, [
|
|
448
|
-
vue.createVNode(vue.unref(vue$1.Skeleton), {
|
|
449
|
-
width: "120px",
|
|
450
|
-
height: "16px",
|
|
451
|
-
class: "mb-1"
|
|
452
|
-
}),
|
|
453
|
-
vue.createVNode(vue.unref(vue$1.Skeleton), {
|
|
454
|
-
width: "92%",
|
|
455
|
-
height: "34px"
|
|
456
|
-
}),
|
|
457
|
-
vue.createVNode(vue.unref(vue$1.Skeleton), {
|
|
458
|
-
width: "72%",
|
|
459
|
-
height: "34px",
|
|
460
|
-
class: "mb-1"
|
|
461
|
-
}),
|
|
462
|
-
vue.createVNode(vue.unref(vue$1.Skeleton), {
|
|
463
|
-
width: "190px",
|
|
464
|
-
height: "16px"
|
|
465
|
-
})
|
|
466
|
-
])
|
|
467
|
-
]),
|
|
468
|
-
vue.createElementVNode("div", _hoisted_7, [
|
|
469
|
-
vue.createElementVNode("div", null, [
|
|
470
|
-
vue.createVNode(vue.unref(vue$1.Skeleton), {
|
|
471
|
-
width: "150px",
|
|
472
|
-
height: "28px",
|
|
473
|
-
class: "mb-1"
|
|
474
|
-
}),
|
|
475
|
-
(vue.openBlock(), vue.createElementBlock(vue.Fragment, null, vue.renderList(3, (tab) => {
|
|
476
|
-
return vue.createVNode(vue.unref(vue$1.Skeleton), {
|
|
477
|
-
key: tab,
|
|
478
|
-
width: "90px",
|
|
479
|
-
height: "20px",
|
|
480
|
-
class: "mb-1"
|
|
481
|
-
});
|
|
482
|
-
}), 64))
|
|
483
|
-
]),
|
|
484
|
-
vue.createElementVNode("div", _hoisted_8, [
|
|
485
|
-
(vue.openBlock(), vue.createElementBlock(vue.Fragment, null, vue.renderList(2, (card) => {
|
|
486
|
-
return vue.createElementVNode("div", { key: card }, [
|
|
487
|
-
vue.createVNode(vue.unref(vue$1.Skeleton), {
|
|
488
|
-
width: "100%",
|
|
489
|
-
height: "210px"
|
|
490
|
-
}),
|
|
491
|
-
vue.createVNode(vue.unref(vue$1.Skeleton), {
|
|
492
|
-
width: "88%",
|
|
493
|
-
height: "24px",
|
|
494
|
-
class: "mt-05"
|
|
495
|
-
}),
|
|
496
|
-
vue.createVNode(vue.unref(vue$1.Skeleton), {
|
|
497
|
-
width: "52%",
|
|
498
|
-
height: "15px"
|
|
499
|
-
})
|
|
500
|
-
]);
|
|
501
|
-
}), 64))
|
|
502
|
-
])
|
|
503
|
-
]),
|
|
504
|
-
vue.createElementVNode("div", _hoisted_9, [
|
|
505
|
-
vue.createVNode(vue.unref(vue$1.Skeleton), {
|
|
506
|
-
width: "100%",
|
|
507
|
-
height: "320px"
|
|
508
|
-
}),
|
|
509
|
-
vue.createElementVNode("div", _hoisted_10, [
|
|
510
|
-
vue.createVNode(vue.unref(vue$1.Skeleton), {
|
|
511
|
-
width: "220px",
|
|
512
|
-
height: "30px",
|
|
513
|
-
class: "mb-1"
|
|
514
|
-
}),
|
|
515
|
-
(vue.openBlock(), vue.createElementBlock(vue.Fragment, null, vue.renderList(5, (row) => {
|
|
516
|
-
return vue.createVNode(vue.unref(vue$1.Skeleton), {
|
|
517
|
-
key: row,
|
|
518
|
-
width: "100%",
|
|
519
|
-
height: "58px",
|
|
520
|
-
class: "mb-05"
|
|
521
|
-
});
|
|
522
|
-
}), 64))
|
|
523
|
-
])
|
|
524
|
-
])
|
|
525
|
-
])
|
|
526
|
-
])) : notFound.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_11, [
|
|
527
|
-
_cache[0] || (_cache[0] = vue.createElementVNode("h2", null, "404", -1)),
|
|
416
|
+
initialLoading.value && blocks.value.length === 0 ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$1, [..._cache[0] || (_cache[0] = [
|
|
417
|
+
vue.createElementVNode("div", { class: "blox-nav-progress" }, null, -1)
|
|
418
|
+
])])) : notFound.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$1, [
|
|
419
|
+
_cache[1] || (_cache[1] = vue.createElementVNode("h2", null, "404", -1)),
|
|
528
420
|
vue.createElementVNode("p", null, vue.toDisplayString(vue.unref(locale2) === "he" ? "הדף לא נמצא" : "Page not found"), 1),
|
|
529
421
|
vue.createVNode(_component_RouterLink, { to: "/" }, {
|
|
530
422
|
default: vue.withCtx(() => [
|
|
@@ -532,8 +424,8 @@ const _sfc_main$2 = /* @__PURE__ */ vue.defineComponent({
|
|
|
532
424
|
]),
|
|
533
425
|
_: 1
|
|
534
426
|
})
|
|
535
|
-
])) : error.value ? (vue.openBlock(), vue.createElementBlock("div",
|
|
536
|
-
navigating.value ? (vue.openBlock(), vue.createElementBlock("div",
|
|
427
|
+
])) : error.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$1, vue.toDisplayString(error.value), 1)) : (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 3 }, [
|
|
428
|
+
navigating.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4$1)) : vue.createCommentVNode("", true),
|
|
537
429
|
vue.createVNode(vue.unref(PageRenderer), { blocks: blocks.value }, null, 8, ["blocks"])
|
|
538
430
|
], 64)),
|
|
539
431
|
vue.unref(adminConfig) ? (vue.openBlock(), vue.createBlock(_sfc_main$3, {
|
|
@@ -965,7 +857,7 @@ class BloxInstance {
|
|
|
965
857
|
}
|
|
966
858
|
router.addRoute({
|
|
967
859
|
path: "/_blox_preview",
|
|
968
|
-
component: () => Promise.resolve().then(() => require("./PreviewApp-
|
|
860
|
+
component: () => Promise.resolve().then(() => require("./PreviewApp-CkYPSubW.cjs")),
|
|
969
861
|
beforeEnter: () => window.parent !== window ? true : "/"
|
|
970
862
|
});
|
|
971
863
|
router.addRoute({ path: "/:pathMatch(.*)*", component: _sfc_main$2 });
|
|
@@ -27,7 +27,8 @@ async function enumerateRoutes(cmd) {
|
|
|
27
27
|
}
|
|
28
28
|
function runShard(index, total, paths, opts, llmPartsDir) {
|
|
29
29
|
return new Promise((resolve) => {
|
|
30
|
-
const
|
|
30
|
+
const cliEntry = process.argv[1];
|
|
31
|
+
const shardArgs = [
|
|
31
32
|
`--mode=${opts.mode}`,
|
|
32
33
|
`--shard=${index}/${total}`,
|
|
33
34
|
"--no-crawl",
|
|
@@ -35,7 +36,7 @@ function runShard(index, total, paths, opts, llmPartsDir) {
|
|
|
35
36
|
...opts.passthroughArgs,
|
|
36
37
|
...paths
|
|
37
38
|
];
|
|
38
|
-
const child = spawn(
|
|
39
|
+
const child = spawn(process.execPath, [cliEntry, ...shardArgs], {
|
|
39
40
|
stdio: ["ignore", "inherit", "inherit"],
|
|
40
41
|
env: {
|
|
41
42
|
...process.env,
|
|
@@ -51,7 +51,8 @@ async function enumerateRoutes(cmd) {
|
|
|
51
51
|
}
|
|
52
52
|
function runShard(index, total, paths, opts, llmPartsDir) {
|
|
53
53
|
return new Promise((resolve) => {
|
|
54
|
-
const
|
|
54
|
+
const cliEntry = process.argv[1];
|
|
55
|
+
const shardArgs = [
|
|
55
56
|
`--mode=${opts.mode}`,
|
|
56
57
|
`--shard=${index}/${total}`,
|
|
57
58
|
"--no-crawl",
|
|
@@ -59,7 +60,7 @@ function runShard(index, total, paths, opts, llmPartsDir) {
|
|
|
59
60
|
...opts.passthroughArgs,
|
|
60
61
|
...paths
|
|
61
62
|
];
|
|
62
|
-
const child = node_child_process.spawn(
|
|
63
|
+
const child = node_child_process.spawn(process.execPath, [cliEntry, ...shardArgs], {
|
|
63
64
|
stdio: ["ignore", "inherit", "inherit"],
|
|
64
65
|
env: {
|
|
65
66
|
...process.env,
|
package/dist/ssg/cli.cjs
CHANGED
|
@@ -110,7 +110,7 @@ Environment:
|
|
|
110
110
|
if (shardsOpt !== null || routesCmd) {
|
|
111
111
|
const { apiBase: apiBase2, websiteName: configWebsiteName2 } = await resolveApiBase(mode);
|
|
112
112
|
const websiteName2 = process.env.WEBSITE_NAME ?? configWebsiteName2 ?? "default";
|
|
113
|
-
const { runSharded } = await Promise.resolve().then(() => require("../shard-runner-
|
|
113
|
+
const { runSharded } = await Promise.resolve().then(() => require("../shard-runner-DKz93Boo.cjs"));
|
|
114
114
|
const code = await runSharded({
|
|
115
115
|
shards: shardsOpt ?? "auto",
|
|
116
116
|
mode,
|
package/dist/ssg/cli.mjs
CHANGED
|
@@ -109,7 +109,7 @@ Environment:
|
|
|
109
109
|
if (shardsOpt !== null || routesCmd) {
|
|
110
110
|
const { apiBase: apiBase2, websiteName: configWebsiteName2 } = await resolveApiBase(mode);
|
|
111
111
|
const websiteName2 = process.env.WEBSITE_NAME ?? configWebsiteName2 ?? "default";
|
|
112
|
-
const { runSharded } = await import("../shard-runner-
|
|
112
|
+
const { runSharded } = await import("../shard-runner-BJd76pCJ.js");
|
|
113
113
|
const code = await runSharded({
|
|
114
114
|
shards: shardsOpt ?? "auto",
|
|
115
115
|
mode,
|
package/dist/ssg/index.cjs
CHANGED
|
@@ -26,7 +26,7 @@ const cmsRoutes = require("../prerender-DQ7D6auC.cjs");
|
|
|
26
26
|
const ssg_client = require("./client.cjs");
|
|
27
27
|
const pinia = require("pinia");
|
|
28
28
|
const vue = require("vue");
|
|
29
|
-
const routes = require("../routes-
|
|
29
|
+
const routes = require("../routes-CsGAn1AG.cjs");
|
|
30
30
|
async function renderBloxSsgPage(options) {
|
|
31
31
|
var _a, _b, _c;
|
|
32
32
|
const {
|
package/dist/ssg/index.mjs
CHANGED
|
@@ -4,7 +4,7 @@ import { BLOX_STATE_WINDOW_KEY, BLOX_COLLECTIONS_WINDOW_KEY, BLOX_WEBSITE_ID_WIN
|
|
|
4
4
|
import { BLOX_DATA_WINDOW_KEY, BLOX_PAGE_SEO_WINDOW_KEY, getCollectionCache, getEmbeddedWebsiteId, installBloxStateCache, installCollectionCache } from "./client.mjs";
|
|
5
5
|
import { createPinia } from "pinia";
|
|
6
6
|
import { createSSRApp, h as h2, Suspense, markRaw } from "vue";
|
|
7
|
-
import { B as BLOX_DATA_WINDOW_KEY2, s as setApiOrigin, a as setActiveLocale, c as collectBloxData, b as collectBloxSeo, p as provideBloxData, d as createBlox, g as generateContentRoutes, i as installLocaleAwareResolve } from "../routes-
|
|
7
|
+
import { B as BLOX_DATA_WINDOW_KEY2, s as setApiOrigin, a as setActiveLocale, c as collectBloxData, b as collectBloxSeo, p as provideBloxData, d as createBlox, g as generateContentRoutes, i as installLocaleAwareResolve } from "../routes-BIVQyFL7.js";
|
|
8
8
|
async function renderBloxSsgPage(options) {
|
|
9
9
|
var _a, _b, _c;
|
|
10
10
|
const {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shard-runner.d.ts","sourceRoot":"","sources":["../../src/ssg/shard-runner.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AASH,MAAM,WAAW,kBAAkB;IAClC,qDAAqD;IACrD,MAAM,EAAE,MAAM,GAAG,MAAM,CAAA;IACvB,0DAA0D;IAC1D,IAAI,EAAE,MAAM,CAAA;IACZ,uDAAuD;IACvD,OAAO,EAAE,MAAM,CAAA;IACf,sDAAsD;IACtD,WAAW,EAAE,MAAM,CAAA;IACnB,iFAAiF;IACjF,UAAU,EAAE,MAAM,EAAE,CAAA;IACpB,8FAA8F;IAC9F,eAAe,EAAE,MAAM,EAAE,CAAA;IACzB;;;;;OAKG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;CAClB;
|
|
1
|
+
{"version":3,"file":"shard-runner.d.ts","sourceRoot":"","sources":["../../src/ssg/shard-runner.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AASH,MAAM,WAAW,kBAAkB;IAClC,qDAAqD;IACrD,MAAM,EAAE,MAAM,GAAG,MAAM,CAAA;IACvB,0DAA0D;IAC1D,IAAI,EAAE,MAAM,CAAA;IACZ,uDAAuD;IACvD,OAAO,EAAE,MAAM,CAAA;IACf,sDAAsD;IACtD,WAAW,EAAE,MAAM,CAAA;IACnB,iFAAiF;IACjF,UAAU,EAAE,MAAM,EAAE,CAAA;IACpB,8FAA8F;IAC9F,eAAe,EAAE,MAAM,EAAE,CAAA;IACzB;;;;;OAKG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;CAClB;AAgED;;GAEG;AACH,wBAAsB,UAAU,CAAC,IAAI,EAAE,kBAAkB,GAAG,OAAO,CAAC,MAAM,CAAC,CA0D1E"}
|
package/dist/style.css
CHANGED
|
@@ -39,6 +39,9 @@
|
|
|
39
39
|
background: linear-gradient(90deg, transparent, var(--blox-accent, #3b82f6), transparent);
|
|
40
40
|
animation: blox-nav-slide 1s ease-in-out infinite;
|
|
41
41
|
}
|
|
42
|
+
.blox-initial-loading {
|
|
43
|
+
min-height: 100vh;
|
|
44
|
+
}
|
|
42
45
|
@keyframes blox-nav-slide {
|
|
43
46
|
0% {
|
|
44
47
|
transform: translateX(-100%);
|
package/package.json
CHANGED