@salla.sa/twilight-theme-engine 1.0.9 → 1.0.11
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/{AddToCartForm-TU7UBGOK.js → AddToCartForm-RAYGG3Q7.js} +3 -3
- package/dist/{AddToCartForm-TU7UBGOK.js.map → AddToCartForm-RAYGG3Q7.js.map} +1 -1
- package/dist/{BlogAuthorPage-SY7Z52PX.js → BlogAuthorPage-WAZLTHW5.js} +6 -6
- package/dist/{BlogAuthorPage-SY7Z52PX.js.map → BlogAuthorPage-WAZLTHW5.js.map} +1 -1
- package/dist/{BlogCategoryPage-V4CKP7ZK.js → BlogCategoryPage-PEJ5R2FN.js} +6 -6
- package/dist/{BlogCategoryPage-V4CKP7ZK.js.map → BlogCategoryPage-PEJ5R2FN.js.map} +1 -1
- package/dist/{BlogPage-SDC5ALDQ.js → BlogPage-GQIQ2UVI.js} +5 -5
- package/dist/{BlogPage-SDC5ALDQ.js.map → BlogPage-GQIQ2UVI.js.map} +1 -1
- package/dist/{BlogSinglePage-T3HSAXTX.js → BlogSinglePage-TL6EDZVO.js} +5 -5
- package/dist/{BlogSinglePage-T3HSAXTX.js.map → BlogSinglePage-TL6EDZVO.js.map} +1 -1
- package/dist/{BlogTagPage-5XPGVZ27.js → BlogTagPage-3LB75ADG.js} +6 -6
- package/dist/{BlogTagPage-5XPGVZ27.js.map → BlogTagPage-3LB75ADG.js.map} +1 -1
- package/dist/{BrandsPage-VLLO62HM.js → BrandsPage-7KMZORPD.js} +5 -5
- package/dist/{BrandsPage-VLLO62HM.js.map → BrandsPage-7KMZORPD.js.map} +1 -1
- package/dist/{Breadcrumb-ZEEJFDRI.js → Breadcrumb-G7247FAF.js} +5 -5
- package/dist/{Breadcrumb-ZEEJFDRI.js.map → Breadcrumb-G7247FAF.js.map} +1 -1
- package/dist/{CartItem-PIXV2N3R.js → CartItem-UPUS5WZG.js} +5 -5
- package/dist/{CartItem-PIXV2N3R.js.map → CartItem-UPUS5WZG.js.map} +1 -1
- package/dist/{CartSummary-M55JIR3P.js → CartSummary-BYD6UVZL.js} +5 -5
- package/dist/{CartSummary-M55JIR3P.js.map → CartSummary-BYD6UVZL.js.map} +1 -1
- package/dist/{Copyright-VZADDDCV.js → Copyright-WR775SHG.js} +3 -3
- package/dist/{Copyright-VZADDDCV.js.map → Copyright-WR775SHG.js.map} +1 -1
- package/dist/{CustomerLayout-IAZIRZV5.js → CustomerLayout-HX4BHSLC.js} +5 -5
- package/dist/{CustomerLayout-IAZIRZV5.js.map → CustomerLayout-HX4BHSLC.js.map} +1 -1
- package/dist/{Footer-QJ34SLHE.js → Footer-KT2CGXDZ.js} +5 -5
- package/dist/{Footer-QJ34SLHE.js.map → Footer-KT2CGXDZ.js.map} +1 -1
- package/dist/{Header-U75U5Z6P.js → Header-S5Z4HNML.js} +4 -4
- package/dist/{Header-U75U5Z6P.js.map → Header-S5Z4HNML.js.map} +1 -1
- package/dist/{LoyaltyPage-XAX6U3UD.js → LoyaltyPage-FUCOBX43.js} +5 -5
- package/dist/{LoyaltyPage-XAX6U3UD.js.map → LoyaltyPage-FUCOBX43.js.map} +1 -1
- package/dist/{MainMenu-GACVF42F.js → MainMenu-AQMWZC5E.js} +3 -3
- package/dist/{MainMenu-GACVF42F.js.map → MainMenu-AQMWZC5E.js.map} +1 -1
- package/dist/{MasterLayout-JIVT2VDD.js → MasterLayout-IFF3IZUV.js} +5 -5
- package/dist/{MasterLayout-JIVT2VDD.js.map → MasterLayout-IFF3IZUV.js.map} +1 -1
- package/dist/{MobileMenu-JZ4XGNUU.js → MobileMenu-SOG2VXEW.js} +5 -5
- package/dist/{MobileMenu-JZ4XGNUU.js.map → MobileMenu-SOG2VXEW.js.map} +1 -1
- package/dist/{NotificationsPage-EEXM43TJ.js → NotificationsPage-WKMG3TLY.js} +5 -5
- package/dist/{NotificationsPage-EEXM43TJ.js.map → NotificationsPage-WKMG3TLY.js.map} +1 -1
- package/dist/{OrderSinglePage-SVOCBBF6.js → OrderSinglePage-PQKZCFXW.js} +9 -9
- package/dist/OrderSinglePage-PQKZCFXW.js.map +1 -0
- package/dist/{OrdersPage-PDRKNICP.js → OrdersPage-Z23YICUK.js} +5 -5
- package/dist/{OrdersPage-PDRKNICP.js.map → OrdersPage-Z23YICUK.js.map} +1 -1
- package/dist/{PageSingle-6C2B3525.js → PageSingle-ICEZ4G6Q.js} +3 -3
- package/dist/{PageSingle-6C2B3525.js.map → PageSingle-ICEZ4G6Q.js.map} +1 -1
- package/dist/{ProductDetails-WEFSPKHZ.js → ProductDetails-G2KFUCE3.js} +3 -3
- package/dist/{ProductDetails-WEFSPKHZ.js.map → ProductDetails-G2KFUCE3.js.map} +1 -1
- package/dist/{ProfilePage-LVPBBNP7.js → ProfilePage-FPIAFDTI.js} +5 -5
- package/dist/{ProfilePage-LVPBBNP7.js.map → ProfilePage-FPIAFDTI.js.map} +1 -1
- package/dist/{SeoCartWidget-6SAIJZ3W.js → SeoCartWidget-Y54BESOV.js} +5 -5
- package/dist/{SeoCartWidget-6SAIJZ3W.js.map → SeoCartWidget-Y54BESOV.js.map} +1 -1
- package/dist/{SettingsPage-DAGRC7MI.js → SettingsPage-FYGQ6IHK.js} +5 -5
- package/dist/{SettingsPage-DAGRC7MI.js.map → SettingsPage-FYGQ6IHK.js.map} +1 -1
- package/dist/{StoreClosedNotification-JDSUZS5B.js → StoreClosedNotification-GE44WI5X.js} +6 -6
- package/dist/{StoreClosedNotification-JDSUZS5B.js.map → StoreClosedNotification-GE44WI5X.js.map} +1 -1
- package/dist/{TestimonialsPage-ZYAVOVIG.js → TestimonialsPage-X3ZYAD6L.js} +3 -3
- package/dist/{TestimonialsPage-ZYAVOVIG.js.map → TestimonialsPage-X3ZYAD6L.js.map} +1 -1
- package/dist/{ThankYouPage-ZLC7MHQS.js → ThankYouPage-CDB7NS4Y.js} +5 -5
- package/dist/{ThankYouPage-ZLC7MHQS.js.map → ThankYouPage-CDB7NS4Y.js.map} +1 -1
- package/dist/{WalletPage-GJSWX7WL.js → WalletPage-NUUUQVXY.js} +5 -5
- package/dist/{WalletPage-GJSWX7WL.js.map → WalletPage-NUUUQVXY.js.map} +1 -1
- package/dist/{WishlistPage-TM2XLHPK.js → WishlistPage-NIER4BVZ.js} +5 -5
- package/dist/{WishlistPage-TM2XLHPK.js.map → WishlistPage-NIER4BVZ.js.map} +1 -1
- package/dist/{chunk-7GZQZBLB.js → chunk-ASHDLBC6.js} +5 -5
- package/dist/{chunk-7GZQZBLB.js.map → chunk-ASHDLBC6.js.map} +1 -1
- package/dist/{chunk-NLEREEMC.js → chunk-DLDWJMHR.js} +7 -7
- package/dist/{chunk-NLEREEMC.js.map → chunk-DLDWJMHR.js.map} +1 -1
- package/dist/{chunk-BZZWLGLX.js → chunk-FPDU7BNG.js} +6 -6
- package/dist/{chunk-BZZWLGLX.js.map → chunk-FPDU7BNG.js.map} +1 -1
- package/dist/{chunk-P2KMA26E.js → chunk-J2DX7WB5.js} +4 -4
- package/dist/{chunk-P2KMA26E.js.map → chunk-J2DX7WB5.js.map} +1 -1
- package/dist/{chunk-Z7L444JL.js → chunk-KNZHIN5J.js} +3 -3
- package/dist/{chunk-Z7L444JL.js.map → chunk-KNZHIN5J.js.map} +1 -1
- package/dist/{chunk-VUA2MX3D.js → chunk-L6HMZFS5.js} +4 -4
- package/dist/{chunk-VUA2MX3D.js.map → chunk-L6HMZFS5.js.map} +1 -1
- package/dist/{chunk-7LROVN46.js → chunk-NHAL5WA2.js} +4 -4
- package/dist/{chunk-7LROVN46.js.map → chunk-NHAL5WA2.js.map} +1 -1
- package/dist/{chunk-LYV5ZYQC.js → chunk-SLQY34WM.js} +3 -3
- package/dist/{chunk-LYV5ZYQC.js.map → chunk-SLQY34WM.js.map} +1 -1
- package/dist/chunk-TF7G5E7S.js +14 -0
- package/dist/{chunk-KADLV3LG.js.map → chunk-TF7G5E7S.js.map} +1 -1
- package/dist/{chunk-Z3PSTVLL.js → chunk-WYGTDCO5.js} +3 -3
- package/dist/{chunk-Z3PSTVLL.js.map → chunk-WYGTDCO5.js.map} +1 -1
- package/dist/{chunk-IAPF4MOD.js → chunk-X5UGYSEQ.js} +3 -3
- package/dist/{chunk-IAPF4MOD.js.map → chunk-X5UGYSEQ.js.map} +1 -1
- package/dist/components/cart/index.js +1 -1
- package/dist/components/common/index.js +1 -1
- package/dist/components/drawer/index.js +3 -3
- package/dist/components/home/index.js +5 -5
- package/dist/components/layout/index.js +5 -5
- package/dist/components/product/index.js +4 -4
- package/dist/components/store/index.js +5 -5
- package/dist/{document-class-7B45JFYM.js → document-class-6B2S2TAW.js} +3 -3
- package/dist/{document-class-7B45JFYM.js.map → document-class-6B2S2TAW.js.map} +1 -1
- package/dist/hooks/index.js +3 -3
- package/dist/hooks/useGtm.js +3 -3
- package/dist/hooks/useMoney.js +3 -3
- package/dist/hooks/useStore.js +3 -3
- package/dist/index.js +3 -3
- package/dist/{not-found-D6O45NRA.js → not-found-JGCIVC3W.js} +5 -5
- package/dist/{not-found-D6O45NRA.js.map → not-found-JGCIVC3W.js.map} +1 -1
- package/dist/providers/index.js +3 -3
- package/dist/routes/account/orders/OrderSinglePage.d.ts.map +1 -1
- package/dist/routes/account/orders.js +1 -1
- package/dist/routes/account.js +6 -6
- package/dist/routes/blog.js +5 -5
- package/dist/routes/brands.js +1 -1
- package/dist/routes/cart.js +7 -7
- package/dist/routes/home.js +6 -6
- package/dist/routes/loyalty.js +1 -1
- package/dist/routes/page.js +1 -1
- package/dist/routes/product-listing.js +5 -5
- package/dist/routes/product.js +5 -5
- package/dist/routes/testimonials.js +1 -1
- package/dist/routes/thank-you.js +1 -1
- package/dist/skeleton.js +6 -6
- package/dist/tanstack.js +2 -2
- package/dist/vite/adapters/tanstack.adapter.d.ts.map +1 -1
- package/dist/vite/index.js +65 -2
- package/dist/vite/index.js.map +1 -1
- package/dist/vite/plugins/worker-config.d.ts +42 -0
- package/dist/vite/plugins/worker-config.d.ts.map +1 -0
- package/dist/vite/types.d.ts +16 -0
- package/dist/vite/types.d.ts.map +1 -1
- package/package.json +4 -2
- package/dist/OrderSinglePage-SVOCBBF6.js.map +0 -1
- package/dist/chunk-KADLV3LG.js +0 -14
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { OrderSingle, OrderSinglePage, Orders, OrdersPage, orderSingleLoader, ordersLoader } from '../../chunk-
|
|
1
|
+
export { OrderSingle, OrderSinglePage, Orders, OrdersPage, orderSingleLoader, ordersLoader } from '../../chunk-NHAL5WA2.js';
|
|
2
2
|
import '../../chunk-GQG4KE5Z.js';
|
|
3
3
|
import '../../chunk-TZ3E5BN4.js';
|
|
4
4
|
import '../../chunk-2ZRLSZ4V.js';
|
package/dist/routes/account.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { wallet } from '../chunk-6NBBXERE.js';
|
|
2
|
-
export { OrderSingle, OrderSinglePage, Orders, OrdersPage, orderSingleLoader, ordersLoader } from '../chunk-
|
|
2
|
+
export { OrderSingle, OrderSinglePage, Orders, OrdersPage, orderSingleLoader, ordersLoader } from '../chunk-NHAL5WA2.js';
|
|
3
3
|
import '../chunk-GQG4KE5Z.js';
|
|
4
4
|
import { notification } from '../chunk-6D7SF3YR.js';
|
|
5
5
|
import { wishlist } from '../chunk-EHKTHLXK.js';
|
|
@@ -28,7 +28,7 @@ async function profileLoader(_ctx) {
|
|
|
28
28
|
|
|
29
29
|
// src/routes/account/profile/index.tsx
|
|
30
30
|
var LazyProfilePage = lazy(
|
|
31
|
-
() => import('../ProfilePage-
|
|
31
|
+
() => import('../ProfilePage-FPIAFDTI.js').then((m) => ({ default: m.ProfilePage }))
|
|
32
32
|
);
|
|
33
33
|
var ProfilePage = LazyProfilePage;
|
|
34
34
|
var Profile = {
|
|
@@ -69,7 +69,7 @@ async function wishlistLoader(ctx) {
|
|
|
69
69
|
|
|
70
70
|
// src/routes/account/wishlist/index.tsx
|
|
71
71
|
var LazyWishlistPage = lazy(
|
|
72
|
-
() => import('../WishlistPage-
|
|
72
|
+
() => import('../WishlistPage-NIER4BVZ.js').then((m) => ({ default: m.WishlistPage }))
|
|
73
73
|
);
|
|
74
74
|
var WishlistPage = LazyWishlistPage;
|
|
75
75
|
var Wishlist = {
|
|
@@ -110,7 +110,7 @@ async function walletLoader(ctx) {
|
|
|
110
110
|
}
|
|
111
111
|
|
|
112
112
|
// src/routes/account/wallet/index.tsx
|
|
113
|
-
var LazyWalletPage = lazy(() => import('../WalletPage-
|
|
113
|
+
var LazyWalletPage = lazy(() => import('../WalletPage-NUUUQVXY.js').then((m) => ({ default: m.WalletPage })));
|
|
114
114
|
var WalletPage = LazyWalletPage;
|
|
115
115
|
var Wallet = {
|
|
116
116
|
id: RouteId.CUSTOMER_WALLET,
|
|
@@ -145,7 +145,7 @@ async function notificationsLoader(_ctx) {
|
|
|
145
145
|
|
|
146
146
|
// src/routes/account/notifications/index.tsx
|
|
147
147
|
var LazyNotificationsPage = lazy(
|
|
148
|
-
() => import('../NotificationsPage-
|
|
148
|
+
() => import('../NotificationsPage-WKMG3TLY.js').then((m) => ({ default: m.NotificationsPage }))
|
|
149
149
|
);
|
|
150
150
|
var NotificationsPage = LazyNotificationsPage;
|
|
151
151
|
var Notifications = {
|
|
@@ -177,7 +177,7 @@ async function settingsLoader(_ctx) {
|
|
|
177
177
|
|
|
178
178
|
// src/routes/account/settings/index.tsx
|
|
179
179
|
var LazySettingsPage = lazy(
|
|
180
|
-
() => import('../SettingsPage-
|
|
180
|
+
() => import('../SettingsPage-FYGQ6IHK.js').then((m) => ({ default: m.SettingsPage }))
|
|
181
181
|
);
|
|
182
182
|
var SettingsPage = LazySettingsPage;
|
|
183
183
|
var Settings = {
|
package/dist/routes/blog.js
CHANGED
|
@@ -133,18 +133,18 @@ async function blogTagLoader({
|
|
|
133
133
|
}
|
|
134
134
|
|
|
135
135
|
// src/routes/blog/index.tsx
|
|
136
|
-
var LazyBlogPage = lazy(() => import('../BlogPage-
|
|
136
|
+
var LazyBlogPage = lazy(() => import('../BlogPage-GQIQ2UVI.js').then((m) => ({ default: m.BlogPage })));
|
|
137
137
|
var LazyBlogSinglePage = lazy(
|
|
138
|
-
() => import('../BlogSinglePage-
|
|
138
|
+
() => import('../BlogSinglePage-TL6EDZVO.js').then((m) => ({ default: m.BlogSinglePage }))
|
|
139
139
|
);
|
|
140
140
|
var LazyBlogAuthorPage = lazy(
|
|
141
|
-
() => import('../BlogAuthorPage-
|
|
141
|
+
() => import('../BlogAuthorPage-WAZLTHW5.js').then((m) => ({ default: m.BlogAuthorPage }))
|
|
142
142
|
);
|
|
143
143
|
var LazyBlogCategoryPage = lazy(
|
|
144
|
-
() => import('../BlogCategoryPage-
|
|
144
|
+
() => import('../BlogCategoryPage-PEJ5R2FN.js').then((m) => ({ default: m.BlogCategoryPage }))
|
|
145
145
|
);
|
|
146
146
|
var LazyBlogTagPage = lazy(
|
|
147
|
-
() => import('../BlogTagPage-
|
|
147
|
+
() => import('../BlogTagPage-3LB75ADG.js').then((m) => ({ default: m.BlogTagPage }))
|
|
148
148
|
);
|
|
149
149
|
var BlogPage = LazyBlogPage;
|
|
150
150
|
var BlogSinglePage = LazyBlogSinglePage;
|
package/dist/routes/brands.js
CHANGED
|
@@ -33,7 +33,7 @@ async function brandsLoader() {
|
|
|
33
33
|
}
|
|
34
34
|
|
|
35
35
|
// src/routes/brands/index.tsx
|
|
36
|
-
var LazyBrandsPage = lazy(() => import('../BrandsPage-
|
|
36
|
+
var LazyBrandsPage = lazy(() => import('../BrandsPage-7KMZORPD.js').then((m) => ({ default: m.BrandsPage })));
|
|
37
37
|
var BrandsPage = LazyBrandsPage;
|
|
38
38
|
async function brandsLoaderWithExtend(_ctx, extend) {
|
|
39
39
|
const data = await brandsLoader();
|
package/dist/routes/cart.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { cart } from '../chunk-W6HFR7YA.js';
|
|
2
2
|
import { loyalty } from '../chunk-RINZVHVS.js';
|
|
3
3
|
import { CartSkeleton } from '../chunk-N7CCSGZF.js';
|
|
4
|
-
import '../chunk-
|
|
4
|
+
import '../chunk-SLQY34WM.js';
|
|
5
5
|
import '../chunk-KCKHA75V.js';
|
|
6
6
|
import { buildHreflangAlternates } from '../chunk-TZ3E5BN4.js';
|
|
7
|
-
import '../chunk-
|
|
7
|
+
import '../chunk-L6HMZFS5.js';
|
|
8
8
|
import '../chunk-ZNOJPVX3.js';
|
|
9
|
-
import { LazySeoCartWidget, LazyCartItem, LazyCartSummary } from '../chunk-
|
|
10
|
-
import '../chunk-
|
|
9
|
+
import { LazySeoCartWidget, LazyCartItem, LazyCartSummary } from '../chunk-TF7G5E7S.js';
|
|
10
|
+
import '../chunk-FPDU7BNG.js';
|
|
11
11
|
import '../chunk-G7ALL4BC.js';
|
|
12
|
-
import '../chunk-
|
|
13
|
-
import '../chunk-
|
|
12
|
+
import '../chunk-DLDWJMHR.js';
|
|
13
|
+
import '../chunk-ASHDLBC6.js';
|
|
14
14
|
import '../chunk-JKIRRMBU.js';
|
|
15
15
|
import '../chunk-2JV6WZ6O.js';
|
|
16
16
|
import '../chunk-VVZNW5CB.js';
|
|
@@ -37,7 +37,7 @@ import '../chunk-YMVLYYLU.js';
|
|
|
37
37
|
import '../chunk-RJPPO3ET.js';
|
|
38
38
|
import { HookSlot } from '../chunk-Q7VWURUR.js';
|
|
39
39
|
import '../chunk-GU2KUQVD.js';
|
|
40
|
-
import { LazyBreadcrumb, LazyNoContent } from '../chunk-
|
|
40
|
+
import { LazyBreadcrumb, LazyNoContent } from '../chunk-WYGTDCO5.js';
|
|
41
41
|
import '../chunk-AXW67SY7.js';
|
|
42
42
|
import '../chunk-BYMOPN2S.js';
|
|
43
43
|
import '../chunk-6BZ5TKEV.js';
|
package/dist/routes/home.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
export { Home, HomeSkeleton, homeLoader } from '../chunk-
|
|
1
|
+
export { Home, HomeSkeleton, homeLoader } from '../chunk-SLQY34WM.js';
|
|
2
2
|
import '../chunk-KCKHA75V.js';
|
|
3
3
|
import '../chunk-TZ3E5BN4.js';
|
|
4
|
-
export { DefaultHomeComponents, registerHomeComponentConfig, registerHomeComponents } from '../chunk-
|
|
4
|
+
export { DefaultHomeComponents, registerHomeComponentConfig, registerHomeComponents } from '../chunk-L6HMZFS5.js';
|
|
5
5
|
import '../chunk-ZNOJPVX3.js';
|
|
6
|
-
import '../chunk-
|
|
6
|
+
import '../chunk-FPDU7BNG.js';
|
|
7
7
|
import '../chunk-G7ALL4BC.js';
|
|
8
|
-
import '../chunk-
|
|
9
|
-
import '../chunk-
|
|
8
|
+
import '../chunk-DLDWJMHR.js';
|
|
9
|
+
import '../chunk-ASHDLBC6.js';
|
|
10
10
|
import '../chunk-JKIRRMBU.js';
|
|
11
11
|
import '../chunk-2JV6WZ6O.js';
|
|
12
12
|
import '../chunk-VVZNW5CB.js';
|
|
@@ -33,7 +33,7 @@ import '../chunk-YMVLYYLU.js';
|
|
|
33
33
|
import '../chunk-RJPPO3ET.js';
|
|
34
34
|
import '../chunk-Q7VWURUR.js';
|
|
35
35
|
import '../chunk-GU2KUQVD.js';
|
|
36
|
-
import '../chunk-
|
|
36
|
+
import '../chunk-WYGTDCO5.js';
|
|
37
37
|
import '../chunk-AXW67SY7.js';
|
|
38
38
|
import '../chunk-BYMOPN2S.js';
|
|
39
39
|
import '../chunk-6BZ5TKEV.js';
|
package/dist/routes/loyalty.js
CHANGED
|
@@ -18,7 +18,7 @@ async function loyaltyLoader() {
|
|
|
18
18
|
|
|
19
19
|
// src/routes/loyalty/index.tsx
|
|
20
20
|
var LazyLoyaltyPage = lazy(
|
|
21
|
-
() => import('../LoyaltyPage-
|
|
21
|
+
() => import('../LoyaltyPage-FUCOBX43.js').then((m) => ({ default: m.LoyaltyPage }))
|
|
22
22
|
);
|
|
23
23
|
var LoyaltyPage = LazyLoyaltyPage;
|
|
24
24
|
async function loader(_ctx, extend) {
|
package/dist/routes/page.js
CHANGED
|
@@ -27,7 +27,7 @@ async function pageSingleLoader({ params }) {
|
|
|
27
27
|
}
|
|
28
28
|
|
|
29
29
|
// src/routes/page/index.tsx
|
|
30
|
-
var LazyPageSingle = lazy(() => import('../PageSingle-
|
|
30
|
+
var LazyPageSingle = lazy(() => import('../PageSingle-ICEZ4G6Q.js').then((m) => ({ default: m.PageSingle })));
|
|
31
31
|
var PageSingleLazy = LazyPageSingle;
|
|
32
32
|
async function loader(ctx, extend) {
|
|
33
33
|
const data = await pageSingleLoader({ params: ctx.params });
|
|
@@ -2,13 +2,13 @@ import { sortOptions } from '../chunk-6Z4MOC4S.js';
|
|
|
2
2
|
import { category } from '../chunk-IWMGDYNN.js';
|
|
3
3
|
import { brand } from '../chunk-7UZEHQEQ.js';
|
|
4
4
|
import { buildHreflangAlternates } from '../chunk-TZ3E5BN4.js';
|
|
5
|
-
import { LazyTestimonials } from '../chunk-
|
|
5
|
+
import { LazyTestimonials } from '../chunk-L6HMZFS5.js';
|
|
6
6
|
import { product } from '../chunk-ZNOJPVX3.js';
|
|
7
7
|
import { Drawer } from '../chunk-6TKIUG5C.js';
|
|
8
|
-
import { ProductCard } from '../chunk-
|
|
8
|
+
import { ProductCard } from '../chunk-FPDU7BNG.js';
|
|
9
9
|
import '../chunk-G7ALL4BC.js';
|
|
10
|
-
import { useStore } from '../chunk-
|
|
11
|
-
import '../chunk-
|
|
10
|
+
import { useStore } from '../chunk-DLDWJMHR.js';
|
|
11
|
+
import '../chunk-ASHDLBC6.js';
|
|
12
12
|
import '../chunk-JKIRRMBU.js';
|
|
13
13
|
import '../chunk-2JV6WZ6O.js';
|
|
14
14
|
import '../chunk-VVZNW5CB.js';
|
|
@@ -35,7 +35,7 @@ import '../chunk-YMVLYYLU.js';
|
|
|
35
35
|
import '../chunk-RJPPO3ET.js';
|
|
36
36
|
import { HookSlot } from '../chunk-Q7VWURUR.js';
|
|
37
37
|
import '../chunk-GU2KUQVD.js';
|
|
38
|
-
import { LazyBreadcrumb, Image, LazyNoContent, ProductCardSkeleton, LazyRenderWhenVisible } from '../chunk-
|
|
38
|
+
import { LazyBreadcrumb, Image, LazyNoContent, ProductCardSkeleton, LazyRenderWhenVisible } from '../chunk-WYGTDCO5.js';
|
|
39
39
|
import '../chunk-AXW67SY7.js';
|
|
40
40
|
import '../chunk-BYMOPN2S.js';
|
|
41
41
|
import '../chunk-6BZ5TKEV.js';
|
package/dist/routes/product.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { buildHreflangAlternates } from '../chunk-TZ3E5BN4.js';
|
|
2
|
-
import { ProductsSlider, LazyTestimonials } from '../chunk-
|
|
2
|
+
import { ProductsSlider, LazyTestimonials } from '../chunk-L6HMZFS5.js';
|
|
3
3
|
import { product } from '../chunk-ZNOJPVX3.js';
|
|
4
|
-
import { ProductGallery, LazyProductDetails, LazyAddToCartForm } from '../chunk-
|
|
4
|
+
import { ProductGallery, LazyProductDetails, LazyAddToCartForm } from '../chunk-FPDU7BNG.js';
|
|
5
5
|
import '../chunk-G7ALL4BC.js';
|
|
6
|
-
import '../chunk-
|
|
7
|
-
import '../chunk-
|
|
6
|
+
import '../chunk-DLDWJMHR.js';
|
|
7
|
+
import '../chunk-ASHDLBC6.js';
|
|
8
8
|
import '../chunk-JKIRRMBU.js';
|
|
9
9
|
import '../chunk-2JV6WZ6O.js';
|
|
10
10
|
import '../chunk-VVZNW5CB.js';
|
|
@@ -31,7 +31,7 @@ import { useComments } from '../chunk-YMVLYYLU.js';
|
|
|
31
31
|
import '../chunk-RJPPO3ET.js';
|
|
32
32
|
import { HookSlot } from '../chunk-Q7VWURUR.js';
|
|
33
33
|
import '../chunk-GU2KUQVD.js';
|
|
34
|
-
import { LazyBreadcrumb, LazyRenderWhenVisible } from '../chunk-
|
|
34
|
+
import { LazyBreadcrumb, LazyRenderWhenVisible } from '../chunk-WYGTDCO5.js';
|
|
35
35
|
import '../chunk-AXW67SY7.js';
|
|
36
36
|
import '../chunk-BYMOPN2S.js';
|
|
37
37
|
import '../chunk-6BZ5TKEV.js';
|
|
@@ -18,7 +18,7 @@ async function testimonialsLoader(_ctx) {
|
|
|
18
18
|
|
|
19
19
|
// src/routes/testimonials/index.tsx
|
|
20
20
|
var LazyTestimonialsPage = lazy(
|
|
21
|
-
() => import('../TestimonialsPage-
|
|
21
|
+
() => import('../TestimonialsPage-X3ZYAD6L.js').then((m) => ({ default: m.TestimonialsPage }))
|
|
22
22
|
);
|
|
23
23
|
var TestimonialsPage = LazyTestimonialsPage;
|
|
24
24
|
async function loader(ctx, extend) {
|
package/dist/routes/thank-you.js
CHANGED
|
@@ -38,7 +38,7 @@ async function thankYouLoader({
|
|
|
38
38
|
|
|
39
39
|
// src/routes/thank-you/index.tsx
|
|
40
40
|
var LazyThankYouPage = lazy(
|
|
41
|
-
() => import('../ThankYouPage-
|
|
41
|
+
() => import('../ThankYouPage-CDB7NS4Y.js').then((m) => ({ default: m.ThankYouPage }))
|
|
42
42
|
);
|
|
43
43
|
var ThankYouPage = LazyThankYouPage;
|
|
44
44
|
async function loader(ctx, extend) {
|
package/dist/skeleton.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
export { BlogSkeleton, BreadcrumbSkeleton, CartSkeleton, CustomerLayoutSkeleton, CustomerPageSkeleton, PageSkeleton, ProductCardSkeleton, ProductDetailSkeleton, ProductGridSkeleton, SkeletonPulse } from './chunk-N7CCSGZF.js';
|
|
2
|
-
export { HomeSkeleton } from './chunk-
|
|
2
|
+
export { HomeSkeleton } from './chunk-SLQY34WM.js';
|
|
3
3
|
import './chunk-KCKHA75V.js';
|
|
4
4
|
import './chunk-TZ3E5BN4.js';
|
|
5
|
-
import './chunk-
|
|
5
|
+
import './chunk-L6HMZFS5.js';
|
|
6
6
|
import './chunk-ZNOJPVX3.js';
|
|
7
|
-
import './chunk-
|
|
7
|
+
import './chunk-FPDU7BNG.js';
|
|
8
8
|
import './chunk-G7ALL4BC.js';
|
|
9
|
-
import './chunk-
|
|
10
|
-
import './chunk-
|
|
9
|
+
import './chunk-DLDWJMHR.js';
|
|
10
|
+
import './chunk-ASHDLBC6.js';
|
|
11
11
|
import './chunk-JKIRRMBU.js';
|
|
12
12
|
import './chunk-2JV6WZ6O.js';
|
|
13
13
|
import './chunk-VVZNW5CB.js';
|
|
@@ -34,7 +34,7 @@ import './chunk-YMVLYYLU.js';
|
|
|
34
34
|
import './chunk-RJPPO3ET.js';
|
|
35
35
|
import './chunk-Q7VWURUR.js';
|
|
36
36
|
import './chunk-GU2KUQVD.js';
|
|
37
|
-
import './chunk-
|
|
37
|
+
import './chunk-WYGTDCO5.js';
|
|
38
38
|
import './chunk-AXW67SY7.js';
|
|
39
39
|
import './chunk-BYMOPN2S.js';
|
|
40
40
|
import './chunk-6BZ5TKEV.js';
|
package/dist/tanstack.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { rootHead } from './chunk-
|
|
2
|
-
export { tanstackDocumentAdapter as attrs, createRouter, createTwilightRootRoute, useTanstackDocumentAttrs as useAttrs } from './chunk-
|
|
1
|
+
import { rootHead } from './chunk-X5UGYSEQ.js';
|
|
2
|
+
export { tanstackDocumentAdapter as attrs, createRouter, createTwilightRootRoute, useTanstackDocumentAttrs as useAttrs } from './chunk-X5UGYSEQ.js';
|
|
3
3
|
export { TanStackLinkAdapter, TanStackNavigationProvider, createTanStackLinkAdapter } from './chunk-HWVEOUG4.js';
|
|
4
4
|
import './chunk-Z4Y55HWX.js';
|
|
5
5
|
export { tanstackHeadAdapter as head, withHead } from './chunk-6Q5BFHFA.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tanstack.adapter.d.ts","sourceRoot":"","sources":["../../../src/vite/adapters/tanstack.adapter.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiEG;
|
|
1
|
+
{"version":3,"file":"tanstack.adapter.d.ts","sourceRoot":"","sources":["../../../src/vite/adapters/tanstack.adapter.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiEG;AASH,OAAO,KAAK,EACV,gBAAgB,EAGhB,aAAa,EACd,MAAM,UAAU,CAAC;AAkBlB,eAAO,MAAM,mBAAmB,EAAE,aAAa,EA8L9C,CAAC;AAuvBF,wBAAgB,uBAAuB,CACrC,MAAM,EAAE,aAAa,EAAE,EACvB,aAAa,EAAE,MAAM,EACrB,SAAS,EAAE,MAAM,GAChB,OAAO,CAwCT;AAED,eAAO,MAAM,eAAe,EAAE,gBA6L7B,CAAC"}
|
package/dist/vite/index.js
CHANGED
|
@@ -6,7 +6,7 @@ import '../chunk-KIPZQN3Y.js';
|
|
|
6
6
|
import '../chunk-T72DAX7R.js';
|
|
7
7
|
import '../chunk-DGUM43GV.js';
|
|
8
8
|
import { readFile, readdir } from 'fs/promises';
|
|
9
|
-
import { dirname, relative, resolve,
|
|
9
|
+
import { dirname, join, relative, resolve, basename, sep } from 'path';
|
|
10
10
|
import { parseSync } from 'oxc-parser';
|
|
11
11
|
import { existsSync, mkdirSync, writeFileSync, readFileSync, statSync } from 'fs';
|
|
12
12
|
import { createHash } from 'crypto';
|
|
@@ -1321,6 +1321,54 @@ function packageAliasesPlugin() {
|
|
|
1321
1321
|
}
|
|
1322
1322
|
};
|
|
1323
1323
|
}
|
|
1324
|
+
var THEME_CONFIG_NAMES = ["wrangler.jsonc", "wrangler.json", "wrangler.toml"];
|
|
1325
|
+
var DEFAULT_COMPATIBILITY_DATE = "2026-03-03";
|
|
1326
|
+
var DEFAULT_COMPATIBILITY_FLAGS = ["nodejs_compat"];
|
|
1327
|
+
var SERVER_ENTRY = "@tanstack/react-start/server-entry";
|
|
1328
|
+
var GENERATED_DIR = join("node_modules", ".twilight");
|
|
1329
|
+
var GENERATED_NAME = "wrangler.json";
|
|
1330
|
+
function findThemeWorkerConfig(projectRoot) {
|
|
1331
|
+
for (const name of THEME_CONFIG_NAMES) {
|
|
1332
|
+
const candidate = join(projectRoot, name);
|
|
1333
|
+
if (existsSync(candidate)) return candidate;
|
|
1334
|
+
}
|
|
1335
|
+
return void 0;
|
|
1336
|
+
}
|
|
1337
|
+
function deriveWorkerName(projectRoot) {
|
|
1338
|
+
let base = "";
|
|
1339
|
+
try {
|
|
1340
|
+
const pkg = JSON.parse(readFileSync(join(projectRoot, "package.json"), "utf-8"));
|
|
1341
|
+
if (typeof pkg.name === "string") base = pkg.name.split("/").pop() ?? "";
|
|
1342
|
+
} catch {
|
|
1343
|
+
}
|
|
1344
|
+
const slug = base.toLowerCase().replace(/[^a-z0-9-]+/g, "-").replace(/^-+|-+$/g, "");
|
|
1345
|
+
return `${slug || "twilight-theme"}-dev`;
|
|
1346
|
+
}
|
|
1347
|
+
function buildWorkerConfig(projectRoot, options = {}) {
|
|
1348
|
+
return {
|
|
1349
|
+
name: options.name ?? deriveWorkerName(projectRoot),
|
|
1350
|
+
compatibility_date: options.compatibilityDate ?? DEFAULT_COMPATIBILITY_DATE,
|
|
1351
|
+
compatibility_flags: options.compatibilityFlags ?? DEFAULT_COMPATIBILITY_FLAGS,
|
|
1352
|
+
main: SERVER_ENTRY
|
|
1353
|
+
};
|
|
1354
|
+
}
|
|
1355
|
+
function writeGeneratedWorkerConfig(projectRoot, options = {}) {
|
|
1356
|
+
const filePath = join(projectRoot, GENERATED_DIR, GENERATED_NAME);
|
|
1357
|
+
const contents = `${JSON.stringify(buildWorkerConfig(projectRoot, options), null, 2)}
|
|
1358
|
+
`;
|
|
1359
|
+
mkdirSync(join(projectRoot, GENERATED_DIR), { recursive: true });
|
|
1360
|
+
let current;
|
|
1361
|
+
try {
|
|
1362
|
+
current = readFileSync(filePath, "utf-8");
|
|
1363
|
+
} catch {
|
|
1364
|
+
}
|
|
1365
|
+
if (current !== contents) writeFileSync(filePath, contents);
|
|
1366
|
+
return filePath;
|
|
1367
|
+
}
|
|
1368
|
+
function resolveWorkerConfigPath(projectRoot, options = {}) {
|
|
1369
|
+
if (findThemeWorkerConfig(projectRoot)) return void 0;
|
|
1370
|
+
return writeGeneratedWorkerConfig(projectRoot, options);
|
|
1371
|
+
}
|
|
1324
1372
|
|
|
1325
1373
|
// src/tanstack/templates/locale-wrapper.ts
|
|
1326
1374
|
function getLocaleWrapperTemplate(baseRoutesImport) {
|
|
@@ -2190,6 +2238,19 @@ function resolveProjectPkg(projectRoot, pkg, subpath) {
|
|
|
2190
2238
|
throw new Error(`[twilight-react] Cannot resolve ${pkg}${subpath ? `/${subpath}` : ""}`);
|
|
2191
2239
|
return join(projectRoot, "node_modules", pkg, rel);
|
|
2192
2240
|
}
|
|
2241
|
+
async function createWorkerPlugins(projectRoot, worker) {
|
|
2242
|
+
if (worker === false) return [];
|
|
2243
|
+
const { cloudflare } = await import('@cloudflare/vite-plugin');
|
|
2244
|
+
const configPath = resolveWorkerConfigPath(projectRoot, worker === true ? {} : worker);
|
|
2245
|
+
return [
|
|
2246
|
+
cloudflare({
|
|
2247
|
+
viteEnvironment: { name: "ssr" },
|
|
2248
|
+
// Omitted when the theme ships its own config, which the plugin then
|
|
2249
|
+
// discovers exactly as it did before the engine took this over.
|
|
2250
|
+
...configPath ? { configPath } : {}
|
|
2251
|
+
})
|
|
2252
|
+
];
|
|
2253
|
+
}
|
|
2193
2254
|
function buildVirtualRouteConfig(routes, rootRouteFile, routesDir) {
|
|
2194
2255
|
try {
|
|
2195
2256
|
const projectRequire = createRequire(resolve(process.cwd(), "package.json"));
|
|
@@ -2300,7 +2361,8 @@ var tanstackAdapter = {
|
|
|
2300
2361
|
srcDirectory = "app",
|
|
2301
2362
|
baseRoutesImport = "@salla.sa/twilight-theme-engine/routes",
|
|
2302
2363
|
localesDir,
|
|
2303
|
-
twilightJson = "twilight.json"
|
|
2364
|
+
twilightJson = "twilight.json",
|
|
2365
|
+
worker = true
|
|
2304
2366
|
} = options;
|
|
2305
2367
|
const projectRoot = process.cwd();
|
|
2306
2368
|
const allRoutes = tanstackAdapter.generateRouteFiles({ projectRoot, baseRoutesImport });
|
|
@@ -2366,6 +2428,7 @@ var tanstackAdapter = {
|
|
|
2366
2428
|
const { tanstackStart } = await import(pathToFileURL(resolveProjectPkg(projectRoot, "@tanstack/react-start", "plugin/vite")).href);
|
|
2367
2429
|
const reactMod = await import(pathToFileURL(resolveProjectPkg(projectRoot, "@vitejs/plugin-react")).href);
|
|
2368
2430
|
return [
|
|
2431
|
+
...await createWorkerPlugins(projectRoot, worker),
|
|
2369
2432
|
tanstackStart({ srcDirectory, router: { virtualRouteConfig } }),
|
|
2370
2433
|
reactMod.default(),
|
|
2371
2434
|
packageAliasesPlugin(),
|