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