orionplace-svelte 0.7.8 → 0.8.0

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.
Files changed (575) hide show
  1. package/README.md +7 -637
  2. package/bin/orionplace-svelte.mjs +10 -177
  3. package/package.json +7 -59
  4. package/LICENSE +0 -21
  5. package/runtime/app.d.mts +0 -10
  6. package/runtime/app.mjs +0 -94
  7. package/runtime/marketplace.d.mts +0 -129
  8. package/runtime/marketplace.mjs +0 -905
  9. package/src/install.mjs +0 -363
  10. package/src/project-readme.mjs +0 -435
  11. package/src/service.mjs +0 -186
  12. package/src/setup.mjs +0 -271
  13. package/src/sitemap.mjs +0 -93
  14. package/src/update.mjs +0 -36
  15. package/src/validation.mjs +0 -27
  16. package/templates/.vscode/settings.json +0 -5
  17. package/templates/orionplace/COMPONENT-DOWNLOAD.md +0 -3
  18. package/templates/orionplace/COMPONENTS.md +0 -172
  19. package/templates/src/app.d.ts +0 -20
  20. package/templates/src/app.html +0 -17
  21. package/templates/src/hooks.server.ts +0 -56
  22. package/templates/src/lib/assets/css/orionplace-tokens.css +0 -21
  23. package/templates/src/lib/assets/css/orionplace.css +0 -28
  24. package/templates/src/lib/components/orionplace/account/AccountActivity.README.md +0 -10
  25. package/templates/src/lib/components/orionplace/account/AccountActivity.svelte +0 -75
  26. package/templates/src/lib/components/orionplace/account/AccountPromocodes.README.md +0 -14
  27. package/templates/src/lib/components/orionplace/account/AccountPromocodes.svelte +0 -296
  28. package/templates/src/lib/components/orionplace/account/AccountSection.README.md +0 -15
  29. package/templates/src/lib/components/orionplace/account/AccountSection.svelte +0 -163
  30. package/templates/src/lib/components/orionplace/account/ProfileAvatar.README.md +0 -24
  31. package/templates/src/lib/components/orionplace/account/ProfileAvatar.svelte +0 -168
  32. package/templates/src/lib/components/orionplace/account/ProfileDeleteAccount.README.md +0 -25
  33. package/templates/src/lib/components/orionplace/account/ProfileDeleteAccount.svelte +0 -201
  34. package/templates/src/lib/components/orionplace/account/ProfileDetailsForm.README.md +0 -25
  35. package/templates/src/lib/components/orionplace/account/ProfileDetailsForm.svelte +0 -223
  36. package/templates/src/lib/components/orionplace/account/ProfileEmailSettings.README.md +0 -24
  37. package/templates/src/lib/components/orionplace/account/ProfileEmailSettings.svelte +0 -297
  38. package/templates/src/lib/components/orionplace/account/ProfilePasswordForm.README.md +0 -24
  39. package/templates/src/lib/components/orionplace/account/ProfilePasswordForm.svelte +0 -238
  40. package/templates/src/lib/components/orionplace/account/ProfileSignIn.README.md +0 -29
  41. package/templates/src/lib/components/orionplace/account/ProfileSignIn.svelte +0 -511
  42. package/templates/src/lib/components/orionplace/account/SignInHistory.README.md +0 -10
  43. package/templates/src/lib/components/orionplace/account/SignInHistory.svelte +0 -238
  44. package/templates/src/lib/components/orionplace/account/StorefrontLogout.README.md +0 -26
  45. package/templates/src/lib/components/orionplace/account/StorefrontLogout.svelte +0 -157
  46. package/templates/src/lib/components/orionplace/account/StorefrontProfile.README.md +0 -25
  47. package/templates/src/lib/components/orionplace/account/StorefrontProfile.svelte +0 -219
  48. package/templates/src/lib/components/orionplace/account/account.css +0 -1047
  49. package/templates/src/lib/components/orionplace/account/profile.css +0 -697
  50. package/templates/src/lib/components/orionplace/address/AddressForm.README.md +0 -26
  51. package/templates/src/lib/components/orionplace/address/AddressForm.svelte +0 -620
  52. package/templates/src/lib/components/orionplace/address/StorefrontAddresses.README.md +0 -13
  53. package/templates/src/lib/components/orionplace/address/StorefrontAddresses.svelte +0 -488
  54. package/templates/src/lib/components/orionplace/banners/MainBanner.README.md +0 -22
  55. package/templates/src/lib/components/orionplace/banners/MainBanner.svelte +0 -196
  56. package/templates/src/lib/components/orionplace/blog/BlogArticle.README.md +0 -45
  57. package/templates/src/lib/components/orionplace/blog/BlogArticle.svelte +0 -1192
  58. package/templates/src/lib/components/orionplace/blog/BlogCommentForm.README.md +0 -28
  59. package/templates/src/lib/components/orionplace/blog/BlogCommentForm.svelte +0 -181
  60. package/templates/src/lib/components/orionplace/blog/BlogComments.README.md +0 -14
  61. package/templates/src/lib/components/orionplace/blog/BlogComments.svelte +0 -416
  62. package/templates/src/lib/components/orionplace/blog/BlogPostCard.README.md +0 -20
  63. package/templates/src/lib/components/orionplace/blog/BlogPostCard.svelte +0 -347
  64. package/templates/src/lib/components/orionplace/blog/BlogPostGroup.README.md +0 -23
  65. package/templates/src/lib/components/orionplace/blog/BlogPostGroup.svelte +0 -138
  66. package/templates/src/lib/components/orionplace/blog/StorefrontJournal.README.md +0 -30
  67. package/templates/src/lib/components/orionplace/blog/StorefrontJournal.svelte +0 -720
  68. package/templates/src/lib/components/orionplace/branding/BrandLogos.README.md +0 -13
  69. package/templates/src/lib/components/orionplace/branding/BrandLogos.svelte +0 -38
  70. package/templates/src/lib/components/orionplace/cart/CartCheckoutDetails.README.md +0 -16
  71. package/templates/src/lib/components/orionplace/cart/CartCheckoutDetails.svelte +0 -415
  72. package/templates/src/lib/components/orionplace/cart/CartDeliverySelector.README.md +0 -70
  73. package/templates/src/lib/components/orionplace/cart/CartDeliverySelector.svelte +0 -772
  74. package/templates/src/lib/components/orionplace/cart/CartItemOptions.README.md +0 -74
  75. package/templates/src/lib/components/orionplace/cart/CartItemOptions.svelte +0 -725
  76. package/templates/src/lib/components/orionplace/cart/CartLineItem.README.md +0 -54
  77. package/templates/src/lib/components/orionplace/cart/CartLineItem.svelte +0 -304
  78. package/templates/src/lib/components/orionplace/cart/CartPreview.README.md +0 -36
  79. package/templates/src/lib/components/orionplace/cart/CartPreview.svelte +0 -318
  80. package/templates/src/lib/components/orionplace/cart/DeliveryMap.README.md +0 -26
  81. package/templates/src/lib/components/orionplace/cart/DeliveryMap.svelte +0 -184
  82. package/templates/src/lib/components/orionplace/cart/StorefrontCart.README.md +0 -37
  83. package/templates/src/lib/components/orionplace/cart/StorefrontCart.svelte +0 -759
  84. package/templates/src/lib/components/orionplace/catalog/CatalogHeader.README.md +0 -49
  85. package/templates/src/lib/components/orionplace/catalog/CatalogHeader.svelte +0 -853
  86. package/templates/src/lib/components/orionplace/catalog/CatalogRepresentative.README.md +0 -37
  87. package/templates/src/lib/components/orionplace/catalog/CatalogRepresentative.svelte +0 -135
  88. package/templates/src/lib/components/orionplace/catalog/StorefrontCatalog.README.md +0 -23
  89. package/templates/src/lib/components/orionplace/catalog/StorefrontCatalog.svelte +0 -198
  90. package/templates/src/lib/components/orionplace/categories/CategoryGroup.README.md +0 -25
  91. package/templates/src/lib/components/orionplace/categories/CategoryGroup.svelte +0 -149
  92. package/templates/src/lib/components/orionplace/categories/StorefrontCategory.README.md +0 -53
  93. package/templates/src/lib/components/orionplace/categories/StorefrontCategory.svelte +0 -448
  94. package/templates/src/lib/components/orionplace/contact/AboutPage.README.md +0 -11
  95. package/templates/src/lib/components/orionplace/contact/AboutPage.svelte +0 -422
  96. package/templates/src/lib/components/orionplace/contact/ContactForm.README.md +0 -14
  97. package/templates/src/lib/components/orionplace/contact/ContactForm.svelte +0 -326
  98. package/templates/src/lib/components/orionplace/contact/EmailUnsubscribe.README.md +0 -17
  99. package/templates/src/lib/components/orionplace/contact/EmailUnsubscribe.svelte +0 -117
  100. package/templates/src/lib/components/orionplace/contact/StorefrontContact.README.md +0 -10
  101. package/templates/src/lib/components/orionplace/contact/StorefrontContact.svelte +0 -92
  102. package/templates/src/lib/components/orionplace/currencies/MainCurrencySwitcher.README.md +0 -20
  103. package/templates/src/lib/components/orionplace/currencies/MainCurrencySwitcher.svelte +0 -87
  104. package/templates/src/lib/components/orionplace/events/EventEnrollmentDialog.README.md +0 -24
  105. package/templates/src/lib/components/orionplace/events/EventEnrollmentDialog.svelte +0 -340
  106. package/templates/src/lib/components/orionplace/events/EventsBlock.README.md +0 -21
  107. package/templates/src/lib/components/orionplace/events/EventsBlock.svelte +0 -171
  108. package/templates/src/lib/components/orionplace/legal/CookieNotice.README.md +0 -23
  109. package/templates/src/lib/components/orionplace/legal/CookieNotice.svelte +0 -91
  110. package/templates/src/lib/components/orionplace/legal/StorefrontPrivacy.README.md +0 -12
  111. package/templates/src/lib/components/orionplace/legal/StorefrontPrivacy.svelte +0 -117
  112. package/templates/src/lib/components/orionplace/locale/MainLanguageSwitcher.README.md +0 -20
  113. package/templates/src/lib/components/orionplace/locale/MainLanguageSwitcher.svelte +0 -543
  114. package/templates/src/lib/components/orionplace/manufacturers/ManufacturerIndex.README.md +0 -30
  115. package/templates/src/lib/components/orionplace/manufacturers/ManufacturerIndex.svelte +0 -546
  116. package/templates/src/lib/components/orionplace/manufacturers/StorefrontManufacturers.README.md +0 -21
  117. package/templates/src/lib/components/orionplace/manufacturers/StorefrontManufacturers.svelte +0 -296
  118. package/templates/src/lib/components/orionplace/orders/OrderDetails.README.md +0 -25
  119. package/templates/src/lib/components/orionplace/orders/OrderDetails.svelte +0 -1329
  120. package/templates/src/lib/components/orionplace/orders/OrderPaymentForm.README.md +0 -54
  121. package/templates/src/lib/components/orionplace/orders/OrderPaymentForm.svelte +0 -111
  122. package/templates/src/lib/components/orionplace/orders/StorefrontOrders.README.md +0 -16
  123. package/templates/src/lib/components/orionplace/orders/StorefrontOrders.svelte +0 -970
  124. package/templates/src/lib/components/orionplace/orders/orders.css +0 -612
  125. package/templates/src/lib/components/orionplace/payments/PaymentPanel.README.md +0 -70
  126. package/templates/src/lib/components/orionplace/payments/PaymentPanel.svelte +0 -140
  127. package/templates/src/lib/components/orionplace/products/HoverImageViewer.README.md +0 -21
  128. package/templates/src/lib/components/orionplace/products/HoverImageViewer.svelte +0 -232
  129. package/templates/src/lib/components/orionplace/products/ProductCard.README.md +0 -49
  130. package/templates/src/lib/components/orionplace/products/ProductCard.svelte +0 -1097
  131. package/templates/src/lib/components/orionplace/products/ProductCardActions.README.md +0 -29
  132. package/templates/src/lib/components/orionplace/products/ProductCardActions.svelte +0 -474
  133. package/templates/src/lib/components/orionplace/products/ProductCardBadges.README.md +0 -17
  134. package/templates/src/lib/components/orionplace/products/ProductCardBadges.svelte +0 -106
  135. package/templates/src/lib/components/orionplace/products/ProductCardDescription.README.md +0 -13
  136. package/templates/src/lib/components/orionplace/products/ProductCardDescription.svelte +0 -55
  137. package/templates/src/lib/components/orionplace/products/ProductCardFavorite.README.md +0 -23
  138. package/templates/src/lib/components/orionplace/products/ProductCardFavorite.svelte +0 -130
  139. package/templates/src/lib/components/orionplace/products/ProductCardPrice.README.md +0 -13
  140. package/templates/src/lib/components/orionplace/products/ProductCardPrice.svelte +0 -85
  141. package/templates/src/lib/components/orionplace/products/ProductCardRating.README.md +0 -14
  142. package/templates/src/lib/components/orionplace/products/ProductCardRating.svelte +0 -84
  143. package/templates/src/lib/components/orionplace/products/ProductCardSeller.README.md +0 -20
  144. package/templates/src/lib/components/orionplace/products/ProductCardSeller.svelte +0 -94
  145. package/templates/src/lib/components/orionplace/products/ProductCardStockNotice.README.md +0 -15
  146. package/templates/src/lib/components/orionplace/products/ProductCardStockNotice.svelte +0 -63
  147. package/templates/src/lib/components/orionplace/products/ProductCardTitle.README.md +0 -13
  148. package/templates/src/lib/components/orionplace/products/ProductCardTitle.svelte +0 -57
  149. package/templates/src/lib/components/orionplace/products/ProductCardVariants.README.md +0 -29
  150. package/templates/src/lib/components/orionplace/products/ProductCardVariants.svelte +0 -484
  151. package/templates/src/lib/components/orionplace/products/ProductGroup.README.md +0 -36
  152. package/templates/src/lib/components/orionplace/products/ProductGroup.svelte +0 -338
  153. package/templates/src/lib/components/orionplace/products/ProductPreorderDialog.README.md +0 -37
  154. package/templates/src/lib/components/orionplace/products/ProductPreorderDialog.svelte +0 -507
  155. package/templates/src/lib/components/orionplace/products/ProductReviewForm.README.md +0 -40
  156. package/templates/src/lib/components/orionplace/products/ProductReviewForm.svelte +0 -369
  157. package/templates/src/lib/components/orionplace/products/ProductReviewGallery.README.md +0 -25
  158. package/templates/src/lib/components/orionplace/products/ProductReviewGallery.svelte +0 -177
  159. package/templates/src/lib/components/orionplace/products/ProductReviewImageViewer.README.md +0 -28
  160. package/templates/src/lib/components/orionplace/products/ProductReviewImageViewer.svelte +0 -481
  161. package/templates/src/lib/components/orionplace/products/ProductReviews.README.md +0 -16
  162. package/templates/src/lib/components/orionplace/products/ProductReviews.svelte +0 -1140
  163. package/templates/src/lib/components/orionplace/products/ProductSecondaryVariantModal.README.md +0 -40
  164. package/templates/src/lib/components/orionplace/products/ProductSecondaryVariantModal.svelte +0 -535
  165. package/templates/src/lib/components/orionplace/products/ProductSpecificationsDialog.README.md +0 -22
  166. package/templates/src/lib/components/orionplace/products/ProductSpecificationsDialog.svelte +0 -205
  167. package/templates/src/lib/components/orionplace/products/StorefrontProduct.README.md +0 -27
  168. package/templates/src/lib/components/orionplace/products/StorefrontProduct.svelte +0 -1804
  169. package/templates/src/lib/components/orionplace/products/StorefrontWishlist.README.md +0 -40
  170. package/templates/src/lib/components/orionplace/products/StorefrontWishlist.svelte +0 -379
  171. package/templates/src/lib/components/orionplace/promo/PromoProducts.README.md +0 -42
  172. package/templates/src/lib/components/orionplace/promo/PromoProducts.svelte +0 -378
  173. package/templates/src/lib/components/orionplace/search/MainSearch.README.md +0 -28
  174. package/templates/src/lib/components/orionplace/search/MainSearch.svelte +0 -307
  175. package/templates/src/lib/components/orionplace/search/ProductSearchResults.README.md +0 -52
  176. package/templates/src/lib/components/orionplace/search/ProductSearchResults.svelte +0 -678
  177. package/templates/src/lib/components/orionplace/search/SearchFilters.README.md +0 -23
  178. package/templates/src/lib/components/orionplace/search/SearchFilters.svelte +0 -649
  179. package/templates/src/lib/components/orionplace/sellers/SellerFilters.README.md +0 -19
  180. package/templates/src/lib/components/orionplace/sellers/SellerFilters.svelte +0 -360
  181. package/templates/src/lib/components/orionplace/sellers/SellerPhotoGallery.README.md +0 -21
  182. package/templates/src/lib/components/orionplace/sellers/SellerPhotoGallery.svelte +0 -442
  183. package/templates/src/lib/components/orionplace/sellers/SellerSummary.README.md +0 -20
  184. package/templates/src/lib/components/orionplace/sellers/SellerSummary.svelte +0 -203
  185. package/templates/src/lib/components/orionplace/sellers/StorefrontSellers.README.md +0 -26
  186. package/templates/src/lib/components/orionplace/sellers/StorefrontSellers.svelte +0 -343
  187. package/templates/src/lib/components/orionplace/shared/OrionplaceAvatar.README.md +0 -18
  188. package/templates/src/lib/components/orionplace/shared/OrionplaceAvatar.svelte +0 -99
  189. package/templates/src/lib/components/orionplace/shared/OrionplaceBreadcrumbs.README.md +0 -19
  190. package/templates/src/lib/components/orionplace/shared/OrionplaceBreadcrumbs.svelte +0 -129
  191. package/templates/src/lib/components/orionplace/shared/OrionplaceEmptyState.README.md +0 -21
  192. package/templates/src/lib/components/orionplace/shared/OrionplaceEmptyState.svelte +0 -167
  193. package/templates/src/lib/components/orionplace/shared/OrionplaceImage.README.md +0 -18
  194. package/templates/src/lib/components/orionplace/shared/OrionplaceImage.svelte +0 -123
  195. package/templates/src/lib/components/orionplace/shared/OrionplaceInfoHint.README.md +0 -17
  196. package/templates/src/lib/components/orionplace/shared/OrionplaceInfoHint.svelte +0 -176
  197. package/templates/src/lib/components/orionplace/shared/OrionplacePasswordInput.README.md +0 -20
  198. package/templates/src/lib/components/orionplace/shared/OrionplacePasswordInput.svelte +0 -225
  199. package/templates/src/lib/components/orionplace/shared/OrionplaceSearchSelect.README.md +0 -37
  200. package/templates/src/lib/components/orionplace/shared/OrionplaceSearchSelect.svelte +0 -510
  201. package/templates/src/lib/components/orionplace/shared/OrionplaceSelect.README.md +0 -33
  202. package/templates/src/lib/components/orionplace/shared/OrionplaceSelect.svelte +0 -609
  203. package/templates/src/lib/components/orionplace/shared/StorefrontErrorPage.README.md +0 -49
  204. package/templates/src/lib/components/orionplace/shared/StorefrontErrorPage.svelte +0 -186
  205. package/templates/src/lib/components/orionplace/shared/StorefrontPagination.README.md +0 -31
  206. package/templates/src/lib/components/orionplace/shared/StorefrontPagination.svelte +0 -197
  207. package/templates/src/lib/components/orionplace/shared/dialogs.css +0 -36
  208. package/templates/src/lib/components/orionplace/shared/features.css +0 -364
  209. package/templates/src/lib/components/orionplace/social/SocialLinks.README.md +0 -9
  210. package/templates/src/lib/components/orionplace/social/SocialLinks.svelte +0 -79
  211. package/templates/src/lib/components/orionplace/storefront/StorefrontAccount.README.md +0 -21
  212. package/templates/src/lib/components/orionplace/storefront/StorefrontAccount.svelte +0 -354
  213. package/templates/src/lib/components/orionplace/storefront/StorefrontCartButton.README.md +0 -20
  214. package/templates/src/lib/components/orionplace/storefront/StorefrontCartButton.svelte +0 -98
  215. package/templates/src/lib/components/orionplace/storefront/StorefrontFooter.README.md +0 -29
  216. package/templates/src/lib/components/orionplace/storefront/StorefrontFooter.svelte +0 -272
  217. package/templates/src/lib/components/orionplace/storefront/StorefrontHeader.README.md +0 -52
  218. package/templates/src/lib/components/orionplace/storefront/StorefrontHeader.svelte +0 -699
  219. package/templates/src/lib/components/orionplace/storefront/StorefrontHome.README.md +0 -43
  220. package/templates/src/lib/components/orionplace/storefront/StorefrontHome.svelte +0 -423
  221. package/templates/src/lib/components/orionplace/storefront/StorefrontWishlistButton.README.md +0 -21
  222. package/templates/src/lib/components/orionplace/storefront/StorefrontWishlistButton.svelte +0 -131
  223. package/templates/src/lib/components/orionplace/stores/StorefrontStores.README.md +0 -27
  224. package/templates/src/lib/components/orionplace/stores/StorefrontStores.svelte +0 -403
  225. package/templates/src/lib/components/orionplace/subscriptions/StorefrontSubscriptions.README.md +0 -65
  226. package/templates/src/lib/components/orionplace/subscriptions/StorefrontSubscriptions.svelte +0 -890
  227. package/templates/src/lib/components/orionplace/subscriptions/StorefrontTariff.README.md +0 -26
  228. package/templates/src/lib/components/orionplace/subscriptions/StorefrontTariff.svelte +0 -616
  229. package/templates/src/lib/components/orionplace/subscriptions/StorefrontTariffs.README.md +0 -15
  230. package/templates/src/lib/components/orionplace/subscriptions/StorefrontTariffs.svelte +0 -474
  231. package/templates/src/lib/components/orionplace/subscriptions/SubscriptionCancelDialog.README.md +0 -30
  232. package/templates/src/lib/components/orionplace/subscriptions/SubscriptionCancelDialog.svelte +0 -341
  233. package/templates/src/lib/components/orionplace/subscriptions/SubscriptionChangeDialog.README.md +0 -36
  234. package/templates/src/lib/components/orionplace/subscriptions/SubscriptionChangeDialog.svelte +0 -961
  235. package/templates/src/lib/components/orionplace/subscriptions/SubscriptionExtendDialog.README.md +0 -30
  236. package/templates/src/lib/components/orionplace/subscriptions/SubscriptionExtendDialog.svelte +0 -620
  237. package/templates/src/lib/components/orionplace/subscriptions/SubscriptionPlanSummary.README.md +0 -73
  238. package/templates/src/lib/components/orionplace/subscriptions/SubscriptionPlanSummary.svelte +0 -321
  239. package/templates/src/lib/components/orionplace/subscriptions/SubscriptionRemoteDetails.README.md +0 -80
  240. package/templates/src/lib/components/orionplace/subscriptions/SubscriptionRemoteDetails.svelte +0 -162
  241. package/templates/src/lib/components/orionplace/subscriptions/SubscriptionRenewalDialog.README.md +0 -71
  242. package/templates/src/lib/components/orionplace/subscriptions/SubscriptionRenewalDialog.svelte +0 -431
  243. package/templates/src/lib/components/orionplace/support/StorefrontSupport.README.md +0 -27
  244. package/templates/src/lib/components/orionplace/support/StorefrontSupport.svelte +0 -544
  245. package/templates/src/lib/components/orionplace/support/TicketConversation.README.md +0 -33
  246. package/templates/src/lib/components/orionplace/support/TicketConversation.svelte +0 -644
  247. package/templates/src/lib/components/orionplace/support/TicketImage.README.md +0 -16
  248. package/templates/src/lib/components/orionplace/support/TicketImage.svelte +0 -203
  249. package/templates/src/lib/components/orionplace/support/TicketItemCard.README.md +0 -23
  250. package/templates/src/lib/components/orionplace/support/TicketItemCard.svelte +0 -218
  251. package/templates/src/lib/components/orionplace/support/TicketMessageForm.README.md +0 -38
  252. package/templates/src/lib/components/orionplace/support/TicketMessageForm.svelte +0 -311
  253. package/templates/src/lib/components/orionplace/support/TicketSubscriptionCard.README.md +0 -18
  254. package/templates/src/lib/components/orionplace/support/TicketSubscriptionCard.svelte +0 -183
  255. package/templates/src/lib/components/orionplace/tariffs/TariffCard.README.md +0 -28
  256. package/templates/src/lib/components/orionplace/tariffs/TariffCard.svelte +0 -331
  257. package/templates/src/lib/components/orionplace/tariffs/TariffCardDescription.README.md +0 -12
  258. package/templates/src/lib/components/orionplace/tariffs/TariffCardDescription.svelte +0 -106
  259. package/templates/src/lib/components/orionplace/tariffs/TariffCardFeatures.README.md +0 -14
  260. package/templates/src/lib/components/orionplace/tariffs/TariffCardFeatures.svelte +0 -203
  261. package/templates/src/lib/components/orionplace/tariffs/TariffCardImage.README.md +0 -12
  262. package/templates/src/lib/components/orionplace/tariffs/TariffCardImage.svelte +0 -44
  263. package/templates/src/lib/components/orionplace/tariffs/TariffCardPrices.README.md +0 -23
  264. package/templates/src/lib/components/orionplace/tariffs/TariffCardPrices.svelte +0 -349
  265. package/templates/src/lib/components/orionplace/tariffs/TariffCardTitle.README.md +0 -12
  266. package/templates/src/lib/components/orionplace/tariffs/TariffCardTitle.svelte +0 -44
  267. package/templates/src/lib/components/orionplace/tariffs/TariffCards.README.md +0 -29
  268. package/templates/src/lib/components/orionplace/tariffs/TariffCards.svelte +0 -132
  269. package/templates/src/lib/components/orionplace/tariffs/TariffSubscriptionModal.README.md +0 -31
  270. package/templates/src/lib/components/orionplace/tariffs/TariffSubscriptionModal.svelte +0 -499
  271. package/templates/src/lib/components/orionplace/theme/OrionplaceThemeProvider.README.md +0 -15
  272. package/templates/src/lib/components/orionplace/theme/OrionplaceThemeProvider.svelte +0 -60
  273. package/templates/src/lib/components/orionplace/units/UnitSwitcher.README.md +0 -20
  274. package/templates/src/lib/components/orionplace/units/UnitSwitcher.svelte +0 -90
  275. package/templates/src/lib/components/orionplace/wallet/StorefrontWallet.README.md +0 -70
  276. package/templates/src/lib/components/orionplace/wallet/StorefrontWallet.svelte +0 -901
  277. package/templates/src/lib/components/orionplace/wallet/WalletBalance.README.md +0 -13
  278. package/templates/src/lib/components/orionplace/wallet/WalletBalance.svelte +0 -68
  279. package/templates/src/lib/components/orionplace/wallet/WalletTopUpForm.README.md +0 -26
  280. package/templates/src/lib/components/orionplace/wallet/WalletTopUpForm.svelte +0 -259
  281. package/templates/src/lib/composables/useOrionplaceActionMenu.svelte.ts +0 -131
  282. package/templates/src/lib/composables/useOrionplaceAddressEditor.svelte.ts +0 -348
  283. package/templates/src/lib/composables/useOrionplaceAddresses.svelte.ts +0 -75
  284. package/templates/src/lib/composables/useOrionplaceApi.svelte.ts +0 -111
  285. package/templates/src/lib/composables/useOrionplaceAppLoad.svelte.ts +0 -20
  286. package/templates/src/lib/composables/useOrionplaceBlogComments.svelte.ts +0 -331
  287. package/templates/src/lib/composables/useOrionplaceBlogReading.svelte.ts +0 -276
  288. package/templates/src/lib/composables/useOrionplaceCart.svelte.ts +0 -233
  289. package/templates/src/lib/composables/useOrionplaceCartPreview.svelte.ts +0 -146
  290. package/templates/src/lib/composables/useOrionplaceCategoryLink.svelte.ts +0 -24
  291. package/templates/src/lib/composables/useOrionplaceCategoryProducts.svelte.ts +0 -16
  292. package/templates/src/lib/composables/useOrionplaceFeature.svelte.ts +0 -105
  293. package/templates/src/lib/composables/useOrionplaceFeaturedProducts.svelte.ts +0 -14
  294. package/templates/src/lib/composables/useOrionplaceGeolocation.svelte.ts +0 -28
  295. package/templates/src/lib/composables/useOrionplaceHomeProducts.svelte.ts +0 -95
  296. package/templates/src/lib/composables/useOrionplaceManufacturerIndex.svelte.ts +0 -83
  297. package/templates/src/lib/composables/useOrionplaceMap.svelte.ts +0 -238
  298. package/templates/src/lib/composables/useOrionplaceMediaFormat.svelte.ts +0 -28
  299. package/templates/src/lib/composables/useOrionplaceMissingPage.svelte.ts +0 -67
  300. package/templates/src/lib/composables/useOrionplaceOrders.svelte.ts +0 -190
  301. package/templates/src/lib/composables/useOrionplacePageSeo.svelte.ts +0 -118
  302. package/templates/src/lib/composables/useOrionplaceProductActions.svelte.ts +0 -116
  303. package/templates/src/lib/composables/useOrionplaceProductLink.svelte.ts +0 -24
  304. package/templates/src/lib/composables/useOrionplaceProductSearch.svelte.ts +0 -386
  305. package/templates/src/lib/composables/useOrionplaceProductVariants.svelte.ts +0 -176
  306. package/templates/src/lib/composables/useOrionplaceProfile.svelte.ts +0 -313
  307. package/templates/src/lib/composables/useOrionplaceProgress.svelte.ts +0 -37
  308. package/templates/src/lib/composables/useOrionplaceReviews.svelte.ts +0 -242
  309. package/templates/src/lib/composables/useOrionplaceSearchHistory.svelte.ts +0 -27
  310. package/templates/src/lib/composables/useOrionplaceSearchScopeNames.svelte.ts +0 -103
  311. package/templates/src/lib/composables/useOrionplaceServerData.svelte.ts +0 -13
  312. package/templates/src/lib/composables/useOrionplaceSignIn.svelte.ts +0 -69
  313. package/templates/src/lib/composables/useOrionplaceStableHeight.svelte.ts +0 -74
  314. package/templates/src/lib/composables/useOrionplaceStorefront.svelte.ts +0 -29
  315. package/templates/src/lib/composables/useOrionplaceSubscriptions.svelte.ts +0 -265
  316. package/templates/src/lib/composables/useOrionplaceTheme.svelte.ts +0 -27
  317. package/templates/src/lib/composables/useOrionplaceTicketSubject.svelte.ts +0 -186
  318. package/templates/src/lib/composables/useOrionplaceTickets.svelte.ts +0 -340
  319. package/templates/src/lib/composables/useOrionplaceWallet.svelte.ts +0 -166
  320. package/templates/src/lib/interfaces/orionplace/accounts/IContact.ts +0 -21
  321. package/templates/src/lib/interfaces/orionplace/accounts/IEmailNotificationLocale.ts +0 -17
  322. package/templates/src/lib/interfaces/orionplace/accounts/IEmailVerification.ts +0 -59
  323. package/templates/src/lib/interfaces/orionplace/accounts/IProfileActions.ts +0 -38
  324. package/templates/src/lib/interfaces/orionplace/accounts/IProfileData.ts +0 -125
  325. package/templates/src/lib/interfaces/orionplace/accounts/IProfileMedia.ts +0 -17
  326. package/templates/src/lib/interfaces/orionplace/accounts/IStorefrontProfile.ts +0 -54
  327. package/templates/src/lib/interfaces/orionplace/address/IAddressCitySuggestion.ts +0 -19
  328. package/templates/src/lib/interfaces/orionplace/address/IAddressEditor.ts +0 -9
  329. package/templates/src/lib/interfaces/orionplace/address/IAddressLocationSuggestion.ts +0 -22
  330. package/templates/src/lib/interfaces/orionplace/address/IAddressRegionSearch.ts +0 -30
  331. package/templates/src/lib/interfaces/orionplace/address/IAddressSuggestion.ts +0 -20
  332. package/templates/src/lib/interfaces/orionplace/address/IUserAddress.ts +0 -90
  333. package/templates/src/lib/interfaces/orionplace/apiBase/TMethod.ts +0 -1
  334. package/templates/src/lib/interfaces/orionplace/appBase/IAppLoad.ts +0 -16
  335. package/templates/src/lib/interfaces/orionplace/appBase/IAppLoadCommon.ts +0 -47
  336. package/templates/src/lib/interfaces/orionplace/appBase/IApploadUserProfile.ts +0 -15
  337. package/templates/src/lib/interfaces/orionplace/appBase/IForm.ts +0 -21
  338. package/templates/src/lib/interfaces/orionplace/appBase/ISEO.ts +0 -21
  339. package/templates/src/lib/interfaces/orionplace/appBase/appLoadCommon/IAppLoadCommonBanner.ts +0 -11
  340. package/templates/src/lib/interfaces/orionplace/appBase/appLoadCommon/IAppLoadCommonContact.ts +0 -8
  341. package/templates/src/lib/interfaces/orionplace/appBase/appLoadCommon/IAppLoadCommonCurrency.ts +0 -15
  342. package/templates/src/lib/interfaces/orionplace/appBase/appLoadCommon/IAppLoadCommonEvents.ts +0 -18
  343. package/templates/src/lib/interfaces/orionplace/appBase/appLoadCommon/IAppLoadCommonLocale.ts +0 -14
  344. package/templates/src/lib/interfaces/orionplace/appBase/appLoadCommon/IAppLoadCommonLogos.ts +0 -6
  345. package/templates/src/lib/interfaces/orionplace/appBase/appLoadCommon/IAppLoadCommonPath.ts +0 -22
  346. package/templates/src/lib/interfaces/orionplace/appBase/appLoadCommon/IAppLoadCommonSEO.ts +0 -26
  347. package/templates/src/lib/interfaces/orionplace/appBase/appLoadCommon/IAppLoadCommonSocial.ts +0 -15
  348. package/templates/src/lib/interfaces/orionplace/appBase/appLoadCommon/IAppLoadCommonTariff.ts +0 -7
  349. package/templates/src/lib/interfaces/orionplace/appBase/appLoadCommon/IAppLoadCommonUnit.ts +0 -12
  350. package/templates/src/lib/interfaces/orionplace/appBase/appLoadCommon/IAppLoadCommonVariables.ts +0 -8
  351. package/templates/src/lib/interfaces/orionplace/appBase/appLoadCommon/IAppLoadCommonVisualSettings.ts +0 -11
  352. package/templates/src/lib/interfaces/orionplace/appBase/appLoadCommon/IAppLoadCommonWalletValue.ts +0 -3
  353. package/templates/src/lib/interfaces/orionplace/blog/IBlogApi.ts +0 -247
  354. package/templates/src/lib/interfaces/orionplace/blog/IBlogPostPreview.ts +0 -30
  355. package/templates/src/lib/interfaces/orionplace/cart/ICartActions.ts +0 -67
  356. package/templates/src/lib/interfaces/orionplace/cart/ICartData.ts +0 -391
  357. package/templates/src/lib/interfaces/orionplace/cart/ICartDeliveryActions.ts +0 -68
  358. package/templates/src/lib/interfaces/orionplace/cart/ICartModal.ts +0 -22
  359. package/templates/src/lib/interfaces/orionplace/cart/IDeliveryMap.ts +0 -29
  360. package/templates/src/lib/interfaces/orionplace/catalog/ICatalogDirectory.ts +0 -78
  361. package/templates/src/lib/interfaces/orionplace/category/ICategory.ts +0 -44
  362. package/templates/src/lib/interfaces/orionplace/domains/IDomain.ts +0 -13
  363. package/templates/src/lib/interfaces/orionplace/forms/ICustomerSubfilter.ts +0 -19
  364. package/templates/src/lib/interfaces/orionplace/index.ts +0 -57
  365. package/templates/src/lib/interfaces/orionplace/marketing/IPromoActions.ts +0 -51
  366. package/templates/src/lib/interfaces/orionplace/orders/IOrderActions.ts +0 -99
  367. package/templates/src/lib/interfaces/orionplace/orders/IOrderHistory.ts +0 -260
  368. package/templates/src/lib/interfaces/orionplace/orders/IProductPreorder.ts +0 -31
  369. package/templates/src/lib/interfaces/orionplace/payments/IInvoice.ts +0 -147
  370. package/templates/src/lib/interfaces/orionplace/products/IProduct.ts +0 -262
  371. package/templates/src/lib/interfaces/orionplace/products/IProductFeedbackApi.ts +0 -218
  372. package/templates/src/lib/interfaces/orionplace/products/IProductSearchApi.ts +0 -149
  373. package/templates/src/lib/interfaces/orionplace/products/IProductSearchFacets.ts +0 -35
  374. package/templates/src/lib/interfaces/orionplace/products/IProductSecondaryVariantRequest.ts +0 -15
  375. package/templates/src/lib/interfaces/orionplace/products/IProductSpecification.ts +0 -14
  376. package/templates/src/lib/interfaces/orionplace/products/IWishlist.ts +0 -22
  377. package/templates/src/lib/interfaces/orionplace/sellers/ISellerDirectory.ts +0 -70
  378. package/templates/src/lib/interfaces/orionplace/shared/IBreadcrumb.ts +0 -10
  379. package/templates/src/lib/interfaces/orionplace/shared/IGeoCoordinates.ts +0 -4
  380. package/templates/src/lib/interfaces/orionplace/shared/IStorefrontControls.ts +0 -13
  381. package/templates/src/lib/interfaces/orionplace/shared/ITransformValue.ts +0 -3
  382. package/templates/src/lib/interfaces/orionplace/state.ts +0 -4
  383. package/templates/src/lib/interfaces/orionplace/stores/IStoreDirectory.ts +0 -66
  384. package/templates/src/lib/interfaces/orionplace/subscribeOptions/ISubscribeOption.ts +0 -9
  385. package/templates/src/lib/interfaces/orionplace/subscribeTariff/ISubscribeTariff.ts +0 -56
  386. package/templates/src/lib/interfaces/orionplace/subscribeTariff/ITariffSelection.ts +0 -11
  387. package/templates/src/lib/interfaces/orionplace/subscribes/ISubscribe.ts +0 -28
  388. package/templates/src/lib/interfaces/orionplace/subscribes/ISubscriptionApi.ts +0 -125
  389. package/templates/src/lib/interfaces/orionplace/tickets/ICustomerTicketApi.ts +0 -226
  390. package/templates/src/lib/interfaces/orionplace/transport.ts +0 -34
  391. package/templates/src/lib/layouts/StorefrontLayout.svelte +0 -389
  392. package/templates/src/lib/layouts/StorefrontPageHead.svelte +0 -54
  393. package/templates/src/lib/layouts/StorefrontPageState.svelte +0 -16
  394. package/templates/src/lib/layouts/StorefrontUnavailable.svelte +0 -28
  395. package/templates/src/lib/orionplace/appLoadClient.ts +0 -80
  396. package/templates/src/lib/orionplace/appLoadData.ts +0 -46
  397. package/templates/src/lib/orionplace/appLoadResult.ts +0 -120
  398. package/templates/src/lib/orionplace/appLoadServer.ts +0 -170
  399. package/templates/src/lib/orionplace/appRoutes.ts +0 -77
  400. package/templates/src/lib/orionplace/appSession.ts +0 -19
  401. package/templates/src/lib/orionplace/domain.ts +0 -11
  402. package/templates/src/lib/orionplace/navigation.svelte.ts +0 -232
  403. package/templates/src/lib/orionplace/pageLoad.ts +0 -179
  404. package/templates/src/lib/orionplace/pageServer.ts +0 -14
  405. package/templates/src/lib/orionplace/pageState.ts +0 -37
  406. package/templates/src/lib/orionplace/productSeller.ts +0 -28
  407. package/templates/src/lib/orionplace/reactivity.svelte.ts +0 -255
  408. package/templates/src/lib/orionplace/scope.svelte.ts +0 -53
  409. package/templates/src/lib/orionplace/serverApi.ts +0 -81
  410. package/templates/src/lib/orionplace/store.svelte.ts +0 -375
  411. package/templates/src/lib/stores/orionplace.svelte.ts +0 -434
  412. package/templates/src/lib/stores/orionplaceBrowse.svelte.ts +0 -81
  413. package/templates/src/lib/stores/orionplaceCatalog.svelte.ts +0 -145
  414. package/templates/src/lib/stores/orionplaceDomainAccess.svelte.ts +0 -56
  415. package/templates/src/lib/stores/orionplaceProducts.svelte.ts +0 -254
  416. package/templates/src/lib/stores/orionplaceSelections.svelte.ts +0 -139
  417. package/templates/src/lib/themes/orionplace.ts +0 -108
  418. package/templates/src/lib/utils/orionplace/accountLabels.ts +0 -29
  419. package/templates/src/lib/utils/orionplace/activityLabels.ts +0 -96
  420. package/templates/src/lib/utils/orionplace/activityPresentation.ts +0 -10
  421. package/templates/src/lib/utils/orionplace/addressChanges.ts +0 -26
  422. package/templates/src/lib/utils/orionplace/addressRegions.ts +0 -17
  423. package/templates/src/lib/utils/orionplace/api.ts +0 -333
  424. package/templates/src/lib/utils/orionplace/blogArticleHtml.ts +0 -399
  425. package/templates/src/lib/utils/orionplace/blogComments.ts +0 -132
  426. package/templates/src/lib/utils/orionplace/blogImageViewer.ts +0 -84
  427. package/templates/src/lib/utils/orionplace/blogLabels.ts +0 -167
  428. package/templates/src/lib/utils/orionplace/blogLayout.ts +0 -108
  429. package/templates/src/lib/utils/orionplace/blogProductPlacements.ts +0 -105
  430. package/templates/src/lib/utils/orionplace/breadcrumbLabels.ts +0 -14
  431. package/templates/src/lib/utils/orionplace/browseLabels.ts +0 -145
  432. package/templates/src/lib/utils/orionplace/cartAddress.ts +0 -95
  433. package/templates/src/lib/utils/orionplace/cartLabels.ts +0 -390
  434. package/templates/src/lib/utils/orionplace/cartOptions.ts +0 -144
  435. package/templates/src/lib/utils/orionplace/cartPreview.ts +0 -123
  436. package/templates/src/lib/utils/orionplace/cartPromo.ts +0 -150
  437. package/templates/src/lib/utils/orionplace/cartShipment.ts +0 -72
  438. package/templates/src/lib/utils/orionplace/cartSnapshot.ts +0 -20
  439. package/templates/src/lib/utils/orionplace/catalog.ts +0 -106
  440. package/templates/src/lib/utils/orionplace/category.ts +0 -52
  441. package/templates/src/lib/utils/orionplace/categoryLabels.ts +0 -44
  442. package/templates/src/lib/utils/orionplace/contactLabels.ts +0 -152
  443. package/templates/src/lib/utils/orionplace/currency.ts +0 -128
  444. package/templates/src/lib/utils/orionplace/deliveryMap.ts +0 -89
  445. package/templates/src/lib/utils/orionplace/directoryLabels.ts +0 -196
  446. package/templates/src/lib/utils/orionplace/emptyStateArt.ts +0 -194
  447. package/templates/src/lib/utils/orionplace/errorPageLabels.ts +0 -98
  448. package/templates/src/lib/utils/orionplace/featureData.ts +0 -25
  449. package/templates/src/lib/utils/orionplace/featureLabels.ts +0 -406
  450. package/templates/src/lib/utils/orionplace/featuredLabels.ts +0 -38
  451. package/templates/src/lib/utils/orionplace/files.ts +0 -71
  452. package/templates/src/lib/utils/orionplace/footerLabels.ts +0 -53
  453. package/templates/src/lib/utils/orionplace/guestSession.ts +0 -55
  454. package/templates/src/lib/utils/orionplace/headerLabels.ts +0 -98
  455. package/templates/src/lib/utils/orionplace/homeContent.ts +0 -127
  456. package/templates/src/lib/utils/orionplace/homeLabels.ts +0 -74
  457. package/templates/src/lib/utils/orionplace/htmlText.ts +0 -59
  458. package/templates/src/lib/utils/orionplace/links.ts +0 -14
  459. package/templates/src/lib/utils/orionplace/manufacturerIndex.ts +0 -108
  460. package/templates/src/lib/utils/orionplace/modalWindow.ts +0 -109
  461. package/templates/src/lib/utils/orionplace/nativeApp.ts +0 -367
  462. package/templates/src/lib/utils/orionplace/notice.ts +0 -22
  463. package/templates/src/lib/utils/orionplace/orderLabels.ts +0 -458
  464. package/templates/src/lib/utils/orionplace/orderPresentation.ts +0 -617
  465. package/templates/src/lib/utils/orionplace/pageSeo.ts +0 -662
  466. package/templates/src/lib/utils/orionplace/paginationScroll.ts +0 -131
  467. package/templates/src/lib/utils/orionplace/phone.ts +0 -22
  468. package/templates/src/lib/utils/orionplace/presentation.ts +0 -72
  469. package/templates/src/lib/utils/orionplace/privacyLabels.ts +0 -273
  470. package/templates/src/lib/utils/orionplace/productActionLabels.ts +0 -108
  471. package/templates/src/lib/utils/orionplace/productActions.svelte.ts +0 -574
  472. package/templates/src/lib/utils/orionplace/productAvailability.ts +0 -36
  473. package/templates/src/lib/utils/orionplace/productGallery.ts +0 -72
  474. package/templates/src/lib/utils/orionplace/productLabels.ts +0 -119
  475. package/templates/src/lib/utils/orionplace/productListLocation.ts +0 -130
  476. package/templates/src/lib/utils/orionplace/productManufacturer.ts +0 -30
  477. package/templates/src/lib/utils/orionplace/productPage.ts +0 -46
  478. package/templates/src/lib/utils/orionplace/productPhotos.ts +0 -67
  479. package/templates/src/lib/utils/orionplace/productSearchScope.ts +0 -233
  480. package/templates/src/lib/utils/orionplace/productSeller.ts +0 -51
  481. package/templates/src/lib/utils/orionplace/productStructuredData.ts +0 -221
  482. package/templates/src/lib/utils/orionplace/profile.ts +0 -152
  483. package/templates/src/lib/utils/orionplace/profileLabels.ts +0 -229
  484. package/templates/src/lib/utils/orionplace/promoLabels.ts +0 -111
  485. package/templates/src/lib/utils/orionplace/promoPresentation.ts +0 -381
  486. package/templates/src/lib/utils/orionplace/reviewLabels.ts +0 -256
  487. package/templates/src/lib/utils/orionplace/reviewScope.ts +0 -41
  488. package/templates/src/lib/utils/orionplace/richText.ts +0 -13
  489. package/templates/src/lib/utils/orionplace/searchFilters.ts +0 -99
  490. package/templates/src/lib/utils/orionplace/searchHistory.ts +0 -144
  491. package/templates/src/lib/utils/orionplace/sellerDirectory.ts +0 -136
  492. package/templates/src/lib/utils/orionplace/seo.ts +0 -52
  493. package/templates/src/lib/utils/orionplace/serverCookies.ts +0 -88
  494. package/templates/src/lib/utils/orionplace/sessionLabels.ts +0 -38
  495. package/templates/src/lib/utils/orionplace/signInReturn.ts +0 -89
  496. package/templates/src/lib/utils/orionplace/storeDirectory.ts +0 -50
  497. package/templates/src/lib/utils/orionplace/subscriptionChanges.ts +0 -170
  498. package/templates/src/lib/utils/orionplace/subscriptionLabels.ts +0 -100
  499. package/templates/src/lib/utils/orionplace/subscriptionManageLabels.ts +0 -422
  500. package/templates/src/lib/utils/orionplace/subscriptionPlans.ts +0 -159
  501. package/templates/src/lib/utils/orionplace/subscriptionRemote.ts +0 -111
  502. package/templates/src/lib/utils/orionplace/subscriptionUsage.ts +0 -82
  503. package/templates/src/lib/utils/orionplace/tariffLabels.ts +0 -179
  504. package/templates/src/lib/utils/orionplace/tariffPage.ts +0 -77
  505. package/templates/src/lib/utils/orionplace/tariffVariables.ts +0 -203
  506. package/templates/src/lib/utils/orionplace/tariffs.ts +0 -333
  507. package/templates/src/lib/utils/orionplace/ticketItems.ts +0 -90
  508. package/templates/src/lib/utils/orionplace/ticketLabels.ts +0 -428
  509. package/templates/src/lib/utils/orionplace/ticketLocation.ts +0 -79
  510. package/templates/src/lib/utils/orionplace/walletTransaction.ts +0 -135
  511. package/templates/src/routes/+error.svelte +0 -24
  512. package/templates/src/routes/+layout.server.ts +0 -37
  513. package/templates/src/routes/+layout.svelte +0 -162
  514. package/templates/src/routes/+page.server.ts +0 -7
  515. package/templates/src/routes/+page.svelte +0 -220
  516. package/templates/src/routes/activity/+page.server.ts +0 -7
  517. package/templates/src/routes/activity/+page.svelte +0 -25
  518. package/templates/src/routes/addresses/+page.server.ts +0 -7
  519. package/templates/src/routes/addresses/+page.svelte +0 -27
  520. package/templates/src/routes/api/[...orionplace]/+server.ts +0 -17
  521. package/templates/src/routes/browse/+page.server.ts +0 -7
  522. package/templates/src/routes/browse/+page.svelte +0 -277
  523. package/templates/src/routes/cart/+page.server.ts +0 -7
  524. package/templates/src/routes/cart/+page.svelte +0 -25
  525. package/templates/src/routes/catalog/+page.server.ts +0 -7
  526. package/templates/src/routes/catalog/+page.svelte +0 -23
  527. package/templates/src/routes/category/[id]/+page.server.ts +0 -7
  528. package/templates/src/routes/category/[id]/+page.svelte +0 -180
  529. package/templates/src/routes/contact/+page.server.ts +0 -7
  530. package/templates/src/routes/contact/+page.svelte +0 -23
  531. package/templates/src/routes/featured/+page.server.ts +0 -7
  532. package/templates/src/routes/featured/+page.svelte +0 -175
  533. package/templates/src/routes/journal/+page.server.ts +0 -7
  534. package/templates/src/routes/journal/+page.svelte +0 -71
  535. package/templates/src/routes/journal/[id]/+page.server.ts +0 -7
  536. package/templates/src/routes/journal/[id]/+page.svelte +0 -182
  537. package/templates/src/routes/logout/+page.server.ts +0 -7
  538. package/templates/src/routes/logout/+page.svelte +0 -81
  539. package/templates/src/routes/manufacturers/+page.server.ts +0 -7
  540. package/templates/src/routes/manufacturers/+page.svelte +0 -40
  541. package/templates/src/routes/orders/+page.server.ts +0 -7
  542. package/templates/src/routes/orders/+page.svelte +0 -45
  543. package/templates/src/routes/privacy/+page.server.ts +0 -7
  544. package/templates/src/routes/privacy/+page.svelte +0 -23
  545. package/templates/src/routes/product/[id]/+page.server.ts +0 -7
  546. package/templates/src/routes/product/[id]/+page.svelte +0 -160
  547. package/templates/src/routes/profile/+page.server.ts +0 -7
  548. package/templates/src/routes/profile/+page.svelte +0 -125
  549. package/templates/src/routes/promo/[id]/+page.server.ts +0 -7
  550. package/templates/src/routes/promo/[id]/+page.svelte +0 -92
  551. package/templates/src/routes/promocodes/+page.server.ts +0 -7
  552. package/templates/src/routes/promocodes/+page.svelte +0 -17
  553. package/templates/src/routes/ps3/blog/[...orionplace]/+server.ts +0 -12
  554. package/templates/src/routes/robots.txt/+server.ts +0 -9
  555. package/templates/src/routes/sellers/+page.server.ts +0 -7
  556. package/templates/src/routes/sellers/+page.svelte +0 -245
  557. package/templates/src/routes/sitemap.xml/+server.ts +0 -10
  558. package/templates/src/routes/stores/+page.server.ts +0 -7
  559. package/templates/src/routes/stores/+page.svelte +0 -43
  560. package/templates/src/routes/subscriptions/+page.server.ts +0 -7
  561. package/templates/src/routes/subscriptions/+page.svelte +0 -27
  562. package/templates/src/routes/tariffs/+page.server.ts +0 -7
  563. package/templates/src/routes/tariffs/+page.svelte +0 -55
  564. package/templates/src/routes/tariffs/[slug]/[id]/+page.server.ts +0 -7
  565. package/templates/src/routes/tariffs/[slug]/[id]/+page.svelte +0 -141
  566. package/templates/src/routes/tickets/+page.server.ts +0 -7
  567. package/templates/src/routes/tickets/+page.svelte +0 -70
  568. package/templates/src/routes/unsubscribe/+page.server.ts +0 -7
  569. package/templates/src/routes/unsubscribe/+page.svelte +0 -39
  570. package/templates/src/routes/wallet/+page.server.ts +0 -7
  571. package/templates/src/routes/wallet/+page.svelte +0 -27
  572. package/templates/src/routes/wishlist/+page.server.ts +0 -7
  573. package/templates/src/routes/wishlist/+page.svelte +0 -61
  574. package/templates/svelte.config.js +0 -19
  575. package/templates/vite.config.ts +0 -23
package/README.md CHANGED
@@ -1,643 +1,13 @@
1
- # orionplace-svelte
1
+ # orionplace-svelte → basklee-svelte
2
2
 
3
- **A complete SvelteKit 2 storefront for your Orionplace marketplace, set up with one command.**
3
+ This package is now **[basklee-svelte](https://www.npmjs.com/package/basklee-svelte)**. This last release runs
4
+ `basklee-svelte@latest` with the same command.
4
5
 
5
- `orionplace-svelte` creates a server-rendered shop connected to your personal
6
- marketplace API: catalog and search, product pages, cart and checkout, customer
7
- account, journal and support, in English, Russian and Spanish. The package includes a
8
- setup CLI and the full storefront source, so every page and component in your
9
- project is yours to change.
10
-
11
- - **Setup CLI:** `init`, `set backend`, `add frontend`, `set mimic`, `sitemap rebuild` and `update`.
12
- - **Server install:** `install` builds the storefront on your Linux server and
13
- runs it as a system service behind nginx with HTTPS.
14
- - **API gateway:** the browser calls `/api/...` on your own domain; the server
15
- forwards it to your marketplace backend with cookies bound to the storefront.
16
- - **Typed store:** one Application Load request fills it before the first render.
17
- - **124 storefront components**, each with an English and Russian README
18
- ([list](#components)).
19
- - **Several storefront domains** on one backend, each with its own mapping.
20
- - **Android app** from the same project with Capacitor 8.
21
-
22
- **Contents:** [Quick start](#quick-start-from-zero) ·
23
- [Existing project](#existing-sveltekit-2-project) · [Components](#components) ·
24
- [Commands](#commands) · [Server install](#install-on-your-server) ·
25
- [Android app](#android-app) · [Update](#update-an-existing-project)
26
-
27
- Requires Node.js 20.19+, Svelte 5 and `@sveltejs/adapter-node`. Static and
28
- edge-only adapters cannot read the domain files this integration uses; only the
29
- Android app build below uses `@sveltejs/adapter-static`.
30
-
31
- ## Android app
32
-
33
- The same project builds as an Android app with Capacitor 8. Set
34
- `ORIONPLACE_APP_ORIGIN` to your deployed public storefront (HTTPS) for that
35
- build: `androidAppKit` in `svelte.config.js` (`orionplace/runtime/app.mjs`)
36
- then builds a client-only app to `build/` with `@sveltejs/adapter-static`. The
37
- route server loads run in the app as universal loads
38
- (`src/lib/orionplace/appRoutes.ts`), and every API request goes to
39
- `<origin>/api/...` through Capacitor's native HTTP with the storefront Origin
40
- (`src/lib/utils/orionplace/nativeApp.ts`). A route with its own server load
41
- stops the app build with its path. With the `@capacitor/app` plugin installed,
42
- the Android back button closes an open dialog, opens the previous page, or
43
- leaves the app on the first page. With `@capacitor/filesystem` and
44
- `@capacitor/share`, a purchased file is saved in the app and opened from the
45
- Android share sheet. Without the variable the website build is
46
- unchanged. Setup, build and release steps:
47
- [Android app guide](https://orionmarket.place/en/sandbox/android-app?framework=svelte).
48
-
49
- ```bash
50
- npm install -D @sveltejs/adapter-static
51
- ORIONPLACE_APP_ORIGIN=https://shop.example.com npx vite build
52
- npx cap sync android
53
- ```
54
-
55
- ## Error pages
56
-
57
- `src/routes/+error.svelte` uses the native `StorefrontErrorPage` for missing
58
- pages and unhandled errors. Its title, description, keywords and HTML language
59
- follow the selected locale. Error pages use `noindex, nofollow`. Home and Catalog
60
- keep the locale; Retry reloads the current address. Failure pages render without
61
- the storefront header and footer.
62
-
63
- ## Asset loading
64
-
65
- The starter loads route code and route data after pointer or keyboard
66
- interaction instead of preloading every visible link. New storefront images
67
- must provide intrinsic dimensions or a stable aspect ratio; the package audit
68
- checks this rule for every maintained Svelte template.
69
-
70
- ## Quick start from zero
71
-
72
- Your personal backend domain is already provided in your account at
73
- [orionmarket.place](https://orionmarket.place). You can change it there.
74
- Replace `your-project.orionplace.app` below with that domain and
75
- `shop.example.com` with the public domain of your own storefront.
76
- With Node.js 20.19+ and npm installed, run this from the parent folder;
77
- no existing SvelteKit project is needed:
78
-
79
- ```bash
80
- npx --yes orionplace-svelte init my-marketplace
81
- cd my-marketplace
82
- npm install
83
- npx orionplace-svelte set backend your-project.orionplace.app
84
- npx orionplace-svelte add frontend shop.example.com
85
- npm run dev
86
- ```
87
-
88
- The first command creates the SvelteKit configuration, starter routes and
89
- integration README. The first frontend becomes the local MIMIC domain. Open the
90
- local URL printed by Vite (normally http://localhost:5173). The storefront shows
91
- the catalog, products and events returned by Application Load. If initialization
92
- fails, it shows a retry action; check your domain mapping and backend response. The backend command accepts either a hostname or its full HTTPS
93
- `/api` URL. The frontend command accepts a public hostname or its root HTTPS URL.
94
-
95
- ## Existing SvelteKit 2 project
96
-
97
- ```bash
98
- npm install orionplace-svelte
99
- npx orionplace-svelte init --dry-run
100
- npx orionplace-svelte set backend your-project.orionplace.app
101
- npx orionplace-svelte add frontend shop.example.com
102
- npm install
103
- npm run dev
104
- ```
105
-
106
- The CLI preserves unrelated SvelteKit settings, scripts, and environment
107
- variables. It never replaces your own `svelte.config.js`, `vite.config.ts`,
108
- `src/app.html`, `src/hooks.server.ts`, root layout or home page: it keeps your
109
- file and prints its path so you can merge the starter yourself. Switch to
110
- `@sveltejs/adapter-node` and resolve an existing `/api` catch-all route before
111
- setup.
112
-
113
- No install or postinstall hook changes your application. Only explicitly running
114
- the CLI writes files. Use `--cwd <directory>` to select a project and `--dry-run`
115
- to inspect planned changes without writing them.
116
-
117
- ## Import aliases
118
-
119
- Application imports use `@/`. Add these entries to `kit.alias` in your existing
120
- `svelte.config.js` (or its `.ts`/`.mjs` equivalent), keeping the Node adapter and
121
- other settings. New projects already contain them:
122
-
123
- ```javascript
124
- alias: {
125
- '@': './src',
126
- '@orionplace-runtime': './orionplace/runtime',
127
- },
128
- ```
129
-
130
- SvelteKit applies them to both Vite and the generated TypeScript configuration.
131
- The gateway stays in the project-root `orionplace/runtime/` directory. Framework
132
- imports such as `$app`, `$env` and generated `./$types` retain their own names.
133
-
134
- <!-- components:start (generated by scripts/generate-package-readme-components.mjs) -->
135
- ## Components
136
-
137
- The starter includes **126 storefront components**, copied into
138
- `src/lib/components/orionplace/` of your project. Each one has a README in English and Russian
139
- next to its source that describes its inputs, data and actions.
140
-
141
- ### Storefront structure
142
-
143
- Main pages and the shared storefront frame.
144
-
145
- | Component | Name | What it does |
146
- | --- | --- | --- |
147
- | **Header** | `StorefrontHeader` | The storefront header and its search, catalog, manufacturer and journal links, locale, currency, account, wishlist and cart controls. |
148
- | **Storefront logo** | `BrandLogos` | Displays one logo from store.init.logos. |
149
- | **Product search** | `MainSearch` | A search input with suggestions in the storefront language. |
150
- | **Language selector** | `MainLanguageSwitcher` | Selects the storefront language and its associated currency and measurement units. |
151
- | **Currency selector** | `MainCurrencySwitcher` | Selects the current storefront currency from the available options. |
152
- | **Storefront account** | `StorefrontAccount` | Guest sign-in button and signed-in account menu with profile and wallet actions. |
153
- | **Wallet balance** | `WalletBalance` | Displays the wallet balance in the selected storefront currency. |
154
- | **Sign-out page** | `StorefrontLogout` | Session sign-out, failure retry and return to the storefront. |
155
- | **Wishlist button** | `StorefrontWishlistButton` | Displays the wishlist count and links to the wishlist page. |
156
- | **Cart button** | `StorefrontCartButton` | Displays the cart count and emits a request to open the cart page. |
157
- | **Cart preview** | `CartPreview` | A compact dropdown under the header's cart button with cart products, quantities and amounts in the selected currency. |
158
- | **Catalog menu** | `CatalogHeader` | Category navigation with nested sections and representative product cards. |
159
- | **Catalog representative** | `CatalogRepresentative` | A compact product card used in the catalog menu, with the same navigation, variant, wishlist and purchase actions. |
160
- | **Storefront home** | `StorefrontHome` | Banners, the optional Popular categories block, product sections, storefront events and recommendations. |
161
- | **Storefront banners** | `MainBanner` | A carousel of banner images for the current storefront language, with responsive image formats. |
162
- | **Popular categories block** | `CategoryGroup` | Optional home-page block of public category tiles. |
163
- | **Product group** | `ProductGroup` | Displays a collection of product cards with images, prices, variant selection and purchase controls. |
164
- | **Product card** | `ProductCard` | Combines a product’s image, name, price, variants, wishlist button and purchase controls in one card. |
165
- | **Product photo viewer** | `HoverImageViewer` | A separate product photo viewer with dot buttons: it switches photos with the pointer, with a swipe and from the keyboard, and a click passes the chosen photo's address to the application. |
166
- | **Product card title** | `ProductCardTitle` | Displays the localized product name in the card. |
167
- | **Product card description** | `ProductCardDescription` | Displays the localized short product description as plain text, with HTML tags removed. |
168
- | **Product card badges** | `ProductCardBadges` | Marks new, popular, good-deal and low-stock products with badges in the card. |
169
- | **Product card wishlist button** | `ProductCardFavorite` | Requests adding or removing the product from the wishlist; the supplied storefront sends guests to sign-in. |
170
- | **Seller in the product card** | `ProductCardSeller` | Displays the product seller’s name and rating in the card. |
171
- | **Product card rating** | `ProductCardRating` | Displays the product’s average rating and review count in the card. |
172
- | **Product card variants** | `ProductCardVariants` | Selects a primary or secondary product variant. |
173
- | **Secondary variant selector** | `ProductSecondaryVariantModal` | Shows primary and secondary product choices in a modal and can continue the selected purchase action. |
174
- | **Product card price** | `ProductCardPrice` | Displays the price in the selected currency and the original price when the product is discounted. |
175
- | **Low-stock notice** | `ProductCardStockNotice` | Warns that the product will soon run out of stock. |
176
- | **Product card purchase controls** | `ProductCardActions` | Product-card controls for the cart, quantity, availability notifications and preorder when available. |
177
- | **Preorder dialog** | `ProductPreorderDialog` | The selected product and contact details for a preorder request. |
178
- | **Storefront events** | `EventsBlock` | A full-width carousel of layout-event images for the current storefront language, with responsive image formats. |
179
- | **Event block and promotion enrollment** | `EventEnrollmentDialog` | Displaying the event block and opening promotion enrollment from the selected event. |
180
- | **Footer** | `StorefrontFooter` | Store identity, navigation, a contact-page link and social links. |
181
- | **Social links** | `SocialLinks` | Display the store’s published social links and icons. |
182
- | **Error page** | `StorefrontErrorPage` | Page-not-found (404) and failure (500) page with Home, Catalog and Retry actions. |
183
- | **Storefront theme** | `OrionplaceThemeProvider` | Applies the selected light or dark storefront theme and optional color overrides to its content. |
184
-
185
- ### Catalog and discovery
186
-
187
- Browse categories, search results and product sources.
188
-
189
- | Component | Name | What it does |
190
- | --- | --- | --- |
191
- | **Catalog component** | `StorefrontCatalog` | The component shows store categories, subcategories and product links. |
192
- | **Category page** | `StorefrontCategory` | A category with its breadcrumb path, subcategories, filters and paginated product cards. |
193
- | **Search results** | `ProductSearchResults` | Filters, products, loading and empty states for search, category, seller and recommendation results. |
194
- | **Search filters** | `SearchFilters` | Price, discount, rating, review, category, seller, manufacturer and variant facets with selectable values and optional result counts. |
195
- | **Sellers** | `StorefrontSellers` | Seller directory with filters and sorting, and a seller profile with its products. |
196
- | **Seller filters** | `SellerFilters` | Seller name, minimum rating and category filters for the seller directory. |
197
- | **Seller summary** | `SellerSummary` | Seller logo, name, rating, selling-since badge, product count and description. |
198
- | **Seller photos** | `SellerPhotoGallery` | The seller’s approved photos as a square grid with a photo viewer. |
199
- | **Stores** | `StorefrontStores` | Store addresses, map, phone numbers, opening hours and products. |
200
- | **Manufacturers and their products** | `StorefrontManufacturers` | Alphabetical index, letter-based lists and manufacturer details. |
201
- | **Manufacturer index** | `ManufacturerIndex` | Manufacturer logos and letter groups. |
202
-
203
- ### Products and shopping
204
-
205
- Product details, saved items and the cart.
206
-
207
- | Component | Name | What it does |
208
- | --- | --- | --- |
209
- | **Product details** | `StorefrontProduct` | Loads and displays a published product or a secret-key preview with images, purchase choices, details and reviews. |
210
- | **Page path** | `OrionplaceBreadcrumbs` | Linked path from the storefront home page through parent categories to the current page. |
211
- | **Product characteristics** | `ProductSpecificationsDialog` | Every characteristic of the product in a dialog over the page. |
212
- | **Product reviews** | `ProductReviews` | Reviews, replies, ratings and the user’s submissions. |
213
- | **Review form** | `ProductReviewForm` | Rating, text and photos for a review or reply. |
214
- | **Customer review photos** | `ProductReviewGallery` | Review photos for the selected product. |
215
- | **Review photo viewer** | `ProductReviewImageViewer` | The photos of one review, shown large on the same page. |
216
- | **Promo code products** | `PromoProducts` | The products a promo code offer applies to, with the offer’s conditions. |
217
- | **Wishlist and availability notices** | `StorefrontWishlist` | Saved products and products with availability notifications, shown as standard product cards. |
218
- | **Cart and checkout** | `StorefrontCart` | Cart items, promo codes, delivery, payment and order creation. |
219
- | **Cart item** | `CartLineItem` | Item name, image, price, quantity and removal. |
220
- | **Cart item options** | `CartItemOptions` | Option products as product cards, with text and file attachment for an item. |
221
- | **Checkout details** | `CartCheckoutDetails` | Delivery address, payment method, recipient and comment. |
222
- | **Shipment delivery selection** | `CartDeliverySelector` | Delivery methods with icons, pickup points and their map for one shipment. |
223
- | **Delivery map** | `DeliveryMap` | Selectable locations on Yandex Maps for delivery pickup and the store directory. |
224
-
225
- ### Customer account
226
-
227
- Profile, orders, addresses and account activity.
228
-
229
- | Component | Name | What it does |
230
- | --- | --- | --- |
231
- | **Account sections** | `AccountSection` | Account navigation and sign-in for private storefront sections. |
232
- | **Personal profile** | `StorefrontProfile` | Account overview and forms for personal details, verified email, notification preferences, avatar, password and account deletion. |
233
- | **Profile photo** | `ProfileAvatar` | Upload or remove the current account’s avatar. |
234
- | **Personal details** | `ProfileDetailsForm` | Edit the account holder’s name and date of birth. |
235
- | **Email and notifications** | `ProfileEmailSettings` | Verify an email address and choose optional email-notification and email-language preferences. |
236
- | **Account password** | `ProfilePasswordForm` | Create or change the account password. |
237
- | **Password field** | `OrionplacePasswordInput` | Password input with a button that shows or hides the entered password. |
238
- | **Delete account** | `ProfileDeleteAccount` | Delete the signed-in customer's own account. |
239
- | **Account sign-in** | `ProfileSignIn` | Phone-based account sign-in and registration. |
240
- | **User promo codes** | `AccountPromocodes` | Available promo codes and applying a selected code to the cart. |
241
- | **My activity** | `AccountActivity` | The user’s promo codes, reviews and sign-in history. |
242
- | **Sign-in history** | `SignInHistory` | The user’s sign-in dates, devices, browsers and IP addresses. |
243
- | **User orders** | `StorefrontOrders` | Order history, purchased items, payment, cancellation and repeat. |
244
- | **Order details** | `OrderDetails` | Order items, shipments, tracking, purchased content and attachments. |
245
- | **Order payment selection** | `OrderPaymentForm` | Available payment-method selection for an existing order. |
246
- | **User addresses** | `StorefrontAddresses` | Saved addresses, address editing and default delivery selection. |
247
- | **Address form** | `AddressForm` | Address creation and editing with country selection, region search, text suggestions and location lookup. |
248
- | **Value selector** | `OrionplaceSelect` | Selects one value from a labeled list, with keyboard controls, country flags and option icons. |
249
- | **Search selector** | `OrionplaceSearchSelect` | Selects one value from options searched as the user types, with a loading spinner and retry. |
250
- | **Wallet and payments** | `StorefrontWallet` | Payment history, balance top-ups and cancellation of unpaid invoices. |
251
- | **Wallet top-up form** | `WalletTopUpForm` | Amount, currency and payment-method selection for a wallet top-up. |
252
- | **Payment panel** | `PaymentPanel` | Opens the payment link and lets the user refresh its status. |
253
- | **Pagination** | `StorefrontPagination` | Previous and next controls with the current page for a returned list. |
254
-
255
- ### Subscriptions and support
256
-
257
- Plans, active subscriptions and support requests.
258
-
259
- | Component | Name | What it does |
260
- | --- | --- | --- |
261
- | **Subscription plans** | `StorefrontTariffs` | Plans grouped by subscription, with search, sign-in for guests and subscription purchase. |
262
- | **Subscription plan details** | `StorefrontTariff` | One public plan with its media, description, features, periods, options and subscription purchase. |
263
- | **Subscription plans** | `TariffCards` | Plan cards in a responsive grid. |
264
- | **Subscription plan card** | `TariffCard` | A plan card with its image, trial badge, name, description, the modules and limits of the plan, the option chooser, period prices and subscribe actions. |
265
- | **Plan image** | `TariffCardImage` | The first small plan image. |
266
- | **Plan name** | `TariffCardTitle` | The tariff name in its card, in the selected language. |
267
- | **Plan description** | `TariffCardDescription` | The short plan description without HTML tags, and the full description under Details. |
268
- | **Plan modules, limits and options** | `TariffCardFeatures` | The modules and limits of a plan from `tariff_variables_json`, each with its explanation, and the chooser of the plan options. |
269
- | **Information hint** | `OrionplaceInfoHint` | Small information button that explains the term beside it. |
270
- | **Plan prices** | `TariffCardPrices` | The period switcher, the price for the chosen period and the Subscribe and Try actions. |
271
- | **Plan purchase** | `TariffSubscriptionModal` | Select an option, enter a promotion code and confirm a subscription purchase. |
272
- | **My subscriptions** | `StorefrontSubscriptions` | Subscription dates, plan, usage, service details, automatic renewal, renewal payment and support. |
273
- | **Renewal payment** | `SubscriptionExtendDialog` | The period, the promo code and the amount for extending a subscription. |
274
- | **Automatic renewal** | `SubscriptionRenewalDialog` | The period that is paid automatically, or turning it off. |
275
- | **Plan and option change** | `SubscriptionChangeDialog` | The new plan or service option, its period and the amount that is charged. |
276
- | **Subscription cancellation** | `SubscriptionCancelDialog` | The confirmation that stops automatic renewal and keeps the paid period. |
277
- | **Plan and usage** | `SubscriptionPlanSummary` | The plan picture, description and parameters with the usage the subscription service reported. |
278
- | **Subscription service details** | `SubscriptionRemoteDetails` | The identifier, confirmation time and host a subscription service returned. |
279
- | **Support conversations** | `StorefrontSupport` | Customer support conversations for general questions, sellers, order items and subscriptions. |
280
- | **Conversation messages** | `TicketConversation` | Messages, attachments, conversation closing and support rating. |
281
- | **Conversation item** | `TicketItemCard` | The purchased item a conversation is about, with its image, variant or option, quantity and paid amount. |
282
- | **Subscription of a conversation** | `TicketSubscriptionCard` | The subscription a support conversation is about: plan, number, state, paid-until date and automatic renewal. |
283
- | **Conversation image** | `TicketImage` | Loading and viewing an image from the user’s conversation. |
284
- | **Support message form** | `TicketMessageForm` | Message text and images for a new conversation or reply. |
285
-
286
- ### Content and contact
287
-
288
- Journal content and customer contact flows.
289
-
290
- | Component | Name | What it does |
291
- | --- | --- | --- |
292
- | **Journal** | `StorefrontJournal` | Paged journal of store articles with category and author filters. |
293
- | **Journal article** | `BlogArticle` | An article, subscription access and its discussion. |
294
- | **Article comments** | `BlogComments` | Discussion, replies and the user’s own comments. |
295
- | **Comment form** | `BlogCommentForm` | Text for a new comment, reply or edit. |
296
- | **Blog posts** | `BlogPostGroup` | Publication previews in a grid, list or layout with a lead card. |
297
- | **Blog post card** | `BlogPostCard` | Publication image, localized title, plain-text preview and reading time. |
298
- | **Contact page** | `StorefrontContact` | Company contact and registration details, with a form for messaging the store. |
299
- | **Contact details** | `AboutPage` | Display the store’s published company and contact information. |
300
- | **Contact form** | `ContactForm` | Sending a question to the store. |
301
- | **Unsubscribe from emails** | `EmailUnsubscribe` | Confirming an unsubscribe request from an email link. |
302
- | **Privacy policy page** | `StorefrontPrivacy` | The store’s personal data policy with a cookies section and the operator’s details. |
303
- | **Cookie notice** | `CookieNotice` | A small notice about the necessary cookies with a link to the cookies section of the policy. |
304
-
305
- ### Shared interface
306
-
307
- Small reusable states and identity elements.
308
-
309
- | Component | Name | What it does |
310
- | --- | --- | --- |
311
- | **Empty state** | `OrionplaceEmptyState` | Line drawing and message shown when a list, history or search result has no items. |
312
- | **Avatar** | `OrionplaceAvatar` | Round user photo with initials when no photo is available. |
313
- | **Storefront image** | `OrionplaceImage` | Loads a safe public image lazily and shows an accessible placeholder when the image is missing or fails. |
314
- | **Measurement unit selector** | `UnitSwitcher` | Selects a weight or length unit from those available in the storefront. |
315
-
316
- <!-- components:end -->
317
-
318
- ## Commands
319
-
320
- ```bash
321
- npx orionplace-svelte init [directory]
322
- npx orionplace-svelte update
323
- npx orionplace-svelte set backend your-project.orionplace.app
324
- npx orionplace-svelte add frontend shop.example.com
325
- npx orionplace-svelte add frontend www.shop.example.com
326
- npx orionplace-svelte remove frontend www.shop.example.com
327
- npx orionplace-svelte set mimic shop.example.com
328
- npx orionplace-svelte sitemap rebuild [shop.example.com]
329
- npx orionplace-svelte sitemap status
330
- sudo npx orionplace-svelte install
331
- npx orionplace-svelte status
332
- sudo npx orionplace-svelte restart
333
- npx orionplace-svelte help
334
- ```
335
-
336
- Either domain command can run first. Both settings are needed for a usable mapping.
337
- After setup, these npm script aliases are also available:
338
-
339
- ```bash
340
- npm run orionplace:backend -- your-project.orionplace.app
341
- npm run orionplace:add-frontend -- shop.example.com
342
- npm run orionplace:remove-frontend -- www.shop.example.com
343
- npm run orionplace:mimic -- shop.example.com
344
- npm run orionplace:help
345
- npm run orionplace:update
346
- npm run orionplace:sitemap
347
- ```
348
-
349
- The storefront serves `/robots.txt` and `/sitemap.xml` (public pages, categories,
350
- products and journal publications in every language). The sitemap is rebuilt
351
- from the backend once an hour; `npm run orionplace:sitemap` rebuilds it at once,
352
- for example after new publications, and the running storefront serves it without
353
- a restart.
354
-
355
- `npm set` belongs to npm's own configuration system; use the commands above.
356
- The setup commands configure local integration files. They do not provision a
357
- backend, change your account or create DNS records. `install` deploys the
358
- storefront on your server; see [Install on your server](#install-on-your-server).
359
-
360
- ## Install on your server
361
-
362
- Prepare a Linux server once with the OrionMarketplace server script: it installs
363
- Node.js, nginx and certbot and adds the `orionplace` command
364
- ([server guide](https://orionmarket.place/en/sandbox/install)).
6
+ In a project made with orionplace-svelte:
365
7
 
366
8
  ```bash
367
- curl -fsSLo orionplace.sh https://orionmarket.place/downloads/orionplace.sh
368
- sudo sh orionplace.sh setup
9
+ npx basklee-svelte update
369
10
  ```
370
11
 
371
- Then create the storefront in `/srv/orionplace` and install it:
372
-
373
- ```bash
374
- cd /srv/orionplace
375
- sudo npx --yes orionplace-svelte init shop
376
- cd shop
377
- sudo npm install
378
- sudo npx orionplace-svelte install
379
- ```
380
-
381
- `install` asks for your backend and storefront domain when they are missing,
382
- builds the project, runs it as the system service `orionplace-shop` on a free
383
- local port and connects each storefront domain with nginx and a Let's Encrypt
384
- certificate. Run it again after code or package updates; the service keeps its
385
- port. Options: `--name <service>`, `--port <port>`, `--user <user>`,
386
- `--no-build` (install the build already in the folder), `--no-domains`, `--yes`,
387
- `--dry-run`. Full guide:
388
- [Install a storefront](https://orionmarket.place/en/sandbox/install/storefront?framework=svelte).
389
-
390
- ### Manage the service
391
-
392
- Run these in the project folder, or name the service from anywhere with
393
- `--name shop`:
394
-
395
- ```bash
396
- npx orionplace-svelte status # running?, autostart, port, home page answer, domains
397
- sudo npx orionplace-svelte start
398
- sudo npx orionplace-svelte stop
399
- sudo npx orionplace-svelte restart # waits until the home page answers again
400
- sudo npx orionplace-svelte logs 200 # last log lines; --follow keeps reading
401
- npx orionplace-svelte list # every storefront service on this server
402
- sudo npx orionplace-svelte uninstall # stop and remove the service (alias: cleanup)
403
- ```
404
-
405
- `start` and `restart` wait up to 90 seconds for the home page and print the
406
- last log lines when it does not answer. `status` ends with code 3 when the
407
- storefront is stopped or does not answer, so scripts and monitors can use it.
408
- `uninstall` (or `cleanup`) stops the service, takes it out of autostart and
409
- deletes its unit file and registration; the project folder and its build stay.
410
- With the `orionplace` server tool it runs `orionplace app remove`, which also
411
- turns the storefront's domains into a placeholder page. `--dry-run` shows what it
412
- would remove; `--yes` skips the question.
413
-
414
- ## Generated files
415
-
416
- | Path | Purpose |
417
- | --- | --- |
418
- | `src/routes/api/[...orionplace]/+server.ts` | Route serving `/api/...` from your project. |
419
- | `src/routes/ps3/blog/[...orionplace]/+server.ts` | Route serving guarded blog images and videos under `/ps3/blog/...`. |
420
- | `src/routes/+layout.server.ts` | Initializes Application Load before your pages render. |
421
- | `src/routes/+layout.svelte` | Creates the store for this session and puts it in context. |
422
- | `src/routes/+page.svelte` | Home page using the maintained storefront components. |
423
- | `src/hooks.server.ts` | Marks personalized pages `private, no-store` and varies them by domain. |
424
- | `src/lib/orionplace/` | Server transport with cookie relay, browser transport, envelope checks, domain resolution. |
425
- | `src/lib/orionplace/store.svelte.ts` | Typed snapshot, status, merged discovery and derived data as Svelte 5 runes. |
426
- | `src/lib/interfaces/orionplace/` | The Application Load response envelope and every nested model. |
427
- | `svelte.config.js`, `vite.config.ts` | Node adapter, and your storefront domains as allowed development hosts. |
428
- | `orionplace/runtime/marketplace.mjs` | Commented domain lookup and HTTP transport. |
429
- | `orionplace/runtime/app.mjs` | `androidAppKit` and `androidAppDefine`: the Android app build switch. |
430
- | `orionplace/README.md` | Your settings, API examples, file explanations, verification and VPS deployment. |
431
- | `orionplace/settings.json` | Domain values selected by the CLI. |
432
- | `orionplace/.generated.json` | File hashes used to preserve your edits on subsequent setup. |
433
- | `sitemaps/shop.example.com.cfg` | One line: `https://your-project.orionplace.app/api`. |
434
- | `.env` | `MIMIC_FRONT_DOMAIN="shop.example.com"` for localhost. |
435
- | `.vscode/settings.json` | Tells the editor's CSS checker to accept Tailwind's `@apply`, `@reference` and `@theme`. An existing file is kept. |
436
-
437
- `npm run check` runs `svelte-check` with TypeScript and Svelte diagnostics
438
- (`--diagnostic-sources "js,svelte"`): the CSS checker does not know Tailwind's
439
- at-rules and would report every `@apply` as unknown. Setup upgrades the former
440
- default script and keeps a script you changed.
441
-
442
- All generated source is yours to read and customize. Later setup runs preserve
443
- edited files and report which ones were preserved. Unchanged generated files can
444
- be refreshed with `npx orionplace-svelte update`. A manually edited domain file is
445
- never silently overwritten. Keep the hash manifest in version control.
446
-
447
- ## Multiple frontend domains
448
-
449
- Each frontend gets its own `sitemaps/<domain>.cfg`. `add frontend` preserves other
450
- domains and can be repeated safely. `set backend` updates every CLI-managed mapping
451
- to the new personal API; it refuses to overwrite a manually edited mapping.
452
-
453
- A new project starts with `MIMIC_FRONT_DOMAIN=""` in `.env`. Setting a backend
454
- alone leaves it empty. The first added frontend becomes MIMIC; further additions
455
- preserve that choice. `set mimic <domain>` selects an already-added frontend and
456
- updates MIMIC without changing any domain mappings. Unknown domains are rejected;
457
- add them with `add frontend` first.
458
-
459
- `help`, `--help`, and `-h` display commands without writing files. The legacy
460
- `set frontend <domain>` shortcut remains supported: it adds and selects a domain.
461
-
462
- `remove frontend <domain>` removes that domain from the list and deletes only its
463
- unchanged generated `.cfg`. Removing the MIMIC domain selects the first remaining
464
- domain. Removing the last one clears MIMIC. Unknown or edited mappings cause a
465
- clear error without changing files. Unrelated configurations remain untouched.
466
-
467
- Restart development after domain changes so Vite reloads its allowed hosts and
468
- SvelteKit reloads `.env`. Production reloads mapping files on each API request;
469
- reload the process environment when changing MIMIC. Configure DNS, TLS, and the
470
- hosting proxy for each frontend separately.
471
-
472
- ## Runtime behavior
473
-
474
- The hosting proxy must overwrite `X-Front-Domain`, `X-Forwarded-Host`, and `Host`.
475
- The gateway selects the first valid public domain in that order, with the request
476
- URL hostname as another fallback. On localhost it uses `MIMIC_FRONT_DOMAIN`.
477
- An unknown public domain returns `503`; it never uses another domain's mapping.
478
-
479
- The corresponding `.cfg` is read on every request. Backend URLs must use HTTPS,
480
- end in `/api`, and belong to `*.orionplace.app`. API methods, query strings, bodies,
481
- authorization and cookies are forwarded. Backend statuses are retained and cookie
482
- Domain attributes are removed to bind cookies to the storefront. Gateway responses
483
- use `Cache-Control: no-store`, except public blog images and videos: they keep the
484
- backend's `private, max-age` rule, so the browser does not download them again on
485
- every page. When the network drops the connection before the backend answers, GET,
486
- HEAD and Application Load requests are sent once more on a new connection; other
487
- requests are never repeated. Network failures return `502`.
488
-
489
- A changing request (POST, PUT, PATCH, DELETE) from another site is rejected with
490
- `403`. A request from the page's own host or the storefront domain passes, and the
491
- backend receives it with the storefront domain's origin
492
- (`https://shop.example.com`), the one it accepts forms from. So a host that shows
493
- the storefront through `X-Front-Domain`, such as a preview host or a local port,
494
- can sign in too.
495
-
496
- SvelteKit ignores a request body sent without a `Content-Type` header, so always
497
- set it on your own API calls; browsers do this automatically for `fetch`.
498
-
499
- Browser requests use `/api/...`. Server loads call the same gateway in process
500
- through `src/lib/orionplace/appLoadServer.ts`, which forwards the current
501
- request's domain, cookies and language.
502
-
503
- Deploy `sitemaps` with the production server, or set an absolute `SITEMAPS_DIR`.
504
- The production process reads `MIMIC_FRONT_DOMAIN` without rebuilding. Run the
505
- server from the project root or explicitly point it at the configuration directory.
506
-
507
- ## Native storefront
508
-
509
- The starter includes Svelte components and SvelteKit routes for catalog and
510
- product search, product details and variants, journal articles and comments,
511
- manufacturer, seller and store directories, contact, tariffs, account, addresses,
512
- cart, orders, wallet, subscriptions and tickets. Public route loads reuse the
513
- layout snapshot and request the detail data needed for their first render.
514
- Protected routes take a guest to sign-in and preserve the return path.
515
-
516
- Components in `src/lib/components/orionplace/` use scoped Svelte state and
517
- controllers in `src/lib/composables/`. Their callback payloads correspond to
518
- the maintained Nuxt events. The package's component READMEs describe inputs,
519
- data and actions; `orionplace/COMPONENTS.md` lists their customer paths.
520
-
521
- Page titles, descriptions and link-preview metadata follow the current page
522
- and selected language, including client navigation. Public events and banner
523
- images come from Application Load.
524
- Pages with a canonical address also link the same page in the other storefront languages (`hreflang`) and set `og:type` and `og:locale`; a journal article adds its publication date (`article:published_time`) and schema.org `BlogPosting` data. The store icon (`logos.ico`) is the page's `<link rel="icon">`. An unknown `?locale` opens the default language.
525
-
526
- List pages (journal, categories, stores) link their previous and next pages as real links (`?page=2`). Each later page has its own canonical address and a title with its page number; a journal page past the last one answers 404.
527
-
528
- ## Application Load starter
529
-
530
- The root layout load awaits `POST /api/appload` before your pages
531
- render and returns the snapshot to every route, so `await parent()` in a page load
532
- reuses it instead of requesting again. The root layout component creates one store
533
- per browser session and hydrates it from that snapshot; components read it with
534
- `getOrionplaceContext()`. Reading the store never starts a request, and
535
- initialization never opens an authentication prompt. `store.refresh()` reloads
536
- explicitly, and SvelteKit's `invalidateAll()` also works: the layout load runs
537
- again and the store adopts the new snapshot.
538
-
539
- Live discovery from `page_data.unauth.paths` and, for a signed-in session,
540
- `page_data.auth.paths`, is merged into one lookup without mutating the response.
541
- Discovery describes availability; the backend still checks permissions on each call.
542
-
543
- ### Session and CSRF cookies
544
-
545
- Application Load establishes the guest/customer session and CSRF cookie through HTTP
546
- `Set-Cookie` headers, not through `page_data.init`. The browser handles the signed
547
- HttpOnly `sessionid` cookie; never parse, rewrite, log or store its value in the
548
- store or localStorage. The readable `csrftoken` supplies `X-CSRFToken` for later
549
- protected requests through the same-origin `/api/` gateway with credentials enabled.
550
- Read the CSRF cookie again for every action because login can rotate it.
551
-
552
- During a server render the layout load forwards the incoming cookies and relays
553
- each backend `Set-Cookie` separately through SvelteKit's cookie API, preserving
554
- the exact signed value and its attributes. Cookies established this way are also
555
- visible to later calls in the same render. Never share a cookie jar across visitors.
556
-
557
- Use `POST /api/csrf_renew` with `{}` to renew CSRF, then re-read the cookie.
558
- The backend signals CSRF rejection with HTTP `419`, or HTTP `403` with
559
- `page_data.csrf: false`. A `403` without that flag may mean permissions or
560
- origin rejection. The shared API client renews the token for the next action
561
- and returns the failed request; the customer retries explicitly. After
562
- confirmed login/logout, reset and refresh Application Load.
563
- Those store actions update data; they do not authenticate or delete cookies.
564
-
565
-
566
- When a request returns HTTP `401` while the store is signed in, the shared API
567
- client clears profile, wallet, authenticated discovery, cart and wishlist counters
568
- and account fields of cached products, then reloads Application Load as a guest.
569
- Public data and the current selections remain available during that refresh.
570
- The failed request is not repeated and no sign-in dialog opens automatically.
571
-
572
- ## Update an existing project
573
-
574
- After the initial setup, use one command to get the latest package and components:
575
-
576
- ```bash
577
- npx orionplace-svelte update
578
- ```
579
-
580
- It runs the latest CLI, adds new template files, refreshes unchanged generated
581
- files, updates the package dependency and runs `npm install` to synchronize the
582
- lockfile and installed dependencies. Edited files are preserved and listed in the
583
- output. Review their new versions under `node_modules/orionplace-svelte/templates`
584
- or `runtime` and merge your changes manually when needed. Removed upstream files
585
- are retained locally; the updater does not delete customer source.
586
-
587
- Domain mappings, domain settings and `.env` remain unchanged. The command does
588
- not deploy your application: restart development, or rebuild and redeploy the
589
- production frontend after updating.
590
-
591
- ```bash
592
- npx orionplace-svelte update --dry-run
593
- npm run orionplace:update
594
- ```
595
-
596
- Dry-run downloads the latest CLI into npm's cache to inspect its templates but
597
- leaves project files and dependencies unchanged. `update --local` applies the
598
- version of the CLI being executed instead of fetching the latest CLI; it still
599
- installs project dependencies. Use this only when intentionally selecting a version.
600
-
601
- Updates require the existing `orionplace/settings.json` and `.generated.json`.
602
- Conflicting untracked files stop the source update before any writes. If dependency
603
- installation fails after source generation, run `npm install` and retry `update`.
604
-
605
- ## Documentation
606
-
607
- - [Create a SvelteKit frontend](https://orionmarket.place/en/sandbox/new-project/svelte)
608
- - [Marketplace API documentation](https://orionmarket.place/en/sandbox/)
609
-
610
- ## Development
611
-
612
- In this repository checkout, the package demo uses its own
613
- `packages/orionplace-svelte/.env` and
614
- `packages/orionplace-svelte/sitemaps/<storefront-domain>.cfg`.
615
- Set the storefront's `MIMIC_FRONT_DOMAIN` and personal backend mapping there.
616
- See [local demo configuration](DEVELOPMENT.md#local-demo-configuration).
617
-
618
-
619
- ```bash
620
- npm install
621
- npm test
622
- npm pack --dry-run
623
- ```
624
-
625
- The published tarball includes only the CLI, runtime source, README, license,
626
- starter templates, and package metadata.
627
-
628
- ## Storefront flows
629
-
630
- The generated storefront includes product and category pages, search, wishlist,
631
- cart and checkout, orders, support tickets, profile and phone sign-in, addresses,
632
- wallet, subscriptions, tariffs, journal, promotions, contacts and event enrollment.
633
- Public product, category, search, featured, journal, article and tariff routes
634
- await their first response during server loading and hydrate the same data.
635
- Account routes send a confirmed guest to the profile sign-in flow and preserve
636
- the return address. Form requests begin after visitor interaction.
637
-
638
- Component source lives in `src/lib/components/orionplace/`; controllers live in
639
- `src/lib/composables/`. `orionplace/COMPONENTS.md` describes the component catalog.
640
- The store is scoped to one render on the server and the root layout in the
641
- browser. It preserves valid selections when Application Load refreshes. HTTP
642
- 401 clears account data and refreshes the guest session without repeating the
643
- failed mutation. API validation errors remain beside the affected form.
12
+ The update renames the project to the new names first (a backup of every changed file goes to
13
+ `.basklee-backup-<date>/`; `--dry-run` lists the changes). New projects: `npx basklee-svelte init`.