@nymbalhq/web-components 1.1.0 → 1.2.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.
- package/astro/NymbalElement.astro +19 -0
- package/dist/base-element-CPMgAdyQ.d.ts +91 -0
- package/dist/chunk-2TPQNQYO.js +155 -0
- package/dist/chunk-2TPQNQYO.js.map +1 -0
- package/dist/chunk-2XXBQPDB.js +113 -0
- package/dist/chunk-2XXBQPDB.js.map +1 -0
- package/dist/chunk-42SSME5H.js +84 -0
- package/dist/chunk-42SSME5H.js.map +1 -0
- package/dist/chunk-4COVK727.js +204 -0
- package/dist/chunk-4COVK727.js.map +1 -0
- package/dist/chunk-5VWZ2U5K.js +149 -0
- package/dist/chunk-5VWZ2U5K.js.map +1 -0
- package/dist/chunk-6XCCAAMF.js +656 -0
- package/dist/chunk-6XCCAAMF.js.map +1 -0
- package/dist/chunk-7JAAOVCE.js +114 -0
- package/dist/chunk-7JAAOVCE.js.map +1 -0
- package/dist/chunk-B73QVSA5.js +206 -0
- package/dist/chunk-B73QVSA5.js.map +1 -0
- package/dist/chunk-DR5QB5VN.js +17 -0
- package/dist/chunk-DR5QB5VN.js.map +1 -0
- package/dist/chunk-DXWMNB5F.js +70 -0
- package/dist/chunk-DXWMNB5F.js.map +1 -0
- package/dist/chunk-EBMA7JGV.js +130 -0
- package/dist/chunk-EBMA7JGV.js.map +1 -0
- package/dist/chunk-EYDMJNNK.js +176 -0
- package/dist/chunk-EYDMJNNK.js.map +1 -0
- package/dist/chunk-FIF6GQ6U.js +141 -0
- package/dist/chunk-FIF6GQ6U.js.map +1 -0
- package/dist/chunk-GHXTJ2CF.js +109 -0
- package/dist/chunk-GHXTJ2CF.js.map +1 -0
- package/dist/chunk-H3ZBYNHV.js +153 -0
- package/dist/chunk-H3ZBYNHV.js.map +1 -0
- package/dist/chunk-HPBC3OG7.js +174 -0
- package/dist/chunk-HPBC3OG7.js.map +1 -0
- package/dist/chunk-IYT7VXFS.js +105 -0
- package/dist/chunk-IYT7VXFS.js.map +1 -0
- package/dist/chunk-LHYXNQWY.js +105 -0
- package/dist/chunk-LHYXNQWY.js.map +1 -0
- package/dist/chunk-LO2EW5YP.js +25 -0
- package/dist/chunk-LO2EW5YP.js.map +1 -0
- package/dist/chunk-LSQPUZK6.js +291 -0
- package/dist/chunk-LSQPUZK6.js.map +1 -0
- package/dist/chunk-N4Y5DI4X.js +82 -0
- package/dist/chunk-N4Y5DI4X.js.map +1 -0
- package/dist/chunk-NE6UHTOT.js +148 -0
- package/dist/chunk-NE6UHTOT.js.map +1 -0
- package/dist/chunk-NW47OJVN.js +138 -0
- package/dist/chunk-NW47OJVN.js.map +1 -0
- package/dist/chunk-O2YKCDR2.js +77 -0
- package/dist/chunk-O2YKCDR2.js.map +1 -0
- package/dist/chunk-PN6QKYE4.js +71 -0
- package/dist/chunk-PN6QKYE4.js.map +1 -0
- package/dist/chunk-RAOGZH3Z.js +188 -0
- package/dist/chunk-RAOGZH3Z.js.map +1 -0
- package/dist/chunk-RVSKX2RX.js +11 -0
- package/dist/chunk-RVSKX2RX.js.map +1 -0
- package/dist/chunk-RZVFA3N5.js +154 -0
- package/dist/chunk-RZVFA3N5.js.map +1 -0
- package/dist/chunk-SM7TASEW.js +135 -0
- package/dist/chunk-SM7TASEW.js.map +1 -0
- package/dist/chunk-U2PU4CWB.js +124 -0
- package/dist/chunk-U2PU4CWB.js.map +1 -0
- package/dist/chunk-UCEVCLQ7.js +5 -0
- package/dist/chunk-UCEVCLQ7.js.map +1 -0
- package/dist/chunk-UYSZOEOA.js +32 -0
- package/dist/chunk-UYSZOEOA.js.map +1 -0
- package/dist/chunk-V55K2CS5.js +126 -0
- package/dist/chunk-V55K2CS5.js.map +1 -0
- package/dist/chunk-VTQVGNVC.js +346 -0
- package/dist/chunk-VTQVGNVC.js.map +1 -0
- package/dist/chunk-W23P7SI4.js +239 -0
- package/dist/chunk-W23P7SI4.js.map +1 -0
- package/dist/chunk-W7D3STJH.js +279 -0
- package/dist/chunk-W7D3STJH.js.map +1 -0
- package/dist/chunk-WEEHXWM3.js +172 -0
- package/dist/chunk-WEEHXWM3.js.map +1 -0
- package/dist/chunk-WTEVTCIL.js +128 -0
- package/dist/chunk-WTEVTCIL.js.map +1 -0
- package/dist/chunk-XE6IWISA.js +137 -0
- package/dist/chunk-XE6IWISA.js.map +1 -0
- package/dist/elements/nymbal-add-to-cart.d.ts +14 -0
- package/dist/elements/nymbal-add-to-cart.js +10 -0
- package/dist/elements/nymbal-add-to-cart.js.map +1 -0
- package/dist/elements/nymbal-address-book.d.ts +30 -0
- package/dist/elements/nymbal-address-book.js +13 -0
- package/dist/elements/nymbal-address-book.js.map +1 -0
- package/dist/elements/nymbal-address-form.d.ts +29 -0
- package/dist/elements/nymbal-address-form.js +12 -0
- package/dist/elements/nymbal-address-form.js.map +1 -0
- package/dist/elements/nymbal-breadcrumb.d.ts +15 -0
- package/dist/elements/nymbal-breadcrumb.js +11 -0
- package/dist/elements/nymbal-breadcrumb.js.map +1 -0
- package/dist/elements/nymbal-cart-drawer.d.ts +24 -0
- package/dist/elements/nymbal-cart-drawer.js +11 -0
- package/dist/elements/nymbal-cart-drawer.js.map +1 -0
- package/dist/elements/nymbal-cart-page.d.ts +20 -0
- package/dist/elements/nymbal-cart-page.js +14 -0
- package/dist/elements/nymbal-cart-page.js.map +1 -0
- package/dist/elements/nymbal-category-nav.d.ts +15 -0
- package/dist/elements/nymbal-category-nav.js +11 -0
- package/dist/elements/nymbal-category-nav.js.map +1 -0
- package/dist/elements/nymbal-checkout.d.ts +77 -0
- package/dist/elements/nymbal-checkout.js +15 -0
- package/dist/elements/nymbal-checkout.js.map +1 -0
- package/dist/elements/nymbal-image-gallery.d.ts +19 -0
- package/dist/elements/nymbal-image-gallery.js +10 -0
- package/dist/elements/nymbal-image-gallery.js.map +1 -0
- package/dist/elements/nymbal-login-form.d.ts +17 -0
- package/dist/elements/nymbal-login-form.js +12 -0
- package/dist/elements/nymbal-login-form.js.map +1 -0
- package/dist/elements/nymbal-mini-cart.d.ts +17 -0
- package/dist/elements/nymbal-mini-cart.js +10 -0
- package/dist/elements/nymbal-mini-cart.js.map +1 -0
- package/dist/elements/nymbal-order-summary.d.ts +20 -0
- package/dist/elements/nymbal-order-summary.js +11 -0
- package/dist/elements/nymbal-order-summary.js.map +1 -0
- package/dist/elements/nymbal-payment-element.d.ts +4 -0
- package/dist/elements/nymbal-payment-element.js +10 -0
- package/dist/elements/nymbal-payment-element.js.map +1 -0
- package/dist/elements/nymbal-product-card.d.ts +4 -0
- package/dist/elements/nymbal-product-card.js +12 -0
- package/dist/elements/nymbal-product-card.js.map +1 -0
- package/dist/elements/nymbal-product-filter.d.ts +32 -0
- package/dist/elements/nymbal-product-filter.js +10 -0
- package/dist/elements/nymbal-product-filter.js.map +1 -0
- package/dist/elements/nymbal-product-grid.d.ts +24 -0
- package/dist/elements/nymbal-product-grid.js +14 -0
- package/dist/elements/nymbal-product-grid.js.map +1 -0
- package/dist/elements/nymbal-product-price.d.ts +18 -0
- package/dist/elements/nymbal-product-price.js +12 -0
- package/dist/elements/nymbal-product-price.js.map +1 -0
- package/dist/elements/nymbal-profile-form.d.ts +19 -0
- package/dist/elements/nymbal-profile-form.js +12 -0
- package/dist/elements/nymbal-profile-form.js.map +1 -0
- package/dist/elements/nymbal-quantity-selector.d.ts +20 -0
- package/dist/elements/nymbal-quantity-selector.js +10 -0
- package/dist/elements/nymbal-quantity-selector.js.map +1 -0
- package/dist/elements/nymbal-register-form.d.ts +17 -0
- package/dist/elements/nymbal-register-form.js +12 -0
- package/dist/elements/nymbal-register-form.js.map +1 -0
- package/dist/elements/nymbal-review-form.d.ts +17 -0
- package/dist/elements/nymbal-review-form.js +12 -0
- package/dist/elements/nymbal-review-form.js.map +1 -0
- package/dist/elements/nymbal-review-list.d.ts +14 -0
- package/dist/elements/nymbal-review-list.js +10 -0
- package/dist/elements/nymbal-review-list.js.map +1 -0
- package/dist/elements/nymbal-search-bar.d.ts +19 -0
- package/dist/elements/nymbal-search-bar.js +10 -0
- package/dist/elements/nymbal-search-bar.js.map +1 -0
- package/dist/elements/nymbal-search-results.d.ts +29 -0
- package/dist/elements/nymbal-search-results.js +14 -0
- package/dist/elements/nymbal-search-results.js.map +1 -0
- package/dist/elements/nymbal-site-footer.d.ts +15 -0
- package/dist/elements/nymbal-site-footer.js +11 -0
- package/dist/elements/nymbal-site-footer.js.map +1 -0
- package/dist/elements/nymbal-site-header.d.ts +19 -0
- package/dist/elements/nymbal-site-header.js +11 -0
- package/dist/elements/nymbal-site-header.js.map +1 -0
- package/dist/elements/nymbal-sort-dropdown.d.ts +28 -0
- package/dist/elements/nymbal-sort-dropdown.js +10 -0
- package/dist/elements/nymbal-sort-dropdown.js.map +1 -0
- package/dist/elements/nymbal-stock-badge.d.ts +16 -0
- package/dist/elements/nymbal-stock-badge.js +11 -0
- package/dist/elements/nymbal-stock-badge.js.map +1 -0
- package/dist/elements/nymbal-toast.d.ts +18 -0
- package/dist/elements/nymbal-toast.js +10 -0
- package/dist/elements/nymbal-toast.js.map +1 -0
- package/dist/elements/nymbal-variant-selector.d.ts +16 -0
- package/dist/elements/nymbal-variant-selector.js +10 -0
- package/dist/elements/nymbal-variant-selector.js.map +1 -0
- package/dist/form-element-C-qo3gpD.d.ts +25 -0
- package/dist/hydrate-support.d.ts +2 -0
- package/dist/hydrate-support.js +3 -0
- package/dist/hydrate-support.js.map +1 -0
- package/dist/index.d.ts +38 -157
- package/dist/index.js +127 -1407
- package/dist/index.js.map +1 -1
- package/dist/nymbal-payment-element-Bt8EF42T.d.ts +51 -0
- package/dist/nymbal-product-card-C8HkE_rG.d.ts +47 -0
- package/dist/register-components.d.ts +46 -0
- package/dist/register-components.js +48 -0
- package/dist/register-components.js.map +1 -0
- package/dist/selected-variant-Dym0shlJ.d.ts +23 -0
- package/dist/ssr/index.d.ts +30 -0
- package/dist/ssr/index.js +143 -0
- package/dist/ssr/index.js.map +1 -0
- package/package.json +33 -6
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
import '@lit-labs/ssr-client/lit-element-hydrate-support.js'
|
|
2
|
+
import {
|
|
3
|
+
NymbalVariantSelector
|
|
4
|
+
} from "./chunk-H3ZBYNHV.js";
|
|
5
|
+
import {
|
|
6
|
+
NymbalReviewList
|
|
7
|
+
} from "./chunk-7JAAOVCE.js";
|
|
8
|
+
import {
|
|
9
|
+
NymbalSearchBar
|
|
10
|
+
} from "./chunk-4COVK727.js";
|
|
11
|
+
import {
|
|
12
|
+
NymbalSearchResults
|
|
13
|
+
} from "./chunk-RAOGZH3Z.js";
|
|
14
|
+
import {
|
|
15
|
+
NymbalSiteFooter
|
|
16
|
+
} from "./chunk-FIF6GQ6U.js";
|
|
17
|
+
import {
|
|
18
|
+
NymbalSiteHeader
|
|
19
|
+
} from "./chunk-W23P7SI4.js";
|
|
20
|
+
import {
|
|
21
|
+
NymbalSortDropdown
|
|
22
|
+
} from "./chunk-EBMA7JGV.js";
|
|
23
|
+
import {
|
|
24
|
+
NymbalStockBadge
|
|
25
|
+
} from "./chunk-O2YKCDR2.js";
|
|
26
|
+
import {
|
|
27
|
+
NymbalToast
|
|
28
|
+
} from "./chunk-2TPQNQYO.js";
|
|
29
|
+
import {
|
|
30
|
+
NymbalProductFilter
|
|
31
|
+
} from "./chunk-WEEHXWM3.js";
|
|
32
|
+
import {
|
|
33
|
+
NymbalProductGrid
|
|
34
|
+
} from "./chunk-5VWZ2U5K.js";
|
|
35
|
+
import {
|
|
36
|
+
NymbalProductCard
|
|
37
|
+
} from "./chunk-RZVFA3N5.js";
|
|
38
|
+
import {
|
|
39
|
+
NymbalProductPrice
|
|
40
|
+
} from "./chunk-DXWMNB5F.js";
|
|
41
|
+
import {
|
|
42
|
+
NymbalProfileForm
|
|
43
|
+
} from "./chunk-WTEVTCIL.js";
|
|
44
|
+
import {
|
|
45
|
+
NymbalRegisterForm
|
|
46
|
+
} from "./chunk-NW47OJVN.js";
|
|
47
|
+
import {
|
|
48
|
+
NymbalReviewForm
|
|
49
|
+
} from "./chunk-NE6UHTOT.js";
|
|
50
|
+
import {
|
|
51
|
+
NymbalCartPage
|
|
52
|
+
} from "./chunk-VTQVGNVC.js";
|
|
53
|
+
import {
|
|
54
|
+
NymbalQuantitySelector
|
|
55
|
+
} from "./chunk-HPBC3OG7.js";
|
|
56
|
+
import {
|
|
57
|
+
NymbalCategoryNav
|
|
58
|
+
} from "./chunk-IYT7VXFS.js";
|
|
59
|
+
import {
|
|
60
|
+
NymbalCheckout
|
|
61
|
+
} from "./chunk-6XCCAAMF.js";
|
|
62
|
+
import {
|
|
63
|
+
NymbalImageGallery
|
|
64
|
+
} from "./chunk-U2PU4CWB.js";
|
|
65
|
+
import {
|
|
66
|
+
NymbalLoginForm
|
|
67
|
+
} from "./chunk-42SSME5H.js";
|
|
68
|
+
import {
|
|
69
|
+
NymbalMiniCart
|
|
70
|
+
} from "./chunk-2XXBQPDB.js";
|
|
71
|
+
import {
|
|
72
|
+
NymbalOrderSummary
|
|
73
|
+
} from "./chunk-SM7TASEW.js";
|
|
74
|
+
import {
|
|
75
|
+
NymbalPaymentElement
|
|
76
|
+
} from "./chunk-W7D3STJH.js";
|
|
77
|
+
import {
|
|
78
|
+
NymbalAddToCart
|
|
79
|
+
} from "./chunk-LHYXNQWY.js";
|
|
80
|
+
import {
|
|
81
|
+
NymbalAddressBook
|
|
82
|
+
} from "./chunk-B73QVSA5.js";
|
|
83
|
+
import {
|
|
84
|
+
NymbalAddressForm
|
|
85
|
+
} from "./chunk-V55K2CS5.js";
|
|
86
|
+
import {
|
|
87
|
+
NymbalBreadcrumb
|
|
88
|
+
} from "./chunk-N4Y5DI4X.js";
|
|
89
|
+
import {
|
|
90
|
+
NymbalCartDrawer
|
|
91
|
+
} from "./chunk-LSQPUZK6.js";
|
|
92
|
+
import {
|
|
93
|
+
define
|
|
94
|
+
} from "./chunk-EYDMJNNK.js";
|
|
95
|
+
|
|
96
|
+
// src/register-components.ts
|
|
97
|
+
var ELEMENTS = [
|
|
98
|
+
NymbalAddToCart,
|
|
99
|
+
NymbalCartDrawer,
|
|
100
|
+
NymbalMiniCart,
|
|
101
|
+
NymbalVariantSelector,
|
|
102
|
+
NymbalQuantitySelector,
|
|
103
|
+
NymbalSearchBar,
|
|
104
|
+
NymbalProductFilter,
|
|
105
|
+
NymbalToast,
|
|
106
|
+
NymbalPaymentElement,
|
|
107
|
+
NymbalSortDropdown,
|
|
108
|
+
NymbalCartPage,
|
|
109
|
+
NymbalProductCard,
|
|
110
|
+
NymbalSearchResults,
|
|
111
|
+
NymbalLoginForm,
|
|
112
|
+
NymbalRegisterForm,
|
|
113
|
+
NymbalProfileForm,
|
|
114
|
+
NymbalAddressForm,
|
|
115
|
+
NymbalAddressBook,
|
|
116
|
+
NymbalCheckout,
|
|
117
|
+
NymbalProductGrid,
|
|
118
|
+
NymbalProductPrice,
|
|
119
|
+
NymbalStockBadge,
|
|
120
|
+
NymbalBreadcrumb,
|
|
121
|
+
NymbalImageGallery,
|
|
122
|
+
NymbalSiteHeader,
|
|
123
|
+
NymbalSiteFooter,
|
|
124
|
+
NymbalCategoryNav,
|
|
125
|
+
NymbalReviewList,
|
|
126
|
+
NymbalReviewForm,
|
|
127
|
+
NymbalOrderSummary
|
|
128
|
+
];
|
|
129
|
+
function registerComponents() {
|
|
130
|
+
define(...ELEMENTS);
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
export {
|
|
134
|
+
ELEMENTS,
|
|
135
|
+
registerComponents
|
|
136
|
+
};
|
|
137
|
+
//# sourceMappingURL=chunk-XE6IWISA.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/register-components.ts"],"sourcesContent":["import './hydrate-support.js'\nimport { define } from './define.js'\nimport { NymbalAddToCart } from './components/add-to-cart.js'\nimport { NymbalCartDrawer } from './components/cart-drawer.js'\nimport { NymbalMiniCart } from './components/mini-cart.js'\nimport { NymbalVariantSelector } from './components/variant-selector.js'\nimport { NymbalQuantitySelector } from './components/quantity-selector.js'\nimport { NymbalSearchBar } from './components/search-bar.js'\nimport { NymbalProductFilter } from './components/product-filter.js'\nimport { NymbalToast } from './components/toast.js'\nimport { NymbalPaymentElement } from './components/payment-element.js'\nimport { NymbalSortDropdown } from './components/sort-dropdown.js'\nimport { NymbalCartPage } from './components/cart-page.js'\nimport { NymbalProductCard } from './components/product-card.js'\nimport { NymbalSearchResults } from './components/search-results.js'\nimport { NymbalLoginForm } from './components/login-form.js'\nimport { NymbalRegisterForm } from './components/register-form.js'\nimport { NymbalProfileForm } from './components/profile-form.js'\nimport { NymbalAddressForm } from './components/address-form.js'\nimport { NymbalAddressBook } from './components/address-book.js'\nimport { NymbalCheckout } from './components/checkout.js'\nimport { NymbalProductGrid } from './components/product-grid.js'\nimport { NymbalProductPrice } from './components/product-price.js'\nimport { NymbalStockBadge } from './components/stock-badge.js'\nimport { NymbalBreadcrumb } from './components/breadcrumb.js'\nimport { NymbalImageGallery } from './components/image-gallery.js'\nimport { NymbalSiteHeader } from './components/site-header.js'\nimport { NymbalSiteFooter } from './components/site-footer.js'\nimport { NymbalCategoryNav } from './components/category-nav.js'\nimport { NymbalReviewList } from './components/review-list.js'\nimport { NymbalReviewForm } from './components/review-form.js'\nimport { NymbalOrderSummary } from './components/order-summary.js'\n\n/** Every element the package defines. */\nexport const ELEMENTS = [\n NymbalAddToCart,\n NymbalCartDrawer,\n NymbalMiniCart,\n NymbalVariantSelector,\n NymbalQuantitySelector,\n NymbalSearchBar,\n NymbalProductFilter,\n NymbalToast,\n NymbalPaymentElement,\n NymbalSortDropdown,\n NymbalCartPage,\n NymbalProductCard,\n NymbalSearchResults,\n NymbalLoginForm,\n NymbalRegisterForm,\n NymbalProfileForm,\n NymbalAddressForm,\n NymbalAddressBook,\n NymbalCheckout,\n NymbalProductGrid,\n NymbalProductPrice,\n NymbalStockBadge,\n NymbalBreadcrumb,\n NymbalImageGallery,\n NymbalSiteHeader,\n NymbalSiteFooter,\n NymbalCategoryNav,\n NymbalReviewList,\n NymbalReviewForm,\n NymbalOrderSummary,\n]\n\n/**\n * Defines every element, and registers the built-in payment drivers, except a tag or driver name the project has\n * already defined: the project's wins. A page that renders a few elements passes those to `define` instead.\n */\nexport function registerComponents(): void {\n define(...ELEMENTS)\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAkCO,IAAM,WAAW;AAAA,EACtB;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF;AAMO,SAAS,qBAA2B;AACzC,SAAO,GAAG,QAAQ;AACpB;","names":[]}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import * as _nymbalhq_sdk from '@nymbalhq/sdk';
|
|
2
|
+
import * as lit from 'lit';
|
|
3
|
+
import { NymbalElement, ElementSchema } from '../index.js';
|
|
4
|
+
|
|
5
|
+
declare class NymbalAddToCart extends NymbalElement {
|
|
6
|
+
static schema: ElementSchema;
|
|
7
|
+
static properties: lit.PropertyDeclarations;
|
|
8
|
+
static styles: lit.CSSResult[];
|
|
9
|
+
protected stores(): _nymbalhq_sdk.CartStore[];
|
|
10
|
+
protected render(): lit.TemplateResult<1>;
|
|
11
|
+
private handleClick;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
export { NymbalAddToCart };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import '@lit-labs/ssr-client/lit-element-hydrate-support.js'
|
|
2
|
+
import {
|
|
3
|
+
NymbalAddToCart
|
|
4
|
+
} from "../chunk-LHYXNQWY.js";
|
|
5
|
+
import "../chunk-EYDMJNNK.js";
|
|
6
|
+
import "../chunk-UCEVCLQ7.js";
|
|
7
|
+
export {
|
|
8
|
+
NymbalAddToCart
|
|
9
|
+
};
|
|
10
|
+
//# sourceMappingURL=nymbal-add-to-cart.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import * as lit from 'lit';
|
|
2
|
+
import { ElementSchema } from '../index.js';
|
|
3
|
+
import { N as NymbalFormElement } from '../form-element-C-qo3gpD.js';
|
|
4
|
+
import { NymbalAddressForm } from './nymbal-address-form.js';
|
|
5
|
+
import '@nymbalhq/sdk';
|
|
6
|
+
import '@nymbalhq/types';
|
|
7
|
+
|
|
8
|
+
/** The signed-in customer's saved addresses, and the form that adds one. */
|
|
9
|
+
declare class NymbalAddressBook extends NymbalFormElement {
|
|
10
|
+
static schema: ElementSchema;
|
|
11
|
+
static uses: (typeof NymbalAddressForm)[];
|
|
12
|
+
static properties: lit.PropertyDeclarations;
|
|
13
|
+
static styles: lit.CSSResult[];
|
|
14
|
+
addresses: unknown;
|
|
15
|
+
/** null until the first list answers. */
|
|
16
|
+
private listed;
|
|
17
|
+
private loadFailed;
|
|
18
|
+
connectedCallback(): void;
|
|
19
|
+
/** The list's answer settles the book: the addresses a server gave give way to it. */
|
|
20
|
+
private load;
|
|
21
|
+
private get addressForm();
|
|
22
|
+
protected send(): Promise<void>;
|
|
23
|
+
protected failureText(): string;
|
|
24
|
+
private readonly onAddSubmit;
|
|
25
|
+
private renderAddress;
|
|
26
|
+
private renderList;
|
|
27
|
+
protected render(): lit.TemplateResult<1>;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
export { NymbalAddressBook };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import '@lit-labs/ssr-client/lit-element-hydrate-support.js'
|
|
2
|
+
import {
|
|
3
|
+
NymbalAddressBook
|
|
4
|
+
} from "../chunk-B73QVSA5.js";
|
|
5
|
+
import "../chunk-V55K2CS5.js";
|
|
6
|
+
import "../chunk-PN6QKYE4.js";
|
|
7
|
+
import "../chunk-GHXTJ2CF.js";
|
|
8
|
+
import "../chunk-EYDMJNNK.js";
|
|
9
|
+
import "../chunk-UCEVCLQ7.js";
|
|
10
|
+
export {
|
|
11
|
+
NymbalAddressBook
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=nymbal-address-book.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import * as lit from 'lit';
|
|
2
|
+
import { Address } from '@nymbalhq/types';
|
|
3
|
+
import { NymbalElement, ElementSchema } from '../index.js';
|
|
4
|
+
import '@nymbalhq/sdk';
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* The address fields, with ids and test ids `<id-prefix>-<field>`. It renders no `<form>`: the view that holds it owns
|
|
8
|
+
* the submit (Enter in a field submits it) and reads `value`.
|
|
9
|
+
*/
|
|
10
|
+
declare class NymbalAddressForm extends NymbalElement {
|
|
11
|
+
static schema: ElementSchema;
|
|
12
|
+
static properties: lit.PropertyDeclarations;
|
|
13
|
+
static styles: lit.CSSResult[];
|
|
14
|
+
idPrefix: string | undefined;
|
|
15
|
+
private input;
|
|
16
|
+
/** The address as typed, trimmed; an empty second line is left out. */
|
|
17
|
+
get value(): Address;
|
|
18
|
+
/** Shows the browser's message on the first field that is not valid, as a native form would. */
|
|
19
|
+
reportValidity(): boolean;
|
|
20
|
+
reset(): void;
|
|
21
|
+
/**
|
|
22
|
+
* The inputs sit in this shadow root, so they have no form owner and Enter in one submits nothing natively. Enter
|
|
23
|
+
* submits the form that holds this element instead, as it would if the fields were its own.
|
|
24
|
+
*/
|
|
25
|
+
private readonly onKeydown;
|
|
26
|
+
protected render(): lit.TemplateResult<1>;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export { NymbalAddressForm };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import '@lit-labs/ssr-client/lit-element-hydrate-support.js'
|
|
2
|
+
import {
|
|
3
|
+
NymbalAddressForm
|
|
4
|
+
} from "../chunk-V55K2CS5.js";
|
|
5
|
+
import "../chunk-PN6QKYE4.js";
|
|
6
|
+
import "../chunk-GHXTJ2CF.js";
|
|
7
|
+
import "../chunk-EYDMJNNK.js";
|
|
8
|
+
import "../chunk-UCEVCLQ7.js";
|
|
9
|
+
export {
|
|
10
|
+
NymbalAddressForm
|
|
11
|
+
};
|
|
12
|
+
//# sourceMappingURL=nymbal-address-form.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import * as lit from 'lit';
|
|
2
|
+
import { nothing } from 'lit';
|
|
3
|
+
import { NymbalElement, ElementSchema } from '../index.js';
|
|
4
|
+
import '@nymbalhq/sdk';
|
|
5
|
+
|
|
6
|
+
/** Where the page sits: each crumb a link, the last the page itself (`aria-current="page"`). */
|
|
7
|
+
declare class NymbalBreadcrumb extends NymbalElement {
|
|
8
|
+
static schema: ElementSchema;
|
|
9
|
+
static properties: lit.PropertyDeclarations;
|
|
10
|
+
static styles: lit.CSSResult[];
|
|
11
|
+
items: unknown;
|
|
12
|
+
protected render(): typeof nothing | lit.TemplateResult<1>;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
export { NymbalBreadcrumb };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import '@lit-labs/ssr-client/lit-element-hydrate-support.js'
|
|
2
|
+
import {
|
|
3
|
+
NymbalBreadcrumb
|
|
4
|
+
} from "../chunk-N4Y5DI4X.js";
|
|
5
|
+
import "../chunk-LO2EW5YP.js";
|
|
6
|
+
import "../chunk-EYDMJNNK.js";
|
|
7
|
+
import "../chunk-UCEVCLQ7.js";
|
|
8
|
+
export {
|
|
9
|
+
NymbalBreadcrumb
|
|
10
|
+
};
|
|
11
|
+
//# sourceMappingURL=nymbal-breadcrumb.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import * as _nymbalhq_sdk from '@nymbalhq/sdk';
|
|
2
|
+
import * as lit from 'lit';
|
|
3
|
+
import { NymbalElement, ElementSchema } from '../index.js';
|
|
4
|
+
|
|
5
|
+
declare class NymbalCartDrawer extends NymbalElement {
|
|
6
|
+
static schema: ElementSchema;
|
|
7
|
+
static properties: lit.PropertyDeclarations;
|
|
8
|
+
static styles: lit.CSSResult[];
|
|
9
|
+
private readonly handleItemAdded;
|
|
10
|
+
private readonly handleMiniCartClicked;
|
|
11
|
+
cart: unknown;
|
|
12
|
+
protected stores(): _nymbalhq_sdk.CartStore[];
|
|
13
|
+
protected storeSettled(): void;
|
|
14
|
+
connectedCallback(): void;
|
|
15
|
+
disconnectedCallback(): void;
|
|
16
|
+
/** Opens the drawer (the `open` attribute and property say whether it is). */
|
|
17
|
+
show(): void;
|
|
18
|
+
hide(): void;
|
|
19
|
+
toggle(): void;
|
|
20
|
+
protected render(): lit.TemplateResult<1>;
|
|
21
|
+
private handleCheckout;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
export { NymbalCartDrawer };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import '@lit-labs/ssr-client/lit-element-hydrate-support.js'
|
|
2
|
+
import {
|
|
3
|
+
NymbalCartDrawer
|
|
4
|
+
} from "../chunk-LSQPUZK6.js";
|
|
5
|
+
import "../chunk-DR5QB5VN.js";
|
|
6
|
+
import "../chunk-EYDMJNNK.js";
|
|
7
|
+
import "../chunk-UCEVCLQ7.js";
|
|
8
|
+
export {
|
|
9
|
+
NymbalCartDrawer
|
|
10
|
+
};
|
|
11
|
+
//# sourceMappingURL=nymbal-cart-drawer.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import * as _nymbalhq_sdk from '@nymbalhq/sdk';
|
|
2
|
+
import * as lit from 'lit';
|
|
3
|
+
import { NymbalElement, ElementSchema } from '../index.js';
|
|
4
|
+
import { NymbalQuantitySelector } from './nymbal-quantity-selector.js';
|
|
5
|
+
|
|
6
|
+
/** The cart as a page: its lines, quantities and removal, and a summary whose subtotal is the API's. */
|
|
7
|
+
declare class NymbalCartPage extends NymbalElement {
|
|
8
|
+
static schema: ElementSchema;
|
|
9
|
+
static uses: (typeof NymbalQuantitySelector)[];
|
|
10
|
+
static properties: lit.PropertyDeclarations;
|
|
11
|
+
static styles: lit.CSSResult[];
|
|
12
|
+
cart: unknown;
|
|
13
|
+
protected stores(): _nymbalhq_sdk.CartStore[];
|
|
14
|
+
protected storeSettled(): void;
|
|
15
|
+
/** The first line's image is at the top of the page and is often its LCP, so only the lines below it load lazily. */
|
|
16
|
+
private renderLine;
|
|
17
|
+
protected render(): lit.TemplateResult<1>;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
export { NymbalCartPage };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import '@lit-labs/ssr-client/lit-element-hydrate-support.js'
|
|
2
|
+
import {
|
|
3
|
+
NymbalCartPage
|
|
4
|
+
} from "../chunk-VTQVGNVC.js";
|
|
5
|
+
import "../chunk-HPBC3OG7.js";
|
|
6
|
+
import "../chunk-RVSKX2RX.js";
|
|
7
|
+
import "../chunk-GHXTJ2CF.js";
|
|
8
|
+
import "../chunk-DR5QB5VN.js";
|
|
9
|
+
import "../chunk-EYDMJNNK.js";
|
|
10
|
+
import "../chunk-UCEVCLQ7.js";
|
|
11
|
+
export {
|
|
12
|
+
NymbalCartPage
|
|
13
|
+
};
|
|
14
|
+
//# sourceMappingURL=nymbal-cart-page.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import * as lit from 'lit';
|
|
2
|
+
import { nothing } from 'lit';
|
|
3
|
+
import { NymbalElement, ElementSchema } from '../index.js';
|
|
4
|
+
import '@nymbalhq/sdk';
|
|
5
|
+
|
|
6
|
+
/** A card per category, each a link to its listing. */
|
|
7
|
+
declare class NymbalCategoryNav extends NymbalElement {
|
|
8
|
+
static schema: ElementSchema;
|
|
9
|
+
static properties: lit.PropertyDeclarations;
|
|
10
|
+
static styles: lit.CSSResult[];
|
|
11
|
+
categories: unknown;
|
|
12
|
+
protected render(): typeof nothing | lit.TemplateResult<1>;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
export { NymbalCategoryNav };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import '@lit-labs/ssr-client/lit-element-hydrate-support.js'
|
|
2
|
+
import {
|
|
3
|
+
NymbalCategoryNav
|
|
4
|
+
} from "../chunk-IYT7VXFS.js";
|
|
5
|
+
import "../chunk-LO2EW5YP.js";
|
|
6
|
+
import "../chunk-EYDMJNNK.js";
|
|
7
|
+
import "../chunk-UCEVCLQ7.js";
|
|
8
|
+
export {
|
|
9
|
+
NymbalCategoryNav
|
|
10
|
+
};
|
|
11
|
+
//# sourceMappingURL=nymbal-category-nav.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import * as _nymbalhq_sdk from '@nymbalhq/sdk';
|
|
2
|
+
import * as lit from 'lit';
|
|
3
|
+
import { NymbalElement, ElementSchema } from '../index.js';
|
|
4
|
+
import { NymbalAddressForm } from './nymbal-address-form.js';
|
|
5
|
+
import '@nymbalhq/types';
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* The checkout: contact, shipping, then payment with billing, beside the order summary. It drives the SDK's checkout
|
|
9
|
+
* store, and on an order dispatches `nymbal:checkout:placed`; the page navigates. The payment element is the page's
|
|
10
|
+
* light-DOM child in the `payment` slot, so the payment driver's UI shares the document tree and is mounted once.
|
|
11
|
+
*/
|
|
12
|
+
declare class NymbalCheckout extends NymbalElement {
|
|
13
|
+
static schema: ElementSchema;
|
|
14
|
+
static uses: (typeof NymbalAddressForm)[];
|
|
15
|
+
static properties: lit.PropertyDeclarations;
|
|
16
|
+
static styles: lit.CSSResult[];
|
|
17
|
+
private step;
|
|
18
|
+
private error;
|
|
19
|
+
private billingSame;
|
|
20
|
+
private placing;
|
|
21
|
+
private placed;
|
|
22
|
+
/** True from a step change until the next animation frame (Decision 4's multi-click rule). */
|
|
23
|
+
private stepChanging;
|
|
24
|
+
private stepTurn;
|
|
25
|
+
private heightRelease;
|
|
26
|
+
cart: unknown;
|
|
27
|
+
protected stores(): _nymbalhq_sdk.CartStore[];
|
|
28
|
+
protected storeSettled(): void;
|
|
29
|
+
connectedCallback(): void;
|
|
30
|
+
disconnectedCallback(): void;
|
|
31
|
+
private readonly onPaymentStatus;
|
|
32
|
+
private paymentElement;
|
|
33
|
+
/**
|
|
34
|
+
* Read at each render, so a status the child reached during its own upgrade, before this listened, still holds.
|
|
35
|
+
* Without a client (a server render) there is no light DOM to read, and no order to place.
|
|
36
|
+
*/
|
|
37
|
+
private paymentBlocked;
|
|
38
|
+
private addressForm;
|
|
39
|
+
private go;
|
|
40
|
+
/**
|
|
41
|
+
* Keeps the main column at least as tall as the step it replaces until a double click is over. A shorter next step
|
|
42
|
+
* would shorten the page under a still cursor, and the second click would land on whatever rose there (a footer
|
|
43
|
+
* link), outside this element, where neither multi-click guard sees it. Released after 600 ms, past the 500 ms an OS
|
|
44
|
+
* allows between the two clicks of a double click, so the column then settles to the shown step's own height.
|
|
45
|
+
*/
|
|
46
|
+
private holdMainHeight;
|
|
47
|
+
private releaseMainHeight;
|
|
48
|
+
private showError;
|
|
49
|
+
/**
|
|
50
|
+
* Whether a submit of `step`'s form goes ahead. The step setters are synchronous, so by a double click's second
|
|
51
|
+
* click the next step has rendered under the cursor: a submit in the frame of a step change is not the shopper's.
|
|
52
|
+
*/
|
|
53
|
+
private accepts;
|
|
54
|
+
/** The second click of a multi-click is not a decision to continue or to pay; the first one already submitted. */
|
|
55
|
+
private readonly onSubmitClick;
|
|
56
|
+
private readonly onContact;
|
|
57
|
+
private readonly onShipping;
|
|
58
|
+
private billingAddress;
|
|
59
|
+
private readonly onPlace;
|
|
60
|
+
/** Calls the SDK before its first `await`, so the in-flight flag set by the caller covers the order request. */
|
|
61
|
+
private place;
|
|
62
|
+
private confirm;
|
|
63
|
+
private stay;
|
|
64
|
+
/** Place Order stays disabled from here through the page's navigation. */
|
|
65
|
+
private leaveFor;
|
|
66
|
+
private readonly onBillingSame;
|
|
67
|
+
private back;
|
|
68
|
+
private renderSteps;
|
|
69
|
+
private renderContact;
|
|
70
|
+
private renderShipping;
|
|
71
|
+
private renderPayment;
|
|
72
|
+
private renderLine;
|
|
73
|
+
private renderSummary;
|
|
74
|
+
protected render(): lit.TemplateResult<1>;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
export { NymbalCheckout };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import '@lit-labs/ssr-client/lit-element-hydrate-support.js'
|
|
2
|
+
import {
|
|
3
|
+
NymbalCheckout
|
|
4
|
+
} from "../chunk-6XCCAAMF.js";
|
|
5
|
+
import "../chunk-RVSKX2RX.js";
|
|
6
|
+
import "../chunk-V55K2CS5.js";
|
|
7
|
+
import "../chunk-PN6QKYE4.js";
|
|
8
|
+
import "../chunk-GHXTJ2CF.js";
|
|
9
|
+
import "../chunk-DR5QB5VN.js";
|
|
10
|
+
import "../chunk-EYDMJNNK.js";
|
|
11
|
+
import "../chunk-UCEVCLQ7.js";
|
|
12
|
+
export {
|
|
13
|
+
NymbalCheckout
|
|
14
|
+
};
|
|
15
|
+
//# sourceMappingURL=nymbal-checkout.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import * as lit from 'lit';
|
|
2
|
+
import { PropertyValues, nothing } from 'lit';
|
|
3
|
+
import { NymbalElement, ElementSchema } from '../index.js';
|
|
4
|
+
import '@nymbalhq/sdk';
|
|
5
|
+
|
|
6
|
+
/** A product's images: the one shown, and a thumbnail per image (when there are several) that shows it. */
|
|
7
|
+
declare class NymbalImageGallery extends NymbalElement {
|
|
8
|
+
static schema: ElementSchema;
|
|
9
|
+
static properties: lit.PropertyDeclarations;
|
|
10
|
+
static styles: lit.CSSResult[];
|
|
11
|
+
images: unknown;
|
|
12
|
+
/** The image shown; a new list of images starts again at its first. */
|
|
13
|
+
private shownIndex;
|
|
14
|
+
protected willUpdate(changed: PropertyValues): void;
|
|
15
|
+
private show;
|
|
16
|
+
protected render(): typeof nothing | lit.TemplateResult<1>;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
export { NymbalImageGallery };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import '@lit-labs/ssr-client/lit-element-hydrate-support.js'
|
|
2
|
+
import {
|
|
3
|
+
NymbalImageGallery
|
|
4
|
+
} from "../chunk-U2PU4CWB.js";
|
|
5
|
+
import "../chunk-EYDMJNNK.js";
|
|
6
|
+
import "../chunk-UCEVCLQ7.js";
|
|
7
|
+
export {
|
|
8
|
+
NymbalImageGallery
|
|
9
|
+
};
|
|
10
|
+
//# sourceMappingURL=nymbal-image-gallery.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import * as lit from 'lit';
|
|
2
|
+
import { ElementSchema } from '../index.js';
|
|
3
|
+
import { N as NymbalFormElement } from '../form-element-C-qo3gpD.js';
|
|
4
|
+
import '@nymbalhq/sdk';
|
|
5
|
+
|
|
6
|
+
/** Signs the shopper in; the page decides where they go next (`nymbal:auth:signed-in`). */
|
|
7
|
+
declare class NymbalLoginForm extends NymbalFormElement {
|
|
8
|
+
static schema: ElementSchema;
|
|
9
|
+
static properties: lit.PropertyDeclarations;
|
|
10
|
+
static styles: lit.CSSResult[];
|
|
11
|
+
protected readonly lockOnSuccess = true;
|
|
12
|
+
protected send(): Promise<void>;
|
|
13
|
+
protected failureText(err: unknown): string;
|
|
14
|
+
protected render(): lit.TemplateResult<1>;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export { NymbalLoginForm };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import '@lit-labs/ssr-client/lit-element-hydrate-support.js'
|
|
2
|
+
import {
|
|
3
|
+
NymbalLoginForm
|
|
4
|
+
} from "../chunk-42SSME5H.js";
|
|
5
|
+
import "../chunk-PN6QKYE4.js";
|
|
6
|
+
import "../chunk-GHXTJ2CF.js";
|
|
7
|
+
import "../chunk-EYDMJNNK.js";
|
|
8
|
+
import "../chunk-UCEVCLQ7.js";
|
|
9
|
+
export {
|
|
10
|
+
NymbalLoginForm
|
|
11
|
+
};
|
|
12
|
+
//# sourceMappingURL=nymbal-login-form.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import * as _nymbalhq_sdk from '@nymbalhq/sdk';
|
|
2
|
+
import * as lit from 'lit';
|
|
3
|
+
import { NymbalElement, ElementSchema } from '../index.js';
|
|
4
|
+
|
|
5
|
+
declare class NymbalMiniCart extends NymbalElement {
|
|
6
|
+
static schema: ElementSchema;
|
|
7
|
+
static properties: lit.PropertyDeclarations;
|
|
8
|
+
static styles: lit.CSSResult[];
|
|
9
|
+
count: number | undefined;
|
|
10
|
+
protected stores(): _nymbalhq_sdk.CartStore[];
|
|
11
|
+
protected storeSettled(): void;
|
|
12
|
+
private itemCount;
|
|
13
|
+
protected render(): lit.TemplateResult<1>;
|
|
14
|
+
private handleClick;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export { NymbalMiniCart };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import '@lit-labs/ssr-client/lit-element-hydrate-support.js'
|
|
2
|
+
import {
|
|
3
|
+
NymbalMiniCart
|
|
4
|
+
} from "../chunk-2XXBQPDB.js";
|
|
5
|
+
import "../chunk-EYDMJNNK.js";
|
|
6
|
+
import "../chunk-UCEVCLQ7.js";
|
|
7
|
+
export {
|
|
8
|
+
NymbalMiniCart
|
|
9
|
+
};
|
|
10
|
+
//# sourceMappingURL=nymbal-mini-cart.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import * as lit from 'lit';
|
|
2
|
+
import { NymbalElement, ElementSchema } from '../index.js';
|
|
3
|
+
import '@nymbalhq/sdk';
|
|
4
|
+
|
|
5
|
+
/** A placed order's lines, subtotal, discount (when there is one), shipping, tax and total. */
|
|
6
|
+
declare class NymbalOrderSummary extends NymbalElement {
|
|
7
|
+
static schema: ElementSchema;
|
|
8
|
+
static properties: lit.PropertyDeclarations;
|
|
9
|
+
static styles: lit.CSSResult[];
|
|
10
|
+
items: unknown;
|
|
11
|
+
subtotalMinor: number | undefined;
|
|
12
|
+
discountMinor: number | undefined;
|
|
13
|
+
shippingMinor: number | undefined;
|
|
14
|
+
taxMinor: number | undefined;
|
|
15
|
+
totalMinor: number | undefined;
|
|
16
|
+
currency: string | undefined;
|
|
17
|
+
protected render(): lit.TemplateResult<1>;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
export { NymbalOrderSummary };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import '@lit-labs/ssr-client/lit-element-hydrate-support.js'
|
|
2
|
+
import {
|
|
3
|
+
NymbalOrderSummary
|
|
4
|
+
} from "../chunk-SM7TASEW.js";
|
|
5
|
+
import "../chunk-RVSKX2RX.js";
|
|
6
|
+
import "../chunk-EYDMJNNK.js";
|
|
7
|
+
import "../chunk-UCEVCLQ7.js";
|
|
8
|
+
export {
|
|
9
|
+
NymbalOrderSummary
|
|
10
|
+
};
|
|
11
|
+
//# sourceMappingURL=nymbal-order-summary.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|