basklee-nuxt 0.9.0 → 0.9.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +34 -34
- package/package.json +2 -2
- package/src/project-readme.mjs +26 -25
- package/templates/app/components/basklee/account/AccountActivity.README.md +2 -2
- package/templates/app/components/basklee/account/AccountPromocodes.README.md +2 -2
- package/templates/app/components/basklee/account/AccountSection.README.md +2 -2
- package/templates/app/components/basklee/account/SignInHistory.README.md +2 -2
- package/templates/app/components/basklee/account/StorefrontLogout.README.md +2 -2
- package/templates/app/components/basklee/account/StorefrontProfile.README.md +10 -10
- package/templates/app/components/basklee/address/AddressForm.README.md +2 -2
- package/templates/app/components/basklee/address/StorefrontAddresses.README.md +2 -2
- package/templates/app/components/basklee/blog/BlogArticle.README.md +2 -2
- package/templates/app/components/basklee/blog/BlogCommentForm.README.md +2 -2
- package/templates/app/components/basklee/blog/BlogComments.README.md +2 -2
- package/templates/app/components/basklee/blog/StorefrontJournal.README.md +2 -2
- package/templates/app/components/basklee/cart/CartCheckoutDetails.README.md +2 -2
- package/templates/app/components/basklee/cart/CartDeliverySelector.README.md +3 -3
- package/templates/app/components/basklee/cart/CartItemOptions.README.md +3 -3
- package/templates/app/components/basklee/cart/CartLineItem.README.md +3 -3
- package/templates/app/components/basklee/cart/CartPreview.README.md +2 -2
- package/templates/app/components/basklee/cart/DeliveryMap.README.md +2 -2
- package/templates/app/components/basklee/cart/StorefrontCart.README.md +2 -2
- package/templates/app/components/basklee/catalog/StorefrontCatalog.README.md +2 -2
- package/templates/app/components/basklee/categories/StorefrontCategory.README.md +2 -2
- package/templates/app/components/basklee/contact/AboutPage.README.md +2 -2
- package/templates/app/components/basklee/contact/ContactForm.README.md +2 -2
- package/templates/app/components/basklee/contact/EmailUnsubscribe.README.md +2 -2
- package/templates/app/components/basklee/contact/StorefrontContact.README.md +2 -2
- package/templates/app/components/basklee/events/EventEnrollmentDialog.README.md +2 -2
- package/templates/app/components/basklee/legal/CookieNotice.README.md +2 -2
- package/templates/app/components/basklee/legal/StorefrontPrivacy.README.md +2 -2
- package/templates/app/components/basklee/manufacturers/ManufacturerIndex.README.md +2 -2
- package/templates/app/components/basklee/manufacturers/StorefrontManufacturers.README.md +2 -2
- package/templates/app/components/basklee/orders/OrderDetails.README.md +2 -2
- package/templates/app/components/basklee/orders/OrderPaymentForm.README.md +3 -3
- package/templates/app/components/basklee/orders/StorefrontOrders.README.md +2 -2
- package/templates/app/components/basklee/payments/PaymentPanel.README.md +3 -3
- package/templates/app/components/basklee/products/ProductCard.README.md +2 -2
- package/templates/app/components/basklee/products/ProductCardActions.README.md +2 -2
- package/templates/app/components/basklee/products/ProductPreorderDialog.README.md +2 -2
- package/templates/app/components/basklee/products/ProductReviewForm.README.md +2 -2
- package/templates/app/components/basklee/products/ProductReviewGallery.README.md +2 -2
- package/templates/app/components/basklee/products/ProductReviewImageViewer.README.md +2 -2
- package/templates/app/components/basklee/products/ProductReviews.README.md +2 -2
- package/templates/app/components/basklee/products/ProductSpecificationsDialog.README.md +2 -2
- package/templates/app/components/basklee/products/StorefrontProduct.README.md +2 -2
- package/templates/app/components/basklee/products/StorefrontWishlist.README.md +2 -2
- package/templates/app/components/basklee/promo/PromoProducts.README.md +2 -2
- package/templates/app/components/basklee/search/ProductSearchResults.README.md +2 -2
- package/templates/app/components/basklee/search/SearchFilters.vue +9 -0
- package/templates/app/components/basklee/sellers/SellerFilters.README.md +2 -2
- package/templates/app/components/basklee/sellers/SellerPhotoGallery.README.md +2 -2
- package/templates/app/components/basklee/sellers/SellerSummary.README.md +2 -2
- package/templates/app/components/basklee/sellers/StorefrontSellers.README.md +2 -2
- package/templates/app/components/basklee/shared/BaskleeAvatar.README.md +2 -2
- package/templates/app/components/basklee/shared/BaskleeBreadcrumbs.README.md +2 -2
- package/templates/app/components/basklee/shared/BaskleeEmptyState.README.md +2 -2
- package/templates/app/components/basklee/shared/BaskleeInfoHint.README.md +2 -2
- package/templates/app/components/basklee/shared/BaskleePasswordInput.README.md +2 -2
- package/templates/app/components/basklee/shared/BaskleeSearchSelect.README.md +2 -2
- package/templates/app/components/basklee/shared/BaskleeSelect.README.md +2 -2
- package/templates/app/components/basklee/shared/StorefrontErrorPage.README.md +2 -2
- package/templates/app/components/basklee/shared/StorefrontPagination.README.md +2 -2
- package/templates/app/components/basklee/storefront/StorefrontAccount.README.md +1 -1
- package/templates/app/components/basklee/storefront/StorefrontFooter.README.md +4 -4
- package/templates/app/components/basklee/storefront/StorefrontHome.README.md +5 -5
- package/templates/app/components/basklee/stores/StorefrontStores.README.md +2 -2
- package/templates/app/components/basklee/subscriptions/StorefrontSubscriptions.README.md +3 -3
- package/templates/app/components/basklee/subscriptions/StorefrontTariff.README.md +2 -2
- package/templates/app/components/basklee/subscriptions/StorefrontTariffs.README.md +2 -2
- package/templates/app/components/basklee/subscriptions/SubscriptionCancelDialog.README.md +4 -4
- package/templates/app/components/basklee/subscriptions/SubscriptionChangeDialog.README.md +5 -5
- package/templates/app/components/basklee/subscriptions/SubscriptionExtendDialog.README.md +4 -4
- package/templates/app/components/basklee/subscriptions/SubscriptionPlanSummary.README.md +5 -5
- package/templates/app/components/basklee/subscriptions/SubscriptionRemoteDetails.README.md +5 -5
- package/templates/app/components/basklee/subscriptions/SubscriptionRenewalDialog.README.md +5 -5
- package/templates/app/components/basklee/support/StorefrontSupport.README.md +2 -2
- package/templates/app/components/basklee/support/TicketConversation.README.md +2 -2
- package/templates/app/components/basklee/support/TicketImage.README.md +2 -2
- package/templates/app/components/basklee/support/TicketItemCard.README.md +2 -2
- package/templates/app/components/basklee/support/TicketMessageForm.README.md +2 -2
- package/templates/app/components/basklee/support/TicketSubscriptionCard.README.md +2 -2
- package/templates/app/components/basklee/tariffs/TariffCard.README.md +2 -2
- package/templates/app/components/basklee/tariffs/TariffCardDescription.README.md +2 -2
- package/templates/app/components/basklee/tariffs/TariffCardFeatures.README.md +2 -2
- package/templates/app/components/basklee/tariffs/TariffCardImage.README.md +2 -2
- package/templates/app/components/basklee/tariffs/TariffCardPrices.README.md +2 -2
- package/templates/app/components/basklee/tariffs/TariffCardTitle.README.md +2 -2
- package/templates/app/components/basklee/tariffs/TariffCards.README.md +2 -2
- package/templates/app/components/basklee/tariffs/TariffSubscriptionModal.README.md +2 -2
- package/templates/app/components/basklee/wallet/StorefrontWallet.README.md +3 -3
- package/templates/app/components/basklee/wallet/WalletTopUpForm.README.md +2 -2
- package/templates/app/interfaces/basklee/products/IProductSearchApi.ts +2 -0
- package/templates/app/interfaces/basklee/products/IProductSearchFacets.ts +2 -0
- package/templates/app/pages/product/[id].vue +6 -0
- package/templates/app/utils/basklee/browseLabels.ts +3 -0
- package/templates/app/utils/basklee/productStructuredData.ts +18 -4
- package/templates/basklee/COMPONENTS.md +58 -58
package/README.md
CHANGED
|
@@ -39,7 +39,7 @@ dialog, opens the previous page, or leaves the app on the first page. With
|
|
|
39
39
|
`@capacitor/filesystem` and `@capacitor/share`, a purchased file is saved in
|
|
40
40
|
the app and opened from the Android share sheet. Without
|
|
41
41
|
the variable nothing changes. Setup, build and release steps:
|
|
42
|
-
[Android app guide](https://basklee.com/en/sandbox/android-app).
|
|
42
|
+
[Android app guide](https://docs.basklee.com/en/sandbox/android-app).
|
|
43
43
|
|
|
44
44
|
```bash
|
|
45
45
|
BASKLEE_APP_ORIGIN=https://shop.example.com npx nuxt generate
|
|
@@ -186,7 +186,7 @@ Browse categories, search results and product sources.
|
|
|
186
186
|
| **Catalog component** | `StorefrontCatalog` | The component shows store categories, subcategories and product links. |
|
|
187
187
|
| **Category page** | `StorefrontCategory` | A category with its breadcrumb path, subcategories, filters and paginated product cards. |
|
|
188
188
|
| **Search results** | `ProductSearchResults` | Filters, products, loading and empty states for search, category, seller and recommendation results. |
|
|
189
|
-
| **Search filters** | `SearchFilters` | Price, discount, rating, review, category, seller, manufacturer and variant facets with selectable values and optional result counts. |
|
|
189
|
+
| **Search filters** | `SearchFilters` | Price, discount, stock, rating, review, category, seller, manufacturer and variant facets with selectable values and optional result counts. |
|
|
190
190
|
| **Sellers** | `StorefrontSellers` | Seller directory with filters and sorting, and a seller profile with its products. |
|
|
191
191
|
| **Seller filters** | `SellerFilters` | Seller name, minimum rating and category filters for the seller directory. |
|
|
192
192
|
| **Seller summary** | `SellerSummary` | Seller logo, name, rating, selling-since badge, product count and description. |
|
|
@@ -356,7 +356,7 @@ storefront on your server; see [Install on your server](#install-on-your-server)
|
|
|
356
356
|
|
|
357
357
|
Prepare a Linux server once with the Basklee server script: it installs
|
|
358
358
|
Node.js, nginx and certbot and adds the `basklee` command
|
|
359
|
-
([server guide](https://basklee.com/en/sandbox/install)).
|
|
359
|
+
([server guide](https://docs.basklee.com/en/sandbox/install)).
|
|
360
360
|
|
|
361
361
|
```bash
|
|
362
362
|
curl -fsSLo basklee.sh https://basklee.com/downloads/basklee.sh
|
|
@@ -380,7 +380,7 @@ certificate. Run it again after code or package updates; the service keeps its
|
|
|
380
380
|
port. Options: `--name <service>`, `--port <port>`, `--user <user>`,
|
|
381
381
|
`--no-build` (install the build already in the folder), `--no-domains`, `--yes`,
|
|
382
382
|
`--dry-run`. Full guide:
|
|
383
|
-
[Install a storefront](https://basklee.com/en/sandbox/install/storefront).
|
|
383
|
+
[Install a storefront](https://docs.basklee.com/en/sandbox/install/storefront).
|
|
384
384
|
|
|
385
385
|
### Manage the service
|
|
386
386
|
|
|
@@ -515,10 +515,10 @@ List pages (journal, categories, stores) link their previous and next pages as r
|
|
|
515
515
|
|
|
516
516
|
## Documentation
|
|
517
517
|
|
|
518
|
-
- [Create a Nuxt frontend](https://basklee.com/en/sandbox/new-project/nuxt)
|
|
519
|
-
- [Install the Nuxt package and connect your personal backend](https://basklee.com/en/sandbox/new-project/nuxt)
|
|
520
|
-
- [Marketplace API documentation](https://basklee.com/en/sandbox/)
|
|
521
|
-
- [Android app for your Nuxt storefront](https://basklee.com/en/sandbox/android-app)
|
|
518
|
+
- [Create a Nuxt frontend](https://docs.basklee.com/en/sandbox/new-project/nuxt)
|
|
519
|
+
- [Install the Nuxt package and connect your personal backend](https://docs.basklee.com/en/sandbox/new-project/nuxt)
|
|
520
|
+
- [Marketplace API documentation](https://docs.basklee.com/en/sandbox/)
|
|
521
|
+
- [Android app for your Nuxt storefront](https://docs.basklee.com/en/sandbox/android-app)
|
|
522
522
|
|
|
523
523
|
## Development
|
|
524
524
|
|
|
@@ -559,7 +559,7 @@ Catalog, other statuses show “Something went wrong” with Retry and Home. Pag
|
|
|
559
559
|
use `noindex, nofollow`; customers never see error messages or stack traces.
|
|
560
560
|
The not-found page keeps the header and footer when Application Load succeeded;
|
|
561
561
|
otherwise, and for failures, it renders without the layout. See the
|
|
562
|
-
[error page guide](https://basklee.com/en/sandbox/components/nuxt/error-page).
|
|
562
|
+
[error page guide](https://docs.basklee.com/en/sandbox/components/nuxt/error-page).
|
|
563
563
|
`/product/:id`, `/tariffs/:slug/:id`, `/category/:id`, `/browse`, `/featured`,
|
|
564
564
|
`/journal` and `/journal/:id` load their first data while the server renders
|
|
565
565
|
the page, with
|
|
@@ -592,7 +592,7 @@ wallet balance. Its `signIn`, `signOut`, `selectProfile` and `selectWallet` even
|
|
|
592
592
|
by the host; the generated layout opens `/profile` for sign-in (with the current
|
|
593
593
|
page in `redirect`, where the user returns after sign-in) and profile
|
|
594
594
|
selection, `/logout` for sign-out and `/wallet` for wallet selection. The component does not
|
|
595
|
-
submit credentials or create payments. Its [EN/RU preview and source downloads](https://basklee.com/en/sandbox/appload/nuxt/init/is_authenticated)
|
|
595
|
+
submit credentials or create payments. Its [EN/RU preview and source downloads](https://docs.basklee.com/en/sandbox/appload/nuxt/init/is_authenticated)
|
|
596
596
|
share the maintained package component. `StorefrontWishlistButton` and
|
|
597
597
|
`StorefrontCartButton` display counts from `store.counters`. Their clicks emit
|
|
598
598
|
`selectWishlist` and `selectCart` through the header without changing data;
|
|
@@ -624,10 +624,10 @@ index beside the journal. The page renders `StorefrontManufacturers`, which load
|
|
|
624
624
|
the index itself. Letter and manufacturer selections are `ManufacturerIndex`
|
|
625
625
|
events; `StorefrontManufacturers` handles them by loading that letter's or that
|
|
626
626
|
manufacturer's records through `manufactures_manufactures_get`. See the
|
|
627
|
-
[component reference](https://basklee.com/en/sandbox/components/nuxt/manufacturer-index)
|
|
627
|
+
[component reference](https://docs.basklee.com/en/sandbox/components/nuxt/manufacturer-index)
|
|
628
628
|
for its contract, live preview and source downloads.
|
|
629
629
|
|
|
630
|
-
The website [Components section](https://basklee.com/en/sandbox/components/nuxt)
|
|
630
|
+
The website [Components section](https://docs.basklee.com/en/sandbox/components/nuxt)
|
|
631
631
|
sits beside Application Load and documents Header with its child components,
|
|
632
632
|
plus ProductGroup, ProductCard and its parts. Both English and Russian guides provide live
|
|
633
633
|
previews, contracts and physical source downloads.
|
|
@@ -638,7 +638,7 @@ initialization field to its consumers. Configuration, session flags and shared
|
|
|
638
638
|
counters have data references with links to the features that use them.
|
|
639
639
|
The catalog is also installed as `basklee/COMPONENTS.md`.
|
|
640
640
|
|
|
641
|
-
The [Application Load sandbox](https://basklee.com/en/sandbox/appload/nuxt) renders
|
|
641
|
+
The [Application Load sandbox](https://docs.basklee.com/en/sandbox/appload/nuxt) renders
|
|
642
642
|
these physical components and lets you edit their input locally. Component
|
|
643
643
|
selections emit events; account, cart and subscription requests remain the host
|
|
644
644
|
application's responsibility.
|
|
@@ -673,7 +673,7 @@ It includes theme variables and utilities without a global CSS reset, preserving
|
|
|
673
673
|
your application's base styles. An existing Tailwind Vite plugin is reused.
|
|
674
674
|
It requires no Sass or translation plugin. Keyboard focus changes the existing border and background;
|
|
675
675
|
controls do not use outlines. The
|
|
676
|
-
[locale sandbox](https://basklee.com/en/sandbox/appload/nuxt/init/locale)
|
|
676
|
+
[locale sandbox](https://docs.basklee.com/en/sandbox/appload/nuxt/init/locale)
|
|
677
677
|
previews the same component and provides its source and locale types.
|
|
678
678
|
|
|
679
679
|
### Themes
|
|
@@ -722,7 +722,7 @@ reloads for the guest session. The failed request is not repeated and no
|
|
|
722
722
|
sign-in dialog opens; a guest `401`, `403`, CSRF rejection or network failure
|
|
723
723
|
stays an ordinary request error.
|
|
724
724
|
|
|
725
|
-
See the [cookie lifecycle and browser example](https://basklee.com/en/sandbox/appload/nuxt#session-cookies)
|
|
725
|
+
See the [cookie lifecycle and browser example](https://docs.basklee.com/en/sandbox/appload/nuxt#session-cookies)
|
|
726
726
|
for exact source references and a copyable component.
|
|
727
727
|
|
|
728
728
|
## Update an existing project
|
|
@@ -828,7 +828,7 @@ If AppLoad has no new products, the generated home page uses
|
|
|
828
828
|
`store.setHomeNewProducts(products, sellers)` stores the confirmed products and IDs.
|
|
829
829
|
A failed request can be retried explicitly. AppLoad refresh/reset clears the
|
|
830
830
|
supplemental IDs and cancels stale results. The home component itself does not
|
|
831
|
-
request products. The [Home guide](https://basklee.com/en/sandbox/components/nuxt/home#groups)
|
|
831
|
+
request products. The [Home guide](https://docs.basklee.com/en/sandbox/components/nuxt/home#groups)
|
|
832
832
|
documents the rules and lets readers edit existing products in its preview.
|
|
833
833
|
|
|
834
834
|
`productLimit` defaults to 12 per section. More reveals the rest of the
|
|
@@ -868,26 +868,26 @@ slot receives `section`, `productIds`, `collection`, `disabled` and the current
|
|
|
868
868
|
`limit`; preserve `productIds` to retain each section’s grouping. The other slots
|
|
869
869
|
receive no props. Slots render only when their section has data. Replacement
|
|
870
870
|
content owns its event bindings. Source and child guides are under
|
|
871
|
-
[Storefront home](https://basklee.com/en/sandbox/components/nuxt/home),
|
|
872
|
-
[Categories](https://basklee.com/en/sandbox/components/nuxt/categories),
|
|
873
|
-
[Banners](https://basklee.com/en/sandbox/components/nuxt/banners) and
|
|
874
|
-
[Events](https://basklee.com/en/sandbox/components/nuxt/events), with matching
|
|
871
|
+
[Storefront home](https://docs.basklee.com/en/sandbox/components/nuxt/home),
|
|
872
|
+
[Categories](https://docs.basklee.com/en/sandbox/components/nuxt/categories),
|
|
873
|
+
[Banners](https://docs.basklee.com/en/sandbox/components/nuxt/banners) and
|
|
874
|
+
[Events](https://docs.basklee.com/en/sandbox/components/nuxt/events), with matching
|
|
875
875
|
Russian routes. They show the physical components in their parent with dashed
|
|
876
876
|
highlights and link back to Application Load.
|
|
877
877
|
|
|
878
878
|
### Visual settings, search filters and blog previews
|
|
879
879
|
|
|
880
|
-
[Visual settings](https://basklee.com/en/sandbox/appload/nuxt/init/visual_settings)
|
|
880
|
+
[Visual settings](https://docs.basklee.com/en/sandbox/appload/nuxt/init/visual_settings)
|
|
881
881
|
are consumed by the supplied Nuxt components:
|
|
882
882
|
|
|
883
|
-
- [CatalogHeader](https://basklee.com/en/sandbox/components/nuxt/catalog)
|
|
883
|
+
- [CatalogHeader](https://docs.basklee.com/en/sandbox/components/nuxt/catalog)
|
|
884
884
|
uses `menu_image` for shortcut thumbnails and `catalog_menu_image` inside its catalog panel.
|
|
885
|
-
- [ProductGroup](https://basklee.com/en/sandbox/components/nuxt/product-group)
|
|
885
|
+
- [ProductGroup](https://docs.basklee.com/en/sandbox/components/nuxt/product-group)
|
|
886
886
|
becomes a swipeable row on a narrow screen. `mobile_show_arrows` controls its previous/next
|
|
887
887
|
buttons when the row overflows. Desktop grids and promotion carousels are unaffected.
|
|
888
888
|
Optional `productIds` resolves an ordered set through `productStore.getProduct`; an omitted
|
|
889
889
|
value uses the AppLoad collection, and an empty array displays no cards.
|
|
890
|
-
- [SearchFilters](https://basklee.com/en/sandbox/components/nuxt/search-filters)
|
|
890
|
+
- [SearchFilters](https://docs.basklee.com/en/sandbox/components/nuxt/search-filters)
|
|
891
891
|
uses `show_filter_counters` for counts supplied in `selects` and `variants`.
|
|
892
892
|
`browseStore.preserveSearchFacets(page_data)` retains the initial options and price
|
|
893
893
|
bounds from `products_search`; `browseStore.setSearchFacets` explicitly replaces them
|
|
@@ -896,14 +896,14 @@ are consumed by the supplied Nuxt components:
|
|
|
896
896
|
update products, leaving the original selectors available. `disabled` prevents
|
|
897
897
|
selection; there are no slots.
|
|
898
898
|
- `single_seller_mode` hides
|
|
899
|
-
[ProductCardSeller](https://basklee.com/en/sandbox/components/nuxt/productCardSeller)
|
|
899
|
+
[ProductCardSeller](https://docs.basklee.com/en/sandbox/components/nuxt/productCardSeller)
|
|
900
900
|
and seller filters; manufacturer options remain visible.
|
|
901
|
-
- [BlogPostGroup](https://basklee.com/en/sandbox/components/nuxt/blog) uses
|
|
901
|
+
- [BlogPostGroup](https://docs.basklee.com/en/sandbox/components/nuxt/blog) uses
|
|
902
902
|
`blog_view_type`: `EBlogViewType.PORTRAIT` is a grid, `EBlogViewType.LIST` is a list,
|
|
903
903
|
and `EBlogViewType.CUSTOM` starts with a lead card, followed by groups of up to
|
|
904
904
|
three posts. Unknown values fall back to portrait; numeric strings are accepted.
|
|
905
905
|
`store.setBlogPosts(page_data.posts.data)` supplies previews from `blog_posts_get`.
|
|
906
|
-
[BlogPostCard](https://basklee.com/en/sandbox/components/nuxt/blog-post) takes
|
|
906
|
+
[BlogPostCard](https://docs.basklee.com/en/sandbox/components/nuxt/blog-post) takes
|
|
907
907
|
`postId` and `layout` (portrait by default, list or hero), reads the post from
|
|
908
908
|
the store, and shows its localized title, plain-text preview, first ordered image
|
|
909
909
|
and reading time. The group forwards its `select` event with `IBlogPostPreview`.
|
|
@@ -959,7 +959,7 @@ The category uses `grid`, which stays a vertical grid on a narrow screen and
|
|
|
959
959
|
shows no horizontal scroll arrows. Filters collapse behind a button in a narrow
|
|
960
960
|
result container; category navigation remains available while products load.
|
|
961
961
|
|
|
962
|
-
The [Category page guide](https://basklee.com/en/sandbox/components/nuxt/category-page)
|
|
962
|
+
The [Category page guide](https://docs.basklee.com/en/sandbox/components/nuxt/category-page)
|
|
963
963
|
contains the physical composition, dashed child boundaries, local preview
|
|
964
964
|
controls, field/input/event contracts and exact component/interface downloads.
|
|
965
965
|
The matching Russian guide uses `/ru/sandbox/components/nuxt/category-page`.
|
|
@@ -967,7 +967,7 @@ The matching Russian guide uses `/ru/sandbox/components/nuxt/category-page`.
|
|
|
967
967
|
|
|
968
968
|
## Search, logout and preorder flows
|
|
969
969
|
|
|
970
|
-
The [search results component](https://basklee.com/en/sandbox/components/nuxt/search-results)
|
|
970
|
+
The [search results component](https://docs.basklee.com/en/sandbox/components/nuxt/search-results)
|
|
971
971
|
serves `/browse?q=...` and the category result area. It renders initial loading
|
|
972
972
|
placeholders, a recoverable empty result, error/retry, totals and pagination.
|
|
973
973
|
Changing the URL query starts a fresh search, including changes on an already
|
|
@@ -1051,7 +1051,7 @@ counts describe the initial scope, not the narrowed result. Product grids use
|
|
|
1051
1051
|
fewer columns as the container narrows. Mobile home
|
|
1052
1052
|
rows retain their existing swipe behavior.
|
|
1053
1053
|
|
|
1054
|
-
The [preorder dialog](https://basklee.com/en/sandbox/components/nuxt/preorder-dialog)
|
|
1054
|
+
The [preorder dialog](https://docs.basklee.com/en/sandbox/components/nuxt/preorder-dialog)
|
|
1055
1055
|
is `app/components/basklee/products/ProductPreorderDialog.vue`, nested under
|
|
1056
1056
|
Product actions in Components. The default layout opens it for the card's
|
|
1057
1057
|
`preorder` event. It shows the product and price; guests provide email or phone.
|
|
@@ -1061,7 +1061,7 @@ Pending requests disable resubmission and dismissal. Errors remain by the form.
|
|
|
1061
1061
|
`modal` defaults to true; false renders the same dialog within its container.
|
|
1062
1062
|
Both storefront and documentation product previews use this physical component.
|
|
1063
1063
|
|
|
1064
|
-
The [sign-out component](https://basklee.com/en/sandbox/components/nuxt/logout)
|
|
1064
|
+
The [sign-out component](https://docs.basklee.com/en/sandbox/components/nuxt/logout)
|
|
1065
1065
|
is `app/components/basklee/account/StorefrontLogout.vue`, under Profile menu.
|
|
1066
1066
|
The default layout opens `/logout` after `signOut`. The route shows progress,
|
|
1067
1067
|
uses `profile_logout` through the shared API client after mounting, refreshes
|
|
@@ -1083,8 +1083,8 @@ phone sign-in/registration and navigation to `/logout`. Account requests use the
|
|
|
1083
1083
|
shared named API client, which sends the selected storefront language as `lang`;
|
|
1084
1084
|
registration saves it as the account's initial email-notification language.
|
|
1085
1085
|
Avatar upload uses multipart. Data changes only after confirmation. See the
|
|
1086
|
-
[profile guide](https://basklee.com/en/sandbox/components/nuxt/profile)
|
|
1087
|
-
and its [Russian version](https://basklee.com/ru/sandbox/components/nuxt/profile).
|
|
1086
|
+
[profile guide](https://docs.basklee.com/en/sandbox/components/nuxt/profile)
|
|
1087
|
+
and its [Russian version](https://docs.basklee.com/ru/sandbox/components/nuxt/profile).
|
|
1088
1088
|
|
|
1089
1089
|
The sign-in and registration form (`ProfileSignIn`) appears only on the
|
|
1090
1090
|
`/profile` page. Header Login links there. A guest's click on an action that
|
|
@@ -1124,7 +1124,7 @@ the top loading bar from `app/app.vue` and a visually hidden `role="status"`
|
|
|
1124
1124
|
message instead of a status strip. Field errors stay as red text beside their inputs. Required fields show a
|
|
1125
1125
|
red `*` directly after the label text.
|
|
1126
1126
|
|
|
1127
|
-
The default layout renders the [footer](https://basklee.com/en/sandbox/components/nuxt/footer)
|
|
1127
|
+
The default layout renders the [footer](https://docs.basklee.com/en/sandbox/components/nuxt/footer)
|
|
1128
1128
|
with real store categories, home-section anchors, profile/journal navigation,
|
|
1129
1129
|
a contact-page link, a `/privacy` link and social links. On `/contact`, `StorefrontContact` places
|
|
1130
1130
|
company details (address, `tel:` phone link, registration numbers with copy
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "basklee-nuxt",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.1",
|
|
4
4
|
"description": "Nuxt 4 storefront for your Basklee marketplace: setup CLI, server API gateway, typed store and ready-made catalog, cart, checkout and account components in English, Russian and Spanish, plus an Android app build.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"author": "Basklee",
|
|
8
|
-
"homepage": "https://basklee.com/en/sandbox/new-project/nuxt",
|
|
8
|
+
"homepage": "https://docs.basklee.com/en/sandbox/new-project/nuxt",
|
|
9
9
|
"keywords": [
|
|
10
10
|
"nuxt",
|
|
11
11
|
"nuxt4",
|
package/src/project-readme.mjs
CHANGED
|
@@ -83,8 +83,8 @@ The supplied Nuxt storefront includes \`/profile\` with personal details, avatar
|
|
|
83
83
|
verified email, optional email-notification and email-language preferences, password management,
|
|
84
84
|
phone sign-in/registration and navigation to \`/logout\`. Account requests use the
|
|
85
85
|
shared named API client; avatar upload uses multipart. Data changes only after
|
|
86
|
-
confirmation. See the [profile guide](https://basklee.com/en/sandbox/components/nuxt/profile)
|
|
87
|
-
and its [Russian version](https://basklee.com/ru/sandbox/components/nuxt/profile).
|
|
86
|
+
confirmation. See the [profile guide](https://docs.basklee.com/en/sandbox/components/nuxt/profile)
|
|
87
|
+
and its [Russian version](https://docs.basklee.com/ru/sandbox/components/nuxt/profile).
|
|
88
88
|
|
|
89
89
|
The sign-in and registration form (\`ProfileSignIn\`) appears only on the
|
|
90
90
|
\`/profile\` page. Header Login links there. A guest's click on an action that
|
|
@@ -120,7 +120,7 @@ the top loading bar from \`app/app.vue\` and a visually hidden \`role="status"\`
|
|
|
120
120
|
message instead of a status strip. Field errors stay as red text beside their inputs. Required fields show a
|
|
121
121
|
red \`*\` directly after the label text.
|
|
122
122
|
|
|
123
|
-
The default layout renders the [footer](https://basklee.com/en/sandbox/components/nuxt/footer)
|
|
123
|
+
The default layout renders the [footer](https://docs.basklee.com/en/sandbox/components/nuxt/footer)
|
|
124
124
|
with real store categories, home-section anchors, profile/journal navigation,
|
|
125
125
|
a \`/contact\` link, a \`/privacy\` link, social links and the company name in
|
|
126
126
|
its copyright line. Company contact and registration details appear beside the
|
|
@@ -274,7 +274,7 @@ Components are grouped by feature under
|
|
|
274
274
|
\`app/components/basklee/\`. Components read the initialized store directly;
|
|
275
275
|
no additional Application Load request is needed.
|
|
276
276
|
|
|
277
|
-
The [field sandboxes](https://basklee.com/en/sandbox/appload/nuxt) display
|
|
277
|
+
The [field sandboxes](https://docs.basklee.com/en/sandbox/appload/nuxt) display
|
|
278
278
|
these same source files and interfaces. Selections emit events for your
|
|
279
279
|
application to handle; they do not perform account, cart or subscription requests.
|
|
280
280
|
|
|
@@ -413,7 +413,7 @@ reloads for the guest session. The failed request is not repeated and no
|
|
|
413
413
|
sign-in dialog opens; a guest \`401\`, \`403\`, CSRF rejection or network failure
|
|
414
414
|
stays an ordinary request error.
|
|
415
415
|
|
|
416
|
-
[Cookie lifecycle and browser request example](https://basklee.com/en/sandbox/appload/nuxt#session-cookies)
|
|
416
|
+
[Cookie lifecycle and browser request example](https://docs.basklee.com/en/sandbox/appload/nuxt#session-cookies)
|
|
417
417
|
|
|
418
418
|
### SSR, navigation and failures
|
|
419
419
|
|
|
@@ -438,7 +438,7 @@ review and merge newer templates manually where the CLI reports preserved files.
|
|
|
438
438
|
|
|
439
439
|
## Storefront header
|
|
440
440
|
|
|
441
|
-
Browse [Components](https://basklee.com/en/sandbox/components/nuxt) for the
|
|
441
|
+
Browse [Components](https://docs.basklee.com/en/sandbox/components/nuxt) for the
|
|
442
442
|
Header composition and its search, language, currency, profile, wallet and catalog
|
|
443
443
|
children, with live previews and source downloads. Russian guides are available too.
|
|
444
444
|
|
|
@@ -454,7 +454,7 @@ after sign-in, the user returns to the page passed in \`redirect\`,
|
|
|
454
454
|
payments are submitted by these presentation components. The balance follows
|
|
455
455
|
the selected currency, preserves zero and uses a dash for missing amounts.
|
|
456
456
|
After confirmed authentication changes, refresh Application Load to replace the
|
|
457
|
-
session, profile, wallet and discovery. See the [account guide and source downloads](https://basklee.com/en/sandbox/appload/nuxt/init/is_authenticated).
|
|
457
|
+
session, profile, wallet and discovery. See the [account guide and source downloads](https://docs.basklee.com/en/sandbox/appload/nuxt/init/is_authenticated).
|
|
458
458
|
The wishlist and cart buttons display \`store.counters\`: initial Application Load
|
|
459
459
|
counts, updated by confirmed product actions. The wishlist button opens
|
|
460
460
|
\`/wishlist\`; the cart button opens the cart preview, whose product and full-cart
|
|
@@ -491,7 +491,7 @@ opens the enrollment dialog; enrollment is sent only after its explicit
|
|
|
491
491
|
confirmation. Existing product controllers handle variants and purchase actions.
|
|
492
492
|
|
|
493
493
|
See [the home composition](./COMPONENTS.md#storefront-home-sections) and the
|
|
494
|
-
[Components guide](https://basklee.com/en/sandbox/components/nuxt/home)
|
|
494
|
+
[Components guide](https://docs.basklee.com/en/sandbox/components/nuxt/home)
|
|
495
495
|
for child contracts, settings, events, slots and physical source.
|
|
496
496
|
|
|
497
497
|
## Update the package and components
|
|
@@ -519,7 +519,7 @@ If installation fails after source generation, run \`npm install\` and retry.
|
|
|
519
519
|
The quickest way: prepare the server with the Basklee server script,
|
|
520
520
|
then run \`sudo npx basklee-nuxt install\` in this folder. It builds the
|
|
521
521
|
project, runs it as a system service and connects your domains with nginx and
|
|
522
|
-
HTTPS. Steps: [Install a storefront](https://basklee.com/en/sandbox/install/storefront).
|
|
522
|
+
HTTPS. Steps: [Install a storefront](https://docs.basklee.com/en/sandbox/install/storefront).
|
|
523
523
|
Then manage it from this folder: \`npx basklee-nuxt status\`, \`sudo npx basklee-nuxt restart\`,
|
|
524
524
|
\`sudo npx basklee-nuxt stop\`, \`sudo npx basklee-nuxt start\` and \`sudo npx basklee-nuxt logs\`.
|
|
525
525
|
\`sudo npx basklee-nuxt uninstall\` (or \`cleanup\`) stops and removes the service; this folder stays.
|
|
@@ -578,8 +578,9 @@ pages answer with \`X-Robots-Tag: noindex, follow\` and the sitemap leaves them
|
|
|
578
578
|
out; the journal and other pages stay indexable. Leave it empty on a live shop.
|
|
579
579
|
|
|
580
580
|
Every product page carries schema.org product data for Google and Yandex: the
|
|
581
|
-
price, the crossed-out old price, stock
|
|
582
|
-
|
|
581
|
+
price, the crossed-out old price, stock (a product open for preorder is a
|
|
582
|
+
preorder, not sold out), photos, brand (the manufacturer, otherwise the seller),
|
|
583
|
+
seller, rating and the return terms the page shows. The return terms name the shop's shipping
|
|
583
584
|
countries, which Application Load sends in \`init.shipping_countries\`; without
|
|
584
585
|
a shipping country they are left out. The delivery cost is not included: it
|
|
585
586
|
depends on the buyer's address.
|
|
@@ -593,7 +594,7 @@ Deploy the website first, then build the app with Capacitor 8. With
|
|
|
593
594
|
client-only and sends every API request to that storefront through Capacitor's
|
|
594
595
|
native HTTP (\`app/utils/basklee/nativeApp.ts\`). Without the variable the
|
|
595
596
|
website build is unchanged. Steps:
|
|
596
|
-
[Android app guide](https://basklee.com/en/sandbox/android-app).
|
|
597
|
+
[Android app guide](https://docs.basklee.com/en/sandbox/android-app).
|
|
597
598
|
|
|
598
599
|
\`\`\`bash
|
|
599
600
|
BASKLEE_APP_ORIGIN=https://shop.example.com npx nuxt generate
|
|
@@ -602,8 +603,8 @@ npx cap sync android
|
|
|
602
603
|
|
|
603
604
|
## More documentation
|
|
604
605
|
|
|
605
|
-
- [Nuxt package installation and domain setup](https://basklee.com/en/sandbox/new-project/nuxt)
|
|
606
|
-
- [Application Load](https://basklee.com/en/sandbox)
|
|
606
|
+
- [Nuxt package installation and domain setup](https://docs.basklee.com/en/sandbox/new-project/nuxt)
|
|
607
|
+
- [Application Load](https://docs.basklee.com/en/sandbox)
|
|
607
608
|
|
|
608
609
|
## Representative product actions
|
|
609
610
|
|
|
@@ -621,25 +622,25 @@ record actions without changing the reader's cart or session.
|
|
|
621
622
|
|
|
622
623
|
### Visual settings, search filters and blog previews
|
|
623
624
|
|
|
624
|
-
[Visual settings](https://basklee.com/en/sandbox/appload/nuxt/init/visual_settings)
|
|
625
|
+
[Visual settings](https://docs.basklee.com/en/sandbox/appload/nuxt/init/visual_settings)
|
|
625
626
|
are consumed by the supplied Nuxt components:
|
|
626
627
|
|
|
627
|
-
- [CatalogHeader](https://basklee.com/en/sandbox/components/nuxt/catalog)
|
|
628
|
+
- [CatalogHeader](https://docs.basklee.com/en/sandbox/components/nuxt/catalog)
|
|
628
629
|
uses \`menu_image\` for shortcut thumbnails and \`catalog_menu_image\` inside its catalog panel.
|
|
629
|
-
- [ProductGroup](https://basklee.com/en/sandbox/components/nuxt/product-group)
|
|
630
|
+
- [ProductGroup](https://docs.basklee.com/en/sandbox/components/nuxt/product-group)
|
|
630
631
|
becomes a swipeable row on a narrow screen. \`mobile_show_arrows\` controls its previous/next
|
|
631
632
|
buttons when the row overflows. Desktop grids and promotion carousels are unaffected.
|
|
632
633
|
Optional \`productIds\` resolves an ordered set through \`store.getProduct\`; an omitted
|
|
633
634
|
value uses the AppLoad collection, and an empty array displays no cards.
|
|
634
|
-
- [Search results](https://basklee.com/en/sandbox/components/nuxt/search-results)
|
|
635
|
+
- [Search results](https://docs.basklee.com/en/sandbox/components/nuxt/search-results)
|
|
635
636
|
retain initial selector choices, support currency price ranges and color filters,
|
|
636
637
|
and display loading, empty and failure states.
|
|
637
|
-
- [Preorder dialog](https://basklee.com/en/sandbox/components/nuxt/preorder-dialog)
|
|
638
|
+
- [Preorder dialog](https://docs.basklee.com/en/sandbox/components/nuxt/preorder-dialog)
|
|
638
639
|
is shared by storefront and documentation product previews.
|
|
639
|
-
- [Sign-out page](https://basklee.com/en/sandbox/components/nuxt/logout)
|
|
640
|
+
- [Sign-out page](https://docs.basklee.com/en/sandbox/components/nuxt/logout)
|
|
640
641
|
calls profile_logout at /logout, then refreshes guest AppLoad and returns home.
|
|
641
|
-
- [Category page](https://basklee.com/en/sandbox/components/nuxt/category-page)
|
|
642
|
-
- [SearchFilters](https://basklee.com/en/sandbox/components/nuxt/search-filters)
|
|
642
|
+
- [Category page](https://docs.basklee.com/en/sandbox/components/nuxt/category-page)
|
|
643
|
+
- [SearchFilters](https://docs.basklee.com/en/sandbox/components/nuxt/search-filters)
|
|
643
644
|
uses \`show_filter_counters\` for counts supplied in \`selects\` and \`variants\`.
|
|
644
645
|
\`store.preserveSearchFacets(page_data)\` retains the initial options and price
|
|
645
646
|
bounds from \`products_search\`; \`store.setSearchFacets\` explicitly replaces them
|
|
@@ -648,14 +649,14 @@ are consumed by the supplied Nuxt components:
|
|
|
648
649
|
update products, leaving the original selectors available. \`disabled\` prevents
|
|
649
650
|
selection; there are no slots.
|
|
650
651
|
- \`single_seller_mode\` hides
|
|
651
|
-
[ProductCardSeller](https://basklee.com/en/sandbox/components/nuxt/productCardSeller)
|
|
652
|
+
[ProductCardSeller](https://docs.basklee.com/en/sandbox/components/nuxt/productCardSeller)
|
|
652
653
|
and seller filters; manufacturer options remain visible. The backend currently returns false.
|
|
653
|
-
- [BlogPostGroup](https://basklee.com/en/sandbox/components/nuxt/blog) uses
|
|
654
|
+
- [BlogPostGroup](https://docs.basklee.com/en/sandbox/components/nuxt/blog) uses
|
|
654
655
|
\`blog_view_type\`: \`EBlogViewType.PORTRAIT\` is a grid, \`EBlogViewType.LIST\` is a list,
|
|
655
656
|
and \`EBlogViewType.CUSTOM\` starts with a lead card, followed by groups of up to
|
|
656
657
|
three posts. Unknown values fall back to portrait; numeric strings are accepted.
|
|
657
658
|
\`store.setBlogPosts(page_data.posts.data)\` supplies previews from \`blog_posts_get\`.
|
|
658
|
-
[BlogPostCard](https://basklee.com/en/sandbox/components/nuxt/blog-post) takes
|
|
659
|
+
[BlogPostCard](https://docs.basklee.com/en/sandbox/components/nuxt/blog-post) takes
|
|
659
660
|
\`postId\` and \`layout\` (portrait by default, list or hero), reads the post from
|
|
660
661
|
the store, and shows its localized title, plain-text preview, first ordered image
|
|
661
662
|
and reading time. The group forwards its \`select\` event with \`IBlogPostPreview\`.
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
The user’s promo codes, reviews and sign-in history.
|
|
4
4
|
|
|
5
5
|
The supplied storefront uses this component at `/activity`.
|
|
6
|
-
[English guide](https://basklee.com/en/sandbox/components/nuxt/activity) ·
|
|
7
|
-
[Russian guide](https://basklee.com/ru/sandbox/components/nuxt/activity)
|
|
6
|
+
[English guide](https://docs.basklee.com/en/sandbox/components/nuxt/activity) ·
|
|
7
|
+
[Russian guide](https://docs.basklee.com/ru/sandbox/components/nuxt/activity)
|
|
8
8
|
|
|
9
9
|
## Contract and dependencies
|
|
10
10
|
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
Available promo codes and applying a selected code to the cart.
|
|
4
4
|
|
|
5
5
|
The supplied storefront uses this component at `/activity`.
|
|
6
|
-
[English guide](https://basklee.com/en/sandbox/components/nuxt/account-promocodes) ·
|
|
7
|
-
[Russian guide](https://basklee.com/ru/sandbox/components/nuxt/account-promocodes)
|
|
6
|
+
[English guide](https://docs.basklee.com/en/sandbox/components/nuxt/account-promocodes) ·
|
|
7
|
+
[Russian guide](https://docs.basklee.com/ru/sandbox/components/nuxt/account-promocodes)
|
|
8
8
|
|
|
9
9
|
## Contract and dependencies
|
|
10
10
|
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
Account navigation around private storefront sections.
|
|
4
4
|
|
|
5
5
|
The supplied storefront uses this component at `/profile, /addresses, /orders, /tickets, /wallet, /subscriptions, /wishlist, /activity`.
|
|
6
|
-
[English guide](https://basklee.com/en/sandbox/components/nuxt/account-section) ·
|
|
7
|
-
[Russian guide](https://basklee.com/ru/sandbox/components/nuxt/account-section)
|
|
6
|
+
[English guide](https://docs.basklee.com/en/sandbox/components/nuxt/account-section) ·
|
|
7
|
+
[Russian guide](https://docs.basklee.com/ru/sandbox/components/nuxt/account-section)
|
|
8
8
|
|
|
9
9
|
## Contract and dependencies
|
|
10
10
|
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
The user’s sign-in dates, devices, browsers and IP addresses.
|
|
4
4
|
|
|
5
5
|
The supplied storefront uses this component at `/activity`.
|
|
6
|
-
[English guide](https://basklee.com/en/sandbox/components/nuxt/sign-in-history) ·
|
|
7
|
-
[Russian guide](https://basklee.com/ru/sandbox/components/nuxt/sign-in-history)
|
|
6
|
+
[English guide](https://docs.basklee.com/en/sandbox/components/nuxt/sign-in-history) ·
|
|
7
|
+
[Russian guide](https://docs.basklee.com/ru/sandbox/components/nuxt/sign-in-history)
|
|
8
8
|
|
|
9
9
|
## Contract and dependencies
|
|
10
10
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Sign-out page · Nuxt
|
|
2
2
|
|
|
3
|
-
The [sign-out component](https://basklee.com/en/sandbox/components/nuxt/logout)
|
|
3
|
+
The [sign-out component](https://docs.basklee.com/en/sandbox/components/nuxt/logout)
|
|
4
4
|
is `app/components/basklee/account/StorefrontLogout.vue`, under Profile menu.
|
|
5
5
|
The default layout opens `/logout` after `signOut`. The route shows progress,
|
|
6
6
|
uses `profile_logout` through the shared API client after mounting, refreshes
|
|
@@ -12,4 +12,4 @@ preview never signs out the reader.
|
|
|
12
12
|
|
|
13
13
|
## Related components
|
|
14
14
|
|
|
15
|
-
[Profile menu](https://basklee.com/en/sandbox/components/nuxt/profile-menu), [Header](https://basklee.com/en/sandbox/components/nuxt/header).
|
|
15
|
+
[Profile menu](https://docs.basklee.com/en/sandbox/components/nuxt/profile-menu), [Header](https://docs.basklee.com/en/sandbox/components/nuxt/header).
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# Personal profile · Nuxt
|
|
2
2
|
|
|
3
|
-
The [personal profile guide](https://basklee.com/en/sandbox/components/nuxt/profile)
|
|
4
|
-
(and [Russian guide](https://basklee.com/ru/sandbox/components/nuxt/profile))
|
|
3
|
+
The [personal profile guide](https://docs.basklee.com/en/sandbox/components/nuxt/profile)
|
|
4
|
+
(and [Russian guide](https://docs.basklee.com/ru/sandbox/components/nuxt/profile))
|
|
5
5
|
describes the physical account composition used at `/profile`. Header sign-in and
|
|
6
6
|
profile selections open this route with the selected locale. `pages/profile.vue`
|
|
7
7
|
shows the phone sign-in/registration form (`ProfileSignIn`) to guests; it is the
|
|
@@ -121,7 +121,7 @@ notification, Checkout, a plan or an event) opens this page at once through
|
|
|
121
121
|
`useBaskleeSignIn().requireSignIn()`, with no separate sign-in notice. During the navigation the page sets
|
|
122
122
|
`ProfileSignIn`'s `redirecting` input, so the form keeps its waiting indicator
|
|
123
123
|
instead of showing the profile briefly.
|
|
124
|
-
The [API request inspector](https://basklee.com/en/sandbox/api/auth_signin_signup#auth-preview)
|
|
124
|
+
The [API request inspector](https://docs.basklee.com/en/sandbox/api/auth_signin_signup#auth-preview)
|
|
125
125
|
uses editable request fields and the same authentication controller. Requests
|
|
126
126
|
start when the visitor presses Send. After completion the host confirms the
|
|
127
127
|
session through Application Load. Storefront component examples remain in
|
|
@@ -136,10 +136,10 @@ with the same request contracts.
|
|
|
136
136
|
|
|
137
137
|
## Related components
|
|
138
138
|
|
|
139
|
-
[Personal details](https://basklee.com/en/sandbox/components/nuxt/profile-details),
|
|
140
|
-
[Photo](https://basklee.com/en/sandbox/components/nuxt/profile-avatar),
|
|
141
|
-
[Email](https://basklee.com/en/sandbox/components/nuxt/profile-email),
|
|
142
|
-
[Password](https://basklee.com/en/sandbox/components/nuxt/profile-password),
|
|
143
|
-
[Sign-in](https://basklee.com/en/sandbox/components/nuxt/profile-sign-in),
|
|
144
|
-
[Profile menu](https://basklee.com/en/sandbox/components/nuxt/profile-menu),
|
|
145
|
-
[Logout](https://basklee.com/en/sandbox/components/nuxt/logout).
|
|
139
|
+
[Personal details](https://docs.basklee.com/en/sandbox/components/nuxt/profile-details),
|
|
140
|
+
[Photo](https://docs.basklee.com/en/sandbox/components/nuxt/profile-avatar),
|
|
141
|
+
[Email](https://docs.basklee.com/en/sandbox/components/nuxt/profile-email),
|
|
142
|
+
[Password](https://docs.basklee.com/en/sandbox/components/nuxt/profile-password),
|
|
143
|
+
[Sign-in](https://docs.basklee.com/en/sandbox/components/nuxt/profile-sign-in),
|
|
144
|
+
[Profile menu](https://docs.basklee.com/en/sandbox/components/nuxt/profile-menu),
|
|
145
|
+
[Logout](https://docs.basklee.com/en/sandbox/components/nuxt/logout).
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
Address creation and editing with country selection, region search, text suggestions and location lookup.
|
|
4
4
|
|
|
5
5
|
The supplied storefront uses this component at `/addresses`.
|
|
6
|
-
[English guide](https://basklee.com/en/sandbox/components/nuxt/address-form) ·
|
|
7
|
-
[Russian guide](https://basklee.com/ru/sandbox/components/nuxt/address-form)
|
|
6
|
+
[English guide](https://docs.basklee.com/en/sandbox/components/nuxt/address-form) ·
|
|
7
|
+
[Russian guide](https://docs.basklee.com/ru/sandbox/components/nuxt/address-form)
|
|
8
8
|
|
|
9
9
|
## Contract and dependencies
|
|
10
10
|
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
Saved addresses, address editing and default delivery selection.
|
|
4
4
|
|
|
5
5
|
The supplied storefront uses this component at `/addresses`.
|
|
6
|
-
[English guide](https://basklee.com/en/sandbox/components/nuxt/addresses) ·
|
|
7
|
-
[Russian guide](https://basklee.com/ru/sandbox/components/nuxt/addresses)
|
|
6
|
+
[English guide](https://docs.basklee.com/en/sandbox/components/nuxt/addresses) ·
|
|
7
|
+
[Russian guide](https://docs.basklee.com/ru/sandbox/components/nuxt/addresses)
|
|
8
8
|
|
|
9
9
|
## Contract and dependencies
|
|
10
10
|
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
An article, subscription access and its discussion.
|
|
4
4
|
|
|
5
5
|
The supplied storefront uses this component at `/journal`.
|
|
6
|
-
[English guide](https://basklee.com/en/sandbox/components/nuxt/blog-article) ·
|
|
7
|
-
[Russian guide](https://basklee.com/ru/sandbox/components/nuxt/blog-article)
|
|
6
|
+
[English guide](https://docs.basklee.com/en/sandbox/components/nuxt/blog-article) ·
|
|
7
|
+
[Russian guide](https://docs.basklee.com/ru/sandbox/components/nuxt/blog-article)
|
|
8
8
|
|
|
9
9
|
## Contract and dependencies
|
|
10
10
|
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
Text for a new comment, reply or edit.
|
|
4
4
|
|
|
5
5
|
The supplied storefront uses this component at `/journal`.
|
|
6
|
-
[English guide](https://basklee.com/en/sandbox/components/nuxt/blog-comment-form) ·
|
|
7
|
-
[Russian guide](https://basklee.com/ru/sandbox/components/nuxt/blog-comment-form)
|
|
6
|
+
[English guide](https://docs.basklee.com/en/sandbox/components/nuxt/blog-comment-form) ·
|
|
7
|
+
[Russian guide](https://docs.basklee.com/ru/sandbox/components/nuxt/blog-comment-form)
|
|
8
8
|
|
|
9
9
|
## Contract and dependencies
|
|
10
10
|
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
Discussion, replies and the user’s own comments.
|
|
4
4
|
|
|
5
5
|
The supplied storefront uses this component at `/journal`.
|
|
6
|
-
[English guide](https://basklee.com/en/sandbox/components/nuxt/blog-comments) ·
|
|
7
|
-
[Russian guide](https://basklee.com/ru/sandbox/components/nuxt/blog-comments)
|
|
6
|
+
[English guide](https://docs.basklee.com/en/sandbox/components/nuxt/blog-comments) ·
|
|
7
|
+
[Russian guide](https://docs.basklee.com/ru/sandbox/components/nuxt/blog-comments)
|
|
8
8
|
|
|
9
9
|
## Contract and dependencies
|
|
10
10
|
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
Store articles with category and author selection.
|
|
4
4
|
|
|
5
5
|
The supplied storefront uses this component at `/journal`.
|
|
6
|
-
[English guide](https://basklee.com/en/sandbox/components/nuxt/journal) ·
|
|
7
|
-
[Russian guide](https://basklee.com/ru/sandbox/components/nuxt/journal)
|
|
6
|
+
[English guide](https://docs.basklee.com/en/sandbox/components/nuxt/journal) ·
|
|
7
|
+
[Russian guide](https://docs.basklee.com/ru/sandbox/components/nuxt/journal)
|
|
8
8
|
|
|
9
9
|
The layout follows the width of the component itself, not the screen width, so
|
|
10
10
|
it is the same wherever the component is placed: from 960px of its own width
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
Delivery address, payment method, recipient and comment.
|
|
4
4
|
|
|
5
5
|
The supplied storefront uses this component at `/cart`.
|
|
6
|
-
[English guide](https://basklee.com/en/sandbox/components/nuxt/cart-checkout-details) ·
|
|
7
|
-
[Russian guide](https://basklee.com/ru/sandbox/components/nuxt/cart-checkout-details)
|
|
6
|
+
[English guide](https://docs.basklee.com/en/sandbox/components/nuxt/cart-checkout-details) ·
|
|
7
|
+
[Russian guide](https://docs.basklee.com/ru/sandbox/components/nuxt/cart-checkout-details)
|
|
8
8
|
|
|
9
9
|
## Cart response and save cycle
|
|
10
10
|
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
Available delivery methods and pickup points for one shipment.
|
|
4
4
|
|
|
5
5
|
The supplied storefront uses this component at `/cart`.
|
|
6
|
-
[English guide](https://basklee.com/en/sandbox/components/nuxt/cart-delivery-selector) ·
|
|
7
|
-
[Russian guide](https://basklee.com/ru/sandbox/components/nuxt/cart-delivery-selector)
|
|
6
|
+
[English guide](https://docs.basklee.com/en/sandbox/components/nuxt/cart-delivery-selector) ·
|
|
7
|
+
[Russian guide](https://docs.basklee.com/ru/sandbox/components/nuxt/cart-delivery-selector)
|
|
8
8
|
|
|
9
9
|
## Contract and dependencies
|
|
10
10
|
|
|
@@ -86,7 +86,7 @@ The following tables describe the response and the supplied composition’s foll
|
|
|
86
86
|
| Выбрать пункт выдачи | Запрос `cart_customer_delivery_points_get` получает те же ID отправления и типа, возвращая `page_data.items`. Передайте выбранный объект `point`, включая код, код города и адрес, вместе с этими ID в `cart_customer_delivery_pickup_set`. |
|
|
87
87
|
| После успешного сохранения | Ответ содержит `page_data.delivery_price_is_estimate`, без обновлённого отправления. Контроллер корзины закрывает выбор и вызывает `cart_guest_get`, чтобы получить подтверждённые способ, адрес, даты и итоги. При отказе показывается ошибка. Если не удалась только повторная загрузка, обновите корзину без повторения успешного сохранения. |
|
|
88
88
|
|
|
89
|
-
[English guide](https://basklee.com/en/sandbox/components/nuxt/cart-delivery-selector) · [Русский](https://basklee.com/ru/sandbox/components/nuxt/cart-delivery-selector)
|
|
89
|
+
[English guide](https://docs.basklee.com/en/sandbox/components/nuxt/cart-delivery-selector) · [Русский](https://docs.basklee.com/ru/sandbox/components/nuxt/cart-delivery-selector)
|
|
90
90
|
|
|
91
91
|
## Parent cart loading / Загрузка корзины
|
|
92
92
|
|