PluginProbe ʕ •ᴥ•ʔ
SureCart – Ecommerce Made Easy For Selling Physical Products, Digital Downloads, Subscriptions, Donations, & Payments / 3.0.3
SureCart – Ecommerce Made Easy For Selling Physical Products, Digital Downloads, Subscriptions, Donations, & Payments v3.0.3
4.5.1 4.5.0 4.4.2 4.4.1 4.4.0 4.3.3 4.3.2 4.3.1 4.3.0 4.2.3 4.2.2 4.2.1 1.0.3 1.0.4 1.0.5 1.0.6 1.1.0 1.1.1 1.1.10 1.1.11 1.1.12 1.1.13 1.1.14 1.1.15 1.1.16 1.1.17 1.1.18 1.1.19 1.1.2 1.1.3 1.1.4 1.1.5 1.1.6 1.1.7 1.1.8 1.1.9 1.10.0 1.10.1 1.10.2 1.10.3 1.10.4 1.11.0 1.11.1 1.11.2 1.2.0 1.2.1 1.2.2 1.2.3 1.2.4 1.2.5 1.3.0 1.3.1 1.3.2 1.3.3 1.3.4 1.4.0 1.4.1 1.4.2 1.5.0 1.5.1 1.5.2 1.5.3 1.5.4 1.5.5 1.5.6 1.5.7 1.5.8 1.6.0 1.6.1 1.6.2 1.6.3 1.6.4 1.7.0 1.7.1 1.7.2 1.8.0 1.8.1 1.8.2 1.8.3 1.8.4 1.8.5 1.9.0 1.9.1 1.9.2 1.9.3 1.9.4 1.9.5 2.0.0 2.0.1 2.1.0 2.1.1 2.1.2 2.1.3 2.1.4 2.10.0 2.10.1 2.11.0 2.11.1 2.11.2 2.11.3 2.11.4 2.12.0 2.13.0 2.14.0 2.14.1 2.15.0 2.15.1 2.16.0 2.16.1 2.16.2 2.16.3 2.17.0 2.17.1 2.17.2 2.18.0 2.19.0 2.19.2 2.19.3 2.19.4 2.2.0 2.2.1 2.20.0 2.20.1 2.20.2 2.20.3 2.20.4 2.20.5 2.20.6 2.21.0 2.22.0 2.22.1 2.23.0 2.24.0 2.25.0 2.25.1 2.25.2 2.26.0 2.27.0 2.27.1 2.28.0 2.29.0 2.29.1 2.29.2 2.29.3 2.29.4 2.3.0 2.3.1 2.30.0 2.31.0 2.31.1 2.31.2 2.31.3 2.4.0 2.4.1 2.4.2 2.4.3 2.4.4 2.40.0 2.40.1 2.5.0 2.5.1 2.5.2 2.6.0 2.6.1 2.6.2 2.7.0 2.7.1 2.7.2 2.7.3 2.7.4 2.7.5 2.8.0 2.8.1 2.8.2 2.8.3 2.8.4 2.9.0 3.0.0 3.0.0-RC1 3.0.0-RC2 3.0.0-beta1 3.0.0-beta2 3.0.1 3.0.2 3.0.3 3.0.4 3.0.5 3.1.0 3.1.1 3.1.2 3.1.3 3.1.4 3.1.5 3.1.6 3.10.0 3.10.1 3.11.0 3.12.0 3.13.0 3.13.1 3.13.2 3.13.3 3.13.4 3.14.0 3.15.0 3.15.1 3.15.2 3.15.3 3.15.4 3.15.5 3.16.0 3.16.1 3.16.2 3.16.3 3.16.4 3.16.5 3.16.6 3.16.7 3.16.8 3.17.0 3.17.1 3.17.2 3.17.3 3.17.4 3.17.5 3.17.6 3.18.0 3.19.0 3.19.1 3.19.2 3.2.0 3.2.1 3.2.2 3.20.0 3.20.1 3.3.0 3.3.1 3.4.0 3.4.1 3.4.2 3.4.3 3.5.0 3.5.1 3.5.2 3.5.3 3.6.0 3.6.1 3.6.2 3.7.0 3.7.1 3.7.2 3.7.3 3.8.0 3.8.1 3.8.2 3.8.3 3.8.4 3.8.5 3.9.0 4.0.0 4.0.1 4.0.2 4.0.3 trunk 4.1.0 0.2.19.1 4.1.1 1.0.0 4.2.0 1.0.1 1.0.2
surecart / dist / components / types / components.d.ts
surecart / dist / components / types Last commit date
components 1 year ago functions 1 year ago global 3 years ago services 1 year ago store 1 year ago testing 1 year ago components.d.ts 1 year ago global.d.ts 3 years ago index.d.ts 2 years ago stencil-public-runtime.d.ts 1 year ago types.d.ts 1 year ago
components.d.ts
12053 lines
1 /* eslint-disable */
2 /* tslint:disable */
3 /**
4 * This is an autogenerated file created by the Stencil compiler.
5 * It contains typing information for all components that exist in this project.
6 */
7 import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime";
8 import { Address, Bump, CancellationReason, Checkout, ChoiceItem, Customer, DiscountResponse, Download, Fee, FormState, FormStateSetter, FulfillmentStatus, ImageAttributes, InvoiceStatus, License, LineItem, LineItemData as LineItemData1, ManualPaymentMethod, Order, OrderFulFillmentStatus, OrderShipmentStatus, OrderStatus, PaymentInfoAddedParams, PaymentMethod, Price, PriceChoice, Prices, Processor, ProcessorName, Product, ProductGroup, Products, ProductsSearchedParams, ProductsViewedParams, Purchase, ResponseError, ReturnRequestStatus, RuleGroup, Subscription, SubscriptionProtocol, SubscriptionStatus, TaxProtocol, WordPressUser } from "./types";
9 import { LineItemData, Price as Price1, Product as Product1, ProductMetrics, Subscription as Subscription1 } from "./types";
10 import { LayoutConfig } from "./components/controllers/products/sc-product-item-list/sc-product-item-list";
11 import { LayoutConfig as LayoutConfig1 } from "./components/controllers/products/sc-product-item-list/sc-product-item-list";
12 export { Address, Bump, CancellationReason, Checkout, ChoiceItem, Customer, DiscountResponse, Download, Fee, FormState, FormStateSetter, FulfillmentStatus, ImageAttributes, InvoiceStatus, License, LineItem, LineItemData as LineItemData1, ManualPaymentMethod, Order, OrderFulFillmentStatus, OrderShipmentStatus, OrderStatus, PaymentInfoAddedParams, PaymentMethod, Price, PriceChoice, Prices, Processor, ProcessorName, Product, ProductGroup, Products, ProductsSearchedParams, ProductsViewedParams, Purchase, ResponseError, ReturnRequestStatus, RuleGroup, Subscription, SubscriptionProtocol, SubscriptionStatus, TaxProtocol, WordPressUser } from "./types";
13 export { LineItemData, Price as Price1, Product as Product1, ProductMetrics, Subscription as Subscription1 } from "./types";
14 export { LayoutConfig } from "./components/controllers/products/sc-product-item-list/sc-product-item-list";
15 export { LayoutConfig as LayoutConfig1 } from "./components/controllers/products/sc-product-item-list/sc-product-item-list";
16 export namespace Components {
17 interface ScAddress {
18 /**
19 * The address.
20 */
21 "address": Partial<Address>;
22 /**
23 * Is this disabled?
24 */
25 "disabled": boolean;
26 /**
27 * The label for the field.
28 */
29 "label": string;
30 /**
31 * Is this loading?
32 */
33 "loading": boolean;
34 "names": Partial<Address>;
35 "placeholders": Partial<Address>;
36 "reportValidity": () => Promise<boolean>;
37 /**
38 * Is the name required
39 */
40 "requireName": boolean;
41 /**
42 * Is this required?
43 */
44 "required": boolean;
45 /**
46 * Should we show name field?
47 */
48 "showLine2": boolean;
49 /**
50 * Should we show name field?
51 */
52 "showName": boolean;
53 }
54 interface ScAlert {
55 /**
56 * Makes the alert closable.
57 */
58 "closable": boolean;
59 /**
60 * The length of time, in milliseconds, the alert will show before closing itself. If the user interacts with the alert before it closes (e.g. moves the mouse over it), the timer will restart. Defaults to `Infinity`.
61 */
62 "duration": number;
63 /**
64 * Hides the alert
65 */
66 "hide": () => Promise<void>;
67 /**
68 * No icon
69 */
70 "noIcon": boolean;
71 /**
72 * Indicates whether or not the alert is open. You can use this in lieu of the show/hide methods.
73 */
74 "open": boolean;
75 /**
76 * Scroll margin
77 */
78 "scrollMargin": string;
79 /**
80 * Scroll into view.
81 */
82 "scrollOnOpen": boolean;
83 /**
84 * Shows the alert.
85 */
86 "show": () => Promise<void>;
87 /**
88 * The title.
89 */
90 "title": string;
91 /**
92 * The type of alert.
93 */
94 "type": 'primary' | 'success' | 'info' | 'warning' | 'danger';
95 }
96 interface ScAvatar {
97 /**
98 * The image source to use for the avatar.
99 */
100 "image": string;
101 /**
102 * Initials to use as a fallback when no image is available (1-2 characters max recommended).
103 */
104 "initials": string;
105 /**
106 * A label to use to describe the avatar to assistive devices.
107 */
108 "label": string;
109 /**
110 * Indicates how the browser should load the image.
111 */
112 "loading": 'eager' | 'lazy';
113 /**
114 * The shape of the avatar.
115 */
116 "shape": 'circle' | 'square' | 'rounded';
117 }
118 interface ScBadgeNotice {
119 "label": string;
120 "size": 'small' | 'medium' | 'large';
121 "type": 'primary' | 'success' | 'info' | 'warning' | 'danger' | 'default';
122 }
123 interface ScBlockUi {
124 "spinner": boolean;
125 "transparent": boolean;
126 "zIndex": number;
127 }
128 interface ScBreadcrumb {
129 /**
130 * Optional URL to direct the user to when the breadcrumb item is activated. When set, a link will be rendered internally. When unset, a button will be rendered instead.
131 */
132 "href"?: string;
133 /**
134 * The `rel` attribute to use on the link. Only used when `href` is set.
135 */
136 "rel": string;
137 /**
138 * Tells the browser where to open the link. Only used when `href` is set.
139 */
140 "target"?: '_blank' | '_parent' | '_self' | '_top';
141 }
142 interface ScBreadcrumbs {
143 /**
144 * The label to use for the breadcrumb control. This will not be shown, but it will be announced by screen readers and other assistive devices.
145 */
146 "label": string;
147 }
148 interface ScButton {
149 /**
150 * Tells the browser to autofocus.
151 */
152 "autofocus": boolean;
153 /**
154 * Draws the button in a busy state.
155 */
156 "busy"?: boolean;
157 /**
158 * Draws the button with a caret for use with dropdowns, popovers, etc.
159 */
160 "caret"?: boolean;
161 /**
162 * Draws a circle button.
163 */
164 "circle"?: boolean;
165 /**
166 * Disables the button.
167 */
168 "disabled"?: boolean;
169 /**
170 * Tells the browser to download the linked file as this filename. Only used when `href` is set.
171 */
172 "download": string;
173 /**
174 * Draws the button full-width.
175 */
176 "full"?: boolean;
177 /**
178 * When set, the underlying button will be rendered as an `<a>` with this `href` instead of a `<button>`.
179 */
180 "href": string;
181 /**
182 * Draws the button in a loading state.
183 */
184 "loading"?: boolean;
185 /**
186 * An optional name for the button. Ignored when `href` is set.
187 */
188 "name": string;
189 /**
190 * Draws an outlined button.
191 */
192 "outline"?: boolean;
193 /**
194 * Draws a pill-style button with rounded edges.
195 */
196 "pill"?: boolean;
197 /**
198 * The button's size.
199 */
200 "size": 'small' | 'medium' | 'large';
201 /**
202 * Indicates if activating the button should submit the form. Ignored when `href` is set.
203 */
204 "submit"?: boolean;
205 /**
206 * Tells the browser where to open the link. Only used when `href` is set.
207 */
208 "target": '_blank' | '_parent' | '_self' | '_top';
209 /**
210 * The button's type.
211 */
212 "type": 'default' | 'primary' | 'success' | 'info' | 'warning' | 'danger' | 'text' | 'link';
213 /**
214 * An optional value for the button. Ignored when `href` is set.
215 */
216 "value": string;
217 }
218 interface ScButtonGroup {
219 "label": string;
220 "separate": boolean;
221 }
222 interface ScCancelDialog {
223 "open": boolean;
224 "protocol": SubscriptionProtocol;
225 "subscription": Subscription;
226 }
227 interface ScCancelDiscount {
228 "comment": string;
229 "protocol": SubscriptionProtocol;
230 "reason": CancellationReason;
231 "subscription": Subscription;
232 }
233 interface ScCancelSurvey {
234 "protocol": SubscriptionProtocol;
235 "reasons": CancellationReason[];
236 }
237 interface ScCard {
238 /**
239 * Is this card borderless.
240 */
241 "borderless": boolean;
242 /**
243 * A link for the card.
244 */
245 "href": string;
246 /**
247 * Is this card loading.
248 */
249 "loading": boolean;
250 /**
251 * Eliminate the divider
252 */
253 "noDivider": boolean;
254 /**
255 * Remove padding
256 */
257 "noPadding": boolean;
258 }
259 interface ScCart {
260 /**
261 * Should we force show the cart, even if there's a form on the page?
262 */
263 "alwaysShow": boolean;
264 /**
265 * The template for the cart to inject when opened.
266 */
267 "cartTemplate": string;
268 "checkoutLink": string;
269 /**
270 * The checkout url for the button.
271 */
272 "checkoutUrl": string;
273 /**
274 * Whether the floating button should be visible
275 */
276 "floatingIconEnabled": boolean;
277 /**
278 * The form id to use for the cart.
279 */
280 "formId": string;
281 /**
282 * The header for the popout.
283 */
284 "header": string;
285 /**
286 * Are we in test or live mode.
287 */
288 "mode": 'test' | 'live';
289 }
290 interface ScCartButton {
291 /**
292 * Whether the cart icon is always shown when the cart is empty
293 */
294 "cartMenuAlwaysShown": boolean;
295 /**
296 * The form id to use for the cart.
297 */
298 "formId": string;
299 /**
300 * Are we in test or live mode.
301 */
302 "mode": 'test' | 'live';
303 /**
304 * Whether the cart count will be shown or not when the cart is empty
305 */
306 "showEmptyCount": boolean;
307 }
308 interface ScCartForm {
309 /**
310 * The form id to use for the cart.
311 */
312 "formId": string;
313 /**
314 * Are we in test or live mode.
315 */
316 "mode": 'test' | 'live';
317 /**
318 * The price id to add.
319 */
320 "priceId": string;
321 /**
322 * The quantity
323 */
324 "quantity": number;
325 /**
326 * The variant id to add.
327 */
328 "variantId": string;
329 }
330 interface ScCartFormSubmit {
331 /**
332 * Show a full-width button.
333 */
334 "full": boolean;
335 /**
336 * Icon to show.
337 */
338 "icon": string;
339 /**
340 * The button's size.
341 */
342 "size": 'small' | 'medium' | 'large';
343 /**
344 * The button type.
345 */
346 "type": 'default' | 'primary' | 'success' | 'info' | 'warning' | 'danger' | 'text' | 'link';
347 }
348 interface ScCartHeader {
349 }
350 interface ScCartIcon {
351 /**
352 * The icon to show.
353 */
354 "icon": string;
355 }
356 interface ScCartLoader {
357 /**
358 * The cart template to inject when opened.
359 */
360 "template": string;
361 }
362 interface ScCartSessionProvider {
363 }
364 interface ScCartSubmit {
365 /**
366 * Is the cart busy
367 */
368 "busy": boolean;
369 }
370 interface ScCcLogo {
371 "brand": string;
372 }
373 interface ScChargesList {
374 "allLink": string;
375 "heading": string;
376 /**
377 * Query to fetch charges
378 */
379 "query": {
380 page: number;
381 per_page: number;
382 };
383 "showPagination": boolean;
384 }
385 interface ScCheckbox {
386 /**
387 * Draws the checkbox in a checked state.
388 */
389 "checked": boolean;
390 /**
391 * Disables the checkbox.
392 */
393 "disabled": boolean;
394 /**
395 * Makes this edit and not editable.
396 */
397 "edit": boolean;
398 /**
399 * Draws the checkbox in an indeterminate state.
400 */
401 "indeterminate": boolean;
402 /**
403 * This will be true when the control is in an invalid state. Validity is determined by the `required` prop.
404 */
405 "invalid": boolean;
406 /**
407 * The checkbox's name attribute.
408 */
409 "name": string;
410 /**
411 * Checks for validity and shows the browser's validation message if the control is invalid.
412 */
413 "reportValidity": () => Promise<boolean>;
414 /**
415 * Makes the checkbox a required field.
416 */
417 "required": boolean;
418 /**
419 * Removes focus from the checkbox.
420 */
421 "triggerBlur": () => Promise<void>;
422 /**
423 * Simulates a click on the checkbox.
424 */
425 "triggerClick": () => Promise<void>;
426 /**
427 * Sets focus on the checkbox.
428 */
429 "triggerFocus": (options?: FocusOptions) => Promise<void>;
430 /**
431 * The checkbox's value attribute.
432 */
433 "value": string;
434 }
435 interface ScCheckout {
436 /**
437 * Is abandoned checkout enabled.
438 */
439 "abandonedCheckoutEnabled": boolean;
440 /**
441 * Alignment
442 */
443 "alignment": 'center' | 'wide' | 'full';
444 /**
445 * Currency to use for this checkout.
446 */
447 "currencyCode": string;
448 /**
449 * Stores the current customer
450 */
451 "customer": Customer;
452 /**
453 * Should we disable components validation
454 */
455 "disableComponentsValidation": boolean;
456 /**
457 * Can we edit line items?
458 */
459 "editLineItems": boolean;
460 /**
461 * The checkout form id
462 */
463 "formId": number;
464 /**
465 * Manual payment methods enabled for this form.
466 */
467 "manualPaymentMethods": ManualPaymentMethod[];
468 /**
469 * Are we in test or live mode.
470 */
471 "mode": 'test' | 'live';
472 /**
473 * When the form was modified.
474 */
475 "modified": string;
476 /**
477 * Whether to persist the session in the browser between visits.
478 */
479 "persistSession": boolean;
480 /**
481 * An array of prices to pre-fill in the form.
482 */
483 "prices": Array<PriceChoice>;
484 /**
485 * Processors enabled for this form.
486 */
487 "processors": Processor[];
488 /**
489 * A product to pre-fill the form.
490 */
491 "product": Product;
492 /**
493 * Can we remove line items?
494 */
495 "removeLineItems": boolean;
496 /**
497 * Use the Stripe payment element.
498 */
499 "stripePaymentElement": boolean;
500 /**
501 * Submit the form
502 */
503 "submit": ({ skip_validation }?: { skip_validation: boolean; }) => Promise<Checkout | NodeJS.Timeout | Error>;
504 /**
505 * Where to go on success
506 */
507 "successUrl": string;
508 /**
509 * The account tax protocol
510 */
511 "taxProtocol": TaxProtocol;
512 /**
513 * Validate the form.
514 */
515 "validate": () => Promise<boolean>;
516 }
517 /**
518 * This component listens for a confirmed event and redirects to the success url.
519 */
520 interface ScCheckoutFormErrors {
521 }
522 interface ScCheckoutMolliePayment {
523 "method": string;
524 "processorId": string;
525 }
526 interface ScCheckoutPaystackPaymentProvider {
527 }
528 interface ScCheckoutProductPriceVariantSelector {
529 /**
530 * The label for the price.
531 */
532 "label": string;
533 /**
534 * The product.
535 */
536 "product": Product;
537 "reportValidity": () => Promise<boolean>;
538 /**
539 * The title for price and variant selections
540 */
541 "selectorTitle": string;
542 }
543 /**
544 * This component listens for stock requirements and displays a dialog to the user.
545 */
546 interface ScCheckoutStockAlert {
547 }
548 /**
549 * This component listens to the order status
550 * and confirms the order when payment is successful.
551 */
552 interface ScCheckoutTestComplete {
553 /**
554 * Checkout status to listen and do payment related stuff.
555 */
556 "checkoutStatus": string;
557 /**
558 * Success url.
559 */
560 "successUrl": string;
561 }
562 interface ScCheckoutUnsavedChangesWarning {
563 "state": FormState;
564 }
565 interface ScChoice {
566 /**
567 * Draws the choice in a checked state.
568 */
569 "checked": boolean;
570 /**
571 * Is the choice disabled
572 */
573 "disabled": boolean;
574 /**
575 * This will be true when the control is in an invalid state. Validity is determined by the `required` prop.
576 */
577 "invalid": boolean;
578 /**
579 * The choice name attribute
580 */
581 "name": string;
582 /**
583 * Checks for validity and shows the browser's validation message if the control is invalid.
584 */
585 "reportValidity": () => Promise<boolean>;
586 /**
587 * Is this required
588 */
589 "required": boolean;
590 /**
591 * Sets a custom validation message. If `message` is not empty, the field will be considered invalid.
592 */
593 "setCustomValidity": (message: string) => Promise<void>;
594 /**
595 * Show the radio/checkbox control
596 */
597 "showControl": boolean;
598 /**
599 * Show the label
600 */
601 "showLabel": boolean;
602 /**
603 * Show the price
604 */
605 "showPrice": boolean;
606 /**
607 * The size.
608 */
609 "size": 'small' | 'medium' | 'large';
610 /**
611 * Simulates a click on the choice.
612 */
613 "triggerClick": () => Promise<void>;
614 "triggerFocus": () => Promise<void>;
615 /**
616 * The choice name attribute
617 */
618 "type": 'radio' | 'checkbox';
619 /**
620 * The choice value
621 */
622 "value": string;
623 }
624 interface ScChoiceContainer {
625 /**
626 * Draws the choice in a checked state.
627 */
628 "checked": boolean;
629 /**
630 * Is the choice disabled
631 */
632 "disabled": boolean;
633 /**
634 * This will be true when the control is in an invalid state. Validity is determined by the `required` prop.
635 */
636 "invalid": boolean;
637 /**
638 * The choice name attribute
639 */
640 "name": string;
641 /**
642 * Checks for validity and shows the browser's validation message if the control is invalid.
643 */
644 "reportValidity": () => Promise<boolean>;
645 /**
646 * Is this required
647 */
648 "required": boolean;
649 /**
650 * Role of radio/checkbox control
651 */
652 "role": string;
653 /**
654 * Sets a custom validation message. If `message` is not empty, the field will be considered invalid.
655 */
656 "setCustomValidity": (message: string) => Promise<void>;
657 /**
658 * Show the radio/checkbox control
659 */
660 "showControl": boolean;
661 /**
662 * The size.
663 */
664 "size": 'small' | 'medium' | 'large';
665 /**
666 * Simulates a click on the choice.
667 */
668 "triggerClick": () => Promise<void>;
669 "triggerFocus": () => Promise<void>;
670 /**
671 * The choice name attribute
672 */
673 "type": 'radio' | 'checkbox';
674 /**
675 * The choice value
676 */
677 "value": string;
678 }
679 interface ScChoices {
680 "autoWidth": boolean;
681 /**
682 * Number of columns on desktop
683 */
684 "columns": number;
685 /**
686 * Validation error message.
687 */
688 "errorMessage": string;
689 /**
690 * The input's help text.
691 */
692 "help": string;
693 /**
694 * Hides the fieldset and legend that surrounds the group. The label will still be read by screen readers.
695 */
696 "hideLabel": boolean;
697 /**
698 * The group label. Required for proper accessibility. Alternatively, you can use the label slot.
699 */
700 "label": string;
701 /**
702 * Required
703 */
704 "required": boolean;
705 /**
706 * Should we show the label
707 */
708 "showLabel": boolean;
709 /**
710 * Input size
711 */
712 "size": 'small' | 'medium' | 'large';
713 "triggerFocus": () => Promise<void>;
714 }
715 interface ScColumn {
716 }
717 interface ScColumns {
718 /**
719 * Is this full vertical height
720 */
721 "isFullHeight": boolean;
722 /**
723 * Is this reverse ordered on mobile
724 */
725 "isReversedOnMobile": boolean;
726 /**
727 * Is this stacked on mobile
728 */
729 "isStackedOnMobile": boolean;
730 /**
731 * The vertical alignment of the columns.
732 */
733 "verticalAlignment": string;
734 }
735 interface ScCompactAddress {
736 /**
737 * The address.
738 */
739 "address": Partial<Address>;
740 /**
741 * Label for the address
742 */
743 "label": string;
744 /**
745 * Is this loading
746 */
747 "loading": boolean;
748 "names": Partial<Address>;
749 /**
750 * Placeholders
751 */
752 "placeholders": Partial<Address>;
753 "reportValidity": () => Promise<boolean>;
754 /**
755 * Is this required?
756 */
757 "required": boolean;
758 }
759 interface ScConditionalForm {
760 /**
761 * Selector label
762 */
763 "rule_groups": RuleGroup[];
764 }
765 interface ScConsumer {
766 "renderer": any;
767 }
768 interface ScCouponForm {
769 /**
770 * Is the form calculating
771 */
772 "busy": boolean;
773 /**
774 * The text for apply button
775 */
776 "buttonText": string;
777 "collapsed": boolean;
778 /**
779 * Currency
780 */
781 "currency": string;
782 /**
783 * The discount
784 */
785 "discount": DiscountResponse;
786 /**
787 * The discount amount
788 */
789 "discountAmount": number;
790 /**
791 * Is the form editable
792 */
793 "editable": boolean;
794 /**
795 * The error message
796 */
797 "error": string;
798 /**
799 * Force the form to show
800 */
801 "forceOpen": boolean;
802 /**
803 * The label for the coupon form
804 */
805 "label": string;
806 /**
807 * Is the form loading
808 */
809 "loading": boolean;
810 /**
811 * Is it open
812 */
813 "open": boolean;
814 /**
815 * The placeholder for the input
816 */
817 "placeholder": string;
818 /**
819 * Has recurring
820 */
821 "showInterval": boolean;
822 /**
823 * Focus the input.
824 */
825 "triggerFocus": () => Promise<void>;
826 }
827 interface ScCustomOrderPriceInput {
828 /**
829 * Is this busy
830 */
831 "busy": boolean;
832 /**
833 * Help text.
834 */
835 "help": string;
836 /**
837 * Label for the field.
838 */
839 "label": string;
840 /**
841 * Label for the choice.
842 */
843 "lineItems": LineItem[];
844 /**
845 * Is this loading
846 */
847 "loading": boolean;
848 /**
849 * Input placeholder.
850 */
851 "placeholder": string;
852 /**
853 * Stores the price
854 */
855 "price": Price;
856 /**
857 * Id of the price.
858 */
859 "priceId": string;
860 /**
861 * Is this required?
862 */
863 "required": boolean;
864 /**
865 * Show the currency code?
866 */
867 "showCode": boolean;
868 }
869 interface ScCustomerDetails {
870 "customer": Customer;
871 "editLink": string;
872 "error": string;
873 "heading": string;
874 "loading": boolean;
875 }
876 interface ScCustomerEdit {
877 "customer": Customer;
878 "heading": string;
879 "successUrl": string;
880 }
881 interface ScCustomerEmail {
882 /**
883 * The input's autofocus attribute.
884 */
885 "autofocus": boolean;
886 /**
887 * Disables the input.
888 */
889 "disabled": boolean;
890 /**
891 * Inputs focus
892 */
893 "hasFocus": boolean;
894 /**
895 * The input's help text.
896 */
897 "help": string;
898 /**
899 * This will be true when the control is in an invalid state. Validity is determined by props such as `type`, `required`, `minlength`, `maxlength`, and `pattern` using the browser's constraint validation API.
900 */
901 "invalid": boolean;
902 /**
903 * The input's label.
904 */
905 "label": string;
906 /**
907 * Draws a pill-style input with rounded edges.
908 */
909 "pill": boolean;
910 /**
911 * The input's placeholder text.
912 */
913 "placeholder": string;
914 /**
915 * Makes the input readonly.
916 */
917 "readonly": boolean;
918 "reportValidity": () => Promise<boolean>;
919 /**
920 * Makes the input a required field.
921 */
922 "required": boolean;
923 /**
924 * Should we show the label
925 */
926 "showLabel": boolean;
927 /**
928 * The input's size.
929 */
930 "size": 'small' | 'medium' | 'large';
931 /**
932 * A message for tracking confirmation.
933 */
934 "trackingConfirmationMessage": string;
935 /**
936 * The input's value attribute.
937 */
938 "value": string;
939 }
940 interface ScCustomerFirstname {
941 /**
942 * The input's autofocus attribute.
943 */
944 "autofocus": boolean;
945 /**
946 * Disables the input.
947 */
948 "disabled": boolean;
949 /**
950 * Inputs focus
951 */
952 "hasFocus": boolean;
953 /**
954 * The input's help text.
955 */
956 "help": string;
957 /**
958 * This will be true when the control is in an invalid state. Validity is determined by props such as `type`, `required`, `minlength`, `maxlength`, and `pattern` using the browser's constraint validation API.
959 */
960 "invalid": boolean;
961 /**
962 * The input's label.
963 */
964 "label": string;
965 /**
966 * Is the user logged in.
967 */
968 "loggedIn": boolean;
969 /**
970 * Draws a pill-style input with rounded edges.
971 */
972 "pill": boolean;
973 /**
974 * The input's placeholder text.
975 */
976 "placeholder": string;
977 /**
978 * Makes the input readonly.
979 */
980 "readonly": boolean;
981 "reportValidity": () => Promise<boolean>;
982 /**
983 * Makes the input a required field.
984 */
985 "required": boolean;
986 /**
987 * Should we show the label
988 */
989 "showLabel": boolean;
990 /**
991 * The input's size.
992 */
993 "size": 'small' | 'medium' | 'large';
994 /**
995 * The input's value attribute.
996 */
997 "value": string;
998 }
999 interface ScCustomerLastname {
1000 /**
1001 * The input's autofocus attribute.
1002 */
1003 "autofocus": boolean;
1004 /**
1005 * Disables the input.
1006 */
1007 "disabled": boolean;
1008 /**
1009 * Inputs focus
1010 */
1011 "hasFocus": boolean;
1012 /**
1013 * The input's help text.
1014 */
1015 "help": string;
1016 /**
1017 * This will be true when the control is in an invalid state. Validity is determined by props such as `type`, `required`, `minlength`, `maxlength`, and `pattern` using the browser's constraint validation API.
1018 */
1019 "invalid": boolean;
1020 /**
1021 * The input's label.
1022 */
1023 "label": string;
1024 /**
1025 * Is the user logged in.
1026 */
1027 "loggedIn": boolean;
1028 /**
1029 * Draws a pill-style input with rounded edges.
1030 */
1031 "pill": boolean;
1032 /**
1033 * The input's placeholder text.
1034 */
1035 "placeholder": string;
1036 /**
1037 * Makes the input readonly.
1038 */
1039 "readonly": boolean;
1040 /**
1041 * Don't allow a blank space as an input here.
1042 */
1043 "reportValidity": () => Promise<boolean>;
1044 /**
1045 * Makes the input a required field.
1046 */
1047 "required": boolean;
1048 /**
1049 * Should we show the label
1050 */
1051 "showLabel": boolean;
1052 /**
1053 * The input's size.
1054 */
1055 "size": 'small' | 'medium' | 'large';
1056 /**
1057 * The input's value attribute.
1058 */
1059 "value": any;
1060 }
1061 interface ScCustomerName {
1062 /**
1063 * The input's autofocus attribute.
1064 */
1065 "autofocus": boolean;
1066 /**
1067 * Disables the input.
1068 */
1069 "disabled": boolean;
1070 /**
1071 * Inputs focus
1072 */
1073 "hasFocus": boolean;
1074 /**
1075 * The input's help text.
1076 */
1077 "help": string;
1078 /**
1079 * This will be true when the control is in an invalid state. Validity is determined by props such as `type`, `required`, `minlength`, `maxlength`, and `pattern` using the browser's constraint validation API.
1080 */
1081 "invalid": boolean;
1082 /**
1083 * The input's label.
1084 */
1085 "label": string;
1086 /**
1087 * Draws a pill-style input with rounded edges.
1088 */
1089 "pill": boolean;
1090 /**
1091 * The input's placeholder text.
1092 */
1093 "placeholder": string;
1094 /**
1095 * Makes the input readonly.
1096 */
1097 "readonly": boolean;
1098 /**
1099 * Don't allow a blank space as an input here.
1100 */
1101 "reportValidity": () => Promise<boolean>;
1102 /**
1103 * Makes the input a required field.
1104 */
1105 "required": boolean;
1106 /**
1107 * Should we show the label
1108 */
1109 "showLabel": boolean;
1110 /**
1111 * The input's size.
1112 */
1113 "size": 'small' | 'medium' | 'large';
1114 /**
1115 * The input's value attribute.
1116 */
1117 "value": any;
1118 }
1119 interface ScCustomerPhone {
1120 /**
1121 * The input's autofocus attribute.
1122 */
1123 "autofocus": boolean;
1124 /**
1125 * Disables the input.
1126 */
1127 "disabled": boolean;
1128 /**
1129 * Error focus
1130 */
1131 "error": boolean;
1132 /**
1133 * Inputs focus
1134 */
1135 "hasFocus": boolean;
1136 /**
1137 * The input's help text.
1138 */
1139 "help": string;
1140 /**
1141 * This will be true when the control is in an invalid state. Validity is determined by props such as `type`, `required`, `minlength`, `maxlength`, and `pattern` using the browser's constraint validation API.
1142 */
1143 "invalid": boolean;
1144 /**
1145 * The input's label.
1146 */
1147 "label": string;
1148 /**
1149 * Draws a pill-style input with rounded edges.
1150 */
1151 "pill": boolean;
1152 /**
1153 * The input's placeholder text.
1154 */
1155 "placeholder": string;
1156 /**
1157 * Makes the input readonly.
1158 */
1159 "readonly": boolean;
1160 "reportValidity": () => Promise<boolean>;
1161 /**
1162 * Makes the input a required field.
1163 */
1164 "required": boolean;
1165 /**
1166 * Should we show the label
1167 */
1168 "showLabel": boolean;
1169 /**
1170 * The input's size.
1171 */
1172 "size": 'small' | 'medium' | 'large';
1173 /**
1174 * The input's value attribute.
1175 */
1176 "value": string;
1177 }
1178 interface ScDashboardCustomerDetails {
1179 "customerId": string;
1180 "heading": string;
1181 }
1182 interface ScDashboardDownloadsList {
1183 "allLink": string;
1184 "heading": string;
1185 "isCustomer": boolean;
1186 /**
1187 * Customer id to fetch subscriptions
1188 */
1189 "query": any;
1190 "requestNonce": string;
1191 }
1192 interface ScDashboardModule {
1193 "error": string;
1194 "heading": string;
1195 "loading": boolean;
1196 }
1197 interface ScDialog {
1198 /**
1199 * The dialog's label as displayed in the header. You should always include a relevant label even when using `no-header`, as it is required for proper accessibility.
1200 */
1201 "label": string;
1202 /**
1203 * Disables the header. This will also remove the default close button, so please ensure you provide an easy, accessible way for users to dismiss the dialog.
1204 */
1205 "noHeader": boolean;
1206 /**
1207 * Indicates whether or not the dialog is open. You can use this in lieu of the show/hide methods.
1208 */
1209 "open": boolean;
1210 }
1211 interface ScDivider {
1212 }
1213 interface ScDonationChoices {
1214 "busy": boolean;
1215 /**
1216 * Currency code for the donation.
1217 */
1218 "currencyCode": string;
1219 /**
1220 * The default amount to load the page with.
1221 */
1222 "defaultAmount": string;
1223 /**
1224 * The label for the field.
1225 */
1226 "label": string;
1227 /**
1228 * Order line items.
1229 */
1230 "lineItems": LineItem[];
1231 /**
1232 * Is this loading
1233 */
1234 "loading": boolean;
1235 /**
1236 * The price id for the fields.
1237 */
1238 "priceId": string;
1239 "removeInvalid": boolean;
1240 "reportValidity": () => Promise<boolean>;
1241 }
1242 interface ScDownloadsList {
1243 "customerId": string;
1244 "downloads": Download[];
1245 "heading": string;
1246 }
1247 interface ScDrawer {
1248 /**
1249 * By default, the drawer slides out of its containing block (usually the viewport). To make the drawer slide out of its parent element, set this prop and add `position: relative` to the parent.
1250 */
1251 "contained": boolean;
1252 /**
1253 * The drawer's label as displayed in the header. You should always include a relevant label even when using `no-header`, as it is required for proper accessibility.
1254 */
1255 "label": string;
1256 /**
1257 * Removes the header. This will also remove the default close button, so please ensure you provide an easy, accessible way for users to dismiss the drawer.
1258 */
1259 "noHeader": boolean;
1260 /**
1261 * Indicates whether or not the drawer is open. You can use this in lieu of the show/hide methods.
1262 */
1263 "open": boolean;
1264 /**
1265 * The direction from which the drawer will open.
1266 */
1267 "placement": 'top' | 'end' | 'bottom' | 'start';
1268 "requestClose": (source?: 'close-button' | 'keyboard' | 'overlay' | 'method') => Promise<void>;
1269 /**
1270 * Sticky drawer header
1271 */
1272 "stickyHeader": boolean;
1273 }
1274 interface ScDropdown {
1275 "clickEl"?: HTMLElement;
1276 /**
1277 * Determines whether the dropdown should hide when a menu item is selected
1278 */
1279 "closeOnSelect": boolean;
1280 /**
1281 * Is this disabled.
1282 */
1283 "disabled": boolean;
1284 /**
1285 * The distance in pixels from which to offset the panel away from its trigger.
1286 */
1287 "distance": number;
1288 /**
1289 * Enable this option to prevent the panel from being clipped when the component is placed inside a container with `overflow: auto|scroll`.
1290 */
1291 "hoist": boolean;
1292 /**
1293 * Indicates whether or not the dropdown is open. You can use this in lieu of the show/hide methods.
1294 */
1295 "open"?: boolean;
1296 /**
1297 * The placement of the dropdown.
1298 */
1299 "placement": | 'top'
1300 | 'top-start'
1301 | 'top-end'
1302 | 'bottom'
1303 | 'bottom-start'
1304 | 'bottom-end'
1305 | 'right'
1306 | 'right-start'
1307 | 'right-end'
1308 | 'left'
1309 | 'left-start'
1310 | 'left-end';
1311 /**
1312 * The placement of the dropdown panel
1313 */
1314 "position": 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right';
1315 /**
1316 * The distance in pixels from which to offset the panel along its trigger.
1317 */
1318 "skidding": number;
1319 }
1320 interface ScEmpty {
1321 "icon": string;
1322 }
1323 interface ScError {
1324 /**
1325 * Error to display.
1326 */
1327 "error": ResponseError | null;
1328 }
1329 interface ScExpressPayment {
1330 "debug": boolean;
1331 "dividerText": string;
1332 "hasPaymentOptions": boolean;
1333 "processor": ProcessorName;
1334 }
1335 interface ScFeatureDemoBanner {
1336 "buttonText": string;
1337 "url": string;
1338 }
1339 interface ScFlex {
1340 "alignItems": string;
1341 "columnGap": string;
1342 "flexDirection": string;
1343 "flexWrap": string;
1344 "justifyContent": string;
1345 "stack": string;
1346 }
1347 interface ScForm {
1348 /**
1349 * Serializes all form controls elements and returns a `FormData` object.
1350 */
1351 "getFormData": () => Promise<FormData>;
1352 "getFormJson": () => Promise<Record<string, unknown>>;
1353 /**
1354 * Prevent the form from validating inputs before submitting.
1355 */
1356 "novalidate": boolean;
1357 "submit": () => Promise<void>;
1358 "validate": () => Promise<boolean>;
1359 }
1360 interface ScFormComponentsValidator {
1361 /**
1362 * Disable validation?
1363 */
1364 "disabled": boolean;
1365 /**
1366 * The tax protocol
1367 */
1368 "taxProtocol": TaxProtocol;
1369 }
1370 interface ScFormControl {
1371 /**
1372 * Help text
1373 */
1374 "help": string;
1375 /**
1376 * Help id
1377 */
1378 "helpId": string;
1379 /**
1380 * Input id.
1381 */
1382 "inputId": string;
1383 /**
1384 * Input label.
1385 */
1386 "label": string;
1387 /**
1388 * Input label id.
1389 */
1390 "labelId": string;
1391 /**
1392 * Name for the input. Used for validation errors.
1393 */
1394 "name": string;
1395 /**
1396 * Whether the input is required.
1397 */
1398 "required": boolean;
1399 /**
1400 * Show the label.
1401 */
1402 "showLabel": boolean;
1403 /**
1404 * Size of the label
1405 */
1406 "size": 'small' | 'medium' | 'large';
1407 }
1408 /**
1409 * This component checks to make sure there is an error component
1410 * and adds one if it's missing.
1411 */
1412 interface ScFormErrorProvider {
1413 }
1414 interface ScFormRow {
1415 }
1416 /**
1417 * This component listens for a confirmed event and redirects to the success url.
1418 */
1419 interface ScFormStateProvider {
1420 }
1421 interface ScFormatBytes {
1422 /**
1423 * Determines how to display the result, e.g. "100 bytes", "100 b", or "100b".
1424 */
1425 "display": 'long' | 'short' | 'narrow';
1426 /**
1427 * The locale to use when formatting the number.
1428 */
1429 "locale": string;
1430 /**
1431 * The unit to display.
1432 */
1433 "unit": 'byte' | 'bit';
1434 /**
1435 * The number to format in bytes.
1436 */
1437 "value": number;
1438 }
1439 interface ScFormatDate {
1440 /**
1441 * The date/time to format. If not set, the current date and time will be used.
1442 */
1443 "date": Date | string | number;
1444 /**
1445 * The format for displaying the day.
1446 */
1447 "day": 'numeric' | '2-digit';
1448 /**
1449 * The format for displaying the era.
1450 */
1451 "era": 'narrow' | 'short' | 'long';
1452 /**
1453 * The format for displaying the hour.
1454 */
1455 "hour": 'numeric' | '2-digit';
1456 /**
1457 * When set, 24 hour time will always be used.
1458 */
1459 "hourFormat": 'auto' | '12' | '24';
1460 /**
1461 * The locale to use when formatting the date/time.
1462 */
1463 "locale": string;
1464 /**
1465 * The format for displaying the minute.
1466 */
1467 "minute": 'numeric' | '2-digit';
1468 /**
1469 * The format for displaying the month.
1470 */
1471 "month": 'numeric' | '2-digit' | 'narrow' | 'short' | 'long';
1472 /**
1473 * The format for displaying the second.
1474 */
1475 "second": 'numeric' | '2-digit';
1476 /**
1477 * The time zone to express the time in.
1478 */
1479 "timeZone": string;
1480 /**
1481 * The format for displaying the time.
1482 */
1483 "timeZoneName": 'short' | 'long';
1484 "type": 'timestamp' | 'date';
1485 /**
1486 * The format for displaying the weekday.
1487 */
1488 "weekday": 'narrow' | 'short' | 'long';
1489 /**
1490 * The format for displaying the year.
1491 */
1492 "year": 'numeric' | '2-digit';
1493 }
1494 interface ScFormatInterval {
1495 "every": string;
1496 "fallback": string;
1497 "interval": string;
1498 /**
1499 * The number to format.
1500 */
1501 "value": number;
1502 }
1503 interface ScFormatNumber {
1504 /**
1505 * The currency to use when formatting. Must be an ISO 4217 currency code such as `USD` or `EUR`.
1506 */
1507 "currency": string;
1508 /**
1509 * How to display the currency.
1510 */
1511 "currencyDisplay": 'symbol' | 'narrowSymbol' | 'code' | 'name';
1512 /**
1513 * The locale to use when formatting the number.
1514 */
1515 "locale": string;
1516 /**
1517 * The maximum number of fraction digits to use. Possible values are 0 - 20.
1518 */
1519 "maximumFractionDigits": number;
1520 /**
1521 * The maximum number of significant digits to use,. Possible values are 1 - 21.
1522 */
1523 "maximumSignificantDigits": number;
1524 /**
1525 * The minimum number of fraction digits to use. Possible values are 0 - 20.
1526 */
1527 "minimumFractionDigits": number;
1528 /**
1529 * The minimum number of integer digits to use. Possible values are 1 - 21.
1530 */
1531 "minimumIntegerDigits": number;
1532 /**
1533 * The minimum number of significant digits to use. Possible values are 1 - 21.
1534 */
1535 "minimumSignificantDigits": number;
1536 /**
1537 * Should we convert
1538 */
1539 "noConvert": boolean;
1540 /**
1541 * Turns off grouping separators.
1542 */
1543 "noGrouping": boolean;
1544 /**
1545 * The formatting style to use.
1546 */
1547 "type": 'currency' | 'decimal' | 'percent' | 'unit';
1548 /**
1549 * The unit to use when formatting.
1550 */
1551 "unit": string;
1552 /**
1553 * The number to format.
1554 */
1555 "value": number;
1556 }
1557 interface ScFulfillmentShippingStatusBadge {
1558 /**
1559 * Makes the tag clearable.
1560 */
1561 "clearable": boolean;
1562 /**
1563 * Draws a pill-style tag with rounded edges.
1564 */
1565 "pill": boolean;
1566 /**
1567 * The tag's size.
1568 */
1569 "size": 'small' | 'medium' | 'large';
1570 /**
1571 * The tag's statux type.
1572 */
1573 "status": FulfillmentStatus;
1574 }
1575 interface ScFulfillments {
1576 "heading": string;
1577 "orderId": string;
1578 }
1579 interface ScHeading {
1580 "size": 'small' | 'medium' | 'large';
1581 }
1582 interface ScIcon {
1583 /**
1584 * An alternative description to use for accessibility. If omitted, the name or src will be used to generate it.
1585 */
1586 "label": string;
1587 /**
1588 * The name of a registered custom icon library.
1589 */
1590 "library": string;
1591 /**
1592 * The name of the icon to draw.
1593 */
1594 "name": string;
1595 /**
1596 * An external URL of an SVG file.
1597 */
1598 "src": string;
1599 }
1600 interface ScImageSlider {
1601 "autoHeight": boolean;
1602 "hasThumbnails": boolean;
1603 /**
1604 * Accept a string or an array of objects
1605 */
1606 "images": string | { src: string; alt: string; srcset; width: number; height: number; sizes: string; title: string }[];
1607 "thumbnails": string | { src: string; alt: string; srcset; width: number; height: number; sizes: string; title: string }[];
1608 "thumbnailsPerPage": number;
1609 }
1610 interface ScInput {
1611 /**
1612 * The input's autocomplete attribute.
1613 */
1614 "autocomplete": string;
1615 /**
1616 * The input's autocorrect attribute.
1617 */
1618 "autocorrect": string;
1619 /**
1620 * The input's autofocus attribute.
1621 */
1622 "autofocus": boolean;
1623 /**
1624 * Adds a clear button when the input is populated.
1625 */
1626 "clearable": boolean;
1627 /**
1628 * Disables the input.
1629 */
1630 "disabled": boolean;
1631 /**
1632 * Inputs focus
1633 */
1634 "hasFocus": boolean;
1635 /**
1636 * The input's help text.
1637 */
1638 "help": string;
1639 /**
1640 * Hidden
1641 */
1642 "hidden": boolean;
1643 /**
1644 * The input's inputmode attribute.
1645 */
1646 "inputmode": 'none' | 'text' | 'decimal' | 'numeric' | 'tel' | 'search' | 'email' | 'url';
1647 /**
1648 * This will be true when the control is in an invalid state. Validity is determined by props such as `type`, `required`, `minlength`, `maxlength`, and `pattern` using the browser's constraint validation API.
1649 */
1650 "invalid": boolean;
1651 /**
1652 * The input's label.
1653 */
1654 "label": string;
1655 /**
1656 * The input's maximum value.
1657 */
1658 "max": number | string;
1659 /**
1660 * The maximum length of input that will be considered valid.
1661 */
1662 "maxlength": number;
1663 /**
1664 * The input's minimum value.
1665 */
1666 "min": number | string;
1667 /**
1668 * The minimum length of input that will be considered valid.
1669 */
1670 "minlength": number;
1671 /**
1672 * The input's name attribute.
1673 */
1674 "name": string;
1675 /**
1676 * A pattern to validate input against.
1677 */
1678 "pattern": string;
1679 /**
1680 * Draws a pill-style input with rounded edges.
1681 */
1682 "pill": boolean;
1683 /**
1684 * The input's placeholder text.
1685 */
1686 "placeholder": string;
1687 /**
1688 * Makes the input readonly.
1689 */
1690 "readonly": boolean;
1691 "reportValidity": () => Promise<boolean>;
1692 /**
1693 * Makes the input a required field.
1694 */
1695 "required": boolean;
1696 /**
1697 * Sets a custom validation message. If `message` is not empty, the field will be considered invalid.
1698 */
1699 "setCustomValidity": (message: string) => Promise<void>;
1700 /**
1701 * Should we show the label
1702 */
1703 "showLabel": boolean;
1704 /**
1705 * The input's size.
1706 */
1707 "size": 'small' | 'medium' | 'large';
1708 /**
1709 * Enables spell checking on the input.
1710 */
1711 "spellcheck": boolean;
1712 "squared": boolean;
1713 "squaredBottom": boolean;
1714 "squaredLeft": boolean;
1715 "squaredRight": boolean;
1716 "squaredTop": boolean;
1717 /**
1718 * The input's step attribute.
1719 */
1720 "step": number;
1721 /**
1722 * Adds a password toggle button to password inputs.
1723 */
1724 "togglePassword": boolean;
1725 /**
1726 * Removes focus from the input.
1727 */
1728 "triggerBlur": () => Promise<void>;
1729 /**
1730 * Sets focus on the input.
1731 */
1732 "triggerFocus": (options?: FocusOptions) => Promise<void>;
1733 /**
1734 * The input's type.
1735 */
1736 "type": 'email' | 'number' | 'password' | 'search' | 'tel' | 'text' | 'url' | 'hidden';
1737 /**
1738 * The input's value attribute.
1739 */
1740 "value": string;
1741 }
1742 interface ScInvoiceDetails {
1743 }
1744 interface ScInvoiceMemo {
1745 /**
1746 * Memo Label
1747 */
1748 "text": string;
1749 }
1750 interface ScInvoiceStatusBadge {
1751 /**
1752 * Makes the tag clearable.
1753 */
1754 "clearable": boolean;
1755 /**
1756 * Draws a pill-style tag with rounded edges.
1757 */
1758 "pill": boolean;
1759 /**
1760 * The tag's size.
1761 */
1762 "size": 'small' | 'medium' | 'large';
1763 /**
1764 * The tag's statux type.
1765 */
1766 "status": InvoiceStatus;
1767 }
1768 interface ScInvoicesList {
1769 "allLink": string;
1770 "heading": string;
1771 "isCustomer": boolean;
1772 /**
1773 * Query to fetch invoices
1774 */
1775 "query": {
1776 page: number;
1777 per_page: number;
1778 };
1779 }
1780 interface ScLicense {
1781 /**
1782 * The license id
1783 */
1784 "licenseId": string;
1785 }
1786 interface ScLicensesList {
1787 /**
1788 * View all link
1789 */
1790 "allLink": string;
1791 /**
1792 * The heading of the licenses
1793 */
1794 "heading": string;
1795 /**
1796 * Whether the current user is customer
1797 */
1798 "isCustomer": boolean;
1799 "licenses": License[];
1800 /**
1801 * Query to fetch licenses
1802 */
1803 "query": {
1804 page: number;
1805 per_page: number;
1806 };
1807 }
1808 interface ScLineItem {
1809 /**
1810 * Currency symbol
1811 */
1812 "currency": string;
1813 /**
1814 * Price of the item
1815 */
1816 "price": string;
1817 }
1818 interface ScLineItemBump {
1819 "label": string;
1820 "loading": boolean;
1821 }
1822 interface ScLineItemInvoiceDueDate {
1823 }
1824 interface ScLineItemInvoiceNumber {
1825 }
1826 interface ScLineItemInvoiceReceiptDownload {
1827 "checkout": Checkout;
1828 }
1829 interface ScLineItemShipping {
1830 /**
1831 * Label
1832 */
1833 "label": string;
1834 }
1835 interface ScLineItemTax {
1836 "loading": boolean;
1837 "order": Checkout;
1838 }
1839 interface ScLineItemTotal {
1840 "checkout": Checkout;
1841 "size": 'large' | 'medium';
1842 "total": 'total' | 'subtotal';
1843 }
1844 interface ScLineItems {
1845 /**
1846 * Is the line item editable?
1847 */
1848 "editable": boolean;
1849 /**
1850 * Is the line item removable?
1851 */
1852 "removable": boolean;
1853 }
1854 interface ScLineItemsProvider {
1855 /**
1856 * Order Object
1857 */
1858 "order": Checkout;
1859 }
1860 interface ScLoginForm {
1861 }
1862 interface ScLoginProvider {
1863 /**
1864 * Is the user logged in.
1865 */
1866 "loggedIn": boolean;
1867 "order": Checkout;
1868 }
1869 interface ScManualPaymentMethod {
1870 "paymentMethod": ManualPaymentMethod;
1871 "showDescription": boolean;
1872 }
1873 interface ScMenu {
1874 "ariaLabel": string;
1875 "setCurrentItem": (item: HTMLScMenuItemElement) => Promise<void>;
1876 }
1877 interface ScMenuDivider {
1878 }
1879 interface ScMenuItem {
1880 /**
1881 * Draws the item in a checked state.
1882 */
1883 "checked": boolean;
1884 /**
1885 * Draws the menu item in a disabled state.
1886 */
1887 "disabled": boolean;
1888 /**
1889 * Optional link to follow.
1890 */
1891 "href": string;
1892 /**
1893 * Removes focus from the button.
1894 */
1895 "setBlur": () => Promise<void>;
1896 /**
1897 * Sets focus on the button.
1898 */
1899 "setFocus": (options?: FocusOptions) => Promise<void>;
1900 /**
1901 * The target of the link.
1902 */
1903 "target": string;
1904 /**
1905 * A unique value to store in the menu item. This can be used as a way to identify menu items when selected.
1906 */
1907 "value": string;
1908 }
1909 interface ScMenuLabel {
1910 }
1911 interface ScMollieAddMethod {
1912 "country": string;
1913 "currency": string;
1914 "customerId": string;
1915 "liveMode": boolean;
1916 "processorId": string;
1917 "successUrl": string;
1918 }
1919 interface ScOrder {
1920 "customerIds": string[];
1921 "heading": string;
1922 "orderId": string;
1923 }
1924 interface ScOrderBillingAddress {
1925 /**
1926 * City placeholder
1927 */
1928 "cityPlaceholder": string;
1929 /**
1930 * Country placeholder
1931 */
1932 "countryPlaceholder": string;
1933 /**
1934 * Default country for address
1935 */
1936 "defaultCountry": string;
1937 /**
1938 * Label for the field
1939 */
1940 "label": string;
1941 /**
1942 * Address placeholder
1943 */
1944 "line1Placeholder": string;
1945 /**
1946 * Address Line 2 placeholder
1947 */
1948 "line2Placeholder": string;
1949 /**
1950 * Name placeholder
1951 */
1952 "namePlaceholder": string;
1953 /**
1954 * Postal Code placeholder
1955 */
1956 "postalCodePlaceholder": string;
1957 "reportValidity": () => Promise<boolean>;
1958 /**
1959 * Show the name field
1960 */
1961 "showName": boolean;
1962 /**
1963 * State placeholder
1964 */
1965 "statePlaceholder": string;
1966 /**
1967 * Toggle label
1968 */
1969 "toggleLabel": string;
1970 }
1971 interface ScOrderBump {
1972 /**
1973 * The bump
1974 */
1975 "bump": Bump;
1976 /**
1977 * Should we show the controls
1978 */
1979 "showControl": boolean;
1980 }
1981 interface ScOrderBumps {
1982 "help": string;
1983 "label": string;
1984 "showControl": boolean;
1985 }
1986 interface ScOrderConfirmComponentsValidator {
1987 /**
1988 * The checkout
1989 */
1990 "checkout": Checkout;
1991 }
1992 /**
1993 * This component listens to the order status
1994 * and confirms the order when payment is successful.
1995 */
1996 interface ScOrderConfirmProvider {
1997 /**
1998 * Checkout status to listen and do payment related stuff.
1999 */
2000 "checkoutStatus": string;
2001 /**
2002 * Success url.
2003 */
2004 "successUrl": string;
2005 }
2006 interface ScOrderConfirmation {
2007 "order": Checkout;
2008 }
2009 interface ScOrderConfirmationCustomer {
2010 /**
2011 * The customer
2012 */
2013 "customer": Customer;
2014 /**
2015 * Error message.
2016 */
2017 "error": string;
2018 /**
2019 * The heading
2020 */
2021 "heading": string;
2022 /**
2023 * Is this loading?
2024 */
2025 "loading": boolean;
2026 /**
2027 * The Order
2028 */
2029 "order": Checkout;
2030 }
2031 interface ScOrderConfirmationDetails {
2032 "loading": boolean;
2033 "order": Order;
2034 }
2035 interface ScOrderConfirmationLineItems {
2036 "loading": boolean;
2037 "order": Checkout;
2038 }
2039 interface ScOrderConfirmationTotals {
2040 "order": Checkout;
2041 }
2042 interface ScOrderCouponForm {
2043 "buttonText": string;
2044 "collapsed": boolean;
2045 "label": string;
2046 "loading": boolean;
2047 "placeholder": string;
2048 }
2049 interface ScOrderDetail {
2050 "fallback": string;
2051 "label": string;
2052 "loading": boolean;
2053 "metaKey": string;
2054 "order": Checkout;
2055 "value": string;
2056 }
2057 interface ScOrderFulfillmentBadge {
2058 /**
2059 * Makes the tag clearable.
2060 */
2061 "clearable": boolean;
2062 /**
2063 * Draws a pill-style tag with rounded edges.
2064 */
2065 "pill": boolean;
2066 /**
2067 * The tag's size.
2068 */
2069 "size": 'small' | 'medium' | 'large';
2070 /**
2071 * The tag's statux type.
2072 */
2073 "status": OrderFulFillmentStatus;
2074 }
2075 interface ScOrderManualInstructions {
2076 "manualPaymentInstructions": string;
2077 "manualPaymentTitle": string;
2078 }
2079 interface ScOrderPassword {
2080 /**
2081 * The input's autofocus attribute.
2082 */
2083 "autofocus": boolean;
2084 /**
2085 * The input's password confirmation attribute.
2086 */
2087 "confirmation": boolean;
2088 /**
2089 * The input's confirmation help text.
2090 */
2091 "confirmationHelp": string;
2092 /**
2093 * The input's confirmation label text.
2094 */
2095 "confirmationLabel": string;
2096 /**
2097 * The input's confirmation placeholder text.
2098 */
2099 "confirmationPlaceholder": string;
2100 /**
2101 * Disables the input.
2102 */
2103 "disabled": boolean;
2104 /**
2105 * Does the email exist?
2106 */
2107 "emailExists": boolean;
2108 /**
2109 * Ensures strong password validation.
2110 */
2111 "enableValidation": boolean;
2112 /**
2113 * The input's help text.
2114 */
2115 "help": string;
2116 /**
2117 * The input's label.
2118 */
2119 "label": string;
2120 "loggedIn": boolean;
2121 /**
2122 * Draws a pill-style input with rounded edges.
2123 */
2124 "pill": boolean;
2125 /**
2126 * The input's placeholder text.
2127 */
2128 "placeholder": string;
2129 /**
2130 * Makes the input readonly.
2131 */
2132 "readonly": boolean;
2133 "reportValidity": () => Promise<boolean>;
2134 /**
2135 * Makes the input a required field.
2136 */
2137 "required": boolean;
2138 /**
2139 * Should we show the label
2140 */
2141 "showLabel": boolean;
2142 /**
2143 * The input's size.
2144 */
2145 "size": 'small' | 'medium' | 'large';
2146 /**
2147 * The input's value attribute.
2148 */
2149 "value": string;
2150 }
2151 interface ScOrderReturnBadge {
2152 /**
2153 * Makes the tag clearable.
2154 */
2155 "clearable": boolean;
2156 /**
2157 * Draws a pill-style tag with rounded edges.
2158 */
2159 "pill": boolean;
2160 /**
2161 * The tag's size.
2162 */
2163 "size": 'small' | 'medium' | 'large';
2164 /**
2165 * The tag's statux type.
2166 */
2167 "status": ReturnRequestStatus;
2168 }
2169 interface ScOrderShipmentBadge {
2170 /**
2171 * Makes the tag clearable.
2172 */
2173 "clearable": boolean;
2174 /**
2175 * Draws a pill-style tag with rounded edges.
2176 */
2177 "pill": boolean;
2178 /**
2179 * The tag's size.
2180 */
2181 "size": 'small' | 'medium' | 'large';
2182 /**
2183 * The tag's statux type.
2184 */
2185 "status": OrderShipmentStatus;
2186 }
2187 interface ScOrderShippingAddress {
2188 "cityPlaceholder": string;
2189 "countryPlaceholder": string;
2190 /**
2191 * Default country for address
2192 */
2193 "defaultCountry": string;
2194 /**
2195 * Show the address
2196 */
2197 "full": boolean;
2198 /**
2199 * Label for the field.
2200 */
2201 "label": string;
2202 "line1Placeholder": string;
2203 "line2Placeholder": string;
2204 /**
2205 * Show the placeholder fields.
2206 */
2207 "namePlaceholder": string;
2208 /**
2209 * Placeholder values.
2210 */
2211 "placeholders": Partial<Address>;
2212 "postalCodePlaceholder": string;
2213 "reportValidity": () => Promise<boolean>;
2214 /**
2215 * Whether to require the name in the address
2216 */
2217 "requireName": boolean;
2218 /**
2219 * Is this required (defaults to false)
2220 */
2221 "required": boolean;
2222 /**
2223 * Show the name field.
2224 */
2225 "showName": boolean;
2226 "statePlaceholder": string;
2227 }
2228 interface ScOrderStatusBadge {
2229 /**
2230 * Makes the tag clearable.
2231 */
2232 "clearable": boolean;
2233 /**
2234 * Draws a pill-style tag with rounded edges.
2235 */
2236 "pill": boolean;
2237 /**
2238 * The tag's size.
2239 */
2240 "size": 'small' | 'medium' | 'large';
2241 /**
2242 * The tag's statux type.
2243 */
2244 "status": OrderStatus;
2245 }
2246 interface ScOrderSubmit {
2247 /**
2248 * Currency Code
2249 */
2250 "currencyCode": string;
2251 /**
2252 * Show a full-width button.
2253 */
2254 "full": boolean;
2255 /**
2256 * Icon to show.
2257 */
2258 "icon": string;
2259 /**
2260 * Is the order loading.
2261 */
2262 "loading": boolean;
2263 /**
2264 * The current order.
2265 */
2266 "order": Checkout;
2267 /**
2268 * Is the order paying.
2269 */
2270 "paying": boolean;
2271 /**
2272 * The selected processor.
2273 */
2274 "processor": ProcessorName;
2275 /**
2276 * Keys and secrets for processors.
2277 */
2278 "processors": Processor[];
2279 /**
2280 * Show the secure notice
2281 */
2282 "secureNotice": boolean;
2283 /**
2284 * Secure
2285 */
2286 "secureNoticeText": string;
2287 /**
2288 * Show the total.
2289 */
2290 "showTotal": boolean;
2291 /**
2292 * The button's size.
2293 */
2294 "size": 'small' | 'medium' | 'large';
2295 /**
2296 * The button type.
2297 */
2298 "type": 'default' | 'primary' | 'success' | 'info' | 'warning' | 'danger' | 'text' | 'link';
2299 }
2300 interface ScOrderSummary {
2301 "busy": boolean;
2302 "collapsed": boolean;
2303 "collapsedOnDesktop": boolean;
2304 "collapsedOnMobile": boolean;
2305 "collapsible": boolean;
2306 "invoiceSummaryText": string;
2307 "order": Checkout;
2308 "orderSummaryText": string;
2309 }
2310 interface ScOrderTaxIdInput {
2311 /**
2312 * AU zone label
2313 */
2314 "auAbnLabel": string;
2315 /**
2316 * GST zone label
2317 */
2318 "caGstLabel": string;
2319 /**
2320 * EU zone label
2321 */
2322 "euVatLabel": string;
2323 /**
2324 * UK zone label
2325 */
2326 "gbVatLabel": string;
2327 /**
2328 * Help text
2329 */
2330 "helpText": string;
2331 /**
2332 * Other zones label
2333 */
2334 "otherLabel": string;
2335 "reportValidity": () => Promise<boolean>;
2336 /**
2337 * Force show the field.
2338 */
2339 "show": boolean;
2340 /**
2341 * Tax ID Types which will be shown Eg: '["eu_vat", "gb_vat"]'
2342 */
2343 "taxIdTypes": string | string[];
2344 }
2345 interface ScOrdersList {
2346 "allLink": string;
2347 "heading": string;
2348 "isCustomer": boolean;
2349 /**
2350 * Query to fetch orders
2351 */
2352 "query": {
2353 page: number;
2354 per_page: number;
2355 };
2356 }
2357 interface ScPagination {
2358 "page": number;
2359 "perPage": number;
2360 "total": number;
2361 "totalPages": number;
2362 "totalShowing": number;
2363 }
2364 interface ScPassword {
2365 /**
2366 * The input's autofocus attribute.
2367 */
2368 "autofocus": boolean;
2369 /**
2370 * The input's password confirmation attribute.
2371 */
2372 "confirmation": boolean;
2373 /**
2374 * The input's confirmation help text.
2375 */
2376 "confirmationHelp": string;
2377 /**
2378 * The input's confirmation label text.
2379 */
2380 "confirmationLabel": string;
2381 /**
2382 * The input's confirmation placeholder text.
2383 */
2384 "confirmationPlaceholder": string;
2385 /**
2386 * Disables the input.
2387 */
2388 "disabled": boolean;
2389 /**
2390 * Ensures strong password validation.
2391 */
2392 "enableValidation": boolean;
2393 /**
2394 * The input's help text.
2395 */
2396 "help": string;
2397 /**
2398 * The input's label.
2399 */
2400 "label": string;
2401 /**
2402 * The name for the input.
2403 */
2404 "name": string;
2405 /**
2406 * Draws a pill-style input with rounded edges.
2407 */
2408 "pill": boolean;
2409 /**
2410 * The input's placeholder text.
2411 */
2412 "placeholder": string;
2413 /**
2414 * Makes the input readonly.
2415 */
2416 "readonly": boolean;
2417 "reportValidity": () => Promise<boolean>;
2418 /**
2419 * Makes the input a required field.
2420 */
2421 "required": boolean;
2422 /**
2423 * Should we show the label
2424 */
2425 "showLabel": boolean;
2426 /**
2427 * The input's size.
2428 */
2429 "size": 'small' | 'medium' | 'large';
2430 /**
2431 * Sets focus on the input.
2432 */
2433 "triggerFocus": (options?: FocusOptions) => Promise<void>;
2434 /**
2435 * The input's value attribute.
2436 */
2437 "value": string;
2438 }
2439 interface ScPasswordNag {
2440 /**
2441 * Ensures strong password validation.
2442 */
2443 "enableValidation": boolean;
2444 "open": boolean;
2445 /**
2446 * The success url.
2447 */
2448 "successUrl": string;
2449 /**
2450 * The type of alert.
2451 */
2452 "type": 'primary' | 'success' | 'info' | 'warning' | 'danger';
2453 }
2454 interface ScPayment {
2455 /**
2456 * Disabled processor types
2457 */
2458 "disabledProcessorTypes": string[];
2459 /**
2460 * Hide the test mode badge
2461 */
2462 "hideTestModeBadge": boolean;
2463 /**
2464 * The input's label.
2465 */
2466 "label": string;
2467 "secureNotice": string;
2468 "stripePaymentElement": boolean;
2469 }
2470 interface ScPaymentMethod {
2471 "externalLink": string;
2472 "externalLinkTooltipText": string;
2473 "full": boolean;
2474 "paymentMethod": PaymentMethod;
2475 }
2476 interface ScPaymentMethodChoice {
2477 /**
2478 * Should we show this in a card?
2479 */
2480 "card": boolean;
2481 /**
2482 * Is this a manual processor
2483 */
2484 "isManual": boolean;
2485 /**
2486 * The method id
2487 */
2488 "methodId": string;
2489 /**
2490 * The processor ID
2491 */
2492 "processorId": string;
2493 }
2494 interface ScPaymentMethodDetails {
2495 "editHandler": () => void;
2496 "paymentMethod": PaymentMethod;
2497 }
2498 interface ScPaymentMethodsList {
2499 /**
2500 * Whether default payment method can be detached
2501 */
2502 "canDetachDefaultPaymentMethod": boolean;
2503 /**
2504 * The heading
2505 */
2506 "heading": string;
2507 /**
2508 * Is this a customer
2509 */
2510 "isCustomer": boolean;
2511 /**
2512 * Query to fetch paymentMethods
2513 */
2514 "query": object;
2515 }
2516 interface ScPaymentSelected {
2517 "iconName": string;
2518 "label": string;
2519 }
2520 interface ScPaypalAddMethod {
2521 "currency": string;
2522 "customerId": string;
2523 "liveMode": boolean;
2524 "successUrl": string;
2525 }
2526 interface ScPaypalButtons {
2527 /**
2528 * Is this busy?
2529 */
2530 "busy": boolean;
2531 /**
2532 * Buttons to render
2533 */
2534 "buttons": string[];
2535 /**
2536 * Client id for the script.
2537 */
2538 "clientId": string;
2539 /**
2540 * Button color.
2541 */
2542 "color": 'gold' | 'blue' | 'silver' | 'black' | 'white';
2543 /**
2544 * Label for the button.
2545 */
2546 "label": 'paypal' | 'checkout' | 'buynow' | 'pay' | 'installment';
2547 /**
2548 * The merchant id for paypal.
2549 */
2550 "merchantId": string;
2551 /**
2552 * Merchant initiated billing enabled.
2553 */
2554 "merchantInitiated": boolean;
2555 /**
2556 * Test or live mode.
2557 */
2558 "mode": 'test' | 'live';
2559 /**
2560 * The order.
2561 */
2562 "order": Checkout;
2563 }
2564 interface ScPaystackAddMethod {
2565 "currency": string;
2566 "customerId": string;
2567 "liveMode": boolean;
2568 "successUrl": string;
2569 }
2570 interface ScPhoneInput {
2571 /**
2572 * The input's autocomplete attribute.
2573 */
2574 "autocomplete": string;
2575 /**
2576 * The input's autocorrect attribute.
2577 */
2578 "autocorrect": string;
2579 /**
2580 * The input's autofocus attribute.
2581 */
2582 "autofocus": boolean;
2583 /**
2584 * Adds a clear button when the input is populated.
2585 */
2586 "clearable": boolean;
2587 /**
2588 * Disables the input.
2589 */
2590 "disabled": boolean;
2591 /**
2592 * Inputs focus
2593 */
2594 "hasFocus": boolean;
2595 /**
2596 * The input's help text.
2597 */
2598 "help": string;
2599 /**
2600 * Hidden
2601 */
2602 "hidden": boolean;
2603 /**
2604 * This will be true when the control is in an invalid state. Validity is determined by props such as `type`, `required`, `minlength`, `maxlength`, and `pattern` using the browser's constraint validation API.
2605 */
2606 "invalid": boolean;
2607 /**
2608 * The input's label.
2609 */
2610 "label": string;
2611 /**
2612 * The input's maximum value.
2613 */
2614 "max": number | string;
2615 /**
2616 * The maximum length of input that will be considered valid.
2617 */
2618 "maxlength": number;
2619 /**
2620 * The input's minimum value.
2621 */
2622 "min": number | string;
2623 /**
2624 * The minimum length of input that will be considered valid.
2625 */
2626 "minlength": number;
2627 /**
2628 * The input's name attribute.
2629 */
2630 "name": string;
2631 /**
2632 * A pattern to validate input against.
2633 */
2634 "pattern": string;
2635 /**
2636 * Draws a pill-style input with rounded edges.
2637 */
2638 "pill": boolean;
2639 /**
2640 * The input's placeholder text.
2641 */
2642 "placeholder": string;
2643 /**
2644 * Makes the input readonly.
2645 */
2646 "readonly": boolean;
2647 "reportValidity": () => Promise<boolean>;
2648 /**
2649 * Makes the input a required field.
2650 */
2651 "required": boolean;
2652 /**
2653 * Sets a custom validation message. If `message` is not empty, the field will be considered invalid.
2654 */
2655 "setCustomValidity": (message: string) => Promise<void>;
2656 /**
2657 * Should we show the label
2658 */
2659 "showLabel": boolean;
2660 /**
2661 * The input's size.
2662 */
2663 "size": 'small' | 'medium' | 'large';
2664 /**
2665 * Enables spell checking on the input.
2666 */
2667 "spellcheck": boolean;
2668 "squared": boolean;
2669 "squaredBottom": boolean;
2670 "squaredLeft": boolean;
2671 "squaredRight": boolean;
2672 "squaredTop": boolean;
2673 /**
2674 * The input's step attribute.
2675 */
2676 "step": number;
2677 /**
2678 * Adds a password toggle button to password inputs.
2679 */
2680 "togglePassword": boolean;
2681 /**
2682 * Removes focus from the input.
2683 */
2684 "triggerBlur": () => Promise<void>;
2685 /**
2686 * Sets focus on the input.
2687 */
2688 "triggerFocus": (options?: FocusOptions) => Promise<void>;
2689 /**
2690 * The input's value attribute.
2691 */
2692 "value": string;
2693 }
2694 interface ScPillOption {
2695 /**
2696 * Label
2697 */
2698 "isSelected": boolean;
2699 "isUnavailable": boolean;
2700 }
2701 interface ScPremiumTag {
2702 /**
2703 * The tag's size.
2704 */
2705 "size": 'small' | 'medium' | 'large';
2706 }
2707 /**
2708 * Internal dependencies.
2709 */
2710 interface ScPrice {
2711 /**
2712 * Is the product ad_hoc?
2713 */
2714 "adHoc": boolean;
2715 /**
2716 * The amount
2717 */
2718 "amount": number;
2719 /**
2720 * The currency.
2721 */
2722 "currency": string;
2723 /**
2724 * The recurring interval
2725 */
2726 "recurringInterval": 'week' | 'month' | 'year' | 'never';
2727 /**
2728 * The recurring interval count
2729 */
2730 "recurringIntervalCount": number;
2731 /**
2732 * The recurring period count
2733 */
2734 "recurringPeriodCount": number;
2735 /**
2736 * The sale text
2737 */
2738 "saleText": string;
2739 /**
2740 * The scratch amount
2741 */
2742 "scratchAmount": number;
2743 /**
2744 * The setup fee amount
2745 */
2746 "setupFeeAmount": number;
2747 /**
2748 * The setup fee name
2749 */
2750 "setupFeeName": string;
2751 /**
2752 * The trial duration days
2753 */
2754 "trialDurationDays": number;
2755 }
2756 interface ScPriceChoice {
2757 /**
2758 * Is this blank?
2759 */
2760 "blank": boolean;
2761 /**
2762 * Is this checked by default
2763 */
2764 "checked": boolean;
2765 /**
2766 * Label for the choice.
2767 */
2768 "description": string;
2769 /**
2770 * Errors from response
2771 */
2772 "error": ResponseError;
2773 /**
2774 * Is this an ad-hoc price choice
2775 */
2776 "isAdHoc": Boolean;
2777 /**
2778 * Label for the choice.
2779 */
2780 "label": string;
2781 /**
2782 * Is this loading
2783 */
2784 "loading": boolean;
2785 /**
2786 * Session
2787 */
2788 "order": Checkout;
2789 /**
2790 * Stores the price
2791 */
2792 "price": Price;
2793 /**
2794 * Id of the price.
2795 */
2796 "priceId": string;
2797 /**
2798 * Price entities
2799 */
2800 "prices": Prices;
2801 /**
2802 * Stores the price
2803 */
2804 "product": Product;
2805 /**
2806 * Product entity
2807 */
2808 "products": Products;
2809 /**
2810 * Default quantity
2811 */
2812 "quantity": number;
2813 /**
2814 * Show the radio/checkbox control
2815 */
2816 "showControl": boolean;
2817 /**
2818 * Show the label
2819 */
2820 "showLabel": boolean;
2821 /**
2822 * Show the price amount
2823 */
2824 "showPrice": boolean;
2825 /**
2826 * Choice Type
2827 */
2828 "type": 'checkbox' | 'radio';
2829 }
2830 interface ScPriceChoiceContainer {
2831 /**
2832 * Is this checked by default
2833 */
2834 "checked": boolean;
2835 /**
2836 * Label for the choice.
2837 */
2838 "description": string;
2839 /**
2840 * Label for the choice.
2841 */
2842 "label": string;
2843 /**
2844 * Is this loading
2845 */
2846 "loading": boolean;
2847 /**
2848 * Stores the price
2849 */
2850 "price": string | Price;
2851 "required": boolean;
2852 /**
2853 * Show the radio/checkbox control
2854 */
2855 "showControl": boolean;
2856 /**
2857 * Show the label
2858 */
2859 "showLabel": boolean;
2860 /**
2861 * Show the price amount
2862 */
2863 "showPrice": boolean;
2864 /**
2865 * Choice Type
2866 */
2867 "type": 'checkbox' | 'radio';
2868 }
2869 interface ScPriceChoices {
2870 /**
2871 * Number of columns
2872 */
2873 "columns": number;
2874 /**
2875 * Selector label
2876 */
2877 "label": string;
2878 /**
2879 * Required by default
2880 */
2881 "required": boolean;
2882 }
2883 interface ScPriceInput {
2884 /**
2885 * The input's autofocus attribute.
2886 */
2887 "autofocus": boolean;
2888 /**
2889 * Adds a clear button when the input is populated.
2890 */
2891 "clearable": boolean;
2892 /**
2893 * 3 letter currency code for input
2894 */
2895 "currencyCode": string;
2896 /**
2897 * Disables the input.
2898 */
2899 "disabled": boolean;
2900 /**
2901 * Inputs focus
2902 */
2903 "hasFocus": boolean;
2904 /**
2905 * The input's help text.
2906 */
2907 "help": string;
2908 /**
2909 * This will be true when the control is in an invalid state. Validity is determined by props such as `type`, `required`, `minlength`, `maxlength`, and `pattern` using the browser's constraint validation API.
2910 */
2911 "invalid": boolean;
2912 /**
2913 * The input's label.
2914 */
2915 "label": string;
2916 /**
2917 * The input's maximum value.
2918 */
2919 "max": number;
2920 /**
2921 * The maximum length of input that will be considered valid.
2922 */
2923 "maxlength": number;
2924 /**
2925 * The input's minimum value.
2926 */
2927 "min": number;
2928 /**
2929 * The minimum length of input that will be considered valid.
2930 */
2931 "minlength": number;
2932 /**
2933 * The input's name attribute.
2934 */
2935 "name": string;
2936 /**
2937 * Draws a pill-style input with rounded edges.
2938 */
2939 "pill": boolean;
2940 /**
2941 * The input's placeholder text.
2942 */
2943 "placeholder": string;
2944 /**
2945 * Makes the input readonly.
2946 */
2947 "readonly": boolean;
2948 "reportValidity": () => Promise<boolean>;
2949 /**
2950 * Makes the input a required field.
2951 */
2952 "required": boolean;
2953 /**
2954 * Sets a custom validation message. If `message` is not empty, the field will be considered invalid.
2955 */
2956 "setCustomValidity": (message: string) => Promise<void>;
2957 /**
2958 * Show the currency code with the input
2959 */
2960 "showCode": boolean;
2961 /**
2962 * Should we show the label
2963 */
2964 "showLabel": boolean;
2965 /**
2966 * The input's size.
2967 */
2968 "size": 'small' | 'medium' | 'large';
2969 /**
2970 * Removes focus from the input.
2971 */
2972 "triggerBlur": () => Promise<void>;
2973 /**
2974 * Sets focus on the input.
2975 */
2976 "triggerFocus": (options?: FocusOptions) => Promise<void>;
2977 /**
2978 * The input's value attribute.
2979 */
2980 "value": string;
2981 }
2982 interface ScPriceRange {
2983 /**
2984 * The array of price objects
2985 */
2986 "prices": Price[];
2987 }
2988 interface ScProductBuyButton {
2989 "addToCart": boolean;
2990 "checkoutLink": string;
2991 "formId": number;
2992 "mode": 'live' | 'test';
2993 "productId": string;
2994 }
2995 interface ScProductDonationAmountChoice {
2996 /**
2997 * The label for the field.
2998 */
2999 "label": string;
3000 /**
3001 * The product id for the fields.
3002 */
3003 "productId": string;
3004 /**
3005 * The value of the field.
3006 */
3007 "value": number;
3008 }
3009 interface ScProductDonationChoices {
3010 /**
3011 * The label for the field.
3012 */
3013 "label": string;
3014 /**
3015 * The product id for the fields.
3016 */
3017 "productId": string;
3018 "recurring": boolean;
3019 }
3020 interface ScProductDonationCustomAmount {
3021 /**
3022 * Selected Product Id for the donation.
3023 */
3024 "productId": string;
3025 /**
3026 * Custom Amount of the donation.
3027 */
3028 "value": number;
3029 }
3030 interface ScProductItem {
3031 "layoutConfig": LayoutConfig;
3032 "product": Product;
3033 }
3034 interface ScProductItemImage {
3035 "product": Product;
3036 "sizing": 'cover' | 'contain';
3037 }
3038 interface ScProductItemList {
3039 /**
3040 * Should we paginate?
3041 */
3042 "ajaxPagination": boolean;
3043 /**
3044 * Should allow collection filter
3045 */
3046 "collectionEnabled": boolean;
3047 /**
3048 * Show for a specific collection
3049 */
3050 "collectionId": string;
3051 /**
3052 * Show only featured products.
3053 */
3054 "featured": boolean;
3055 /**
3056 * Limit to a set of ids.
3057 */
3058 "ids": string[];
3059 "layoutConfig": LayoutConfig1;
3060 "limit": number;
3061 "page": number;
3062 /**
3063 * The page title
3064 */
3065 "pageTitle": string;
3066 /**
3067 * Pagination
3068 */
3069 "pagination": {
3070 total: number;
3071 total_pages: number;
3072 };
3073 "paginationAlignment": string;
3074 /**
3075 * Should we auto-scroll to the top when paginating via ajax
3076 */
3077 "paginationAutoScroll": boolean;
3078 /**
3079 * Should we paginate?
3080 */
3081 "paginationEnabled": boolean;
3082 "products"?: Product[];
3083 /**
3084 * Query to search for
3085 */
3086 "query": string;
3087 /**
3088 * Should allow search
3089 */
3090 "searchEnabled": boolean;
3091 /**
3092 * Sort
3093 */
3094 "sort": string;
3095 /**
3096 * Should allow search
3097 */
3098 "sortEnabled": boolean;
3099 }
3100 interface ScProductItemPrice {
3101 /**
3102 * Product metrics
3103 */
3104 "metrics": ProductMetrics;
3105 "prices": Price[];
3106 /**
3107 * Show price range?
3108 */
3109 "range": boolean;
3110 }
3111 interface ScProductItemTitle {
3112 }
3113 interface ScProductLineItem {
3114 /**
3115 * Product monetary amount
3116 */
3117 "amount": number;
3118 /**
3119 * Currency for the product
3120 */
3121 "currency": string;
3122 /**
3123 * Can we select the quantity
3124 */
3125 "editable": boolean;
3126 /**
3127 * Product line item fees.
3128 */
3129 "fees": Fee[];
3130 /**
3131 * Image attributes.
3132 */
3133 "image": ImageAttributes;
3134 /**
3135 * Recurring interval (i.e. monthly, once, etc.)
3136 */
3137 "interval": string;
3138 /**
3139 * The max allowed.
3140 */
3141 "max": number;
3142 /**
3143 * Product name
3144 */
3145 "name": string;
3146 /**
3147 * Price name
3148 */
3149 "priceName"?: string;
3150 /**
3151 * The purchasable status display
3152 */
3153 "purchasableStatusDisplay": string;
3154 /**
3155 * Quantity
3156 */
3157 "quantity": number;
3158 /**
3159 * Is the line item removable
3160 */
3161 "removable": boolean;
3162 /**
3163 * The line item scratch amount
3164 */
3165 "scratchAmount": number;
3166 /**
3167 * Is the setup fee not included in the free trial?
3168 */
3169 "setupFeeTrialEnabled": boolean;
3170 /**
3171 * The SKU.
3172 */
3173 "sku": string;
3174 /**
3175 * Trial duration days
3176 */
3177 "trialDurationDays": number;
3178 /**
3179 * Product variant label
3180 */
3181 "variantLabel": string;
3182 }
3183 interface ScProductPillsVariantOption {
3184 /**
3185 * Label
3186 */
3187 "label": string;
3188 /**
3189 * Which option number?
3190 */
3191 "optionNumber": 1 | 2 | 3;
3192 /**
3193 * The product id
3194 */
3195 "productId": string;
3196 }
3197 interface ScProductPrice {
3198 /**
3199 * The product's prices.
3200 */
3201 "prices": Price[];
3202 /**
3203 * The product id
3204 */
3205 "productId": string;
3206 /**
3207 * The sale text
3208 */
3209 "saleText": string;
3210 }
3211 interface ScProductPriceChoices {
3212 /**
3213 * The product price choice label
3214 */
3215 "label": string;
3216 /**
3217 * The product id
3218 */
3219 "productId": string;
3220 /**
3221 * Whether to show the price
3222 */
3223 "showPrice": boolean;
3224 }
3225 interface ScProductPriceModal {
3226 /**
3227 * Whether to add to cart
3228 */
3229 "addToCart": boolean;
3230 /**
3231 * The button text
3232 */
3233 "buttonText": string;
3234 /**
3235 * The product id
3236 */
3237 "productId": string;
3238 }
3239 interface ScProductQuantity {
3240 /**
3241 * Display server-side validation errors.
3242 */
3243 "errors": any;
3244 /**
3245 * Help text
3246 */
3247 "help": string;
3248 /**
3249 * Input label.
3250 */
3251 "label": string;
3252 /**
3253 * Name for the input. Used for validation errors.
3254 */
3255 "name": string;
3256 /**
3257 * The product id
3258 */
3259 "productId": string;
3260 /**
3261 * Whether the input is required.
3262 */
3263 "required": boolean;
3264 /**
3265 * Show the label.
3266 */
3267 "showLabel": boolean;
3268 /**
3269 * Size of the control
3270 */
3271 "size": 'small' | 'medium' | 'large';
3272 }
3273 interface ScProductSelectedPrice {
3274 /**
3275 * The product id.
3276 */
3277 "productId": string;
3278 }
3279 interface ScProductText {
3280 "productId": string;
3281 "text": 'name' | 'description';
3282 }
3283 interface ScProse {
3284 }
3285 interface ScProvider {
3286 "STENCIL_CONTEXT": { [key: string]: any };
3287 }
3288 interface ScProvisionalBanner {
3289 /**
3290 * Claim URL.
3291 */
3292 "claimUrl": string;
3293 }
3294 interface ScPurchaseDownloadsList {
3295 "allLink": string;
3296 "busy": boolean;
3297 "error": string;
3298 "heading": string;
3299 "loading": boolean;
3300 "purchases": Array<Purchase>;
3301 "requestNonce": string;
3302 }
3303 interface ScQuantitySelect {
3304 "clickEl"?: HTMLElement;
3305 "disabled": boolean;
3306 /**
3307 * Inputs focus
3308 */
3309 "hasFocus": boolean;
3310 "max": number;
3311 "min": number;
3312 "quantity": number;
3313 "size": 'small' | 'medium' | 'large';
3314 }
3315 interface ScRadio {
3316 /**
3317 * Simulates a click on the radio.
3318 */
3319 "ceClick": () => Promise<void>;
3320 /**
3321 * Draws the radio in a checked state.
3322 */
3323 "checked": boolean;
3324 /**
3325 * Is the radio disabled
3326 */
3327 "disabled": boolean;
3328 /**
3329 * This will be true as a workaround in the block editor to focus on the content.
3330 */
3331 "edit": boolean;
3332 /**
3333 * This will be true when the control is in an invalid state. Validity is determined by the `required` prop.
3334 */
3335 "invalid": boolean;
3336 /**
3337 * The radios name attribute
3338 */
3339 "name": string;
3340 /**
3341 * Checks for validity and shows the browser's validation message if the control is invalid.
3342 */
3343 "reportValidity": () => Promise<boolean>;
3344 /**
3345 * Is this required
3346 */
3347 "required": boolean;
3348 /**
3349 * The radios value
3350 */
3351 "value": string;
3352 }
3353 interface ScRadioGroup {
3354 /**
3355 * This will be true when the control is in an invalid state. Validity is determined by props such as `type`, `required`, `minlength`, `maxlength`, and `pattern` using the browser's constraint validation API.
3356 */
3357 "invalid": boolean;
3358 /**
3359 * The radio group label. Required for proper accessibility.
3360 */
3361 "label": string;
3362 /**
3363 * Checks for validity and shows the browser's validation message if the control is invalid.
3364 */
3365 "reportValidity": () => Promise<boolean>;
3366 /**
3367 * Is one of these items required.
3368 */
3369 "required": boolean;
3370 /**
3371 * The selected value of the control.
3372 */
3373 "value": string;
3374 }
3375 interface ScRecurringPriceChoiceContainer {
3376 /**
3377 * Label for the choice.
3378 */
3379 "label": string;
3380 /**
3381 * The prices to choose from.
3382 */
3383 "prices": Price[];
3384 /**
3385 * The product.
3386 */
3387 "product": Product;
3388 /**
3389 * The currently selected price
3390 */
3391 "selectedPrice": Price;
3392 /**
3393 * Should we show the price?
3394 */
3395 "showAmount": boolean;
3396 /**
3397 * Show the radio/checkbox control
3398 */
3399 "showControl": boolean;
3400 /**
3401 * Should we show the price details?
3402 */
3403 "showDetails": boolean;
3404 }
3405 interface ScRichText {
3406 /**
3407 * Disables the textarea.
3408 */
3409 "disabled": boolean;
3410 /**
3411 * The textarea's help text. Alternatively, you can use the help-text slot.
3412 */
3413 "help": string;
3414 /**
3415 * The textarea's label. Alternatively, you can use the label slot.
3416 */
3417 "label": string;
3418 /**
3419 * The max length.
3420 */
3421 "maxlength": number;
3422 /**
3423 * The textarea's name attribute.
3424 */
3425 "name": string;
3426 /**
3427 * The textarea's placeholder text.
3428 */
3429 "placeholder": string;
3430 /**
3431 * Makes the textarea readonly.
3432 */
3433 "readonly": boolean;
3434 /**
3435 * Makes the textarea a required field.
3436 */
3437 "required": boolean;
3438 /**
3439 * Should we show the label
3440 */
3441 "showLabel": boolean;
3442 /**
3443 * The textarea's size.
3444 */
3445 "size": 'small' | 'medium' | 'large';
3446 /**
3447 * The textarea's value attribute.
3448 */
3449 "value": string;
3450 }
3451 interface ScSecureNotice {
3452 }
3453 interface ScSelect {
3454 /**
3455 * The input's autocomplete attribute.
3456 */
3457 "autocomplete": string;
3458 /**
3459 * The input's value attribute.
3460 */
3461 "choices": Array<ChoiceItem>;
3462 "closeOnSelect": boolean;
3463 "disabled": boolean;
3464 /**
3465 * Some help text for the input.
3466 */
3467 "help": string;
3468 "hoist": boolean;
3469 /**
3470 * This will be true when the control is in an invalid state. Validity is determined by props such as `type`, `required`, `minlength`, `maxlength`, and `pattern` using the browser's constraint validation API.
3471 */
3472 "invalid": boolean;
3473 /**
3474 * The input's label.
3475 */
3476 "label": string;
3477 "loading": boolean;
3478 /**
3479 * The input's name attribute.
3480 */
3481 "name": string;
3482 /**
3483 * Is this open
3484 */
3485 "open": boolean;
3486 /**
3487 * Placeholder for no value
3488 */
3489 "placeholder": string;
3490 /**
3491 * The placement of the dropdown.
3492 */
3493 "placement": | 'top'
3494 | 'top-start'
3495 | 'top-end'
3496 | 'bottom'
3497 | 'bottom-start'
3498 | 'bottom-end'
3499 | 'right'
3500 | 'right-start'
3501 | 'right-end'
3502 | 'left'
3503 | 'left-start'
3504 | 'left-end';
3505 "position": 'bottom-left' | 'bottom-right' | 'top-left' | 'top-right';
3506 "reportValidity": () => Promise<boolean>;
3507 "required": boolean;
3508 /**
3509 * Is search enabled?
3510 */
3511 "search": boolean;
3512 /**
3513 * Placeholder for search
3514 */
3515 "searchPlaceholder": string;
3516 /**
3517 * Sets a custom validation message. If `message` is not empty, the field will be considered invalid.
3518 */
3519 "setCustomValidity": (message: string) => Promise<void>;
3520 "showParentLabel": boolean;
3521 /**
3522 * The input's size.
3523 */
3524 "size": 'small' | 'medium' | 'large';
3525 "squared": boolean;
3526 "squaredBottom": boolean;
3527 "squaredLeft": boolean;
3528 "squaredRight": boolean;
3529 "squaredTop": boolean;
3530 /**
3531 * Can we unselect items.
3532 */
3533 "unselect": boolean;
3534 /**
3535 * The input's value attribute.
3536 */
3537 "value": string;
3538 }
3539 interface ScSessionProvider {
3540 /**
3541 * Finalize the order.
3542 * @returns
3543 */
3544 "finalize": () => Promise<Checkout | NodeJS.Timeout | Error>;
3545 /**
3546 * Should we persist the session.
3547 */
3548 "persist": boolean;
3549 /**
3550 * An array of prices to pre-fill in the form.
3551 */
3552 "prices": Array<PriceChoice>;
3553 }
3554 interface ScShippingChoices {
3555 /**
3556 * The shipping section label
3557 */
3558 "label": string;
3559 /**
3560 * Whether to show the shipping choice description
3561 */
3562 "showDescription": boolean;
3563 }
3564 interface ScSkeleton {
3565 /**
3566 * Animation effect
3567 */
3568 "effect": 'pulse' | 'sheen' | 'none';
3569 }
3570 interface ScSpacing {
3571 }
3572 interface ScSpinner {
3573 }
3574 interface ScStackedList {
3575 }
3576 interface ScStackedListRow {
3577 "href": string;
3578 "mobileSize": number;
3579 "target": string;
3580 }
3581 interface ScStripeAddMethod {
3582 "customerId": string;
3583 "liveMode": boolean;
3584 "successUrl": string;
3585 }
3586 interface ScStripeElement {
3587 /**
3588 * Confirm card payment
3589 */
3590 "confirmCardPayment": (secret: any) => Promise<any>;
3591 /**
3592 * Confirm card setup.
3593 */
3594 "confirmCardSetup": (secret: any) => Promise<any>;
3595 /**
3596 * Whether this field is disabled
3597 */
3598 "disabled": boolean;
3599 /**
3600 * The form state
3601 */
3602 "formState": FormState;
3603 /**
3604 * Inputs focus
3605 */
3606 "hasFocus": boolean;
3607 /**
3608 * The input's label. Alternatively, you can use the label slot.
3609 */
3610 "label": string;
3611 /**
3612 * Mode for the payment
3613 */
3614 "mode": 'live' | 'test';
3615 /**
3616 * The checkout session object for finalizing intents
3617 */
3618 "order": Checkout;
3619 /**
3620 * The input's help text. Alternatively, you can use the help-text slot.
3621 */
3622 "secureText": string;
3623 /**
3624 * The selected processor id
3625 */
3626 "selectedProcessorId": ProcessorName;
3627 /**
3628 * Should we show the label
3629 */
3630 "showLabel": boolean;
3631 /**
3632 * The input's size.
3633 */
3634 "size": 'small' | 'medium' | 'large';
3635 }
3636 interface ScStripePaymentElement {
3637 "confirm": (type: any, args?: {}) => Promise<void>;
3638 }
3639 interface ScStripePaymentRequest {
3640 /**
3641 * Amount
3642 */
3643 "amount": number;
3644 /**
3645 * Country
3646 */
3647 "country": string;
3648 /**
3649 * Is this in debug mode.
3650 */
3651 "debug": boolean;
3652 "error": ResponseError | null;
3653 /**
3654 * Label
3655 */
3656 "label": string;
3657 /**
3658 * Prices
3659 */
3660 "prices": Prices;
3661 /**
3662 * Stripe publishable key
3663 */
3664 "publishableKey": string;
3665 /**
3666 * Your stripe connected account id.
3667 */
3668 "stripeAccountId": string;
3669 /**
3670 * Payment request theme
3671 */
3672 "theme": string;
3673 }
3674 interface ScSubscription {
3675 /**
3676 * Heading to display
3677 */
3678 "heading": string;
3679 /**
3680 * The subscription protocol
3681 */
3682 "protocol": SubscriptionProtocol;
3683 /**
3684 * Query to pass to the API
3685 */
3686 "query": object;
3687 /**
3688 * Whether to show the cancel button
3689 */
3690 "showCancel": boolean;
3691 /**
3692 * The subscription
3693 */
3694 "subscription": Subscription;
3695 /**
3696 * The subscription ID
3697 */
3698 "subscriptionId": string;
3699 /**
3700 * Update the payment method url
3701 */
3702 "updatePaymentMethodUrl": string;
3703 }
3704 interface ScSubscriptionAdHocConfirm {
3705 "heading": string;
3706 "price": Price;
3707 }
3708 interface ScSubscriptionCancel {
3709 "backUrl": string;
3710 "comment": string;
3711 "heading": string;
3712 "protocol": SubscriptionProtocol;
3713 "reason": CancellationReason;
3714 "subscription": Subscription;
3715 "successUrl": string;
3716 }
3717 interface ScSubscriptionDetails {
3718 "hideRenewalText": boolean;
3719 "pendingPrice": Price;
3720 "subscription": Subscription;
3721 }
3722 interface ScSubscriptionNextPayment {
3723 "subscription": Subscription;
3724 /**
3725 * Update the payment method url
3726 */
3727 "updatePaymentMethodUrl": string;
3728 }
3729 interface ScSubscriptionPayment {
3730 "backUrl": string;
3731 "customerIds": Array<string>;
3732 "paymentMethods": Array<PaymentMethod>;
3733 "subscription": Subscription;
3734 "subscriptionId": string;
3735 "successUrl": string;
3736 }
3737 interface ScSubscriptionPaymentMethod {
3738 /**
3739 * The heading
3740 */
3741 "heading": string;
3742 /**
3743 * The subscription
3744 */
3745 "subscription": Subscription;
3746 }
3747 interface ScSubscriptionReactivate {
3748 /**
3749 * Whether it is open
3750 */
3751 "open": boolean;
3752 /**
3753 * The subscription to reactivate
3754 */
3755 "subscription": Subscription;
3756 }
3757 interface ScSubscriptionStatusBadge {
3758 /**
3759 * Makes the tag clearable.
3760 */
3761 "clearable": boolean;
3762 /**
3763 * Draws a pill-style tag with rounded edges.
3764 */
3765 "pill": boolean;
3766 /**
3767 * The tag's size.
3768 */
3769 "size": 'small' | 'medium' | 'large';
3770 /**
3771 * Subscription status
3772 */
3773 "status": SubscriptionStatus;
3774 /**
3775 * The tag's status type.
3776 */
3777 "subscription": Subscription;
3778 }
3779 interface ScSubscriptionSwitch {
3780 "filterAbove": number;
3781 "heading": string;
3782 "productGroupId": ProductGroup;
3783 "productId": string;
3784 /**
3785 * Customer id to fetch subscriptions
3786 */
3787 "query": object;
3788 "subscription": Subscription;
3789 "successUrl": string;
3790 }
3791 interface ScSubscriptionVariationConfirm {
3792 "heading": string;
3793 "price": Price;
3794 "product": Product;
3795 "subscription": Subscription;
3796 }
3797 interface ScSubscriptionsList {
3798 "allLink": string;
3799 "cancelBehavior": 'period_end' | 'immediate';
3800 "heading": string;
3801 "isCustomer": boolean;
3802 /**
3803 * Customer id to fetch subscriptions
3804 */
3805 "query": {
3806 page: number;
3807 per_page: number;
3808 };
3809 }
3810 interface ScSummary {
3811 "busy": boolean;
3812 "closedText": string;
3813 "collapsed": boolean;
3814 "collapsedOnDesktop": boolean;
3815 "collapsedOnMobile": boolean;
3816 "collapsible": boolean;
3817 "loading": boolean;
3818 "openText": string;
3819 }
3820 interface ScSwitch {
3821 /**
3822 * Draws the switch in a checked state.
3823 */
3824 "checked": boolean;
3825 /**
3826 * Disables the switch.
3827 */
3828 "disabled": boolean;
3829 /**
3830 * This will be true as a workaround in the block editor to focus on the content.
3831 */
3832 "edit": boolean;
3833 /**
3834 * This will be true when the control is in an invalid state. Validity is determined by the `required` prop.
3835 */
3836 "invalid": boolean;
3837 /**
3838 * The switch's name attribute.
3839 */
3840 "name": string;
3841 /**
3842 * Checks for validity and shows the browser's validation message if the control is invalid.
3843 */
3844 "reportValidity": () => Promise<boolean>;
3845 /**
3846 * Makes the switch a required field.
3847 */
3848 "required": boolean;
3849 "reversed": boolean;
3850 /**
3851 * The switch's value attribute.
3852 */
3853 "value": string;
3854 }
3855 interface ScTab {
3856 /**
3857 * Draws the tab in an active state.
3858 */
3859 "active": boolean;
3860 "count": string;
3861 /**
3862 * Draws the tab in a disabled state.
3863 */
3864 "disabled": boolean;
3865 "href": string;
3866 /**
3867 * The name of the tab panel the tab will control. The panel must be located in the same tab group.
3868 */
3869 "panel": string;
3870 /**
3871 * Removes focus from the tab.
3872 */
3873 "triggerBlur": () => Promise<void>;
3874 /**
3875 * Sets focus to the tab.
3876 */
3877 "triggerFocus": (options?: FocusOptions) => Promise<void>;
3878 }
3879 interface ScTabGroup {
3880 }
3881 interface ScTabPanel {
3882 /**
3883 * When true, the tab panel will be shown.
3884 */
3885 "active": boolean;
3886 /**
3887 * The tab panel's name.
3888 */
3889 "name": string;
3890 }
3891 interface ScTable {
3892 }
3893 interface ScTableCell {
3894 }
3895 interface ScTableHead {
3896 }
3897 interface ScTableRow {
3898 "href": string;
3899 }
3900 interface ScTag {
3901 /**
3902 * Aria label
3903 */
3904 "ariaLabel": string;
3905 /**
3906 * Makes the tag clearable.
3907 */
3908 "clearable": boolean;
3909 /**
3910 * Draws a pill-style tag with rounded edges.
3911 */
3912 "pill": boolean;
3913 /**
3914 * The tag's size.
3915 */
3916 "size": 'small' | 'medium' | 'large';
3917 /**
3918 * The tag's type.
3919 */
3920 "type": 'primary' | 'success' | 'info' | 'warning' | 'danger' | 'default';
3921 }
3922 interface ScTaxIdInput {
3923 /**
3924 * AU zone label
3925 */
3926 "auAbnLabel": string;
3927 /**
3928 * GST zone label
3929 */
3930 "caGstLabel": string;
3931 /**
3932 * The country code.
3933 */
3934 "country": string;
3935 /**
3936 * EU zone label
3937 */
3938 "euVatLabel": string;
3939 /**
3940 * UK zone label
3941 */
3942 "gbVatLabel": string;
3943 /**
3944 * Help text.
3945 */
3946 "help": string;
3947 /**
3948 * Is this loading?
3949 */
3950 "loading": boolean;
3951 /**
3952 * Tax ID Number
3953 */
3954 "number": string;
3955 /**
3956 * Other zones label
3957 */
3958 "otherLabel": string;
3959 "reportValidity": () => Promise<boolean>;
3960 /**
3961 * Whether tax input is required
3962 */
3963 "required": boolean;
3964 /**
3965 * Force show the field.
3966 */
3967 "show": boolean;
3968 /**
3969 * The status
3970 */
3971 "status": 'valid' | 'invalid' | 'unknown';
3972 /**
3973 * Tax ID Types which will be shown
3974 */
3975 "taxIdTypes": string[];
3976 /**
3977 * Type of tax id
3978 */
3979 "type": string;
3980 }
3981 interface ScText {
3982 "tag": 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'p';
3983 "truncate": boolean;
3984 }
3985 interface ScTextarea {
3986 /**
3987 * The textarea's autocapitalize attribute.
3988 */
3989 "autocapitalize": 'off' | 'none' | 'on' | 'sentences' | 'words' | 'characters';
3990 /**
3991 * The textarea's autocomplete attribute.
3992 */
3993 "autocomplete": string;
3994 /**
3995 * The textarea's autocorrect attribute.
3996 */
3997 "autocorrect": string;
3998 /**
3999 * The textarea's autofocus attribute.
4000 */
4001 "autofocus": boolean;
4002 /**
4003 * Disables the textarea.
4004 */
4005 "disabled": boolean;
4006 /**
4007 * The input's enterkeyhint attribute. This can be used to customize the label or icon of the Enter key on virtual keyboards.
4008 */
4009 "enterkeyhint": 'enter' | 'done' | 'go' | 'next' | 'previous' | 'search' | 'send';
4010 /**
4011 * Draws a filled textarea.
4012 */
4013 "filled": boolean;
4014 /**
4015 * The textarea's help text. Alternatively, you can use the help-text slot.
4016 */
4017 "help": string;
4018 /**
4019 * The textarea's inputmode attribute.
4020 */
4021 "inputmode": 'none' | 'text' | 'decimal' | 'numeric' | 'tel' | 'search' | 'email' | 'url';
4022 /**
4023 * This will be true when the control is in an invalid state. Validity is determined by props such as `type`, `required`, `minlength`, and `maxlength` using the browser's constraint validation API.
4024 */
4025 "invalid": boolean;
4026 /**
4027 * The textarea's label. Alternatively, you can use the label slot.
4028 */
4029 "label": string;
4030 /**
4031 * The maximum length of input that will be considered valid.
4032 */
4033 "maxlength": number;
4034 /**
4035 * The minimum length of input that will be considered valid.
4036 */
4037 "minlength": number;
4038 /**
4039 * The textarea's name attribute.
4040 */
4041 "name": string;
4042 /**
4043 * The textarea's placeholder text.
4044 */
4045 "placeholder": string;
4046 /**
4047 * Makes the textarea readonly.
4048 */
4049 "readonly": boolean;
4050 /**
4051 * Checks for validity and shows the browser's validation message if the control is invalid.
4052 */
4053 "reportValidity": () => Promise<boolean>;
4054 /**
4055 * Makes the textarea a required field.
4056 */
4057 "required": boolean;
4058 /**
4059 * Controls how the textarea can be resized.
4060 */
4061 "resize": 'none' | 'vertical' | 'auto';
4062 /**
4063 * The number of rows to display by default.
4064 */
4065 "rows": number;
4066 /**
4067 * Should we show the label
4068 */
4069 "showLabel": boolean;
4070 /**
4071 * The textarea's size.
4072 */
4073 "size": 'small' | 'medium' | 'large';
4074 /**
4075 * Enables spell checking on the textarea.
4076 */
4077 "spellcheck": boolean;
4078 /**
4079 * Sets focus on the input.
4080 */
4081 "triggerFocus": (options?: FocusOptions) => Promise<void>;
4082 /**
4083 * The textarea's value attribute.
4084 */
4085 "value": string;
4086 }
4087 interface ScToggle {
4088 /**
4089 * Is this a borderless toggle?
4090 */
4091 "borderless": boolean;
4092 /**
4093 * Are these collapsible?
4094 */
4095 "collapsible": boolean;
4096 /**
4097 * Disables the details so it can't be toggled.
4098 */
4099 "disabled": boolean;
4100 /**
4101 * Indicates whether or not the details is open. You can use this in lieu of the show/hide methods.
4102 */
4103 "open": boolean;
4104 /**
4105 * Is this a shady
4106 */
4107 "shady": boolean;
4108 /**
4109 * Should we show a radio control?
4110 */
4111 "showControl": boolean;
4112 /**
4113 * Should we show the arrow icon?
4114 */
4115 "showIcon": boolean;
4116 /**
4117 * The summary to show in the details header. If you need to display HTML, use the `summary` slot instead.
4118 */
4119 "summary": string;
4120 }
4121 interface ScToggles {
4122 /**
4123 * Should this function as an accordion?
4124 */
4125 "accordion": boolean;
4126 /**
4127 * Are these collapsible?
4128 */
4129 "collapsible": boolean;
4130 /**
4131 * Theme for the toggles
4132 */
4133 "theme": 'default' | 'container';
4134 }
4135 interface ScTooltip {
4136 /**
4137 * Freeze open or closed.
4138 */
4139 "freeze": boolean;
4140 /**
4141 * Open or not
4142 */
4143 "open": boolean;
4144 /**
4145 * The tooltip's padding.
4146 */
4147 "padding": number;
4148 /**
4149 * Tooltip text
4150 */
4151 "text": string;
4152 /**
4153 * The tooltip's type.
4154 */
4155 "type": 'primary' | 'success' | 'info' | 'warning' | 'danger' | 'text';
4156 /**
4157 * Tooltip fixed width
4158 */
4159 "width": string;
4160 }
4161 interface ScTotal {
4162 "order": Checkout;
4163 "total": 'total' | 'subtotal' | 'amount_due';
4164 }
4165 interface ScUpcomingInvoice {
4166 "adHocAmount": number;
4167 "discount": {
4168 promotion_code?: string;
4169 coupon?: string;
4170 };
4171 "heading": string;
4172 "payment_method": PaymentMethod;
4173 "priceId": string;
4174 "quantity": number;
4175 "quantityUpdatesEnabled": boolean;
4176 "subscriptionId": string;
4177 "successUrl": string;
4178 "variantId": string;
4179 }
4180 interface ScUpgradeRequired {
4181 /**
4182 * Whether to render upgrade modal by default
4183 */
4184 "open": boolean;
4185 /**
4186 * Is this required?
4187 */
4188 "required": boolean;
4189 /**
4190 * The tag's size.
4191 */
4192 "size": 'small' | 'medium' | 'large';
4193 }
4194 interface ScUpsell {
4195 }
4196 interface ScUpsellCountdownTimer {
4197 /**
4198 * Whether to show the icon.
4199 */
4200 "showIcon": boolean;
4201 }
4202 interface ScUpsellNoThanksButton {
4203 }
4204 interface ScUpsellSubmitButton {
4205 }
4206 interface ScUpsellTotals {
4207 }
4208 interface ScVisuallyHidden {
4209 }
4210 interface ScWordpressPasswordEdit {
4211 /**
4212 * Ensures strong password validation.
4213 */
4214 "enableValidation": boolean;
4215 "heading": string;
4216 "successUrl": string;
4217 "user": WordPressUser;
4218 }
4219 interface ScWordpressUser {
4220 "heading": string;
4221 "user": WordPressUser;
4222 }
4223 interface ScWordpressUserEdit {
4224 "heading": string;
4225 "successUrl": string;
4226 "user": WordPressUser;
4227 }
4228 }
4229 export interface ScAddressCustomEvent<T> extends CustomEvent<T> {
4230 detail: T;
4231 target: HTMLScAddressElement;
4232 }
4233 export interface ScAlertCustomEvent<T> extends CustomEvent<T> {
4234 detail: T;
4235 target: HTMLScAlertElement;
4236 }
4237 export interface ScButtonCustomEvent<T> extends CustomEvent<T> {
4238 detail: T;
4239 target: HTMLScButtonElement;
4240 }
4241 export interface ScCancelDialogCustomEvent<T> extends CustomEvent<T> {
4242 detail: T;
4243 target: HTMLScCancelDialogElement;
4244 }
4245 export interface ScCancelDiscountCustomEvent<T> extends CustomEvent<T> {
4246 detail: T;
4247 target: HTMLScCancelDiscountElement;
4248 }
4249 export interface ScCancelSurveyCustomEvent<T> extends CustomEvent<T> {
4250 detail: T;
4251 target: HTMLScCancelSurveyElement;
4252 }
4253 export interface ScCartHeaderCustomEvent<T> extends CustomEvent<T> {
4254 detail: T;
4255 target: HTMLScCartHeaderElement;
4256 }
4257 export interface ScCartSessionProviderCustomEvent<T> extends CustomEvent<T> {
4258 detail: T;
4259 target: HTMLScCartSessionProviderElement;
4260 }
4261 export interface ScCheckboxCustomEvent<T> extends CustomEvent<T> {
4262 detail: T;
4263 target: HTMLScCheckboxElement;
4264 }
4265 export interface ScCheckoutCustomEvent<T> extends CustomEvent<T> {
4266 detail: T;
4267 target: HTMLScCheckoutElement;
4268 }
4269 export interface ScCheckoutStockAlertCustomEvent<T> extends CustomEvent<T> {
4270 detail: T;
4271 target: HTMLScCheckoutStockAlertElement;
4272 }
4273 export interface ScCheckoutTestCompleteCustomEvent<T> extends CustomEvent<T> {
4274 detail: T;
4275 target: HTMLScCheckoutTestCompleteElement;
4276 }
4277 export interface ScChoiceCustomEvent<T> extends CustomEvent<T> {
4278 detail: T;
4279 target: HTMLScChoiceElement;
4280 }
4281 export interface ScChoiceContainerCustomEvent<T> extends CustomEvent<T> {
4282 detail: T;
4283 target: HTMLScChoiceContainerElement;
4284 }
4285 export interface ScCompactAddressCustomEvent<T> extends CustomEvent<T> {
4286 detail: T;
4287 target: HTMLScCompactAddressElement;
4288 }
4289 export interface ScConsumerCustomEvent<T> extends CustomEvent<T> {
4290 detail: T;
4291 target: HTMLScConsumerElement;
4292 }
4293 export interface ScCouponFormCustomEvent<T> extends CustomEvent<T> {
4294 detail: T;
4295 target: HTMLScCouponFormElement;
4296 }
4297 export interface ScCustomOrderPriceInputCustomEvent<T> extends CustomEvent<T> {
4298 detail: T;
4299 target: HTMLScCustomOrderPriceInputElement;
4300 }
4301 export interface ScCustomerEmailCustomEvent<T> extends CustomEvent<T> {
4302 detail: T;
4303 target: HTMLScCustomerEmailElement;
4304 }
4305 export interface ScCustomerFirstnameCustomEvent<T> extends CustomEvent<T> {
4306 detail: T;
4307 target: HTMLScCustomerFirstnameElement;
4308 }
4309 export interface ScCustomerLastnameCustomEvent<T> extends CustomEvent<T> {
4310 detail: T;
4311 target: HTMLScCustomerLastnameElement;
4312 }
4313 export interface ScCustomerNameCustomEvent<T> extends CustomEvent<T> {
4314 detail: T;
4315 target: HTMLScCustomerNameElement;
4316 }
4317 export interface ScCustomerPhoneCustomEvent<T> extends CustomEvent<T> {
4318 detail: T;
4319 target: HTMLScCustomerPhoneElement;
4320 }
4321 export interface ScDialogCustomEvent<T> extends CustomEvent<T> {
4322 detail: T;
4323 target: HTMLScDialogElement;
4324 }
4325 export interface ScDonationChoicesCustomEvent<T> extends CustomEvent<T> {
4326 detail: T;
4327 target: HTMLScDonationChoicesElement;
4328 }
4329 export interface ScDrawerCustomEvent<T> extends CustomEvent<T> {
4330 detail: T;
4331 target: HTMLScDrawerElement;
4332 }
4333 export interface ScDropdownCustomEvent<T> extends CustomEvent<T> {
4334 detail: T;
4335 target: HTMLScDropdownElement;
4336 }
4337 export interface ScErrorCustomEvent<T> extends CustomEvent<T> {
4338 detail: T;
4339 target: HTMLScErrorElement;
4340 }
4341 export interface ScFormCustomEvent<T> extends CustomEvent<T> {
4342 detail: T;
4343 target: HTMLScFormElement;
4344 }
4345 export interface ScFormStateProviderCustomEvent<T> extends CustomEvent<T> {
4346 detail: T;
4347 target: HTMLScFormStateProviderElement;
4348 }
4349 export interface ScIconCustomEvent<T> extends CustomEvent<T> {
4350 detail: T;
4351 target: HTMLScIconElement;
4352 }
4353 export interface ScInputCustomEvent<T> extends CustomEvent<T> {
4354 detail: T;
4355 target: HTMLScInputElement;
4356 }
4357 export interface ScLineItemsProviderCustomEvent<T> extends CustomEvent<T> {
4358 detail: T;
4359 target: HTMLScLineItemsProviderElement;
4360 }
4361 export interface ScLoginProviderCustomEvent<T> extends CustomEvent<T> {
4362 detail: T;
4363 target: HTMLScLoginProviderElement;
4364 }
4365 export interface ScMenuCustomEvent<T> extends CustomEvent<T> {
4366 detail: T;
4367 target: HTMLScMenuElement;
4368 }
4369 export interface ScOrderConfirmProviderCustomEvent<T> extends CustomEvent<T> {
4370 detail: T;
4371 target: HTMLScOrderConfirmProviderElement;
4372 }
4373 export interface ScOrderSummaryCustomEvent<T> extends CustomEvent<T> {
4374 detail: T;
4375 target: HTMLScOrderSummaryElement;
4376 }
4377 export interface ScPaginationCustomEvent<T> extends CustomEvent<T> {
4378 detail: T;
4379 target: HTMLScPaginationElement;
4380 }
4381 export interface ScPaypalButtonsCustomEvent<T> extends CustomEvent<T> {
4382 detail: T;
4383 target: HTMLScPaypalButtonsElement;
4384 }
4385 export interface ScPhoneInputCustomEvent<T> extends CustomEvent<T> {
4386 detail: T;
4387 target: HTMLScPhoneInputElement;
4388 }
4389 export interface ScPriceChoiceCustomEvent<T> extends CustomEvent<T> {
4390 detail: T;
4391 target: HTMLScPriceChoiceElement;
4392 }
4393 export interface ScPriceChoiceContainerCustomEvent<T> extends CustomEvent<T> {
4394 detail: T;
4395 target: HTMLScPriceChoiceContainerElement;
4396 }
4397 export interface ScPriceChoicesCustomEvent<T> extends CustomEvent<T> {
4398 detail: T;
4399 target: HTMLScPriceChoicesElement;
4400 }
4401 export interface ScPriceInputCustomEvent<T> extends CustomEvent<T> {
4402 detail: T;
4403 target: HTMLScPriceInputElement;
4404 }
4405 export interface ScProductItemListCustomEvent<T> extends CustomEvent<T> {
4406 detail: T;
4407 target: HTMLScProductItemListElement;
4408 }
4409 export interface ScProductLineItemCustomEvent<T> extends CustomEvent<T> {
4410 detail: T;
4411 target: HTMLScProductLineItemElement;
4412 }
4413 export interface ScProductSelectedPriceCustomEvent<T> extends CustomEvent<T> {
4414 detail: T;
4415 target: HTMLScProductSelectedPriceElement;
4416 }
4417 export interface ScProviderCustomEvent<T> extends CustomEvent<T> {
4418 detail: T;
4419 target: HTMLScProviderElement;
4420 }
4421 export interface ScQuantitySelectCustomEvent<T> extends CustomEvent<T> {
4422 detail: T;
4423 target: HTMLScQuantitySelectElement;
4424 }
4425 export interface ScRadioCustomEvent<T> extends CustomEvent<T> {
4426 detail: T;
4427 target: HTMLScRadioElement;
4428 }
4429 export interface ScRadioGroupCustomEvent<T> extends CustomEvent<T> {
4430 detail: T;
4431 target: HTMLScRadioGroupElement;
4432 }
4433 export interface ScRecurringPriceChoiceContainerCustomEvent<T> extends CustomEvent<T> {
4434 detail: T;
4435 target: HTMLScRecurringPriceChoiceContainerElement;
4436 }
4437 export interface ScRichTextCustomEvent<T> extends CustomEvent<T> {
4438 detail: T;
4439 target: HTMLScRichTextElement;
4440 }
4441 export interface ScSelectCustomEvent<T> extends CustomEvent<T> {
4442 detail: T;
4443 target: HTMLScSelectElement;
4444 }
4445 export interface ScSessionProviderCustomEvent<T> extends CustomEvent<T> {
4446 detail: T;
4447 target: HTMLScSessionProviderElement;
4448 }
4449 export interface ScStripeElementCustomEvent<T> extends CustomEvent<T> {
4450 detail: T;
4451 target: HTMLScStripeElementElement;
4452 }
4453 export interface ScStripePaymentElementCustomEvent<T> extends CustomEvent<T> {
4454 detail: T;
4455 target: HTMLScStripePaymentElementElement;
4456 }
4457 export interface ScStripePaymentRequestCustomEvent<T> extends CustomEvent<T> {
4458 detail: T;
4459 target: HTMLScStripePaymentRequestElement;
4460 }
4461 export interface ScSubscriptionCancelCustomEvent<T> extends CustomEvent<T> {
4462 detail: T;
4463 target: HTMLScSubscriptionCancelElement;
4464 }
4465 export interface ScSubscriptionReactivateCustomEvent<T> extends CustomEvent<T> {
4466 detail: T;
4467 target: HTMLScSubscriptionReactivateElement;
4468 }
4469 export interface ScSummaryCustomEvent<T> extends CustomEvent<T> {
4470 detail: T;
4471 target: HTMLScSummaryElement;
4472 }
4473 export interface ScSwitchCustomEvent<T> extends CustomEvent<T> {
4474 detail: T;
4475 target: HTMLScSwitchElement;
4476 }
4477 export interface ScTabCustomEvent<T> extends CustomEvent<T> {
4478 detail: T;
4479 target: HTMLScTabElement;
4480 }
4481 export interface ScTabGroupCustomEvent<T> extends CustomEvent<T> {
4482 detail: T;
4483 target: HTMLScTabGroupElement;
4484 }
4485 export interface ScTagCustomEvent<T> extends CustomEvent<T> {
4486 detail: T;
4487 target: HTMLScTagElement;
4488 }
4489 export interface ScTaxIdInputCustomEvent<T> extends CustomEvent<T> {
4490 detail: T;
4491 target: HTMLScTaxIdInputElement;
4492 }
4493 export interface ScTextareaCustomEvent<T> extends CustomEvent<T> {
4494 detail: T;
4495 target: HTMLScTextareaElement;
4496 }
4497 export interface ScToggleCustomEvent<T> extends CustomEvent<T> {
4498 detail: T;
4499 target: HTMLScToggleElement;
4500 }
4501 declare global {
4502 interface HTMLScAddressElementEventMap {
4503 "scChangeAddress": Partial<Address>;
4504 "scInputAddress": Partial<Address>;
4505 }
4506 interface HTMLScAddressElement extends Components.ScAddress, HTMLStencilElement {
4507 addEventListener<K extends keyof HTMLScAddressElementEventMap>(type: K, listener: (this: HTMLScAddressElement, ev: ScAddressCustomEvent<HTMLScAddressElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
4508 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
4509 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
4510 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
4511 removeEventListener<K extends keyof HTMLScAddressElementEventMap>(type: K, listener: (this: HTMLScAddressElement, ev: ScAddressCustomEvent<HTMLScAddressElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
4512 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
4513 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
4514 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
4515 }
4516 var HTMLScAddressElement: {
4517 prototype: HTMLScAddressElement;
4518 new (): HTMLScAddressElement;
4519 };
4520 interface HTMLScAlertElementEventMap {
4521 "scHide": void;
4522 "scShow": void;
4523 }
4524 interface HTMLScAlertElement extends Components.ScAlert, HTMLStencilElement {
4525 addEventListener<K extends keyof HTMLScAlertElementEventMap>(type: K, listener: (this: HTMLScAlertElement, ev: ScAlertCustomEvent<HTMLScAlertElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
4526 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
4527 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
4528 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
4529 removeEventListener<K extends keyof HTMLScAlertElementEventMap>(type: K, listener: (this: HTMLScAlertElement, ev: ScAlertCustomEvent<HTMLScAlertElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
4530 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
4531 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
4532 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
4533 }
4534 var HTMLScAlertElement: {
4535 prototype: HTMLScAlertElement;
4536 new (): HTMLScAlertElement;
4537 };
4538 interface HTMLScAvatarElement extends Components.ScAvatar, HTMLStencilElement {
4539 }
4540 var HTMLScAvatarElement: {
4541 prototype: HTMLScAvatarElement;
4542 new (): HTMLScAvatarElement;
4543 };
4544 interface HTMLScBadgeNoticeElement extends Components.ScBadgeNotice, HTMLStencilElement {
4545 }
4546 var HTMLScBadgeNoticeElement: {
4547 prototype: HTMLScBadgeNoticeElement;
4548 new (): HTMLScBadgeNoticeElement;
4549 };
4550 interface HTMLScBlockUiElement extends Components.ScBlockUi, HTMLStencilElement {
4551 }
4552 var HTMLScBlockUiElement: {
4553 prototype: HTMLScBlockUiElement;
4554 new (): HTMLScBlockUiElement;
4555 };
4556 interface HTMLScBreadcrumbElement extends Components.ScBreadcrumb, HTMLStencilElement {
4557 }
4558 var HTMLScBreadcrumbElement: {
4559 prototype: HTMLScBreadcrumbElement;
4560 new (): HTMLScBreadcrumbElement;
4561 };
4562 interface HTMLScBreadcrumbsElement extends Components.ScBreadcrumbs, HTMLStencilElement {
4563 }
4564 var HTMLScBreadcrumbsElement: {
4565 prototype: HTMLScBreadcrumbsElement;
4566 new (): HTMLScBreadcrumbsElement;
4567 };
4568 interface HTMLScButtonElementEventMap {
4569 "scBlur": void;
4570 "scFocus": void;
4571 }
4572 interface HTMLScButtonElement extends Components.ScButton, HTMLStencilElement {
4573 addEventListener<K extends keyof HTMLScButtonElementEventMap>(type: K, listener: (this: HTMLScButtonElement, ev: ScButtonCustomEvent<HTMLScButtonElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
4574 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
4575 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
4576 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
4577 removeEventListener<K extends keyof HTMLScButtonElementEventMap>(type: K, listener: (this: HTMLScButtonElement, ev: ScButtonCustomEvent<HTMLScButtonElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
4578 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
4579 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
4580 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
4581 }
4582 var HTMLScButtonElement: {
4583 prototype: HTMLScButtonElement;
4584 new (): HTMLScButtonElement;
4585 };
4586 interface HTMLScButtonGroupElement extends Components.ScButtonGroup, HTMLStencilElement {
4587 }
4588 var HTMLScButtonGroupElement: {
4589 prototype: HTMLScButtonGroupElement;
4590 new (): HTMLScButtonGroupElement;
4591 };
4592 interface HTMLScCancelDialogElementEventMap {
4593 "scRequestClose": 'close-button' | 'keyboard' | 'overlay';
4594 "scRefresh": void;
4595 }
4596 interface HTMLScCancelDialogElement extends Components.ScCancelDialog, HTMLStencilElement {
4597 addEventListener<K extends keyof HTMLScCancelDialogElementEventMap>(type: K, listener: (this: HTMLScCancelDialogElement, ev: ScCancelDialogCustomEvent<HTMLScCancelDialogElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
4598 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
4599 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
4600 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
4601 removeEventListener<K extends keyof HTMLScCancelDialogElementEventMap>(type: K, listener: (this: HTMLScCancelDialogElement, ev: ScCancelDialogCustomEvent<HTMLScCancelDialogElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
4602 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
4603 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
4604 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
4605 }
4606 var HTMLScCancelDialogElement: {
4607 prototype: HTMLScCancelDialogElement;
4608 new (): HTMLScCancelDialogElement;
4609 };
4610 interface HTMLScCancelDiscountElementEventMap {
4611 "scCancel": void;
4612 "scPreserved": void;
4613 }
4614 interface HTMLScCancelDiscountElement extends Components.ScCancelDiscount, HTMLStencilElement {
4615 addEventListener<K extends keyof HTMLScCancelDiscountElementEventMap>(type: K, listener: (this: HTMLScCancelDiscountElement, ev: ScCancelDiscountCustomEvent<HTMLScCancelDiscountElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
4616 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
4617 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
4618 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
4619 removeEventListener<K extends keyof HTMLScCancelDiscountElementEventMap>(type: K, listener: (this: HTMLScCancelDiscountElement, ev: ScCancelDiscountCustomEvent<HTMLScCancelDiscountElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
4620 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
4621 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
4622 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
4623 }
4624 var HTMLScCancelDiscountElement: {
4625 prototype: HTMLScCancelDiscountElement;
4626 new (): HTMLScCancelDiscountElement;
4627 };
4628 interface HTMLScCancelSurveyElementEventMap {
4629 "scAbandon": void;
4630 "scSubmitReason": { reason: CancellationReason; comment: string };
4631 }
4632 interface HTMLScCancelSurveyElement extends Components.ScCancelSurvey, HTMLStencilElement {
4633 addEventListener<K extends keyof HTMLScCancelSurveyElementEventMap>(type: K, listener: (this: HTMLScCancelSurveyElement, ev: ScCancelSurveyCustomEvent<HTMLScCancelSurveyElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
4634 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
4635 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
4636 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
4637 removeEventListener<K extends keyof HTMLScCancelSurveyElementEventMap>(type: K, listener: (this: HTMLScCancelSurveyElement, ev: ScCancelSurveyCustomEvent<HTMLScCancelSurveyElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
4638 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
4639 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
4640 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
4641 }
4642 var HTMLScCancelSurveyElement: {
4643 prototype: HTMLScCancelSurveyElement;
4644 new (): HTMLScCancelSurveyElement;
4645 };
4646 interface HTMLScCardElement extends Components.ScCard, HTMLStencilElement {
4647 }
4648 var HTMLScCardElement: {
4649 prototype: HTMLScCardElement;
4650 new (): HTMLScCardElement;
4651 };
4652 interface HTMLScCartElement extends Components.ScCart, HTMLStencilElement {
4653 }
4654 var HTMLScCartElement: {
4655 prototype: HTMLScCartElement;
4656 new (): HTMLScCartElement;
4657 };
4658 interface HTMLScCartButtonElement extends Components.ScCartButton, HTMLStencilElement {
4659 }
4660 var HTMLScCartButtonElement: {
4661 prototype: HTMLScCartButtonElement;
4662 new (): HTMLScCartButtonElement;
4663 };
4664 interface HTMLScCartFormElement extends Components.ScCartForm, HTMLStencilElement {
4665 }
4666 var HTMLScCartFormElement: {
4667 prototype: HTMLScCartFormElement;
4668 new (): HTMLScCartFormElement;
4669 };
4670 interface HTMLScCartFormSubmitElement extends Components.ScCartFormSubmit, HTMLStencilElement {
4671 }
4672 var HTMLScCartFormSubmitElement: {
4673 prototype: HTMLScCartFormSubmitElement;
4674 new (): HTMLScCartFormSubmitElement;
4675 };
4676 interface HTMLScCartHeaderElementEventMap {
4677 "scCloseCart": void;
4678 }
4679 interface HTMLScCartHeaderElement extends Components.ScCartHeader, HTMLStencilElement {
4680 addEventListener<K extends keyof HTMLScCartHeaderElementEventMap>(type: K, listener: (this: HTMLScCartHeaderElement, ev: ScCartHeaderCustomEvent<HTMLScCartHeaderElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
4681 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
4682 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
4683 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
4684 removeEventListener<K extends keyof HTMLScCartHeaderElementEventMap>(type: K, listener: (this: HTMLScCartHeaderElement, ev: ScCartHeaderCustomEvent<HTMLScCartHeaderElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
4685 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
4686 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
4687 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
4688 }
4689 var HTMLScCartHeaderElement: {
4690 prototype: HTMLScCartHeaderElement;
4691 new (): HTMLScCartHeaderElement;
4692 };
4693 interface HTMLScCartIconElement extends Components.ScCartIcon, HTMLStencilElement {
4694 }
4695 var HTMLScCartIconElement: {
4696 prototype: HTMLScCartIconElement;
4697 new (): HTMLScCartIconElement;
4698 };
4699 interface HTMLScCartLoaderElement extends Components.ScCartLoader, HTMLStencilElement {
4700 }
4701 var HTMLScCartLoaderElement: {
4702 prototype: HTMLScCartLoaderElement;
4703 new (): HTMLScCartLoaderElement;
4704 };
4705 interface HTMLScCartSessionProviderElementEventMap {
4706 "scSetState": 'loading' | 'busy' | 'navigating' | 'idle';
4707 }
4708 interface HTMLScCartSessionProviderElement extends Components.ScCartSessionProvider, HTMLStencilElement {
4709 addEventListener<K extends keyof HTMLScCartSessionProviderElementEventMap>(type: K, listener: (this: HTMLScCartSessionProviderElement, ev: ScCartSessionProviderCustomEvent<HTMLScCartSessionProviderElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
4710 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
4711 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
4712 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
4713 removeEventListener<K extends keyof HTMLScCartSessionProviderElementEventMap>(type: K, listener: (this: HTMLScCartSessionProviderElement, ev: ScCartSessionProviderCustomEvent<HTMLScCartSessionProviderElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
4714 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
4715 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
4716 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
4717 }
4718 var HTMLScCartSessionProviderElement: {
4719 prototype: HTMLScCartSessionProviderElement;
4720 new (): HTMLScCartSessionProviderElement;
4721 };
4722 interface HTMLScCartSubmitElement extends Components.ScCartSubmit, HTMLStencilElement {
4723 }
4724 var HTMLScCartSubmitElement: {
4725 prototype: HTMLScCartSubmitElement;
4726 new (): HTMLScCartSubmitElement;
4727 };
4728 interface HTMLScCcLogoElement extends Components.ScCcLogo, HTMLStencilElement {
4729 }
4730 var HTMLScCcLogoElement: {
4731 prototype: HTMLScCcLogoElement;
4732 new (): HTMLScCcLogoElement;
4733 };
4734 interface HTMLScChargesListElement extends Components.ScChargesList, HTMLStencilElement {
4735 }
4736 var HTMLScChargesListElement: {
4737 prototype: HTMLScChargesListElement;
4738 new (): HTMLScChargesListElement;
4739 };
4740 interface HTMLScCheckboxElementEventMap {
4741 "scBlur": void;
4742 "scChange": void;
4743 "scFocus": void;
4744 }
4745 interface HTMLScCheckboxElement extends Components.ScCheckbox, HTMLStencilElement {
4746 addEventListener<K extends keyof HTMLScCheckboxElementEventMap>(type: K, listener: (this: HTMLScCheckboxElement, ev: ScCheckboxCustomEvent<HTMLScCheckboxElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
4747 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
4748 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
4749 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
4750 removeEventListener<K extends keyof HTMLScCheckboxElementEventMap>(type: K, listener: (this: HTMLScCheckboxElement, ev: ScCheckboxCustomEvent<HTMLScCheckboxElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
4751 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
4752 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
4753 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
4754 }
4755 var HTMLScCheckboxElement: {
4756 prototype: HTMLScCheckboxElement;
4757 new (): HTMLScCheckboxElement;
4758 };
4759 interface HTMLScCheckoutElementEventMap {
4760 "scOrderUpdated": Checkout;
4761 "scOrderFinalized": Checkout;
4762 "scOrderError": ResponseError;
4763 }
4764 interface HTMLScCheckoutElement extends Components.ScCheckout, HTMLStencilElement {
4765 addEventListener<K extends keyof HTMLScCheckoutElementEventMap>(type: K, listener: (this: HTMLScCheckoutElement, ev: ScCheckoutCustomEvent<HTMLScCheckoutElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
4766 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
4767 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
4768 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
4769 removeEventListener<K extends keyof HTMLScCheckoutElementEventMap>(type: K, listener: (this: HTMLScCheckoutElement, ev: ScCheckoutCustomEvent<HTMLScCheckoutElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
4770 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
4771 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
4772 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
4773 }
4774 var HTMLScCheckoutElement: {
4775 prototype: HTMLScCheckoutElement;
4776 new (): HTMLScCheckoutElement;
4777 };
4778 /**
4779 * This component listens for a confirmed event and redirects to the success url.
4780 */
4781 interface HTMLScCheckoutFormErrorsElement extends Components.ScCheckoutFormErrors, HTMLStencilElement {
4782 }
4783 var HTMLScCheckoutFormErrorsElement: {
4784 prototype: HTMLScCheckoutFormErrorsElement;
4785 new (): HTMLScCheckoutFormErrorsElement;
4786 };
4787 interface HTMLScCheckoutMolliePaymentElement extends Components.ScCheckoutMolliePayment, HTMLStencilElement {
4788 }
4789 var HTMLScCheckoutMolliePaymentElement: {
4790 prototype: HTMLScCheckoutMolliePaymentElement;
4791 new (): HTMLScCheckoutMolliePaymentElement;
4792 };
4793 interface HTMLScCheckoutPaystackPaymentProviderElement extends Components.ScCheckoutPaystackPaymentProvider, HTMLStencilElement {
4794 }
4795 var HTMLScCheckoutPaystackPaymentProviderElement: {
4796 prototype: HTMLScCheckoutPaystackPaymentProviderElement;
4797 new (): HTMLScCheckoutPaystackPaymentProviderElement;
4798 };
4799 interface HTMLScCheckoutProductPriceVariantSelectorElement extends Components.ScCheckoutProductPriceVariantSelector, HTMLStencilElement {
4800 }
4801 var HTMLScCheckoutProductPriceVariantSelectorElement: {
4802 prototype: HTMLScCheckoutProductPriceVariantSelectorElement;
4803 new (): HTMLScCheckoutProductPriceVariantSelectorElement;
4804 };
4805 interface HTMLScCheckoutStockAlertElementEventMap {
4806 "scUpdateLineItem": LineItemData;
4807 }
4808 /**
4809 * This component listens for stock requirements and displays a dialog to the user.
4810 */
4811 interface HTMLScCheckoutStockAlertElement extends Components.ScCheckoutStockAlert, HTMLStencilElement {
4812 addEventListener<K extends keyof HTMLScCheckoutStockAlertElementEventMap>(type: K, listener: (this: HTMLScCheckoutStockAlertElement, ev: ScCheckoutStockAlertCustomEvent<HTMLScCheckoutStockAlertElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
4813 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
4814 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
4815 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
4816 removeEventListener<K extends keyof HTMLScCheckoutStockAlertElementEventMap>(type: K, listener: (this: HTMLScCheckoutStockAlertElement, ev: ScCheckoutStockAlertCustomEvent<HTMLScCheckoutStockAlertElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
4817 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
4818 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
4819 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
4820 }
4821 var HTMLScCheckoutStockAlertElement: {
4822 prototype: HTMLScCheckoutStockAlertElement;
4823 new (): HTMLScCheckoutStockAlertElement;
4824 };
4825 interface HTMLScCheckoutTestCompleteElementEventMap {
4826 "scOrderPaid": Checkout;
4827 "scSetState": string;
4828 }
4829 /**
4830 * This component listens to the order status
4831 * and confirms the order when payment is successful.
4832 */
4833 interface HTMLScCheckoutTestCompleteElement extends Components.ScCheckoutTestComplete, HTMLStencilElement {
4834 addEventListener<K extends keyof HTMLScCheckoutTestCompleteElementEventMap>(type: K, listener: (this: HTMLScCheckoutTestCompleteElement, ev: ScCheckoutTestCompleteCustomEvent<HTMLScCheckoutTestCompleteElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
4835 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
4836 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
4837 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
4838 removeEventListener<K extends keyof HTMLScCheckoutTestCompleteElementEventMap>(type: K, listener: (this: HTMLScCheckoutTestCompleteElement, ev: ScCheckoutTestCompleteCustomEvent<HTMLScCheckoutTestCompleteElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
4839 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
4840 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
4841 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
4842 }
4843 var HTMLScCheckoutTestCompleteElement: {
4844 prototype: HTMLScCheckoutTestCompleteElement;
4845 new (): HTMLScCheckoutTestCompleteElement;
4846 };
4847 interface HTMLScCheckoutUnsavedChangesWarningElement extends Components.ScCheckoutUnsavedChangesWarning, HTMLStencilElement {
4848 }
4849 var HTMLScCheckoutUnsavedChangesWarningElement: {
4850 prototype: HTMLScCheckoutUnsavedChangesWarningElement;
4851 new (): HTMLScCheckoutUnsavedChangesWarningElement;
4852 };
4853 interface HTMLScChoiceElementEventMap {
4854 "scBlur": void;
4855 "scChange": boolean;
4856 "scFocus": void;
4857 }
4858 interface HTMLScChoiceElement extends Components.ScChoice, HTMLStencilElement {
4859 addEventListener<K extends keyof HTMLScChoiceElementEventMap>(type: K, listener: (this: HTMLScChoiceElement, ev: ScChoiceCustomEvent<HTMLScChoiceElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
4860 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
4861 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
4862 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
4863 removeEventListener<K extends keyof HTMLScChoiceElementEventMap>(type: K, listener: (this: HTMLScChoiceElement, ev: ScChoiceCustomEvent<HTMLScChoiceElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
4864 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
4865 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
4866 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
4867 }
4868 var HTMLScChoiceElement: {
4869 prototype: HTMLScChoiceElement;
4870 new (): HTMLScChoiceElement;
4871 };
4872 interface HTMLScChoiceContainerElementEventMap {
4873 "scBlur": void;
4874 "scChange": boolean;
4875 "scFocus": void;
4876 }
4877 interface HTMLScChoiceContainerElement extends Components.ScChoiceContainer, HTMLStencilElement {
4878 addEventListener<K extends keyof HTMLScChoiceContainerElementEventMap>(type: K, listener: (this: HTMLScChoiceContainerElement, ev: ScChoiceContainerCustomEvent<HTMLScChoiceContainerElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
4879 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
4880 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
4881 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
4882 removeEventListener<K extends keyof HTMLScChoiceContainerElementEventMap>(type: K, listener: (this: HTMLScChoiceContainerElement, ev: ScChoiceContainerCustomEvent<HTMLScChoiceContainerElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
4883 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
4884 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
4885 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
4886 }
4887 var HTMLScChoiceContainerElement: {
4888 prototype: HTMLScChoiceContainerElement;
4889 new (): HTMLScChoiceContainerElement;
4890 };
4891 interface HTMLScChoicesElement extends Components.ScChoices, HTMLStencilElement {
4892 }
4893 var HTMLScChoicesElement: {
4894 prototype: HTMLScChoicesElement;
4895 new (): HTMLScChoicesElement;
4896 };
4897 interface HTMLScColumnElement extends Components.ScColumn, HTMLStencilElement {
4898 }
4899 var HTMLScColumnElement: {
4900 prototype: HTMLScColumnElement;
4901 new (): HTMLScColumnElement;
4902 };
4903 interface HTMLScColumnsElement extends Components.ScColumns, HTMLStencilElement {
4904 }
4905 var HTMLScColumnsElement: {
4906 prototype: HTMLScColumnsElement;
4907 new (): HTMLScColumnsElement;
4908 };
4909 interface HTMLScCompactAddressElementEventMap {
4910 "scChangeAddress": Partial<Address>;
4911 "scInputAddress": Partial<Address>;
4912 }
4913 interface HTMLScCompactAddressElement extends Components.ScCompactAddress, HTMLStencilElement {
4914 addEventListener<K extends keyof HTMLScCompactAddressElementEventMap>(type: K, listener: (this: HTMLScCompactAddressElement, ev: ScCompactAddressCustomEvent<HTMLScCompactAddressElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
4915 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
4916 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
4917 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
4918 removeEventListener<K extends keyof HTMLScCompactAddressElementEventMap>(type: K, listener: (this: HTMLScCompactAddressElement, ev: ScCompactAddressCustomEvent<HTMLScCompactAddressElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
4919 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
4920 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
4921 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
4922 }
4923 var HTMLScCompactAddressElement: {
4924 prototype: HTMLScCompactAddressElement;
4925 new (): HTMLScCompactAddressElement;
4926 };
4927 interface HTMLScConditionalFormElement extends Components.ScConditionalForm, HTMLStencilElement {
4928 }
4929 var HTMLScConditionalFormElement: {
4930 prototype: HTMLScConditionalFormElement;
4931 new (): HTMLScConditionalFormElement;
4932 };
4933 interface HTMLScConsumerElementEventMap {
4934 "mountConsumer": any;
4935 }
4936 interface HTMLScConsumerElement extends Components.ScConsumer, HTMLStencilElement {
4937 addEventListener<K extends keyof HTMLScConsumerElementEventMap>(type: K, listener: (this: HTMLScConsumerElement, ev: ScConsumerCustomEvent<HTMLScConsumerElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
4938 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
4939 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
4940 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
4941 removeEventListener<K extends keyof HTMLScConsumerElementEventMap>(type: K, listener: (this: HTMLScConsumerElement, ev: ScConsumerCustomEvent<HTMLScConsumerElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
4942 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
4943 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
4944 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
4945 }
4946 var HTMLScConsumerElement: {
4947 prototype: HTMLScConsumerElement;
4948 new (): HTMLScConsumerElement;
4949 };
4950 interface HTMLScCouponFormElementEventMap {
4951 "scApplyCoupon": string;
4952 }
4953 interface HTMLScCouponFormElement extends Components.ScCouponForm, HTMLStencilElement {
4954 addEventListener<K extends keyof HTMLScCouponFormElementEventMap>(type: K, listener: (this: HTMLScCouponFormElement, ev: ScCouponFormCustomEvent<HTMLScCouponFormElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
4955 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
4956 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
4957 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
4958 removeEventListener<K extends keyof HTMLScCouponFormElementEventMap>(type: K, listener: (this: HTMLScCouponFormElement, ev: ScCouponFormCustomEvent<HTMLScCouponFormElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
4959 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
4960 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
4961 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
4962 }
4963 var HTMLScCouponFormElement: {
4964 prototype: HTMLScCouponFormElement;
4965 new (): HTMLScCouponFormElement;
4966 };
4967 interface HTMLScCustomOrderPriceInputElementEventMap {
4968 "scUpdateLineItem": LineItemData1;
4969 }
4970 interface HTMLScCustomOrderPriceInputElement extends Components.ScCustomOrderPriceInput, HTMLStencilElement {
4971 addEventListener<K extends keyof HTMLScCustomOrderPriceInputElementEventMap>(type: K, listener: (this: HTMLScCustomOrderPriceInputElement, ev: ScCustomOrderPriceInputCustomEvent<HTMLScCustomOrderPriceInputElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
4972 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
4973 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
4974 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
4975 removeEventListener<K extends keyof HTMLScCustomOrderPriceInputElementEventMap>(type: K, listener: (this: HTMLScCustomOrderPriceInputElement, ev: ScCustomOrderPriceInputCustomEvent<HTMLScCustomOrderPriceInputElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
4976 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
4977 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
4978 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
4979 }
4980 var HTMLScCustomOrderPriceInputElement: {
4981 prototype: HTMLScCustomOrderPriceInputElement;
4982 new (): HTMLScCustomOrderPriceInputElement;
4983 };
4984 interface HTMLScCustomerDetailsElement extends Components.ScCustomerDetails, HTMLStencilElement {
4985 }
4986 var HTMLScCustomerDetailsElement: {
4987 prototype: HTMLScCustomerDetailsElement;
4988 new (): HTMLScCustomerDetailsElement;
4989 };
4990 interface HTMLScCustomerEditElement extends Components.ScCustomerEdit, HTMLStencilElement {
4991 }
4992 var HTMLScCustomerEditElement: {
4993 prototype: HTMLScCustomerEditElement;
4994 new (): HTMLScCustomerEditElement;
4995 };
4996 interface HTMLScCustomerEmailElementEventMap {
4997 "scChange": void;
4998 "scClear": void;
4999 "scInput": void;
5000 "scFocus": void;
5001 "scBlur": void;
5002 "scUpdateOrderState": Checkout;
5003 "scUpdateAbandonedCart": boolean;
5004 "scLoginPrompt": void;
5005 }
5006 interface HTMLScCustomerEmailElement extends Components.ScCustomerEmail, HTMLStencilElement {
5007 addEventListener<K extends keyof HTMLScCustomerEmailElementEventMap>(type: K, listener: (this: HTMLScCustomerEmailElement, ev: ScCustomerEmailCustomEvent<HTMLScCustomerEmailElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
5008 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5009 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5010 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
5011 removeEventListener<K extends keyof HTMLScCustomerEmailElementEventMap>(type: K, listener: (this: HTMLScCustomerEmailElement, ev: ScCustomerEmailCustomEvent<HTMLScCustomerEmailElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
5012 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5013 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5014 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
5015 }
5016 var HTMLScCustomerEmailElement: {
5017 prototype: HTMLScCustomerEmailElement;
5018 new (): HTMLScCustomerEmailElement;
5019 };
5020 interface HTMLScCustomerFirstnameElementEventMap {
5021 "scChange": void;
5022 "scUpdateOrderState": Partial<Checkout>;
5023 "scClear": void;
5024 "scInput": void;
5025 "scFocus": void;
5026 "scBlur": void;
5027 "scUpdateCustomer": { email: string };
5028 }
5029 interface HTMLScCustomerFirstnameElement extends Components.ScCustomerFirstname, HTMLStencilElement {
5030 addEventListener<K extends keyof HTMLScCustomerFirstnameElementEventMap>(type: K, listener: (this: HTMLScCustomerFirstnameElement, ev: ScCustomerFirstnameCustomEvent<HTMLScCustomerFirstnameElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
5031 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5032 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5033 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
5034 removeEventListener<K extends keyof HTMLScCustomerFirstnameElementEventMap>(type: K, listener: (this: HTMLScCustomerFirstnameElement, ev: ScCustomerFirstnameCustomEvent<HTMLScCustomerFirstnameElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
5035 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5036 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5037 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
5038 }
5039 var HTMLScCustomerFirstnameElement: {
5040 prototype: HTMLScCustomerFirstnameElement;
5041 new (): HTMLScCustomerFirstnameElement;
5042 };
5043 interface HTMLScCustomerLastnameElementEventMap {
5044 "scInput": void;
5045 "scFocus": void;
5046 "scBlur": void;
5047 }
5048 interface HTMLScCustomerLastnameElement extends Components.ScCustomerLastname, HTMLStencilElement {
5049 addEventListener<K extends keyof HTMLScCustomerLastnameElementEventMap>(type: K, listener: (this: HTMLScCustomerLastnameElement, ev: ScCustomerLastnameCustomEvent<HTMLScCustomerLastnameElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
5050 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5051 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5052 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
5053 removeEventListener<K extends keyof HTMLScCustomerLastnameElementEventMap>(type: K, listener: (this: HTMLScCustomerLastnameElement, ev: ScCustomerLastnameCustomEvent<HTMLScCustomerLastnameElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
5054 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5055 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5056 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
5057 }
5058 var HTMLScCustomerLastnameElement: {
5059 prototype: HTMLScCustomerLastnameElement;
5060 new (): HTMLScCustomerLastnameElement;
5061 };
5062 interface HTMLScCustomerNameElementEventMap {
5063 "scInput": void;
5064 "scFocus": void;
5065 "scBlur": void;
5066 }
5067 interface HTMLScCustomerNameElement extends Components.ScCustomerName, HTMLStencilElement {
5068 addEventListener<K extends keyof HTMLScCustomerNameElementEventMap>(type: K, listener: (this: HTMLScCustomerNameElement, ev: ScCustomerNameCustomEvent<HTMLScCustomerNameElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
5069 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5070 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5071 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
5072 removeEventListener<K extends keyof HTMLScCustomerNameElementEventMap>(type: K, listener: (this: HTMLScCustomerNameElement, ev: ScCustomerNameCustomEvent<HTMLScCustomerNameElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
5073 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5074 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5075 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
5076 }
5077 var HTMLScCustomerNameElement: {
5078 prototype: HTMLScCustomerNameElement;
5079 new (): HTMLScCustomerNameElement;
5080 };
5081 interface HTMLScCustomerPhoneElementEventMap {
5082 "scChange": void;
5083 "scClear": void;
5084 "scInput": void;
5085 "scFocus": void;
5086 "scBlur": void;
5087 }
5088 interface HTMLScCustomerPhoneElement extends Components.ScCustomerPhone, HTMLStencilElement {
5089 addEventListener<K extends keyof HTMLScCustomerPhoneElementEventMap>(type: K, listener: (this: HTMLScCustomerPhoneElement, ev: ScCustomerPhoneCustomEvent<HTMLScCustomerPhoneElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
5090 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5091 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5092 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
5093 removeEventListener<K extends keyof HTMLScCustomerPhoneElementEventMap>(type: K, listener: (this: HTMLScCustomerPhoneElement, ev: ScCustomerPhoneCustomEvent<HTMLScCustomerPhoneElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
5094 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5095 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5096 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
5097 }
5098 var HTMLScCustomerPhoneElement: {
5099 prototype: HTMLScCustomerPhoneElement;
5100 new (): HTMLScCustomerPhoneElement;
5101 };
5102 interface HTMLScDashboardCustomerDetailsElement extends Components.ScDashboardCustomerDetails, HTMLStencilElement {
5103 }
5104 var HTMLScDashboardCustomerDetailsElement: {
5105 prototype: HTMLScDashboardCustomerDetailsElement;
5106 new (): HTMLScDashboardCustomerDetailsElement;
5107 };
5108 interface HTMLScDashboardDownloadsListElement extends Components.ScDashboardDownloadsList, HTMLStencilElement {
5109 }
5110 var HTMLScDashboardDownloadsListElement: {
5111 prototype: HTMLScDashboardDownloadsListElement;
5112 new (): HTMLScDashboardDownloadsListElement;
5113 };
5114 interface HTMLScDashboardModuleElement extends Components.ScDashboardModule, HTMLStencilElement {
5115 }
5116 var HTMLScDashboardModuleElement: {
5117 prototype: HTMLScDashboardModuleElement;
5118 new (): HTMLScDashboardModuleElement;
5119 };
5120 interface HTMLScDialogElementEventMap {
5121 "scRequestClose": 'close-button' | 'keyboard' | 'overlay';
5122 "scShow": void;
5123 "scAfterShow": void;
5124 "scHide": void;
5125 "scAfterHide": void;
5126 "scInitialFocus": void;
5127 }
5128 interface HTMLScDialogElement extends Components.ScDialog, HTMLStencilElement {
5129 addEventListener<K extends keyof HTMLScDialogElementEventMap>(type: K, listener: (this: HTMLScDialogElement, ev: ScDialogCustomEvent<HTMLScDialogElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
5130 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5131 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5132 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
5133 removeEventListener<K extends keyof HTMLScDialogElementEventMap>(type: K, listener: (this: HTMLScDialogElement, ev: ScDialogCustomEvent<HTMLScDialogElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
5134 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5135 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5136 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
5137 }
5138 var HTMLScDialogElement: {
5139 prototype: HTMLScDialogElement;
5140 new (): HTMLScDialogElement;
5141 };
5142 interface HTMLScDividerElement extends Components.ScDivider, HTMLStencilElement {
5143 }
5144 var HTMLScDividerElement: {
5145 prototype: HTMLScDividerElement;
5146 new (): HTMLScDividerElement;
5147 };
5148 interface HTMLScDonationChoicesElementEventMap {
5149 "scRemoveLineItem": LineItemData1;
5150 "scUpdateLineItem": LineItemData1;
5151 "scAddLineItem": LineItemData1;
5152 }
5153 interface HTMLScDonationChoicesElement extends Components.ScDonationChoices, HTMLStencilElement {
5154 addEventListener<K extends keyof HTMLScDonationChoicesElementEventMap>(type: K, listener: (this: HTMLScDonationChoicesElement, ev: ScDonationChoicesCustomEvent<HTMLScDonationChoicesElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
5155 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5156 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5157 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
5158 removeEventListener<K extends keyof HTMLScDonationChoicesElementEventMap>(type: K, listener: (this: HTMLScDonationChoicesElement, ev: ScDonationChoicesCustomEvent<HTMLScDonationChoicesElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
5159 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5160 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5161 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
5162 }
5163 var HTMLScDonationChoicesElement: {
5164 prototype: HTMLScDonationChoicesElement;
5165 new (): HTMLScDonationChoicesElement;
5166 };
5167 interface HTMLScDownloadsListElement extends Components.ScDownloadsList, HTMLStencilElement {
5168 }
5169 var HTMLScDownloadsListElement: {
5170 prototype: HTMLScDownloadsListElement;
5171 new (): HTMLScDownloadsListElement;
5172 };
5173 interface HTMLScDrawerElementEventMap {
5174 "scInitialFocus": void;
5175 "scRequestClose": 'close-button' | 'keyboard' | 'overlay' | 'method';
5176 "scShow": void;
5177 "scHide": void;
5178 "scAfterShow": void;
5179 "scAfterHide": void;
5180 }
5181 interface HTMLScDrawerElement extends Components.ScDrawer, HTMLStencilElement {
5182 addEventListener<K extends keyof HTMLScDrawerElementEventMap>(type: K, listener: (this: HTMLScDrawerElement, ev: ScDrawerCustomEvent<HTMLScDrawerElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
5183 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5184 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5185 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
5186 removeEventListener<K extends keyof HTMLScDrawerElementEventMap>(type: K, listener: (this: HTMLScDrawerElement, ev: ScDrawerCustomEvent<HTMLScDrawerElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
5187 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5188 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5189 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
5190 }
5191 var HTMLScDrawerElement: {
5192 prototype: HTMLScDrawerElement;
5193 new (): HTMLScDrawerElement;
5194 };
5195 interface HTMLScDropdownElementEventMap {
5196 "scShow": void;
5197 "scHide": void;
5198 }
5199 interface HTMLScDropdownElement extends Components.ScDropdown, HTMLStencilElement {
5200 addEventListener<K extends keyof HTMLScDropdownElementEventMap>(type: K, listener: (this: HTMLScDropdownElement, ev: ScDropdownCustomEvent<HTMLScDropdownElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
5201 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5202 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5203 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
5204 removeEventListener<K extends keyof HTMLScDropdownElementEventMap>(type: K, listener: (this: HTMLScDropdownElement, ev: ScDropdownCustomEvent<HTMLScDropdownElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
5205 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5206 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5207 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
5208 }
5209 var HTMLScDropdownElement: {
5210 prototype: HTMLScDropdownElement;
5211 new (): HTMLScDropdownElement;
5212 };
5213 interface HTMLScEmptyElement extends Components.ScEmpty, HTMLStencilElement {
5214 }
5215 var HTMLScEmptyElement: {
5216 prototype: HTMLScEmptyElement;
5217 new (): HTMLScEmptyElement;
5218 };
5219 interface HTMLScErrorElementEventMap {
5220 "scUpdateError": ResponseError;
5221 }
5222 interface HTMLScErrorElement extends Components.ScError, HTMLStencilElement {
5223 addEventListener<K extends keyof HTMLScErrorElementEventMap>(type: K, listener: (this: HTMLScErrorElement, ev: ScErrorCustomEvent<HTMLScErrorElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
5224 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5225 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5226 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
5227 removeEventListener<K extends keyof HTMLScErrorElementEventMap>(type: K, listener: (this: HTMLScErrorElement, ev: ScErrorCustomEvent<HTMLScErrorElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
5228 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5229 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5230 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
5231 }
5232 var HTMLScErrorElement: {
5233 prototype: HTMLScErrorElement;
5234 new (): HTMLScErrorElement;
5235 };
5236 interface HTMLScExpressPaymentElement extends Components.ScExpressPayment, HTMLStencilElement {
5237 }
5238 var HTMLScExpressPaymentElement: {
5239 prototype: HTMLScExpressPaymentElement;
5240 new (): HTMLScExpressPaymentElement;
5241 };
5242 interface HTMLScFeatureDemoBannerElement extends Components.ScFeatureDemoBanner, HTMLStencilElement {
5243 }
5244 var HTMLScFeatureDemoBannerElement: {
5245 prototype: HTMLScFeatureDemoBannerElement;
5246 new (): HTMLScFeatureDemoBannerElement;
5247 };
5248 interface HTMLScFlexElement extends Components.ScFlex, HTMLStencilElement {
5249 }
5250 var HTMLScFlexElement: {
5251 prototype: HTMLScFlexElement;
5252 new (): HTMLScFlexElement;
5253 };
5254 interface HTMLScFormElementEventMap {
5255 "scSubmit": void;
5256 "scFormSubmit": void;
5257 "scFormChange": Object;
5258 }
5259 interface HTMLScFormElement extends Components.ScForm, HTMLStencilElement {
5260 addEventListener<K extends keyof HTMLScFormElementEventMap>(type: K, listener: (this: HTMLScFormElement, ev: ScFormCustomEvent<HTMLScFormElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
5261 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5262 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5263 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
5264 removeEventListener<K extends keyof HTMLScFormElementEventMap>(type: K, listener: (this: HTMLScFormElement, ev: ScFormCustomEvent<HTMLScFormElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
5265 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5266 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5267 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
5268 }
5269 var HTMLScFormElement: {
5270 prototype: HTMLScFormElement;
5271 new (): HTMLScFormElement;
5272 };
5273 interface HTMLScFormComponentsValidatorElement extends Components.ScFormComponentsValidator, HTMLStencilElement {
5274 }
5275 var HTMLScFormComponentsValidatorElement: {
5276 prototype: HTMLScFormComponentsValidatorElement;
5277 new (): HTMLScFormComponentsValidatorElement;
5278 };
5279 interface HTMLScFormControlElement extends Components.ScFormControl, HTMLStencilElement {
5280 }
5281 var HTMLScFormControlElement: {
5282 prototype: HTMLScFormControlElement;
5283 new (): HTMLScFormControlElement;
5284 };
5285 /**
5286 * This component checks to make sure there is an error component
5287 * and adds one if it's missing.
5288 */
5289 interface HTMLScFormErrorProviderElement extends Components.ScFormErrorProvider, HTMLStencilElement {
5290 }
5291 var HTMLScFormErrorProviderElement: {
5292 prototype: HTMLScFormErrorProviderElement;
5293 new (): HTMLScFormErrorProviderElement;
5294 };
5295 interface HTMLScFormRowElement extends Components.ScFormRow, HTMLStencilElement {
5296 }
5297 var HTMLScFormRowElement: {
5298 prototype: HTMLScFormRowElement;
5299 new (): HTMLScFormRowElement;
5300 };
5301 interface HTMLScFormStateProviderElementEventMap {
5302 "scSetCheckoutFormState": FormState;
5303 }
5304 /**
5305 * This component listens for a confirmed event and redirects to the success url.
5306 */
5307 interface HTMLScFormStateProviderElement extends Components.ScFormStateProvider, HTMLStencilElement {
5308 addEventListener<K extends keyof HTMLScFormStateProviderElementEventMap>(type: K, listener: (this: HTMLScFormStateProviderElement, ev: ScFormStateProviderCustomEvent<HTMLScFormStateProviderElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
5309 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5310 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5311 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
5312 removeEventListener<K extends keyof HTMLScFormStateProviderElementEventMap>(type: K, listener: (this: HTMLScFormStateProviderElement, ev: ScFormStateProviderCustomEvent<HTMLScFormStateProviderElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
5313 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5314 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5315 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
5316 }
5317 var HTMLScFormStateProviderElement: {
5318 prototype: HTMLScFormStateProviderElement;
5319 new (): HTMLScFormStateProviderElement;
5320 };
5321 interface HTMLScFormatBytesElement extends Components.ScFormatBytes, HTMLStencilElement {
5322 }
5323 var HTMLScFormatBytesElement: {
5324 prototype: HTMLScFormatBytesElement;
5325 new (): HTMLScFormatBytesElement;
5326 };
5327 interface HTMLScFormatDateElement extends Components.ScFormatDate, HTMLStencilElement {
5328 }
5329 var HTMLScFormatDateElement: {
5330 prototype: HTMLScFormatDateElement;
5331 new (): HTMLScFormatDateElement;
5332 };
5333 interface HTMLScFormatIntervalElement extends Components.ScFormatInterval, HTMLStencilElement {
5334 }
5335 var HTMLScFormatIntervalElement: {
5336 prototype: HTMLScFormatIntervalElement;
5337 new (): HTMLScFormatIntervalElement;
5338 };
5339 interface HTMLScFormatNumberElement extends Components.ScFormatNumber, HTMLStencilElement {
5340 }
5341 var HTMLScFormatNumberElement: {
5342 prototype: HTMLScFormatNumberElement;
5343 new (): HTMLScFormatNumberElement;
5344 };
5345 interface HTMLScFulfillmentShippingStatusBadgeElement extends Components.ScFulfillmentShippingStatusBadge, HTMLStencilElement {
5346 }
5347 var HTMLScFulfillmentShippingStatusBadgeElement: {
5348 prototype: HTMLScFulfillmentShippingStatusBadgeElement;
5349 new (): HTMLScFulfillmentShippingStatusBadgeElement;
5350 };
5351 interface HTMLScFulfillmentsElement extends Components.ScFulfillments, HTMLStencilElement {
5352 }
5353 var HTMLScFulfillmentsElement: {
5354 prototype: HTMLScFulfillmentsElement;
5355 new (): HTMLScFulfillmentsElement;
5356 };
5357 interface HTMLScHeadingElement extends Components.ScHeading, HTMLStencilElement {
5358 }
5359 var HTMLScHeadingElement: {
5360 prototype: HTMLScHeadingElement;
5361 new (): HTMLScHeadingElement;
5362 };
5363 interface HTMLScIconElementEventMap {
5364 "scLoad": void;
5365 }
5366 interface HTMLScIconElement extends Components.ScIcon, HTMLStencilElement {
5367 addEventListener<K extends keyof HTMLScIconElementEventMap>(type: K, listener: (this: HTMLScIconElement, ev: ScIconCustomEvent<HTMLScIconElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
5368 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5369 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5370 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
5371 removeEventListener<K extends keyof HTMLScIconElementEventMap>(type: K, listener: (this: HTMLScIconElement, ev: ScIconCustomEvent<HTMLScIconElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
5372 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5373 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5374 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
5375 }
5376 var HTMLScIconElement: {
5377 prototype: HTMLScIconElement;
5378 new (): HTMLScIconElement;
5379 };
5380 interface HTMLScImageSliderElement extends Components.ScImageSlider, HTMLStencilElement {
5381 }
5382 var HTMLScImageSliderElement: {
5383 prototype: HTMLScImageSliderElement;
5384 new (): HTMLScImageSliderElement;
5385 };
5386 interface HTMLScInputElementEventMap {
5387 "scChange": void;
5388 "scClear": void;
5389 "scInput": void;
5390 "scFocus": void;
5391 "scBlur": void;
5392 }
5393 interface HTMLScInputElement extends Components.ScInput, HTMLStencilElement {
5394 addEventListener<K extends keyof HTMLScInputElementEventMap>(type: K, listener: (this: HTMLScInputElement, ev: ScInputCustomEvent<HTMLScInputElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
5395 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5396 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5397 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
5398 removeEventListener<K extends keyof HTMLScInputElementEventMap>(type: K, listener: (this: HTMLScInputElement, ev: ScInputCustomEvent<HTMLScInputElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
5399 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5400 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5401 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
5402 }
5403 var HTMLScInputElement: {
5404 prototype: HTMLScInputElement;
5405 new (): HTMLScInputElement;
5406 };
5407 interface HTMLScInvoiceDetailsElement extends Components.ScInvoiceDetails, HTMLStencilElement {
5408 }
5409 var HTMLScInvoiceDetailsElement: {
5410 prototype: HTMLScInvoiceDetailsElement;
5411 new (): HTMLScInvoiceDetailsElement;
5412 };
5413 interface HTMLScInvoiceMemoElement extends Components.ScInvoiceMemo, HTMLStencilElement {
5414 }
5415 var HTMLScInvoiceMemoElement: {
5416 prototype: HTMLScInvoiceMemoElement;
5417 new (): HTMLScInvoiceMemoElement;
5418 };
5419 interface HTMLScInvoiceStatusBadgeElement extends Components.ScInvoiceStatusBadge, HTMLStencilElement {
5420 }
5421 var HTMLScInvoiceStatusBadgeElement: {
5422 prototype: HTMLScInvoiceStatusBadgeElement;
5423 new (): HTMLScInvoiceStatusBadgeElement;
5424 };
5425 interface HTMLScInvoicesListElement extends Components.ScInvoicesList, HTMLStencilElement {
5426 }
5427 var HTMLScInvoicesListElement: {
5428 prototype: HTMLScInvoicesListElement;
5429 new (): HTMLScInvoicesListElement;
5430 };
5431 interface HTMLScLicenseElement extends Components.ScLicense, HTMLStencilElement {
5432 }
5433 var HTMLScLicenseElement: {
5434 prototype: HTMLScLicenseElement;
5435 new (): HTMLScLicenseElement;
5436 };
5437 interface HTMLScLicensesListElement extends Components.ScLicensesList, HTMLStencilElement {
5438 }
5439 var HTMLScLicensesListElement: {
5440 prototype: HTMLScLicensesListElement;
5441 new (): HTMLScLicensesListElement;
5442 };
5443 interface HTMLScLineItemElement extends Components.ScLineItem, HTMLStencilElement {
5444 }
5445 var HTMLScLineItemElement: {
5446 prototype: HTMLScLineItemElement;
5447 new (): HTMLScLineItemElement;
5448 };
5449 interface HTMLScLineItemBumpElement extends Components.ScLineItemBump, HTMLStencilElement {
5450 }
5451 var HTMLScLineItemBumpElement: {
5452 prototype: HTMLScLineItemBumpElement;
5453 new (): HTMLScLineItemBumpElement;
5454 };
5455 interface HTMLScLineItemInvoiceDueDateElement extends Components.ScLineItemInvoiceDueDate, HTMLStencilElement {
5456 }
5457 var HTMLScLineItemInvoiceDueDateElement: {
5458 prototype: HTMLScLineItemInvoiceDueDateElement;
5459 new (): HTMLScLineItemInvoiceDueDateElement;
5460 };
5461 interface HTMLScLineItemInvoiceNumberElement extends Components.ScLineItemInvoiceNumber, HTMLStencilElement {
5462 }
5463 var HTMLScLineItemInvoiceNumberElement: {
5464 prototype: HTMLScLineItemInvoiceNumberElement;
5465 new (): HTMLScLineItemInvoiceNumberElement;
5466 };
5467 interface HTMLScLineItemInvoiceReceiptDownloadElement extends Components.ScLineItemInvoiceReceiptDownload, HTMLStencilElement {
5468 }
5469 var HTMLScLineItemInvoiceReceiptDownloadElement: {
5470 prototype: HTMLScLineItemInvoiceReceiptDownloadElement;
5471 new (): HTMLScLineItemInvoiceReceiptDownloadElement;
5472 };
5473 interface HTMLScLineItemShippingElement extends Components.ScLineItemShipping, HTMLStencilElement {
5474 }
5475 var HTMLScLineItemShippingElement: {
5476 prototype: HTMLScLineItemShippingElement;
5477 new (): HTMLScLineItemShippingElement;
5478 };
5479 interface HTMLScLineItemTaxElement extends Components.ScLineItemTax, HTMLStencilElement {
5480 }
5481 var HTMLScLineItemTaxElement: {
5482 prototype: HTMLScLineItemTaxElement;
5483 new (): HTMLScLineItemTaxElement;
5484 };
5485 interface HTMLScLineItemTotalElement extends Components.ScLineItemTotal, HTMLStencilElement {
5486 }
5487 var HTMLScLineItemTotalElement: {
5488 prototype: HTMLScLineItemTotalElement;
5489 new (): HTMLScLineItemTotalElement;
5490 };
5491 interface HTMLScLineItemsElement extends Components.ScLineItems, HTMLStencilElement {
5492 }
5493 var HTMLScLineItemsElement: {
5494 prototype: HTMLScLineItemsElement;
5495 new (): HTMLScLineItemsElement;
5496 };
5497 interface HTMLScLineItemsProviderElementEventMap {
5498 "scUpdateLineItems": Array<LineItemData1>;
5499 }
5500 interface HTMLScLineItemsProviderElement extends Components.ScLineItemsProvider, HTMLStencilElement {
5501 addEventListener<K extends keyof HTMLScLineItemsProviderElementEventMap>(type: K, listener: (this: HTMLScLineItemsProviderElement, ev: ScLineItemsProviderCustomEvent<HTMLScLineItemsProviderElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
5502 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5503 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5504 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
5505 removeEventListener<K extends keyof HTMLScLineItemsProviderElementEventMap>(type: K, listener: (this: HTMLScLineItemsProviderElement, ev: ScLineItemsProviderCustomEvent<HTMLScLineItemsProviderElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
5506 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5507 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5508 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
5509 }
5510 var HTMLScLineItemsProviderElement: {
5511 prototype: HTMLScLineItemsProviderElement;
5512 new (): HTMLScLineItemsProviderElement;
5513 };
5514 interface HTMLScLoginFormElement extends Components.ScLoginForm, HTMLStencilElement {
5515 }
5516 var HTMLScLoginFormElement: {
5517 prototype: HTMLScLoginFormElement;
5518 new (): HTMLScLoginFormElement;
5519 };
5520 interface HTMLScLoginProviderElementEventMap {
5521 "scSetLoggedIn": boolean;
5522 "scSetCustomer": { email: string; name?: string };
5523 }
5524 interface HTMLScLoginProviderElement extends Components.ScLoginProvider, HTMLStencilElement {
5525 addEventListener<K extends keyof HTMLScLoginProviderElementEventMap>(type: K, listener: (this: HTMLScLoginProviderElement, ev: ScLoginProviderCustomEvent<HTMLScLoginProviderElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
5526 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5527 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5528 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
5529 removeEventListener<K extends keyof HTMLScLoginProviderElementEventMap>(type: K, listener: (this: HTMLScLoginProviderElement, ev: ScLoginProviderCustomEvent<HTMLScLoginProviderElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
5530 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5531 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5532 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
5533 }
5534 var HTMLScLoginProviderElement: {
5535 prototype: HTMLScLoginProviderElement;
5536 new (): HTMLScLoginProviderElement;
5537 };
5538 interface HTMLScManualPaymentMethodElement extends Components.ScManualPaymentMethod, HTMLStencilElement {
5539 }
5540 var HTMLScManualPaymentMethodElement: {
5541 prototype: HTMLScManualPaymentMethodElement;
5542 new (): HTMLScManualPaymentMethodElement;
5543 };
5544 interface HTMLScMenuElementEventMap {
5545 "scSelect": { item: HTMLScMenuItemElement };
5546 }
5547 interface HTMLScMenuElement extends Components.ScMenu, HTMLStencilElement {
5548 addEventListener<K extends keyof HTMLScMenuElementEventMap>(type: K, listener: (this: HTMLScMenuElement, ev: ScMenuCustomEvent<HTMLScMenuElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
5549 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5550 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5551 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
5552 removeEventListener<K extends keyof HTMLScMenuElementEventMap>(type: K, listener: (this: HTMLScMenuElement, ev: ScMenuCustomEvent<HTMLScMenuElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
5553 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5554 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5555 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
5556 }
5557 var HTMLScMenuElement: {
5558 prototype: HTMLScMenuElement;
5559 new (): HTMLScMenuElement;
5560 };
5561 interface HTMLScMenuDividerElement extends Components.ScMenuDivider, HTMLStencilElement {
5562 }
5563 var HTMLScMenuDividerElement: {
5564 prototype: HTMLScMenuDividerElement;
5565 new (): HTMLScMenuDividerElement;
5566 };
5567 interface HTMLScMenuItemElement extends Components.ScMenuItem, HTMLStencilElement {
5568 }
5569 var HTMLScMenuItemElement: {
5570 prototype: HTMLScMenuItemElement;
5571 new (): HTMLScMenuItemElement;
5572 };
5573 interface HTMLScMenuLabelElement extends Components.ScMenuLabel, HTMLStencilElement {
5574 }
5575 var HTMLScMenuLabelElement: {
5576 prototype: HTMLScMenuLabelElement;
5577 new (): HTMLScMenuLabelElement;
5578 };
5579 interface HTMLScMollieAddMethodElement extends Components.ScMollieAddMethod, HTMLStencilElement {
5580 }
5581 var HTMLScMollieAddMethodElement: {
5582 prototype: HTMLScMollieAddMethodElement;
5583 new (): HTMLScMollieAddMethodElement;
5584 };
5585 interface HTMLScOrderElement extends Components.ScOrder, HTMLStencilElement {
5586 }
5587 var HTMLScOrderElement: {
5588 prototype: HTMLScOrderElement;
5589 new (): HTMLScOrderElement;
5590 };
5591 interface HTMLScOrderBillingAddressElement extends Components.ScOrderBillingAddress, HTMLStencilElement {
5592 }
5593 var HTMLScOrderBillingAddressElement: {
5594 prototype: HTMLScOrderBillingAddressElement;
5595 new (): HTMLScOrderBillingAddressElement;
5596 };
5597 interface HTMLScOrderBumpElement extends Components.ScOrderBump, HTMLStencilElement {
5598 }
5599 var HTMLScOrderBumpElement: {
5600 prototype: HTMLScOrderBumpElement;
5601 new (): HTMLScOrderBumpElement;
5602 };
5603 interface HTMLScOrderBumpsElement extends Components.ScOrderBumps, HTMLStencilElement {
5604 }
5605 var HTMLScOrderBumpsElement: {
5606 prototype: HTMLScOrderBumpsElement;
5607 new (): HTMLScOrderBumpsElement;
5608 };
5609 interface HTMLScOrderConfirmComponentsValidatorElement extends Components.ScOrderConfirmComponentsValidator, HTMLStencilElement {
5610 }
5611 var HTMLScOrderConfirmComponentsValidatorElement: {
5612 prototype: HTMLScOrderConfirmComponentsValidatorElement;
5613 new (): HTMLScOrderConfirmComponentsValidatorElement;
5614 };
5615 interface HTMLScOrderConfirmProviderElementEventMap {
5616 "scOrderPaid": Checkout;
5617 "scSetState": string;
5618 }
5619 /**
5620 * This component listens to the order status
5621 * and confirms the order when payment is successful.
5622 */
5623 interface HTMLScOrderConfirmProviderElement extends Components.ScOrderConfirmProvider, HTMLStencilElement {
5624 addEventListener<K extends keyof HTMLScOrderConfirmProviderElementEventMap>(type: K, listener: (this: HTMLScOrderConfirmProviderElement, ev: ScOrderConfirmProviderCustomEvent<HTMLScOrderConfirmProviderElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
5625 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5626 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5627 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
5628 removeEventListener<K extends keyof HTMLScOrderConfirmProviderElementEventMap>(type: K, listener: (this: HTMLScOrderConfirmProviderElement, ev: ScOrderConfirmProviderCustomEvent<HTMLScOrderConfirmProviderElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
5629 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5630 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5631 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
5632 }
5633 var HTMLScOrderConfirmProviderElement: {
5634 prototype: HTMLScOrderConfirmProviderElement;
5635 new (): HTMLScOrderConfirmProviderElement;
5636 };
5637 interface HTMLScOrderConfirmationElement extends Components.ScOrderConfirmation, HTMLStencilElement {
5638 }
5639 var HTMLScOrderConfirmationElement: {
5640 prototype: HTMLScOrderConfirmationElement;
5641 new (): HTMLScOrderConfirmationElement;
5642 };
5643 interface HTMLScOrderConfirmationCustomerElement extends Components.ScOrderConfirmationCustomer, HTMLStencilElement {
5644 }
5645 var HTMLScOrderConfirmationCustomerElement: {
5646 prototype: HTMLScOrderConfirmationCustomerElement;
5647 new (): HTMLScOrderConfirmationCustomerElement;
5648 };
5649 interface HTMLScOrderConfirmationDetailsElement extends Components.ScOrderConfirmationDetails, HTMLStencilElement {
5650 }
5651 var HTMLScOrderConfirmationDetailsElement: {
5652 prototype: HTMLScOrderConfirmationDetailsElement;
5653 new (): HTMLScOrderConfirmationDetailsElement;
5654 };
5655 interface HTMLScOrderConfirmationLineItemsElement extends Components.ScOrderConfirmationLineItems, HTMLStencilElement {
5656 }
5657 var HTMLScOrderConfirmationLineItemsElement: {
5658 prototype: HTMLScOrderConfirmationLineItemsElement;
5659 new (): HTMLScOrderConfirmationLineItemsElement;
5660 };
5661 interface HTMLScOrderConfirmationTotalsElement extends Components.ScOrderConfirmationTotals, HTMLStencilElement {
5662 }
5663 var HTMLScOrderConfirmationTotalsElement: {
5664 prototype: HTMLScOrderConfirmationTotalsElement;
5665 new (): HTMLScOrderConfirmationTotalsElement;
5666 };
5667 interface HTMLScOrderCouponFormElement extends Components.ScOrderCouponForm, HTMLStencilElement {
5668 }
5669 var HTMLScOrderCouponFormElement: {
5670 prototype: HTMLScOrderCouponFormElement;
5671 new (): HTMLScOrderCouponFormElement;
5672 };
5673 interface HTMLScOrderDetailElement extends Components.ScOrderDetail, HTMLStencilElement {
5674 }
5675 var HTMLScOrderDetailElement: {
5676 prototype: HTMLScOrderDetailElement;
5677 new (): HTMLScOrderDetailElement;
5678 };
5679 interface HTMLScOrderFulfillmentBadgeElement extends Components.ScOrderFulfillmentBadge, HTMLStencilElement {
5680 }
5681 var HTMLScOrderFulfillmentBadgeElement: {
5682 prototype: HTMLScOrderFulfillmentBadgeElement;
5683 new (): HTMLScOrderFulfillmentBadgeElement;
5684 };
5685 interface HTMLScOrderManualInstructionsElement extends Components.ScOrderManualInstructions, HTMLStencilElement {
5686 }
5687 var HTMLScOrderManualInstructionsElement: {
5688 prototype: HTMLScOrderManualInstructionsElement;
5689 new (): HTMLScOrderManualInstructionsElement;
5690 };
5691 interface HTMLScOrderPasswordElement extends Components.ScOrderPassword, HTMLStencilElement {
5692 }
5693 var HTMLScOrderPasswordElement: {
5694 prototype: HTMLScOrderPasswordElement;
5695 new (): HTMLScOrderPasswordElement;
5696 };
5697 interface HTMLScOrderReturnBadgeElement extends Components.ScOrderReturnBadge, HTMLStencilElement {
5698 }
5699 var HTMLScOrderReturnBadgeElement: {
5700 prototype: HTMLScOrderReturnBadgeElement;
5701 new (): HTMLScOrderReturnBadgeElement;
5702 };
5703 interface HTMLScOrderShipmentBadgeElement extends Components.ScOrderShipmentBadge, HTMLStencilElement {
5704 }
5705 var HTMLScOrderShipmentBadgeElement: {
5706 prototype: HTMLScOrderShipmentBadgeElement;
5707 new (): HTMLScOrderShipmentBadgeElement;
5708 };
5709 interface HTMLScOrderShippingAddressElement extends Components.ScOrderShippingAddress, HTMLStencilElement {
5710 }
5711 var HTMLScOrderShippingAddressElement: {
5712 prototype: HTMLScOrderShippingAddressElement;
5713 new (): HTMLScOrderShippingAddressElement;
5714 };
5715 interface HTMLScOrderStatusBadgeElement extends Components.ScOrderStatusBadge, HTMLStencilElement {
5716 }
5717 var HTMLScOrderStatusBadgeElement: {
5718 prototype: HTMLScOrderStatusBadgeElement;
5719 new (): HTMLScOrderStatusBadgeElement;
5720 };
5721 interface HTMLScOrderSubmitElement extends Components.ScOrderSubmit, HTMLStencilElement {
5722 }
5723 var HTMLScOrderSubmitElement: {
5724 prototype: HTMLScOrderSubmitElement;
5725 new (): HTMLScOrderSubmitElement;
5726 };
5727 interface HTMLScOrderSummaryElementEventMap {
5728 "scShow": void;
5729 "scHide": void;
5730 }
5731 interface HTMLScOrderSummaryElement extends Components.ScOrderSummary, HTMLStencilElement {
5732 addEventListener<K extends keyof HTMLScOrderSummaryElementEventMap>(type: K, listener: (this: HTMLScOrderSummaryElement, ev: ScOrderSummaryCustomEvent<HTMLScOrderSummaryElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
5733 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5734 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5735 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
5736 removeEventListener<K extends keyof HTMLScOrderSummaryElementEventMap>(type: K, listener: (this: HTMLScOrderSummaryElement, ev: ScOrderSummaryCustomEvent<HTMLScOrderSummaryElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
5737 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5738 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5739 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
5740 }
5741 var HTMLScOrderSummaryElement: {
5742 prototype: HTMLScOrderSummaryElement;
5743 new (): HTMLScOrderSummaryElement;
5744 };
5745 interface HTMLScOrderTaxIdInputElement extends Components.ScOrderTaxIdInput, HTMLStencilElement {
5746 }
5747 var HTMLScOrderTaxIdInputElement: {
5748 prototype: HTMLScOrderTaxIdInputElement;
5749 new (): HTMLScOrderTaxIdInputElement;
5750 };
5751 interface HTMLScOrdersListElement extends Components.ScOrdersList, HTMLStencilElement {
5752 }
5753 var HTMLScOrdersListElement: {
5754 prototype: HTMLScOrdersListElement;
5755 new (): HTMLScOrdersListElement;
5756 };
5757 interface HTMLScPaginationElementEventMap {
5758 "scPrevPage": void;
5759 "scNextPage": void;
5760 }
5761 interface HTMLScPaginationElement extends Components.ScPagination, HTMLStencilElement {
5762 addEventListener<K extends keyof HTMLScPaginationElementEventMap>(type: K, listener: (this: HTMLScPaginationElement, ev: ScPaginationCustomEvent<HTMLScPaginationElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
5763 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5764 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5765 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
5766 removeEventListener<K extends keyof HTMLScPaginationElementEventMap>(type: K, listener: (this: HTMLScPaginationElement, ev: ScPaginationCustomEvent<HTMLScPaginationElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
5767 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5768 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5769 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
5770 }
5771 var HTMLScPaginationElement: {
5772 prototype: HTMLScPaginationElement;
5773 new (): HTMLScPaginationElement;
5774 };
5775 interface HTMLScPasswordElement extends Components.ScPassword, HTMLStencilElement {
5776 }
5777 var HTMLScPasswordElement: {
5778 prototype: HTMLScPasswordElement;
5779 new (): HTMLScPasswordElement;
5780 };
5781 interface HTMLScPasswordNagElement extends Components.ScPasswordNag, HTMLStencilElement {
5782 }
5783 var HTMLScPasswordNagElement: {
5784 prototype: HTMLScPasswordNagElement;
5785 new (): HTMLScPasswordNagElement;
5786 };
5787 interface HTMLScPaymentElement extends Components.ScPayment, HTMLStencilElement {
5788 }
5789 var HTMLScPaymentElement: {
5790 prototype: HTMLScPaymentElement;
5791 new (): HTMLScPaymentElement;
5792 };
5793 interface HTMLScPaymentMethodElement extends Components.ScPaymentMethod, HTMLStencilElement {
5794 }
5795 var HTMLScPaymentMethodElement: {
5796 prototype: HTMLScPaymentMethodElement;
5797 new (): HTMLScPaymentMethodElement;
5798 };
5799 interface HTMLScPaymentMethodChoiceElement extends Components.ScPaymentMethodChoice, HTMLStencilElement {
5800 }
5801 var HTMLScPaymentMethodChoiceElement: {
5802 prototype: HTMLScPaymentMethodChoiceElement;
5803 new (): HTMLScPaymentMethodChoiceElement;
5804 };
5805 interface HTMLScPaymentMethodDetailsElement extends Components.ScPaymentMethodDetails, HTMLStencilElement {
5806 }
5807 var HTMLScPaymentMethodDetailsElement: {
5808 prototype: HTMLScPaymentMethodDetailsElement;
5809 new (): HTMLScPaymentMethodDetailsElement;
5810 };
5811 interface HTMLScPaymentMethodsListElement extends Components.ScPaymentMethodsList, HTMLStencilElement {
5812 }
5813 var HTMLScPaymentMethodsListElement: {
5814 prototype: HTMLScPaymentMethodsListElement;
5815 new (): HTMLScPaymentMethodsListElement;
5816 };
5817 interface HTMLScPaymentSelectedElement extends Components.ScPaymentSelected, HTMLStencilElement {
5818 }
5819 var HTMLScPaymentSelectedElement: {
5820 prototype: HTMLScPaymentSelectedElement;
5821 new (): HTMLScPaymentSelectedElement;
5822 };
5823 interface HTMLScPaypalAddMethodElement extends Components.ScPaypalAddMethod, HTMLStencilElement {
5824 }
5825 var HTMLScPaypalAddMethodElement: {
5826 prototype: HTMLScPaypalAddMethodElement;
5827 new (): HTMLScPaypalAddMethodElement;
5828 };
5829 interface HTMLScPaypalButtonsElementEventMap {
5830 "scSetState": string;
5831 "scPaid": void;
5832 }
5833 interface HTMLScPaypalButtonsElement extends Components.ScPaypalButtons, HTMLStencilElement {
5834 addEventListener<K extends keyof HTMLScPaypalButtonsElementEventMap>(type: K, listener: (this: HTMLScPaypalButtonsElement, ev: ScPaypalButtonsCustomEvent<HTMLScPaypalButtonsElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
5835 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5836 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5837 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
5838 removeEventListener<K extends keyof HTMLScPaypalButtonsElementEventMap>(type: K, listener: (this: HTMLScPaypalButtonsElement, ev: ScPaypalButtonsCustomEvent<HTMLScPaypalButtonsElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
5839 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5840 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5841 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
5842 }
5843 var HTMLScPaypalButtonsElement: {
5844 prototype: HTMLScPaypalButtonsElement;
5845 new (): HTMLScPaypalButtonsElement;
5846 };
5847 interface HTMLScPaystackAddMethodElement extends Components.ScPaystackAddMethod, HTMLStencilElement {
5848 }
5849 var HTMLScPaystackAddMethodElement: {
5850 prototype: HTMLScPaystackAddMethodElement;
5851 new (): HTMLScPaystackAddMethodElement;
5852 };
5853 interface HTMLScPhoneInputElementEventMap {
5854 "scChange": void;
5855 "scClear": void;
5856 "scInput": void;
5857 "scFocus": void;
5858 "scBlur": void;
5859 }
5860 interface HTMLScPhoneInputElement extends Components.ScPhoneInput, HTMLStencilElement {
5861 addEventListener<K extends keyof HTMLScPhoneInputElementEventMap>(type: K, listener: (this: HTMLScPhoneInputElement, ev: ScPhoneInputCustomEvent<HTMLScPhoneInputElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
5862 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5863 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5864 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
5865 removeEventListener<K extends keyof HTMLScPhoneInputElementEventMap>(type: K, listener: (this: HTMLScPhoneInputElement, ev: ScPhoneInputCustomEvent<HTMLScPhoneInputElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
5866 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5867 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5868 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
5869 }
5870 var HTMLScPhoneInputElement: {
5871 prototype: HTMLScPhoneInputElement;
5872 new (): HTMLScPhoneInputElement;
5873 };
5874 interface HTMLScPillOptionElement extends Components.ScPillOption, HTMLStencilElement {
5875 }
5876 var HTMLScPillOptionElement: {
5877 prototype: HTMLScPillOptionElement;
5878 new (): HTMLScPillOptionElement;
5879 };
5880 interface HTMLScPremiumTagElement extends Components.ScPremiumTag, HTMLStencilElement {
5881 }
5882 var HTMLScPremiumTagElement: {
5883 prototype: HTMLScPremiumTagElement;
5884 new (): HTMLScPremiumTagElement;
5885 };
5886 /**
5887 * Internal dependencies.
5888 */
5889 interface HTMLScPriceElement extends Components.ScPrice, HTMLStencilElement {
5890 }
5891 var HTMLScPriceElement: {
5892 prototype: HTMLScPriceElement;
5893 new (): HTMLScPriceElement;
5894 };
5895 interface HTMLScPriceChoiceElementEventMap {
5896 "scUpdateLineItem": LineItemData1;
5897 "scRemoveLineItem": LineItemData1;
5898 "scAddEntities": any;
5899 }
5900 interface HTMLScPriceChoiceElement extends Components.ScPriceChoice, HTMLStencilElement {
5901 addEventListener<K extends keyof HTMLScPriceChoiceElementEventMap>(type: K, listener: (this: HTMLScPriceChoiceElement, ev: ScPriceChoiceCustomEvent<HTMLScPriceChoiceElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
5902 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5903 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5904 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
5905 removeEventListener<K extends keyof HTMLScPriceChoiceElementEventMap>(type: K, listener: (this: HTMLScPriceChoiceElement, ev: ScPriceChoiceCustomEvent<HTMLScPriceChoiceElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
5906 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5907 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5908 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
5909 }
5910 var HTMLScPriceChoiceElement: {
5911 prototype: HTMLScPriceChoiceElement;
5912 new (): HTMLScPriceChoiceElement;
5913 };
5914 interface HTMLScPriceChoiceContainerElementEventMap {
5915 "scChange": void;
5916 }
5917 interface HTMLScPriceChoiceContainerElement extends Components.ScPriceChoiceContainer, HTMLStencilElement {
5918 addEventListener<K extends keyof HTMLScPriceChoiceContainerElementEventMap>(type: K, listener: (this: HTMLScPriceChoiceContainerElement, ev: ScPriceChoiceContainerCustomEvent<HTMLScPriceChoiceContainerElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
5919 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5920 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5921 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
5922 removeEventListener<K extends keyof HTMLScPriceChoiceContainerElementEventMap>(type: K, listener: (this: HTMLScPriceChoiceContainerElement, ev: ScPriceChoiceContainerCustomEvent<HTMLScPriceChoiceContainerElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
5923 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5924 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5925 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
5926 }
5927 var HTMLScPriceChoiceContainerElement: {
5928 prototype: HTMLScPriceChoiceContainerElement;
5929 new (): HTMLScPriceChoiceContainerElement;
5930 };
5931 interface HTMLScPriceChoicesElementEventMap {
5932 "scRemoveLineItem": LineItemData1;
5933 "scUpdateLineItem": LineItemData1;
5934 }
5935 interface HTMLScPriceChoicesElement extends Components.ScPriceChoices, HTMLStencilElement {
5936 addEventListener<K extends keyof HTMLScPriceChoicesElementEventMap>(type: K, listener: (this: HTMLScPriceChoicesElement, ev: ScPriceChoicesCustomEvent<HTMLScPriceChoicesElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
5937 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5938 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5939 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
5940 removeEventListener<K extends keyof HTMLScPriceChoicesElementEventMap>(type: K, listener: (this: HTMLScPriceChoicesElement, ev: ScPriceChoicesCustomEvent<HTMLScPriceChoicesElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
5941 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5942 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5943 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
5944 }
5945 var HTMLScPriceChoicesElement: {
5946 prototype: HTMLScPriceChoicesElement;
5947 new (): HTMLScPriceChoicesElement;
5948 };
5949 interface HTMLScPriceInputElementEventMap {
5950 "scChange": void;
5951 "scInput": void;
5952 "scFocus": void;
5953 "scBlur": void;
5954 }
5955 interface HTMLScPriceInputElement extends Components.ScPriceInput, HTMLStencilElement {
5956 addEventListener<K extends keyof HTMLScPriceInputElementEventMap>(type: K, listener: (this: HTMLScPriceInputElement, ev: ScPriceInputCustomEvent<HTMLScPriceInputElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
5957 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5958 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
5959 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
5960 removeEventListener<K extends keyof HTMLScPriceInputElementEventMap>(type: K, listener: (this: HTMLScPriceInputElement, ev: ScPriceInputCustomEvent<HTMLScPriceInputElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
5961 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5962 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
5963 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
5964 }
5965 var HTMLScPriceInputElement: {
5966 prototype: HTMLScPriceInputElement;
5967 new (): HTMLScPriceInputElement;
5968 };
5969 interface HTMLScPriceRangeElement extends Components.ScPriceRange, HTMLStencilElement {
5970 }
5971 var HTMLScPriceRangeElement: {
5972 prototype: HTMLScPriceRangeElement;
5973 new (): HTMLScPriceRangeElement;
5974 };
5975 interface HTMLScProductBuyButtonElement extends Components.ScProductBuyButton, HTMLStencilElement {
5976 }
5977 var HTMLScProductBuyButtonElement: {
5978 prototype: HTMLScProductBuyButtonElement;
5979 new (): HTMLScProductBuyButtonElement;
5980 };
5981 interface HTMLScProductDonationAmountChoiceElement extends Components.ScProductDonationAmountChoice, HTMLStencilElement {
5982 }
5983 var HTMLScProductDonationAmountChoiceElement: {
5984 prototype: HTMLScProductDonationAmountChoiceElement;
5985 new (): HTMLScProductDonationAmountChoiceElement;
5986 };
5987 interface HTMLScProductDonationChoicesElement extends Components.ScProductDonationChoices, HTMLStencilElement {
5988 }
5989 var HTMLScProductDonationChoicesElement: {
5990 prototype: HTMLScProductDonationChoicesElement;
5991 new (): HTMLScProductDonationChoicesElement;
5992 };
5993 interface HTMLScProductDonationCustomAmountElement extends Components.ScProductDonationCustomAmount, HTMLStencilElement {
5994 }
5995 var HTMLScProductDonationCustomAmountElement: {
5996 prototype: HTMLScProductDonationCustomAmountElement;
5997 new (): HTMLScProductDonationCustomAmountElement;
5998 };
5999 interface HTMLScProductItemElement extends Components.ScProductItem, HTMLStencilElement {
6000 }
6001 var HTMLScProductItemElement: {
6002 prototype: HTMLScProductItemElement;
6003 new (): HTMLScProductItemElement;
6004 };
6005 interface HTMLScProductItemImageElement extends Components.ScProductItemImage, HTMLStencilElement {
6006 }
6007 var HTMLScProductItemImageElement: {
6008 prototype: HTMLScProductItemImageElement;
6009 new (): HTMLScProductItemImageElement;
6010 };
6011 interface HTMLScProductItemListElementEventMap {
6012 "scSearched": ProductsSearchedParams;
6013 "scProductsViewed": ProductsViewedParams;
6014 }
6015 interface HTMLScProductItemListElement extends Components.ScProductItemList, HTMLStencilElement {
6016 addEventListener<K extends keyof HTMLScProductItemListElementEventMap>(type: K, listener: (this: HTMLScProductItemListElement, ev: ScProductItemListCustomEvent<HTMLScProductItemListElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
6017 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6018 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6019 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
6020 removeEventListener<K extends keyof HTMLScProductItemListElementEventMap>(type: K, listener: (this: HTMLScProductItemListElement, ev: ScProductItemListCustomEvent<HTMLScProductItemListElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
6021 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6022 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6023 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
6024 }
6025 var HTMLScProductItemListElement: {
6026 prototype: HTMLScProductItemListElement;
6027 new (): HTMLScProductItemListElement;
6028 };
6029 interface HTMLScProductItemPriceElement extends Components.ScProductItemPrice, HTMLStencilElement {
6030 }
6031 var HTMLScProductItemPriceElement: {
6032 prototype: HTMLScProductItemPriceElement;
6033 new (): HTMLScProductItemPriceElement;
6034 };
6035 interface HTMLScProductItemTitleElement extends Components.ScProductItemTitle, HTMLStencilElement {
6036 }
6037 var HTMLScProductItemTitleElement: {
6038 prototype: HTMLScProductItemTitleElement;
6039 new (): HTMLScProductItemTitleElement;
6040 };
6041 interface HTMLScProductLineItemElementEventMap {
6042 "scUpdateQuantity": number;
6043 "scRemove": void;
6044 }
6045 interface HTMLScProductLineItemElement extends Components.ScProductLineItem, HTMLStencilElement {
6046 addEventListener<K extends keyof HTMLScProductLineItemElementEventMap>(type: K, listener: (this: HTMLScProductLineItemElement, ev: ScProductLineItemCustomEvent<HTMLScProductLineItemElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
6047 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6048 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6049 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
6050 removeEventListener<K extends keyof HTMLScProductLineItemElementEventMap>(type: K, listener: (this: HTMLScProductLineItemElement, ev: ScProductLineItemCustomEvent<HTMLScProductLineItemElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
6051 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6052 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6053 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
6054 }
6055 var HTMLScProductLineItemElement: {
6056 prototype: HTMLScProductLineItemElement;
6057 new (): HTMLScProductLineItemElement;
6058 };
6059 interface HTMLScProductPillsVariantOptionElement extends Components.ScProductPillsVariantOption, HTMLStencilElement {
6060 }
6061 var HTMLScProductPillsVariantOptionElement: {
6062 prototype: HTMLScProductPillsVariantOptionElement;
6063 new (): HTMLScProductPillsVariantOptionElement;
6064 };
6065 interface HTMLScProductPriceElement extends Components.ScProductPrice, HTMLStencilElement {
6066 }
6067 var HTMLScProductPriceElement: {
6068 prototype: HTMLScProductPriceElement;
6069 new (): HTMLScProductPriceElement;
6070 };
6071 interface HTMLScProductPriceChoicesElement extends Components.ScProductPriceChoices, HTMLStencilElement {
6072 }
6073 var HTMLScProductPriceChoicesElement: {
6074 prototype: HTMLScProductPriceChoicesElement;
6075 new (): HTMLScProductPriceChoicesElement;
6076 };
6077 interface HTMLScProductPriceModalElement extends Components.ScProductPriceModal, HTMLStencilElement {
6078 }
6079 var HTMLScProductPriceModalElement: {
6080 prototype: HTMLScProductPriceModalElement;
6081 new (): HTMLScProductPriceModalElement;
6082 };
6083 interface HTMLScProductQuantityElement extends Components.ScProductQuantity, HTMLStencilElement {
6084 }
6085 var HTMLScProductQuantityElement: {
6086 prototype: HTMLScProductQuantityElement;
6087 new (): HTMLScProductQuantityElement;
6088 };
6089 interface HTMLScProductSelectedPriceElementEventMap {
6090 "scUpdateLineItem": LineItemData;
6091 }
6092 interface HTMLScProductSelectedPriceElement extends Components.ScProductSelectedPrice, HTMLStencilElement {
6093 addEventListener<K extends keyof HTMLScProductSelectedPriceElementEventMap>(type: K, listener: (this: HTMLScProductSelectedPriceElement, ev: ScProductSelectedPriceCustomEvent<HTMLScProductSelectedPriceElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
6094 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6095 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6096 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
6097 removeEventListener<K extends keyof HTMLScProductSelectedPriceElementEventMap>(type: K, listener: (this: HTMLScProductSelectedPriceElement, ev: ScProductSelectedPriceCustomEvent<HTMLScProductSelectedPriceElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
6098 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6099 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6100 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
6101 }
6102 var HTMLScProductSelectedPriceElement: {
6103 prototype: HTMLScProductSelectedPriceElement;
6104 new (): HTMLScProductSelectedPriceElement;
6105 };
6106 interface HTMLScProductTextElement extends Components.ScProductText, HTMLStencilElement {
6107 }
6108 var HTMLScProductTextElement: {
6109 prototype: HTMLScProductTextElement;
6110 new (): HTMLScProductTextElement;
6111 };
6112 interface HTMLScProseElement extends Components.ScProse, HTMLStencilElement {
6113 }
6114 var HTMLScProseElement: {
6115 prototype: HTMLScProseElement;
6116 new (): HTMLScProseElement;
6117 };
6118 interface HTMLScProviderElementEventMap {
6119 "mountConsumer": any;
6120 }
6121 interface HTMLScProviderElement extends Components.ScProvider, HTMLStencilElement {
6122 addEventListener<K extends keyof HTMLScProviderElementEventMap>(type: K, listener: (this: HTMLScProviderElement, ev: ScProviderCustomEvent<HTMLScProviderElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
6123 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6124 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6125 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
6126 removeEventListener<K extends keyof HTMLScProviderElementEventMap>(type: K, listener: (this: HTMLScProviderElement, ev: ScProviderCustomEvent<HTMLScProviderElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
6127 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6128 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6129 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
6130 }
6131 var HTMLScProviderElement: {
6132 prototype: HTMLScProviderElement;
6133 new (): HTMLScProviderElement;
6134 };
6135 interface HTMLScProvisionalBannerElement extends Components.ScProvisionalBanner, HTMLStencilElement {
6136 }
6137 var HTMLScProvisionalBannerElement: {
6138 prototype: HTMLScProvisionalBannerElement;
6139 new (): HTMLScProvisionalBannerElement;
6140 };
6141 interface HTMLScPurchaseDownloadsListElement extends Components.ScPurchaseDownloadsList, HTMLStencilElement {
6142 }
6143 var HTMLScPurchaseDownloadsListElement: {
6144 prototype: HTMLScPurchaseDownloadsListElement;
6145 new (): HTMLScPurchaseDownloadsListElement;
6146 };
6147 interface HTMLScQuantitySelectElementEventMap {
6148 "scChange": number;
6149 "scInput": number;
6150 "scFocus": void;
6151 "scBlur": void;
6152 }
6153 interface HTMLScQuantitySelectElement extends Components.ScQuantitySelect, HTMLStencilElement {
6154 addEventListener<K extends keyof HTMLScQuantitySelectElementEventMap>(type: K, listener: (this: HTMLScQuantitySelectElement, ev: ScQuantitySelectCustomEvent<HTMLScQuantitySelectElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
6155 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6156 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6157 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
6158 removeEventListener<K extends keyof HTMLScQuantitySelectElementEventMap>(type: K, listener: (this: HTMLScQuantitySelectElement, ev: ScQuantitySelectCustomEvent<HTMLScQuantitySelectElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
6159 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6160 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6161 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
6162 }
6163 var HTMLScQuantitySelectElement: {
6164 prototype: HTMLScQuantitySelectElement;
6165 new (): HTMLScQuantitySelectElement;
6166 };
6167 interface HTMLScRadioElementEventMap {
6168 "scBlur": void;
6169 "scChange": void;
6170 "scFocus": void;
6171 }
6172 interface HTMLScRadioElement extends Components.ScRadio, HTMLStencilElement {
6173 addEventListener<K extends keyof HTMLScRadioElementEventMap>(type: K, listener: (this: HTMLScRadioElement, ev: ScRadioCustomEvent<HTMLScRadioElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
6174 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6175 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6176 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
6177 removeEventListener<K extends keyof HTMLScRadioElementEventMap>(type: K, listener: (this: HTMLScRadioElement, ev: ScRadioCustomEvent<HTMLScRadioElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
6178 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6179 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6180 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
6181 }
6182 var HTMLScRadioElement: {
6183 prototype: HTMLScRadioElement;
6184 new (): HTMLScRadioElement;
6185 };
6186 interface HTMLScRadioGroupElementEventMap {
6187 "scChange": string;
6188 }
6189 interface HTMLScRadioGroupElement extends Components.ScRadioGroup, HTMLStencilElement {
6190 addEventListener<K extends keyof HTMLScRadioGroupElementEventMap>(type: K, listener: (this: HTMLScRadioGroupElement, ev: ScRadioGroupCustomEvent<HTMLScRadioGroupElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
6191 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6192 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6193 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
6194 removeEventListener<K extends keyof HTMLScRadioGroupElementEventMap>(type: K, listener: (this: HTMLScRadioGroupElement, ev: ScRadioGroupCustomEvent<HTMLScRadioGroupElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
6195 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6196 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6197 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
6198 }
6199 var HTMLScRadioGroupElement: {
6200 prototype: HTMLScRadioGroupElement;
6201 new (): HTMLScRadioGroupElement;
6202 };
6203 interface HTMLScRecurringPriceChoiceContainerElementEventMap {
6204 "scChange": string;
6205 }
6206 interface HTMLScRecurringPriceChoiceContainerElement extends Components.ScRecurringPriceChoiceContainer, HTMLStencilElement {
6207 addEventListener<K extends keyof HTMLScRecurringPriceChoiceContainerElementEventMap>(type: K, listener: (this: HTMLScRecurringPriceChoiceContainerElement, ev: ScRecurringPriceChoiceContainerCustomEvent<HTMLScRecurringPriceChoiceContainerElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
6208 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6209 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6210 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
6211 removeEventListener<K extends keyof HTMLScRecurringPriceChoiceContainerElementEventMap>(type: K, listener: (this: HTMLScRecurringPriceChoiceContainerElement, ev: ScRecurringPriceChoiceContainerCustomEvent<HTMLScRecurringPriceChoiceContainerElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
6212 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6213 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6214 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
6215 }
6216 var HTMLScRecurringPriceChoiceContainerElement: {
6217 prototype: HTMLScRecurringPriceChoiceContainerElement;
6218 new (): HTMLScRecurringPriceChoiceContainerElement;
6219 };
6220 interface HTMLScRichTextElementEventMap {
6221 "scChange": void;
6222 "scInput": void;
6223 "scBlur": void;
6224 "scFocus": void;
6225 }
6226 interface HTMLScRichTextElement extends Components.ScRichText, HTMLStencilElement {
6227 addEventListener<K extends keyof HTMLScRichTextElementEventMap>(type: K, listener: (this: HTMLScRichTextElement, ev: ScRichTextCustomEvent<HTMLScRichTextElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
6228 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6229 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6230 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
6231 removeEventListener<K extends keyof HTMLScRichTextElementEventMap>(type: K, listener: (this: HTMLScRichTextElement, ev: ScRichTextCustomEvent<HTMLScRichTextElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
6232 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6233 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6234 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
6235 }
6236 var HTMLScRichTextElement: {
6237 prototype: HTMLScRichTextElement;
6238 new (): HTMLScRichTextElement;
6239 };
6240 interface HTMLScSecureNoticeElement extends Components.ScSecureNotice, HTMLStencilElement {
6241 }
6242 var HTMLScSecureNoticeElement: {
6243 prototype: HTMLScSecureNoticeElement;
6244 new (): HTMLScSecureNoticeElement;
6245 };
6246 interface HTMLScSelectElementEventMap {
6247 "scSearch": string;
6248 "scOpen": string;
6249 "scClose": string;
6250 "scBlur": void;
6251 "scFocus": void;
6252 "scChange": ChoiceItem;
6253 "scScrollEnd": void;
6254 }
6255 interface HTMLScSelectElement extends Components.ScSelect, HTMLStencilElement {
6256 addEventListener<K extends keyof HTMLScSelectElementEventMap>(type: K, listener: (this: HTMLScSelectElement, ev: ScSelectCustomEvent<HTMLScSelectElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
6257 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6258 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6259 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
6260 removeEventListener<K extends keyof HTMLScSelectElementEventMap>(type: K, listener: (this: HTMLScSelectElement, ev: ScSelectCustomEvent<HTMLScSelectElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
6261 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6262 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6263 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
6264 }
6265 var HTMLScSelectElement: {
6266 prototype: HTMLScSelectElement;
6267 new (): HTMLScSelectElement;
6268 };
6269 interface HTMLScSessionProviderElementEventMap {
6270 "scUpdateOrderState": Checkout;
6271 "scUpdateDraftState": Checkout;
6272 "scPaid": void;
6273 "scSetState": FormStateSetter;
6274 }
6275 interface HTMLScSessionProviderElement extends Components.ScSessionProvider, HTMLStencilElement {
6276 addEventListener<K extends keyof HTMLScSessionProviderElementEventMap>(type: K, listener: (this: HTMLScSessionProviderElement, ev: ScSessionProviderCustomEvent<HTMLScSessionProviderElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
6277 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6278 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6279 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
6280 removeEventListener<K extends keyof HTMLScSessionProviderElementEventMap>(type: K, listener: (this: HTMLScSessionProviderElement, ev: ScSessionProviderCustomEvent<HTMLScSessionProviderElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
6281 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6282 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6283 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
6284 }
6285 var HTMLScSessionProviderElement: {
6286 prototype: HTMLScSessionProviderElement;
6287 new (): HTMLScSessionProviderElement;
6288 };
6289 interface HTMLScShippingChoicesElement extends Components.ScShippingChoices, HTMLStencilElement {
6290 }
6291 var HTMLScShippingChoicesElement: {
6292 prototype: HTMLScShippingChoicesElement;
6293 new (): HTMLScShippingChoicesElement;
6294 };
6295 interface HTMLScSkeletonElement extends Components.ScSkeleton, HTMLStencilElement {
6296 }
6297 var HTMLScSkeletonElement: {
6298 prototype: HTMLScSkeletonElement;
6299 new (): HTMLScSkeletonElement;
6300 };
6301 interface HTMLScSpacingElement extends Components.ScSpacing, HTMLStencilElement {
6302 }
6303 var HTMLScSpacingElement: {
6304 prototype: HTMLScSpacingElement;
6305 new (): HTMLScSpacingElement;
6306 };
6307 interface HTMLScSpinnerElement extends Components.ScSpinner, HTMLStencilElement {
6308 }
6309 var HTMLScSpinnerElement: {
6310 prototype: HTMLScSpinnerElement;
6311 new (): HTMLScSpinnerElement;
6312 };
6313 interface HTMLScStackedListElement extends Components.ScStackedList, HTMLStencilElement {
6314 }
6315 var HTMLScStackedListElement: {
6316 prototype: HTMLScStackedListElement;
6317 new (): HTMLScStackedListElement;
6318 };
6319 interface HTMLScStackedListRowElement extends Components.ScStackedListRow, HTMLStencilElement {
6320 }
6321 var HTMLScStackedListRowElement: {
6322 prototype: HTMLScStackedListRowElement;
6323 new (): HTMLScStackedListRowElement;
6324 };
6325 interface HTMLScStripeAddMethodElement extends Components.ScStripeAddMethod, HTMLStencilElement {
6326 }
6327 var HTMLScStripeAddMethodElement: {
6328 prototype: HTMLScStripeAddMethodElement;
6329 new (): HTMLScStripeAddMethodElement;
6330 };
6331 interface HTMLScStripeElementElementEventMap {
6332 "scPaid": void;
6333 "scSetState": FormStateSetter;
6334 "scPaymentInfoAdded": PaymentInfoAddedParams;
6335 }
6336 interface HTMLScStripeElementElement extends Components.ScStripeElement, HTMLStencilElement {
6337 addEventListener<K extends keyof HTMLScStripeElementElementEventMap>(type: K, listener: (this: HTMLScStripeElementElement, ev: ScStripeElementCustomEvent<HTMLScStripeElementElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
6338 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6339 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6340 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
6341 removeEventListener<K extends keyof HTMLScStripeElementElementEventMap>(type: K, listener: (this: HTMLScStripeElementElement, ev: ScStripeElementCustomEvent<HTMLScStripeElementElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
6342 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6343 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6344 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
6345 }
6346 var HTMLScStripeElementElement: {
6347 prototype: HTMLScStripeElementElement;
6348 new (): HTMLScStripeElementElement;
6349 };
6350 interface HTMLScStripePaymentElementElementEventMap {
6351 "scPaid": void;
6352 "scSetState": FormStateSetter;
6353 "scPaymentInfoAdded": PaymentInfoAddedParams;
6354 }
6355 interface HTMLScStripePaymentElementElement extends Components.ScStripePaymentElement, HTMLStencilElement {
6356 addEventListener<K extends keyof HTMLScStripePaymentElementElementEventMap>(type: K, listener: (this: HTMLScStripePaymentElementElement, ev: ScStripePaymentElementCustomEvent<HTMLScStripePaymentElementElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
6357 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6358 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6359 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
6360 removeEventListener<K extends keyof HTMLScStripePaymentElementElementEventMap>(type: K, listener: (this: HTMLScStripePaymentElementElement, ev: ScStripePaymentElementCustomEvent<HTMLScStripePaymentElementElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
6361 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6362 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6363 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
6364 }
6365 var HTMLScStripePaymentElementElement: {
6366 prototype: HTMLScStripePaymentElementElement;
6367 new (): HTMLScStripePaymentElementElement;
6368 };
6369 interface HTMLScStripePaymentRequestElementEventMap {
6370 "scFormSubmit": any;
6371 "scPaid": void;
6372 "scPayError": any;
6373 "scSetState": string;
6374 "scPaymentRequestLoaded": boolean;
6375 "scUpdateOrderState": any;
6376 }
6377 interface HTMLScStripePaymentRequestElement extends Components.ScStripePaymentRequest, HTMLStencilElement {
6378 addEventListener<K extends keyof HTMLScStripePaymentRequestElementEventMap>(type: K, listener: (this: HTMLScStripePaymentRequestElement, ev: ScStripePaymentRequestCustomEvent<HTMLScStripePaymentRequestElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
6379 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6380 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6381 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
6382 removeEventListener<K extends keyof HTMLScStripePaymentRequestElementEventMap>(type: K, listener: (this: HTMLScStripePaymentRequestElement, ev: ScStripePaymentRequestCustomEvent<HTMLScStripePaymentRequestElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
6383 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6384 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6385 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
6386 }
6387 var HTMLScStripePaymentRequestElement: {
6388 prototype: HTMLScStripePaymentRequestElement;
6389 new (): HTMLScStripePaymentRequestElement;
6390 };
6391 interface HTMLScSubscriptionElement extends Components.ScSubscription, HTMLStencilElement {
6392 }
6393 var HTMLScSubscriptionElement: {
6394 prototype: HTMLScSubscriptionElement;
6395 new (): HTMLScSubscriptionElement;
6396 };
6397 interface HTMLScSubscriptionAdHocConfirmElement extends Components.ScSubscriptionAdHocConfirm, HTMLStencilElement {
6398 }
6399 var HTMLScSubscriptionAdHocConfirmElement: {
6400 prototype: HTMLScSubscriptionAdHocConfirmElement;
6401 new (): HTMLScSubscriptionAdHocConfirmElement;
6402 };
6403 interface HTMLScSubscriptionCancelElementEventMap {
6404 "scAbandon": void;
6405 "scCancelled": void;
6406 }
6407 interface HTMLScSubscriptionCancelElement extends Components.ScSubscriptionCancel, HTMLStencilElement {
6408 addEventListener<K extends keyof HTMLScSubscriptionCancelElementEventMap>(type: K, listener: (this: HTMLScSubscriptionCancelElement, ev: ScSubscriptionCancelCustomEvent<HTMLScSubscriptionCancelElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
6409 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6410 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6411 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
6412 removeEventListener<K extends keyof HTMLScSubscriptionCancelElementEventMap>(type: K, listener: (this: HTMLScSubscriptionCancelElement, ev: ScSubscriptionCancelCustomEvent<HTMLScSubscriptionCancelElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
6413 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6414 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6415 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
6416 }
6417 var HTMLScSubscriptionCancelElement: {
6418 prototype: HTMLScSubscriptionCancelElement;
6419 new (): HTMLScSubscriptionCancelElement;
6420 };
6421 interface HTMLScSubscriptionDetailsElement extends Components.ScSubscriptionDetails, HTMLStencilElement {
6422 }
6423 var HTMLScSubscriptionDetailsElement: {
6424 prototype: HTMLScSubscriptionDetailsElement;
6425 new (): HTMLScSubscriptionDetailsElement;
6426 };
6427 interface HTMLScSubscriptionNextPaymentElement extends Components.ScSubscriptionNextPayment, HTMLStencilElement {
6428 }
6429 var HTMLScSubscriptionNextPaymentElement: {
6430 prototype: HTMLScSubscriptionNextPaymentElement;
6431 new (): HTMLScSubscriptionNextPaymentElement;
6432 };
6433 interface HTMLScSubscriptionPaymentElement extends Components.ScSubscriptionPayment, HTMLStencilElement {
6434 }
6435 var HTMLScSubscriptionPaymentElement: {
6436 prototype: HTMLScSubscriptionPaymentElement;
6437 new (): HTMLScSubscriptionPaymentElement;
6438 };
6439 interface HTMLScSubscriptionPaymentMethodElement extends Components.ScSubscriptionPaymentMethod, HTMLStencilElement {
6440 }
6441 var HTMLScSubscriptionPaymentMethodElement: {
6442 prototype: HTMLScSubscriptionPaymentMethodElement;
6443 new (): HTMLScSubscriptionPaymentMethodElement;
6444 };
6445 interface HTMLScSubscriptionReactivateElementEventMap {
6446 "scRequestClose": 'close-button' | 'keyboard' | 'overlay';
6447 "scRefresh": void;
6448 }
6449 interface HTMLScSubscriptionReactivateElement extends Components.ScSubscriptionReactivate, HTMLStencilElement {
6450 addEventListener<K extends keyof HTMLScSubscriptionReactivateElementEventMap>(type: K, listener: (this: HTMLScSubscriptionReactivateElement, ev: ScSubscriptionReactivateCustomEvent<HTMLScSubscriptionReactivateElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
6451 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6452 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6453 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
6454 removeEventListener<K extends keyof HTMLScSubscriptionReactivateElementEventMap>(type: K, listener: (this: HTMLScSubscriptionReactivateElement, ev: ScSubscriptionReactivateCustomEvent<HTMLScSubscriptionReactivateElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
6455 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6456 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6457 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
6458 }
6459 var HTMLScSubscriptionReactivateElement: {
6460 prototype: HTMLScSubscriptionReactivateElement;
6461 new (): HTMLScSubscriptionReactivateElement;
6462 };
6463 interface HTMLScSubscriptionStatusBadgeElement extends Components.ScSubscriptionStatusBadge, HTMLStencilElement {
6464 }
6465 var HTMLScSubscriptionStatusBadgeElement: {
6466 prototype: HTMLScSubscriptionStatusBadgeElement;
6467 new (): HTMLScSubscriptionStatusBadgeElement;
6468 };
6469 interface HTMLScSubscriptionSwitchElement extends Components.ScSubscriptionSwitch, HTMLStencilElement {
6470 }
6471 var HTMLScSubscriptionSwitchElement: {
6472 prototype: HTMLScSubscriptionSwitchElement;
6473 new (): HTMLScSubscriptionSwitchElement;
6474 };
6475 interface HTMLScSubscriptionVariationConfirmElement extends Components.ScSubscriptionVariationConfirm, HTMLStencilElement {
6476 }
6477 var HTMLScSubscriptionVariationConfirmElement: {
6478 prototype: HTMLScSubscriptionVariationConfirmElement;
6479 new (): HTMLScSubscriptionVariationConfirmElement;
6480 };
6481 interface HTMLScSubscriptionsListElement extends Components.ScSubscriptionsList, HTMLStencilElement {
6482 }
6483 var HTMLScSubscriptionsListElement: {
6484 prototype: HTMLScSubscriptionsListElement;
6485 new (): HTMLScSubscriptionsListElement;
6486 };
6487 interface HTMLScSummaryElementEventMap {
6488 "scShow": void;
6489 "scHide": void;
6490 }
6491 interface HTMLScSummaryElement extends Components.ScSummary, HTMLStencilElement {
6492 addEventListener<K extends keyof HTMLScSummaryElementEventMap>(type: K, listener: (this: HTMLScSummaryElement, ev: ScSummaryCustomEvent<HTMLScSummaryElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
6493 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6494 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6495 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
6496 removeEventListener<K extends keyof HTMLScSummaryElementEventMap>(type: K, listener: (this: HTMLScSummaryElement, ev: ScSummaryCustomEvent<HTMLScSummaryElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
6497 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6498 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6499 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
6500 }
6501 var HTMLScSummaryElement: {
6502 prototype: HTMLScSummaryElement;
6503 new (): HTMLScSummaryElement;
6504 };
6505 interface HTMLScSwitchElementEventMap {
6506 "scBlur": void;
6507 "scChange": void;
6508 "scFocus": void;
6509 }
6510 interface HTMLScSwitchElement extends Components.ScSwitch, HTMLStencilElement {
6511 addEventListener<K extends keyof HTMLScSwitchElementEventMap>(type: K, listener: (this: HTMLScSwitchElement, ev: ScSwitchCustomEvent<HTMLScSwitchElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
6512 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6513 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6514 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
6515 removeEventListener<K extends keyof HTMLScSwitchElementEventMap>(type: K, listener: (this: HTMLScSwitchElement, ev: ScSwitchCustomEvent<HTMLScSwitchElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
6516 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6517 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6518 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
6519 }
6520 var HTMLScSwitchElement: {
6521 prototype: HTMLScSwitchElement;
6522 new (): HTMLScSwitchElement;
6523 };
6524 interface HTMLScTabElementEventMap {
6525 "scClose": void;
6526 }
6527 interface HTMLScTabElement extends Components.ScTab, HTMLStencilElement {
6528 addEventListener<K extends keyof HTMLScTabElementEventMap>(type: K, listener: (this: HTMLScTabElement, ev: ScTabCustomEvent<HTMLScTabElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
6529 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6530 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6531 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
6532 removeEventListener<K extends keyof HTMLScTabElementEventMap>(type: K, listener: (this: HTMLScTabElement, ev: ScTabCustomEvent<HTMLScTabElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
6533 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6534 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6535 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
6536 }
6537 var HTMLScTabElement: {
6538 prototype: HTMLScTabElement;
6539 new (): HTMLScTabElement;
6540 };
6541 interface HTMLScTabGroupElementEventMap {
6542 "scTabHide": string;
6543 "scTabShow": string;
6544 }
6545 interface HTMLScTabGroupElement extends Components.ScTabGroup, HTMLStencilElement {
6546 addEventListener<K extends keyof HTMLScTabGroupElementEventMap>(type: K, listener: (this: HTMLScTabGroupElement, ev: ScTabGroupCustomEvent<HTMLScTabGroupElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
6547 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6548 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6549 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
6550 removeEventListener<K extends keyof HTMLScTabGroupElementEventMap>(type: K, listener: (this: HTMLScTabGroupElement, ev: ScTabGroupCustomEvent<HTMLScTabGroupElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
6551 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6552 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6553 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
6554 }
6555 var HTMLScTabGroupElement: {
6556 prototype: HTMLScTabGroupElement;
6557 new (): HTMLScTabGroupElement;
6558 };
6559 interface HTMLScTabPanelElement extends Components.ScTabPanel, HTMLStencilElement {
6560 }
6561 var HTMLScTabPanelElement: {
6562 prototype: HTMLScTabPanelElement;
6563 new (): HTMLScTabPanelElement;
6564 };
6565 interface HTMLScTableElement extends Components.ScTable, HTMLStencilElement {
6566 }
6567 var HTMLScTableElement: {
6568 prototype: HTMLScTableElement;
6569 new (): HTMLScTableElement;
6570 };
6571 interface HTMLScTableCellElement extends Components.ScTableCell, HTMLStencilElement {
6572 }
6573 var HTMLScTableCellElement: {
6574 prototype: HTMLScTableCellElement;
6575 new (): HTMLScTableCellElement;
6576 };
6577 interface HTMLScTableHeadElement extends Components.ScTableHead, HTMLStencilElement {
6578 }
6579 var HTMLScTableHeadElement: {
6580 prototype: HTMLScTableHeadElement;
6581 new (): HTMLScTableHeadElement;
6582 };
6583 interface HTMLScTableRowElement extends Components.ScTableRow, HTMLStencilElement {
6584 }
6585 var HTMLScTableRowElement: {
6586 prototype: HTMLScTableRowElement;
6587 new (): HTMLScTableRowElement;
6588 };
6589 interface HTMLScTagElementEventMap {
6590 "scClear": ScTag;
6591 }
6592 interface HTMLScTagElement extends Components.ScTag, HTMLStencilElement {
6593 addEventListener<K extends keyof HTMLScTagElementEventMap>(type: K, listener: (this: HTMLScTagElement, ev: ScTagCustomEvent<HTMLScTagElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
6594 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6595 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6596 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
6597 removeEventListener<K extends keyof HTMLScTagElementEventMap>(type: K, listener: (this: HTMLScTagElement, ev: ScTagCustomEvent<HTMLScTagElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
6598 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6599 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6600 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
6601 }
6602 var HTMLScTagElement: {
6603 prototype: HTMLScTagElement;
6604 new (): HTMLScTagElement;
6605 };
6606 interface HTMLScTaxIdInputElementEventMap {
6607 "scChange": { number: string; number_type: string };
6608 "scInput": Partial<{ number: string; number_type: string }>;
6609 "scInputType": string;
6610 "scSetState": string;
6611 }
6612 interface HTMLScTaxIdInputElement extends Components.ScTaxIdInput, HTMLStencilElement {
6613 addEventListener<K extends keyof HTMLScTaxIdInputElementEventMap>(type: K, listener: (this: HTMLScTaxIdInputElement, ev: ScTaxIdInputCustomEvent<HTMLScTaxIdInputElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
6614 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6615 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6616 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
6617 removeEventListener<K extends keyof HTMLScTaxIdInputElementEventMap>(type: K, listener: (this: HTMLScTaxIdInputElement, ev: ScTaxIdInputCustomEvent<HTMLScTaxIdInputElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
6618 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6619 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6620 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
6621 }
6622 var HTMLScTaxIdInputElement: {
6623 prototype: HTMLScTaxIdInputElement;
6624 new (): HTMLScTaxIdInputElement;
6625 };
6626 interface HTMLScTextElement extends Components.ScText, HTMLStencilElement {
6627 }
6628 var HTMLScTextElement: {
6629 prototype: HTMLScTextElement;
6630 new (): HTMLScTextElement;
6631 };
6632 interface HTMLScTextareaElementEventMap {
6633 "scChange": void;
6634 "scInput": void;
6635 "scBlur": void;
6636 "scFocus": void;
6637 }
6638 interface HTMLScTextareaElement extends Components.ScTextarea, HTMLStencilElement {
6639 addEventListener<K extends keyof HTMLScTextareaElementEventMap>(type: K, listener: (this: HTMLScTextareaElement, ev: ScTextareaCustomEvent<HTMLScTextareaElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
6640 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6641 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6642 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
6643 removeEventListener<K extends keyof HTMLScTextareaElementEventMap>(type: K, listener: (this: HTMLScTextareaElement, ev: ScTextareaCustomEvent<HTMLScTextareaElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
6644 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6645 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6646 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
6647 }
6648 var HTMLScTextareaElement: {
6649 prototype: HTMLScTextareaElement;
6650 new (): HTMLScTextareaElement;
6651 };
6652 interface HTMLScToggleElementEventMap {
6653 "scShow": void;
6654 "scHide": void;
6655 }
6656 interface HTMLScToggleElement extends Components.ScToggle, HTMLStencilElement {
6657 addEventListener<K extends keyof HTMLScToggleElementEventMap>(type: K, listener: (this: HTMLScToggleElement, ev: ScToggleCustomEvent<HTMLScToggleElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
6658 addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6659 addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
6660 addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
6661 removeEventListener<K extends keyof HTMLScToggleElementEventMap>(type: K, listener: (this: HTMLScToggleElement, ev: ScToggleCustomEvent<HTMLScToggleElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
6662 removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6663 removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
6664 removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
6665 }
6666 var HTMLScToggleElement: {
6667 prototype: HTMLScToggleElement;
6668 new (): HTMLScToggleElement;
6669 };
6670 interface HTMLScTogglesElement extends Components.ScToggles, HTMLStencilElement {
6671 }
6672 var HTMLScTogglesElement: {
6673 prototype: HTMLScTogglesElement;
6674 new (): HTMLScTogglesElement;
6675 };
6676 interface HTMLScTooltipElement extends Components.ScTooltip, HTMLStencilElement {
6677 }
6678 var HTMLScTooltipElement: {
6679 prototype: HTMLScTooltipElement;
6680 new (): HTMLScTooltipElement;
6681 };
6682 interface HTMLScTotalElement extends Components.ScTotal, HTMLStencilElement {
6683 }
6684 var HTMLScTotalElement: {
6685 prototype: HTMLScTotalElement;
6686 new (): HTMLScTotalElement;
6687 };
6688 interface HTMLScUpcomingInvoiceElement extends Components.ScUpcomingInvoice, HTMLStencilElement {
6689 }
6690 var HTMLScUpcomingInvoiceElement: {
6691 prototype: HTMLScUpcomingInvoiceElement;
6692 new (): HTMLScUpcomingInvoiceElement;
6693 };
6694 interface HTMLScUpgradeRequiredElement extends Components.ScUpgradeRequired, HTMLStencilElement {
6695 }
6696 var HTMLScUpgradeRequiredElement: {
6697 prototype: HTMLScUpgradeRequiredElement;
6698 new (): HTMLScUpgradeRequiredElement;
6699 };
6700 interface HTMLScUpsellElement extends Components.ScUpsell, HTMLStencilElement {
6701 }
6702 var HTMLScUpsellElement: {
6703 prototype: HTMLScUpsellElement;
6704 new (): HTMLScUpsellElement;
6705 };
6706 interface HTMLScUpsellCountdownTimerElement extends Components.ScUpsellCountdownTimer, HTMLStencilElement {
6707 }
6708 var HTMLScUpsellCountdownTimerElement: {
6709 prototype: HTMLScUpsellCountdownTimerElement;
6710 new (): HTMLScUpsellCountdownTimerElement;
6711 };
6712 interface HTMLScUpsellNoThanksButtonElement extends Components.ScUpsellNoThanksButton, HTMLStencilElement {
6713 }
6714 var HTMLScUpsellNoThanksButtonElement: {
6715 prototype: HTMLScUpsellNoThanksButtonElement;
6716 new (): HTMLScUpsellNoThanksButtonElement;
6717 };
6718 interface HTMLScUpsellSubmitButtonElement extends Components.ScUpsellSubmitButton, HTMLStencilElement {
6719 }
6720 var HTMLScUpsellSubmitButtonElement: {
6721 prototype: HTMLScUpsellSubmitButtonElement;
6722 new (): HTMLScUpsellSubmitButtonElement;
6723 };
6724 interface HTMLScUpsellTotalsElement extends Components.ScUpsellTotals, HTMLStencilElement {
6725 }
6726 var HTMLScUpsellTotalsElement: {
6727 prototype: HTMLScUpsellTotalsElement;
6728 new (): HTMLScUpsellTotalsElement;
6729 };
6730 interface HTMLScVisuallyHiddenElement extends Components.ScVisuallyHidden, HTMLStencilElement {
6731 }
6732 var HTMLScVisuallyHiddenElement: {
6733 prototype: HTMLScVisuallyHiddenElement;
6734 new (): HTMLScVisuallyHiddenElement;
6735 };
6736 interface HTMLScWordpressPasswordEditElement extends Components.ScWordpressPasswordEdit, HTMLStencilElement {
6737 }
6738 var HTMLScWordpressPasswordEditElement: {
6739 prototype: HTMLScWordpressPasswordEditElement;
6740 new (): HTMLScWordpressPasswordEditElement;
6741 };
6742 interface HTMLScWordpressUserElement extends Components.ScWordpressUser, HTMLStencilElement {
6743 }
6744 var HTMLScWordpressUserElement: {
6745 prototype: HTMLScWordpressUserElement;
6746 new (): HTMLScWordpressUserElement;
6747 };
6748 interface HTMLScWordpressUserEditElement extends Components.ScWordpressUserEdit, HTMLStencilElement {
6749 }
6750 var HTMLScWordpressUserEditElement: {
6751 prototype: HTMLScWordpressUserEditElement;
6752 new (): HTMLScWordpressUserEditElement;
6753 };
6754 interface HTMLElementTagNameMap {
6755 "sc-address": HTMLScAddressElement;
6756 "sc-alert": HTMLScAlertElement;
6757 "sc-avatar": HTMLScAvatarElement;
6758 "sc-badge-notice": HTMLScBadgeNoticeElement;
6759 "sc-block-ui": HTMLScBlockUiElement;
6760 "sc-breadcrumb": HTMLScBreadcrumbElement;
6761 "sc-breadcrumbs": HTMLScBreadcrumbsElement;
6762 "sc-button": HTMLScButtonElement;
6763 "sc-button-group": HTMLScButtonGroupElement;
6764 "sc-cancel-dialog": HTMLScCancelDialogElement;
6765 "sc-cancel-discount": HTMLScCancelDiscountElement;
6766 "sc-cancel-survey": HTMLScCancelSurveyElement;
6767 "sc-card": HTMLScCardElement;
6768 "sc-cart": HTMLScCartElement;
6769 "sc-cart-button": HTMLScCartButtonElement;
6770 "sc-cart-form": HTMLScCartFormElement;
6771 "sc-cart-form-submit": HTMLScCartFormSubmitElement;
6772 "sc-cart-header": HTMLScCartHeaderElement;
6773 "sc-cart-icon": HTMLScCartIconElement;
6774 "sc-cart-loader": HTMLScCartLoaderElement;
6775 "sc-cart-session-provider": HTMLScCartSessionProviderElement;
6776 "sc-cart-submit": HTMLScCartSubmitElement;
6777 "sc-cc-logo": HTMLScCcLogoElement;
6778 "sc-charges-list": HTMLScChargesListElement;
6779 "sc-checkbox": HTMLScCheckboxElement;
6780 "sc-checkout": HTMLScCheckoutElement;
6781 "sc-checkout-form-errors": HTMLScCheckoutFormErrorsElement;
6782 "sc-checkout-mollie-payment": HTMLScCheckoutMolliePaymentElement;
6783 "sc-checkout-paystack-payment-provider": HTMLScCheckoutPaystackPaymentProviderElement;
6784 "sc-checkout-product-price-variant-selector": HTMLScCheckoutProductPriceVariantSelectorElement;
6785 "sc-checkout-stock-alert": HTMLScCheckoutStockAlertElement;
6786 "sc-checkout-test-complete": HTMLScCheckoutTestCompleteElement;
6787 "sc-checkout-unsaved-changes-warning": HTMLScCheckoutUnsavedChangesWarningElement;
6788 "sc-choice": HTMLScChoiceElement;
6789 "sc-choice-container": HTMLScChoiceContainerElement;
6790 "sc-choices": HTMLScChoicesElement;
6791 "sc-column": HTMLScColumnElement;
6792 "sc-columns": HTMLScColumnsElement;
6793 "sc-compact-address": HTMLScCompactAddressElement;
6794 "sc-conditional-form": HTMLScConditionalFormElement;
6795 "sc-consumer": HTMLScConsumerElement;
6796 "sc-coupon-form": HTMLScCouponFormElement;
6797 "sc-custom-order-price-input": HTMLScCustomOrderPriceInputElement;
6798 "sc-customer-details": HTMLScCustomerDetailsElement;
6799 "sc-customer-edit": HTMLScCustomerEditElement;
6800 "sc-customer-email": HTMLScCustomerEmailElement;
6801 "sc-customer-firstname": HTMLScCustomerFirstnameElement;
6802 "sc-customer-lastname": HTMLScCustomerLastnameElement;
6803 "sc-customer-name": HTMLScCustomerNameElement;
6804 "sc-customer-phone": HTMLScCustomerPhoneElement;
6805 "sc-dashboard-customer-details": HTMLScDashboardCustomerDetailsElement;
6806 "sc-dashboard-downloads-list": HTMLScDashboardDownloadsListElement;
6807 "sc-dashboard-module": HTMLScDashboardModuleElement;
6808 "sc-dialog": HTMLScDialogElement;
6809 "sc-divider": HTMLScDividerElement;
6810 "sc-donation-choices": HTMLScDonationChoicesElement;
6811 "sc-downloads-list": HTMLScDownloadsListElement;
6812 "sc-drawer": HTMLScDrawerElement;
6813 "sc-dropdown": HTMLScDropdownElement;
6814 "sc-empty": HTMLScEmptyElement;
6815 "sc-error": HTMLScErrorElement;
6816 "sc-express-payment": HTMLScExpressPaymentElement;
6817 "sc-feature-demo-banner": HTMLScFeatureDemoBannerElement;
6818 "sc-flex": HTMLScFlexElement;
6819 "sc-form": HTMLScFormElement;
6820 "sc-form-components-validator": HTMLScFormComponentsValidatorElement;
6821 "sc-form-control": HTMLScFormControlElement;
6822 "sc-form-error-provider": HTMLScFormErrorProviderElement;
6823 "sc-form-row": HTMLScFormRowElement;
6824 "sc-form-state-provider": HTMLScFormStateProviderElement;
6825 "sc-format-bytes": HTMLScFormatBytesElement;
6826 "sc-format-date": HTMLScFormatDateElement;
6827 "sc-format-interval": HTMLScFormatIntervalElement;
6828 "sc-format-number": HTMLScFormatNumberElement;
6829 "sc-fulfillment-shipping-status-badge": HTMLScFulfillmentShippingStatusBadgeElement;
6830 "sc-fulfillments": HTMLScFulfillmentsElement;
6831 "sc-heading": HTMLScHeadingElement;
6832 "sc-icon": HTMLScIconElement;
6833 "sc-image-slider": HTMLScImageSliderElement;
6834 "sc-input": HTMLScInputElement;
6835 "sc-invoice-details": HTMLScInvoiceDetailsElement;
6836 "sc-invoice-memo": HTMLScInvoiceMemoElement;
6837 "sc-invoice-status-badge": HTMLScInvoiceStatusBadgeElement;
6838 "sc-invoices-list": HTMLScInvoicesListElement;
6839 "sc-license": HTMLScLicenseElement;
6840 "sc-licenses-list": HTMLScLicensesListElement;
6841 "sc-line-item": HTMLScLineItemElement;
6842 "sc-line-item-bump": HTMLScLineItemBumpElement;
6843 "sc-line-item-invoice-due-date": HTMLScLineItemInvoiceDueDateElement;
6844 "sc-line-item-invoice-number": HTMLScLineItemInvoiceNumberElement;
6845 "sc-line-item-invoice-receipt-download": HTMLScLineItemInvoiceReceiptDownloadElement;
6846 "sc-line-item-shipping": HTMLScLineItemShippingElement;
6847 "sc-line-item-tax": HTMLScLineItemTaxElement;
6848 "sc-line-item-total": HTMLScLineItemTotalElement;
6849 "sc-line-items": HTMLScLineItemsElement;
6850 "sc-line-items-provider": HTMLScLineItemsProviderElement;
6851 "sc-login-form": HTMLScLoginFormElement;
6852 "sc-login-provider": HTMLScLoginProviderElement;
6853 "sc-manual-payment-method": HTMLScManualPaymentMethodElement;
6854 "sc-menu": HTMLScMenuElement;
6855 "sc-menu-divider": HTMLScMenuDividerElement;
6856 "sc-menu-item": HTMLScMenuItemElement;
6857 "sc-menu-label": HTMLScMenuLabelElement;
6858 "sc-mollie-add-method": HTMLScMollieAddMethodElement;
6859 "sc-order": HTMLScOrderElement;
6860 "sc-order-billing-address": HTMLScOrderBillingAddressElement;
6861 "sc-order-bump": HTMLScOrderBumpElement;
6862 "sc-order-bumps": HTMLScOrderBumpsElement;
6863 "sc-order-confirm-components-validator": HTMLScOrderConfirmComponentsValidatorElement;
6864 "sc-order-confirm-provider": HTMLScOrderConfirmProviderElement;
6865 "sc-order-confirmation": HTMLScOrderConfirmationElement;
6866 "sc-order-confirmation-customer": HTMLScOrderConfirmationCustomerElement;
6867 "sc-order-confirmation-details": HTMLScOrderConfirmationDetailsElement;
6868 "sc-order-confirmation-line-items": HTMLScOrderConfirmationLineItemsElement;
6869 "sc-order-confirmation-totals": HTMLScOrderConfirmationTotalsElement;
6870 "sc-order-coupon-form": HTMLScOrderCouponFormElement;
6871 "sc-order-detail": HTMLScOrderDetailElement;
6872 "sc-order-fulfillment-badge": HTMLScOrderFulfillmentBadgeElement;
6873 "sc-order-manual-instructions": HTMLScOrderManualInstructionsElement;
6874 "sc-order-password": HTMLScOrderPasswordElement;
6875 "sc-order-return-badge": HTMLScOrderReturnBadgeElement;
6876 "sc-order-shipment-badge": HTMLScOrderShipmentBadgeElement;
6877 "sc-order-shipping-address": HTMLScOrderShippingAddressElement;
6878 "sc-order-status-badge": HTMLScOrderStatusBadgeElement;
6879 "sc-order-submit": HTMLScOrderSubmitElement;
6880 "sc-order-summary": HTMLScOrderSummaryElement;
6881 "sc-order-tax-id-input": HTMLScOrderTaxIdInputElement;
6882 "sc-orders-list": HTMLScOrdersListElement;
6883 "sc-pagination": HTMLScPaginationElement;
6884 "sc-password": HTMLScPasswordElement;
6885 "sc-password-nag": HTMLScPasswordNagElement;
6886 "sc-payment": HTMLScPaymentElement;
6887 "sc-payment-method": HTMLScPaymentMethodElement;
6888 "sc-payment-method-choice": HTMLScPaymentMethodChoiceElement;
6889 "sc-payment-method-details": HTMLScPaymentMethodDetailsElement;
6890 "sc-payment-methods-list": HTMLScPaymentMethodsListElement;
6891 "sc-payment-selected": HTMLScPaymentSelectedElement;
6892 "sc-paypal-add-method": HTMLScPaypalAddMethodElement;
6893 "sc-paypal-buttons": HTMLScPaypalButtonsElement;
6894 "sc-paystack-add-method": HTMLScPaystackAddMethodElement;
6895 "sc-phone-input": HTMLScPhoneInputElement;
6896 "sc-pill-option": HTMLScPillOptionElement;
6897 "sc-premium-tag": HTMLScPremiumTagElement;
6898 "sc-price": HTMLScPriceElement;
6899 "sc-price-choice": HTMLScPriceChoiceElement;
6900 "sc-price-choice-container": HTMLScPriceChoiceContainerElement;
6901 "sc-price-choices": HTMLScPriceChoicesElement;
6902 "sc-price-input": HTMLScPriceInputElement;
6903 "sc-price-range": HTMLScPriceRangeElement;
6904 "sc-product-buy-button": HTMLScProductBuyButtonElement;
6905 "sc-product-donation-amount-choice": HTMLScProductDonationAmountChoiceElement;
6906 "sc-product-donation-choices": HTMLScProductDonationChoicesElement;
6907 "sc-product-donation-custom-amount": HTMLScProductDonationCustomAmountElement;
6908 "sc-product-item": HTMLScProductItemElement;
6909 "sc-product-item-image": HTMLScProductItemImageElement;
6910 "sc-product-item-list": HTMLScProductItemListElement;
6911 "sc-product-item-price": HTMLScProductItemPriceElement;
6912 "sc-product-item-title": HTMLScProductItemTitleElement;
6913 "sc-product-line-item": HTMLScProductLineItemElement;
6914 "sc-product-pills-variant-option": HTMLScProductPillsVariantOptionElement;
6915 "sc-product-price": HTMLScProductPriceElement;
6916 "sc-product-price-choices": HTMLScProductPriceChoicesElement;
6917 "sc-product-price-modal": HTMLScProductPriceModalElement;
6918 "sc-product-quantity": HTMLScProductQuantityElement;
6919 "sc-product-selected-price": HTMLScProductSelectedPriceElement;
6920 "sc-product-text": HTMLScProductTextElement;
6921 "sc-prose": HTMLScProseElement;
6922 "sc-provider": HTMLScProviderElement;
6923 "sc-provisional-banner": HTMLScProvisionalBannerElement;
6924 "sc-purchase-downloads-list": HTMLScPurchaseDownloadsListElement;
6925 "sc-quantity-select": HTMLScQuantitySelectElement;
6926 "sc-radio": HTMLScRadioElement;
6927 "sc-radio-group": HTMLScRadioGroupElement;
6928 "sc-recurring-price-choice-container": HTMLScRecurringPriceChoiceContainerElement;
6929 "sc-rich-text": HTMLScRichTextElement;
6930 "sc-secure-notice": HTMLScSecureNoticeElement;
6931 "sc-select": HTMLScSelectElement;
6932 "sc-session-provider": HTMLScSessionProviderElement;
6933 "sc-shipping-choices": HTMLScShippingChoicesElement;
6934 "sc-skeleton": HTMLScSkeletonElement;
6935 "sc-spacing": HTMLScSpacingElement;
6936 "sc-spinner": HTMLScSpinnerElement;
6937 "sc-stacked-list": HTMLScStackedListElement;
6938 "sc-stacked-list-row": HTMLScStackedListRowElement;
6939 "sc-stripe-add-method": HTMLScStripeAddMethodElement;
6940 "sc-stripe-element": HTMLScStripeElementElement;
6941 "sc-stripe-payment-element": HTMLScStripePaymentElementElement;
6942 "sc-stripe-payment-request": HTMLScStripePaymentRequestElement;
6943 "sc-subscription": HTMLScSubscriptionElement;
6944 "sc-subscription-ad-hoc-confirm": HTMLScSubscriptionAdHocConfirmElement;
6945 "sc-subscription-cancel": HTMLScSubscriptionCancelElement;
6946 "sc-subscription-details": HTMLScSubscriptionDetailsElement;
6947 "sc-subscription-next-payment": HTMLScSubscriptionNextPaymentElement;
6948 "sc-subscription-payment": HTMLScSubscriptionPaymentElement;
6949 "sc-subscription-payment-method": HTMLScSubscriptionPaymentMethodElement;
6950 "sc-subscription-reactivate": HTMLScSubscriptionReactivateElement;
6951 "sc-subscription-status-badge": HTMLScSubscriptionStatusBadgeElement;
6952 "sc-subscription-switch": HTMLScSubscriptionSwitchElement;
6953 "sc-subscription-variation-confirm": HTMLScSubscriptionVariationConfirmElement;
6954 "sc-subscriptions-list": HTMLScSubscriptionsListElement;
6955 "sc-summary": HTMLScSummaryElement;
6956 "sc-switch": HTMLScSwitchElement;
6957 "sc-tab": HTMLScTabElement;
6958 "sc-tab-group": HTMLScTabGroupElement;
6959 "sc-tab-panel": HTMLScTabPanelElement;
6960 "sc-table": HTMLScTableElement;
6961 "sc-table-cell": HTMLScTableCellElement;
6962 "sc-table-head": HTMLScTableHeadElement;
6963 "sc-table-row": HTMLScTableRowElement;
6964 "sc-tag": HTMLScTagElement;
6965 "sc-tax-id-input": HTMLScTaxIdInputElement;
6966 "sc-text": HTMLScTextElement;
6967 "sc-textarea": HTMLScTextareaElement;
6968 "sc-toggle": HTMLScToggleElement;
6969 "sc-toggles": HTMLScTogglesElement;
6970 "sc-tooltip": HTMLScTooltipElement;
6971 "sc-total": HTMLScTotalElement;
6972 "sc-upcoming-invoice": HTMLScUpcomingInvoiceElement;
6973 "sc-upgrade-required": HTMLScUpgradeRequiredElement;
6974 "sc-upsell": HTMLScUpsellElement;
6975 "sc-upsell-countdown-timer": HTMLScUpsellCountdownTimerElement;
6976 "sc-upsell-no-thanks-button": HTMLScUpsellNoThanksButtonElement;
6977 "sc-upsell-submit-button": HTMLScUpsellSubmitButtonElement;
6978 "sc-upsell-totals": HTMLScUpsellTotalsElement;
6979 "sc-visually-hidden": HTMLScVisuallyHiddenElement;
6980 "sc-wordpress-password-edit": HTMLScWordpressPasswordEditElement;
6981 "sc-wordpress-user": HTMLScWordpressUserElement;
6982 "sc-wordpress-user-edit": HTMLScWordpressUserEditElement;
6983 }
6984 }
6985 declare namespace LocalJSX {
6986 interface ScAddress {
6987 /**
6988 * The address.
6989 */
6990 "address"?: Partial<Address>;
6991 /**
6992 * Is this disabled?
6993 */
6994 "disabled"?: boolean;
6995 /**
6996 * The label for the field.
6997 */
6998 "label"?: string;
6999 /**
7000 * Is this loading?
7001 */
7002 "loading"?: boolean;
7003 "names"?: Partial<Address>;
7004 /**
7005 * Address change event.
7006 */
7007 "onScChangeAddress"?: (event: ScAddressCustomEvent<Partial<Address>>) => void;
7008 /**
7009 * Address change event.
7010 */
7011 "onScInputAddress"?: (event: ScAddressCustomEvent<Partial<Address>>) => void;
7012 "placeholders"?: Partial<Address>;
7013 /**
7014 * Is the name required
7015 */
7016 "requireName"?: boolean;
7017 /**
7018 * Is this required?
7019 */
7020 "required"?: boolean;
7021 /**
7022 * Should we show name field?
7023 */
7024 "showLine2"?: boolean;
7025 /**
7026 * Should we show name field?
7027 */
7028 "showName"?: boolean;
7029 }
7030 interface ScAlert {
7031 /**
7032 * Makes the alert closable.
7033 */
7034 "closable"?: boolean;
7035 /**
7036 * The length of time, in milliseconds, the alert will show before closing itself. If the user interacts with the alert before it closes (e.g. moves the mouse over it), the timer will restart. Defaults to `Infinity`.
7037 */
7038 "duration"?: number;
7039 /**
7040 * No icon
7041 */
7042 "noIcon"?: boolean;
7043 /**
7044 * When alert is hidden
7045 */
7046 "onScHide"?: (event: ScAlertCustomEvent<void>) => void;
7047 /**
7048 * When alert is shown
7049 */
7050 "onScShow"?: (event: ScAlertCustomEvent<void>) => void;
7051 /**
7052 * Indicates whether or not the alert is open. You can use this in lieu of the show/hide methods.
7053 */
7054 "open"?: boolean;
7055 /**
7056 * Scroll margin
7057 */
7058 "scrollMargin"?: string;
7059 /**
7060 * Scroll into view.
7061 */
7062 "scrollOnOpen"?: boolean;
7063 /**
7064 * The title.
7065 */
7066 "title"?: string;
7067 /**
7068 * The type of alert.
7069 */
7070 "type"?: 'primary' | 'success' | 'info' | 'warning' | 'danger';
7071 }
7072 interface ScAvatar {
7073 /**
7074 * The image source to use for the avatar.
7075 */
7076 "image"?: string;
7077 /**
7078 * Initials to use as a fallback when no image is available (1-2 characters max recommended).
7079 */
7080 "initials"?: string;
7081 /**
7082 * A label to use to describe the avatar to assistive devices.
7083 */
7084 "label"?: string;
7085 /**
7086 * Indicates how the browser should load the image.
7087 */
7088 "loading"?: 'eager' | 'lazy';
7089 /**
7090 * The shape of the avatar.
7091 */
7092 "shape"?: 'circle' | 'square' | 'rounded';
7093 }
7094 interface ScBadgeNotice {
7095 "label"?: string;
7096 "size"?: 'small' | 'medium' | 'large';
7097 "type"?: 'primary' | 'success' | 'info' | 'warning' | 'danger' | 'default';
7098 }
7099 interface ScBlockUi {
7100 "spinner"?: boolean;
7101 "transparent"?: boolean;
7102 "zIndex"?: number;
7103 }
7104 interface ScBreadcrumb {
7105 /**
7106 * Optional URL to direct the user to when the breadcrumb item is activated. When set, a link will be rendered internally. When unset, a button will be rendered instead.
7107 */
7108 "href"?: string;
7109 /**
7110 * The `rel` attribute to use on the link. Only used when `href` is set.
7111 */
7112 "rel"?: string;
7113 /**
7114 * Tells the browser where to open the link. Only used when `href` is set.
7115 */
7116 "target"?: '_blank' | '_parent' | '_self' | '_top';
7117 }
7118 interface ScBreadcrumbs {
7119 /**
7120 * The label to use for the breadcrumb control. This will not be shown, but it will be announced by screen readers and other assistive devices.
7121 */
7122 "label"?: string;
7123 }
7124 interface ScButton {
7125 /**
7126 * Tells the browser to autofocus.
7127 */
7128 "autofocus"?: boolean;
7129 /**
7130 * Draws the button in a busy state.
7131 */
7132 "busy"?: boolean;
7133 /**
7134 * Draws the button with a caret for use with dropdowns, popovers, etc.
7135 */
7136 "caret"?: boolean;
7137 /**
7138 * Draws a circle button.
7139 */
7140 "circle"?: boolean;
7141 /**
7142 * Disables the button.
7143 */
7144 "disabled"?: boolean;
7145 /**
7146 * Tells the browser to download the linked file as this filename. Only used when `href` is set.
7147 */
7148 "download"?: string;
7149 /**
7150 * Draws the button full-width.
7151 */
7152 "full"?: boolean;
7153 /**
7154 * When set, the underlying button will be rendered as an `<a>` with this `href` instead of a `<button>`.
7155 */
7156 "href"?: string;
7157 /**
7158 * Draws the button in a loading state.
7159 */
7160 "loading"?: boolean;
7161 /**
7162 * An optional name for the button. Ignored when `href` is set.
7163 */
7164 "name"?: string;
7165 /**
7166 * Emitted when the button loses focus.
7167 */
7168 "onScBlur"?: (event: ScButtonCustomEvent<void>) => void;
7169 /**
7170 * Emitted when the button gains focus.
7171 */
7172 "onScFocus"?: (event: ScButtonCustomEvent<void>) => void;
7173 /**
7174 * Draws an outlined button.
7175 */
7176 "outline"?: boolean;
7177 /**
7178 * Draws a pill-style button with rounded edges.
7179 */
7180 "pill"?: boolean;
7181 /**
7182 * The button's size.
7183 */
7184 "size"?: 'small' | 'medium' | 'large';
7185 /**
7186 * Indicates if activating the button should submit the form. Ignored when `href` is set.
7187 */
7188 "submit"?: boolean;
7189 /**
7190 * Tells the browser where to open the link. Only used when `href` is set.
7191 */
7192 "target"?: '_blank' | '_parent' | '_self' | '_top';
7193 /**
7194 * The button's type.
7195 */
7196 "type"?: 'default' | 'primary' | 'success' | 'info' | 'warning' | 'danger' | 'text' | 'link';
7197 /**
7198 * An optional value for the button. Ignored when `href` is set.
7199 */
7200 "value"?: string;
7201 }
7202 interface ScButtonGroup {
7203 "label"?: string;
7204 "separate"?: boolean;
7205 }
7206 interface ScCancelDialog {
7207 "onScRefresh"?: (event: ScCancelDialogCustomEvent<void>) => void;
7208 "onScRequestClose"?: (event: ScCancelDialogCustomEvent<'close-button' | 'keyboard' | 'overlay'>) => void;
7209 "open"?: boolean;
7210 "protocol"?: SubscriptionProtocol;
7211 "subscription"?: Subscription;
7212 }
7213 interface ScCancelDiscount {
7214 "comment"?: string;
7215 "onScCancel"?: (event: ScCancelDiscountCustomEvent<void>) => void;
7216 "onScPreserved"?: (event: ScCancelDiscountCustomEvent<void>) => void;
7217 "protocol"?: SubscriptionProtocol;
7218 "reason"?: CancellationReason;
7219 "subscription"?: Subscription;
7220 }
7221 interface ScCancelSurvey {
7222 "onScAbandon"?: (event: ScCancelSurveyCustomEvent<void>) => void;
7223 "onScSubmitReason"?: (event: ScCancelSurveyCustomEvent<{ reason: CancellationReason; comment: string }>) => void;
7224 "protocol"?: SubscriptionProtocol;
7225 "reasons"?: CancellationReason[];
7226 }
7227 interface ScCard {
7228 /**
7229 * Is this card borderless.
7230 */
7231 "borderless"?: boolean;
7232 /**
7233 * A link for the card.
7234 */
7235 "href"?: string;
7236 /**
7237 * Is this card loading.
7238 */
7239 "loading"?: boolean;
7240 /**
7241 * Eliminate the divider
7242 */
7243 "noDivider"?: boolean;
7244 /**
7245 * Remove padding
7246 */
7247 "noPadding"?: boolean;
7248 }
7249 interface ScCart {
7250 /**
7251 * Should we force show the cart, even if there's a form on the page?
7252 */
7253 "alwaysShow"?: boolean;
7254 /**
7255 * The template for the cart to inject when opened.
7256 */
7257 "cartTemplate"?: string;
7258 "checkoutLink"?: string;
7259 /**
7260 * The checkout url for the button.
7261 */
7262 "checkoutUrl"?: string;
7263 /**
7264 * Whether the floating button should be visible
7265 */
7266 "floatingIconEnabled"?: boolean;
7267 /**
7268 * The form id to use for the cart.
7269 */
7270 "formId"?: string;
7271 /**
7272 * The header for the popout.
7273 */
7274 "header"?: string;
7275 /**
7276 * Are we in test or live mode.
7277 */
7278 "mode"?: 'test' | 'live';
7279 }
7280 interface ScCartButton {
7281 /**
7282 * Whether the cart icon is always shown when the cart is empty
7283 */
7284 "cartMenuAlwaysShown"?: boolean;
7285 /**
7286 * The form id to use for the cart.
7287 */
7288 "formId"?: string;
7289 /**
7290 * Are we in test or live mode.
7291 */
7292 "mode"?: 'test' | 'live';
7293 /**
7294 * Whether the cart count will be shown or not when the cart is empty
7295 */
7296 "showEmptyCount"?: boolean;
7297 }
7298 interface ScCartForm {
7299 /**
7300 * The form id to use for the cart.
7301 */
7302 "formId"?: string;
7303 /**
7304 * Are we in test or live mode.
7305 */
7306 "mode"?: 'test' | 'live';
7307 /**
7308 * The price id to add.
7309 */
7310 "priceId"?: string;
7311 /**
7312 * The quantity
7313 */
7314 "quantity"?: number;
7315 /**
7316 * The variant id to add.
7317 */
7318 "variantId"?: string;
7319 }
7320 interface ScCartFormSubmit {
7321 /**
7322 * Show a full-width button.
7323 */
7324 "full"?: boolean;
7325 /**
7326 * Icon to show.
7327 */
7328 "icon"?: string;
7329 /**
7330 * The button's size.
7331 */
7332 "size"?: 'small' | 'medium' | 'large';
7333 /**
7334 * The button type.
7335 */
7336 "type"?: 'default' | 'primary' | 'success' | 'info' | 'warning' | 'danger' | 'text' | 'link';
7337 }
7338 interface ScCartHeader {
7339 "onScCloseCart"?: (event: ScCartHeaderCustomEvent<void>) => void;
7340 }
7341 interface ScCartIcon {
7342 /**
7343 * The icon to show.
7344 */
7345 "icon"?: string;
7346 }
7347 interface ScCartLoader {
7348 /**
7349 * The cart template to inject when opened.
7350 */
7351 "template"?: string;
7352 }
7353 interface ScCartSessionProvider {
7354 /**
7355 * Set the state
7356 */
7357 "onScSetState"?: (event: ScCartSessionProviderCustomEvent<'loading' | 'busy' | 'navigating' | 'idle'>) => void;
7358 }
7359 interface ScCartSubmit {
7360 /**
7361 * Is the cart busy
7362 */
7363 "busy"?: boolean;
7364 }
7365 interface ScCcLogo {
7366 "brand"?: string;
7367 }
7368 interface ScChargesList {
7369 "allLink"?: string;
7370 "heading"?: string;
7371 /**
7372 * Query to fetch charges
7373 */
7374 "query"?: {
7375 page: number;
7376 per_page: number;
7377 };
7378 "showPagination"?: boolean;
7379 }
7380 interface ScCheckbox {
7381 /**
7382 * Draws the checkbox in a checked state.
7383 */
7384 "checked"?: boolean;
7385 /**
7386 * Disables the checkbox.
7387 */
7388 "disabled"?: boolean;
7389 /**
7390 * Makes this edit and not editable.
7391 */
7392 "edit"?: boolean;
7393 /**
7394 * Draws the checkbox in an indeterminate state.
7395 */
7396 "indeterminate"?: boolean;
7397 /**
7398 * This will be true when the control is in an invalid state. Validity is determined by the `required` prop.
7399 */
7400 "invalid"?: boolean;
7401 /**
7402 * The checkbox's name attribute.
7403 */
7404 "name"?: string;
7405 /**
7406 * Emitted when the control loses focus.
7407 */
7408 "onScBlur"?: (event: ScCheckboxCustomEvent<void>) => void;
7409 /**
7410 * Emitted when the control's checked state changes.
7411 */
7412 "onScChange"?: (event: ScCheckboxCustomEvent<void>) => void;
7413 /**
7414 * Emitted when the control gains focus.
7415 */
7416 "onScFocus"?: (event: ScCheckboxCustomEvent<void>) => void;
7417 /**
7418 * Makes the checkbox a required field.
7419 */
7420 "required"?: boolean;
7421 /**
7422 * The checkbox's value attribute.
7423 */
7424 "value"?: string;
7425 }
7426 interface ScCheckout {
7427 /**
7428 * Is abandoned checkout enabled.
7429 */
7430 "abandonedCheckoutEnabled"?: boolean;
7431 /**
7432 * Alignment
7433 */
7434 "alignment"?: 'center' | 'wide' | 'full';
7435 /**
7436 * Currency to use for this checkout.
7437 */
7438 "currencyCode"?: string;
7439 /**
7440 * Stores the current customer
7441 */
7442 "customer"?: Customer;
7443 /**
7444 * Should we disable components validation
7445 */
7446 "disableComponentsValidation"?: boolean;
7447 /**
7448 * Can we edit line items?
7449 */
7450 "editLineItems"?: boolean;
7451 /**
7452 * The checkout form id
7453 */
7454 "formId"?: number;
7455 /**
7456 * Manual payment methods enabled for this form.
7457 */
7458 "manualPaymentMethods"?: ManualPaymentMethod[];
7459 /**
7460 * Are we in test or live mode.
7461 */
7462 "mode"?: 'test' | 'live';
7463 /**
7464 * When the form was modified.
7465 */
7466 "modified"?: string;
7467 /**
7468 * Checkout has an error.
7469 */
7470 "onScOrderError"?: (event: ScCheckoutCustomEvent<ResponseError>) => void;
7471 /**
7472 * Checkout has been finalized.
7473 */
7474 "onScOrderFinalized"?: (event: ScCheckoutCustomEvent<Checkout>) => void;
7475 /**
7476 * Checkout has been updated.
7477 */
7478 "onScOrderUpdated"?: (event: ScCheckoutCustomEvent<Checkout>) => void;
7479 /**
7480 * Whether to persist the session in the browser between visits.
7481 */
7482 "persistSession"?: boolean;
7483 /**
7484 * An array of prices to pre-fill in the form.
7485 */
7486 "prices"?: Array<PriceChoice>;
7487 /**
7488 * Processors enabled for this form.
7489 */
7490 "processors"?: Processor[];
7491 /**
7492 * A product to pre-fill the form.
7493 */
7494 "product"?: Product;
7495 /**
7496 * Can we remove line items?
7497 */
7498 "removeLineItems"?: boolean;
7499 /**
7500 * Use the Stripe payment element.
7501 */
7502 "stripePaymentElement"?: boolean;
7503 /**
7504 * Where to go on success
7505 */
7506 "successUrl"?: string;
7507 /**
7508 * The account tax protocol
7509 */
7510 "taxProtocol"?: TaxProtocol;
7511 }
7512 /**
7513 * This component listens for a confirmed event and redirects to the success url.
7514 */
7515 interface ScCheckoutFormErrors {
7516 }
7517 interface ScCheckoutMolliePayment {
7518 "method"?: string;
7519 "processorId"?: string;
7520 }
7521 interface ScCheckoutPaystackPaymentProvider {
7522 }
7523 interface ScCheckoutProductPriceVariantSelector {
7524 /**
7525 * The label for the price.
7526 */
7527 "label"?: string;
7528 /**
7529 * The product.
7530 */
7531 "product"?: Product;
7532 /**
7533 * The title for price and variant selections
7534 */
7535 "selectorTitle"?: string;
7536 }
7537 /**
7538 * This component listens for stock requirements and displays a dialog to the user.
7539 */
7540 interface ScCheckoutStockAlert {
7541 /**
7542 * Toggle line item event
7543 */
7544 "onScUpdateLineItem"?: (event: ScCheckoutStockAlertCustomEvent<LineItemData>) => void;
7545 }
7546 /**
7547 * This component listens to the order status
7548 * and confirms the order when payment is successful.
7549 */
7550 interface ScCheckoutTestComplete {
7551 /**
7552 * Checkout status to listen and do payment related stuff.
7553 */
7554 "checkoutStatus"?: string;
7555 /**
7556 * The order is paid event.
7557 */
7558 "onScOrderPaid"?: (event: ScCheckoutTestCompleteCustomEvent<Checkout>) => void;
7559 "onScSetState"?: (event: ScCheckoutTestCompleteCustomEvent<string>) => void;
7560 /**
7561 * Success url.
7562 */
7563 "successUrl"?: string;
7564 }
7565 interface ScCheckoutUnsavedChangesWarning {
7566 "state"?: FormState;
7567 }
7568 interface ScChoice {
7569 /**
7570 * Draws the choice in a checked state.
7571 */
7572 "checked"?: boolean;
7573 /**
7574 * Is the choice disabled
7575 */
7576 "disabled"?: boolean;
7577 /**
7578 * This will be true when the control is in an invalid state. Validity is determined by the `required` prop.
7579 */
7580 "invalid"?: boolean;
7581 /**
7582 * The choice name attribute
7583 */
7584 "name"?: string;
7585 /**
7586 * Emitted when the control loses focus.
7587 */
7588 "onScBlur"?: (event: ScChoiceCustomEvent<void>) => void;
7589 /**
7590 * Emitted when the control's checked state changes.
7591 */
7592 "onScChange"?: (event: ScChoiceCustomEvent<boolean>) => void;
7593 /**
7594 * Emitted when the control gains focus.
7595 */
7596 "onScFocus"?: (event: ScChoiceCustomEvent<void>) => void;
7597 /**
7598 * Is this required
7599 */
7600 "required"?: boolean;
7601 /**
7602 * Show the radio/checkbox control
7603 */
7604 "showControl"?: boolean;
7605 /**
7606 * Show the label
7607 */
7608 "showLabel"?: boolean;
7609 /**
7610 * Show the price
7611 */
7612 "showPrice"?: boolean;
7613 /**
7614 * The size.
7615 */
7616 "size"?: 'small' | 'medium' | 'large';
7617 /**
7618 * The choice name attribute
7619 */
7620 "type"?: 'radio' | 'checkbox';
7621 /**
7622 * The choice value
7623 */
7624 "value"?: string;
7625 }
7626 interface ScChoiceContainer {
7627 /**
7628 * Draws the choice in a checked state.
7629 */
7630 "checked"?: boolean;
7631 /**
7632 * Is the choice disabled
7633 */
7634 "disabled"?: boolean;
7635 /**
7636 * This will be true when the control is in an invalid state. Validity is determined by the `required` prop.
7637 */
7638 "invalid"?: boolean;
7639 /**
7640 * The choice name attribute
7641 */
7642 "name"?: string;
7643 /**
7644 * Emitted when the control loses focus.
7645 */
7646 "onScBlur"?: (event: ScChoiceContainerCustomEvent<void>) => void;
7647 /**
7648 * Emitted when the control's checked state changes.
7649 */
7650 "onScChange"?: (event: ScChoiceContainerCustomEvent<boolean>) => void;
7651 /**
7652 * Emitted when the control gains focus.
7653 */
7654 "onScFocus"?: (event: ScChoiceContainerCustomEvent<void>) => void;
7655 /**
7656 * Is this required
7657 */
7658 "required"?: boolean;
7659 /**
7660 * Role of radio/checkbox control
7661 */
7662 "role"?: string;
7663 /**
7664 * Show the radio/checkbox control
7665 */
7666 "showControl"?: boolean;
7667 /**
7668 * The size.
7669 */
7670 "size"?: 'small' | 'medium' | 'large';
7671 /**
7672 * The choice name attribute
7673 */
7674 "type"?: 'radio' | 'checkbox';
7675 /**
7676 * The choice value
7677 */
7678 "value"?: string;
7679 }
7680 interface ScChoices {
7681 "autoWidth"?: boolean;
7682 /**
7683 * Number of columns on desktop
7684 */
7685 "columns"?: number;
7686 /**
7687 * Validation error message.
7688 */
7689 "errorMessage"?: string;
7690 /**
7691 * The input's help text.
7692 */
7693 "help"?: string;
7694 /**
7695 * Hides the fieldset and legend that surrounds the group. The label will still be read by screen readers.
7696 */
7697 "hideLabel"?: boolean;
7698 /**
7699 * The group label. Required for proper accessibility. Alternatively, you can use the label slot.
7700 */
7701 "label"?: string;
7702 /**
7703 * Required
7704 */
7705 "required"?: boolean;
7706 /**
7707 * Should we show the label
7708 */
7709 "showLabel"?: boolean;
7710 /**
7711 * Input size
7712 */
7713 "size"?: 'small' | 'medium' | 'large';
7714 }
7715 interface ScColumn {
7716 }
7717 interface ScColumns {
7718 /**
7719 * Is this full vertical height
7720 */
7721 "isFullHeight"?: boolean;
7722 /**
7723 * Is this reverse ordered on mobile
7724 */
7725 "isReversedOnMobile"?: boolean;
7726 /**
7727 * Is this stacked on mobile
7728 */
7729 "isStackedOnMobile"?: boolean;
7730 /**
7731 * The vertical alignment of the columns.
7732 */
7733 "verticalAlignment"?: string;
7734 }
7735 interface ScCompactAddress {
7736 /**
7737 * The address.
7738 */
7739 "address"?: Partial<Address>;
7740 /**
7741 * Label for the address
7742 */
7743 "label"?: string;
7744 /**
7745 * Is this loading
7746 */
7747 "loading"?: boolean;
7748 "names"?: Partial<Address>;
7749 /**
7750 * Address change event.
7751 */
7752 "onScChangeAddress"?: (event: ScCompactAddressCustomEvent<Partial<Address>>) => void;
7753 /**
7754 * Address input event.
7755 */
7756 "onScInputAddress"?: (event: ScCompactAddressCustomEvent<Partial<Address>>) => void;
7757 /**
7758 * Placeholders
7759 */
7760 "placeholders"?: Partial<Address>;
7761 /**
7762 * Is this required?
7763 */
7764 "required"?: boolean;
7765 }
7766 interface ScConditionalForm {
7767 /**
7768 * Selector label
7769 */
7770 "rule_groups"?: RuleGroup[];
7771 }
7772 interface ScConsumer {
7773 "onMountConsumer"?: (event: ScConsumerCustomEvent<any>) => void;
7774 "renderer"?: any;
7775 }
7776 interface ScCouponForm {
7777 /**
7778 * Is the form calculating
7779 */
7780 "busy"?: boolean;
7781 /**
7782 * The text for apply button
7783 */
7784 "buttonText"?: string;
7785 "collapsed"?: boolean;
7786 /**
7787 * Currency
7788 */
7789 "currency"?: string;
7790 /**
7791 * The discount
7792 */
7793 "discount"?: DiscountResponse;
7794 /**
7795 * The discount amount
7796 */
7797 "discountAmount"?: number;
7798 /**
7799 * Is the form editable
7800 */
7801 "editable"?: boolean;
7802 /**
7803 * The error message
7804 */
7805 "error"?: string;
7806 /**
7807 * Force the form to show
7808 */
7809 "forceOpen"?: boolean;
7810 /**
7811 * The label for the coupon form
7812 */
7813 "label"?: string;
7814 /**
7815 * Is the form loading
7816 */
7817 "loading"?: boolean;
7818 /**
7819 * When the coupon is applied
7820 */
7821 "onScApplyCoupon"?: (event: ScCouponFormCustomEvent<string>) => void;
7822 /**
7823 * Is it open
7824 */
7825 "open"?: boolean;
7826 /**
7827 * The placeholder for the input
7828 */
7829 "placeholder"?: string;
7830 /**
7831 * Has recurring
7832 */
7833 "showInterval"?: boolean;
7834 }
7835 interface ScCustomOrderPriceInput {
7836 /**
7837 * Is this busy
7838 */
7839 "busy"?: boolean;
7840 /**
7841 * Help text.
7842 */
7843 "help"?: string;
7844 /**
7845 * Label for the field.
7846 */
7847 "label"?: string;
7848 /**
7849 * Label for the choice.
7850 */
7851 "lineItems"?: LineItem[];
7852 /**
7853 * Is this loading
7854 */
7855 "loading"?: boolean;
7856 /**
7857 * Toggle line item event
7858 */
7859 "onScUpdateLineItem"?: (event: ScCustomOrderPriceInputCustomEvent<LineItemData1>) => void;
7860 /**
7861 * Input placeholder.
7862 */
7863 "placeholder"?: string;
7864 /**
7865 * Stores the price
7866 */
7867 "price"?: Price;
7868 /**
7869 * Id of the price.
7870 */
7871 "priceId"?: string;
7872 /**
7873 * Is this required?
7874 */
7875 "required"?: boolean;
7876 /**
7877 * Show the currency code?
7878 */
7879 "showCode"?: boolean;
7880 }
7881 interface ScCustomerDetails {
7882 "customer"?: Customer;
7883 "editLink"?: string;
7884 "error"?: string;
7885 "heading"?: string;
7886 "loading"?: boolean;
7887 }
7888 interface ScCustomerEdit {
7889 "customer"?: Customer;
7890 "heading"?: string;
7891 "successUrl"?: string;
7892 }
7893 interface ScCustomerEmail {
7894 /**
7895 * The input's autofocus attribute.
7896 */
7897 "autofocus"?: boolean;
7898 /**
7899 * Disables the input.
7900 */
7901 "disabled"?: boolean;
7902 /**
7903 * Inputs focus
7904 */
7905 "hasFocus"?: boolean;
7906 /**
7907 * The input's help text.
7908 */
7909 "help"?: string;
7910 /**
7911 * This will be true when the control is in an invalid state. Validity is determined by props such as `type`, `required`, `minlength`, `maxlength`, and `pattern` using the browser's constraint validation API.
7912 */
7913 "invalid"?: boolean;
7914 /**
7915 * The input's label.
7916 */
7917 "label"?: string;
7918 /**
7919 * Emitted when the control loses focus.
7920 */
7921 "onScBlur"?: (event: ScCustomerEmailCustomEvent<void>) => void;
7922 /**
7923 * Emitted when the control's value changes.
7924 */
7925 "onScChange"?: (event: ScCustomerEmailCustomEvent<void>) => void;
7926 /**
7927 * Emitted when the clear button is activated.
7928 */
7929 "onScClear"?: (event: ScCustomerEmailCustomEvent<void>) => void;
7930 /**
7931 * Emitted when the control gains focus.
7932 */
7933 "onScFocus"?: (event: ScCustomerEmailCustomEvent<void>) => void;
7934 /**
7935 * Emitted when the control receives input.
7936 */
7937 "onScInput"?: (event: ScCustomerEmailCustomEvent<void>) => void;
7938 /**
7939 * Prompt for login.
7940 */
7941 "onScLoginPrompt"?: (event: ScCustomerEmailCustomEvent<void>) => void;
7942 /**
7943 * Update the abandoned cart.
7944 */
7945 "onScUpdateAbandonedCart"?: (event: ScCustomerEmailCustomEvent<boolean>) => void;
7946 /**
7947 * Update the order state.
7948 */
7949 "onScUpdateOrderState"?: (event: ScCustomerEmailCustomEvent<Checkout>) => void;
7950 /**
7951 * Draws a pill-style input with rounded edges.
7952 */
7953 "pill"?: boolean;
7954 /**
7955 * The input's placeholder text.
7956 */
7957 "placeholder"?: string;
7958 /**
7959 * Makes the input readonly.
7960 */
7961 "readonly"?: boolean;
7962 /**
7963 * Makes the input a required field.
7964 */
7965 "required"?: boolean;
7966 /**
7967 * Should we show the label
7968 */
7969 "showLabel"?: boolean;
7970 /**
7971 * The input's size.
7972 */
7973 "size"?: 'small' | 'medium' | 'large';
7974 /**
7975 * A message for tracking confirmation.
7976 */
7977 "trackingConfirmationMessage"?: string;
7978 /**
7979 * The input's value attribute.
7980 */
7981 "value"?: string;
7982 }
7983 interface ScCustomerFirstname {
7984 /**
7985 * The input's autofocus attribute.
7986 */
7987 "autofocus"?: boolean;
7988 /**
7989 * Disables the input.
7990 */
7991 "disabled"?: boolean;
7992 /**
7993 * Inputs focus
7994 */
7995 "hasFocus"?: boolean;
7996 /**
7997 * The input's help text.
7998 */
7999 "help"?: string;
8000 /**
8001 * This will be true when the control is in an invalid state. Validity is determined by props such as `type`, `required`, `minlength`, `maxlength`, and `pattern` using the browser's constraint validation API.
8002 */
8003 "invalid"?: boolean;
8004 /**
8005 * The input's label.
8006 */
8007 "label"?: string;
8008 /**
8009 * Is the user logged in.
8010 */
8011 "loggedIn"?: boolean;
8012 /**
8013 * Emitted when the control loses focus.
8014 */
8015 "onScBlur"?: (event: ScCustomerFirstnameCustomEvent<void>) => void;
8016 /**
8017 * Emitted when the control's value changes.
8018 */
8019 "onScChange"?: (event: ScCustomerFirstnameCustomEvent<void>) => void;
8020 /**
8021 * Emitted when the clear button is activated.
8022 */
8023 "onScClear"?: (event: ScCustomerFirstnameCustomEvent<void>) => void;
8024 /**
8025 * Emitted when the control gains focus.
8026 */
8027 "onScFocus"?: (event: ScCustomerFirstnameCustomEvent<void>) => void;
8028 /**
8029 * Emitted when the control receives input.
8030 */
8031 "onScInput"?: (event: ScCustomerFirstnameCustomEvent<void>) => void;
8032 "onScUpdateCustomer"?: (event: ScCustomerFirstnameCustomEvent<{ email: string }>) => void;
8033 "onScUpdateOrderState"?: (event: ScCustomerFirstnameCustomEvent<Partial<Checkout>>) => void;
8034 /**
8035 * Draws a pill-style input with rounded edges.
8036 */
8037 "pill"?: boolean;
8038 /**
8039 * The input's placeholder text.
8040 */
8041 "placeholder"?: string;
8042 /**
8043 * Makes the input readonly.
8044 */
8045 "readonly"?: boolean;
8046 /**
8047 * Makes the input a required field.
8048 */
8049 "required"?: boolean;
8050 /**
8051 * Should we show the label
8052 */
8053 "showLabel"?: boolean;
8054 /**
8055 * The input's size.
8056 */
8057 "size"?: 'small' | 'medium' | 'large';
8058 /**
8059 * The input's value attribute.
8060 */
8061 "value"?: string;
8062 }
8063 interface ScCustomerLastname {
8064 /**
8065 * The input's autofocus attribute.
8066 */
8067 "autofocus"?: boolean;
8068 /**
8069 * Disables the input.
8070 */
8071 "disabled"?: boolean;
8072 /**
8073 * Inputs focus
8074 */
8075 "hasFocus"?: boolean;
8076 /**
8077 * The input's help text.
8078 */
8079 "help"?: string;
8080 /**
8081 * This will be true when the control is in an invalid state. Validity is determined by props such as `type`, `required`, `minlength`, `maxlength`, and `pattern` using the browser's constraint validation API.
8082 */
8083 "invalid"?: boolean;
8084 /**
8085 * The input's label.
8086 */
8087 "label"?: string;
8088 /**
8089 * Is the user logged in.
8090 */
8091 "loggedIn"?: boolean;
8092 /**
8093 * Emitted when the control loses focus.
8094 */
8095 "onScBlur"?: (event: ScCustomerLastnameCustomEvent<void>) => void;
8096 /**
8097 * Emitted when the control gains focus.
8098 */
8099 "onScFocus"?: (event: ScCustomerLastnameCustomEvent<void>) => void;
8100 /**
8101 * Emitted when the control receives input.
8102 */
8103 "onScInput"?: (event: ScCustomerLastnameCustomEvent<void>) => void;
8104 /**
8105 * Draws a pill-style input with rounded edges.
8106 */
8107 "pill"?: boolean;
8108 /**
8109 * The input's placeholder text.
8110 */
8111 "placeholder"?: string;
8112 /**
8113 * Makes the input readonly.
8114 */
8115 "readonly"?: boolean;
8116 /**
8117 * Makes the input a required field.
8118 */
8119 "required"?: boolean;
8120 /**
8121 * Should we show the label
8122 */
8123 "showLabel"?: boolean;
8124 /**
8125 * The input's size.
8126 */
8127 "size"?: 'small' | 'medium' | 'large';
8128 /**
8129 * The input's value attribute.
8130 */
8131 "value"?: any;
8132 }
8133 interface ScCustomerName {
8134 /**
8135 * The input's autofocus attribute.
8136 */
8137 "autofocus"?: boolean;
8138 /**
8139 * Disables the input.
8140 */
8141 "disabled"?: boolean;
8142 /**
8143 * Inputs focus
8144 */
8145 "hasFocus"?: boolean;
8146 /**
8147 * The input's help text.
8148 */
8149 "help"?: string;
8150 /**
8151 * This will be true when the control is in an invalid state. Validity is determined by props such as `type`, `required`, `minlength`, `maxlength`, and `pattern` using the browser's constraint validation API.
8152 */
8153 "invalid"?: boolean;
8154 /**
8155 * The input's label.
8156 */
8157 "label"?: string;
8158 /**
8159 * Emitted when the control loses focus.
8160 */
8161 "onScBlur"?: (event: ScCustomerNameCustomEvent<void>) => void;
8162 /**
8163 * Emitted when the control gains focus.
8164 */
8165 "onScFocus"?: (event: ScCustomerNameCustomEvent<void>) => void;
8166 /**
8167 * Emitted when the control receives input.
8168 */
8169 "onScInput"?: (event: ScCustomerNameCustomEvent<void>) => void;
8170 /**
8171 * Draws a pill-style input with rounded edges.
8172 */
8173 "pill"?: boolean;
8174 /**
8175 * The input's placeholder text.
8176 */
8177 "placeholder"?: string;
8178 /**
8179 * Makes the input readonly.
8180 */
8181 "readonly"?: boolean;
8182 /**
8183 * Makes the input a required field.
8184 */
8185 "required"?: boolean;
8186 /**
8187 * Should we show the label
8188 */
8189 "showLabel"?: boolean;
8190 /**
8191 * The input's size.
8192 */
8193 "size"?: 'small' | 'medium' | 'large';
8194 /**
8195 * The input's value attribute.
8196 */
8197 "value"?: any;
8198 }
8199 interface ScCustomerPhone {
8200 /**
8201 * The input's autofocus attribute.
8202 */
8203 "autofocus"?: boolean;
8204 /**
8205 * Disables the input.
8206 */
8207 "disabled"?: boolean;
8208 /**
8209 * Error focus
8210 */
8211 "error"?: boolean;
8212 /**
8213 * Inputs focus
8214 */
8215 "hasFocus"?: boolean;
8216 /**
8217 * The input's help text.
8218 */
8219 "help"?: string;
8220 /**
8221 * This will be true when the control is in an invalid state. Validity is determined by props such as `type`, `required`, `minlength`, `maxlength`, and `pattern` using the browser's constraint validation API.
8222 */
8223 "invalid"?: boolean;
8224 /**
8225 * The input's label.
8226 */
8227 "label"?: string;
8228 /**
8229 * Emitted when the control loses focus.
8230 */
8231 "onScBlur"?: (event: ScCustomerPhoneCustomEvent<void>) => void;
8232 /**
8233 * Emitted when the control's value changes.
8234 */
8235 "onScChange"?: (event: ScCustomerPhoneCustomEvent<void>) => void;
8236 /**
8237 * Emitted when the clear button is activated.
8238 */
8239 "onScClear"?: (event: ScCustomerPhoneCustomEvent<void>) => void;
8240 /**
8241 * Emitted when the control gains focus.
8242 */
8243 "onScFocus"?: (event: ScCustomerPhoneCustomEvent<void>) => void;
8244 /**
8245 * Emitted when the control receives input.
8246 */
8247 "onScInput"?: (event: ScCustomerPhoneCustomEvent<void>) => void;
8248 /**
8249 * Draws a pill-style input with rounded edges.
8250 */
8251 "pill"?: boolean;
8252 /**
8253 * The input's placeholder text.
8254 */
8255 "placeholder"?: string;
8256 /**
8257 * Makes the input readonly.
8258 */
8259 "readonly"?: boolean;
8260 /**
8261 * Makes the input a required field.
8262 */
8263 "required"?: boolean;
8264 /**
8265 * Should we show the label
8266 */
8267 "showLabel"?: boolean;
8268 /**
8269 * The input's size.
8270 */
8271 "size"?: 'small' | 'medium' | 'large';
8272 /**
8273 * The input's value attribute.
8274 */
8275 "value"?: string;
8276 }
8277 interface ScDashboardCustomerDetails {
8278 "customerId"?: string;
8279 "heading"?: string;
8280 }
8281 interface ScDashboardDownloadsList {
8282 "allLink"?: string;
8283 "heading"?: string;
8284 "isCustomer"?: boolean;
8285 /**
8286 * Customer id to fetch subscriptions
8287 */
8288 "query"?: any;
8289 "requestNonce"?: string;
8290 }
8291 interface ScDashboardModule {
8292 "error"?: string;
8293 "heading"?: string;
8294 "loading"?: boolean;
8295 }
8296 interface ScDialog {
8297 /**
8298 * The dialog's label as displayed in the header. You should always include a relevant label even when using `no-header`, as it is required for proper accessibility.
8299 */
8300 "label"?: string;
8301 /**
8302 * Disables the header. This will also remove the default close button, so please ensure you provide an easy, accessible way for users to dismiss the dialog.
8303 */
8304 "noHeader"?: boolean;
8305 "onScAfterHide"?: (event: ScDialogCustomEvent<void>) => void;
8306 "onScAfterShow"?: (event: ScDialogCustomEvent<void>) => void;
8307 "onScHide"?: (event: ScDialogCustomEvent<void>) => void;
8308 "onScInitialFocus"?: (event: ScDialogCustomEvent<void>) => void;
8309 /**
8310 * Request close event
8311 */
8312 "onScRequestClose"?: (event: ScDialogCustomEvent<'close-button' | 'keyboard' | 'overlay'>) => void;
8313 "onScShow"?: (event: ScDialogCustomEvent<void>) => void;
8314 /**
8315 * Indicates whether or not the dialog is open. You can use this in lieu of the show/hide methods.
8316 */
8317 "open"?: boolean;
8318 }
8319 interface ScDivider {
8320 }
8321 interface ScDonationChoices {
8322 "busy"?: boolean;
8323 /**
8324 * Currency code for the donation.
8325 */
8326 "currencyCode"?: string;
8327 /**
8328 * The default amount to load the page with.
8329 */
8330 "defaultAmount"?: string;
8331 /**
8332 * The label for the field.
8333 */
8334 "label"?: string;
8335 /**
8336 * Order line items.
8337 */
8338 "lineItems"?: LineItem[];
8339 /**
8340 * Is this loading
8341 */
8342 "loading"?: boolean;
8343 /**
8344 * Toggle line item event
8345 */
8346 "onScAddLineItem"?: (event: ScDonationChoicesCustomEvent<LineItemData1>) => void;
8347 /**
8348 * Toggle line item event
8349 */
8350 "onScRemoveLineItem"?: (event: ScDonationChoicesCustomEvent<LineItemData1>) => void;
8351 /**
8352 * Toggle line item event
8353 */
8354 "onScUpdateLineItem"?: (event: ScDonationChoicesCustomEvent<LineItemData1>) => void;
8355 /**
8356 * The price id for the fields.
8357 */
8358 "priceId"?: string;
8359 "removeInvalid"?: boolean;
8360 }
8361 interface ScDownloadsList {
8362 "customerId"?: string;
8363 "downloads"?: Download[];
8364 "heading"?: string;
8365 }
8366 interface ScDrawer {
8367 /**
8368 * By default, the drawer slides out of its containing block (usually the viewport). To make the drawer slide out of its parent element, set this prop and add `position: relative` to the parent.
8369 */
8370 "contained"?: boolean;
8371 /**
8372 * The drawer's label as displayed in the header. You should always include a relevant label even when using `no-header`, as it is required for proper accessibility.
8373 */
8374 "label"?: string;
8375 /**
8376 * Removes the header. This will also remove the default close button, so please ensure you provide an easy, accessible way for users to dismiss the drawer.
8377 */
8378 "noHeader"?: boolean;
8379 "onScAfterHide"?: (event: ScDrawerCustomEvent<void>) => void;
8380 "onScAfterShow"?: (event: ScDrawerCustomEvent<void>) => void;
8381 "onScHide"?: (event: ScDrawerCustomEvent<void>) => void;
8382 "onScInitialFocus"?: (event: ScDrawerCustomEvent<void>) => void;
8383 "onScRequestClose"?: (event: ScDrawerCustomEvent<'close-button' | 'keyboard' | 'overlay' | 'method'>) => void;
8384 "onScShow"?: (event: ScDrawerCustomEvent<void>) => void;
8385 /**
8386 * Indicates whether or not the drawer is open. You can use this in lieu of the show/hide methods.
8387 */
8388 "open"?: boolean;
8389 /**
8390 * The direction from which the drawer will open.
8391 */
8392 "placement"?: 'top' | 'end' | 'bottom' | 'start';
8393 /**
8394 * Sticky drawer header
8395 */
8396 "stickyHeader"?: boolean;
8397 }
8398 interface ScDropdown {
8399 "clickEl"?: HTMLElement;
8400 /**
8401 * Determines whether the dropdown should hide when a menu item is selected
8402 */
8403 "closeOnSelect"?: boolean;
8404 /**
8405 * Is this disabled.
8406 */
8407 "disabled"?: boolean;
8408 /**
8409 * The distance in pixels from which to offset the panel away from its trigger.
8410 */
8411 "distance"?: number;
8412 /**
8413 * Enable this option to prevent the panel from being clipped when the component is placed inside a container with `overflow: auto|scroll`.
8414 */
8415 "hoist"?: boolean;
8416 /**
8417 * Emitted when the dropdown closes. Calling `event.preventDefault()` will prevent it from being closed.
8418 */
8419 "onScHide"?: (event: ScDropdownCustomEvent<void>) => void;
8420 /**
8421 * Emitted when the dropdown opens. Calling `event.preventDefault()` will prevent it from being opened.
8422 */
8423 "onScShow"?: (event: ScDropdownCustomEvent<void>) => void;
8424 /**
8425 * Indicates whether or not the dropdown is open. You can use this in lieu of the show/hide methods.
8426 */
8427 "open"?: boolean;
8428 /**
8429 * The placement of the dropdown.
8430 */
8431 "placement"?: | 'top'
8432 | 'top-start'
8433 | 'top-end'
8434 | 'bottom'
8435 | 'bottom-start'
8436 | 'bottom-end'
8437 | 'right'
8438 | 'right-start'
8439 | 'right-end'
8440 | 'left'
8441 | 'left-start'
8442 | 'left-end';
8443 /**
8444 * The placement of the dropdown panel
8445 */
8446 "position"?: 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right';
8447 /**
8448 * The distance in pixels from which to offset the panel along its trigger.
8449 */
8450 "skidding"?: number;
8451 }
8452 interface ScEmpty {
8453 "icon"?: string;
8454 }
8455 interface ScError {
8456 /**
8457 * Error to display.
8458 */
8459 "error"?: ResponseError | null;
8460 /**
8461 * Set the state.
8462 */
8463 "onScUpdateError"?: (event: ScErrorCustomEvent<ResponseError>) => void;
8464 }
8465 interface ScExpressPayment {
8466 "debug"?: boolean;
8467 "dividerText"?: string;
8468 "hasPaymentOptions"?: boolean;
8469 "processor"?: ProcessorName;
8470 }
8471 interface ScFeatureDemoBanner {
8472 "buttonText"?: string;
8473 "url"?: string;
8474 }
8475 interface ScFlex {
8476 "alignItems"?: string;
8477 "columnGap"?: string;
8478 "flexDirection"?: string;
8479 "flexWrap"?: string;
8480 "justifyContent"?: string;
8481 "stack"?: string;
8482 }
8483 interface ScForm {
8484 /**
8485 * Prevent the form from validating inputs before submitting.
8486 */
8487 "novalidate"?: boolean;
8488 /**
8489 * Emitted when the form is submitted. This event will not be emitted if any form control inside of it is in an invalid state, unless the form has the `novalidate` attribute. Note that there is never a need to prevent this event, since it doen't send a GET or POST request like native forms. To "prevent" submission, use a conditional around the XHR request you use to submit the form's data with.
8490 */
8491 "onScFormChange"?: (event: ScFormCustomEvent<Object>) => void;
8492 /**
8493 * Backwards compat.
8494 */
8495 "onScFormSubmit"?: (event: ScFormCustomEvent<void>) => void;
8496 /**
8497 * Emitted when the form is submitted. This event will not be emitted if any form control inside of it is in an invalid state, unless the form has the `novalidate` attribute. Note that there is never a need to prevent this event, since it doen't send a GET or POST request like native forms. To "prevent" submission, use a conditional around the XHR request you use to submit the form's data with.
8498 */
8499 "onScSubmit"?: (event: ScFormCustomEvent<void>) => void;
8500 }
8501 interface ScFormComponentsValidator {
8502 /**
8503 * Disable validation?
8504 */
8505 "disabled"?: boolean;
8506 /**
8507 * The tax protocol
8508 */
8509 "taxProtocol"?: TaxProtocol;
8510 }
8511 interface ScFormControl {
8512 /**
8513 * Help text
8514 */
8515 "help"?: string;
8516 /**
8517 * Help id
8518 */
8519 "helpId"?: string;
8520 /**
8521 * Input id.
8522 */
8523 "inputId"?: string;
8524 /**
8525 * Input label.
8526 */
8527 "label"?: string;
8528 /**
8529 * Input label id.
8530 */
8531 "labelId"?: string;
8532 /**
8533 * Name for the input. Used for validation errors.
8534 */
8535 "name"?: string;
8536 /**
8537 * Whether the input is required.
8538 */
8539 "required"?: boolean;
8540 /**
8541 * Show the label.
8542 */
8543 "showLabel"?: boolean;
8544 /**
8545 * Size of the label
8546 */
8547 "size"?: 'small' | 'medium' | 'large';
8548 }
8549 /**
8550 * This component checks to make sure there is an error component
8551 * and adds one if it's missing.
8552 */
8553 interface ScFormErrorProvider {
8554 }
8555 interface ScFormRow {
8556 }
8557 /**
8558 * This component listens for a confirmed event and redirects to the success url.
8559 */
8560 interface ScFormStateProvider {
8561 /**
8562 * Set the state.
8563 */
8564 "onScSetCheckoutFormState"?: (event: ScFormStateProviderCustomEvent<FormState>) => void;
8565 }
8566 interface ScFormatBytes {
8567 /**
8568 * Determines how to display the result, e.g. "100 bytes", "100 b", or "100b".
8569 */
8570 "display"?: 'long' | 'short' | 'narrow';
8571 /**
8572 * The locale to use when formatting the number.
8573 */
8574 "locale"?: string;
8575 /**
8576 * The unit to display.
8577 */
8578 "unit"?: 'byte' | 'bit';
8579 /**
8580 * The number to format in bytes.
8581 */
8582 "value"?: number;
8583 }
8584 interface ScFormatDate {
8585 /**
8586 * The date/time to format. If not set, the current date and time will be used.
8587 */
8588 "date"?: Date | string | number;
8589 /**
8590 * The format for displaying the day.
8591 */
8592 "day"?: 'numeric' | '2-digit';
8593 /**
8594 * The format for displaying the era.
8595 */
8596 "era"?: 'narrow' | 'short' | 'long';
8597 /**
8598 * The format for displaying the hour.
8599 */
8600 "hour"?: 'numeric' | '2-digit';
8601 /**
8602 * When set, 24 hour time will always be used.
8603 */
8604 "hourFormat"?: 'auto' | '12' | '24';
8605 /**
8606 * The locale to use when formatting the date/time.
8607 */
8608 "locale"?: string;
8609 /**
8610 * The format for displaying the minute.
8611 */
8612 "minute"?: 'numeric' | '2-digit';
8613 /**
8614 * The format for displaying the month.
8615 */
8616 "month"?: 'numeric' | '2-digit' | 'narrow' | 'short' | 'long';
8617 /**
8618 * The format for displaying the second.
8619 */
8620 "second"?: 'numeric' | '2-digit';
8621 /**
8622 * The time zone to express the time in.
8623 */
8624 "timeZone"?: string;
8625 /**
8626 * The format for displaying the time.
8627 */
8628 "timeZoneName"?: 'short' | 'long';
8629 "type"?: 'timestamp' | 'date';
8630 /**
8631 * The format for displaying the weekday.
8632 */
8633 "weekday"?: 'narrow' | 'short' | 'long';
8634 /**
8635 * The format for displaying the year.
8636 */
8637 "year"?: 'numeric' | '2-digit';
8638 }
8639 interface ScFormatInterval {
8640 "every"?: string;
8641 "fallback"?: string;
8642 "interval"?: string;
8643 /**
8644 * The number to format.
8645 */
8646 "value"?: number;
8647 }
8648 interface ScFormatNumber {
8649 /**
8650 * The currency to use when formatting. Must be an ISO 4217 currency code such as `USD` or `EUR`.
8651 */
8652 "currency"?: string;
8653 /**
8654 * How to display the currency.
8655 */
8656 "currencyDisplay"?: 'symbol' | 'narrowSymbol' | 'code' | 'name';
8657 /**
8658 * The locale to use when formatting the number.
8659 */
8660 "locale"?: string;
8661 /**
8662 * The maximum number of fraction digits to use. Possible values are 0 - 20.
8663 */
8664 "maximumFractionDigits"?: number;
8665 /**
8666 * The maximum number of significant digits to use,. Possible values are 1 - 21.
8667 */
8668 "maximumSignificantDigits"?: number;
8669 /**
8670 * The minimum number of fraction digits to use. Possible values are 0 - 20.
8671 */
8672 "minimumFractionDigits"?: number;
8673 /**
8674 * The minimum number of integer digits to use. Possible values are 1 - 21.
8675 */
8676 "minimumIntegerDigits"?: number;
8677 /**
8678 * The minimum number of significant digits to use. Possible values are 1 - 21.
8679 */
8680 "minimumSignificantDigits"?: number;
8681 /**
8682 * Should we convert
8683 */
8684 "noConvert"?: boolean;
8685 /**
8686 * Turns off grouping separators.
8687 */
8688 "noGrouping"?: boolean;
8689 /**
8690 * The formatting style to use.
8691 */
8692 "type"?: 'currency' | 'decimal' | 'percent' | 'unit';
8693 /**
8694 * The unit to use when formatting.
8695 */
8696 "unit"?: string;
8697 /**
8698 * The number to format.
8699 */
8700 "value"?: number;
8701 }
8702 interface ScFulfillmentShippingStatusBadge {
8703 /**
8704 * Makes the tag clearable.
8705 */
8706 "clearable"?: boolean;
8707 /**
8708 * Draws a pill-style tag with rounded edges.
8709 */
8710 "pill"?: boolean;
8711 /**
8712 * The tag's size.
8713 */
8714 "size"?: 'small' | 'medium' | 'large';
8715 /**
8716 * The tag's statux type.
8717 */
8718 "status"?: FulfillmentStatus;
8719 }
8720 interface ScFulfillments {
8721 "heading"?: string;
8722 "orderId"?: string;
8723 }
8724 interface ScHeading {
8725 "size"?: 'small' | 'medium' | 'large';
8726 }
8727 interface ScIcon {
8728 /**
8729 * An alternative description to use for accessibility. If omitted, the name or src will be used to generate it.
8730 */
8731 "label"?: string;
8732 /**
8733 * The name of a registered custom icon library.
8734 */
8735 "library"?: string;
8736 /**
8737 * The name of the icon to draw.
8738 */
8739 "name"?: string;
8740 /**
8741 * Emitted when the icon has loaded.
8742 */
8743 "onScLoad"?: (event: ScIconCustomEvent<void>) => void;
8744 /**
8745 * An external URL of an SVG file.
8746 */
8747 "src"?: string;
8748 }
8749 interface ScImageSlider {
8750 "autoHeight"?: boolean;
8751 "hasThumbnails"?: boolean;
8752 /**
8753 * Accept a string or an array of objects
8754 */
8755 "images"?: string | { src: string; alt: string; srcset; width: number; height: number; sizes: string; title: string }[];
8756 "thumbnails"?: string | { src: string; alt: string; srcset; width: number; height: number; sizes: string; title: string }[];
8757 "thumbnailsPerPage"?: number;
8758 }
8759 interface ScInput {
8760 /**
8761 * The input's autocomplete attribute.
8762 */
8763 "autocomplete"?: string;
8764 /**
8765 * The input's autocorrect attribute.
8766 */
8767 "autocorrect"?: string;
8768 /**
8769 * The input's autofocus attribute.
8770 */
8771 "autofocus"?: boolean;
8772 /**
8773 * Adds a clear button when the input is populated.
8774 */
8775 "clearable"?: boolean;
8776 /**
8777 * Disables the input.
8778 */
8779 "disabled"?: boolean;
8780 /**
8781 * Inputs focus
8782 */
8783 "hasFocus"?: boolean;
8784 /**
8785 * The input's help text.
8786 */
8787 "help"?: string;
8788 /**
8789 * Hidden
8790 */
8791 "hidden"?: boolean;
8792 /**
8793 * The input's inputmode attribute.
8794 */
8795 "inputmode"?: 'none' | 'text' | 'decimal' | 'numeric' | 'tel' | 'search' | 'email' | 'url';
8796 /**
8797 * This will be true when the control is in an invalid state. Validity is determined by props such as `type`, `required`, `minlength`, `maxlength`, and `pattern` using the browser's constraint validation API.
8798 */
8799 "invalid"?: boolean;
8800 /**
8801 * The input's label.
8802 */
8803 "label"?: string;
8804 /**
8805 * The input's maximum value.
8806 */
8807 "max"?: number | string;
8808 /**
8809 * The maximum length of input that will be considered valid.
8810 */
8811 "maxlength"?: number;
8812 /**
8813 * The input's minimum value.
8814 */
8815 "min"?: number | string;
8816 /**
8817 * The minimum length of input that will be considered valid.
8818 */
8819 "minlength"?: number;
8820 /**
8821 * The input's name attribute.
8822 */
8823 "name"?: string;
8824 /**
8825 * Emitted when the control loses focus.
8826 */
8827 "onScBlur"?: (event: ScInputCustomEvent<void>) => void;
8828 /**
8829 * Emitted when the control's value changes.
8830 */
8831 "onScChange"?: (event: ScInputCustomEvent<void>) => void;
8832 /**
8833 * Emitted when the clear button is activated.
8834 */
8835 "onScClear"?: (event: ScInputCustomEvent<void>) => void;
8836 /**
8837 * Emitted when the control gains focus.
8838 */
8839 "onScFocus"?: (event: ScInputCustomEvent<void>) => void;
8840 /**
8841 * Emitted when the control receives input.
8842 */
8843 "onScInput"?: (event: ScInputCustomEvent<void>) => void;
8844 /**
8845 * A pattern to validate input against.
8846 */
8847 "pattern"?: string;
8848 /**
8849 * Draws a pill-style input with rounded edges.
8850 */
8851 "pill"?: boolean;
8852 /**
8853 * The input's placeholder text.
8854 */
8855 "placeholder"?: string;
8856 /**
8857 * Makes the input readonly.
8858 */
8859 "readonly"?: boolean;
8860 /**
8861 * Makes the input a required field.
8862 */
8863 "required"?: boolean;
8864 /**
8865 * Should we show the label
8866 */
8867 "showLabel"?: boolean;
8868 /**
8869 * The input's size.
8870 */
8871 "size"?: 'small' | 'medium' | 'large';
8872 /**
8873 * Enables spell checking on the input.
8874 */
8875 "spellcheck"?: boolean;
8876 "squared"?: boolean;
8877 "squaredBottom"?: boolean;
8878 "squaredLeft"?: boolean;
8879 "squaredRight"?: boolean;
8880 "squaredTop"?: boolean;
8881 /**
8882 * The input's step attribute.
8883 */
8884 "step"?: number;
8885 /**
8886 * Adds a password toggle button to password inputs.
8887 */
8888 "togglePassword"?: boolean;
8889 /**
8890 * The input's type.
8891 */
8892 "type"?: 'email' | 'number' | 'password' | 'search' | 'tel' | 'text' | 'url' | 'hidden';
8893 /**
8894 * The input's value attribute.
8895 */
8896 "value"?: string;
8897 }
8898 interface ScInvoiceDetails {
8899 }
8900 interface ScInvoiceMemo {
8901 /**
8902 * Memo Label
8903 */
8904 "text"?: string;
8905 }
8906 interface ScInvoiceStatusBadge {
8907 /**
8908 * Makes the tag clearable.
8909 */
8910 "clearable"?: boolean;
8911 /**
8912 * Draws a pill-style tag with rounded edges.
8913 */
8914 "pill"?: boolean;
8915 /**
8916 * The tag's size.
8917 */
8918 "size"?: 'small' | 'medium' | 'large';
8919 /**
8920 * The tag's statux type.
8921 */
8922 "status"?: InvoiceStatus;
8923 }
8924 interface ScInvoicesList {
8925 "allLink"?: string;
8926 "heading"?: string;
8927 "isCustomer"?: boolean;
8928 /**
8929 * Query to fetch invoices
8930 */
8931 "query"?: {
8932 page: number;
8933 per_page: number;
8934 };
8935 }
8936 interface ScLicense {
8937 /**
8938 * The license id
8939 */
8940 "licenseId"?: string;
8941 }
8942 interface ScLicensesList {
8943 /**
8944 * View all link
8945 */
8946 "allLink"?: string;
8947 /**
8948 * The heading of the licenses
8949 */
8950 "heading"?: string;
8951 /**
8952 * Whether the current user is customer
8953 */
8954 "isCustomer"?: boolean;
8955 "licenses"?: License[];
8956 /**
8957 * Query to fetch licenses
8958 */
8959 "query"?: {
8960 page: number;
8961 per_page: number;
8962 };
8963 }
8964 interface ScLineItem {
8965 /**
8966 * Currency symbol
8967 */
8968 "currency"?: string;
8969 /**
8970 * Price of the item
8971 */
8972 "price"?: string;
8973 }
8974 interface ScLineItemBump {
8975 "label"?: string;
8976 "loading"?: boolean;
8977 }
8978 interface ScLineItemInvoiceDueDate {
8979 }
8980 interface ScLineItemInvoiceNumber {
8981 }
8982 interface ScLineItemInvoiceReceiptDownload {
8983 "checkout"?: Checkout;
8984 }
8985 interface ScLineItemShipping {
8986 /**
8987 * Label
8988 */
8989 "label"?: string;
8990 }
8991 interface ScLineItemTax {
8992 "loading"?: boolean;
8993 "order"?: Checkout;
8994 }
8995 interface ScLineItemTotal {
8996 "checkout"?: Checkout;
8997 "size"?: 'large' | 'medium';
8998 "total"?: 'total' | 'subtotal';
8999 }
9000 interface ScLineItems {
9001 /**
9002 * Is the line item editable?
9003 */
9004 "editable"?: boolean;
9005 /**
9006 * Is the line item removable?
9007 */
9008 "removable"?: boolean;
9009 }
9010 interface ScLineItemsProvider {
9011 /**
9012 * Update line items event
9013 */
9014 "onScUpdateLineItems"?: (event: ScLineItemsProviderCustomEvent<Array<LineItemData1>>) => void;
9015 /**
9016 * Order Object
9017 */
9018 "order"?: Checkout;
9019 }
9020 interface ScLoginForm {
9021 }
9022 interface ScLoginProvider {
9023 /**
9024 * Is the user logged in.
9025 */
9026 "loggedIn"?: boolean;
9027 "onScSetCustomer"?: (event: ScLoginProviderCustomEvent<{ email: string; name?: string }>) => void;
9028 "onScSetLoggedIn"?: (event: ScLoginProviderCustomEvent<boolean>) => void;
9029 "order"?: Checkout;
9030 }
9031 interface ScManualPaymentMethod {
9032 "paymentMethod"?: ManualPaymentMethod;
9033 "showDescription"?: boolean;
9034 }
9035 interface ScMenu {
9036 "ariaLabel"?: string;
9037 "onScSelect"?: (event: ScMenuCustomEvent<{ item: HTMLScMenuItemElement }>) => void;
9038 }
9039 interface ScMenuDivider {
9040 }
9041 interface ScMenuItem {
9042 /**
9043 * Draws the item in a checked state.
9044 */
9045 "checked"?: boolean;
9046 /**
9047 * Draws the menu item in a disabled state.
9048 */
9049 "disabled"?: boolean;
9050 /**
9051 * Optional link to follow.
9052 */
9053 "href"?: string;
9054 /**
9055 * The target of the link.
9056 */
9057 "target"?: string;
9058 /**
9059 * A unique value to store in the menu item. This can be used as a way to identify menu items when selected.
9060 */
9061 "value"?: string;
9062 }
9063 interface ScMenuLabel {
9064 }
9065 interface ScMollieAddMethod {
9066 "country"?: string;
9067 "currency"?: string;
9068 "customerId"?: string;
9069 "liveMode"?: boolean;
9070 "processorId"?: string;
9071 "successUrl"?: string;
9072 }
9073 interface ScOrder {
9074 "customerIds"?: string[];
9075 "heading"?: string;
9076 "orderId"?: string;
9077 }
9078 interface ScOrderBillingAddress {
9079 /**
9080 * City placeholder
9081 */
9082 "cityPlaceholder"?: string;
9083 /**
9084 * Country placeholder
9085 */
9086 "countryPlaceholder"?: string;
9087 /**
9088 * Default country for address
9089 */
9090 "defaultCountry"?: string;
9091 /**
9092 * Label for the field
9093 */
9094 "label"?: string;
9095 /**
9096 * Address placeholder
9097 */
9098 "line1Placeholder"?: string;
9099 /**
9100 * Address Line 2 placeholder
9101 */
9102 "line2Placeholder"?: string;
9103 /**
9104 * Name placeholder
9105 */
9106 "namePlaceholder"?: string;
9107 /**
9108 * Postal Code placeholder
9109 */
9110 "postalCodePlaceholder"?: string;
9111 /**
9112 * Show the name field
9113 */
9114 "showName"?: boolean;
9115 /**
9116 * State placeholder
9117 */
9118 "statePlaceholder"?: string;
9119 /**
9120 * Toggle label
9121 */
9122 "toggleLabel"?: string;
9123 }
9124 interface ScOrderBump {
9125 /**
9126 * The bump
9127 */
9128 "bump"?: Bump;
9129 /**
9130 * Should we show the controls
9131 */
9132 "showControl"?: boolean;
9133 }
9134 interface ScOrderBumps {
9135 "help"?: string;
9136 "label"?: string;
9137 "showControl"?: boolean;
9138 }
9139 interface ScOrderConfirmComponentsValidator {
9140 /**
9141 * The checkout
9142 */
9143 "checkout"?: Checkout;
9144 }
9145 /**
9146 * This component listens to the order status
9147 * and confirms the order when payment is successful.
9148 */
9149 interface ScOrderConfirmProvider {
9150 /**
9151 * Checkout status to listen and do payment related stuff.
9152 */
9153 "checkoutStatus"?: string;
9154 /**
9155 * The order is paid event.
9156 */
9157 "onScOrderPaid"?: (event: ScOrderConfirmProviderCustomEvent<Checkout>) => void;
9158 "onScSetState"?: (event: ScOrderConfirmProviderCustomEvent<string>) => void;
9159 /**
9160 * Success url.
9161 */
9162 "successUrl"?: string;
9163 }
9164 interface ScOrderConfirmation {
9165 "order"?: Checkout;
9166 }
9167 interface ScOrderConfirmationCustomer {
9168 /**
9169 * The customer
9170 */
9171 "customer"?: Customer;
9172 /**
9173 * Error message.
9174 */
9175 "error"?: string;
9176 /**
9177 * The heading
9178 */
9179 "heading"?: string;
9180 /**
9181 * Is this loading?
9182 */
9183 "loading"?: boolean;
9184 /**
9185 * The Order
9186 */
9187 "order"?: Checkout;
9188 }
9189 interface ScOrderConfirmationDetails {
9190 "loading"?: boolean;
9191 "order"?: Order;
9192 }
9193 interface ScOrderConfirmationLineItems {
9194 "loading"?: boolean;
9195 "order"?: Checkout;
9196 }
9197 interface ScOrderConfirmationTotals {
9198 "order"?: Checkout;
9199 }
9200 interface ScOrderCouponForm {
9201 "buttonText"?: string;
9202 "collapsed"?: boolean;
9203 "label"?: string;
9204 "loading"?: boolean;
9205 "placeholder"?: string;
9206 }
9207 interface ScOrderDetail {
9208 "fallback"?: string;
9209 "label"?: string;
9210 "loading"?: boolean;
9211 "metaKey"?: string;
9212 "order"?: Checkout;
9213 "value"?: string;
9214 }
9215 interface ScOrderFulfillmentBadge {
9216 /**
9217 * Makes the tag clearable.
9218 */
9219 "clearable"?: boolean;
9220 /**
9221 * Draws a pill-style tag with rounded edges.
9222 */
9223 "pill"?: boolean;
9224 /**
9225 * The tag's size.
9226 */
9227 "size"?: 'small' | 'medium' | 'large';
9228 /**
9229 * The tag's statux type.
9230 */
9231 "status"?: OrderFulFillmentStatus;
9232 }
9233 interface ScOrderManualInstructions {
9234 "manualPaymentInstructions"?: string;
9235 "manualPaymentTitle"?: string;
9236 }
9237 interface ScOrderPassword {
9238 /**
9239 * The input's autofocus attribute.
9240 */
9241 "autofocus"?: boolean;
9242 /**
9243 * The input's password confirmation attribute.
9244 */
9245 "confirmation"?: boolean;
9246 /**
9247 * The input's confirmation help text.
9248 */
9249 "confirmationHelp"?: string;
9250 /**
9251 * The input's confirmation label text.
9252 */
9253 "confirmationLabel"?: string;
9254 /**
9255 * The input's confirmation placeholder text.
9256 */
9257 "confirmationPlaceholder"?: string;
9258 /**
9259 * Disables the input.
9260 */
9261 "disabled"?: boolean;
9262 /**
9263 * Does the email exist?
9264 */
9265 "emailExists"?: boolean;
9266 /**
9267 * Ensures strong password validation.
9268 */
9269 "enableValidation"?: boolean;
9270 /**
9271 * The input's help text.
9272 */
9273 "help"?: string;
9274 /**
9275 * The input's label.
9276 */
9277 "label"?: string;
9278 "loggedIn"?: boolean;
9279 /**
9280 * Draws a pill-style input with rounded edges.
9281 */
9282 "pill"?: boolean;
9283 /**
9284 * The input's placeholder text.
9285 */
9286 "placeholder"?: string;
9287 /**
9288 * Makes the input readonly.
9289 */
9290 "readonly"?: boolean;
9291 /**
9292 * Makes the input a required field.
9293 */
9294 "required"?: boolean;
9295 /**
9296 * Should we show the label
9297 */
9298 "showLabel"?: boolean;
9299 /**
9300 * The input's size.
9301 */
9302 "size"?: 'small' | 'medium' | 'large';
9303 /**
9304 * The input's value attribute.
9305 */
9306 "value"?: string;
9307 }
9308 interface ScOrderReturnBadge {
9309 /**
9310 * Makes the tag clearable.
9311 */
9312 "clearable"?: boolean;
9313 /**
9314 * Draws a pill-style tag with rounded edges.
9315 */
9316 "pill"?: boolean;
9317 /**
9318 * The tag's size.
9319 */
9320 "size"?: 'small' | 'medium' | 'large';
9321 /**
9322 * The tag's statux type.
9323 */
9324 "status"?: ReturnRequestStatus;
9325 }
9326 interface ScOrderShipmentBadge {
9327 /**
9328 * Makes the tag clearable.
9329 */
9330 "clearable"?: boolean;
9331 /**
9332 * Draws a pill-style tag with rounded edges.
9333 */
9334 "pill"?: boolean;
9335 /**
9336 * The tag's size.
9337 */
9338 "size"?: 'small' | 'medium' | 'large';
9339 /**
9340 * The tag's statux type.
9341 */
9342 "status"?: OrderShipmentStatus;
9343 }
9344 interface ScOrderShippingAddress {
9345 "cityPlaceholder"?: string;
9346 "countryPlaceholder"?: string;
9347 /**
9348 * Default country for address
9349 */
9350 "defaultCountry"?: string;
9351 /**
9352 * Show the address
9353 */
9354 "full"?: boolean;
9355 /**
9356 * Label for the field.
9357 */
9358 "label"?: string;
9359 "line1Placeholder"?: string;
9360 "line2Placeholder"?: string;
9361 /**
9362 * Show the placeholder fields.
9363 */
9364 "namePlaceholder"?: string;
9365 /**
9366 * Placeholder values.
9367 */
9368 "placeholders"?: Partial<Address>;
9369 "postalCodePlaceholder"?: string;
9370 /**
9371 * Whether to require the name in the address
9372 */
9373 "requireName"?: boolean;
9374 /**
9375 * Is this required (defaults to false)
9376 */
9377 "required"?: boolean;
9378 /**
9379 * Show the name field.
9380 */
9381 "showName"?: boolean;
9382 "statePlaceholder"?: string;
9383 }
9384 interface ScOrderStatusBadge {
9385 /**
9386 * Makes the tag clearable.
9387 */
9388 "clearable"?: boolean;
9389 /**
9390 * Draws a pill-style tag with rounded edges.
9391 */
9392 "pill"?: boolean;
9393 /**
9394 * The tag's size.
9395 */
9396 "size"?: 'small' | 'medium' | 'large';
9397 /**
9398 * The tag's statux type.
9399 */
9400 "status"?: OrderStatus;
9401 }
9402 interface ScOrderSubmit {
9403 /**
9404 * Currency Code
9405 */
9406 "currencyCode"?: string;
9407 /**
9408 * Show a full-width button.
9409 */
9410 "full"?: boolean;
9411 /**
9412 * Icon to show.
9413 */
9414 "icon"?: string;
9415 /**
9416 * Is the order loading.
9417 */
9418 "loading"?: boolean;
9419 /**
9420 * The current order.
9421 */
9422 "order"?: Checkout;
9423 /**
9424 * Is the order paying.
9425 */
9426 "paying"?: boolean;
9427 /**
9428 * The selected processor.
9429 */
9430 "processor"?: ProcessorName;
9431 /**
9432 * Keys and secrets for processors.
9433 */
9434 "processors"?: Processor[];
9435 /**
9436 * Show the secure notice
9437 */
9438 "secureNotice"?: boolean;
9439 /**
9440 * Secure
9441 */
9442 "secureNoticeText"?: string;
9443 /**
9444 * Show the total.
9445 */
9446 "showTotal"?: boolean;
9447 /**
9448 * The button's size.
9449 */
9450 "size"?: 'small' | 'medium' | 'large';
9451 /**
9452 * The button type.
9453 */
9454 "type"?: 'default' | 'primary' | 'success' | 'info' | 'warning' | 'danger' | 'text' | 'link';
9455 }
9456 interface ScOrderSummary {
9457 "busy"?: boolean;
9458 "collapsed"?: boolean;
9459 "collapsedOnDesktop"?: boolean;
9460 "collapsedOnMobile"?: boolean;
9461 "collapsible"?: boolean;
9462 "invoiceSummaryText"?: string;
9463 /**
9464 * Show the toggle
9465 */
9466 "onScHide"?: (event: ScOrderSummaryCustomEvent<void>) => void;
9467 /**
9468 * Show the toggle
9469 */
9470 "onScShow"?: (event: ScOrderSummaryCustomEvent<void>) => void;
9471 "order"?: Checkout;
9472 "orderSummaryText"?: string;
9473 }
9474 interface ScOrderTaxIdInput {
9475 /**
9476 * AU zone label
9477 */
9478 "auAbnLabel"?: string;
9479 /**
9480 * GST zone label
9481 */
9482 "caGstLabel"?: string;
9483 /**
9484 * EU zone label
9485 */
9486 "euVatLabel"?: string;
9487 /**
9488 * UK zone label
9489 */
9490 "gbVatLabel"?: string;
9491 /**
9492 * Help text
9493 */
9494 "helpText"?: string;
9495 /**
9496 * Other zones label
9497 */
9498 "otherLabel"?: string;
9499 /**
9500 * Force show the field.
9501 */
9502 "show"?: boolean;
9503 /**
9504 * Tax ID Types which will be shown Eg: '["eu_vat", "gb_vat"]'
9505 */
9506 "taxIdTypes"?: string | string[];
9507 }
9508 interface ScOrdersList {
9509 "allLink"?: string;
9510 "heading"?: string;
9511 "isCustomer"?: boolean;
9512 /**
9513 * Query to fetch orders
9514 */
9515 "query"?: {
9516 page: number;
9517 per_page: number;
9518 };
9519 }
9520 interface ScPagination {
9521 "onScNextPage"?: (event: ScPaginationCustomEvent<void>) => void;
9522 "onScPrevPage"?: (event: ScPaginationCustomEvent<void>) => void;
9523 "page"?: number;
9524 "perPage"?: number;
9525 "total"?: number;
9526 "totalPages"?: number;
9527 "totalShowing"?: number;
9528 }
9529 interface ScPassword {
9530 /**
9531 * The input's autofocus attribute.
9532 */
9533 "autofocus"?: boolean;
9534 /**
9535 * The input's password confirmation attribute.
9536 */
9537 "confirmation"?: boolean;
9538 /**
9539 * The input's confirmation help text.
9540 */
9541 "confirmationHelp"?: string;
9542 /**
9543 * The input's confirmation label text.
9544 */
9545 "confirmationLabel"?: string;
9546 /**
9547 * The input's confirmation placeholder text.
9548 */
9549 "confirmationPlaceholder"?: string;
9550 /**
9551 * Disables the input.
9552 */
9553 "disabled"?: boolean;
9554 /**
9555 * Ensures strong password validation.
9556 */
9557 "enableValidation"?: boolean;
9558 /**
9559 * The input's help text.
9560 */
9561 "help"?: string;
9562 /**
9563 * The input's label.
9564 */
9565 "label"?: string;
9566 /**
9567 * The name for the input.
9568 */
9569 "name"?: string;
9570 /**
9571 * Draws a pill-style input with rounded edges.
9572 */
9573 "pill"?: boolean;
9574 /**
9575 * The input's placeholder text.
9576 */
9577 "placeholder"?: string;
9578 /**
9579 * Makes the input readonly.
9580 */
9581 "readonly"?: boolean;
9582 /**
9583 * Makes the input a required field.
9584 */
9585 "required"?: boolean;
9586 /**
9587 * Should we show the label
9588 */
9589 "showLabel"?: boolean;
9590 /**
9591 * The input's size.
9592 */
9593 "size"?: 'small' | 'medium' | 'large';
9594 /**
9595 * The input's value attribute.
9596 */
9597 "value"?: string;
9598 }
9599 interface ScPasswordNag {
9600 /**
9601 * Ensures strong password validation.
9602 */
9603 "enableValidation"?: boolean;
9604 "open"?: boolean;
9605 /**
9606 * The success url.
9607 */
9608 "successUrl"?: string;
9609 /**
9610 * The type of alert.
9611 */
9612 "type"?: 'primary' | 'success' | 'info' | 'warning' | 'danger';
9613 }
9614 interface ScPayment {
9615 /**
9616 * Disabled processor types
9617 */
9618 "disabledProcessorTypes"?: string[];
9619 /**
9620 * Hide the test mode badge
9621 */
9622 "hideTestModeBadge"?: boolean;
9623 /**
9624 * The input's label.
9625 */
9626 "label"?: string;
9627 "secureNotice"?: string;
9628 "stripePaymentElement"?: boolean;
9629 }
9630 interface ScPaymentMethod {
9631 "externalLink"?: string;
9632 "externalLinkTooltipText"?: string;
9633 "full"?: boolean;
9634 "paymentMethod"?: PaymentMethod;
9635 }
9636 interface ScPaymentMethodChoice {
9637 /**
9638 * Should we show this in a card?
9639 */
9640 "card"?: boolean;
9641 /**
9642 * Is this a manual processor
9643 */
9644 "isManual"?: boolean;
9645 /**
9646 * The method id
9647 */
9648 "methodId"?: string;
9649 /**
9650 * The processor ID
9651 */
9652 "processorId"?: string;
9653 }
9654 interface ScPaymentMethodDetails {
9655 "editHandler"?: () => void;
9656 "paymentMethod"?: PaymentMethod;
9657 }
9658 interface ScPaymentMethodsList {
9659 /**
9660 * Whether default payment method can be detached
9661 */
9662 "canDetachDefaultPaymentMethod"?: boolean;
9663 /**
9664 * The heading
9665 */
9666 "heading"?: string;
9667 /**
9668 * Is this a customer
9669 */
9670 "isCustomer"?: boolean;
9671 /**
9672 * Query to fetch paymentMethods
9673 */
9674 "query"?: object;
9675 }
9676 interface ScPaymentSelected {
9677 "iconName"?: string;
9678 "label"?: string;
9679 }
9680 interface ScPaypalAddMethod {
9681 "currency"?: string;
9682 "customerId"?: string;
9683 "liveMode"?: boolean;
9684 "successUrl"?: string;
9685 }
9686 interface ScPaypalButtons {
9687 /**
9688 * Is this busy?
9689 */
9690 "busy"?: boolean;
9691 /**
9692 * Buttons to render
9693 */
9694 "buttons"?: string[];
9695 /**
9696 * Client id for the script.
9697 */
9698 "clientId"?: string;
9699 /**
9700 * Button color.
9701 */
9702 "color"?: 'gold' | 'blue' | 'silver' | 'black' | 'white';
9703 /**
9704 * Label for the button.
9705 */
9706 "label"?: 'paypal' | 'checkout' | 'buynow' | 'pay' | 'installment';
9707 /**
9708 * The merchant id for paypal.
9709 */
9710 "merchantId"?: string;
9711 /**
9712 * Merchant initiated billing enabled.
9713 */
9714 "merchantInitiated"?: boolean;
9715 /**
9716 * Test or live mode.
9717 */
9718 "mode"?: 'test' | 'live';
9719 "onScPaid"?: (event: ScPaypalButtonsCustomEvent<void>) => void;
9720 /**
9721 * Set the state machine
9722 */
9723 "onScSetState"?: (event: ScPaypalButtonsCustomEvent<string>) => void;
9724 /**
9725 * The order.
9726 */
9727 "order"?: Checkout;
9728 }
9729 interface ScPaystackAddMethod {
9730 "currency"?: string;
9731 "customerId"?: string;
9732 "liveMode"?: boolean;
9733 "successUrl"?: string;
9734 }
9735 interface ScPhoneInput {
9736 /**
9737 * The input's autocomplete attribute.
9738 */
9739 "autocomplete"?: string;
9740 /**
9741 * The input's autocorrect attribute.
9742 */
9743 "autocorrect"?: string;
9744 /**
9745 * The input's autofocus attribute.
9746 */
9747 "autofocus"?: boolean;
9748 /**
9749 * Adds a clear button when the input is populated.
9750 */
9751 "clearable"?: boolean;
9752 /**
9753 * Disables the input.
9754 */
9755 "disabled"?: boolean;
9756 /**
9757 * Inputs focus
9758 */
9759 "hasFocus"?: boolean;
9760 /**
9761 * The input's help text.
9762 */
9763 "help"?: string;
9764 /**
9765 * Hidden
9766 */
9767 "hidden"?: boolean;
9768 /**
9769 * This will be true when the control is in an invalid state. Validity is determined by props such as `type`, `required`, `minlength`, `maxlength`, and `pattern` using the browser's constraint validation API.
9770 */
9771 "invalid"?: boolean;
9772 /**
9773 * The input's label.
9774 */
9775 "label"?: string;
9776 /**
9777 * The input's maximum value.
9778 */
9779 "max"?: number | string;
9780 /**
9781 * The maximum length of input that will be considered valid.
9782 */
9783 "maxlength"?: number;
9784 /**
9785 * The input's minimum value.
9786 */
9787 "min"?: number | string;
9788 /**
9789 * The minimum length of input that will be considered valid.
9790 */
9791 "minlength"?: number;
9792 /**
9793 * The input's name attribute.
9794 */
9795 "name"?: string;
9796 /**
9797 * Emitted when the control loses focus.
9798 */
9799 "onScBlur"?: (event: ScPhoneInputCustomEvent<void>) => void;
9800 /**
9801 * Emitted when the control's value changes.
9802 */
9803 "onScChange"?: (event: ScPhoneInputCustomEvent<void>) => void;
9804 /**
9805 * Emitted when the clear button is activated.
9806 */
9807 "onScClear"?: (event: ScPhoneInputCustomEvent<void>) => void;
9808 /**
9809 * Emitted when the control gains focus.
9810 */
9811 "onScFocus"?: (event: ScPhoneInputCustomEvent<void>) => void;
9812 /**
9813 * Emitted when the control receives input.
9814 */
9815 "onScInput"?: (event: ScPhoneInputCustomEvent<void>) => void;
9816 /**
9817 * A pattern to validate input against.
9818 */
9819 "pattern"?: string;
9820 /**
9821 * Draws a pill-style input with rounded edges.
9822 */
9823 "pill"?: boolean;
9824 /**
9825 * The input's placeholder text.
9826 */
9827 "placeholder"?: string;
9828 /**
9829 * Makes the input readonly.
9830 */
9831 "readonly"?: boolean;
9832 /**
9833 * Makes the input a required field.
9834 */
9835 "required"?: boolean;
9836 /**
9837 * Should we show the label
9838 */
9839 "showLabel"?: boolean;
9840 /**
9841 * The input's size.
9842 */
9843 "size"?: 'small' | 'medium' | 'large';
9844 /**
9845 * Enables spell checking on the input.
9846 */
9847 "spellcheck"?: boolean;
9848 "squared"?: boolean;
9849 "squaredBottom"?: boolean;
9850 "squaredLeft"?: boolean;
9851 "squaredRight"?: boolean;
9852 "squaredTop"?: boolean;
9853 /**
9854 * The input's step attribute.
9855 */
9856 "step"?: number;
9857 /**
9858 * Adds a password toggle button to password inputs.
9859 */
9860 "togglePassword"?: boolean;
9861 /**
9862 * The input's value attribute.
9863 */
9864 "value"?: string;
9865 }
9866 interface ScPillOption {
9867 /**
9868 * Label
9869 */
9870 "isSelected"?: boolean;
9871 "isUnavailable"?: boolean;
9872 }
9873 interface ScPremiumTag {
9874 /**
9875 * The tag's size.
9876 */
9877 "size"?: 'small' | 'medium' | 'large';
9878 }
9879 /**
9880 * Internal dependencies.
9881 */
9882 interface ScPrice {
9883 /**
9884 * Is the product ad_hoc?
9885 */
9886 "adHoc"?: boolean;
9887 /**
9888 * The amount
9889 */
9890 "amount"?: number;
9891 /**
9892 * The currency.
9893 */
9894 "currency"?: string;
9895 /**
9896 * The recurring interval
9897 */
9898 "recurringInterval"?: 'week' | 'month' | 'year' | 'never';
9899 /**
9900 * The recurring interval count
9901 */
9902 "recurringIntervalCount"?: number;
9903 /**
9904 * The recurring period count
9905 */
9906 "recurringPeriodCount"?: number;
9907 /**
9908 * The sale text
9909 */
9910 "saleText"?: string;
9911 /**
9912 * The scratch amount
9913 */
9914 "scratchAmount"?: number;
9915 /**
9916 * The setup fee amount
9917 */
9918 "setupFeeAmount"?: number;
9919 /**
9920 * The setup fee name
9921 */
9922 "setupFeeName"?: string;
9923 /**
9924 * The trial duration days
9925 */
9926 "trialDurationDays"?: number;
9927 }
9928 interface ScPriceChoice {
9929 /**
9930 * Is this blank?
9931 */
9932 "blank"?: boolean;
9933 /**
9934 * Is this checked by default
9935 */
9936 "checked"?: boolean;
9937 /**
9938 * Label for the choice.
9939 */
9940 "description"?: string;
9941 /**
9942 * Errors from response
9943 */
9944 "error"?: ResponseError;
9945 /**
9946 * Is this an ad-hoc price choice
9947 */
9948 "isAdHoc"?: Boolean;
9949 /**
9950 * Label for the choice.
9951 */
9952 "label"?: string;
9953 /**
9954 * Is this loading
9955 */
9956 "loading"?: boolean;
9957 /**
9958 * Add entities
9959 */
9960 "onScAddEntities"?: (event: ScPriceChoiceCustomEvent<any>) => void;
9961 /**
9962 * Toggle line item event
9963 */
9964 "onScRemoveLineItem"?: (event: ScPriceChoiceCustomEvent<LineItemData1>) => void;
9965 /**
9966 * Toggle line item event
9967 */
9968 "onScUpdateLineItem"?: (event: ScPriceChoiceCustomEvent<LineItemData1>) => void;
9969 /**
9970 * Session
9971 */
9972 "order"?: Checkout;
9973 /**
9974 * Stores the price
9975 */
9976 "price"?: Price;
9977 /**
9978 * Id of the price.
9979 */
9980 "priceId"?: string;
9981 /**
9982 * Price entities
9983 */
9984 "prices"?: Prices;
9985 /**
9986 * Stores the price
9987 */
9988 "product"?: Product;
9989 /**
9990 * Product entity
9991 */
9992 "products"?: Products;
9993 /**
9994 * Default quantity
9995 */
9996 "quantity"?: number;
9997 /**
9998 * Show the radio/checkbox control
9999 */
10000 "showControl"?: boolean;
10001 /**
10002 * Show the label
10003 */
10004 "showLabel"?: boolean;
10005 /**
10006 * Show the price amount
10007 */
10008 "showPrice"?: boolean;
10009 /**
10010 * Choice Type
10011 */
10012 "type"?: 'checkbox' | 'radio';
10013 }
10014 interface ScPriceChoiceContainer {
10015 /**
10016 * Is this checked by default
10017 */
10018 "checked"?: boolean;
10019 /**
10020 * Label for the choice.
10021 */
10022 "description"?: string;
10023 /**
10024 * Label for the choice.
10025 */
10026 "label"?: string;
10027 /**
10028 * Is this loading
10029 */
10030 "loading"?: boolean;
10031 "onScChange"?: (event: ScPriceChoiceContainerCustomEvent<void>) => void;
10032 /**
10033 * Stores the price
10034 */
10035 "price"?: string | Price;
10036 "required"?: boolean;
10037 /**
10038 * Show the radio/checkbox control
10039 */
10040 "showControl"?: boolean;
10041 /**
10042 * Show the label
10043 */
10044 "showLabel"?: boolean;
10045 /**
10046 * Show the price amount
10047 */
10048 "showPrice"?: boolean;
10049 /**
10050 * Choice Type
10051 */
10052 "type"?: 'checkbox' | 'radio';
10053 }
10054 interface ScPriceChoices {
10055 /**
10056 * Number of columns
10057 */
10058 "columns"?: number;
10059 /**
10060 * Selector label
10061 */
10062 "label"?: string;
10063 /**
10064 * Toggle line item event
10065 */
10066 "onScRemoveLineItem"?: (event: ScPriceChoicesCustomEvent<LineItemData1>) => void;
10067 /**
10068 * Toggle line item event
10069 */
10070 "onScUpdateLineItem"?: (event: ScPriceChoicesCustomEvent<LineItemData1>) => void;
10071 /**
10072 * Required by default
10073 */
10074 "required"?: boolean;
10075 }
10076 interface ScPriceInput {
10077 /**
10078 * The input's autofocus attribute.
10079 */
10080 "autofocus"?: boolean;
10081 /**
10082 * Adds a clear button when the input is populated.
10083 */
10084 "clearable"?: boolean;
10085 /**
10086 * 3 letter currency code for input
10087 */
10088 "currencyCode"?: string;
10089 /**
10090 * Disables the input.
10091 */
10092 "disabled"?: boolean;
10093 /**
10094 * Inputs focus
10095 */
10096 "hasFocus"?: boolean;
10097 /**
10098 * The input's help text.
10099 */
10100 "help"?: string;
10101 /**
10102 * This will be true when the control is in an invalid state. Validity is determined by props such as `type`, `required`, `minlength`, `maxlength`, and `pattern` using the browser's constraint validation API.
10103 */
10104 "invalid"?: boolean;
10105 /**
10106 * The input's label.
10107 */
10108 "label"?: string;
10109 /**
10110 * The input's maximum value.
10111 */
10112 "max"?: number;
10113 /**
10114 * The maximum length of input that will be considered valid.
10115 */
10116 "maxlength"?: number;
10117 /**
10118 * The input's minimum value.
10119 */
10120 "min"?: number;
10121 /**
10122 * The minimum length of input that will be considered valid.
10123 */
10124 "minlength"?: number;
10125 /**
10126 * The input's name attribute.
10127 */
10128 "name"?: string;
10129 /**
10130 * Emitted when the control loses focus.
10131 */
10132 "onScBlur"?: (event: ScPriceInputCustomEvent<void>) => void;
10133 /**
10134 * Emitted when the control's value changes.
10135 */
10136 "onScChange"?: (event: ScPriceInputCustomEvent<void>) => void;
10137 /**
10138 * Emitted when the control gains focus.
10139 */
10140 "onScFocus"?: (event: ScPriceInputCustomEvent<void>) => void;
10141 /**
10142 * Emitted when the control's value changes.
10143 */
10144 "onScInput"?: (event: ScPriceInputCustomEvent<void>) => void;
10145 /**
10146 * Draws a pill-style input with rounded edges.
10147 */
10148 "pill"?: boolean;
10149 /**
10150 * The input's placeholder text.
10151 */
10152 "placeholder"?: string;
10153 /**
10154 * Makes the input readonly.
10155 */
10156 "readonly"?: boolean;
10157 /**
10158 * Makes the input a required field.
10159 */
10160 "required"?: boolean;
10161 /**
10162 * Show the currency code with the input
10163 */
10164 "showCode"?: boolean;
10165 /**
10166 * Should we show the label
10167 */
10168 "showLabel"?: boolean;
10169 /**
10170 * The input's size.
10171 */
10172 "size"?: 'small' | 'medium' | 'large';
10173 /**
10174 * The input's value attribute.
10175 */
10176 "value"?: string;
10177 }
10178 interface ScPriceRange {
10179 /**
10180 * The array of price objects
10181 */
10182 "prices"?: Price[];
10183 }
10184 interface ScProductBuyButton {
10185 "addToCart"?: boolean;
10186 "checkoutLink"?: string;
10187 "formId"?: number;
10188 "mode"?: 'live' | 'test';
10189 "productId"?: string;
10190 }
10191 interface ScProductDonationAmountChoice {
10192 /**
10193 * The label for the field.
10194 */
10195 "label"?: string;
10196 /**
10197 * The product id for the fields.
10198 */
10199 "productId"?: string;
10200 /**
10201 * The value of the field.
10202 */
10203 "value"?: number;
10204 }
10205 interface ScProductDonationChoices {
10206 /**
10207 * The label for the field.
10208 */
10209 "label"?: string;
10210 /**
10211 * The product id for the fields.
10212 */
10213 "productId"?: string;
10214 "recurring"?: boolean;
10215 }
10216 interface ScProductDonationCustomAmount {
10217 /**
10218 * Selected Product Id for the donation.
10219 */
10220 "productId"?: string;
10221 /**
10222 * Custom Amount of the donation.
10223 */
10224 "value"?: number;
10225 }
10226 interface ScProductItem {
10227 "layoutConfig"?: LayoutConfig;
10228 "product"?: Product;
10229 }
10230 interface ScProductItemImage {
10231 "product"?: Product;
10232 "sizing"?: 'cover' | 'contain';
10233 }
10234 interface ScProductItemList {
10235 /**
10236 * Should we paginate?
10237 */
10238 "ajaxPagination"?: boolean;
10239 /**
10240 * Should allow collection filter
10241 */
10242 "collectionEnabled"?: boolean;
10243 /**
10244 * Show for a specific collection
10245 */
10246 "collectionId"?: string;
10247 /**
10248 * Show only featured products.
10249 */
10250 "featured"?: boolean;
10251 /**
10252 * Limit to a set of ids.
10253 */
10254 "ids"?: string[];
10255 "layoutConfig"?: LayoutConfig1;
10256 "limit"?: number;
10257 /**
10258 * Products viewed
10259 */
10260 "onScProductsViewed"?: (event: ScProductItemListCustomEvent<ProductsViewedParams>) => void;
10261 /**
10262 * Product was searched
10263 */
10264 "onScSearched"?: (event: ScProductItemListCustomEvent<ProductsSearchedParams>) => void;
10265 "page"?: number;
10266 /**
10267 * The page title
10268 */
10269 "pageTitle"?: string;
10270 /**
10271 * Pagination
10272 */
10273 "pagination"?: {
10274 total: number;
10275 total_pages: number;
10276 };
10277 "paginationAlignment"?: string;
10278 /**
10279 * Should we auto-scroll to the top when paginating via ajax
10280 */
10281 "paginationAutoScroll"?: boolean;
10282 /**
10283 * Should we paginate?
10284 */
10285 "paginationEnabled"?: boolean;
10286 "products"?: Product[];
10287 /**
10288 * Query to search for
10289 */
10290 "query"?: string;
10291 /**
10292 * Should allow search
10293 */
10294 "searchEnabled"?: boolean;
10295 /**
10296 * Sort
10297 */
10298 "sort"?: string;
10299 /**
10300 * Should allow search
10301 */
10302 "sortEnabled"?: boolean;
10303 }
10304 interface ScProductItemPrice {
10305 /**
10306 * Product metrics
10307 */
10308 "metrics"?: ProductMetrics;
10309 "prices"?: Price[];
10310 /**
10311 * Show price range?
10312 */
10313 "range"?: boolean;
10314 }
10315 interface ScProductItemTitle {
10316 }
10317 interface ScProductLineItem {
10318 /**
10319 * Product monetary amount
10320 */
10321 "amount"?: number;
10322 /**
10323 * Currency for the product
10324 */
10325 "currency"?: string;
10326 /**
10327 * Can we select the quantity
10328 */
10329 "editable"?: boolean;
10330 /**
10331 * Product line item fees.
10332 */
10333 "fees"?: Fee[];
10334 /**
10335 * Image attributes.
10336 */
10337 "image"?: ImageAttributes;
10338 /**
10339 * Recurring interval (i.e. monthly, once, etc.)
10340 */
10341 "interval"?: string;
10342 /**
10343 * The max allowed.
10344 */
10345 "max"?: number;
10346 /**
10347 * Product name
10348 */
10349 "name"?: string;
10350 /**
10351 * Emitted when the quantity changes.
10352 */
10353 "onScRemove"?: (event: ScProductLineItemCustomEvent<void>) => void;
10354 /**
10355 * Emitted when the quantity changes.
10356 */
10357 "onScUpdateQuantity"?: (event: ScProductLineItemCustomEvent<number>) => void;
10358 /**
10359 * Price name
10360 */
10361 "priceName"?: string;
10362 /**
10363 * The purchasable status display
10364 */
10365 "purchasableStatusDisplay"?: string;
10366 /**
10367 * Quantity
10368 */
10369 "quantity"?: number;
10370 /**
10371 * Is the line item removable
10372 */
10373 "removable"?: boolean;
10374 /**
10375 * The line item scratch amount
10376 */
10377 "scratchAmount"?: number;
10378 /**
10379 * Is the setup fee not included in the free trial?
10380 */
10381 "setupFeeTrialEnabled"?: boolean;
10382 /**
10383 * The SKU.
10384 */
10385 "sku"?: string;
10386 /**
10387 * Trial duration days
10388 */
10389 "trialDurationDays"?: number;
10390 /**
10391 * Product variant label
10392 */
10393 "variantLabel"?: string;
10394 }
10395 interface ScProductPillsVariantOption {
10396 /**
10397 * Label
10398 */
10399 "label"?: string;
10400 /**
10401 * Which option number?
10402 */
10403 "optionNumber"?: 1 | 2 | 3;
10404 /**
10405 * The product id
10406 */
10407 "productId"?: string;
10408 }
10409 interface ScProductPrice {
10410 /**
10411 * The product's prices.
10412 */
10413 "prices"?: Price[];
10414 /**
10415 * The product id
10416 */
10417 "productId"?: string;
10418 /**
10419 * The sale text
10420 */
10421 "saleText"?: string;
10422 }
10423 interface ScProductPriceChoices {
10424 /**
10425 * The product price choice label
10426 */
10427 "label"?: string;
10428 /**
10429 * The product id
10430 */
10431 "productId"?: string;
10432 /**
10433 * Whether to show the price
10434 */
10435 "showPrice"?: boolean;
10436 }
10437 interface ScProductPriceModal {
10438 /**
10439 * Whether to add to cart
10440 */
10441 "addToCart"?: boolean;
10442 /**
10443 * The button text
10444 */
10445 "buttonText"?: string;
10446 /**
10447 * The product id
10448 */
10449 "productId"?: string;
10450 }
10451 interface ScProductQuantity {
10452 /**
10453 * Display server-side validation errors.
10454 */
10455 "errors"?: any;
10456 /**
10457 * Help text
10458 */
10459 "help"?: string;
10460 /**
10461 * Input label.
10462 */
10463 "label"?: string;
10464 /**
10465 * Name for the input. Used for validation errors.
10466 */
10467 "name"?: string;
10468 /**
10469 * The product id
10470 */
10471 "productId"?: string;
10472 /**
10473 * Whether the input is required.
10474 */
10475 "required"?: boolean;
10476 /**
10477 * Show the label.
10478 */
10479 "showLabel"?: boolean;
10480 /**
10481 * Size of the control
10482 */
10483 "size"?: 'small' | 'medium' | 'large';
10484 }
10485 interface ScProductSelectedPrice {
10486 /**
10487 * Toggle line item event
10488 */
10489 "onScUpdateLineItem"?: (event: ScProductSelectedPriceCustomEvent<LineItemData>) => void;
10490 /**
10491 * The product id.
10492 */
10493 "productId"?: string;
10494 }
10495 interface ScProductText {
10496 "productId"?: string;
10497 "text"?: 'name' | 'description';
10498 }
10499 interface ScProse {
10500 }
10501 interface ScProvider {
10502 "STENCIL_CONTEXT"?: { [key: string]: any };
10503 "onMountConsumer"?: (event: ScProviderCustomEvent<any>) => void;
10504 }
10505 interface ScProvisionalBanner {
10506 /**
10507 * Claim URL.
10508 */
10509 "claimUrl"?: string;
10510 }
10511 interface ScPurchaseDownloadsList {
10512 "allLink"?: string;
10513 "busy"?: boolean;
10514 "error"?: string;
10515 "heading"?: string;
10516 "loading"?: boolean;
10517 "purchases"?: Array<Purchase>;
10518 "requestNonce"?: string;
10519 }
10520 interface ScQuantitySelect {
10521 "clickEl"?: HTMLElement;
10522 "disabled"?: boolean;
10523 /**
10524 * Inputs focus
10525 */
10526 "hasFocus"?: boolean;
10527 "max"?: number;
10528 "min"?: number;
10529 /**
10530 * Emitted when the control loses focus.
10531 */
10532 "onScBlur"?: (event: ScQuantitySelectCustomEvent<void>) => void;
10533 "onScChange"?: (event: ScQuantitySelectCustomEvent<number>) => void;
10534 /**
10535 * Emitted when the control gains focus.
10536 */
10537 "onScFocus"?: (event: ScQuantitySelectCustomEvent<void>) => void;
10538 /**
10539 * Emitted when the control receives input.
10540 */
10541 "onScInput"?: (event: ScQuantitySelectCustomEvent<number>) => void;
10542 "quantity"?: number;
10543 "size"?: 'small' | 'medium' | 'large';
10544 }
10545 interface ScRadio {
10546 /**
10547 * Draws the radio in a checked state.
10548 */
10549 "checked"?: boolean;
10550 /**
10551 * Is the radio disabled
10552 */
10553 "disabled"?: boolean;
10554 /**
10555 * This will be true as a workaround in the block editor to focus on the content.
10556 */
10557 "edit"?: boolean;
10558 /**
10559 * This will be true when the control is in an invalid state. Validity is determined by the `required` prop.
10560 */
10561 "invalid"?: boolean;
10562 /**
10563 * The radios name attribute
10564 */
10565 "name"?: string;
10566 /**
10567 * Emitted when the control loses focus.
10568 */
10569 "onScBlur"?: (event: ScRadioCustomEvent<void>) => void;
10570 /**
10571 * Emitted when the control's checked state changes.
10572 */
10573 "onScChange"?: (event: ScRadioCustomEvent<void>) => void;
10574 /**
10575 * Emitted when the control gains focus.
10576 */
10577 "onScFocus"?: (event: ScRadioCustomEvent<void>) => void;
10578 /**
10579 * Is this required
10580 */
10581 "required"?: boolean;
10582 /**
10583 * The radios value
10584 */
10585 "value"?: string;
10586 }
10587 interface ScRadioGroup {
10588 /**
10589 * This will be true when the control is in an invalid state. Validity is determined by props such as `type`, `required`, `minlength`, `maxlength`, and `pattern` using the browser's constraint validation API.
10590 */
10591 "invalid"?: boolean;
10592 /**
10593 * The radio group label. Required for proper accessibility.
10594 */
10595 "label"?: string;
10596 "onScChange"?: (event: ScRadioGroupCustomEvent<string>) => void;
10597 /**
10598 * Is one of these items required.
10599 */
10600 "required"?: boolean;
10601 /**
10602 * The selected value of the control.
10603 */
10604 "value"?: string;
10605 }
10606 interface ScRecurringPriceChoiceContainer {
10607 /**
10608 * Label for the choice.
10609 */
10610 "label"?: string;
10611 /**
10612 * Change event.
10613 */
10614 "onScChange"?: (event: ScRecurringPriceChoiceContainerCustomEvent<string>) => void;
10615 /**
10616 * The prices to choose from.
10617 */
10618 "prices"?: Price[];
10619 /**
10620 * The product.
10621 */
10622 "product"?: Product;
10623 /**
10624 * The currently selected price
10625 */
10626 "selectedPrice"?: Price;
10627 /**
10628 * Should we show the price?
10629 */
10630 "showAmount"?: boolean;
10631 /**
10632 * Show the radio/checkbox control
10633 */
10634 "showControl"?: boolean;
10635 /**
10636 * Should we show the price details?
10637 */
10638 "showDetails"?: boolean;
10639 }
10640 interface ScRichText {
10641 /**
10642 * Disables the textarea.
10643 */
10644 "disabled"?: boolean;
10645 /**
10646 * The textarea's help text. Alternatively, you can use the help-text slot.
10647 */
10648 "help"?: string;
10649 /**
10650 * The textarea's label. Alternatively, you can use the label slot.
10651 */
10652 "label"?: string;
10653 /**
10654 * The max length.
10655 */
10656 "maxlength"?: number;
10657 /**
10658 * The textarea's name attribute.
10659 */
10660 "name"?: string;
10661 "onScBlur"?: (event: ScRichTextCustomEvent<void>) => void;
10662 "onScChange"?: (event: ScRichTextCustomEvent<void>) => void;
10663 "onScFocus"?: (event: ScRichTextCustomEvent<void>) => void;
10664 "onScInput"?: (event: ScRichTextCustomEvent<void>) => void;
10665 /**
10666 * The textarea's placeholder text.
10667 */
10668 "placeholder"?: string;
10669 /**
10670 * Makes the textarea readonly.
10671 */
10672 "readonly"?: boolean;
10673 /**
10674 * Makes the textarea a required field.
10675 */
10676 "required"?: boolean;
10677 /**
10678 * Should we show the label
10679 */
10680 "showLabel"?: boolean;
10681 /**
10682 * The textarea's size.
10683 */
10684 "size"?: 'small' | 'medium' | 'large';
10685 /**
10686 * The textarea's value attribute.
10687 */
10688 "value"?: string;
10689 }
10690 interface ScSecureNotice {
10691 }
10692 interface ScSelect {
10693 /**
10694 * The input's autocomplete attribute.
10695 */
10696 "autocomplete"?: string;
10697 /**
10698 * The input's value attribute.
10699 */
10700 "choices"?: Array<ChoiceItem>;
10701 "closeOnSelect"?: boolean;
10702 "disabled"?: boolean;
10703 /**
10704 * Some help text for the input.
10705 */
10706 "help"?: string;
10707 "hoist"?: boolean;
10708 /**
10709 * This will be true when the control is in an invalid state. Validity is determined by props such as `type`, `required`, `minlength`, `maxlength`, and `pattern` using the browser's constraint validation API.
10710 */
10711 "invalid"?: boolean;
10712 /**
10713 * The input's label.
10714 */
10715 "label"?: string;
10716 "loading"?: boolean;
10717 /**
10718 * The input's name attribute.
10719 */
10720 "name"?: string;
10721 /**
10722 * Emitted when the control loses focus.
10723 */
10724 "onScBlur"?: (event: ScSelectCustomEvent<void>) => void;
10725 /**
10726 * Emitted when the control's value changes.
10727 */
10728 "onScChange"?: (event: ScSelectCustomEvent<ChoiceItem>) => void;
10729 /**
10730 * Emitted whent the components search query changes
10731 */
10732 "onScClose"?: (event: ScSelectCustomEvent<string>) => void;
10733 /**
10734 * Emitted when the control gains focus.
10735 */
10736 "onScFocus"?: (event: ScSelectCustomEvent<void>) => void;
10737 /**
10738 * Emitted whent the components search query changes
10739 */
10740 "onScOpen"?: (event: ScSelectCustomEvent<string>) => void;
10741 /**
10742 * Emitted when the list scrolls to the end.
10743 */
10744 "onScScrollEnd"?: (event: ScSelectCustomEvent<void>) => void;
10745 /**
10746 * Emitted whent the components search query changes
10747 */
10748 "onScSearch"?: (event: ScSelectCustomEvent<string>) => void;
10749 /**
10750 * Is this open
10751 */
10752 "open"?: boolean;
10753 /**
10754 * Placeholder for no value
10755 */
10756 "placeholder"?: string;
10757 /**
10758 * The placement of the dropdown.
10759 */
10760 "placement"?: | 'top'
10761 | 'top-start'
10762 | 'top-end'
10763 | 'bottom'
10764 | 'bottom-start'
10765 | 'bottom-end'
10766 | 'right'
10767 | 'right-start'
10768 | 'right-end'
10769 | 'left'
10770 | 'left-start'
10771 | 'left-end';
10772 "position"?: 'bottom-left' | 'bottom-right' | 'top-left' | 'top-right';
10773 "required"?: boolean;
10774 /**
10775 * Is search enabled?
10776 */
10777 "search"?: boolean;
10778 /**
10779 * Placeholder for search
10780 */
10781 "searchPlaceholder"?: string;
10782 "showParentLabel"?: boolean;
10783 /**
10784 * The input's size.
10785 */
10786 "size"?: 'small' | 'medium' | 'large';
10787 "squared"?: boolean;
10788 "squaredBottom"?: boolean;
10789 "squaredLeft"?: boolean;
10790 "squaredRight"?: boolean;
10791 "squaredTop"?: boolean;
10792 /**
10793 * Can we unselect items.
10794 */
10795 "unselect"?: boolean;
10796 /**
10797 * The input's value attribute.
10798 */
10799 "value"?: string;
10800 }
10801 interface ScSessionProvider {
10802 "onScPaid"?: (event: ScSessionProviderCustomEvent<void>) => void;
10803 /**
10804 * Set the state
10805 */
10806 "onScSetState"?: (event: ScSessionProviderCustomEvent<FormStateSetter>) => void;
10807 /**
10808 * Update line items event
10809 */
10810 "onScUpdateDraftState"?: (event: ScSessionProviderCustomEvent<Checkout>) => void;
10811 /**
10812 * Update line items event
10813 */
10814 "onScUpdateOrderState"?: (event: ScSessionProviderCustomEvent<Checkout>) => void;
10815 /**
10816 * Should we persist the session.
10817 */
10818 "persist"?: boolean;
10819 /**
10820 * An array of prices to pre-fill in the form.
10821 */
10822 "prices"?: Array<PriceChoice>;
10823 }
10824 interface ScShippingChoices {
10825 /**
10826 * The shipping section label
10827 */
10828 "label"?: string;
10829 /**
10830 * Whether to show the shipping choice description
10831 */
10832 "showDescription"?: boolean;
10833 }
10834 interface ScSkeleton {
10835 /**
10836 * Animation effect
10837 */
10838 "effect"?: 'pulse' | 'sheen' | 'none';
10839 }
10840 interface ScSpacing {
10841 }
10842 interface ScSpinner {
10843 }
10844 interface ScStackedList {
10845 }
10846 interface ScStackedListRow {
10847 "href"?: string;
10848 "mobileSize"?: number;
10849 "target"?: string;
10850 }
10851 interface ScStripeAddMethod {
10852 "customerId"?: string;
10853 "liveMode"?: boolean;
10854 "successUrl"?: string;
10855 }
10856 interface ScStripeElement {
10857 /**
10858 * Whether this field is disabled
10859 */
10860 "disabled"?: boolean;
10861 /**
10862 * The form state
10863 */
10864 "formState"?: FormState;
10865 /**
10866 * Inputs focus
10867 */
10868 "hasFocus"?: boolean;
10869 /**
10870 * The input's label. Alternatively, you can use the label slot.
10871 */
10872 "label"?: string;
10873 /**
10874 * Mode for the payment
10875 */
10876 "mode"?: 'live' | 'test';
10877 /**
10878 * The order/invoice was paid for
10879 */
10880 "onScPaid"?: (event: ScStripeElementCustomEvent<void>) => void;
10881 /**
10882 * Payment information was added
10883 */
10884 "onScPaymentInfoAdded"?: (event: ScStripeElementCustomEvent<PaymentInfoAddedParams>) => void;
10885 /**
10886 * Set the state
10887 */
10888 "onScSetState"?: (event: ScStripeElementCustomEvent<FormStateSetter>) => void;
10889 /**
10890 * The checkout session object for finalizing intents
10891 */
10892 "order"?: Checkout;
10893 /**
10894 * The input's help text. Alternatively, you can use the help-text slot.
10895 */
10896 "secureText"?: string;
10897 /**
10898 * The selected processor id
10899 */
10900 "selectedProcessorId"?: ProcessorName;
10901 /**
10902 * Should we show the label
10903 */
10904 "showLabel"?: boolean;
10905 /**
10906 * The input's size.
10907 */
10908 "size"?: 'small' | 'medium' | 'large';
10909 }
10910 interface ScStripePaymentElement {
10911 /**
10912 * The order/invoice was paid for.
10913 */
10914 "onScPaid"?: (event: ScStripePaymentElementCustomEvent<void>) => void;
10915 /**
10916 * Payment information was added
10917 */
10918 "onScPaymentInfoAdded"?: (event: ScStripePaymentElementCustomEvent<PaymentInfoAddedParams>) => void;
10919 /**
10920 * Set the state
10921 */
10922 "onScSetState"?: (event: ScStripePaymentElementCustomEvent<FormStateSetter>) => void;
10923 }
10924 interface ScStripePaymentRequest {
10925 /**
10926 * Amount
10927 */
10928 "amount"?: number;
10929 /**
10930 * Country
10931 */
10932 "country"?: string;
10933 /**
10934 * Is this in debug mode.
10935 */
10936 "debug"?: boolean;
10937 "error"?: ResponseError | null;
10938 /**
10939 * Label
10940 */
10941 "label"?: string;
10942 "onScFormSubmit"?: (event: ScStripePaymentRequestCustomEvent<any>) => void;
10943 "onScPaid"?: (event: ScStripePaymentRequestCustomEvent<void>) => void;
10944 "onScPayError"?: (event: ScStripePaymentRequestCustomEvent<any>) => void;
10945 "onScPaymentRequestLoaded"?: (event: ScStripePaymentRequestCustomEvent<boolean>) => void;
10946 "onScSetState"?: (event: ScStripePaymentRequestCustomEvent<string>) => void;
10947 "onScUpdateOrderState"?: (event: ScStripePaymentRequestCustomEvent<any>) => void;
10948 /**
10949 * Prices
10950 */
10951 "prices"?: Prices;
10952 /**
10953 * Stripe publishable key
10954 */
10955 "publishableKey"?: string;
10956 /**
10957 * Your stripe connected account id.
10958 */
10959 "stripeAccountId"?: string;
10960 /**
10961 * Payment request theme
10962 */
10963 "theme"?: string;
10964 }
10965 interface ScSubscription {
10966 /**
10967 * Heading to display
10968 */
10969 "heading"?: string;
10970 /**
10971 * The subscription protocol
10972 */
10973 "protocol"?: SubscriptionProtocol;
10974 /**
10975 * Query to pass to the API
10976 */
10977 "query"?: object;
10978 /**
10979 * Whether to show the cancel button
10980 */
10981 "showCancel"?: boolean;
10982 /**
10983 * The subscription
10984 */
10985 "subscription"?: Subscription;
10986 /**
10987 * The subscription ID
10988 */
10989 "subscriptionId"?: string;
10990 /**
10991 * Update the payment method url
10992 */
10993 "updatePaymentMethodUrl"?: string;
10994 }
10995 interface ScSubscriptionAdHocConfirm {
10996 "heading"?: string;
10997 "price"?: Price;
10998 }
10999 interface ScSubscriptionCancel {
11000 "backUrl"?: string;
11001 "comment"?: string;
11002 "heading"?: string;
11003 "onScAbandon"?: (event: ScSubscriptionCancelCustomEvent<void>) => void;
11004 "onScCancelled"?: (event: ScSubscriptionCancelCustomEvent<void>) => void;
11005 "protocol"?: SubscriptionProtocol;
11006 "reason"?: CancellationReason;
11007 "subscription"?: Subscription;
11008 "successUrl"?: string;
11009 }
11010 interface ScSubscriptionDetails {
11011 "hideRenewalText"?: boolean;
11012 "pendingPrice"?: Price;
11013 "subscription"?: Subscription;
11014 }
11015 interface ScSubscriptionNextPayment {
11016 "subscription"?: Subscription;
11017 /**
11018 * Update the payment method url
11019 */
11020 "updatePaymentMethodUrl"?: string;
11021 }
11022 interface ScSubscriptionPayment {
11023 "backUrl"?: string;
11024 "customerIds"?: Array<string>;
11025 "paymentMethods"?: Array<PaymentMethod>;
11026 "subscription"?: Subscription;
11027 "subscriptionId"?: string;
11028 "successUrl"?: string;
11029 }
11030 interface ScSubscriptionPaymentMethod {
11031 /**
11032 * The heading
11033 */
11034 "heading"?: string;
11035 /**
11036 * The subscription
11037 */
11038 "subscription"?: Subscription;
11039 }
11040 interface ScSubscriptionReactivate {
11041 /**
11042 * Refresh subscriptions
11043 */
11044 "onScRefresh"?: (event: ScSubscriptionReactivateCustomEvent<void>) => void;
11045 /**
11046 * Reactivate modal closed
11047 */
11048 "onScRequestClose"?: (event: ScSubscriptionReactivateCustomEvent<'close-button' | 'keyboard' | 'overlay'>) => void;
11049 /**
11050 * Whether it is open
11051 */
11052 "open"?: boolean;
11053 /**
11054 * The subscription to reactivate
11055 */
11056 "subscription"?: Subscription;
11057 }
11058 interface ScSubscriptionStatusBadge {
11059 /**
11060 * Makes the tag clearable.
11061 */
11062 "clearable"?: boolean;
11063 /**
11064 * Draws a pill-style tag with rounded edges.
11065 */
11066 "pill"?: boolean;
11067 /**
11068 * The tag's size.
11069 */
11070 "size"?: 'small' | 'medium' | 'large';
11071 /**
11072 * Subscription status
11073 */
11074 "status"?: SubscriptionStatus;
11075 /**
11076 * The tag's status type.
11077 */
11078 "subscription"?: Subscription;
11079 }
11080 interface ScSubscriptionSwitch {
11081 "filterAbove"?: number;
11082 "heading"?: string;
11083 "productGroupId"?: ProductGroup;
11084 "productId"?: string;
11085 /**
11086 * Customer id to fetch subscriptions
11087 */
11088 "query"?: object;
11089 "subscription"?: Subscription;
11090 "successUrl"?: string;
11091 }
11092 interface ScSubscriptionVariationConfirm {
11093 "heading"?: string;
11094 "price"?: Price;
11095 "product"?: Product;
11096 "subscription"?: Subscription;
11097 }
11098 interface ScSubscriptionsList {
11099 "allLink"?: string;
11100 "cancelBehavior"?: 'period_end' | 'immediate';
11101 "heading"?: string;
11102 "isCustomer"?: boolean;
11103 /**
11104 * Customer id to fetch subscriptions
11105 */
11106 "query"?: {
11107 page: number;
11108 per_page: number;
11109 };
11110 }
11111 interface ScSummary {
11112 "busy"?: boolean;
11113 "closedText"?: string;
11114 "collapsed"?: boolean;
11115 "collapsedOnDesktop"?: boolean;
11116 "collapsedOnMobile"?: boolean;
11117 "collapsible"?: boolean;
11118 "loading"?: boolean;
11119 /**
11120 * Show the toggle
11121 */
11122 "onScHide"?: (event: ScSummaryCustomEvent<void>) => void;
11123 /**
11124 * Show the toggle
11125 */
11126 "onScShow"?: (event: ScSummaryCustomEvent<void>) => void;
11127 "openText"?: string;
11128 }
11129 interface ScSwitch {
11130 /**
11131 * Draws the switch in a checked state.
11132 */
11133 "checked"?: boolean;
11134 /**
11135 * Disables the switch.
11136 */
11137 "disabled"?: boolean;
11138 /**
11139 * This will be true as a workaround in the block editor to focus on the content.
11140 */
11141 "edit"?: boolean;
11142 /**
11143 * This will be true when the control is in an invalid state. Validity is determined by the `required` prop.
11144 */
11145 "invalid"?: boolean;
11146 /**
11147 * The switch's name attribute.
11148 */
11149 "name"?: string;
11150 /**
11151 * Emitted when the control loses focus.
11152 */
11153 "onScBlur"?: (event: ScSwitchCustomEvent<void>) => void;
11154 /**
11155 * Emitted when the control's checked state changes.
11156 */
11157 "onScChange"?: (event: ScSwitchCustomEvent<void>) => void;
11158 /**
11159 * Emitted when the control gains focus.
11160 */
11161 "onScFocus"?: (event: ScSwitchCustomEvent<void>) => void;
11162 /**
11163 * Makes the switch a required field.
11164 */
11165 "required"?: boolean;
11166 "reversed"?: boolean;
11167 /**
11168 * The switch's value attribute.
11169 */
11170 "value"?: string;
11171 }
11172 interface ScTab {
11173 /**
11174 * Draws the tab in an active state.
11175 */
11176 "active"?: boolean;
11177 "count"?: string;
11178 /**
11179 * Draws the tab in a disabled state.
11180 */
11181 "disabled"?: boolean;
11182 "href"?: string;
11183 /**
11184 * Close event
11185 */
11186 "onScClose"?: (event: ScTabCustomEvent<void>) => void;
11187 /**
11188 * The name of the tab panel the tab will control. The panel must be located in the same tab group.
11189 */
11190 "panel"?: string;
11191 }
11192 interface ScTabGroup {
11193 "onScTabHide"?: (event: ScTabGroupCustomEvent<string>) => void;
11194 "onScTabShow"?: (event: ScTabGroupCustomEvent<string>) => void;
11195 }
11196 interface ScTabPanel {
11197 /**
11198 * When true, the tab panel will be shown.
11199 */
11200 "active"?: boolean;
11201 /**
11202 * The tab panel's name.
11203 */
11204 "name"?: string;
11205 }
11206 interface ScTable {
11207 }
11208 interface ScTableCell {
11209 }
11210 interface ScTableHead {
11211 }
11212 interface ScTableRow {
11213 "href"?: string;
11214 }
11215 interface ScTag {
11216 /**
11217 * Aria label
11218 */
11219 "ariaLabel"?: string;
11220 /**
11221 * Makes the tag clearable.
11222 */
11223 "clearable"?: boolean;
11224 "onScClear"?: (event: ScTagCustomEvent<ScTag>) => void;
11225 /**
11226 * Draws a pill-style tag with rounded edges.
11227 */
11228 "pill"?: boolean;
11229 /**
11230 * The tag's size.
11231 */
11232 "size"?: 'small' | 'medium' | 'large';
11233 /**
11234 * The tag's type.
11235 */
11236 "type"?: 'primary' | 'success' | 'info' | 'warning' | 'danger' | 'default';
11237 }
11238 interface ScTaxIdInput {
11239 /**
11240 * AU zone label
11241 */
11242 "auAbnLabel"?: string;
11243 /**
11244 * GST zone label
11245 */
11246 "caGstLabel"?: string;
11247 /**
11248 * The country code.
11249 */
11250 "country"?: string;
11251 /**
11252 * EU zone label
11253 */
11254 "euVatLabel"?: string;
11255 /**
11256 * UK zone label
11257 */
11258 "gbVatLabel"?: string;
11259 /**
11260 * Help text.
11261 */
11262 "help"?: string;
11263 /**
11264 * Is this loading?
11265 */
11266 "loading"?: boolean;
11267 /**
11268 * Tax ID Number
11269 */
11270 "number"?: string;
11271 /**
11272 * Make a request to update the order.
11273 */
11274 "onScChange"?: (event: ScTaxIdInputCustomEvent<{ number: string; number_type: string }>) => void;
11275 /**
11276 * Make a request to update the order.
11277 */
11278 "onScInput"?: (event: ScTaxIdInputCustomEvent<Partial<{ number: string; number_type: string }>>) => void;
11279 /**
11280 * Change the Type
11281 */
11282 "onScInputType"?: (event: ScTaxIdInputCustomEvent<string>) => void;
11283 /**
11284 * Set the checkout state.
11285 */
11286 "onScSetState"?: (event: ScTaxIdInputCustomEvent<string>) => void;
11287 /**
11288 * Other zones label
11289 */
11290 "otherLabel"?: string;
11291 /**
11292 * Whether tax input is required
11293 */
11294 "required"?: boolean;
11295 /**
11296 * Force show the field.
11297 */
11298 "show"?: boolean;
11299 /**
11300 * The status
11301 */
11302 "status"?: 'valid' | 'invalid' | 'unknown';
11303 /**
11304 * Tax ID Types which will be shown
11305 */
11306 "taxIdTypes"?: string[];
11307 /**
11308 * Type of tax id
11309 */
11310 "type"?: string;
11311 }
11312 interface ScText {
11313 "tag"?: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'p';
11314 "truncate"?: boolean;
11315 }
11316 interface ScTextarea {
11317 /**
11318 * The textarea's autocapitalize attribute.
11319 */
11320 "autocapitalize"?: 'off' | 'none' | 'on' | 'sentences' | 'words' | 'characters';
11321 /**
11322 * The textarea's autocomplete attribute.
11323 */
11324 "autocomplete"?: string;
11325 /**
11326 * The textarea's autocorrect attribute.
11327 */
11328 "autocorrect"?: string;
11329 /**
11330 * The textarea's autofocus attribute.
11331 */
11332 "autofocus"?: boolean;
11333 /**
11334 * Disables the textarea.
11335 */
11336 "disabled"?: boolean;
11337 /**
11338 * The input's enterkeyhint attribute. This can be used to customize the label or icon of the Enter key on virtual keyboards.
11339 */
11340 "enterkeyhint"?: 'enter' | 'done' | 'go' | 'next' | 'previous' | 'search' | 'send';
11341 /**
11342 * Draws a filled textarea.
11343 */
11344 "filled"?: boolean;
11345 /**
11346 * The textarea's help text. Alternatively, you can use the help-text slot.
11347 */
11348 "help"?: string;
11349 /**
11350 * The textarea's inputmode attribute.
11351 */
11352 "inputmode"?: 'none' | 'text' | 'decimal' | 'numeric' | 'tel' | 'search' | 'email' | 'url';
11353 /**
11354 * This will be true when the control is in an invalid state. Validity is determined by props such as `type`, `required`, `minlength`, and `maxlength` using the browser's constraint validation API.
11355 */
11356 "invalid"?: boolean;
11357 /**
11358 * The textarea's label. Alternatively, you can use the label slot.
11359 */
11360 "label"?: string;
11361 /**
11362 * The maximum length of input that will be considered valid.
11363 */
11364 "maxlength"?: number;
11365 /**
11366 * The minimum length of input that will be considered valid.
11367 */
11368 "minlength"?: number;
11369 /**
11370 * The textarea's name attribute.
11371 */
11372 "name"?: string;
11373 "onScBlur"?: (event: ScTextareaCustomEvent<void>) => void;
11374 "onScChange"?: (event: ScTextareaCustomEvent<void>) => void;
11375 "onScFocus"?: (event: ScTextareaCustomEvent<void>) => void;
11376 "onScInput"?: (event: ScTextareaCustomEvent<void>) => void;
11377 /**
11378 * The textarea's placeholder text.
11379 */
11380 "placeholder"?: string;
11381 /**
11382 * Makes the textarea readonly.
11383 */
11384 "readonly"?: boolean;
11385 /**
11386 * Makes the textarea a required field.
11387 */
11388 "required"?: boolean;
11389 /**
11390 * Controls how the textarea can be resized.
11391 */
11392 "resize"?: 'none' | 'vertical' | 'auto';
11393 /**
11394 * The number of rows to display by default.
11395 */
11396 "rows"?: number;
11397 /**
11398 * Should we show the label
11399 */
11400 "showLabel"?: boolean;
11401 /**
11402 * The textarea's size.
11403 */
11404 "size"?: 'small' | 'medium' | 'large';
11405 /**
11406 * Enables spell checking on the textarea.
11407 */
11408 "spellcheck"?: boolean;
11409 /**
11410 * The textarea's value attribute.
11411 */
11412 "value"?: string;
11413 }
11414 interface ScToggle {
11415 /**
11416 * Is this a borderless toggle?
11417 */
11418 "borderless"?: boolean;
11419 /**
11420 * Are these collapsible?
11421 */
11422 "collapsible"?: boolean;
11423 /**
11424 * Disables the details so it can't be toggled.
11425 */
11426 "disabled"?: boolean;
11427 /**
11428 * Show the toggle
11429 */
11430 "onScHide"?: (event: ScToggleCustomEvent<void>) => void;
11431 /**
11432 * Show the toggle
11433 */
11434 "onScShow"?: (event: ScToggleCustomEvent<void>) => void;
11435 /**
11436 * Indicates whether or not the details is open. You can use this in lieu of the show/hide methods.
11437 */
11438 "open"?: boolean;
11439 /**
11440 * Is this a shady
11441 */
11442 "shady"?: boolean;
11443 /**
11444 * Should we show a radio control?
11445 */
11446 "showControl"?: boolean;
11447 /**
11448 * Should we show the arrow icon?
11449 */
11450 "showIcon"?: boolean;
11451 /**
11452 * The summary to show in the details header. If you need to display HTML, use the `summary` slot instead.
11453 */
11454 "summary"?: string;
11455 }
11456 interface ScToggles {
11457 /**
11458 * Should this function as an accordion?
11459 */
11460 "accordion"?: boolean;
11461 /**
11462 * Are these collapsible?
11463 */
11464 "collapsible"?: boolean;
11465 /**
11466 * Theme for the toggles
11467 */
11468 "theme"?: 'default' | 'container';
11469 }
11470 interface ScTooltip {
11471 /**
11472 * Freeze open or closed.
11473 */
11474 "freeze"?: boolean;
11475 /**
11476 * Open or not
11477 */
11478 "open"?: boolean;
11479 /**
11480 * The tooltip's padding.
11481 */
11482 "padding"?: number;
11483 /**
11484 * Tooltip text
11485 */
11486 "text"?: string;
11487 /**
11488 * The tooltip's type.
11489 */
11490 "type"?: 'primary' | 'success' | 'info' | 'warning' | 'danger' | 'text';
11491 /**
11492 * Tooltip fixed width
11493 */
11494 "width"?: string;
11495 }
11496 interface ScTotal {
11497 "order"?: Checkout;
11498 "total"?: 'total' | 'subtotal' | 'amount_due';
11499 }
11500 interface ScUpcomingInvoice {
11501 "adHocAmount"?: number;
11502 "discount"?: {
11503 promotion_code?: string;
11504 coupon?: string;
11505 };
11506 "heading"?: string;
11507 "payment_method"?: PaymentMethod;
11508 "priceId"?: string;
11509 "quantity"?: number;
11510 "quantityUpdatesEnabled"?: boolean;
11511 "subscriptionId"?: string;
11512 "successUrl"?: string;
11513 "variantId"?: string;
11514 }
11515 interface ScUpgradeRequired {
11516 /**
11517 * Whether to render upgrade modal by default
11518 */
11519 "open"?: boolean;
11520 /**
11521 * Is this required?
11522 */
11523 "required"?: boolean;
11524 /**
11525 * The tag's size.
11526 */
11527 "size"?: 'small' | 'medium' | 'large';
11528 }
11529 interface ScUpsell {
11530 }
11531 interface ScUpsellCountdownTimer {
11532 /**
11533 * Whether to show the icon.
11534 */
11535 "showIcon"?: boolean;
11536 }
11537 interface ScUpsellNoThanksButton {
11538 }
11539 interface ScUpsellSubmitButton {
11540 }
11541 interface ScUpsellTotals {
11542 }
11543 interface ScVisuallyHidden {
11544 }
11545 interface ScWordpressPasswordEdit {
11546 /**
11547 * Ensures strong password validation.
11548 */
11549 "enableValidation"?: boolean;
11550 "heading"?: string;
11551 "successUrl"?: string;
11552 "user"?: WordPressUser;
11553 }
11554 interface ScWordpressUser {
11555 "heading"?: string;
11556 "user"?: WordPressUser;
11557 }
11558 interface ScWordpressUserEdit {
11559 "heading"?: string;
11560 "successUrl"?: string;
11561 "user"?: WordPressUser;
11562 }
11563 interface IntrinsicElements {
11564 "sc-address": ScAddress;
11565 "sc-alert": ScAlert;
11566 "sc-avatar": ScAvatar;
11567 "sc-badge-notice": ScBadgeNotice;
11568 "sc-block-ui": ScBlockUi;
11569 "sc-breadcrumb": ScBreadcrumb;
11570 "sc-breadcrumbs": ScBreadcrumbs;
11571 "sc-button": ScButton;
11572 "sc-button-group": ScButtonGroup;
11573 "sc-cancel-dialog": ScCancelDialog;
11574 "sc-cancel-discount": ScCancelDiscount;
11575 "sc-cancel-survey": ScCancelSurvey;
11576 "sc-card": ScCard;
11577 "sc-cart": ScCart;
11578 "sc-cart-button": ScCartButton;
11579 "sc-cart-form": ScCartForm;
11580 "sc-cart-form-submit": ScCartFormSubmit;
11581 "sc-cart-header": ScCartHeader;
11582 "sc-cart-icon": ScCartIcon;
11583 "sc-cart-loader": ScCartLoader;
11584 "sc-cart-session-provider": ScCartSessionProvider;
11585 "sc-cart-submit": ScCartSubmit;
11586 "sc-cc-logo": ScCcLogo;
11587 "sc-charges-list": ScChargesList;
11588 "sc-checkbox": ScCheckbox;
11589 "sc-checkout": ScCheckout;
11590 "sc-checkout-form-errors": ScCheckoutFormErrors;
11591 "sc-checkout-mollie-payment": ScCheckoutMolliePayment;
11592 "sc-checkout-paystack-payment-provider": ScCheckoutPaystackPaymentProvider;
11593 "sc-checkout-product-price-variant-selector": ScCheckoutProductPriceVariantSelector;
11594 "sc-checkout-stock-alert": ScCheckoutStockAlert;
11595 "sc-checkout-test-complete": ScCheckoutTestComplete;
11596 "sc-checkout-unsaved-changes-warning": ScCheckoutUnsavedChangesWarning;
11597 "sc-choice": ScChoice;
11598 "sc-choice-container": ScChoiceContainer;
11599 "sc-choices": ScChoices;
11600 "sc-column": ScColumn;
11601 "sc-columns": ScColumns;
11602 "sc-compact-address": ScCompactAddress;
11603 "sc-conditional-form": ScConditionalForm;
11604 "sc-consumer": ScConsumer;
11605 "sc-coupon-form": ScCouponForm;
11606 "sc-custom-order-price-input": ScCustomOrderPriceInput;
11607 "sc-customer-details": ScCustomerDetails;
11608 "sc-customer-edit": ScCustomerEdit;
11609 "sc-customer-email": ScCustomerEmail;
11610 "sc-customer-firstname": ScCustomerFirstname;
11611 "sc-customer-lastname": ScCustomerLastname;
11612 "sc-customer-name": ScCustomerName;
11613 "sc-customer-phone": ScCustomerPhone;
11614 "sc-dashboard-customer-details": ScDashboardCustomerDetails;
11615 "sc-dashboard-downloads-list": ScDashboardDownloadsList;
11616 "sc-dashboard-module": ScDashboardModule;
11617 "sc-dialog": ScDialog;
11618 "sc-divider": ScDivider;
11619 "sc-donation-choices": ScDonationChoices;
11620 "sc-downloads-list": ScDownloadsList;
11621 "sc-drawer": ScDrawer;
11622 "sc-dropdown": ScDropdown;
11623 "sc-empty": ScEmpty;
11624 "sc-error": ScError;
11625 "sc-express-payment": ScExpressPayment;
11626 "sc-feature-demo-banner": ScFeatureDemoBanner;
11627 "sc-flex": ScFlex;
11628 "sc-form": ScForm;
11629 "sc-form-components-validator": ScFormComponentsValidator;
11630 "sc-form-control": ScFormControl;
11631 "sc-form-error-provider": ScFormErrorProvider;
11632 "sc-form-row": ScFormRow;
11633 "sc-form-state-provider": ScFormStateProvider;
11634 "sc-format-bytes": ScFormatBytes;
11635 "sc-format-date": ScFormatDate;
11636 "sc-format-interval": ScFormatInterval;
11637 "sc-format-number": ScFormatNumber;
11638 "sc-fulfillment-shipping-status-badge": ScFulfillmentShippingStatusBadge;
11639 "sc-fulfillments": ScFulfillments;
11640 "sc-heading": ScHeading;
11641 "sc-icon": ScIcon;
11642 "sc-image-slider": ScImageSlider;
11643 "sc-input": ScInput;
11644 "sc-invoice-details": ScInvoiceDetails;
11645 "sc-invoice-memo": ScInvoiceMemo;
11646 "sc-invoice-status-badge": ScInvoiceStatusBadge;
11647 "sc-invoices-list": ScInvoicesList;
11648 "sc-license": ScLicense;
11649 "sc-licenses-list": ScLicensesList;
11650 "sc-line-item": ScLineItem;
11651 "sc-line-item-bump": ScLineItemBump;
11652 "sc-line-item-invoice-due-date": ScLineItemInvoiceDueDate;
11653 "sc-line-item-invoice-number": ScLineItemInvoiceNumber;
11654 "sc-line-item-invoice-receipt-download": ScLineItemInvoiceReceiptDownload;
11655 "sc-line-item-shipping": ScLineItemShipping;
11656 "sc-line-item-tax": ScLineItemTax;
11657 "sc-line-item-total": ScLineItemTotal;
11658 "sc-line-items": ScLineItems;
11659 "sc-line-items-provider": ScLineItemsProvider;
11660 "sc-login-form": ScLoginForm;
11661 "sc-login-provider": ScLoginProvider;
11662 "sc-manual-payment-method": ScManualPaymentMethod;
11663 "sc-menu": ScMenu;
11664 "sc-menu-divider": ScMenuDivider;
11665 "sc-menu-item": ScMenuItem;
11666 "sc-menu-label": ScMenuLabel;
11667 "sc-mollie-add-method": ScMollieAddMethod;
11668 "sc-order": ScOrder;
11669 "sc-order-billing-address": ScOrderBillingAddress;
11670 "sc-order-bump": ScOrderBump;
11671 "sc-order-bumps": ScOrderBumps;
11672 "sc-order-confirm-components-validator": ScOrderConfirmComponentsValidator;
11673 "sc-order-confirm-provider": ScOrderConfirmProvider;
11674 "sc-order-confirmation": ScOrderConfirmation;
11675 "sc-order-confirmation-customer": ScOrderConfirmationCustomer;
11676 "sc-order-confirmation-details": ScOrderConfirmationDetails;
11677 "sc-order-confirmation-line-items": ScOrderConfirmationLineItems;
11678 "sc-order-confirmation-totals": ScOrderConfirmationTotals;
11679 "sc-order-coupon-form": ScOrderCouponForm;
11680 "sc-order-detail": ScOrderDetail;
11681 "sc-order-fulfillment-badge": ScOrderFulfillmentBadge;
11682 "sc-order-manual-instructions": ScOrderManualInstructions;
11683 "sc-order-password": ScOrderPassword;
11684 "sc-order-return-badge": ScOrderReturnBadge;
11685 "sc-order-shipment-badge": ScOrderShipmentBadge;
11686 "sc-order-shipping-address": ScOrderShippingAddress;
11687 "sc-order-status-badge": ScOrderStatusBadge;
11688 "sc-order-submit": ScOrderSubmit;
11689 "sc-order-summary": ScOrderSummary;
11690 "sc-order-tax-id-input": ScOrderTaxIdInput;
11691 "sc-orders-list": ScOrdersList;
11692 "sc-pagination": ScPagination;
11693 "sc-password": ScPassword;
11694 "sc-password-nag": ScPasswordNag;
11695 "sc-payment": ScPayment;
11696 "sc-payment-method": ScPaymentMethod;
11697 "sc-payment-method-choice": ScPaymentMethodChoice;
11698 "sc-payment-method-details": ScPaymentMethodDetails;
11699 "sc-payment-methods-list": ScPaymentMethodsList;
11700 "sc-payment-selected": ScPaymentSelected;
11701 "sc-paypal-add-method": ScPaypalAddMethod;
11702 "sc-paypal-buttons": ScPaypalButtons;
11703 "sc-paystack-add-method": ScPaystackAddMethod;
11704 "sc-phone-input": ScPhoneInput;
11705 "sc-pill-option": ScPillOption;
11706 "sc-premium-tag": ScPremiumTag;
11707 "sc-price": ScPrice;
11708 "sc-price-choice": ScPriceChoice;
11709 "sc-price-choice-container": ScPriceChoiceContainer;
11710 "sc-price-choices": ScPriceChoices;
11711 "sc-price-input": ScPriceInput;
11712 "sc-price-range": ScPriceRange;
11713 "sc-product-buy-button": ScProductBuyButton;
11714 "sc-product-donation-amount-choice": ScProductDonationAmountChoice;
11715 "sc-product-donation-choices": ScProductDonationChoices;
11716 "sc-product-donation-custom-amount": ScProductDonationCustomAmount;
11717 "sc-product-item": ScProductItem;
11718 "sc-product-item-image": ScProductItemImage;
11719 "sc-product-item-list": ScProductItemList;
11720 "sc-product-item-price": ScProductItemPrice;
11721 "sc-product-item-title": ScProductItemTitle;
11722 "sc-product-line-item": ScProductLineItem;
11723 "sc-product-pills-variant-option": ScProductPillsVariantOption;
11724 "sc-product-price": ScProductPrice;
11725 "sc-product-price-choices": ScProductPriceChoices;
11726 "sc-product-price-modal": ScProductPriceModal;
11727 "sc-product-quantity": ScProductQuantity;
11728 "sc-product-selected-price": ScProductSelectedPrice;
11729 "sc-product-text": ScProductText;
11730 "sc-prose": ScProse;
11731 "sc-provider": ScProvider;
11732 "sc-provisional-banner": ScProvisionalBanner;
11733 "sc-purchase-downloads-list": ScPurchaseDownloadsList;
11734 "sc-quantity-select": ScQuantitySelect;
11735 "sc-radio": ScRadio;
11736 "sc-radio-group": ScRadioGroup;
11737 "sc-recurring-price-choice-container": ScRecurringPriceChoiceContainer;
11738 "sc-rich-text": ScRichText;
11739 "sc-secure-notice": ScSecureNotice;
11740 "sc-select": ScSelect;
11741 "sc-session-provider": ScSessionProvider;
11742 "sc-shipping-choices": ScShippingChoices;
11743 "sc-skeleton": ScSkeleton;
11744 "sc-spacing": ScSpacing;
11745 "sc-spinner": ScSpinner;
11746 "sc-stacked-list": ScStackedList;
11747 "sc-stacked-list-row": ScStackedListRow;
11748 "sc-stripe-add-method": ScStripeAddMethod;
11749 "sc-stripe-element": ScStripeElement;
11750 "sc-stripe-payment-element": ScStripePaymentElement;
11751 "sc-stripe-payment-request": ScStripePaymentRequest;
11752 "sc-subscription": ScSubscription;
11753 "sc-subscription-ad-hoc-confirm": ScSubscriptionAdHocConfirm;
11754 "sc-subscription-cancel": ScSubscriptionCancel;
11755 "sc-subscription-details": ScSubscriptionDetails;
11756 "sc-subscription-next-payment": ScSubscriptionNextPayment;
11757 "sc-subscription-payment": ScSubscriptionPayment;
11758 "sc-subscription-payment-method": ScSubscriptionPaymentMethod;
11759 "sc-subscription-reactivate": ScSubscriptionReactivate;
11760 "sc-subscription-status-badge": ScSubscriptionStatusBadge;
11761 "sc-subscription-switch": ScSubscriptionSwitch;
11762 "sc-subscription-variation-confirm": ScSubscriptionVariationConfirm;
11763 "sc-subscriptions-list": ScSubscriptionsList;
11764 "sc-summary": ScSummary;
11765 "sc-switch": ScSwitch;
11766 "sc-tab": ScTab;
11767 "sc-tab-group": ScTabGroup;
11768 "sc-tab-panel": ScTabPanel;
11769 "sc-table": ScTable;
11770 "sc-table-cell": ScTableCell;
11771 "sc-table-head": ScTableHead;
11772 "sc-table-row": ScTableRow;
11773 "sc-tag": ScTag;
11774 "sc-tax-id-input": ScTaxIdInput;
11775 "sc-text": ScText;
11776 "sc-textarea": ScTextarea;
11777 "sc-toggle": ScToggle;
11778 "sc-toggles": ScToggles;
11779 "sc-tooltip": ScTooltip;
11780 "sc-total": ScTotal;
11781 "sc-upcoming-invoice": ScUpcomingInvoice;
11782 "sc-upgrade-required": ScUpgradeRequired;
11783 "sc-upsell": ScUpsell;
11784 "sc-upsell-countdown-timer": ScUpsellCountdownTimer;
11785 "sc-upsell-no-thanks-button": ScUpsellNoThanksButton;
11786 "sc-upsell-submit-button": ScUpsellSubmitButton;
11787 "sc-upsell-totals": ScUpsellTotals;
11788 "sc-visually-hidden": ScVisuallyHidden;
11789 "sc-wordpress-password-edit": ScWordpressPasswordEdit;
11790 "sc-wordpress-user": ScWordpressUser;
11791 "sc-wordpress-user-edit": ScWordpressUserEdit;
11792 }
11793 }
11794 export { LocalJSX as JSX };
11795 declare module "@stencil/core" {
11796 export namespace JSX {
11797 interface IntrinsicElements {
11798 "sc-address": LocalJSX.ScAddress & JSXBase.HTMLAttributes<HTMLScAddressElement>;
11799 "sc-alert": LocalJSX.ScAlert & JSXBase.HTMLAttributes<HTMLScAlertElement>;
11800 "sc-avatar": LocalJSX.ScAvatar & JSXBase.HTMLAttributes<HTMLScAvatarElement>;
11801 "sc-badge-notice": LocalJSX.ScBadgeNotice & JSXBase.HTMLAttributes<HTMLScBadgeNoticeElement>;
11802 "sc-block-ui": LocalJSX.ScBlockUi & JSXBase.HTMLAttributes<HTMLScBlockUiElement>;
11803 "sc-breadcrumb": LocalJSX.ScBreadcrumb & JSXBase.HTMLAttributes<HTMLScBreadcrumbElement>;
11804 "sc-breadcrumbs": LocalJSX.ScBreadcrumbs & JSXBase.HTMLAttributes<HTMLScBreadcrumbsElement>;
11805 "sc-button": LocalJSX.ScButton & JSXBase.HTMLAttributes<HTMLScButtonElement>;
11806 "sc-button-group": LocalJSX.ScButtonGroup & JSXBase.HTMLAttributes<HTMLScButtonGroupElement>;
11807 "sc-cancel-dialog": LocalJSX.ScCancelDialog & JSXBase.HTMLAttributes<HTMLScCancelDialogElement>;
11808 "sc-cancel-discount": LocalJSX.ScCancelDiscount & JSXBase.HTMLAttributes<HTMLScCancelDiscountElement>;
11809 "sc-cancel-survey": LocalJSX.ScCancelSurvey & JSXBase.HTMLAttributes<HTMLScCancelSurveyElement>;
11810 "sc-card": LocalJSX.ScCard & JSXBase.HTMLAttributes<HTMLScCardElement>;
11811 "sc-cart": LocalJSX.ScCart & JSXBase.HTMLAttributes<HTMLScCartElement>;
11812 "sc-cart-button": LocalJSX.ScCartButton & JSXBase.HTMLAttributes<HTMLScCartButtonElement>;
11813 "sc-cart-form": LocalJSX.ScCartForm & JSXBase.HTMLAttributes<HTMLScCartFormElement>;
11814 "sc-cart-form-submit": LocalJSX.ScCartFormSubmit & JSXBase.HTMLAttributes<HTMLScCartFormSubmitElement>;
11815 "sc-cart-header": LocalJSX.ScCartHeader & JSXBase.HTMLAttributes<HTMLScCartHeaderElement>;
11816 "sc-cart-icon": LocalJSX.ScCartIcon & JSXBase.HTMLAttributes<HTMLScCartIconElement>;
11817 "sc-cart-loader": LocalJSX.ScCartLoader & JSXBase.HTMLAttributes<HTMLScCartLoaderElement>;
11818 "sc-cart-session-provider": LocalJSX.ScCartSessionProvider & JSXBase.HTMLAttributes<HTMLScCartSessionProviderElement>;
11819 "sc-cart-submit": LocalJSX.ScCartSubmit & JSXBase.HTMLAttributes<HTMLScCartSubmitElement>;
11820 "sc-cc-logo": LocalJSX.ScCcLogo & JSXBase.HTMLAttributes<HTMLScCcLogoElement>;
11821 "sc-charges-list": LocalJSX.ScChargesList & JSXBase.HTMLAttributes<HTMLScChargesListElement>;
11822 "sc-checkbox": LocalJSX.ScCheckbox & JSXBase.HTMLAttributes<HTMLScCheckboxElement>;
11823 "sc-checkout": LocalJSX.ScCheckout & JSXBase.HTMLAttributes<HTMLScCheckoutElement>;
11824 /**
11825 * This component listens for a confirmed event and redirects to the success url.
11826 */
11827 "sc-checkout-form-errors": LocalJSX.ScCheckoutFormErrors & JSXBase.HTMLAttributes<HTMLScCheckoutFormErrorsElement>;
11828 "sc-checkout-mollie-payment": LocalJSX.ScCheckoutMolliePayment & JSXBase.HTMLAttributes<HTMLScCheckoutMolliePaymentElement>;
11829 "sc-checkout-paystack-payment-provider": LocalJSX.ScCheckoutPaystackPaymentProvider & JSXBase.HTMLAttributes<HTMLScCheckoutPaystackPaymentProviderElement>;
11830 "sc-checkout-product-price-variant-selector": LocalJSX.ScCheckoutProductPriceVariantSelector & JSXBase.HTMLAttributes<HTMLScCheckoutProductPriceVariantSelectorElement>;
11831 /**
11832 * This component listens for stock requirements and displays a dialog to the user.
11833 */
11834 "sc-checkout-stock-alert": LocalJSX.ScCheckoutStockAlert & JSXBase.HTMLAttributes<HTMLScCheckoutStockAlertElement>;
11835 /**
11836 * This component listens to the order status
11837 * and confirms the order when payment is successful.
11838 */
11839 "sc-checkout-test-complete": LocalJSX.ScCheckoutTestComplete & JSXBase.HTMLAttributes<HTMLScCheckoutTestCompleteElement>;
11840 "sc-checkout-unsaved-changes-warning": LocalJSX.ScCheckoutUnsavedChangesWarning & JSXBase.HTMLAttributes<HTMLScCheckoutUnsavedChangesWarningElement>;
11841 "sc-choice": LocalJSX.ScChoice & JSXBase.HTMLAttributes<HTMLScChoiceElement>;
11842 "sc-choice-container": LocalJSX.ScChoiceContainer & JSXBase.HTMLAttributes<HTMLScChoiceContainerElement>;
11843 "sc-choices": LocalJSX.ScChoices & JSXBase.HTMLAttributes<HTMLScChoicesElement>;
11844 "sc-column": LocalJSX.ScColumn & JSXBase.HTMLAttributes<HTMLScColumnElement>;
11845 "sc-columns": LocalJSX.ScColumns & JSXBase.HTMLAttributes<HTMLScColumnsElement>;
11846 "sc-compact-address": LocalJSX.ScCompactAddress & JSXBase.HTMLAttributes<HTMLScCompactAddressElement>;
11847 "sc-conditional-form": LocalJSX.ScConditionalForm & JSXBase.HTMLAttributes<HTMLScConditionalFormElement>;
11848 "sc-consumer": LocalJSX.ScConsumer & JSXBase.HTMLAttributes<HTMLScConsumerElement>;
11849 "sc-coupon-form": LocalJSX.ScCouponForm & JSXBase.HTMLAttributes<HTMLScCouponFormElement>;
11850 "sc-custom-order-price-input": LocalJSX.ScCustomOrderPriceInput & JSXBase.HTMLAttributes<HTMLScCustomOrderPriceInputElement>;
11851 "sc-customer-details": LocalJSX.ScCustomerDetails & JSXBase.HTMLAttributes<HTMLScCustomerDetailsElement>;
11852 "sc-customer-edit": LocalJSX.ScCustomerEdit & JSXBase.HTMLAttributes<HTMLScCustomerEditElement>;
11853 "sc-customer-email": LocalJSX.ScCustomerEmail & JSXBase.HTMLAttributes<HTMLScCustomerEmailElement>;
11854 "sc-customer-firstname": LocalJSX.ScCustomerFirstname & JSXBase.HTMLAttributes<HTMLScCustomerFirstnameElement>;
11855 "sc-customer-lastname": LocalJSX.ScCustomerLastname & JSXBase.HTMLAttributes<HTMLScCustomerLastnameElement>;
11856 "sc-customer-name": LocalJSX.ScCustomerName & JSXBase.HTMLAttributes<HTMLScCustomerNameElement>;
11857 "sc-customer-phone": LocalJSX.ScCustomerPhone & JSXBase.HTMLAttributes<HTMLScCustomerPhoneElement>;
11858 "sc-dashboard-customer-details": LocalJSX.ScDashboardCustomerDetails & JSXBase.HTMLAttributes<HTMLScDashboardCustomerDetailsElement>;
11859 "sc-dashboard-downloads-list": LocalJSX.ScDashboardDownloadsList & JSXBase.HTMLAttributes<HTMLScDashboardDownloadsListElement>;
11860 "sc-dashboard-module": LocalJSX.ScDashboardModule & JSXBase.HTMLAttributes<HTMLScDashboardModuleElement>;
11861 "sc-dialog": LocalJSX.ScDialog & JSXBase.HTMLAttributes<HTMLScDialogElement>;
11862 "sc-divider": LocalJSX.ScDivider & JSXBase.HTMLAttributes<HTMLScDividerElement>;
11863 "sc-donation-choices": LocalJSX.ScDonationChoices & JSXBase.HTMLAttributes<HTMLScDonationChoicesElement>;
11864 "sc-downloads-list": LocalJSX.ScDownloadsList & JSXBase.HTMLAttributes<HTMLScDownloadsListElement>;
11865 "sc-drawer": LocalJSX.ScDrawer & JSXBase.HTMLAttributes<HTMLScDrawerElement>;
11866 "sc-dropdown": LocalJSX.ScDropdown & JSXBase.HTMLAttributes<HTMLScDropdownElement>;
11867 "sc-empty": LocalJSX.ScEmpty & JSXBase.HTMLAttributes<HTMLScEmptyElement>;
11868 "sc-error": LocalJSX.ScError & JSXBase.HTMLAttributes<HTMLScErrorElement>;
11869 "sc-express-payment": LocalJSX.ScExpressPayment & JSXBase.HTMLAttributes<HTMLScExpressPaymentElement>;
11870 "sc-feature-demo-banner": LocalJSX.ScFeatureDemoBanner & JSXBase.HTMLAttributes<HTMLScFeatureDemoBannerElement>;
11871 "sc-flex": LocalJSX.ScFlex & JSXBase.HTMLAttributes<HTMLScFlexElement>;
11872 "sc-form": LocalJSX.ScForm & JSXBase.HTMLAttributes<HTMLScFormElement>;
11873 "sc-form-components-validator": LocalJSX.ScFormComponentsValidator & JSXBase.HTMLAttributes<HTMLScFormComponentsValidatorElement>;
11874 "sc-form-control": LocalJSX.ScFormControl & JSXBase.HTMLAttributes<HTMLScFormControlElement>;
11875 /**
11876 * This component checks to make sure there is an error component
11877 * and adds one if it's missing.
11878 */
11879 "sc-form-error-provider": LocalJSX.ScFormErrorProvider & JSXBase.HTMLAttributes<HTMLScFormErrorProviderElement>;
11880 "sc-form-row": LocalJSX.ScFormRow & JSXBase.HTMLAttributes<HTMLScFormRowElement>;
11881 /**
11882 * This component listens for a confirmed event and redirects to the success url.
11883 */
11884 "sc-form-state-provider": LocalJSX.ScFormStateProvider & JSXBase.HTMLAttributes<HTMLScFormStateProviderElement>;
11885 "sc-format-bytes": LocalJSX.ScFormatBytes & JSXBase.HTMLAttributes<HTMLScFormatBytesElement>;
11886 "sc-format-date": LocalJSX.ScFormatDate & JSXBase.HTMLAttributes<HTMLScFormatDateElement>;
11887 "sc-format-interval": LocalJSX.ScFormatInterval & JSXBase.HTMLAttributes<HTMLScFormatIntervalElement>;
11888 "sc-format-number": LocalJSX.ScFormatNumber & JSXBase.HTMLAttributes<HTMLScFormatNumberElement>;
11889 "sc-fulfillment-shipping-status-badge": LocalJSX.ScFulfillmentShippingStatusBadge & JSXBase.HTMLAttributes<HTMLScFulfillmentShippingStatusBadgeElement>;
11890 "sc-fulfillments": LocalJSX.ScFulfillments & JSXBase.HTMLAttributes<HTMLScFulfillmentsElement>;
11891 "sc-heading": LocalJSX.ScHeading & JSXBase.HTMLAttributes<HTMLScHeadingElement>;
11892 "sc-icon": LocalJSX.ScIcon & JSXBase.HTMLAttributes<HTMLScIconElement>;
11893 "sc-image-slider": LocalJSX.ScImageSlider & JSXBase.HTMLAttributes<HTMLScImageSliderElement>;
11894 "sc-input": LocalJSX.ScInput & JSXBase.HTMLAttributes<HTMLScInputElement>;
11895 "sc-invoice-details": LocalJSX.ScInvoiceDetails & JSXBase.HTMLAttributes<HTMLScInvoiceDetailsElement>;
11896 "sc-invoice-memo": LocalJSX.ScInvoiceMemo & JSXBase.HTMLAttributes<HTMLScInvoiceMemoElement>;
11897 "sc-invoice-status-badge": LocalJSX.ScInvoiceStatusBadge & JSXBase.HTMLAttributes<HTMLScInvoiceStatusBadgeElement>;
11898 "sc-invoices-list": LocalJSX.ScInvoicesList & JSXBase.HTMLAttributes<HTMLScInvoicesListElement>;
11899 "sc-license": LocalJSX.ScLicense & JSXBase.HTMLAttributes<HTMLScLicenseElement>;
11900 "sc-licenses-list": LocalJSX.ScLicensesList & JSXBase.HTMLAttributes<HTMLScLicensesListElement>;
11901 "sc-line-item": LocalJSX.ScLineItem & JSXBase.HTMLAttributes<HTMLScLineItemElement>;
11902 "sc-line-item-bump": LocalJSX.ScLineItemBump & JSXBase.HTMLAttributes<HTMLScLineItemBumpElement>;
11903 "sc-line-item-invoice-due-date": LocalJSX.ScLineItemInvoiceDueDate & JSXBase.HTMLAttributes<HTMLScLineItemInvoiceDueDateElement>;
11904 "sc-line-item-invoice-number": LocalJSX.ScLineItemInvoiceNumber & JSXBase.HTMLAttributes<HTMLScLineItemInvoiceNumberElement>;
11905 "sc-line-item-invoice-receipt-download": LocalJSX.ScLineItemInvoiceReceiptDownload & JSXBase.HTMLAttributes<HTMLScLineItemInvoiceReceiptDownloadElement>;
11906 "sc-line-item-shipping": LocalJSX.ScLineItemShipping & JSXBase.HTMLAttributes<HTMLScLineItemShippingElement>;
11907 "sc-line-item-tax": LocalJSX.ScLineItemTax & JSXBase.HTMLAttributes<HTMLScLineItemTaxElement>;
11908 "sc-line-item-total": LocalJSX.ScLineItemTotal & JSXBase.HTMLAttributes<HTMLScLineItemTotalElement>;
11909 "sc-line-items": LocalJSX.ScLineItems & JSXBase.HTMLAttributes<HTMLScLineItemsElement>;
11910 "sc-line-items-provider": LocalJSX.ScLineItemsProvider & JSXBase.HTMLAttributes<HTMLScLineItemsProviderElement>;
11911 "sc-login-form": LocalJSX.ScLoginForm & JSXBase.HTMLAttributes<HTMLScLoginFormElement>;
11912 "sc-login-provider": LocalJSX.ScLoginProvider & JSXBase.HTMLAttributes<HTMLScLoginProviderElement>;
11913 "sc-manual-payment-method": LocalJSX.ScManualPaymentMethod & JSXBase.HTMLAttributes<HTMLScManualPaymentMethodElement>;
11914 "sc-menu": LocalJSX.ScMenu & JSXBase.HTMLAttributes<HTMLScMenuElement>;
11915 "sc-menu-divider": LocalJSX.ScMenuDivider & JSXBase.HTMLAttributes<HTMLScMenuDividerElement>;
11916 "sc-menu-item": LocalJSX.ScMenuItem & JSXBase.HTMLAttributes<HTMLScMenuItemElement>;
11917 "sc-menu-label": LocalJSX.ScMenuLabel & JSXBase.HTMLAttributes<HTMLScMenuLabelElement>;
11918 "sc-mollie-add-method": LocalJSX.ScMollieAddMethod & JSXBase.HTMLAttributes<HTMLScMollieAddMethodElement>;
11919 "sc-order": LocalJSX.ScOrder & JSXBase.HTMLAttributes<HTMLScOrderElement>;
11920 "sc-order-billing-address": LocalJSX.ScOrderBillingAddress & JSXBase.HTMLAttributes<HTMLScOrderBillingAddressElement>;
11921 "sc-order-bump": LocalJSX.ScOrderBump & JSXBase.HTMLAttributes<HTMLScOrderBumpElement>;
11922 "sc-order-bumps": LocalJSX.ScOrderBumps & JSXBase.HTMLAttributes<HTMLScOrderBumpsElement>;
11923 "sc-order-confirm-components-validator": LocalJSX.ScOrderConfirmComponentsValidator & JSXBase.HTMLAttributes<HTMLScOrderConfirmComponentsValidatorElement>;
11924 /**
11925 * This component listens to the order status
11926 * and confirms the order when payment is successful.
11927 */
11928 "sc-order-confirm-provider": LocalJSX.ScOrderConfirmProvider & JSXBase.HTMLAttributes<HTMLScOrderConfirmProviderElement>;
11929 "sc-order-confirmation": LocalJSX.ScOrderConfirmation & JSXBase.HTMLAttributes<HTMLScOrderConfirmationElement>;
11930 "sc-order-confirmation-customer": LocalJSX.ScOrderConfirmationCustomer & JSXBase.HTMLAttributes<HTMLScOrderConfirmationCustomerElement>;
11931 "sc-order-confirmation-details": LocalJSX.ScOrderConfirmationDetails & JSXBase.HTMLAttributes<HTMLScOrderConfirmationDetailsElement>;
11932 "sc-order-confirmation-line-items": LocalJSX.ScOrderConfirmationLineItems & JSXBase.HTMLAttributes<HTMLScOrderConfirmationLineItemsElement>;
11933 "sc-order-confirmation-totals": LocalJSX.ScOrderConfirmationTotals & JSXBase.HTMLAttributes<HTMLScOrderConfirmationTotalsElement>;
11934 "sc-order-coupon-form": LocalJSX.ScOrderCouponForm & JSXBase.HTMLAttributes<HTMLScOrderCouponFormElement>;
11935 "sc-order-detail": LocalJSX.ScOrderDetail & JSXBase.HTMLAttributes<HTMLScOrderDetailElement>;
11936 "sc-order-fulfillment-badge": LocalJSX.ScOrderFulfillmentBadge & JSXBase.HTMLAttributes<HTMLScOrderFulfillmentBadgeElement>;
11937 "sc-order-manual-instructions": LocalJSX.ScOrderManualInstructions & JSXBase.HTMLAttributes<HTMLScOrderManualInstructionsElement>;
11938 "sc-order-password": LocalJSX.ScOrderPassword & JSXBase.HTMLAttributes<HTMLScOrderPasswordElement>;
11939 "sc-order-return-badge": LocalJSX.ScOrderReturnBadge & JSXBase.HTMLAttributes<HTMLScOrderReturnBadgeElement>;
11940 "sc-order-shipment-badge": LocalJSX.ScOrderShipmentBadge & JSXBase.HTMLAttributes<HTMLScOrderShipmentBadgeElement>;
11941 "sc-order-shipping-address": LocalJSX.ScOrderShippingAddress & JSXBase.HTMLAttributes<HTMLScOrderShippingAddressElement>;
11942 "sc-order-status-badge": LocalJSX.ScOrderStatusBadge & JSXBase.HTMLAttributes<HTMLScOrderStatusBadgeElement>;
11943 "sc-order-submit": LocalJSX.ScOrderSubmit & JSXBase.HTMLAttributes<HTMLScOrderSubmitElement>;
11944 "sc-order-summary": LocalJSX.ScOrderSummary & JSXBase.HTMLAttributes<HTMLScOrderSummaryElement>;
11945 "sc-order-tax-id-input": LocalJSX.ScOrderTaxIdInput & JSXBase.HTMLAttributes<HTMLScOrderTaxIdInputElement>;
11946 "sc-orders-list": LocalJSX.ScOrdersList & JSXBase.HTMLAttributes<HTMLScOrdersListElement>;
11947 "sc-pagination": LocalJSX.ScPagination & JSXBase.HTMLAttributes<HTMLScPaginationElement>;
11948 "sc-password": LocalJSX.ScPassword & JSXBase.HTMLAttributes<HTMLScPasswordElement>;
11949 "sc-password-nag": LocalJSX.ScPasswordNag & JSXBase.HTMLAttributes<HTMLScPasswordNagElement>;
11950 "sc-payment": LocalJSX.ScPayment & JSXBase.HTMLAttributes<HTMLScPaymentElement>;
11951 "sc-payment-method": LocalJSX.ScPaymentMethod & JSXBase.HTMLAttributes<HTMLScPaymentMethodElement>;
11952 "sc-payment-method-choice": LocalJSX.ScPaymentMethodChoice & JSXBase.HTMLAttributes<HTMLScPaymentMethodChoiceElement>;
11953 "sc-payment-method-details": LocalJSX.ScPaymentMethodDetails & JSXBase.HTMLAttributes<HTMLScPaymentMethodDetailsElement>;
11954 "sc-payment-methods-list": LocalJSX.ScPaymentMethodsList & JSXBase.HTMLAttributes<HTMLScPaymentMethodsListElement>;
11955 "sc-payment-selected": LocalJSX.ScPaymentSelected & JSXBase.HTMLAttributes<HTMLScPaymentSelectedElement>;
11956 "sc-paypal-add-method": LocalJSX.ScPaypalAddMethod & JSXBase.HTMLAttributes<HTMLScPaypalAddMethodElement>;
11957 "sc-paypal-buttons": LocalJSX.ScPaypalButtons & JSXBase.HTMLAttributes<HTMLScPaypalButtonsElement>;
11958 "sc-paystack-add-method": LocalJSX.ScPaystackAddMethod & JSXBase.HTMLAttributes<HTMLScPaystackAddMethodElement>;
11959 "sc-phone-input": LocalJSX.ScPhoneInput & JSXBase.HTMLAttributes<HTMLScPhoneInputElement>;
11960 "sc-pill-option": LocalJSX.ScPillOption & JSXBase.HTMLAttributes<HTMLScPillOptionElement>;
11961 "sc-premium-tag": LocalJSX.ScPremiumTag & JSXBase.HTMLAttributes<HTMLScPremiumTagElement>;
11962 /**
11963 * Internal dependencies.
11964 */
11965 "sc-price": LocalJSX.ScPrice & JSXBase.HTMLAttributes<HTMLScPriceElement>;
11966 "sc-price-choice": LocalJSX.ScPriceChoice & JSXBase.HTMLAttributes<HTMLScPriceChoiceElement>;
11967 "sc-price-choice-container": LocalJSX.ScPriceChoiceContainer & JSXBase.HTMLAttributes<HTMLScPriceChoiceContainerElement>;
11968 "sc-price-choices": LocalJSX.ScPriceChoices & JSXBase.HTMLAttributes<HTMLScPriceChoicesElement>;
11969 "sc-price-input": LocalJSX.ScPriceInput & JSXBase.HTMLAttributes<HTMLScPriceInputElement>;
11970 "sc-price-range": LocalJSX.ScPriceRange & JSXBase.HTMLAttributes<HTMLScPriceRangeElement>;
11971 "sc-product-buy-button": LocalJSX.ScProductBuyButton & JSXBase.HTMLAttributes<HTMLScProductBuyButtonElement>;
11972 "sc-product-donation-amount-choice": LocalJSX.ScProductDonationAmountChoice & JSXBase.HTMLAttributes<HTMLScProductDonationAmountChoiceElement>;
11973 "sc-product-donation-choices": LocalJSX.ScProductDonationChoices & JSXBase.HTMLAttributes<HTMLScProductDonationChoicesElement>;
11974 "sc-product-donation-custom-amount": LocalJSX.ScProductDonationCustomAmount & JSXBase.HTMLAttributes<HTMLScProductDonationCustomAmountElement>;
11975 "sc-product-item": LocalJSX.ScProductItem & JSXBase.HTMLAttributes<HTMLScProductItemElement>;
11976 "sc-product-item-image": LocalJSX.ScProductItemImage & JSXBase.HTMLAttributes<HTMLScProductItemImageElement>;
11977 "sc-product-item-list": LocalJSX.ScProductItemList & JSXBase.HTMLAttributes<HTMLScProductItemListElement>;
11978 "sc-product-item-price": LocalJSX.ScProductItemPrice & JSXBase.HTMLAttributes<HTMLScProductItemPriceElement>;
11979 "sc-product-item-title": LocalJSX.ScProductItemTitle & JSXBase.HTMLAttributes<HTMLScProductItemTitleElement>;
11980 "sc-product-line-item": LocalJSX.ScProductLineItem & JSXBase.HTMLAttributes<HTMLScProductLineItemElement>;
11981 "sc-product-pills-variant-option": LocalJSX.ScProductPillsVariantOption & JSXBase.HTMLAttributes<HTMLScProductPillsVariantOptionElement>;
11982 "sc-product-price": LocalJSX.ScProductPrice & JSXBase.HTMLAttributes<HTMLScProductPriceElement>;
11983 "sc-product-price-choices": LocalJSX.ScProductPriceChoices & JSXBase.HTMLAttributes<HTMLScProductPriceChoicesElement>;
11984 "sc-product-price-modal": LocalJSX.ScProductPriceModal & JSXBase.HTMLAttributes<HTMLScProductPriceModalElement>;
11985 "sc-product-quantity": LocalJSX.ScProductQuantity & JSXBase.HTMLAttributes<HTMLScProductQuantityElement>;
11986 "sc-product-selected-price": LocalJSX.ScProductSelectedPrice & JSXBase.HTMLAttributes<HTMLScProductSelectedPriceElement>;
11987 "sc-product-text": LocalJSX.ScProductText & JSXBase.HTMLAttributes<HTMLScProductTextElement>;
11988 "sc-prose": LocalJSX.ScProse & JSXBase.HTMLAttributes<HTMLScProseElement>;
11989 "sc-provider": LocalJSX.ScProvider & JSXBase.HTMLAttributes<HTMLScProviderElement>;
11990 "sc-provisional-banner": LocalJSX.ScProvisionalBanner & JSXBase.HTMLAttributes<HTMLScProvisionalBannerElement>;
11991 "sc-purchase-downloads-list": LocalJSX.ScPurchaseDownloadsList & JSXBase.HTMLAttributes<HTMLScPurchaseDownloadsListElement>;
11992 "sc-quantity-select": LocalJSX.ScQuantitySelect & JSXBase.HTMLAttributes<HTMLScQuantitySelectElement>;
11993 "sc-radio": LocalJSX.ScRadio & JSXBase.HTMLAttributes<HTMLScRadioElement>;
11994 "sc-radio-group": LocalJSX.ScRadioGroup & JSXBase.HTMLAttributes<HTMLScRadioGroupElement>;
11995 "sc-recurring-price-choice-container": LocalJSX.ScRecurringPriceChoiceContainer & JSXBase.HTMLAttributes<HTMLScRecurringPriceChoiceContainerElement>;
11996 "sc-rich-text": LocalJSX.ScRichText & JSXBase.HTMLAttributes<HTMLScRichTextElement>;
11997 "sc-secure-notice": LocalJSX.ScSecureNotice & JSXBase.HTMLAttributes<HTMLScSecureNoticeElement>;
11998 "sc-select": LocalJSX.ScSelect & JSXBase.HTMLAttributes<HTMLScSelectElement>;
11999 "sc-session-provider": LocalJSX.ScSessionProvider & JSXBase.HTMLAttributes<HTMLScSessionProviderElement>;
12000 "sc-shipping-choices": LocalJSX.ScShippingChoices & JSXBase.HTMLAttributes<HTMLScShippingChoicesElement>;
12001 "sc-skeleton": LocalJSX.ScSkeleton & JSXBase.HTMLAttributes<HTMLScSkeletonElement>;
12002 "sc-spacing": LocalJSX.ScSpacing & JSXBase.HTMLAttributes<HTMLScSpacingElement>;
12003 "sc-spinner": LocalJSX.ScSpinner & JSXBase.HTMLAttributes<HTMLScSpinnerElement>;
12004 "sc-stacked-list": LocalJSX.ScStackedList & JSXBase.HTMLAttributes<HTMLScStackedListElement>;
12005 "sc-stacked-list-row": LocalJSX.ScStackedListRow & JSXBase.HTMLAttributes<HTMLScStackedListRowElement>;
12006 "sc-stripe-add-method": LocalJSX.ScStripeAddMethod & JSXBase.HTMLAttributes<HTMLScStripeAddMethodElement>;
12007 "sc-stripe-element": LocalJSX.ScStripeElement & JSXBase.HTMLAttributes<HTMLScStripeElementElement>;
12008 "sc-stripe-payment-element": LocalJSX.ScStripePaymentElement & JSXBase.HTMLAttributes<HTMLScStripePaymentElementElement>;
12009 "sc-stripe-payment-request": LocalJSX.ScStripePaymentRequest & JSXBase.HTMLAttributes<HTMLScStripePaymentRequestElement>;
12010 "sc-subscription": LocalJSX.ScSubscription & JSXBase.HTMLAttributes<HTMLScSubscriptionElement>;
12011 "sc-subscription-ad-hoc-confirm": LocalJSX.ScSubscriptionAdHocConfirm & JSXBase.HTMLAttributes<HTMLScSubscriptionAdHocConfirmElement>;
12012 "sc-subscription-cancel": LocalJSX.ScSubscriptionCancel & JSXBase.HTMLAttributes<HTMLScSubscriptionCancelElement>;
12013 "sc-subscription-details": LocalJSX.ScSubscriptionDetails & JSXBase.HTMLAttributes<HTMLScSubscriptionDetailsElement>;
12014 "sc-subscription-next-payment": LocalJSX.ScSubscriptionNextPayment & JSXBase.HTMLAttributes<HTMLScSubscriptionNextPaymentElement>;
12015 "sc-subscription-payment": LocalJSX.ScSubscriptionPayment & JSXBase.HTMLAttributes<HTMLScSubscriptionPaymentElement>;
12016 "sc-subscription-payment-method": LocalJSX.ScSubscriptionPaymentMethod & JSXBase.HTMLAttributes<HTMLScSubscriptionPaymentMethodElement>;
12017 "sc-subscription-reactivate": LocalJSX.ScSubscriptionReactivate & JSXBase.HTMLAttributes<HTMLScSubscriptionReactivateElement>;
12018 "sc-subscription-status-badge": LocalJSX.ScSubscriptionStatusBadge & JSXBase.HTMLAttributes<HTMLScSubscriptionStatusBadgeElement>;
12019 "sc-subscription-switch": LocalJSX.ScSubscriptionSwitch & JSXBase.HTMLAttributes<HTMLScSubscriptionSwitchElement>;
12020 "sc-subscription-variation-confirm": LocalJSX.ScSubscriptionVariationConfirm & JSXBase.HTMLAttributes<HTMLScSubscriptionVariationConfirmElement>;
12021 "sc-subscriptions-list": LocalJSX.ScSubscriptionsList & JSXBase.HTMLAttributes<HTMLScSubscriptionsListElement>;
12022 "sc-summary": LocalJSX.ScSummary & JSXBase.HTMLAttributes<HTMLScSummaryElement>;
12023 "sc-switch": LocalJSX.ScSwitch & JSXBase.HTMLAttributes<HTMLScSwitchElement>;
12024 "sc-tab": LocalJSX.ScTab & JSXBase.HTMLAttributes<HTMLScTabElement>;
12025 "sc-tab-group": LocalJSX.ScTabGroup & JSXBase.HTMLAttributes<HTMLScTabGroupElement>;
12026 "sc-tab-panel": LocalJSX.ScTabPanel & JSXBase.HTMLAttributes<HTMLScTabPanelElement>;
12027 "sc-table": LocalJSX.ScTable & JSXBase.HTMLAttributes<HTMLScTableElement>;
12028 "sc-table-cell": LocalJSX.ScTableCell & JSXBase.HTMLAttributes<HTMLScTableCellElement>;
12029 "sc-table-head": LocalJSX.ScTableHead & JSXBase.HTMLAttributes<HTMLScTableHeadElement>;
12030 "sc-table-row": LocalJSX.ScTableRow & JSXBase.HTMLAttributes<HTMLScTableRowElement>;
12031 "sc-tag": LocalJSX.ScTag & JSXBase.HTMLAttributes<HTMLScTagElement>;
12032 "sc-tax-id-input": LocalJSX.ScTaxIdInput & JSXBase.HTMLAttributes<HTMLScTaxIdInputElement>;
12033 "sc-text": LocalJSX.ScText & JSXBase.HTMLAttributes<HTMLScTextElement>;
12034 "sc-textarea": LocalJSX.ScTextarea & JSXBase.HTMLAttributes<HTMLScTextareaElement>;
12035 "sc-toggle": LocalJSX.ScToggle & JSXBase.HTMLAttributes<HTMLScToggleElement>;
12036 "sc-toggles": LocalJSX.ScToggles & JSXBase.HTMLAttributes<HTMLScTogglesElement>;
12037 "sc-tooltip": LocalJSX.ScTooltip & JSXBase.HTMLAttributes<HTMLScTooltipElement>;
12038 "sc-total": LocalJSX.ScTotal & JSXBase.HTMLAttributes<HTMLScTotalElement>;
12039 "sc-upcoming-invoice": LocalJSX.ScUpcomingInvoice & JSXBase.HTMLAttributes<HTMLScUpcomingInvoiceElement>;
12040 "sc-upgrade-required": LocalJSX.ScUpgradeRequired & JSXBase.HTMLAttributes<HTMLScUpgradeRequiredElement>;
12041 "sc-upsell": LocalJSX.ScUpsell & JSXBase.HTMLAttributes<HTMLScUpsellElement>;
12042 "sc-upsell-countdown-timer": LocalJSX.ScUpsellCountdownTimer & JSXBase.HTMLAttributes<HTMLScUpsellCountdownTimerElement>;
12043 "sc-upsell-no-thanks-button": LocalJSX.ScUpsellNoThanksButton & JSXBase.HTMLAttributes<HTMLScUpsellNoThanksButtonElement>;
12044 "sc-upsell-submit-button": LocalJSX.ScUpsellSubmitButton & JSXBase.HTMLAttributes<HTMLScUpsellSubmitButtonElement>;
12045 "sc-upsell-totals": LocalJSX.ScUpsellTotals & JSXBase.HTMLAttributes<HTMLScUpsellTotalsElement>;
12046 "sc-visually-hidden": LocalJSX.ScVisuallyHidden & JSXBase.HTMLAttributes<HTMLScVisuallyHiddenElement>;
12047 "sc-wordpress-password-edit": LocalJSX.ScWordpressPasswordEdit & JSXBase.HTMLAttributes<HTMLScWordpressPasswordEditElement>;
12048 "sc-wordpress-user": LocalJSX.ScWordpressUser & JSXBase.HTMLAttributes<HTMLScWordpressUserElement>;
12049 "sc-wordpress-user-edit": LocalJSX.ScWordpressUserEdit & JSXBase.HTMLAttributes<HTMLScWordpressUserEditElement>;
12050 }
12051 }
12052 }
12053