PluginProbe ʕ •ᴥ•ʔ
SureCart – Ecommerce Made Easy For Selling Physical Products, Digital Downloads, Subscriptions, Donations, & Payments / 1.4.0
SureCart – Ecommerce Made Easy For Selling Physical Products, Digital Downloads, Subscriptions, Donations, & Payments v1.4.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 3 years ago functions 3 years ago global 3 years ago services 3 years ago store 3 years ago testing 3 years ago components.d.ts 3 years ago global.d.ts 3 years ago index.d.ts 3 years ago stencil-public-runtime.d.ts 3 years ago types.d.ts 3 years ago
components.d.ts
8292 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 { Activation, Address, Bump, Checkout, ChoiceItem, Customer, DiscountResponse, Download, FormState, FormStateSetter, License, LineItem, LineItemData, ManualPaymentMethod, Order, OrderStatus, PaymentIntent, PaymentIntents, PaymentMethod, Price, PriceChoice, Prices, Processor, ProcessorName, ProductGroup, Products, Purchase, ResponseError, Subscription, SubscriptionStatus, TaxIdentifier, TaxProtocol, TaxStatus, WordPressUser } from "./types";
9 export namespace Components {
10 interface ScAddress {
11 /**
12 * The address.
13 */
14 "address": Partial<Address>;
15 /**
16 * Is this disabled?
17 */
18 "disabled": boolean;
19 /**
20 * The label for the field.
21 */
22 "label": string;
23 /**
24 * Is this loading?
25 */
26 "loading": boolean;
27 "names": Partial<Address>;
28 "placeholders": Partial<Address>;
29 "reportValidity": () => Promise<boolean>;
30 /**
31 * Is this required?
32 */
33 "required": boolean;
34 /**
35 * Should we show name field?
36 */
37 "showLine2": boolean;
38 /**
39 * Should we show name field?
40 */
41 "showName": boolean;
42 }
43 interface ScAlert {
44 /**
45 * Makes the alert closable.
46 */
47 "closable": boolean;
48 /**
49 * 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`.
50 */
51 "duration": number;
52 /**
53 * Hides the alert
54 */
55 "hide": () => Promise<void>;
56 /**
57 * No icon
58 */
59 "noIcon": boolean;
60 /**
61 * Indicates whether or not the alert is open. You can use this in lieu of the show/hide methods.
62 */
63 "open": boolean;
64 /**
65 * Scroll margin
66 */
67 "scrollMargin": string;
68 /**
69 * Scroll into view.
70 */
71 "scrollOnOpen": boolean;
72 /**
73 * Shows the alert.
74 */
75 "show": () => Promise<void>;
76 /**
77 * The type of alert.
78 */
79 "type": 'primary' | 'success' | 'info' | 'warning' | 'danger';
80 }
81 interface ScBadgeNotice {
82 "label": string;
83 "size": 'small' | 'medium' | 'large';
84 "type": 'primary' | 'success' | 'info' | 'warning' | 'danger' | 'default';
85 }
86 interface ScBlockUi {
87 "spinner": boolean;
88 "transparent": boolean;
89 "zIndex": number;
90 }
91 interface ScBreadcrumb {
92 /**
93 * 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.
94 */
95 "href"?: string;
96 /**
97 * The `rel` attribute to use on the link. Only used when `href` is set.
98 */
99 "rel": string;
100 /**
101 * Tells the browser where to open the link. Only used when `href` is set.
102 */
103 "target"?: '_blank' | '_parent' | '_self' | '_top';
104 }
105 interface ScBreadcrumbs {
106 /**
107 * 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.
108 */
109 "label": string;
110 }
111 interface ScButton {
112 /**
113 * Draws the button in a busy state.
114 */
115 "busy"?: boolean;
116 /**
117 * Draws the button with a caret for use with dropdowns, popovers, etc.
118 */
119 "caret"?: boolean;
120 /**
121 * Draws a circle button.
122 */
123 "circle"?: boolean;
124 /**
125 * Disables the button.
126 */
127 "disabled"?: boolean;
128 /**
129 * Tells the browser to download the linked file as this filename. Only used when `href` is set.
130 */
131 "download": string;
132 /**
133 * Draws the button full-width.
134 */
135 "full"?: boolean;
136 /**
137 * When set, the underlying button will be rendered as an `<a>` with this `href` instead of a `<button>`.
138 */
139 "href": string;
140 /**
141 * Draws the button in a loading state.
142 */
143 "loading"?: boolean;
144 /**
145 * An optional name for the button. Ignored when `href` is set.
146 */
147 "name": string;
148 /**
149 * Draws an outlined button.
150 */
151 "outline"?: boolean;
152 /**
153 * Draws a pill-style button with rounded edges.
154 */
155 "pill"?: boolean;
156 /**
157 * The button's size.
158 */
159 "size": 'small' | 'medium' | 'large';
160 /**
161 * Indicates if activating the button should submit the form. Ignored when `href` is set.
162 */
163 "submit"?: boolean;
164 /**
165 * Tells the browser where to open the link. Only used when `href` is set.
166 */
167 "target": '_blank' | '_parent' | '_self' | '_top';
168 /**
169 * The button's type.
170 */
171 "type": 'default' | 'primary' | 'success' | 'info' | 'warning' | 'danger' | 'text' | 'link';
172 /**
173 * An optional value for the button. Ignored when `href` is set.
174 */
175 "value": string;
176 }
177 interface ScButtonGroup {
178 "label": string;
179 "separate": boolean;
180 }
181 interface ScCard {
182 /**
183 * Is this card borderless.
184 */
185 "borderless": boolean;
186 /**
187 * A link for the card.
188 */
189 "href": string;
190 /**
191 * Is this card loading.
192 */
193 "loading": boolean;
194 /**
195 * Eliminate the divider
196 */
197 "noDivider": boolean;
198 /**
199 * Remove padding
200 */
201 "noPadding": boolean;
202 }
203 interface ScCart {
204 /**
205 * Should we force show the cart, even if there's a form on the page?
206 */
207 "alwaysShow": boolean;
208 /**
209 * The template for the cart to inject when opened.
210 */
211 "cartTemplate": string;
212 "checkoutLink": string;
213 /**
214 * The checkout url for the button.
215 */
216 "checkoutUrl": string;
217 /**
218 * The form id to use for the cart.
219 */
220 "formId": string;
221 /**
222 * The header for the popout.
223 */
224 "header": string;
225 /**
226 * Are we in test or live mode.
227 */
228 "mode": 'test' | 'live';
229 }
230 interface ScCartForm {
231 /**
232 * The form id to use for the cart.
233 */
234 "formId": string;
235 /**
236 * Are we in test or live mode.
237 */
238 "mode": 'test' | 'live';
239 /**
240 * The price id to add.
241 */
242 "priceId": string;
243 /**
244 * The quantity
245 */
246 "quantity": number;
247 }
248 interface ScCartFormSubmit {
249 /**
250 * Is the cart busy
251 */
252 "busy": boolean;
253 /**
254 * Show a full-width button.
255 */
256 "full": boolean;
257 /**
258 * Icon to show.
259 */
260 "icon": string;
261 /**
262 * The button's size.
263 */
264 "size": 'small' | 'medium' | 'large';
265 /**
266 * The button type.
267 */
268 "type": 'default' | 'primary' | 'success' | 'info' | 'warning' | 'danger' | 'text' | 'link';
269 }
270 interface ScCartHeader {
271 "lineItems": Array<LineItem>;
272 }
273 interface ScCartIcon {
274 /**
275 * The count to show in the cart icon.
276 */
277 "count": number;
278 /**
279 * The icon to show.
280 */
281 "icon": string;
282 }
283 interface ScCartLoader {
284 /**
285 * The form id to use for the cart.
286 */
287 "formId": string;
288 /**
289 * The mode for the form.
290 */
291 "mode": 'live' | 'test';
292 /**
293 * The cart template to inject when opened.
294 */
295 "template": string;
296 }
297 interface ScCartSessionProvider {
298 /**
299 * Order Object
300 */
301 "order": Checkout;
302 }
303 interface ScCartSubmit {
304 /**
305 * Is the cart busy
306 */
307 "busy": boolean;
308 "checkoutLink": string;
309 /**
310 * Show a full-width button.
311 */
312 "full": boolean;
313 /**
314 * Icon to show.
315 */
316 "icon": string;
317 /**
318 * The button's size.
319 */
320 "size": 'small' | 'medium' | 'large';
321 /**
322 * The button type.
323 */
324 "type": 'default' | 'primary' | 'success' | 'info' | 'warning' | 'danger' | 'text' | 'link';
325 }
326 interface ScCcLogo {
327 "brand": string;
328 }
329 interface ScChargesList {
330 "allLink": string;
331 "heading": string;
332 /**
333 * Query to fetch charges
334 */
335 "query": {
336 page: number;
337 per_page: number;
338 };
339 "showPagination": boolean;
340 }
341 interface ScCheckbox {
342 /**
343 * Draws the checkbox in a checked state.
344 */
345 "checked": boolean;
346 /**
347 * Disables the checkbox.
348 */
349 "disabled": boolean;
350 /**
351 * Makes this edit and not editable.
352 */
353 "edit": boolean;
354 /**
355 * Draws the checkbox in an indeterminate state.
356 */
357 "indeterminate": boolean;
358 /**
359 * This will be true when the control is in an invalid state. Validity is determined by the `required` prop.
360 */
361 "invalid": boolean;
362 /**
363 * The checkbox's name attribute.
364 */
365 "name": string;
366 /**
367 * Checks for validity and shows the browser's validation message if the control is invalid.
368 */
369 "reportValidity": () => Promise<boolean>;
370 /**
371 * Makes the checkbox a required field.
372 */
373 "required": boolean;
374 /**
375 * Removes focus from the checkbox.
376 */
377 "triggerBlur": () => Promise<void>;
378 /**
379 * Simulates a click on the checkbox.
380 */
381 "triggerClick": () => Promise<void>;
382 /**
383 * Sets focus on the checkbox.
384 */
385 "triggerFocus": (options?: FocusOptions) => Promise<void>;
386 /**
387 * The checkbox's value attribute.
388 */
389 "value": string;
390 }
391 interface ScCheckout {
392 /**
393 * The abandoned checkout return url.
394 */
395 "abandonedCheckoutReturnUrl": string;
396 /**
397 * Alignment
398 */
399 "alignment": 'center' | 'wide' | 'full';
400 /**
401 * Currency to use for this checkout.
402 */
403 "currencyCode": string;
404 /**
405 * Stores the current customer
406 */
407 "customer": Customer;
408 /**
409 * Should we disable components validation
410 */
411 "disableComponentsValidation": boolean;
412 /**
413 * Can we edit line items?
414 */
415 "editLineItems": boolean;
416 /**
417 * The checkout form id
418 */
419 "formId": number;
420 "loadingText": {
421 finalizing: string;
422 paying: string;
423 confirming: string;
424 confirmed: string;
425 };
426 /**
427 * Is this user logged in?
428 */
429 "loggedIn": boolean;
430 /**
431 * Manual payment methods enabled for this form.
432 */
433 "manualPaymentMethods": ManualPaymentMethod[];
434 /**
435 * Are we in test or live mode.
436 */
437 "mode": 'test' | 'live';
438 /**
439 * When the form was modified.
440 */
441 "modified": string;
442 /**
443 * Whether to persist the session in the browser between visits.
444 */
445 "persistSession": boolean;
446 /**
447 * An array of prices to pre-fill in the form.
448 */
449 "prices": Array<PriceChoice>;
450 /**
451 * Processors enabled for this form.
452 */
453 "processors": Processor[];
454 /**
455 * Can we remove line items?
456 */
457 "removeLineItems": boolean;
458 /**
459 * Use the Stripe payment element.
460 */
461 "stripePaymentElement": boolean;
462 /**
463 * Submit the form
464 */
465 "submit": ({ skip_validation }?: { skip_validation: boolean; }) => Promise<Checkout>;
466 /**
467 * Where to go on success
468 */
469 "successUrl": string;
470 /**
471 * The account tax protocol
472 */
473 "taxProtocol": TaxProtocol;
474 /**
475 * Validate the form.
476 */
477 "validate": () => Promise<boolean>;
478 }
479 interface ScCheckoutUnsavedChangesWarning {
480 "state": FormState;
481 }
482 interface ScChoice {
483 /**
484 * Draws the choice in a checked state.
485 */
486 "checked": boolean;
487 /**
488 * Is the choice disabled
489 */
490 "disabled": boolean;
491 /**
492 * This will be true when the control is in an invalid state. Validity is determined by the `required` prop.
493 */
494 "invalid": boolean;
495 /**
496 * The choice name attribute
497 */
498 "name": string;
499 /**
500 * Checks for validity and shows the browser's validation message if the control is invalid.
501 */
502 "reportValidity": () => Promise<boolean>;
503 /**
504 * Is this required
505 */
506 "required": boolean;
507 /**
508 * Sets a custom validation message. If `message` is not empty, the field will be considered invalid.
509 */
510 "setCustomValidity": (message: string) => Promise<void>;
511 /**
512 * Show the radio/checkbox control
513 */
514 "showControl": boolean;
515 /**
516 * Show the label
517 */
518 "showLabel": boolean;
519 /**
520 * Show the price
521 */
522 "showPrice": boolean;
523 /**
524 * The size.
525 */
526 "size": 'small' | 'medium' | 'large';
527 /**
528 * Simulates a click on the choice.
529 */
530 "triggerClick": () => Promise<void>;
531 "triggerFocus": () => Promise<void>;
532 /**
533 * The choice name attribute
534 */
535 "type": 'radio' | 'checkbox';
536 /**
537 * The choice value
538 */
539 "value": string;
540 }
541 interface ScChoices {
542 "autoWidth": boolean;
543 /**
544 * Number of columns on desktop
545 */
546 "columns": number;
547 /**
548 * Validation error message.
549 */
550 "errorMessage": string;
551 /**
552 * The input's help text.
553 */
554 "help": string;
555 /**
556 * Hides the fieldset and legend that surrounds the group. The label will still be read by screen readers.
557 */
558 "hideLabel": boolean;
559 /**
560 * The group label. Required for proper accessibility. Alternatively, you can use the label slot.
561 */
562 "label": string;
563 /**
564 * Required
565 */
566 "required": boolean;
567 /**
568 * Should we show the label
569 */
570 "showLabel": boolean;
571 /**
572 * Input size
573 */
574 "size": 'small' | 'medium' | 'large';
575 "triggerFocus": () => Promise<void>;
576 }
577 interface ScColumn {
578 }
579 interface ScColumns {
580 /**
581 * Is this stacked on mobile
582 */
583 "isStackedOnMobile": boolean;
584 /**
585 * The vertical alignment of the columns.
586 */
587 "verticalAlignment": string;
588 }
589 interface ScCompactAddress {
590 /**
591 * The address.
592 */
593 "address": Partial<Address>;
594 /**
595 * Label for the address
596 */
597 "label": string;
598 /**
599 * Is this loading
600 */
601 "loading": boolean;
602 "names": Partial<Address>;
603 "reportValidity": () => Promise<boolean>;
604 /**
605 * Is this required?
606 */
607 "required": boolean;
608 }
609 interface ScConsumer {
610 "renderer": any;
611 }
612 interface ScCouponForm {
613 /**
614 * Is the form calculating
615 */
616 "busy": boolean;
617 /**
618 * Currency
619 */
620 "currency": string;
621 /**
622 * The discount
623 */
624 "discount": DiscountResponse;
625 /**
626 * The discount amount
627 */
628 "discountAmount": number;
629 /**
630 * The error message
631 */
632 "error": string;
633 /**
634 * Force the form to show
635 */
636 "forceOpen": boolean;
637 /**
638 * The label for the coupon form
639 */
640 "label": string;
641 /**
642 * Is the form loading
643 */
644 "loading": boolean;
645 /**
646 * Is it open
647 */
648 "open": boolean;
649 }
650 interface ScCustomOrderPriceInput {
651 /**
652 * Is this busy
653 */
654 "busy": boolean;
655 /**
656 * Help text.
657 */
658 "help": string;
659 /**
660 * Label for the field.
661 */
662 "label": string;
663 /**
664 * Label for the choice.
665 */
666 "lineItems": LineItem[];
667 /**
668 * Is this loading
669 */
670 "loading": boolean;
671 /**
672 * Input placeholder.
673 */
674 "placeholder": string;
675 /**
676 * Stores the price
677 */
678 "price": Price;
679 /**
680 * Id of the price.
681 */
682 "priceId": string;
683 /**
684 * Is this required?
685 */
686 "required": boolean;
687 /**
688 * Show the currency code?
689 */
690 "showCode": boolean;
691 }
692 interface ScCustomerDetails {
693 "customer": Customer;
694 "editLink": string;
695 "error": string;
696 "heading": string;
697 "loading": boolean;
698 }
699 interface ScCustomerEdit {
700 "customer": Customer;
701 "heading": string;
702 "successUrl": string;
703 }
704 interface ScCustomerEmail {
705 /**
706 * Is abandoned checkout enabled?
707 */
708 "abandonedCheckoutEnabled": boolean;
709 /**
710 * The input's autofocus attribute.
711 */
712 "autofocus": boolean;
713 /**
714 * Force a customer.
715 */
716 "customer": Customer;
717 /**
718 * Disables the input.
719 */
720 "disabled": boolean;
721 /**
722 * Inputs focus
723 */
724 "hasFocus": boolean;
725 /**
726 * The input's help text.
727 */
728 "help": string;
729 /**
730 * 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.
731 */
732 "invalid": boolean;
733 /**
734 * The input's label.
735 */
736 "label": string;
737 /**
738 * Is the user logged in.
739 */
740 "loggedIn": boolean;
741 /**
742 * (passed from the sc-checkout component automatically)
743 */
744 "order": Checkout;
745 /**
746 * Draws a pill-style input with rounded edges.
747 */
748 "pill": boolean;
749 /**
750 * The input's placeholder text.
751 */
752 "placeholder": string;
753 /**
754 * Makes the input readonly.
755 */
756 "readonly": boolean;
757 "reportValidity": () => Promise<boolean>;
758 /**
759 * Makes the input a required field.
760 */
761 "required": boolean;
762 /**
763 * Should we show the label
764 */
765 "showLabel": boolean;
766 /**
767 * The input's size.
768 */
769 "size": 'small' | 'medium' | 'large';
770 /**
771 * A message for tracking confirmation.
772 */
773 "trackingConfirmationMessage": string;
774 /**
775 * The input's value attribute.
776 */
777 "value": string;
778 }
779 interface ScCustomerFirstname {
780 /**
781 * The input's autofocus attribute.
782 */
783 "autofocus": boolean;
784 /**
785 * Force a customer.
786 */
787 "customer": Customer;
788 /**
789 * Disables the input.
790 */
791 "disabled": boolean;
792 /**
793 * Inputs focus
794 */
795 "hasFocus": boolean;
796 /**
797 * The input's help text.
798 */
799 "help": string;
800 /**
801 * 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.
802 */
803 "invalid": boolean;
804 /**
805 * The input's label.
806 */
807 "label": string;
808 /**
809 * Is the user logged in.
810 */
811 "loggedIn": boolean;
812 /**
813 * (passed from the sc-checkout component automatically)
814 */
815 "order": Checkout;
816 /**
817 * Draws a pill-style input with rounded edges.
818 */
819 "pill": boolean;
820 /**
821 * The input's placeholder text.
822 */
823 "placeholder": string;
824 /**
825 * Makes the input readonly.
826 */
827 "readonly": boolean;
828 "reportValidity": () => Promise<boolean>;
829 /**
830 * Makes the input a required field.
831 */
832 "required": boolean;
833 /**
834 * Should we show the label
835 */
836 "showLabel": boolean;
837 /**
838 * The input's size.
839 */
840 "size": 'small' | 'medium' | 'large';
841 /**
842 * The input's value attribute.
843 */
844 "value": string;
845 }
846 interface ScCustomerLastname {
847 /**
848 * The input's autofocus attribute.
849 */
850 "autofocus": boolean;
851 /**
852 * Force a customer.
853 */
854 "customer": Customer;
855 /**
856 * Disables the input.
857 */
858 "disabled": boolean;
859 /**
860 * Inputs focus
861 */
862 "hasFocus": boolean;
863 /**
864 * The input's help text.
865 */
866 "help": string;
867 /**
868 * 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.
869 */
870 "invalid": boolean;
871 /**
872 * The input's label.
873 */
874 "label": string;
875 /**
876 * Is the user logged in.
877 */
878 "loggedIn": boolean;
879 /**
880 * (passed from the sc-checkout component automatically)
881 */
882 "order": Checkout;
883 /**
884 * Draws a pill-style input with rounded edges.
885 */
886 "pill": boolean;
887 /**
888 * The input's placeholder text.
889 */
890 "placeholder": string;
891 /**
892 * Makes the input readonly.
893 */
894 "readonly": boolean;
895 "reportValidity": () => Promise<boolean>;
896 /**
897 * Makes the input a required field.
898 */
899 "required": boolean;
900 /**
901 * Should we show the label
902 */
903 "showLabel": boolean;
904 /**
905 * The input's size.
906 */
907 "size": 'small' | 'medium' | 'large';
908 /**
909 * The input's value attribute.
910 */
911 "value": string;
912 }
913 interface ScCustomerName {
914 /**
915 * The input's autofocus attribute.
916 */
917 "autofocus": boolean;
918 /**
919 * Force a customer.
920 */
921 "customer": Customer;
922 /**
923 * Disables the input.
924 */
925 "disabled": boolean;
926 /**
927 * Inputs focus
928 */
929 "hasFocus": boolean;
930 /**
931 * The input's help text.
932 */
933 "help": string;
934 /**
935 * 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.
936 */
937 "invalid": boolean;
938 /**
939 * The input's label.
940 */
941 "label": string;
942 /**
943 * Is the user logged in.
944 */
945 "loggedIn": boolean;
946 /**
947 * (passed from the sc-checkout component automatically)
948 */
949 "order": Checkout;
950 /**
951 * Draws a pill-style input with rounded edges.
952 */
953 "pill": boolean;
954 /**
955 * The input's placeholder text.
956 */
957 "placeholder": string;
958 /**
959 * Makes the input readonly.
960 */
961 "readonly": boolean;
962 "reportValidity": () => Promise<boolean>;
963 /**
964 * Makes the input a required field.
965 */
966 "required": boolean;
967 /**
968 * Should we show the label
969 */
970 "showLabel": boolean;
971 /**
972 * The input's size.
973 */
974 "size": 'small' | 'medium' | 'large';
975 /**
976 * The input's value attribute.
977 */
978 "value": string;
979 }
980 interface ScDashboardCustomerDetails {
981 "customerId": string;
982 "heading": string;
983 }
984 interface ScDashboardDownloadsList {
985 "allLink": string;
986 "heading": string;
987 "isCustomer": boolean;
988 /**
989 * Customer id to fetch subscriptions
990 */
991 "query": any;
992 "requestNonce": string;
993 }
994 interface ScDashboardModule {
995 "error": string;
996 "heading": string;
997 "loading": boolean;
998 }
999 interface ScDialog {
1000 /**
1001 * 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.
1002 */
1003 "label": string;
1004 /**
1005 * 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.
1006 */
1007 "noHeader": boolean;
1008 /**
1009 * Indicates whether or not the dialog is open. You can use this in lieu of the show/hide methods.
1010 */
1011 "open": boolean;
1012 }
1013 interface ScDivider {
1014 }
1015 interface ScDonationChoices {
1016 "busy": boolean;
1017 /**
1018 * Currency code for the donation.
1019 */
1020 "currencyCode": string;
1021 /**
1022 * The default amount to load the page with.
1023 */
1024 "defaultAmount": string;
1025 /**
1026 * The label for the field.
1027 */
1028 "label": string;
1029 /**
1030 * Order line items.
1031 */
1032 "lineItems": LineItem[];
1033 /**
1034 * Is this loading
1035 */
1036 "loading": boolean;
1037 /**
1038 * The price id for the fields.
1039 */
1040 "priceId": string;
1041 "removeInvalid": boolean;
1042 "reportValidity": () => Promise<boolean>;
1043 }
1044 interface ScDownloadsList {
1045 "customerId": string;
1046 "downloads": Download[];
1047 "heading": string;
1048 }
1049 interface ScDrawer {
1050 /**
1051 * 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.
1052 */
1053 "contained": boolean;
1054 /**
1055 * 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.
1056 */
1057 "label": string;
1058 /**
1059 * 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.
1060 */
1061 "noHeader": boolean;
1062 /**
1063 * Indicates whether or not the drawer is open. You can use this in lieu of the show/hide methods.
1064 */
1065 "open": boolean;
1066 /**
1067 * The direction from which the drawer will open.
1068 */
1069 "placement": 'top' | 'end' | 'bottom' | 'start';
1070 }
1071 interface ScDropdown {
1072 "clickEl"?: HTMLElement;
1073 /**
1074 * Determines whether the dropdown should hide when a menu item is selected
1075 */
1076 "closeOnSelect": boolean;
1077 /**
1078 * Is this disabled.
1079 */
1080 "disabled": boolean;
1081 /**
1082 * The distance in pixels from which to offset the panel away from its trigger.
1083 */
1084 "distance": number;
1085 /**
1086 * Enable this option to prevent the panel from being clipped when the component is placed inside a container with `overflow: auto|scroll`.
1087 */
1088 "hoist": boolean;
1089 /**
1090 * Indicates whether or not the dropdown is open. You can use this in lieu of the show/hide methods.
1091 */
1092 "open"?: boolean;
1093 /**
1094 * The placement of the dropdown.
1095 */
1096 "placement": | 'top'
1097 | 'top-start'
1098 | 'top-end'
1099 | 'bottom'
1100 | 'bottom-start'
1101 | 'bottom-end'
1102 | 'right'
1103 | 'right-start'
1104 | 'right-end'
1105 | 'left'
1106 | 'left-start'
1107 | 'left-end';
1108 /**
1109 * The placement of the dropdown panel
1110 */
1111 "position": 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right';
1112 /**
1113 * The distance in pixels from which to offset the panel along its trigger.
1114 */
1115 "skidding": number;
1116 }
1117 interface ScEmpty {
1118 "icon": string;
1119 }
1120 interface ScError {
1121 /**
1122 * Error to display.
1123 */
1124 "error": ResponseError | null;
1125 }
1126 interface ScExpressPayment {
1127 "busy": boolean;
1128 "debug": boolean;
1129 "dividerText": string;
1130 "formId": number | string;
1131 "hasPaymentOptions": boolean;
1132 "order": Checkout;
1133 "processor": ProcessorName;
1134 }
1135 interface ScFlex {
1136 "alignItems": string;
1137 "columnGap": string;
1138 "flexDirection": string;
1139 "flexWrap": string;
1140 "justifyContent": string;
1141 "stack": string;
1142 }
1143 interface ScForm {
1144 /**
1145 * Serializes all form controls elements and returns a `FormData` object.
1146 */
1147 "getFormData": () => Promise<FormData>;
1148 "getFormJson": () => Promise<Record<string, unknown>>;
1149 /**
1150 * Prevent the form from validating inputs before submitting.
1151 */
1152 "novalidate": boolean;
1153 "submit": () => Promise<void>;
1154 "validate": () => Promise<boolean>;
1155 }
1156 interface ScFormComponentsValidator {
1157 /**
1158 * Disable validation?
1159 */
1160 "disabled": boolean;
1161 /**
1162 * The order
1163 */
1164 "order": Checkout;
1165 /**
1166 * The tax protocol
1167 */
1168 "taxProtocol": TaxProtocol;
1169 }
1170 interface ScFormControl {
1171 /**
1172 * Store the error message
1173 */
1174 "errorMessage": string;
1175 /**
1176 * Display server-side validation errors.
1177 */
1178 "errors": any;
1179 /**
1180 * Help text
1181 */
1182 "help": string;
1183 /**
1184 * Help id
1185 */
1186 "helpId": string;
1187 /**
1188 * Input id.
1189 */
1190 "inputId": string;
1191 /**
1192 * Input label.
1193 */
1194 "label": string;
1195 /**
1196 * Input label id.
1197 */
1198 "labelId": string;
1199 /**
1200 * Name for the input. Used for validation errors.
1201 */
1202 "name": string;
1203 /**
1204 * Whether the input is required.
1205 */
1206 "required": boolean;
1207 /**
1208 * Show the label.
1209 */
1210 "showLabel": boolean;
1211 /**
1212 * Size of the label
1213 */
1214 "size": 'small' | 'medium' | 'large';
1215 }
1216 interface ScFormErrorProvider {
1217 /**
1218 * The current order.
1219 */
1220 "checkoutState": FormState;
1221 }
1222 interface ScFormRow {
1223 }
1224 interface ScFormStateProvider {
1225 }
1226 interface ScFormatBytes {
1227 /**
1228 * Determines how to display the result, e.g. "100 bytes", "100 b", or "100b".
1229 */
1230 "display": 'long' | 'short' | 'narrow';
1231 /**
1232 * The locale to use when formatting the number.
1233 */
1234 "locale": string;
1235 /**
1236 * The unit to display.
1237 */
1238 "unit": 'byte' | 'bit';
1239 /**
1240 * The number to format in bytes.
1241 */
1242 "value": number;
1243 }
1244 interface ScFormatDate {
1245 /**
1246 * The date/time to format. If not set, the current date and time will be used.
1247 */
1248 "date": Date | string | number;
1249 /**
1250 * The format for displaying the day.
1251 */
1252 "day": 'numeric' | '2-digit';
1253 /**
1254 * The format for displaying the era.
1255 */
1256 "era": 'narrow' | 'short' | 'long';
1257 /**
1258 * The format for displaying the hour.
1259 */
1260 "hour": 'numeric' | '2-digit';
1261 /**
1262 * When set, 24 hour time will always be used.
1263 */
1264 "hourFormat": 'auto' | '12' | '24';
1265 /**
1266 * The locale to use when formatting the date/time.
1267 */
1268 "locale": string;
1269 /**
1270 * The format for displaying the minute.
1271 */
1272 "minute": 'numeric' | '2-digit';
1273 /**
1274 * The format for displaying the month.
1275 */
1276 "month": 'numeric' | '2-digit' | 'narrow' | 'short' | 'long';
1277 /**
1278 * The format for displaying the second.
1279 */
1280 "second": 'numeric' | '2-digit';
1281 /**
1282 * The time zone to express the time in.
1283 */
1284 "timeZone": string;
1285 /**
1286 * The format for displaying the time.
1287 */
1288 "timeZoneName": 'short' | 'long';
1289 "type": 'timestamp' | 'date';
1290 /**
1291 * The format for displaying the weekday.
1292 */
1293 "weekday": 'narrow' | 'short' | 'long';
1294 /**
1295 * The format for displaying the year.
1296 */
1297 "year": 'numeric' | '2-digit';
1298 }
1299 interface ScFormatInterval {
1300 "every": string;
1301 "fallback": string;
1302 "interval": string;
1303 /**
1304 * The number to format.
1305 */
1306 "value": number;
1307 }
1308 interface ScFormatNumber {
1309 /**
1310 * The currency to use when formatting. Must be an ISO 4217 currency code such as `USD` or `EUR`.
1311 */
1312 "currency": string;
1313 /**
1314 * How to display the currency.
1315 */
1316 "currencyDisplay": 'symbol' | 'narrowSymbol' | 'code' | 'name';
1317 /**
1318 * The locale to use when formatting the number.
1319 */
1320 "locale": string;
1321 /**
1322 * The maximum number of fraction digits to use. Possible values are 0 - 20.
1323 */
1324 "maximumFractionDigits": number;
1325 /**
1326 * The maximum number of significant digits to use,. Possible values are 1 - 21.
1327 */
1328 "maximumSignificantDigits": number;
1329 /**
1330 * The minimum number of fraction digits to use. Possible values are 0 - 20.
1331 */
1332 "minimumFractionDigits": number;
1333 /**
1334 * The minimum number of integer digits to use. Possible values are 1 - 21.
1335 */
1336 "minimumIntegerDigits": number;
1337 /**
1338 * The minimum number of significant digits to use. Possible values are 1 - 21.
1339 */
1340 "minimumSignificantDigits": number;
1341 "noConvert": boolean;
1342 /**
1343 * Turns off grouping separators.
1344 */
1345 "noGrouping": boolean;
1346 /**
1347 * The formatting style to use.
1348 */
1349 "type": 'currency' | 'decimal' | 'percent';
1350 /**
1351 * The number to format.
1352 */
1353 "value": number;
1354 }
1355 interface ScHeading {
1356 "size": 'small' | 'medium' | 'large';
1357 }
1358 interface ScIcon {
1359 /**
1360 * An alternative description to use for accessibility. If omitted, the name or src will be used to generate it.
1361 */
1362 "label": string;
1363 /**
1364 * The name of a registered custom icon library.
1365 */
1366 "library": string;
1367 /**
1368 * The name of the icon to draw.
1369 */
1370 "name": string;
1371 /**
1372 * An external URL of an SVG file.
1373 */
1374 "src": string;
1375 }
1376 interface ScInput {
1377 /**
1378 * The input's autocomplete attribute.
1379 */
1380 "autocomplete": string;
1381 /**
1382 * The input's autocorrect attribute.
1383 */
1384 "autocorrect": string;
1385 /**
1386 * The input's autofocus attribute.
1387 */
1388 "autofocus": boolean;
1389 /**
1390 * Adds a clear button when the input is populated.
1391 */
1392 "clearable": boolean;
1393 /**
1394 * Disables the input.
1395 */
1396 "disabled": boolean;
1397 /**
1398 * Inputs focus
1399 */
1400 "hasFocus": boolean;
1401 /**
1402 * The input's help text.
1403 */
1404 "help": string;
1405 /**
1406 * Hidden
1407 */
1408 "hidden": boolean;
1409 /**
1410 * The input's inputmode attribute.
1411 */
1412 "inputmode": 'none' | 'text' | 'decimal' | 'numeric' | 'tel' | 'search' | 'email' | 'url';
1413 /**
1414 * 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.
1415 */
1416 "invalid": boolean;
1417 /**
1418 * The input's label.
1419 */
1420 "label": string;
1421 /**
1422 * The input's maximum value.
1423 */
1424 "max": number | string;
1425 /**
1426 * The maximum length of input that will be considered valid.
1427 */
1428 "maxlength": number;
1429 /**
1430 * The input's minimum value.
1431 */
1432 "min": number | string;
1433 /**
1434 * The minimum length of input that will be considered valid.
1435 */
1436 "minlength": number;
1437 /**
1438 * The input's name attribute.
1439 */
1440 "name": string;
1441 /**
1442 * A pattern to validate input against.
1443 */
1444 "pattern": string;
1445 /**
1446 * Draws a pill-style input with rounded edges.
1447 */
1448 "pill": boolean;
1449 /**
1450 * The input's placeholder text.
1451 */
1452 "placeholder": string;
1453 /**
1454 * Makes the input readonly.
1455 */
1456 "readonly": boolean;
1457 "reportValidity": () => Promise<boolean>;
1458 /**
1459 * Makes the input a required field.
1460 */
1461 "required": boolean;
1462 /**
1463 * Sets a custom validation message. If `message` is not empty, the field will be considered invalid.
1464 */
1465 "setCustomValidity": (message: string) => Promise<void>;
1466 /**
1467 * Should we show the label
1468 */
1469 "showLabel": boolean;
1470 /**
1471 * The input's size.
1472 */
1473 "size": 'small' | 'medium' | 'large';
1474 /**
1475 * Enables spell checking on the input.
1476 */
1477 "spellcheck": boolean;
1478 "squared": boolean;
1479 "squaredBottom": boolean;
1480 "squaredLeft": boolean;
1481 "squaredRight": boolean;
1482 "squaredTop": boolean;
1483 /**
1484 * The input's step attribute.
1485 */
1486 "step": number;
1487 /**
1488 * Adds a password toggle button to password inputs.
1489 */
1490 "togglePassword": boolean;
1491 /**
1492 * Removes focus from the input.
1493 */
1494 "triggerBlur": () => Promise<void>;
1495 /**
1496 * Sets focus on the input.
1497 */
1498 "triggerFocus": (options?: FocusOptions) => Promise<void>;
1499 /**
1500 * The input's type.
1501 */
1502 "type": 'email' | 'number' | 'password' | 'search' | 'tel' | 'text' | 'url' | 'hidden';
1503 /**
1504 * The input's value attribute.
1505 */
1506 "value": string;
1507 }
1508 interface ScInvoicesList {
1509 "allLink": string;
1510 "heading": string;
1511 /**
1512 * Query to fetch invoices
1513 */
1514 "query": {
1515 page: number;
1516 per_page: number;
1517 };
1518 }
1519 interface ScLicensesList {
1520 "activations": Activation[];
1521 "copied": boolean;
1522 "heading": string;
1523 "licenses": License[];
1524 }
1525 interface ScLineItem {
1526 /**
1527 * Currency symbol
1528 */
1529 "currency": string;
1530 /**
1531 * Price of the item
1532 */
1533 "price": string;
1534 }
1535 interface ScLineItemBump {
1536 "label": string;
1537 "loading": boolean;
1538 "order": Checkout;
1539 }
1540 interface ScLineItemTax {
1541 "loading": boolean;
1542 "order": Checkout;
1543 }
1544 interface ScLineItemTotal {
1545 "loading": boolean;
1546 "order": Checkout;
1547 "size": 'large' | 'medium';
1548 "total": 'total' | 'subtotal';
1549 }
1550 interface ScLineItems {
1551 "busy": boolean;
1552 "editLineItems": boolean;
1553 "editable": boolean;
1554 "lockedChoices": Array<PriceChoice>;
1555 "order": Checkout;
1556 "prices": Prices;
1557 "removable": boolean;
1558 "removeLineItems": boolean;
1559 }
1560 interface ScLineItemsProvider {
1561 /**
1562 * Order Object
1563 */
1564 "order": Checkout;
1565 }
1566 interface ScLoginForm {
1567 }
1568 interface ScLoginProvider {
1569 /**
1570 * Is the user logged in.
1571 */
1572 "loggedIn": boolean;
1573 "order": Order;
1574 }
1575 interface ScMenu {
1576 "setCurrentItem": (item: HTMLScMenuItemElement) => Promise<void>;
1577 }
1578 interface ScMenuDivider {
1579 }
1580 interface ScMenuItem {
1581 /**
1582 * Draws the item in a checked state.
1583 */
1584 "checked": boolean;
1585 /**
1586 * Draws the menu item in a disabled state.
1587 */
1588 "disabled": boolean;
1589 /**
1590 * Optional link to follow.
1591 */
1592 "href": string;
1593 /**
1594 * Removes focus from the button.
1595 */
1596 "setBlur": () => Promise<void>;
1597 /**
1598 * Sets focus on the button.
1599 */
1600 "setFocus": (options?: FocusOptions) => Promise<void>;
1601 /**
1602 * A unique value to store in the menu item. This can be used as a way to identify menu items when selected.
1603 */
1604 "value": string;
1605 }
1606 interface ScMenuLabel {
1607 }
1608 interface ScOrder {
1609 "customerIds": string[];
1610 "heading": string;
1611 "orderId": string;
1612 }
1613 interface ScOrderBump {
1614 /**
1615 * The bump
1616 */
1617 "bump": Bump;
1618 /**
1619 * The checkout
1620 */
1621 "checkout": Checkout;
1622 /**
1623 * Should we show the controls
1624 */
1625 "showControl": boolean;
1626 }
1627 interface ScOrderBumps {
1628 "bumps": Bump[];
1629 "checkout": Checkout;
1630 "help": string;
1631 "label": string;
1632 "showControl": boolean;
1633 }
1634 interface ScOrderConfirmComponentsValidator {
1635 /**
1636 * The checkout
1637 */
1638 "checkout": Checkout;
1639 }
1640 interface ScOrderConfirmProvider {
1641 /**
1642 * The form id
1643 */
1644 "formId": number;
1645 /**
1646 * Are we in test or live mode.
1647 */
1648 "mode": 'test' | 'live';
1649 /**
1650 * The current order.
1651 */
1652 "order": Checkout;
1653 /**
1654 * Success url.
1655 */
1656 "successUrl": string;
1657 }
1658 interface ScOrderConfirmation {
1659 "order": Checkout;
1660 }
1661 interface ScOrderConfirmationCustomer {
1662 /**
1663 * The customer
1664 */
1665 "customer": Customer;
1666 /**
1667 * Error message.
1668 */
1669 "error": string;
1670 /**
1671 * The heading
1672 */
1673 "heading": string;
1674 /**
1675 * Is this loading?
1676 */
1677 "loading": boolean;
1678 /**
1679 * The Order
1680 */
1681 "order": Checkout;
1682 }
1683 interface ScOrderConfirmationDetails {
1684 "loading": boolean;
1685 "order": Order;
1686 }
1687 interface ScOrderConfirmationLineItems {
1688 "loading": boolean;
1689 "order": Checkout;
1690 }
1691 interface ScOrderConfirmationTotals {
1692 "order": Checkout;
1693 }
1694 interface ScOrderCouponForm {
1695 "busy": boolean;
1696 "error": any;
1697 "forceOpen": boolean;
1698 "label": string;
1699 "loading": boolean;
1700 "order": Checkout;
1701 }
1702 interface ScOrderDetail {
1703 "fallback": string;
1704 "label": string;
1705 "loading": boolean;
1706 "metaKey": string;
1707 "order": Checkout;
1708 "value": string;
1709 }
1710 interface ScOrderManualInstructions {
1711 "manualPaymentInstructions": string;
1712 "manualPaymentTitle": string;
1713 }
1714 interface ScOrderPassword {
1715 /**
1716 * The input's autofocus attribute.
1717 */
1718 "autofocus": boolean;
1719 /**
1720 * The input's password confirmation attribute.
1721 */
1722 "confirmation": boolean;
1723 /**
1724 * The input's confirmation help text.
1725 */
1726 "confirmationHelp": string;
1727 /**
1728 * The input's confirmation label text.
1729 */
1730 "confirmationLabel": string;
1731 /**
1732 * The input's confirmation placeholder text.
1733 */
1734 "confirmationPlaceholder": string;
1735 /**
1736 * Disables the input.
1737 */
1738 "disabled": boolean;
1739 /**
1740 * Does the email exist?
1741 */
1742 "emailExists": boolean;
1743 /**
1744 * The input's help text.
1745 */
1746 "help": string;
1747 /**
1748 * The input's label.
1749 */
1750 "label": string;
1751 "loggedIn": boolean;
1752 /**
1753 * Draws a pill-style input with rounded edges.
1754 */
1755 "pill": boolean;
1756 /**
1757 * The input's placeholder text.
1758 */
1759 "placeholder": string;
1760 /**
1761 * Makes the input readonly.
1762 */
1763 "readonly": boolean;
1764 "reportValidity": () => Promise<boolean>;
1765 /**
1766 * Makes the input a required field.
1767 */
1768 "required": boolean;
1769 /**
1770 * Should we show the label
1771 */
1772 "showLabel": boolean;
1773 /**
1774 * The input's size.
1775 */
1776 "size": 'small' | 'medium' | 'large';
1777 /**
1778 * The input's value attribute.
1779 */
1780 "value": string;
1781 }
1782 interface ScOrderShippingAddress {
1783 "cityPlaceholder": string;
1784 "countryPlaceholder": string;
1785 /**
1786 * Default country for address
1787 */
1788 "defaultCountry": string;
1789 /**
1790 * Show the full address
1791 */
1792 "full": boolean;
1793 /**
1794 * Label for the field.
1795 */
1796 "label": string;
1797 "line1Placeholder": string;
1798 "line2Placeholder": string;
1799 /**
1800 * Is this loading.
1801 */
1802 "loading": boolean;
1803 /**
1804 * Show the placeholder fields.
1805 */
1806 "namePlaceholder": string;
1807 /**
1808 * Placeholder values.
1809 */
1810 "placeholders": Partial<Address>;
1811 "postalCodePlaceholder": string;
1812 "reportValidity": () => Promise<boolean>;
1813 /**
1814 * Is this required (defaults to false)
1815 */
1816 "required": boolean;
1817 /**
1818 * Holds the customer's billing address
1819 */
1820 "shippingAddress": Address;
1821 /**
1822 * Is shipping enabled for this order?
1823 */
1824 "shippingEnabled": boolean;
1825 /**
1826 * Show the name field.
1827 */
1828 "showName": boolean;
1829 "statePlaceholder": string;
1830 /**
1831 * Tax enabled status of the order
1832 */
1833 "taxEnabled": boolean;
1834 /**
1835 * Tax status of the order
1836 */
1837 "taxStatus": TaxStatus;
1838 }
1839 interface ScOrderStatusBadge {
1840 /**
1841 * Makes the tag clearable.
1842 */
1843 "clearable": boolean;
1844 /**
1845 * Draws a pill-style tag with rounded edges.
1846 */
1847 "pill": boolean;
1848 /**
1849 * The tag's size.
1850 */
1851 "size": 'small' | 'medium' | 'large';
1852 /**
1853 * The tag's statux type.
1854 */
1855 "status": OrderStatus;
1856 }
1857 interface ScOrderSubmit {
1858 /**
1859 * Is the order busy
1860 */
1861 "busy": boolean;
1862 /**
1863 * Currency Code
1864 */
1865 "currencyCode": string;
1866 /**
1867 * Show a full-width button.
1868 */
1869 "full": boolean;
1870 /**
1871 * Icon to show.
1872 */
1873 "icon": string;
1874 /**
1875 * Is the order loading.
1876 */
1877 "loading": boolean;
1878 /**
1879 * Is this created in "test" mode
1880 */
1881 "mode": 'test' | 'live';
1882 /**
1883 * The current order.
1884 */
1885 "order": Checkout;
1886 /**
1887 * Is the order paying.
1888 */
1889 "paying": boolean;
1890 "processor": ProcessorName;
1891 /**
1892 * Keys and secrets for processors.
1893 */
1894 "processors": Processor[];
1895 /**
1896 * Show the total.
1897 */
1898 "showTotal": boolean;
1899 /**
1900 * The button's size.
1901 */
1902 "size": 'small' | 'medium' | 'large';
1903 /**
1904 * The button type.
1905 */
1906 "type": 'default' | 'primary' | 'success' | 'info' | 'warning' | 'danger' | 'text' | 'link';
1907 }
1908 interface ScOrderSummary {
1909 "busy": boolean;
1910 "closedText": string;
1911 "collapsed": boolean;
1912 "collapsible": boolean;
1913 "empty": boolean;
1914 "openText": string;
1915 "order": Checkout;
1916 }
1917 interface ScOrderTaxIdInput {
1918 /**
1919 * Is this busy
1920 */
1921 "busy": boolean;
1922 /**
1923 * The order
1924 */
1925 "order": Partial<Checkout>;
1926 /**
1927 * Force show the field.
1928 */
1929 "show": boolean;
1930 /**
1931 * Tax identifier
1932 */
1933 "taxIdentifier": TaxIdentifier;
1934 /**
1935 * The tax protocol.
1936 */
1937 "taxProtocol": TaxProtocol;
1938 }
1939 interface ScOrdersList {
1940 "allLink": string;
1941 "heading": string;
1942 "isCustomer": boolean;
1943 /**
1944 * Query to fetch orders
1945 */
1946 "query": {
1947 page: number;
1948 per_page: number;
1949 };
1950 }
1951 interface ScPagination {
1952 "page": number;
1953 "perPage": number;
1954 "total": number;
1955 "totalPages": number;
1956 "totalShowing": number;
1957 }
1958 interface ScPasswordNag {
1959 "open": boolean;
1960 /**
1961 * The success url.
1962 */
1963 "successUrl": string;
1964 /**
1965 * The type of alert.
1966 */
1967 "type": 'primary' | 'success' | 'info' | 'warning' | 'danger';
1968 }
1969 interface ScPayment {
1970 /**
1971 * Checkout Session from sc-checkout.
1972 */
1973 "checkout": Checkout;
1974 /**
1975 * Hide the test mode badge
1976 */
1977 "hideTestModeBadge": boolean;
1978 /**
1979 * The input's label.
1980 */
1981 "label": string;
1982 /**
1983 * Is this created in "test" mode
1984 */
1985 "mode": 'test' | 'live';
1986 /**
1987 * The current selected processor.
1988 */
1989 "processor": string;
1990 /**
1991 * List of available processors.
1992 */
1993 "processors": Processor[];
1994 }
1995 interface ScPaymentMethod {
1996 "externalLink": string;
1997 "externalLinkTooltipText": string;
1998 "full": boolean;
1999 "paymentMethod": PaymentMethod;
2000 }
2001 interface ScPaymentMethodChoice {
2002 /**
2003 * Should we show this in a card?
2004 */
2005 "card": boolean;
2006 /**
2007 * The checkout.
2008 */
2009 "checkout": Checkout;
2010 /**
2011 * Does this have others?
2012 */
2013 "hasOthers": boolean;
2014 /**
2015 * Is this disabled?
2016 */
2017 "isDisabled": boolean;
2018 /**
2019 * Is this a manual processor
2020 */
2021 "isManual": boolean;
2022 /**
2023 * The current processor
2024 */
2025 "processor": string;
2026 /**
2027 * The processor ID
2028 */
2029 "processorId": string;
2030 /**
2031 * Is this recurring-enabled?
2032 */
2033 "recurringEnabled": boolean;
2034 }
2035 interface ScPaymentMethodsList {
2036 "heading": string;
2037 "isCustomer": boolean;
2038 /**
2039 * Query to fetch paymentMethods
2040 */
2041 "query": object;
2042 }
2043 interface ScPaymentSelected {
2044 "iconName": string;
2045 "label": string;
2046 }
2047 interface ScPaypalAddMethod {
2048 "currency": string;
2049 "customerId": string;
2050 "liveMode": boolean;
2051 "successUrl": string;
2052 }
2053 interface ScPaypalButtons {
2054 /**
2055 * Is this busy?
2056 */
2057 "busy": boolean;
2058 /**
2059 * Buttons to render
2060 */
2061 "buttons": string[];
2062 /**
2063 * Client id for the script.
2064 */
2065 "clientId": string;
2066 /**
2067 * Button color.
2068 */
2069 "color": 'gold' | 'blue' | 'silver' | 'black' | 'white';
2070 /**
2071 * Label for the button.
2072 */
2073 "label": 'paypal' | 'checkout' | 'buynow' | 'pay' | 'installment';
2074 /**
2075 * The merchant id for paypal.
2076 */
2077 "merchantId": string;
2078 /**
2079 * Merchant initiated billing enabled.
2080 */
2081 "merchantInitiated": boolean;
2082 /**
2083 * Test or live mode.
2084 */
2085 "mode": 'test' | 'live';
2086 /**
2087 * The order.
2088 */
2089 "order": Checkout;
2090 }
2091 interface ScPriceChoice {
2092 /**
2093 * Is this checked by default
2094 */
2095 "checked": boolean;
2096 /**
2097 * Label for the choice.
2098 */
2099 "description": string;
2100 /**
2101 * Errors from response
2102 */
2103 "error": ResponseError;
2104 /**
2105 * Is this an ad-hoc price choice
2106 */
2107 "isAdHoc": Boolean;
2108 /**
2109 * Label for the choice.
2110 */
2111 "label": string;
2112 /**
2113 * Is this loading
2114 */
2115 "loading": boolean;
2116 /**
2117 * Session
2118 */
2119 "order": Checkout;
2120 /**
2121 * Stores the price
2122 */
2123 "price": Price;
2124 /**
2125 * Id of the price.
2126 */
2127 "priceId": string;
2128 /**
2129 * Price entities
2130 */
2131 "prices": Prices;
2132 /**
2133 * Product entity
2134 */
2135 "products": Products;
2136 /**
2137 * Default quantity
2138 */
2139 "quantity": number;
2140 /**
2141 * Show the radio/checkbox control
2142 */
2143 "showControl": boolean;
2144 /**
2145 * Show the label
2146 */
2147 "showLabel": boolean;
2148 /**
2149 * Show the price amount
2150 */
2151 "showPrice": boolean;
2152 /**
2153 * Choice Type
2154 */
2155 "type": 'checkbox' | 'radio';
2156 }
2157 interface ScPriceChoices {
2158 /**
2159 * Number of columns
2160 */
2161 "columns": number;
2162 /**
2163 * Selector label
2164 */
2165 "label": string;
2166 /**
2167 * Required by default
2168 */
2169 "required": boolean;
2170 }
2171 interface ScPriceInput {
2172 /**
2173 * The input's autofocus attribute.
2174 */
2175 "autofocus": boolean;
2176 /**
2177 * Adds a clear button when the input is populated.
2178 */
2179 "clearable": boolean;
2180 /**
2181 * 3 letter currency code for input
2182 */
2183 "currencyCode": string;
2184 /**
2185 * Disables the input.
2186 */
2187 "disabled": boolean;
2188 /**
2189 * Inputs focus
2190 */
2191 "hasFocus": boolean;
2192 /**
2193 * The input's help text.
2194 */
2195 "help": string;
2196 /**
2197 * 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.
2198 */
2199 "invalid": boolean;
2200 /**
2201 * The input's label.
2202 */
2203 "label": string;
2204 /**
2205 * The input's maximum value.
2206 */
2207 "max": number;
2208 /**
2209 * The maximum length of input that will be considered valid.
2210 */
2211 "maxlength": number;
2212 /**
2213 * The input's minimum value.
2214 */
2215 "min": number;
2216 /**
2217 * The minimum length of input that will be considered valid.
2218 */
2219 "minlength": number;
2220 /**
2221 * The input's name attribute.
2222 */
2223 "name": string;
2224 /**
2225 * Draws a pill-style input with rounded edges.
2226 */
2227 "pill": boolean;
2228 /**
2229 * The input's placeholder text.
2230 */
2231 "placeholder": string;
2232 /**
2233 * Makes the input readonly.
2234 */
2235 "readonly": boolean;
2236 "reportValidity": () => Promise<boolean>;
2237 /**
2238 * Makes the input a required field.
2239 */
2240 "required": boolean;
2241 /**
2242 * Sets a custom validation message. If `message` is not empty, the field will be considered invalid.
2243 */
2244 "setCustomValidity": (message: string) => Promise<void>;
2245 /**
2246 * Show the currency code with the input
2247 */
2248 "showCode": boolean;
2249 /**
2250 * Should we show the label
2251 */
2252 "showLabel": boolean;
2253 /**
2254 * The input's size.
2255 */
2256 "size": 'small' | 'medium' | 'large';
2257 /**
2258 * Removes focus from the input.
2259 */
2260 "triggerBlur": () => Promise<void>;
2261 /**
2262 * Sets focus on the input.
2263 */
2264 "triggerFocus": (options?: FocusOptions) => Promise<void>;
2265 /**
2266 * The input's value attribute.
2267 */
2268 "value": string;
2269 }
2270 interface ScProductLineItem {
2271 /**
2272 * Product monetary amount
2273 */
2274 "amount": number;
2275 /**
2276 * Currency for the product
2277 */
2278 "currency": string;
2279 /**
2280 * Can we select the quantity
2281 */
2282 "editable": boolean;
2283 /**
2284 * Url for the product image
2285 */
2286 "imageUrl": string;
2287 /**
2288 * Recurring interval (i.e. monthly, once, etc.)
2289 */
2290 "interval": string;
2291 /**
2292 * The max allowed.
2293 */
2294 "max": number;
2295 /**
2296 * Product name
2297 */
2298 "name": string;
2299 /**
2300 * Quantity
2301 */
2302 "quantity": number;
2303 /**
2304 * Is the line item removable
2305 */
2306 "removable": boolean;
2307 /**
2308 * The line item scratch amount
2309 */
2310 "scratchAmount": number;
2311 /**
2312 * Trial duration days
2313 */
2314 "trialDurationDays": number;
2315 }
2316 interface ScProvider {
2317 "STENCIL_CONTEXT": { [key: string]: any };
2318 }
2319 interface ScPurchaseDownloadsList {
2320 "allLink": string;
2321 "busy": boolean;
2322 "error": string;
2323 "heading": string;
2324 "loading": boolean;
2325 "purchases": Array<Purchase>;
2326 "requestNonce": string;
2327 }
2328 interface ScQuantitySelect {
2329 "clickEl"?: HTMLElement;
2330 "disabled": boolean;
2331 /**
2332 * Inputs focus
2333 */
2334 "hasFocus": boolean;
2335 "max": number;
2336 "min": number;
2337 "quantity": number;
2338 }
2339 interface ScRadio {
2340 /**
2341 * Simulates a click on the radio.
2342 */
2343 "ceClick": () => Promise<void>;
2344 /**
2345 * Draws the radio in a checked state.
2346 */
2347 "checked": boolean;
2348 /**
2349 * Is the radio disabled
2350 */
2351 "disabled": boolean;
2352 /**
2353 * This will be true as a workaround in the block editor to focus on the content.
2354 */
2355 "edit": boolean;
2356 /**
2357 * This will be true when the control is in an invalid state. Validity is determined by the `required` prop.
2358 */
2359 "invalid": boolean;
2360 /**
2361 * The radios name attribute
2362 */
2363 "name": string;
2364 /**
2365 * Checks for validity and shows the browser's validation message if the control is invalid.
2366 */
2367 "reportValidity": () => Promise<boolean>;
2368 /**
2369 * Is this required
2370 */
2371 "required": boolean;
2372 /**
2373 * The radios value
2374 */
2375 "value": string;
2376 }
2377 interface ScRadioGroup {
2378 /**
2379 * 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.
2380 */
2381 "invalid": boolean;
2382 /**
2383 * The radio group label. Required for proper accessibility.
2384 */
2385 "label": string;
2386 /**
2387 * Checks for validity and shows the browser's validation message if the control is invalid.
2388 */
2389 "reportValidity": () => Promise<boolean>;
2390 /**
2391 * Is one of these items required.
2392 */
2393 "required": boolean;
2394 /**
2395 * The selected value of the control.
2396 */
2397 "value": string;
2398 }
2399 interface ScSecureNotice {
2400 }
2401 interface ScSelect {
2402 /**
2403 * The input's autocomplete attribute.
2404 */
2405 "autocomplete": string;
2406 /**
2407 * The input's value attribute.
2408 */
2409 "choices": Array<ChoiceItem>;
2410 "disabled": boolean;
2411 /**
2412 * Some help text for the input.
2413 */
2414 "help": string;
2415 "hoist": boolean;
2416 /**
2417 * 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.
2418 */
2419 "invalid": boolean;
2420 /**
2421 * The input's label.
2422 */
2423 "label": string;
2424 "loading": boolean;
2425 /**
2426 * The input's name attribute.
2427 */
2428 "name": string;
2429 /**
2430 * Is this open
2431 */
2432 "open": boolean;
2433 /**
2434 * Placeholder for no value
2435 */
2436 "placeholder": string;
2437 "position": 'bottom-left' | 'bottom-right';
2438 "reportValidity": () => Promise<boolean>;
2439 "required": boolean;
2440 /**
2441 * Is search enabled?
2442 */
2443 "search": boolean;
2444 /**
2445 * Placeholder for search
2446 */
2447 "searchPlaceholder": string;
2448 /**
2449 * Sets a custom validation message. If `message` is not empty, the field will be considered invalid.
2450 */
2451 "setCustomValidity": (message: string) => Promise<void>;
2452 "showParentLabel": boolean;
2453 /**
2454 * The input's size.
2455 */
2456 "size": 'small' | 'medium' | 'large';
2457 "squared": boolean;
2458 "squaredBottom": boolean;
2459 "squaredLeft": boolean;
2460 "squaredRight": boolean;
2461 "squaredTop": boolean;
2462 /**
2463 * Can we unselect items.
2464 */
2465 "unselect": boolean;
2466 /**
2467 * The input's value attribute.
2468 */
2469 "value": string;
2470 }
2471 interface ScSessionProvider {
2472 /**
2473 * The abandoned checkout return url.
2474 */
2475 "abandonedCheckoutReturnUrl": string;
2476 /**
2477 * Currency Code
2478 */
2479 "currencyCode": string;
2480 /**
2481 * Finalize the order.
2482 * @returns
2483 */
2484 "finalize": () => Promise<Checkout>;
2485 /**
2486 * The checkout form id
2487 */
2488 "formId": number;
2489 /**
2490 * Group id
2491 */
2492 "groupId": string;
2493 /**
2494 * Is this a manual payment?
2495 */
2496 "isManualProcessor": boolean;
2497 /**
2498 * Are we in test or live mode.
2499 */
2500 "mode": 'test' | 'live';
2501 /**
2502 * Whent the post was modified.
2503 */
2504 "modified": string;
2505 /**
2506 * Holds all available payment intents.
2507 */
2508 "paymentIntents": PaymentIntents;
2509 /**
2510 * Should we persist the session.
2511 */
2512 "persist": boolean;
2513 /**
2514 * An array of prices to pre-fill in the form.
2515 */
2516 "prices": Array<PriceChoice>;
2517 /**
2518 * The processor.
2519 */
2520 "processor": ProcessorName;
2521 /**
2522 * Set the checkout state
2523 */
2524 "setState": (state: string) => void;
2525 /**
2526 * Are we using the Stripe payment element?
2527 */
2528 "stripePaymentElement": boolean;
2529 /**
2530 * Url to redirect upon success.
2531 */
2532 "successUrl": string;
2533 }
2534 interface ScSkeleton {
2535 /**
2536 * Animation effect
2537 */
2538 "effect": 'pulse' | 'sheen' | 'none';
2539 }
2540 interface ScSpacing {
2541 }
2542 interface ScSpinner {
2543 }
2544 interface ScStackedList {
2545 }
2546 interface ScStackedListRow {
2547 "href": string;
2548 "mobileSize": number;
2549 "target": string;
2550 }
2551 interface ScStripeAddMethod {
2552 "customerId": string;
2553 "liveMode": boolean;
2554 "successUrl": string;
2555 }
2556 interface ScStripeElement {
2557 /**
2558 * Your stripe connected account id.
2559 */
2560 "accountId": string;
2561 /**
2562 * Confirm card payment
2563 */
2564 "confirmCardPayment": (secret: any) => Promise<any>;
2565 /**
2566 * Confirm card setup.
2567 */
2568 "confirmCardSetup": (secret: any) => Promise<any>;
2569 /**
2570 * Whether this field is disabled
2571 */
2572 "disabled": boolean;
2573 /**
2574 * The form state
2575 */
2576 "formState": FormState;
2577 /**
2578 * Inputs focus
2579 */
2580 "hasFocus": boolean;
2581 /**
2582 * The input's label. Alternatively, you can use the label slot.
2583 */
2584 "label": string;
2585 /**
2586 * Mode for the payment
2587 */
2588 "mode": 'live' | 'test';
2589 /**
2590 * The checkout session object for finalizing intents
2591 */
2592 "order": Checkout;
2593 /**
2594 * Stripe publishable key
2595 */
2596 "publishableKey": string;
2597 /**
2598 * The input's help text. Alternatively, you can use the help-text slot.
2599 */
2600 "secureText": string;
2601 /**
2602 * The selected processor id
2603 */
2604 "selectedProcessorId": ProcessorName;
2605 /**
2606 * Should we show the label
2607 */
2608 "showLabel": boolean;
2609 /**
2610 * The input's size.
2611 */
2612 "size": 'small' | 'medium' | 'large';
2613 }
2614 interface ScStripePaymentElement {
2615 /**
2616 * Should we collect an address?
2617 */
2618 "address": boolean;
2619 "confirm": (type: any, args?: {}) => Promise<void>;
2620 /**
2621 * The current form state.
2622 */
2623 "formState": FormState;
2624 /**
2625 * Order to watch
2626 */
2627 "order": Checkout;
2628 /**
2629 * The selected processor name.
2630 */
2631 "selectedProcessorId": ProcessorName;
2632 /**
2633 * The Payment Intent
2634 */
2635 "stripePaymentIntent": PaymentIntent;
2636 /**
2637 * Success url to redirect.
2638 */
2639 "successUrl": string;
2640 }
2641 interface ScStripePaymentRequest {
2642 /**
2643 * Amount
2644 */
2645 "amount": number;
2646 /**
2647 * Country
2648 */
2649 "country": string;
2650 /**
2651 * Currency
2652 */
2653 "currencyCode": string;
2654 /**
2655 * Is this in debug mode.
2656 */
2657 "debug": boolean;
2658 "error": ResponseError | null;
2659 /**
2660 * This is required to validate the form on the server
2661 */
2662 "formId": number | string;
2663 /**
2664 * Label
2665 */
2666 "label": string;
2667 /**
2668 * Checkout Session
2669 */
2670 "order": Checkout;
2671 "paymentMethod": string;
2672 "prices": Prices;
2673 /**
2674 * Stripe publishable key
2675 */
2676 "publishableKey": string;
2677 /**
2678 * Your stripe connected account id.
2679 */
2680 "stripeAccountId": string;
2681 /**
2682 * Payment request theme
2683 */
2684 "theme": string;
2685 }
2686 interface ScSubscription {
2687 "heading": string;
2688 "query": object;
2689 "showCancel": boolean;
2690 "subscription": Subscription;
2691 /**
2692 * Customer id to fetch subscriptions
2693 */
2694 "subscriptionId": string;
2695 }
2696 interface ScSubscriptionAdHocConfirm {
2697 "heading": string;
2698 "price": Price;
2699 }
2700 interface ScSubscriptionCancel {
2701 "backUrl": string;
2702 "heading": string;
2703 "subscription": Subscription;
2704 "subscriptionId": string;
2705 "successUrl": string;
2706 }
2707 interface ScSubscriptionDetails {
2708 "hideRenewalText": boolean;
2709 "pendingPrice": Price;
2710 "subscription": Subscription;
2711 }
2712 interface ScSubscriptionPayment {
2713 "backUrl": string;
2714 "customerIds": Array<string>;
2715 "paymentMethods": Array<PaymentMethod>;
2716 "subscription": Subscription;
2717 "subscriptionId": string;
2718 "successUrl": string;
2719 }
2720 interface ScSubscriptionPaymentMethod {
2721 /**
2722 * The heading
2723 */
2724 "heading": string;
2725 /**
2726 * The subscription
2727 */
2728 "subscription": Subscription;
2729 }
2730 interface ScSubscriptionRenew {
2731 "backUrl": string;
2732 "heading": string;
2733 "subscription": Subscription;
2734 "subscriptionId": string;
2735 "successUrl": string;
2736 }
2737 interface ScSubscriptionStatusBadge {
2738 /**
2739 * Makes the tag clearable.
2740 */
2741 "clearable": boolean;
2742 /**
2743 * Draws a pill-style tag with rounded edges.
2744 */
2745 "pill": boolean;
2746 /**
2747 * The tag's size.
2748 */
2749 "size": 'small' | 'medium' | 'large';
2750 /**
2751 * Subscription status
2752 */
2753 "status": SubscriptionStatus;
2754 /**
2755 * The tag's status type.
2756 */
2757 "subscription": Subscription;
2758 }
2759 interface ScSubscriptionSwitch {
2760 "filterAbove": number;
2761 "heading": string;
2762 "productGroupId": ProductGroup;
2763 "productId": string;
2764 /**
2765 * Customer id to fetch subscriptions
2766 */
2767 "query": object;
2768 "subscription": Subscription;
2769 }
2770 interface ScSubscriptionsList {
2771 "allLink": string;
2772 "cancelBehavior": 'period_end' | 'immediate';
2773 "heading": string;
2774 "isCustomer": boolean;
2775 /**
2776 * Customer id to fetch subscriptions
2777 */
2778 "query": {
2779 page: number;
2780 per_page: number;
2781 };
2782 }
2783 interface ScSwitch {
2784 /**
2785 * Draws the switch in a checked state.
2786 */
2787 "checked": boolean;
2788 /**
2789 * Disables the switch.
2790 */
2791 "disabled": boolean;
2792 /**
2793 * This will be true as a workaround in the block editor to focus on the content.
2794 */
2795 "edit": boolean;
2796 /**
2797 * This will be true when the control is in an invalid state. Validity is determined by the `required` prop.
2798 */
2799 "invalid": boolean;
2800 /**
2801 * The switch's name attribute.
2802 */
2803 "name": string;
2804 /**
2805 * Checks for validity and shows the browser's validation message if the control is invalid.
2806 */
2807 "reportValidity": () => Promise<boolean>;
2808 /**
2809 * Makes the switch a required field.
2810 */
2811 "required": boolean;
2812 "reversed": boolean;
2813 /**
2814 * The switch's value attribute.
2815 */
2816 "value": string;
2817 }
2818 interface ScTab {
2819 /**
2820 * Draws the tab in an active state.
2821 */
2822 "active": boolean;
2823 "count": string;
2824 /**
2825 * Draws the tab in a disabled state.
2826 */
2827 "disabled": boolean;
2828 "href": string;
2829 /**
2830 * The name of the tab panel the tab will control. The panel must be located in the same tab group.
2831 */
2832 "panel": string;
2833 /**
2834 * Removes focus from the tab.
2835 */
2836 "triggerBlur": () => Promise<void>;
2837 /**
2838 * Sets focus to the tab.
2839 */
2840 "triggerFocus": (options?: FocusOptions) => Promise<void>;
2841 }
2842 interface ScTabGroup {
2843 }
2844 interface ScTabPanel {
2845 /**
2846 * When true, the tab panel will be shown.
2847 */
2848 "active": boolean;
2849 /**
2850 * The tab panel's name.
2851 */
2852 "name": string;
2853 }
2854 interface ScTable {
2855 }
2856 interface ScTableCell {
2857 }
2858 interface ScTableHead {
2859 }
2860 interface ScTableRow {
2861 "href": string;
2862 }
2863 interface ScTag {
2864 /**
2865 * Makes the tag clearable.
2866 */
2867 "clearable": boolean;
2868 /**
2869 * Draws a pill-style tag with rounded edges.
2870 */
2871 "pill": boolean;
2872 /**
2873 * The tag's size.
2874 */
2875 "size": 'small' | 'medium' | 'large';
2876 /**
2877 * The tag's type.
2878 */
2879 "type": 'primary' | 'success' | 'info' | 'warning' | 'danger' | 'default';
2880 }
2881 interface ScTaxIdInput {
2882 /**
2883 * The country code.
2884 */
2885 "country": string;
2886 /**
2887 * Help text.
2888 */
2889 "help": string;
2890 /**
2891 * Is this loading?
2892 */
2893 "loading": boolean;
2894 /**
2895 * Tax ID Number
2896 */
2897 "number": string;
2898 /**
2899 * Force show the field.
2900 */
2901 "show": boolean;
2902 /**
2903 * The status
2904 */
2905 "status": 'valid' | 'invalid' | 'unknown';
2906 /**
2907 * Type of tax id
2908 */
2909 "type": string;
2910 }
2911 interface ScText {
2912 "tag": 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'p';
2913 "truncate": boolean;
2914 }
2915 interface ScTextarea {
2916 /**
2917 * The textarea's autocapitalize attribute.
2918 */
2919 "autocapitalize": 'off' | 'none' | 'on' | 'sentences' | 'words' | 'characters';
2920 /**
2921 * The textarea's autocomplete attribute.
2922 */
2923 "autocomplete": string;
2924 /**
2925 * The textarea's autocorrect attribute.
2926 */
2927 "autocorrect": string;
2928 /**
2929 * The textarea's autofocus attribute.
2930 */
2931 "autofocus": boolean;
2932 /**
2933 * Disables the textarea.
2934 */
2935 "disabled": boolean;
2936 /**
2937 * The input's enterkeyhint attribute. This can be used to customize the label or icon of the Enter key on virtual keyboards.
2938 */
2939 "enterkeyhint": 'enter' | 'done' | 'go' | 'next' | 'previous' | 'search' | 'send';
2940 /**
2941 * Draws a filled textarea.
2942 */
2943 "filled": boolean;
2944 /**
2945 * The textarea's help text. Alternatively, you can use the help-text slot.
2946 */
2947 "help": string;
2948 /**
2949 * The textarea's inputmode attribute.
2950 */
2951 "inputmode": 'none' | 'text' | 'decimal' | 'numeric' | 'tel' | 'search' | 'email' | 'url';
2952 /**
2953 * 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.
2954 */
2955 "invalid": boolean;
2956 /**
2957 * The textarea's label. Alternatively, you can use the label slot.
2958 */
2959 "label": string;
2960 /**
2961 * The maximum length of input that will be considered valid.
2962 */
2963 "maxlength": number;
2964 /**
2965 * The minimum length of input that will be considered valid.
2966 */
2967 "minlength": number;
2968 /**
2969 * The textarea's name attribute.
2970 */
2971 "name": string;
2972 /**
2973 * The textarea's placeholder text.
2974 */
2975 "placeholder": string;
2976 /**
2977 * Makes the textarea readonly.
2978 */
2979 "readonly": boolean;
2980 /**
2981 * Checks for validity and shows the browser's validation message if the control is invalid.
2982 */
2983 "reportValidity": () => Promise<boolean>;
2984 /**
2985 * Makes the textarea a required field.
2986 */
2987 "required": boolean;
2988 /**
2989 * Controls how the textarea can be resized.
2990 */
2991 "resize": 'none' | 'vertical' | 'auto';
2992 /**
2993 * The number of rows to display by default.
2994 */
2995 "rows": number;
2996 /**
2997 * Should we show the label
2998 */
2999 "showLabel": boolean;
3000 /**
3001 * The textarea's size.
3002 */
3003 "size": 'small' | 'medium' | 'large';
3004 /**
3005 * Enables spell checking on the textarea.
3006 */
3007 "spellcheck": boolean;
3008 /**
3009 * The textarea's value attribute.
3010 */
3011 "value": string;
3012 }
3013 interface ScToggle {
3014 /**
3015 * Is this a borderless toggle?
3016 */
3017 "borderless": boolean;
3018 /**
3019 * Are these collapsible?
3020 */
3021 "collapsible": boolean;
3022 /**
3023 * Disables the details so it can't be toggled.
3024 */
3025 "disabled": boolean;
3026 /**
3027 * Indicates whether or not the details is open. You can use this in lieu of the show/hide methods.
3028 */
3029 "open": boolean;
3030 /**
3031 * Is this a shady
3032 */
3033 "shady": boolean;
3034 /**
3035 * Should we show a radio control?
3036 */
3037 "showControl": boolean;
3038 /**
3039 * Should we show the arrow icon?
3040 */
3041 "showIcon": boolean;
3042 /**
3043 * The summary to show in the details header. If you need to display HTML, use the `summary` slot instead.
3044 */
3045 "summary": string;
3046 }
3047 interface ScToggles {
3048 /**
3049 * Should this function as an accordion?
3050 */
3051 "accordion": boolean;
3052 /**
3053 * Are these collapsible?
3054 */
3055 "collapsible": boolean;
3056 /**
3057 * Theme for the toggles
3058 */
3059 "theme": 'default' | 'container';
3060 }
3061 interface ScTooltip {
3062 /**
3063 * Freeze open or closed.
3064 */
3065 "freeze": boolean;
3066 /**
3067 * Open or not
3068 */
3069 "open": boolean;
3070 /**
3071 * The tooltip's padding.
3072 */
3073 "padding": number;
3074 /**
3075 * Tooltip text
3076 */
3077 "text": string;
3078 /**
3079 * The tooltip's type.
3080 */
3081 "type": 'primary' | 'success' | 'info' | 'warning' | 'danger' | 'text';
3082 /**
3083 * Tooltip fixed width
3084 */
3085 "width": string;
3086 }
3087 interface ScTotal {
3088 "order": Checkout;
3089 "total": 'total' | 'subtotal' | 'amount_due';
3090 }
3091 interface ScUpcomingInvoice {
3092 "adHocAmount": number;
3093 "discount": {
3094 promotion_code?: string;
3095 coupon?: string;
3096 };
3097 "heading": string;
3098 "payment_method": PaymentMethod;
3099 "priceId": string;
3100 "quantity": number;
3101 "quantityUpdatesEnabled": boolean;
3102 "subscriptionId": string;
3103 "successUrl": string;
3104 }
3105 interface ScUpgradeRequired {
3106 /**
3107 * The tag's size.
3108 */
3109 "size": 'small' | 'medium' | 'large';
3110 }
3111 interface ScWordpressPasswordEdit {
3112 "heading": string;
3113 "successUrl": string;
3114 "user": WordPressUser;
3115 }
3116 interface ScWordpressUser {
3117 "heading": string;
3118 "user": WordPressUser;
3119 }
3120 interface ScWordpressUserEdit {
3121 "heading": string;
3122 "successUrl": string;
3123 "user": WordPressUser;
3124 }
3125 }
3126 export interface ScAddressCustomEvent<T> extends CustomEvent<T> {
3127 detail: T;
3128 target: HTMLScAddressElement;
3129 }
3130 export interface ScAlertCustomEvent<T> extends CustomEvent<T> {
3131 detail: T;
3132 target: HTMLScAlertElement;
3133 }
3134 export interface ScButtonCustomEvent<T> extends CustomEvent<T> {
3135 detail: T;
3136 target: HTMLScButtonElement;
3137 }
3138 export interface ScCartHeaderCustomEvent<T> extends CustomEvent<T> {
3139 detail: T;
3140 target: HTMLScCartHeaderElement;
3141 }
3142 export interface ScCartSessionProviderCustomEvent<T> extends CustomEvent<T> {
3143 detail: T;
3144 target: HTMLScCartSessionProviderElement;
3145 }
3146 export interface ScCheckboxCustomEvent<T> extends CustomEvent<T> {
3147 detail: T;
3148 target: HTMLScCheckboxElement;
3149 }
3150 export interface ScCheckoutCustomEvent<T> extends CustomEvent<T> {
3151 detail: T;
3152 target: HTMLScCheckoutElement;
3153 }
3154 export interface ScChoiceCustomEvent<T> extends CustomEvent<T> {
3155 detail: T;
3156 target: HTMLScChoiceElement;
3157 }
3158 export interface ScCompactAddressCustomEvent<T> extends CustomEvent<T> {
3159 detail: T;
3160 target: HTMLScCompactAddressElement;
3161 }
3162 export interface ScConsumerCustomEvent<T> extends CustomEvent<T> {
3163 detail: T;
3164 target: HTMLScConsumerElement;
3165 }
3166 export interface ScCouponFormCustomEvent<T> extends CustomEvent<T> {
3167 detail: T;
3168 target: HTMLScCouponFormElement;
3169 }
3170 export interface ScCustomOrderPriceInputCustomEvent<T> extends CustomEvent<T> {
3171 detail: T;
3172 target: HTMLScCustomOrderPriceInputElement;
3173 }
3174 export interface ScCustomerEmailCustomEvent<T> extends CustomEvent<T> {
3175 detail: T;
3176 target: HTMLScCustomerEmailElement;
3177 }
3178 export interface ScCustomerFirstnameCustomEvent<T> extends CustomEvent<T> {
3179 detail: T;
3180 target: HTMLScCustomerFirstnameElement;
3181 }
3182 export interface ScCustomerLastnameCustomEvent<T> extends CustomEvent<T> {
3183 detail: T;
3184 target: HTMLScCustomerLastnameElement;
3185 }
3186 export interface ScCustomerNameCustomEvent<T> extends CustomEvent<T> {
3187 detail: T;
3188 target: HTMLScCustomerNameElement;
3189 }
3190 export interface ScDialogCustomEvent<T> extends CustomEvent<T> {
3191 detail: T;
3192 target: HTMLScDialogElement;
3193 }
3194 export interface ScDonationChoicesCustomEvent<T> extends CustomEvent<T> {
3195 detail: T;
3196 target: HTMLScDonationChoicesElement;
3197 }
3198 export interface ScDrawerCustomEvent<T> extends CustomEvent<T> {
3199 detail: T;
3200 target: HTMLScDrawerElement;
3201 }
3202 export interface ScDropdownCustomEvent<T> extends CustomEvent<T> {
3203 detail: T;
3204 target: HTMLScDropdownElement;
3205 }
3206 export interface ScErrorCustomEvent<T> extends CustomEvent<T> {
3207 detail: T;
3208 target: HTMLScErrorElement;
3209 }
3210 export interface ScFormCustomEvent<T> extends CustomEvent<T> {
3211 detail: T;
3212 target: HTMLScFormElement;
3213 }
3214 export interface ScFormErrorProviderCustomEvent<T> extends CustomEvent<T> {
3215 detail: T;
3216 target: HTMLScFormErrorProviderElement;
3217 }
3218 export interface ScFormStateProviderCustomEvent<T> extends CustomEvent<T> {
3219 detail: T;
3220 target: HTMLScFormStateProviderElement;
3221 }
3222 export interface ScIconCustomEvent<T> extends CustomEvent<T> {
3223 detail: T;
3224 target: HTMLScIconElement;
3225 }
3226 export interface ScInputCustomEvent<T> extends CustomEvent<T> {
3227 detail: T;
3228 target: HTMLScInputElement;
3229 }
3230 export interface ScLineItemsCustomEvent<T> extends CustomEvent<T> {
3231 detail: T;
3232 target: HTMLScLineItemsElement;
3233 }
3234 export interface ScLineItemsProviderCustomEvent<T> extends CustomEvent<T> {
3235 detail: T;
3236 target: HTMLScLineItemsProviderElement;
3237 }
3238 export interface ScLoginProviderCustomEvent<T> extends CustomEvent<T> {
3239 detail: T;
3240 target: HTMLScLoginProviderElement;
3241 }
3242 export interface ScMenuCustomEvent<T> extends CustomEvent<T> {
3243 detail: T;
3244 target: HTMLScMenuElement;
3245 }
3246 export interface ScOrderBumpCustomEvent<T> extends CustomEvent<T> {
3247 detail: T;
3248 target: HTMLScOrderBumpElement;
3249 }
3250 export interface ScOrderConfirmProviderCustomEvent<T> extends CustomEvent<T> {
3251 detail: T;
3252 target: HTMLScOrderConfirmProviderElement;
3253 }
3254 export interface ScOrderCouponFormCustomEvent<T> extends CustomEvent<T> {
3255 detail: T;
3256 target: HTMLScOrderCouponFormElement;
3257 }
3258 export interface ScOrderShippingAddressCustomEvent<T> extends CustomEvent<T> {
3259 detail: T;
3260 target: HTMLScOrderShippingAddressElement;
3261 }
3262 export interface ScOrderSummaryCustomEvent<T> extends CustomEvent<T> {
3263 detail: T;
3264 target: HTMLScOrderSummaryElement;
3265 }
3266 export interface ScOrderTaxIdInputCustomEvent<T> extends CustomEvent<T> {
3267 detail: T;
3268 target: HTMLScOrderTaxIdInputElement;
3269 }
3270 export interface ScPaginationCustomEvent<T> extends CustomEvent<T> {
3271 detail: T;
3272 target: HTMLScPaginationElement;
3273 }
3274 export interface ScPaymentCustomEvent<T> extends CustomEvent<T> {
3275 detail: T;
3276 target: HTMLScPaymentElement;
3277 }
3278 export interface ScPaymentMethodChoiceCustomEvent<T> extends CustomEvent<T> {
3279 detail: T;
3280 target: HTMLScPaymentMethodChoiceElement;
3281 }
3282 export interface ScPaypalButtonsCustomEvent<T> extends CustomEvent<T> {
3283 detail: T;
3284 target: HTMLScPaypalButtonsElement;
3285 }
3286 export interface ScPriceChoiceCustomEvent<T> extends CustomEvent<T> {
3287 detail: T;
3288 target: HTMLScPriceChoiceElement;
3289 }
3290 export interface ScPriceChoicesCustomEvent<T> extends CustomEvent<T> {
3291 detail: T;
3292 target: HTMLScPriceChoicesElement;
3293 }
3294 export interface ScPriceInputCustomEvent<T> extends CustomEvent<T> {
3295 detail: T;
3296 target: HTMLScPriceInputElement;
3297 }
3298 export interface ScProductLineItemCustomEvent<T> extends CustomEvent<T> {
3299 detail: T;
3300 target: HTMLScProductLineItemElement;
3301 }
3302 export interface ScProviderCustomEvent<T> extends CustomEvent<T> {
3303 detail: T;
3304 target: HTMLScProviderElement;
3305 }
3306 export interface ScQuantitySelectCustomEvent<T> extends CustomEvent<T> {
3307 detail: T;
3308 target: HTMLScQuantitySelectElement;
3309 }
3310 export interface ScRadioCustomEvent<T> extends CustomEvent<T> {
3311 detail: T;
3312 target: HTMLScRadioElement;
3313 }
3314 export interface ScSelectCustomEvent<T> extends CustomEvent<T> {
3315 detail: T;
3316 target: HTMLScSelectElement;
3317 }
3318 export interface ScSessionProviderCustomEvent<T> extends CustomEvent<T> {
3319 detail: T;
3320 target: HTMLScSessionProviderElement;
3321 }
3322 export interface ScStripeElementCustomEvent<T> extends CustomEvent<T> {
3323 detail: T;
3324 target: HTMLScStripeElementElement;
3325 }
3326 export interface ScStripePaymentElementCustomEvent<T> extends CustomEvent<T> {
3327 detail: T;
3328 target: HTMLScStripePaymentElementElement;
3329 }
3330 export interface ScStripePaymentRequestCustomEvent<T> extends CustomEvent<T> {
3331 detail: T;
3332 target: HTMLScStripePaymentRequestElement;
3333 }
3334 export interface ScSwitchCustomEvent<T> extends CustomEvent<T> {
3335 detail: T;
3336 target: HTMLScSwitchElement;
3337 }
3338 export interface ScTabCustomEvent<T> extends CustomEvent<T> {
3339 detail: T;
3340 target: HTMLScTabElement;
3341 }
3342 export interface ScTabGroupCustomEvent<T> extends CustomEvent<T> {
3343 detail: T;
3344 target: HTMLScTabGroupElement;
3345 }
3346 export interface ScTagCustomEvent<T> extends CustomEvent<T> {
3347 detail: T;
3348 target: HTMLScTagElement;
3349 }
3350 export interface ScTaxIdInputCustomEvent<T> extends CustomEvent<T> {
3351 detail: T;
3352 target: HTMLScTaxIdInputElement;
3353 }
3354 export interface ScTextareaCustomEvent<T> extends CustomEvent<T> {
3355 detail: T;
3356 target: HTMLScTextareaElement;
3357 }
3358 export interface ScToggleCustomEvent<T> extends CustomEvent<T> {
3359 detail: T;
3360 target: HTMLScToggleElement;
3361 }
3362 declare global {
3363 interface HTMLScAddressElement extends Components.ScAddress, HTMLStencilElement {
3364 }
3365 var HTMLScAddressElement: {
3366 prototype: HTMLScAddressElement;
3367 new (): HTMLScAddressElement;
3368 };
3369 interface HTMLScAlertElement extends Components.ScAlert, HTMLStencilElement {
3370 }
3371 var HTMLScAlertElement: {
3372 prototype: HTMLScAlertElement;
3373 new (): HTMLScAlertElement;
3374 };
3375 interface HTMLScBadgeNoticeElement extends Components.ScBadgeNotice, HTMLStencilElement {
3376 }
3377 var HTMLScBadgeNoticeElement: {
3378 prototype: HTMLScBadgeNoticeElement;
3379 new (): HTMLScBadgeNoticeElement;
3380 };
3381 interface HTMLScBlockUiElement extends Components.ScBlockUi, HTMLStencilElement {
3382 }
3383 var HTMLScBlockUiElement: {
3384 prototype: HTMLScBlockUiElement;
3385 new (): HTMLScBlockUiElement;
3386 };
3387 interface HTMLScBreadcrumbElement extends Components.ScBreadcrumb, HTMLStencilElement {
3388 }
3389 var HTMLScBreadcrumbElement: {
3390 prototype: HTMLScBreadcrumbElement;
3391 new (): HTMLScBreadcrumbElement;
3392 };
3393 interface HTMLScBreadcrumbsElement extends Components.ScBreadcrumbs, HTMLStencilElement {
3394 }
3395 var HTMLScBreadcrumbsElement: {
3396 prototype: HTMLScBreadcrumbsElement;
3397 new (): HTMLScBreadcrumbsElement;
3398 };
3399 interface HTMLScButtonElement extends Components.ScButton, HTMLStencilElement {
3400 }
3401 var HTMLScButtonElement: {
3402 prototype: HTMLScButtonElement;
3403 new (): HTMLScButtonElement;
3404 };
3405 interface HTMLScButtonGroupElement extends Components.ScButtonGroup, HTMLStencilElement {
3406 }
3407 var HTMLScButtonGroupElement: {
3408 prototype: HTMLScButtonGroupElement;
3409 new (): HTMLScButtonGroupElement;
3410 };
3411 interface HTMLScCardElement extends Components.ScCard, HTMLStencilElement {
3412 }
3413 var HTMLScCardElement: {
3414 prototype: HTMLScCardElement;
3415 new (): HTMLScCardElement;
3416 };
3417 interface HTMLScCartElement extends Components.ScCart, HTMLStencilElement {
3418 }
3419 var HTMLScCartElement: {
3420 prototype: HTMLScCartElement;
3421 new (): HTMLScCartElement;
3422 };
3423 interface HTMLScCartFormElement extends Components.ScCartForm, HTMLStencilElement {
3424 }
3425 var HTMLScCartFormElement: {
3426 prototype: HTMLScCartFormElement;
3427 new (): HTMLScCartFormElement;
3428 };
3429 interface HTMLScCartFormSubmitElement extends Components.ScCartFormSubmit, HTMLStencilElement {
3430 }
3431 var HTMLScCartFormSubmitElement: {
3432 prototype: HTMLScCartFormSubmitElement;
3433 new (): HTMLScCartFormSubmitElement;
3434 };
3435 interface HTMLScCartHeaderElement extends Components.ScCartHeader, HTMLStencilElement {
3436 }
3437 var HTMLScCartHeaderElement: {
3438 prototype: HTMLScCartHeaderElement;
3439 new (): HTMLScCartHeaderElement;
3440 };
3441 interface HTMLScCartIconElement extends Components.ScCartIcon, HTMLStencilElement {
3442 }
3443 var HTMLScCartIconElement: {
3444 prototype: HTMLScCartIconElement;
3445 new (): HTMLScCartIconElement;
3446 };
3447 interface HTMLScCartLoaderElement extends Components.ScCartLoader, HTMLStencilElement {
3448 }
3449 var HTMLScCartLoaderElement: {
3450 prototype: HTMLScCartLoaderElement;
3451 new (): HTMLScCartLoaderElement;
3452 };
3453 interface HTMLScCartSessionProviderElement extends Components.ScCartSessionProvider, HTMLStencilElement {
3454 }
3455 var HTMLScCartSessionProviderElement: {
3456 prototype: HTMLScCartSessionProviderElement;
3457 new (): HTMLScCartSessionProviderElement;
3458 };
3459 interface HTMLScCartSubmitElement extends Components.ScCartSubmit, HTMLStencilElement {
3460 }
3461 var HTMLScCartSubmitElement: {
3462 prototype: HTMLScCartSubmitElement;
3463 new (): HTMLScCartSubmitElement;
3464 };
3465 interface HTMLScCcLogoElement extends Components.ScCcLogo, HTMLStencilElement {
3466 }
3467 var HTMLScCcLogoElement: {
3468 prototype: HTMLScCcLogoElement;
3469 new (): HTMLScCcLogoElement;
3470 };
3471 interface HTMLScChargesListElement extends Components.ScChargesList, HTMLStencilElement {
3472 }
3473 var HTMLScChargesListElement: {
3474 prototype: HTMLScChargesListElement;
3475 new (): HTMLScChargesListElement;
3476 };
3477 interface HTMLScCheckboxElement extends Components.ScCheckbox, HTMLStencilElement {
3478 }
3479 var HTMLScCheckboxElement: {
3480 prototype: HTMLScCheckboxElement;
3481 new (): HTMLScCheckboxElement;
3482 };
3483 interface HTMLScCheckoutElement extends Components.ScCheckout, HTMLStencilElement {
3484 }
3485 var HTMLScCheckoutElement: {
3486 prototype: HTMLScCheckoutElement;
3487 new (): HTMLScCheckoutElement;
3488 };
3489 interface HTMLScCheckoutUnsavedChangesWarningElement extends Components.ScCheckoutUnsavedChangesWarning, HTMLStencilElement {
3490 }
3491 var HTMLScCheckoutUnsavedChangesWarningElement: {
3492 prototype: HTMLScCheckoutUnsavedChangesWarningElement;
3493 new (): HTMLScCheckoutUnsavedChangesWarningElement;
3494 };
3495 interface HTMLScChoiceElement extends Components.ScChoice, HTMLStencilElement {
3496 }
3497 var HTMLScChoiceElement: {
3498 prototype: HTMLScChoiceElement;
3499 new (): HTMLScChoiceElement;
3500 };
3501 interface HTMLScChoicesElement extends Components.ScChoices, HTMLStencilElement {
3502 }
3503 var HTMLScChoicesElement: {
3504 prototype: HTMLScChoicesElement;
3505 new (): HTMLScChoicesElement;
3506 };
3507 interface HTMLScColumnElement extends Components.ScColumn, HTMLStencilElement {
3508 }
3509 var HTMLScColumnElement: {
3510 prototype: HTMLScColumnElement;
3511 new (): HTMLScColumnElement;
3512 };
3513 interface HTMLScColumnsElement extends Components.ScColumns, HTMLStencilElement {
3514 }
3515 var HTMLScColumnsElement: {
3516 prototype: HTMLScColumnsElement;
3517 new (): HTMLScColumnsElement;
3518 };
3519 interface HTMLScCompactAddressElement extends Components.ScCompactAddress, HTMLStencilElement {
3520 }
3521 var HTMLScCompactAddressElement: {
3522 prototype: HTMLScCompactAddressElement;
3523 new (): HTMLScCompactAddressElement;
3524 };
3525 interface HTMLScConsumerElement extends Components.ScConsumer, HTMLStencilElement {
3526 }
3527 var HTMLScConsumerElement: {
3528 prototype: HTMLScConsumerElement;
3529 new (): HTMLScConsumerElement;
3530 };
3531 interface HTMLScCouponFormElement extends Components.ScCouponForm, HTMLStencilElement {
3532 }
3533 var HTMLScCouponFormElement: {
3534 prototype: HTMLScCouponFormElement;
3535 new (): HTMLScCouponFormElement;
3536 };
3537 interface HTMLScCustomOrderPriceInputElement extends Components.ScCustomOrderPriceInput, HTMLStencilElement {
3538 }
3539 var HTMLScCustomOrderPriceInputElement: {
3540 prototype: HTMLScCustomOrderPriceInputElement;
3541 new (): HTMLScCustomOrderPriceInputElement;
3542 };
3543 interface HTMLScCustomerDetailsElement extends Components.ScCustomerDetails, HTMLStencilElement {
3544 }
3545 var HTMLScCustomerDetailsElement: {
3546 prototype: HTMLScCustomerDetailsElement;
3547 new (): HTMLScCustomerDetailsElement;
3548 };
3549 interface HTMLScCustomerEditElement extends Components.ScCustomerEdit, HTMLStencilElement {
3550 }
3551 var HTMLScCustomerEditElement: {
3552 prototype: HTMLScCustomerEditElement;
3553 new (): HTMLScCustomerEditElement;
3554 };
3555 interface HTMLScCustomerEmailElement extends Components.ScCustomerEmail, HTMLStencilElement {
3556 }
3557 var HTMLScCustomerEmailElement: {
3558 prototype: HTMLScCustomerEmailElement;
3559 new (): HTMLScCustomerEmailElement;
3560 };
3561 interface HTMLScCustomerFirstnameElement extends Components.ScCustomerFirstname, HTMLStencilElement {
3562 }
3563 var HTMLScCustomerFirstnameElement: {
3564 prototype: HTMLScCustomerFirstnameElement;
3565 new (): HTMLScCustomerFirstnameElement;
3566 };
3567 interface HTMLScCustomerLastnameElement extends Components.ScCustomerLastname, HTMLStencilElement {
3568 }
3569 var HTMLScCustomerLastnameElement: {
3570 prototype: HTMLScCustomerLastnameElement;
3571 new (): HTMLScCustomerLastnameElement;
3572 };
3573 interface HTMLScCustomerNameElement extends Components.ScCustomerName, HTMLStencilElement {
3574 }
3575 var HTMLScCustomerNameElement: {
3576 prototype: HTMLScCustomerNameElement;
3577 new (): HTMLScCustomerNameElement;
3578 };
3579 interface HTMLScDashboardCustomerDetailsElement extends Components.ScDashboardCustomerDetails, HTMLStencilElement {
3580 }
3581 var HTMLScDashboardCustomerDetailsElement: {
3582 prototype: HTMLScDashboardCustomerDetailsElement;
3583 new (): HTMLScDashboardCustomerDetailsElement;
3584 };
3585 interface HTMLScDashboardDownloadsListElement extends Components.ScDashboardDownloadsList, HTMLStencilElement {
3586 }
3587 var HTMLScDashboardDownloadsListElement: {
3588 prototype: HTMLScDashboardDownloadsListElement;
3589 new (): HTMLScDashboardDownloadsListElement;
3590 };
3591 interface HTMLScDashboardModuleElement extends Components.ScDashboardModule, HTMLStencilElement {
3592 }
3593 var HTMLScDashboardModuleElement: {
3594 prototype: HTMLScDashboardModuleElement;
3595 new (): HTMLScDashboardModuleElement;
3596 };
3597 interface HTMLScDialogElement extends Components.ScDialog, HTMLStencilElement {
3598 }
3599 var HTMLScDialogElement: {
3600 prototype: HTMLScDialogElement;
3601 new (): HTMLScDialogElement;
3602 };
3603 interface HTMLScDividerElement extends Components.ScDivider, HTMLStencilElement {
3604 }
3605 var HTMLScDividerElement: {
3606 prototype: HTMLScDividerElement;
3607 new (): HTMLScDividerElement;
3608 };
3609 interface HTMLScDonationChoicesElement extends Components.ScDonationChoices, HTMLStencilElement {
3610 }
3611 var HTMLScDonationChoicesElement: {
3612 prototype: HTMLScDonationChoicesElement;
3613 new (): HTMLScDonationChoicesElement;
3614 };
3615 interface HTMLScDownloadsListElement extends Components.ScDownloadsList, HTMLStencilElement {
3616 }
3617 var HTMLScDownloadsListElement: {
3618 prototype: HTMLScDownloadsListElement;
3619 new (): HTMLScDownloadsListElement;
3620 };
3621 interface HTMLScDrawerElement extends Components.ScDrawer, HTMLStencilElement {
3622 }
3623 var HTMLScDrawerElement: {
3624 prototype: HTMLScDrawerElement;
3625 new (): HTMLScDrawerElement;
3626 };
3627 interface HTMLScDropdownElement extends Components.ScDropdown, HTMLStencilElement {
3628 }
3629 var HTMLScDropdownElement: {
3630 prototype: HTMLScDropdownElement;
3631 new (): HTMLScDropdownElement;
3632 };
3633 interface HTMLScEmptyElement extends Components.ScEmpty, HTMLStencilElement {
3634 }
3635 var HTMLScEmptyElement: {
3636 prototype: HTMLScEmptyElement;
3637 new (): HTMLScEmptyElement;
3638 };
3639 interface HTMLScErrorElement extends Components.ScError, HTMLStencilElement {
3640 }
3641 var HTMLScErrorElement: {
3642 prototype: HTMLScErrorElement;
3643 new (): HTMLScErrorElement;
3644 };
3645 interface HTMLScExpressPaymentElement extends Components.ScExpressPayment, HTMLStencilElement {
3646 }
3647 var HTMLScExpressPaymentElement: {
3648 prototype: HTMLScExpressPaymentElement;
3649 new (): HTMLScExpressPaymentElement;
3650 };
3651 interface HTMLScFlexElement extends Components.ScFlex, HTMLStencilElement {
3652 }
3653 var HTMLScFlexElement: {
3654 prototype: HTMLScFlexElement;
3655 new (): HTMLScFlexElement;
3656 };
3657 interface HTMLScFormElement extends Components.ScForm, HTMLStencilElement {
3658 }
3659 var HTMLScFormElement: {
3660 prototype: HTMLScFormElement;
3661 new (): HTMLScFormElement;
3662 };
3663 interface HTMLScFormComponentsValidatorElement extends Components.ScFormComponentsValidator, HTMLStencilElement {
3664 }
3665 var HTMLScFormComponentsValidatorElement: {
3666 prototype: HTMLScFormComponentsValidatorElement;
3667 new (): HTMLScFormComponentsValidatorElement;
3668 };
3669 interface HTMLScFormControlElement extends Components.ScFormControl, HTMLStencilElement {
3670 }
3671 var HTMLScFormControlElement: {
3672 prototype: HTMLScFormControlElement;
3673 new (): HTMLScFormControlElement;
3674 };
3675 interface HTMLScFormErrorProviderElement extends Components.ScFormErrorProvider, HTMLStencilElement {
3676 }
3677 var HTMLScFormErrorProviderElement: {
3678 prototype: HTMLScFormErrorProviderElement;
3679 new (): HTMLScFormErrorProviderElement;
3680 };
3681 interface HTMLScFormRowElement extends Components.ScFormRow, HTMLStencilElement {
3682 }
3683 var HTMLScFormRowElement: {
3684 prototype: HTMLScFormRowElement;
3685 new (): HTMLScFormRowElement;
3686 };
3687 interface HTMLScFormStateProviderElement extends Components.ScFormStateProvider, HTMLStencilElement {
3688 }
3689 var HTMLScFormStateProviderElement: {
3690 prototype: HTMLScFormStateProviderElement;
3691 new (): HTMLScFormStateProviderElement;
3692 };
3693 interface HTMLScFormatBytesElement extends Components.ScFormatBytes, HTMLStencilElement {
3694 }
3695 var HTMLScFormatBytesElement: {
3696 prototype: HTMLScFormatBytesElement;
3697 new (): HTMLScFormatBytesElement;
3698 };
3699 interface HTMLScFormatDateElement extends Components.ScFormatDate, HTMLStencilElement {
3700 }
3701 var HTMLScFormatDateElement: {
3702 prototype: HTMLScFormatDateElement;
3703 new (): HTMLScFormatDateElement;
3704 };
3705 interface HTMLScFormatIntervalElement extends Components.ScFormatInterval, HTMLStencilElement {
3706 }
3707 var HTMLScFormatIntervalElement: {
3708 prototype: HTMLScFormatIntervalElement;
3709 new (): HTMLScFormatIntervalElement;
3710 };
3711 interface HTMLScFormatNumberElement extends Components.ScFormatNumber, HTMLStencilElement {
3712 }
3713 var HTMLScFormatNumberElement: {
3714 prototype: HTMLScFormatNumberElement;
3715 new (): HTMLScFormatNumberElement;
3716 };
3717 interface HTMLScHeadingElement extends Components.ScHeading, HTMLStencilElement {
3718 }
3719 var HTMLScHeadingElement: {
3720 prototype: HTMLScHeadingElement;
3721 new (): HTMLScHeadingElement;
3722 };
3723 interface HTMLScIconElement extends Components.ScIcon, HTMLStencilElement {
3724 }
3725 var HTMLScIconElement: {
3726 prototype: HTMLScIconElement;
3727 new (): HTMLScIconElement;
3728 };
3729 interface HTMLScInputElement extends Components.ScInput, HTMLStencilElement {
3730 }
3731 var HTMLScInputElement: {
3732 prototype: HTMLScInputElement;
3733 new (): HTMLScInputElement;
3734 };
3735 interface HTMLScInvoicesListElement extends Components.ScInvoicesList, HTMLStencilElement {
3736 }
3737 var HTMLScInvoicesListElement: {
3738 prototype: HTMLScInvoicesListElement;
3739 new (): HTMLScInvoicesListElement;
3740 };
3741 interface HTMLScLicensesListElement extends Components.ScLicensesList, HTMLStencilElement {
3742 }
3743 var HTMLScLicensesListElement: {
3744 prototype: HTMLScLicensesListElement;
3745 new (): HTMLScLicensesListElement;
3746 };
3747 interface HTMLScLineItemElement extends Components.ScLineItem, HTMLStencilElement {
3748 }
3749 var HTMLScLineItemElement: {
3750 prototype: HTMLScLineItemElement;
3751 new (): HTMLScLineItemElement;
3752 };
3753 interface HTMLScLineItemBumpElement extends Components.ScLineItemBump, HTMLStencilElement {
3754 }
3755 var HTMLScLineItemBumpElement: {
3756 prototype: HTMLScLineItemBumpElement;
3757 new (): HTMLScLineItemBumpElement;
3758 };
3759 interface HTMLScLineItemTaxElement extends Components.ScLineItemTax, HTMLStencilElement {
3760 }
3761 var HTMLScLineItemTaxElement: {
3762 prototype: HTMLScLineItemTaxElement;
3763 new (): HTMLScLineItemTaxElement;
3764 };
3765 interface HTMLScLineItemTotalElement extends Components.ScLineItemTotal, HTMLStencilElement {
3766 }
3767 var HTMLScLineItemTotalElement: {
3768 prototype: HTMLScLineItemTotalElement;
3769 new (): HTMLScLineItemTotalElement;
3770 };
3771 interface HTMLScLineItemsElement extends Components.ScLineItems, HTMLStencilElement {
3772 }
3773 var HTMLScLineItemsElement: {
3774 prototype: HTMLScLineItemsElement;
3775 new (): HTMLScLineItemsElement;
3776 };
3777 interface HTMLScLineItemsProviderElement extends Components.ScLineItemsProvider, HTMLStencilElement {
3778 }
3779 var HTMLScLineItemsProviderElement: {
3780 prototype: HTMLScLineItemsProviderElement;
3781 new (): HTMLScLineItemsProviderElement;
3782 };
3783 interface HTMLScLoginFormElement extends Components.ScLoginForm, HTMLStencilElement {
3784 }
3785 var HTMLScLoginFormElement: {
3786 prototype: HTMLScLoginFormElement;
3787 new (): HTMLScLoginFormElement;
3788 };
3789 interface HTMLScLoginProviderElement extends Components.ScLoginProvider, HTMLStencilElement {
3790 }
3791 var HTMLScLoginProviderElement: {
3792 prototype: HTMLScLoginProviderElement;
3793 new (): HTMLScLoginProviderElement;
3794 };
3795 interface HTMLScMenuElement extends Components.ScMenu, HTMLStencilElement {
3796 }
3797 var HTMLScMenuElement: {
3798 prototype: HTMLScMenuElement;
3799 new (): HTMLScMenuElement;
3800 };
3801 interface HTMLScMenuDividerElement extends Components.ScMenuDivider, HTMLStencilElement {
3802 }
3803 var HTMLScMenuDividerElement: {
3804 prototype: HTMLScMenuDividerElement;
3805 new (): HTMLScMenuDividerElement;
3806 };
3807 interface HTMLScMenuItemElement extends Components.ScMenuItem, HTMLStencilElement {
3808 }
3809 var HTMLScMenuItemElement: {
3810 prototype: HTMLScMenuItemElement;
3811 new (): HTMLScMenuItemElement;
3812 };
3813 interface HTMLScMenuLabelElement extends Components.ScMenuLabel, HTMLStencilElement {
3814 }
3815 var HTMLScMenuLabelElement: {
3816 prototype: HTMLScMenuLabelElement;
3817 new (): HTMLScMenuLabelElement;
3818 };
3819 interface HTMLScOrderElement extends Components.ScOrder, HTMLStencilElement {
3820 }
3821 var HTMLScOrderElement: {
3822 prototype: HTMLScOrderElement;
3823 new (): HTMLScOrderElement;
3824 };
3825 interface HTMLScOrderBumpElement extends Components.ScOrderBump, HTMLStencilElement {
3826 }
3827 var HTMLScOrderBumpElement: {
3828 prototype: HTMLScOrderBumpElement;
3829 new (): HTMLScOrderBumpElement;
3830 };
3831 interface HTMLScOrderBumpsElement extends Components.ScOrderBumps, HTMLStencilElement {
3832 }
3833 var HTMLScOrderBumpsElement: {
3834 prototype: HTMLScOrderBumpsElement;
3835 new (): HTMLScOrderBumpsElement;
3836 };
3837 interface HTMLScOrderConfirmComponentsValidatorElement extends Components.ScOrderConfirmComponentsValidator, HTMLStencilElement {
3838 }
3839 var HTMLScOrderConfirmComponentsValidatorElement: {
3840 prototype: HTMLScOrderConfirmComponentsValidatorElement;
3841 new (): HTMLScOrderConfirmComponentsValidatorElement;
3842 };
3843 interface HTMLScOrderConfirmProviderElement extends Components.ScOrderConfirmProvider, HTMLStencilElement {
3844 }
3845 var HTMLScOrderConfirmProviderElement: {
3846 prototype: HTMLScOrderConfirmProviderElement;
3847 new (): HTMLScOrderConfirmProviderElement;
3848 };
3849 interface HTMLScOrderConfirmationElement extends Components.ScOrderConfirmation, HTMLStencilElement {
3850 }
3851 var HTMLScOrderConfirmationElement: {
3852 prototype: HTMLScOrderConfirmationElement;
3853 new (): HTMLScOrderConfirmationElement;
3854 };
3855 interface HTMLScOrderConfirmationCustomerElement extends Components.ScOrderConfirmationCustomer, HTMLStencilElement {
3856 }
3857 var HTMLScOrderConfirmationCustomerElement: {
3858 prototype: HTMLScOrderConfirmationCustomerElement;
3859 new (): HTMLScOrderConfirmationCustomerElement;
3860 };
3861 interface HTMLScOrderConfirmationDetailsElement extends Components.ScOrderConfirmationDetails, HTMLStencilElement {
3862 }
3863 var HTMLScOrderConfirmationDetailsElement: {
3864 prototype: HTMLScOrderConfirmationDetailsElement;
3865 new (): HTMLScOrderConfirmationDetailsElement;
3866 };
3867 interface HTMLScOrderConfirmationLineItemsElement extends Components.ScOrderConfirmationLineItems, HTMLStencilElement {
3868 }
3869 var HTMLScOrderConfirmationLineItemsElement: {
3870 prototype: HTMLScOrderConfirmationLineItemsElement;
3871 new (): HTMLScOrderConfirmationLineItemsElement;
3872 };
3873 interface HTMLScOrderConfirmationTotalsElement extends Components.ScOrderConfirmationTotals, HTMLStencilElement {
3874 }
3875 var HTMLScOrderConfirmationTotalsElement: {
3876 prototype: HTMLScOrderConfirmationTotalsElement;
3877 new (): HTMLScOrderConfirmationTotalsElement;
3878 };
3879 interface HTMLScOrderCouponFormElement extends Components.ScOrderCouponForm, HTMLStencilElement {
3880 }
3881 var HTMLScOrderCouponFormElement: {
3882 prototype: HTMLScOrderCouponFormElement;
3883 new (): HTMLScOrderCouponFormElement;
3884 };
3885 interface HTMLScOrderDetailElement extends Components.ScOrderDetail, HTMLStencilElement {
3886 }
3887 var HTMLScOrderDetailElement: {
3888 prototype: HTMLScOrderDetailElement;
3889 new (): HTMLScOrderDetailElement;
3890 };
3891 interface HTMLScOrderManualInstructionsElement extends Components.ScOrderManualInstructions, HTMLStencilElement {
3892 }
3893 var HTMLScOrderManualInstructionsElement: {
3894 prototype: HTMLScOrderManualInstructionsElement;
3895 new (): HTMLScOrderManualInstructionsElement;
3896 };
3897 interface HTMLScOrderPasswordElement extends Components.ScOrderPassword, HTMLStencilElement {
3898 }
3899 var HTMLScOrderPasswordElement: {
3900 prototype: HTMLScOrderPasswordElement;
3901 new (): HTMLScOrderPasswordElement;
3902 };
3903 interface HTMLScOrderShippingAddressElement extends Components.ScOrderShippingAddress, HTMLStencilElement {
3904 }
3905 var HTMLScOrderShippingAddressElement: {
3906 prototype: HTMLScOrderShippingAddressElement;
3907 new (): HTMLScOrderShippingAddressElement;
3908 };
3909 interface HTMLScOrderStatusBadgeElement extends Components.ScOrderStatusBadge, HTMLStencilElement {
3910 }
3911 var HTMLScOrderStatusBadgeElement: {
3912 prototype: HTMLScOrderStatusBadgeElement;
3913 new (): HTMLScOrderStatusBadgeElement;
3914 };
3915 interface HTMLScOrderSubmitElement extends Components.ScOrderSubmit, HTMLStencilElement {
3916 }
3917 var HTMLScOrderSubmitElement: {
3918 prototype: HTMLScOrderSubmitElement;
3919 new (): HTMLScOrderSubmitElement;
3920 };
3921 interface HTMLScOrderSummaryElement extends Components.ScOrderSummary, HTMLStencilElement {
3922 }
3923 var HTMLScOrderSummaryElement: {
3924 prototype: HTMLScOrderSummaryElement;
3925 new (): HTMLScOrderSummaryElement;
3926 };
3927 interface HTMLScOrderTaxIdInputElement extends Components.ScOrderTaxIdInput, HTMLStencilElement {
3928 }
3929 var HTMLScOrderTaxIdInputElement: {
3930 prototype: HTMLScOrderTaxIdInputElement;
3931 new (): HTMLScOrderTaxIdInputElement;
3932 };
3933 interface HTMLScOrdersListElement extends Components.ScOrdersList, HTMLStencilElement {
3934 }
3935 var HTMLScOrdersListElement: {
3936 prototype: HTMLScOrdersListElement;
3937 new (): HTMLScOrdersListElement;
3938 };
3939 interface HTMLScPaginationElement extends Components.ScPagination, HTMLStencilElement {
3940 }
3941 var HTMLScPaginationElement: {
3942 prototype: HTMLScPaginationElement;
3943 new (): HTMLScPaginationElement;
3944 };
3945 interface HTMLScPasswordNagElement extends Components.ScPasswordNag, HTMLStencilElement {
3946 }
3947 var HTMLScPasswordNagElement: {
3948 prototype: HTMLScPasswordNagElement;
3949 new (): HTMLScPasswordNagElement;
3950 };
3951 interface HTMLScPaymentElement extends Components.ScPayment, HTMLStencilElement {
3952 }
3953 var HTMLScPaymentElement: {
3954 prototype: HTMLScPaymentElement;
3955 new (): HTMLScPaymentElement;
3956 };
3957 interface HTMLScPaymentMethodElement extends Components.ScPaymentMethod, HTMLStencilElement {
3958 }
3959 var HTMLScPaymentMethodElement: {
3960 prototype: HTMLScPaymentMethodElement;
3961 new (): HTMLScPaymentMethodElement;
3962 };
3963 interface HTMLScPaymentMethodChoiceElement extends Components.ScPaymentMethodChoice, HTMLStencilElement {
3964 }
3965 var HTMLScPaymentMethodChoiceElement: {
3966 prototype: HTMLScPaymentMethodChoiceElement;
3967 new (): HTMLScPaymentMethodChoiceElement;
3968 };
3969 interface HTMLScPaymentMethodsListElement extends Components.ScPaymentMethodsList, HTMLStencilElement {
3970 }
3971 var HTMLScPaymentMethodsListElement: {
3972 prototype: HTMLScPaymentMethodsListElement;
3973 new (): HTMLScPaymentMethodsListElement;
3974 };
3975 interface HTMLScPaymentSelectedElement extends Components.ScPaymentSelected, HTMLStencilElement {
3976 }
3977 var HTMLScPaymentSelectedElement: {
3978 prototype: HTMLScPaymentSelectedElement;
3979 new (): HTMLScPaymentSelectedElement;
3980 };
3981 interface HTMLScPaypalAddMethodElement extends Components.ScPaypalAddMethod, HTMLStencilElement {
3982 }
3983 var HTMLScPaypalAddMethodElement: {
3984 prototype: HTMLScPaypalAddMethodElement;
3985 new (): HTMLScPaypalAddMethodElement;
3986 };
3987 interface HTMLScPaypalButtonsElement extends Components.ScPaypalButtons, HTMLStencilElement {
3988 }
3989 var HTMLScPaypalButtonsElement: {
3990 prototype: HTMLScPaypalButtonsElement;
3991 new (): HTMLScPaypalButtonsElement;
3992 };
3993 interface HTMLScPriceChoiceElement extends Components.ScPriceChoice, HTMLStencilElement {
3994 }
3995 var HTMLScPriceChoiceElement: {
3996 prototype: HTMLScPriceChoiceElement;
3997 new (): HTMLScPriceChoiceElement;
3998 };
3999 interface HTMLScPriceChoicesElement extends Components.ScPriceChoices, HTMLStencilElement {
4000 }
4001 var HTMLScPriceChoicesElement: {
4002 prototype: HTMLScPriceChoicesElement;
4003 new (): HTMLScPriceChoicesElement;
4004 };
4005 interface HTMLScPriceInputElement extends Components.ScPriceInput, HTMLStencilElement {
4006 }
4007 var HTMLScPriceInputElement: {
4008 prototype: HTMLScPriceInputElement;
4009 new (): HTMLScPriceInputElement;
4010 };
4011 interface HTMLScProductLineItemElement extends Components.ScProductLineItem, HTMLStencilElement {
4012 }
4013 var HTMLScProductLineItemElement: {
4014 prototype: HTMLScProductLineItemElement;
4015 new (): HTMLScProductLineItemElement;
4016 };
4017 interface HTMLScProviderElement extends Components.ScProvider, HTMLStencilElement {
4018 }
4019 var HTMLScProviderElement: {
4020 prototype: HTMLScProviderElement;
4021 new (): HTMLScProviderElement;
4022 };
4023 interface HTMLScPurchaseDownloadsListElement extends Components.ScPurchaseDownloadsList, HTMLStencilElement {
4024 }
4025 var HTMLScPurchaseDownloadsListElement: {
4026 prototype: HTMLScPurchaseDownloadsListElement;
4027 new (): HTMLScPurchaseDownloadsListElement;
4028 };
4029 interface HTMLScQuantitySelectElement extends Components.ScQuantitySelect, HTMLStencilElement {
4030 }
4031 var HTMLScQuantitySelectElement: {
4032 prototype: HTMLScQuantitySelectElement;
4033 new (): HTMLScQuantitySelectElement;
4034 };
4035 interface HTMLScRadioElement extends Components.ScRadio, HTMLStencilElement {
4036 }
4037 var HTMLScRadioElement: {
4038 prototype: HTMLScRadioElement;
4039 new (): HTMLScRadioElement;
4040 };
4041 interface HTMLScRadioGroupElement extends Components.ScRadioGroup, HTMLStencilElement {
4042 }
4043 var HTMLScRadioGroupElement: {
4044 prototype: HTMLScRadioGroupElement;
4045 new (): HTMLScRadioGroupElement;
4046 };
4047 interface HTMLScSecureNoticeElement extends Components.ScSecureNotice, HTMLStencilElement {
4048 }
4049 var HTMLScSecureNoticeElement: {
4050 prototype: HTMLScSecureNoticeElement;
4051 new (): HTMLScSecureNoticeElement;
4052 };
4053 interface HTMLScSelectElement extends Components.ScSelect, HTMLStencilElement {
4054 }
4055 var HTMLScSelectElement: {
4056 prototype: HTMLScSelectElement;
4057 new (): HTMLScSelectElement;
4058 };
4059 interface HTMLScSessionProviderElement extends Components.ScSessionProvider, HTMLStencilElement {
4060 }
4061 var HTMLScSessionProviderElement: {
4062 prototype: HTMLScSessionProviderElement;
4063 new (): HTMLScSessionProviderElement;
4064 };
4065 interface HTMLScSkeletonElement extends Components.ScSkeleton, HTMLStencilElement {
4066 }
4067 var HTMLScSkeletonElement: {
4068 prototype: HTMLScSkeletonElement;
4069 new (): HTMLScSkeletonElement;
4070 };
4071 interface HTMLScSpacingElement extends Components.ScSpacing, HTMLStencilElement {
4072 }
4073 var HTMLScSpacingElement: {
4074 prototype: HTMLScSpacingElement;
4075 new (): HTMLScSpacingElement;
4076 };
4077 interface HTMLScSpinnerElement extends Components.ScSpinner, HTMLStencilElement {
4078 }
4079 var HTMLScSpinnerElement: {
4080 prototype: HTMLScSpinnerElement;
4081 new (): HTMLScSpinnerElement;
4082 };
4083 interface HTMLScStackedListElement extends Components.ScStackedList, HTMLStencilElement {
4084 }
4085 var HTMLScStackedListElement: {
4086 prototype: HTMLScStackedListElement;
4087 new (): HTMLScStackedListElement;
4088 };
4089 interface HTMLScStackedListRowElement extends Components.ScStackedListRow, HTMLStencilElement {
4090 }
4091 var HTMLScStackedListRowElement: {
4092 prototype: HTMLScStackedListRowElement;
4093 new (): HTMLScStackedListRowElement;
4094 };
4095 interface HTMLScStripeAddMethodElement extends Components.ScStripeAddMethod, HTMLStencilElement {
4096 }
4097 var HTMLScStripeAddMethodElement: {
4098 prototype: HTMLScStripeAddMethodElement;
4099 new (): HTMLScStripeAddMethodElement;
4100 };
4101 interface HTMLScStripeElementElement extends Components.ScStripeElement, HTMLStencilElement {
4102 }
4103 var HTMLScStripeElementElement: {
4104 prototype: HTMLScStripeElementElement;
4105 new (): HTMLScStripeElementElement;
4106 };
4107 interface HTMLScStripePaymentElementElement extends Components.ScStripePaymentElement, HTMLStencilElement {
4108 }
4109 var HTMLScStripePaymentElementElement: {
4110 prototype: HTMLScStripePaymentElementElement;
4111 new (): HTMLScStripePaymentElementElement;
4112 };
4113 interface HTMLScStripePaymentRequestElement extends Components.ScStripePaymentRequest, HTMLStencilElement {
4114 }
4115 var HTMLScStripePaymentRequestElement: {
4116 prototype: HTMLScStripePaymentRequestElement;
4117 new (): HTMLScStripePaymentRequestElement;
4118 };
4119 interface HTMLScSubscriptionElement extends Components.ScSubscription, HTMLStencilElement {
4120 }
4121 var HTMLScSubscriptionElement: {
4122 prototype: HTMLScSubscriptionElement;
4123 new (): HTMLScSubscriptionElement;
4124 };
4125 interface HTMLScSubscriptionAdHocConfirmElement extends Components.ScSubscriptionAdHocConfirm, HTMLStencilElement {
4126 }
4127 var HTMLScSubscriptionAdHocConfirmElement: {
4128 prototype: HTMLScSubscriptionAdHocConfirmElement;
4129 new (): HTMLScSubscriptionAdHocConfirmElement;
4130 };
4131 interface HTMLScSubscriptionCancelElement extends Components.ScSubscriptionCancel, HTMLStencilElement {
4132 }
4133 var HTMLScSubscriptionCancelElement: {
4134 prototype: HTMLScSubscriptionCancelElement;
4135 new (): HTMLScSubscriptionCancelElement;
4136 };
4137 interface HTMLScSubscriptionDetailsElement extends Components.ScSubscriptionDetails, HTMLStencilElement {
4138 }
4139 var HTMLScSubscriptionDetailsElement: {
4140 prototype: HTMLScSubscriptionDetailsElement;
4141 new (): HTMLScSubscriptionDetailsElement;
4142 };
4143 interface HTMLScSubscriptionPaymentElement extends Components.ScSubscriptionPayment, HTMLStencilElement {
4144 }
4145 var HTMLScSubscriptionPaymentElement: {
4146 prototype: HTMLScSubscriptionPaymentElement;
4147 new (): HTMLScSubscriptionPaymentElement;
4148 };
4149 interface HTMLScSubscriptionPaymentMethodElement extends Components.ScSubscriptionPaymentMethod, HTMLStencilElement {
4150 }
4151 var HTMLScSubscriptionPaymentMethodElement: {
4152 prototype: HTMLScSubscriptionPaymentMethodElement;
4153 new (): HTMLScSubscriptionPaymentMethodElement;
4154 };
4155 interface HTMLScSubscriptionRenewElement extends Components.ScSubscriptionRenew, HTMLStencilElement {
4156 }
4157 var HTMLScSubscriptionRenewElement: {
4158 prototype: HTMLScSubscriptionRenewElement;
4159 new (): HTMLScSubscriptionRenewElement;
4160 };
4161 interface HTMLScSubscriptionStatusBadgeElement extends Components.ScSubscriptionStatusBadge, HTMLStencilElement {
4162 }
4163 var HTMLScSubscriptionStatusBadgeElement: {
4164 prototype: HTMLScSubscriptionStatusBadgeElement;
4165 new (): HTMLScSubscriptionStatusBadgeElement;
4166 };
4167 interface HTMLScSubscriptionSwitchElement extends Components.ScSubscriptionSwitch, HTMLStencilElement {
4168 }
4169 var HTMLScSubscriptionSwitchElement: {
4170 prototype: HTMLScSubscriptionSwitchElement;
4171 new (): HTMLScSubscriptionSwitchElement;
4172 };
4173 interface HTMLScSubscriptionsListElement extends Components.ScSubscriptionsList, HTMLStencilElement {
4174 }
4175 var HTMLScSubscriptionsListElement: {
4176 prototype: HTMLScSubscriptionsListElement;
4177 new (): HTMLScSubscriptionsListElement;
4178 };
4179 interface HTMLScSwitchElement extends Components.ScSwitch, HTMLStencilElement {
4180 }
4181 var HTMLScSwitchElement: {
4182 prototype: HTMLScSwitchElement;
4183 new (): HTMLScSwitchElement;
4184 };
4185 interface HTMLScTabElement extends Components.ScTab, HTMLStencilElement {
4186 }
4187 var HTMLScTabElement: {
4188 prototype: HTMLScTabElement;
4189 new (): HTMLScTabElement;
4190 };
4191 interface HTMLScTabGroupElement extends Components.ScTabGroup, HTMLStencilElement {
4192 }
4193 var HTMLScTabGroupElement: {
4194 prototype: HTMLScTabGroupElement;
4195 new (): HTMLScTabGroupElement;
4196 };
4197 interface HTMLScTabPanelElement extends Components.ScTabPanel, HTMLStencilElement {
4198 }
4199 var HTMLScTabPanelElement: {
4200 prototype: HTMLScTabPanelElement;
4201 new (): HTMLScTabPanelElement;
4202 };
4203 interface HTMLScTableElement extends Components.ScTable, HTMLStencilElement {
4204 }
4205 var HTMLScTableElement: {
4206 prototype: HTMLScTableElement;
4207 new (): HTMLScTableElement;
4208 };
4209 interface HTMLScTableCellElement extends Components.ScTableCell, HTMLStencilElement {
4210 }
4211 var HTMLScTableCellElement: {
4212 prototype: HTMLScTableCellElement;
4213 new (): HTMLScTableCellElement;
4214 };
4215 interface HTMLScTableHeadElement extends Components.ScTableHead, HTMLStencilElement {
4216 }
4217 var HTMLScTableHeadElement: {
4218 prototype: HTMLScTableHeadElement;
4219 new (): HTMLScTableHeadElement;
4220 };
4221 interface HTMLScTableRowElement extends Components.ScTableRow, HTMLStencilElement {
4222 }
4223 var HTMLScTableRowElement: {
4224 prototype: HTMLScTableRowElement;
4225 new (): HTMLScTableRowElement;
4226 };
4227 interface HTMLScTagElement extends Components.ScTag, HTMLStencilElement {
4228 }
4229 var HTMLScTagElement: {
4230 prototype: HTMLScTagElement;
4231 new (): HTMLScTagElement;
4232 };
4233 interface HTMLScTaxIdInputElement extends Components.ScTaxIdInput, HTMLStencilElement {
4234 }
4235 var HTMLScTaxIdInputElement: {
4236 prototype: HTMLScTaxIdInputElement;
4237 new (): HTMLScTaxIdInputElement;
4238 };
4239 interface HTMLScTextElement extends Components.ScText, HTMLStencilElement {
4240 }
4241 var HTMLScTextElement: {
4242 prototype: HTMLScTextElement;
4243 new (): HTMLScTextElement;
4244 };
4245 interface HTMLScTextareaElement extends Components.ScTextarea, HTMLStencilElement {
4246 }
4247 var HTMLScTextareaElement: {
4248 prototype: HTMLScTextareaElement;
4249 new (): HTMLScTextareaElement;
4250 };
4251 interface HTMLScToggleElement extends Components.ScToggle, HTMLStencilElement {
4252 }
4253 var HTMLScToggleElement: {
4254 prototype: HTMLScToggleElement;
4255 new (): HTMLScToggleElement;
4256 };
4257 interface HTMLScTogglesElement extends Components.ScToggles, HTMLStencilElement {
4258 }
4259 var HTMLScTogglesElement: {
4260 prototype: HTMLScTogglesElement;
4261 new (): HTMLScTogglesElement;
4262 };
4263 interface HTMLScTooltipElement extends Components.ScTooltip, HTMLStencilElement {
4264 }
4265 var HTMLScTooltipElement: {
4266 prototype: HTMLScTooltipElement;
4267 new (): HTMLScTooltipElement;
4268 };
4269 interface HTMLScTotalElement extends Components.ScTotal, HTMLStencilElement {
4270 }
4271 var HTMLScTotalElement: {
4272 prototype: HTMLScTotalElement;
4273 new (): HTMLScTotalElement;
4274 };
4275 interface HTMLScUpcomingInvoiceElement extends Components.ScUpcomingInvoice, HTMLStencilElement {
4276 }
4277 var HTMLScUpcomingInvoiceElement: {
4278 prototype: HTMLScUpcomingInvoiceElement;
4279 new (): HTMLScUpcomingInvoiceElement;
4280 };
4281 interface HTMLScUpgradeRequiredElement extends Components.ScUpgradeRequired, HTMLStencilElement {
4282 }
4283 var HTMLScUpgradeRequiredElement: {
4284 prototype: HTMLScUpgradeRequiredElement;
4285 new (): HTMLScUpgradeRequiredElement;
4286 };
4287 interface HTMLScWordpressPasswordEditElement extends Components.ScWordpressPasswordEdit, HTMLStencilElement {
4288 }
4289 var HTMLScWordpressPasswordEditElement: {
4290 prototype: HTMLScWordpressPasswordEditElement;
4291 new (): HTMLScWordpressPasswordEditElement;
4292 };
4293 interface HTMLScWordpressUserElement extends Components.ScWordpressUser, HTMLStencilElement {
4294 }
4295 var HTMLScWordpressUserElement: {
4296 prototype: HTMLScWordpressUserElement;
4297 new (): HTMLScWordpressUserElement;
4298 };
4299 interface HTMLScWordpressUserEditElement extends Components.ScWordpressUserEdit, HTMLStencilElement {
4300 }
4301 var HTMLScWordpressUserEditElement: {
4302 prototype: HTMLScWordpressUserEditElement;
4303 new (): HTMLScWordpressUserEditElement;
4304 };
4305 interface HTMLElementTagNameMap {
4306 "sc-address": HTMLScAddressElement;
4307 "sc-alert": HTMLScAlertElement;
4308 "sc-badge-notice": HTMLScBadgeNoticeElement;
4309 "sc-block-ui": HTMLScBlockUiElement;
4310 "sc-breadcrumb": HTMLScBreadcrumbElement;
4311 "sc-breadcrumbs": HTMLScBreadcrumbsElement;
4312 "sc-button": HTMLScButtonElement;
4313 "sc-button-group": HTMLScButtonGroupElement;
4314 "sc-card": HTMLScCardElement;
4315 "sc-cart": HTMLScCartElement;
4316 "sc-cart-form": HTMLScCartFormElement;
4317 "sc-cart-form-submit": HTMLScCartFormSubmitElement;
4318 "sc-cart-header": HTMLScCartHeaderElement;
4319 "sc-cart-icon": HTMLScCartIconElement;
4320 "sc-cart-loader": HTMLScCartLoaderElement;
4321 "sc-cart-session-provider": HTMLScCartSessionProviderElement;
4322 "sc-cart-submit": HTMLScCartSubmitElement;
4323 "sc-cc-logo": HTMLScCcLogoElement;
4324 "sc-charges-list": HTMLScChargesListElement;
4325 "sc-checkbox": HTMLScCheckboxElement;
4326 "sc-checkout": HTMLScCheckoutElement;
4327 "sc-checkout-unsaved-changes-warning": HTMLScCheckoutUnsavedChangesWarningElement;
4328 "sc-choice": HTMLScChoiceElement;
4329 "sc-choices": HTMLScChoicesElement;
4330 "sc-column": HTMLScColumnElement;
4331 "sc-columns": HTMLScColumnsElement;
4332 "sc-compact-address": HTMLScCompactAddressElement;
4333 "sc-consumer": HTMLScConsumerElement;
4334 "sc-coupon-form": HTMLScCouponFormElement;
4335 "sc-custom-order-price-input": HTMLScCustomOrderPriceInputElement;
4336 "sc-customer-details": HTMLScCustomerDetailsElement;
4337 "sc-customer-edit": HTMLScCustomerEditElement;
4338 "sc-customer-email": HTMLScCustomerEmailElement;
4339 "sc-customer-firstname": HTMLScCustomerFirstnameElement;
4340 "sc-customer-lastname": HTMLScCustomerLastnameElement;
4341 "sc-customer-name": HTMLScCustomerNameElement;
4342 "sc-dashboard-customer-details": HTMLScDashboardCustomerDetailsElement;
4343 "sc-dashboard-downloads-list": HTMLScDashboardDownloadsListElement;
4344 "sc-dashboard-module": HTMLScDashboardModuleElement;
4345 "sc-dialog": HTMLScDialogElement;
4346 "sc-divider": HTMLScDividerElement;
4347 "sc-donation-choices": HTMLScDonationChoicesElement;
4348 "sc-downloads-list": HTMLScDownloadsListElement;
4349 "sc-drawer": HTMLScDrawerElement;
4350 "sc-dropdown": HTMLScDropdownElement;
4351 "sc-empty": HTMLScEmptyElement;
4352 "sc-error": HTMLScErrorElement;
4353 "sc-express-payment": HTMLScExpressPaymentElement;
4354 "sc-flex": HTMLScFlexElement;
4355 "sc-form": HTMLScFormElement;
4356 "sc-form-components-validator": HTMLScFormComponentsValidatorElement;
4357 "sc-form-control": HTMLScFormControlElement;
4358 "sc-form-error-provider": HTMLScFormErrorProviderElement;
4359 "sc-form-row": HTMLScFormRowElement;
4360 "sc-form-state-provider": HTMLScFormStateProviderElement;
4361 "sc-format-bytes": HTMLScFormatBytesElement;
4362 "sc-format-date": HTMLScFormatDateElement;
4363 "sc-format-interval": HTMLScFormatIntervalElement;
4364 "sc-format-number": HTMLScFormatNumberElement;
4365 "sc-heading": HTMLScHeadingElement;
4366 "sc-icon": HTMLScIconElement;
4367 "sc-input": HTMLScInputElement;
4368 "sc-invoices-list": HTMLScInvoicesListElement;
4369 "sc-licenses-list": HTMLScLicensesListElement;
4370 "sc-line-item": HTMLScLineItemElement;
4371 "sc-line-item-bump": HTMLScLineItemBumpElement;
4372 "sc-line-item-tax": HTMLScLineItemTaxElement;
4373 "sc-line-item-total": HTMLScLineItemTotalElement;
4374 "sc-line-items": HTMLScLineItemsElement;
4375 "sc-line-items-provider": HTMLScLineItemsProviderElement;
4376 "sc-login-form": HTMLScLoginFormElement;
4377 "sc-login-provider": HTMLScLoginProviderElement;
4378 "sc-menu": HTMLScMenuElement;
4379 "sc-menu-divider": HTMLScMenuDividerElement;
4380 "sc-menu-item": HTMLScMenuItemElement;
4381 "sc-menu-label": HTMLScMenuLabelElement;
4382 "sc-order": HTMLScOrderElement;
4383 "sc-order-bump": HTMLScOrderBumpElement;
4384 "sc-order-bumps": HTMLScOrderBumpsElement;
4385 "sc-order-confirm-components-validator": HTMLScOrderConfirmComponentsValidatorElement;
4386 "sc-order-confirm-provider": HTMLScOrderConfirmProviderElement;
4387 "sc-order-confirmation": HTMLScOrderConfirmationElement;
4388 "sc-order-confirmation-customer": HTMLScOrderConfirmationCustomerElement;
4389 "sc-order-confirmation-details": HTMLScOrderConfirmationDetailsElement;
4390 "sc-order-confirmation-line-items": HTMLScOrderConfirmationLineItemsElement;
4391 "sc-order-confirmation-totals": HTMLScOrderConfirmationTotalsElement;
4392 "sc-order-coupon-form": HTMLScOrderCouponFormElement;
4393 "sc-order-detail": HTMLScOrderDetailElement;
4394 "sc-order-manual-instructions": HTMLScOrderManualInstructionsElement;
4395 "sc-order-password": HTMLScOrderPasswordElement;
4396 "sc-order-shipping-address": HTMLScOrderShippingAddressElement;
4397 "sc-order-status-badge": HTMLScOrderStatusBadgeElement;
4398 "sc-order-submit": HTMLScOrderSubmitElement;
4399 "sc-order-summary": HTMLScOrderSummaryElement;
4400 "sc-order-tax-id-input": HTMLScOrderTaxIdInputElement;
4401 "sc-orders-list": HTMLScOrdersListElement;
4402 "sc-pagination": HTMLScPaginationElement;
4403 "sc-password-nag": HTMLScPasswordNagElement;
4404 "sc-payment": HTMLScPaymentElement;
4405 "sc-payment-method": HTMLScPaymentMethodElement;
4406 "sc-payment-method-choice": HTMLScPaymentMethodChoiceElement;
4407 "sc-payment-methods-list": HTMLScPaymentMethodsListElement;
4408 "sc-payment-selected": HTMLScPaymentSelectedElement;
4409 "sc-paypal-add-method": HTMLScPaypalAddMethodElement;
4410 "sc-paypal-buttons": HTMLScPaypalButtonsElement;
4411 "sc-price-choice": HTMLScPriceChoiceElement;
4412 "sc-price-choices": HTMLScPriceChoicesElement;
4413 "sc-price-input": HTMLScPriceInputElement;
4414 "sc-product-line-item": HTMLScProductLineItemElement;
4415 "sc-provider": HTMLScProviderElement;
4416 "sc-purchase-downloads-list": HTMLScPurchaseDownloadsListElement;
4417 "sc-quantity-select": HTMLScQuantitySelectElement;
4418 "sc-radio": HTMLScRadioElement;
4419 "sc-radio-group": HTMLScRadioGroupElement;
4420 "sc-secure-notice": HTMLScSecureNoticeElement;
4421 "sc-select": HTMLScSelectElement;
4422 "sc-session-provider": HTMLScSessionProviderElement;
4423 "sc-skeleton": HTMLScSkeletonElement;
4424 "sc-spacing": HTMLScSpacingElement;
4425 "sc-spinner": HTMLScSpinnerElement;
4426 "sc-stacked-list": HTMLScStackedListElement;
4427 "sc-stacked-list-row": HTMLScStackedListRowElement;
4428 "sc-stripe-add-method": HTMLScStripeAddMethodElement;
4429 "sc-stripe-element": HTMLScStripeElementElement;
4430 "sc-stripe-payment-element": HTMLScStripePaymentElementElement;
4431 "sc-stripe-payment-request": HTMLScStripePaymentRequestElement;
4432 "sc-subscription": HTMLScSubscriptionElement;
4433 "sc-subscription-ad-hoc-confirm": HTMLScSubscriptionAdHocConfirmElement;
4434 "sc-subscription-cancel": HTMLScSubscriptionCancelElement;
4435 "sc-subscription-details": HTMLScSubscriptionDetailsElement;
4436 "sc-subscription-payment": HTMLScSubscriptionPaymentElement;
4437 "sc-subscription-payment-method": HTMLScSubscriptionPaymentMethodElement;
4438 "sc-subscription-renew": HTMLScSubscriptionRenewElement;
4439 "sc-subscription-status-badge": HTMLScSubscriptionStatusBadgeElement;
4440 "sc-subscription-switch": HTMLScSubscriptionSwitchElement;
4441 "sc-subscriptions-list": HTMLScSubscriptionsListElement;
4442 "sc-switch": HTMLScSwitchElement;
4443 "sc-tab": HTMLScTabElement;
4444 "sc-tab-group": HTMLScTabGroupElement;
4445 "sc-tab-panel": HTMLScTabPanelElement;
4446 "sc-table": HTMLScTableElement;
4447 "sc-table-cell": HTMLScTableCellElement;
4448 "sc-table-head": HTMLScTableHeadElement;
4449 "sc-table-row": HTMLScTableRowElement;
4450 "sc-tag": HTMLScTagElement;
4451 "sc-tax-id-input": HTMLScTaxIdInputElement;
4452 "sc-text": HTMLScTextElement;
4453 "sc-textarea": HTMLScTextareaElement;
4454 "sc-toggle": HTMLScToggleElement;
4455 "sc-toggles": HTMLScTogglesElement;
4456 "sc-tooltip": HTMLScTooltipElement;
4457 "sc-total": HTMLScTotalElement;
4458 "sc-upcoming-invoice": HTMLScUpcomingInvoiceElement;
4459 "sc-upgrade-required": HTMLScUpgradeRequiredElement;
4460 "sc-wordpress-password-edit": HTMLScWordpressPasswordEditElement;
4461 "sc-wordpress-user": HTMLScWordpressUserElement;
4462 "sc-wordpress-user-edit": HTMLScWordpressUserEditElement;
4463 }
4464 }
4465 declare namespace LocalJSX {
4466 interface ScAddress {
4467 /**
4468 * The address.
4469 */
4470 "address"?: Partial<Address>;
4471 /**
4472 * Is this disabled?
4473 */
4474 "disabled"?: boolean;
4475 /**
4476 * The label for the field.
4477 */
4478 "label"?: string;
4479 /**
4480 * Is this loading?
4481 */
4482 "loading"?: boolean;
4483 "names"?: Partial<Address>;
4484 /**
4485 * Address change event.
4486 */
4487 "onScChangeAddress"?: (event: ScAddressCustomEvent<Partial<Address>>) => void;
4488 /**
4489 * Address change event.
4490 */
4491 "onScInputAddress"?: (event: ScAddressCustomEvent<Partial<Address>>) => void;
4492 "placeholders"?: Partial<Address>;
4493 /**
4494 * Is this required?
4495 */
4496 "required"?: boolean;
4497 /**
4498 * Should we show name field?
4499 */
4500 "showLine2"?: boolean;
4501 /**
4502 * Should we show name field?
4503 */
4504 "showName"?: boolean;
4505 }
4506 interface ScAlert {
4507 /**
4508 * Makes the alert closable.
4509 */
4510 "closable"?: boolean;
4511 /**
4512 * 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`.
4513 */
4514 "duration"?: number;
4515 /**
4516 * No icon
4517 */
4518 "noIcon"?: boolean;
4519 /**
4520 * When alert is hidden
4521 */
4522 "onScHide"?: (event: ScAlertCustomEvent<void>) => void;
4523 /**
4524 * When alert is shown
4525 */
4526 "onScShow"?: (event: ScAlertCustomEvent<void>) => void;
4527 /**
4528 * Indicates whether or not the alert is open. You can use this in lieu of the show/hide methods.
4529 */
4530 "open"?: boolean;
4531 /**
4532 * Scroll margin
4533 */
4534 "scrollMargin"?: string;
4535 /**
4536 * Scroll into view.
4537 */
4538 "scrollOnOpen"?: boolean;
4539 /**
4540 * The type of alert.
4541 */
4542 "type"?: 'primary' | 'success' | 'info' | 'warning' | 'danger';
4543 }
4544 interface ScBadgeNotice {
4545 "label"?: string;
4546 "size"?: 'small' | 'medium' | 'large';
4547 "type"?: 'primary' | 'success' | 'info' | 'warning' | 'danger' | 'default';
4548 }
4549 interface ScBlockUi {
4550 "spinner"?: boolean;
4551 "transparent"?: boolean;
4552 "zIndex"?: number;
4553 }
4554 interface ScBreadcrumb {
4555 /**
4556 * 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.
4557 */
4558 "href"?: string;
4559 /**
4560 * The `rel` attribute to use on the link. Only used when `href` is set.
4561 */
4562 "rel"?: string;
4563 /**
4564 * Tells the browser where to open the link. Only used when `href` is set.
4565 */
4566 "target"?: '_blank' | '_parent' | '_self' | '_top';
4567 }
4568 interface ScBreadcrumbs {
4569 /**
4570 * 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.
4571 */
4572 "label"?: string;
4573 }
4574 interface ScButton {
4575 /**
4576 * Draws the button in a busy state.
4577 */
4578 "busy"?: boolean;
4579 /**
4580 * Draws the button with a caret for use with dropdowns, popovers, etc.
4581 */
4582 "caret"?: boolean;
4583 /**
4584 * Draws a circle button.
4585 */
4586 "circle"?: boolean;
4587 /**
4588 * Disables the button.
4589 */
4590 "disabled"?: boolean;
4591 /**
4592 * Tells the browser to download the linked file as this filename. Only used when `href` is set.
4593 */
4594 "download"?: string;
4595 /**
4596 * Draws the button full-width.
4597 */
4598 "full"?: boolean;
4599 /**
4600 * When set, the underlying button will be rendered as an `<a>` with this `href` instead of a `<button>`.
4601 */
4602 "href"?: string;
4603 /**
4604 * Draws the button in a loading state.
4605 */
4606 "loading"?: boolean;
4607 /**
4608 * An optional name for the button. Ignored when `href` is set.
4609 */
4610 "name"?: string;
4611 /**
4612 * Emitted when the button loses focus.
4613 */
4614 "onScBlur"?: (event: ScButtonCustomEvent<void>) => void;
4615 /**
4616 * Emitted when the button gains focus.
4617 */
4618 "onScFocus"?: (event: ScButtonCustomEvent<void>) => void;
4619 /**
4620 * Draws an outlined button.
4621 */
4622 "outline"?: boolean;
4623 /**
4624 * Draws a pill-style button with rounded edges.
4625 */
4626 "pill"?: boolean;
4627 /**
4628 * The button's size.
4629 */
4630 "size"?: 'small' | 'medium' | 'large';
4631 /**
4632 * Indicates if activating the button should submit the form. Ignored when `href` is set.
4633 */
4634 "submit"?: boolean;
4635 /**
4636 * Tells the browser where to open the link. Only used when `href` is set.
4637 */
4638 "target"?: '_blank' | '_parent' | '_self' | '_top';
4639 /**
4640 * The button's type.
4641 */
4642 "type"?: 'default' | 'primary' | 'success' | 'info' | 'warning' | 'danger' | 'text' | 'link';
4643 /**
4644 * An optional value for the button. Ignored when `href` is set.
4645 */
4646 "value"?: string;
4647 }
4648 interface ScButtonGroup {
4649 "label"?: string;
4650 "separate"?: boolean;
4651 }
4652 interface ScCard {
4653 /**
4654 * Is this card borderless.
4655 */
4656 "borderless"?: boolean;
4657 /**
4658 * A link for the card.
4659 */
4660 "href"?: string;
4661 /**
4662 * Is this card loading.
4663 */
4664 "loading"?: boolean;
4665 /**
4666 * Eliminate the divider
4667 */
4668 "noDivider"?: boolean;
4669 /**
4670 * Remove padding
4671 */
4672 "noPadding"?: boolean;
4673 }
4674 interface ScCart {
4675 /**
4676 * Should we force show the cart, even if there's a form on the page?
4677 */
4678 "alwaysShow"?: boolean;
4679 /**
4680 * The template for the cart to inject when opened.
4681 */
4682 "cartTemplate"?: string;
4683 "checkoutLink"?: string;
4684 /**
4685 * The checkout url for the button.
4686 */
4687 "checkoutUrl"?: string;
4688 /**
4689 * The form id to use for the cart.
4690 */
4691 "formId"?: string;
4692 /**
4693 * The header for the popout.
4694 */
4695 "header"?: string;
4696 /**
4697 * Are we in test or live mode.
4698 */
4699 "mode"?: 'test' | 'live';
4700 }
4701 interface ScCartForm {
4702 /**
4703 * The form id to use for the cart.
4704 */
4705 "formId"?: string;
4706 /**
4707 * Are we in test or live mode.
4708 */
4709 "mode"?: 'test' | 'live';
4710 /**
4711 * The price id to add.
4712 */
4713 "priceId"?: string;
4714 /**
4715 * The quantity
4716 */
4717 "quantity"?: number;
4718 }
4719 interface ScCartFormSubmit {
4720 /**
4721 * Is the cart busy
4722 */
4723 "busy"?: boolean;
4724 /**
4725 * Show a full-width button.
4726 */
4727 "full"?: boolean;
4728 /**
4729 * Icon to show.
4730 */
4731 "icon"?: string;
4732 /**
4733 * The button's size.
4734 */
4735 "size"?: 'small' | 'medium' | 'large';
4736 /**
4737 * The button type.
4738 */
4739 "type"?: 'default' | 'primary' | 'success' | 'info' | 'warning' | 'danger' | 'text' | 'link';
4740 }
4741 interface ScCartHeader {
4742 "lineItems"?: Array<LineItem>;
4743 "onScCloseCart"?: (event: ScCartHeaderCustomEvent<void>) => void;
4744 }
4745 interface ScCartIcon {
4746 /**
4747 * The count to show in the cart icon.
4748 */
4749 "count"?: number;
4750 /**
4751 * The icon to show.
4752 */
4753 "icon"?: string;
4754 }
4755 interface ScCartLoader {
4756 /**
4757 * The form id to use for the cart.
4758 */
4759 "formId"?: string;
4760 /**
4761 * The mode for the form.
4762 */
4763 "mode"?: 'live' | 'test';
4764 /**
4765 * The cart template to inject when opened.
4766 */
4767 "template"?: string;
4768 }
4769 interface ScCartSessionProvider {
4770 /**
4771 * Error event
4772 */
4773 "onScError"?: (event: ScCartSessionProviderCustomEvent<{ message: string; code?: string; data?: any; additional_errors?: any } | {}>) => void;
4774 /**
4775 * Set the state
4776 */
4777 "onScSetState"?: (event: ScCartSessionProviderCustomEvent<'loading' | 'busy' | 'navigating' | 'idle'>) => void;
4778 /**
4779 * Update line items event
4780 */
4781 "onScUpdateOrderState"?: (event: ScCartSessionProviderCustomEvent<Checkout>) => void;
4782 /**
4783 * Order Object
4784 */
4785 "order"?: Checkout;
4786 }
4787 interface ScCartSubmit {
4788 /**
4789 * Is the cart busy
4790 */
4791 "busy"?: boolean;
4792 "checkoutLink"?: string;
4793 /**
4794 * Show a full-width button.
4795 */
4796 "full"?: boolean;
4797 /**
4798 * Icon to show.
4799 */
4800 "icon"?: string;
4801 /**
4802 * The button's size.
4803 */
4804 "size"?: 'small' | 'medium' | 'large';
4805 /**
4806 * The button type.
4807 */
4808 "type"?: 'default' | 'primary' | 'success' | 'info' | 'warning' | 'danger' | 'text' | 'link';
4809 }
4810 interface ScCcLogo {
4811 "brand"?: string;
4812 }
4813 interface ScChargesList {
4814 "allLink"?: string;
4815 "heading"?: string;
4816 /**
4817 * Query to fetch charges
4818 */
4819 "query"?: {
4820 page: number;
4821 per_page: number;
4822 };
4823 "showPagination"?: boolean;
4824 }
4825 interface ScCheckbox {
4826 /**
4827 * Draws the checkbox in a checked state.
4828 */
4829 "checked"?: boolean;
4830 /**
4831 * Disables the checkbox.
4832 */
4833 "disabled"?: boolean;
4834 /**
4835 * Makes this edit and not editable.
4836 */
4837 "edit"?: boolean;
4838 /**
4839 * Draws the checkbox in an indeterminate state.
4840 */
4841 "indeterminate"?: boolean;
4842 /**
4843 * This will be true when the control is in an invalid state. Validity is determined by the `required` prop.
4844 */
4845 "invalid"?: boolean;
4846 /**
4847 * The checkbox's name attribute.
4848 */
4849 "name"?: string;
4850 /**
4851 * Emitted when the control loses focus.
4852 */
4853 "onScBlur"?: (event: ScCheckboxCustomEvent<void>) => void;
4854 /**
4855 * Emitted when the control's checked state changes.
4856 */
4857 "onScChange"?: (event: ScCheckboxCustomEvent<void>) => void;
4858 /**
4859 * Emitted when the control gains focus.
4860 */
4861 "onScFocus"?: (event: ScCheckboxCustomEvent<void>) => void;
4862 /**
4863 * Makes the checkbox a required field.
4864 */
4865 "required"?: boolean;
4866 /**
4867 * The checkbox's value attribute.
4868 */
4869 "value"?: string;
4870 }
4871 interface ScCheckout {
4872 /**
4873 * The abandoned checkout return url.
4874 */
4875 "abandonedCheckoutReturnUrl"?: string;
4876 /**
4877 * Alignment
4878 */
4879 "alignment"?: 'center' | 'wide' | 'full';
4880 /**
4881 * Currency to use for this checkout.
4882 */
4883 "currencyCode"?: string;
4884 /**
4885 * Stores the current customer
4886 */
4887 "customer"?: Customer;
4888 /**
4889 * Should we disable components validation
4890 */
4891 "disableComponentsValidation"?: boolean;
4892 /**
4893 * Can we edit line items?
4894 */
4895 "editLineItems"?: boolean;
4896 /**
4897 * The checkout form id
4898 */
4899 "formId"?: number;
4900 "loadingText"?: {
4901 finalizing: string;
4902 paying: string;
4903 confirming: string;
4904 confirmed: string;
4905 };
4906 /**
4907 * Is this user logged in?
4908 */
4909 "loggedIn"?: boolean;
4910 /**
4911 * Manual payment methods enabled for this form.
4912 */
4913 "manualPaymentMethods"?: ManualPaymentMethod[];
4914 /**
4915 * Are we in test or live mode.
4916 */
4917 "mode"?: 'test' | 'live';
4918 /**
4919 * When the form was modified.
4920 */
4921 "modified"?: string;
4922 /**
4923 * Checkout has an error.
4924 */
4925 "onScOrderError"?: (event: ScCheckoutCustomEvent<ResponseError>) => void;
4926 /**
4927 * Checkout has been finalized.
4928 */
4929 "onScOrderFinalized"?: (event: ScCheckoutCustomEvent<Checkout>) => void;
4930 /**
4931 * Checkout has been updated.
4932 */
4933 "onScOrderUpdated"?: (event: ScCheckoutCustomEvent<Checkout>) => void;
4934 /**
4935 * Whether to persist the session in the browser between visits.
4936 */
4937 "persistSession"?: boolean;
4938 /**
4939 * An array of prices to pre-fill in the form.
4940 */
4941 "prices"?: Array<PriceChoice>;
4942 /**
4943 * Processors enabled for this form.
4944 */
4945 "processors"?: Processor[];
4946 /**
4947 * Can we remove line items?
4948 */
4949 "removeLineItems"?: boolean;
4950 /**
4951 * Use the Stripe payment element.
4952 */
4953 "stripePaymentElement"?: boolean;
4954 /**
4955 * Where to go on success
4956 */
4957 "successUrl"?: string;
4958 /**
4959 * The account tax protocol
4960 */
4961 "taxProtocol"?: TaxProtocol;
4962 }
4963 interface ScCheckoutUnsavedChangesWarning {
4964 "state"?: FormState;
4965 }
4966 interface ScChoice {
4967 /**
4968 * Draws the choice in a checked state.
4969 */
4970 "checked"?: boolean;
4971 /**
4972 * Is the choice disabled
4973 */
4974 "disabled"?: boolean;
4975 /**
4976 * This will be true when the control is in an invalid state. Validity is determined by the `required` prop.
4977 */
4978 "invalid"?: boolean;
4979 /**
4980 * The choice name attribute
4981 */
4982 "name"?: string;
4983 /**
4984 * Emitted when the control loses focus.
4985 */
4986 "onScBlur"?: (event: ScChoiceCustomEvent<void>) => void;
4987 /**
4988 * Emitted when the control's checked state changes.
4989 */
4990 "onScChange"?: (event: ScChoiceCustomEvent<boolean>) => void;
4991 /**
4992 * Emitted when the control gains focus.
4993 */
4994 "onScFocus"?: (event: ScChoiceCustomEvent<void>) => void;
4995 /**
4996 * Is this required
4997 */
4998 "required"?: boolean;
4999 /**
5000 * Show the radio/checkbox control
5001 */
5002 "showControl"?: boolean;
5003 /**
5004 * Show the label
5005 */
5006 "showLabel"?: boolean;
5007 /**
5008 * Show the price
5009 */
5010 "showPrice"?: boolean;
5011 /**
5012 * The size.
5013 */
5014 "size"?: 'small' | 'medium' | 'large';
5015 /**
5016 * The choice name attribute
5017 */
5018 "type"?: 'radio' | 'checkbox';
5019 /**
5020 * The choice value
5021 */
5022 "value"?: string;
5023 }
5024 interface ScChoices {
5025 "autoWidth"?: boolean;
5026 /**
5027 * Number of columns on desktop
5028 */
5029 "columns"?: number;
5030 /**
5031 * Validation error message.
5032 */
5033 "errorMessage"?: string;
5034 /**
5035 * The input's help text.
5036 */
5037 "help"?: string;
5038 /**
5039 * Hides the fieldset and legend that surrounds the group. The label will still be read by screen readers.
5040 */
5041 "hideLabel"?: boolean;
5042 /**
5043 * The group label. Required for proper accessibility. Alternatively, you can use the label slot.
5044 */
5045 "label"?: string;
5046 /**
5047 * Required
5048 */
5049 "required"?: boolean;
5050 /**
5051 * Should we show the label
5052 */
5053 "showLabel"?: boolean;
5054 /**
5055 * Input size
5056 */
5057 "size"?: 'small' | 'medium' | 'large';
5058 }
5059 interface ScColumn {
5060 }
5061 interface ScColumns {
5062 /**
5063 * Is this stacked on mobile
5064 */
5065 "isStackedOnMobile"?: boolean;
5066 /**
5067 * The vertical alignment of the columns.
5068 */
5069 "verticalAlignment"?: string;
5070 }
5071 interface ScCompactAddress {
5072 /**
5073 * The address.
5074 */
5075 "address"?: Partial<Address>;
5076 /**
5077 * Label for the address
5078 */
5079 "label"?: string;
5080 /**
5081 * Is this loading
5082 */
5083 "loading"?: boolean;
5084 "names"?: Partial<Address>;
5085 /**
5086 * Address change event.
5087 */
5088 "onScChangeAddress"?: (event: ScCompactAddressCustomEvent<Partial<Address>>) => void;
5089 /**
5090 * Address input event.
5091 */
5092 "onScInputAddress"?: (event: ScCompactAddressCustomEvent<Partial<Address>>) => void;
5093 /**
5094 * Is this required?
5095 */
5096 "required"?: boolean;
5097 }
5098 interface ScConsumer {
5099 "onMountConsumer"?: (event: ScConsumerCustomEvent<any>) => void;
5100 "renderer"?: any;
5101 }
5102 interface ScCouponForm {
5103 /**
5104 * Is the form calculating
5105 */
5106 "busy"?: boolean;
5107 /**
5108 * Currency
5109 */
5110 "currency"?: string;
5111 /**
5112 * The discount
5113 */
5114 "discount"?: DiscountResponse;
5115 /**
5116 * The discount amount
5117 */
5118 "discountAmount"?: number;
5119 /**
5120 * The error message
5121 */
5122 "error"?: string;
5123 /**
5124 * Force the form to show
5125 */
5126 "forceOpen"?: boolean;
5127 /**
5128 * The label for the coupon form
5129 */
5130 "label"?: string;
5131 /**
5132 * Is the form loading
5133 */
5134 "loading"?: boolean;
5135 /**
5136 * When the coupon is applied
5137 */
5138 "onScApplyCoupon"?: (event: ScCouponFormCustomEvent<string>) => void;
5139 /**
5140 * Is it open
5141 */
5142 "open"?: boolean;
5143 }
5144 interface ScCustomOrderPriceInput {
5145 /**
5146 * Is this busy
5147 */
5148 "busy"?: boolean;
5149 /**
5150 * Help text.
5151 */
5152 "help"?: string;
5153 /**
5154 * Label for the field.
5155 */
5156 "label"?: string;
5157 /**
5158 * Label for the choice.
5159 */
5160 "lineItems"?: LineItem[];
5161 /**
5162 * Is this loading
5163 */
5164 "loading"?: boolean;
5165 /**
5166 * Toggle line item event
5167 */
5168 "onScUpdateLineItem"?: (event: ScCustomOrderPriceInputCustomEvent<LineItemData>) => void;
5169 /**
5170 * Input placeholder.
5171 */
5172 "placeholder"?: string;
5173 /**
5174 * Stores the price
5175 */
5176 "price"?: Price;
5177 /**
5178 * Id of the price.
5179 */
5180 "priceId"?: string;
5181 /**
5182 * Is this required?
5183 */
5184 "required"?: boolean;
5185 /**
5186 * Show the currency code?
5187 */
5188 "showCode"?: boolean;
5189 }
5190 interface ScCustomerDetails {
5191 "customer"?: Customer;
5192 "editLink"?: string;
5193 "error"?: string;
5194 "heading"?: string;
5195 "loading"?: boolean;
5196 }
5197 interface ScCustomerEdit {
5198 "customer"?: Customer;
5199 "heading"?: string;
5200 "successUrl"?: string;
5201 }
5202 interface ScCustomerEmail {
5203 /**
5204 * Is abandoned checkout enabled?
5205 */
5206 "abandonedCheckoutEnabled"?: boolean;
5207 /**
5208 * The input's autofocus attribute.
5209 */
5210 "autofocus"?: boolean;
5211 /**
5212 * Force a customer.
5213 */
5214 "customer"?: Customer;
5215 /**
5216 * Disables the input.
5217 */
5218 "disabled"?: boolean;
5219 /**
5220 * Inputs focus
5221 */
5222 "hasFocus"?: boolean;
5223 /**
5224 * The input's help text.
5225 */
5226 "help"?: string;
5227 /**
5228 * 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.
5229 */
5230 "invalid"?: boolean;
5231 /**
5232 * The input's label.
5233 */
5234 "label"?: string;
5235 /**
5236 * Is the user logged in.
5237 */
5238 "loggedIn"?: boolean;
5239 /**
5240 * Emitted when the control loses focus.
5241 */
5242 "onScBlur"?: (event: ScCustomerEmailCustomEvent<void>) => void;
5243 /**
5244 * Emitted when the control's value changes.
5245 */
5246 "onScChange"?: (event: ScCustomerEmailCustomEvent<void>) => void;
5247 /**
5248 * Emitted when the clear button is activated.
5249 */
5250 "onScClear"?: (event: ScCustomerEmailCustomEvent<void>) => void;
5251 /**
5252 * Emitted when the control gains focus.
5253 */
5254 "onScFocus"?: (event: ScCustomerEmailCustomEvent<void>) => void;
5255 /**
5256 * Emitted when the control receives input.
5257 */
5258 "onScInput"?: (event: ScCustomerEmailCustomEvent<void>) => void;
5259 /**
5260 * Prompt for login.
5261 */
5262 "onScLoginPrompt"?: (event: ScCustomerEmailCustomEvent<void>) => void;
5263 /**
5264 * Update the abandoned cart.
5265 */
5266 "onScUpdateAbandonedCart"?: (event: ScCustomerEmailCustomEvent<boolean>) => void;
5267 /**
5268 * Update the order state.
5269 */
5270 "onScUpdateOrderState"?: (event: ScCustomerEmailCustomEvent<Checkout>) => void;
5271 /**
5272 * (passed from the sc-checkout component automatically)
5273 */
5274 "order"?: Checkout;
5275 /**
5276 * Draws a pill-style input with rounded edges.
5277 */
5278 "pill"?: boolean;
5279 /**
5280 * The input's placeholder text.
5281 */
5282 "placeholder"?: string;
5283 /**
5284 * Makes the input readonly.
5285 */
5286 "readonly"?: boolean;
5287 /**
5288 * Makes the input a required field.
5289 */
5290 "required"?: boolean;
5291 /**
5292 * Should we show the label
5293 */
5294 "showLabel"?: boolean;
5295 /**
5296 * The input's size.
5297 */
5298 "size"?: 'small' | 'medium' | 'large';
5299 /**
5300 * A message for tracking confirmation.
5301 */
5302 "trackingConfirmationMessage"?: string;
5303 /**
5304 * The input's value attribute.
5305 */
5306 "value"?: string;
5307 }
5308 interface ScCustomerFirstname {
5309 /**
5310 * The input's autofocus attribute.
5311 */
5312 "autofocus"?: boolean;
5313 /**
5314 * Force a customer.
5315 */
5316 "customer"?: Customer;
5317 /**
5318 * Disables the input.
5319 */
5320 "disabled"?: boolean;
5321 /**
5322 * Inputs focus
5323 */
5324 "hasFocus"?: boolean;
5325 /**
5326 * The input's help text.
5327 */
5328 "help"?: string;
5329 /**
5330 * 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.
5331 */
5332 "invalid"?: boolean;
5333 /**
5334 * The input's label.
5335 */
5336 "label"?: string;
5337 /**
5338 * Is the user logged in.
5339 */
5340 "loggedIn"?: boolean;
5341 /**
5342 * Emitted when the control loses focus.
5343 */
5344 "onScBlur"?: (event: ScCustomerFirstnameCustomEvent<void>) => void;
5345 /**
5346 * Emitted when the control's value changes.
5347 */
5348 "onScChange"?: (event: ScCustomerFirstnameCustomEvent<void>) => void;
5349 /**
5350 * Emitted when the clear button is activated.
5351 */
5352 "onScClear"?: (event: ScCustomerFirstnameCustomEvent<void>) => void;
5353 /**
5354 * Emitted when the control gains focus.
5355 */
5356 "onScFocus"?: (event: ScCustomerFirstnameCustomEvent<void>) => void;
5357 /**
5358 * Emitted when the control receives input.
5359 */
5360 "onScInput"?: (event: ScCustomerFirstnameCustomEvent<void>) => void;
5361 "onScUpdateCustomer"?: (event: ScCustomerFirstnameCustomEvent<{ email: string }>) => void;
5362 "onScUpdateOrderState"?: (event: ScCustomerFirstnameCustomEvent<Partial<Checkout>>) => void;
5363 /**
5364 * (passed from the sc-checkout component automatically)
5365 */
5366 "order"?: Checkout;
5367 /**
5368 * Draws a pill-style input with rounded edges.
5369 */
5370 "pill"?: boolean;
5371 /**
5372 * The input's placeholder text.
5373 */
5374 "placeholder"?: string;
5375 /**
5376 * Makes the input readonly.
5377 */
5378 "readonly"?: boolean;
5379 /**
5380 * Makes the input a required field.
5381 */
5382 "required"?: boolean;
5383 /**
5384 * Should we show the label
5385 */
5386 "showLabel"?: boolean;
5387 /**
5388 * The input's size.
5389 */
5390 "size"?: 'small' | 'medium' | 'large';
5391 /**
5392 * The input's value attribute.
5393 */
5394 "value"?: string;
5395 }
5396 interface ScCustomerLastname {
5397 /**
5398 * The input's autofocus attribute.
5399 */
5400 "autofocus"?: boolean;
5401 /**
5402 * Force a customer.
5403 */
5404 "customer"?: Customer;
5405 /**
5406 * Disables the input.
5407 */
5408 "disabled"?: boolean;
5409 /**
5410 * Inputs focus
5411 */
5412 "hasFocus"?: boolean;
5413 /**
5414 * The input's help text.
5415 */
5416 "help"?: string;
5417 /**
5418 * 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.
5419 */
5420 "invalid"?: boolean;
5421 /**
5422 * The input's label.
5423 */
5424 "label"?: string;
5425 /**
5426 * Is the user logged in.
5427 */
5428 "loggedIn"?: boolean;
5429 /**
5430 * Emitted when the control loses focus.
5431 */
5432 "onScBlur"?: (event: ScCustomerLastnameCustomEvent<void>) => void;
5433 /**
5434 * Emitted when the control's value changes.
5435 */
5436 "onScChange"?: (event: ScCustomerLastnameCustomEvent<void>) => void;
5437 /**
5438 * Emitted when the clear button is activated.
5439 */
5440 "onScClear"?: (event: ScCustomerLastnameCustomEvent<void>) => void;
5441 /**
5442 * Emitted when the control gains focus.
5443 */
5444 "onScFocus"?: (event: ScCustomerLastnameCustomEvent<void>) => void;
5445 /**
5446 * Emitted when the control receives input.
5447 */
5448 "onScInput"?: (event: ScCustomerLastnameCustomEvent<void>) => void;
5449 "onScUpdateCustomer"?: (event: ScCustomerLastnameCustomEvent<{ email: string }>) => void;
5450 "onScUpdateOrderState"?: (event: ScCustomerLastnameCustomEvent<Partial<Checkout>>) => void;
5451 /**
5452 * (passed from the sc-checkout component automatically)
5453 */
5454 "order"?: Checkout;
5455 /**
5456 * Draws a pill-style input with rounded edges.
5457 */
5458 "pill"?: boolean;
5459 /**
5460 * The input's placeholder text.
5461 */
5462 "placeholder"?: string;
5463 /**
5464 * Makes the input readonly.
5465 */
5466 "readonly"?: boolean;
5467 /**
5468 * Makes the input a required field.
5469 */
5470 "required"?: boolean;
5471 /**
5472 * Should we show the label
5473 */
5474 "showLabel"?: boolean;
5475 /**
5476 * The input's size.
5477 */
5478 "size"?: 'small' | 'medium' | 'large';
5479 /**
5480 * The input's value attribute.
5481 */
5482 "value"?: string;
5483 }
5484 interface ScCustomerName {
5485 /**
5486 * The input's autofocus attribute.
5487 */
5488 "autofocus"?: boolean;
5489 /**
5490 * Force a customer.
5491 */
5492 "customer"?: Customer;
5493 /**
5494 * Disables the input.
5495 */
5496 "disabled"?: boolean;
5497 /**
5498 * Inputs focus
5499 */
5500 "hasFocus"?: boolean;
5501 /**
5502 * The input's help text.
5503 */
5504 "help"?: string;
5505 /**
5506 * 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.
5507 */
5508 "invalid"?: boolean;
5509 /**
5510 * The input's label.
5511 */
5512 "label"?: string;
5513 /**
5514 * Is the user logged in.
5515 */
5516 "loggedIn"?: boolean;
5517 /**
5518 * Emitted when the control loses focus.
5519 */
5520 "onScBlur"?: (event: ScCustomerNameCustomEvent<void>) => void;
5521 /**
5522 * Emitted when the control's value changes.
5523 */
5524 "onScChange"?: (event: ScCustomerNameCustomEvent<void>) => void;
5525 /**
5526 * Emitted when the clear button is activated.
5527 */
5528 "onScClear"?: (event: ScCustomerNameCustomEvent<void>) => void;
5529 /**
5530 * Emitted when the control gains focus.
5531 */
5532 "onScFocus"?: (event: ScCustomerNameCustomEvent<void>) => void;
5533 /**
5534 * Emitted when the control receives input.
5535 */
5536 "onScInput"?: (event: ScCustomerNameCustomEvent<void>) => void;
5537 "onScUpdateCustomer"?: (event: ScCustomerNameCustomEvent<{ email: string }>) => void;
5538 "onScUpdateOrderState"?: (event: ScCustomerNameCustomEvent<Partial<Checkout>>) => void;
5539 /**
5540 * (passed from the sc-checkout component automatically)
5541 */
5542 "order"?: Checkout;
5543 /**
5544 * Draws a pill-style input with rounded edges.
5545 */
5546 "pill"?: boolean;
5547 /**
5548 * The input's placeholder text.
5549 */
5550 "placeholder"?: string;
5551 /**
5552 * Makes the input readonly.
5553 */
5554 "readonly"?: boolean;
5555 /**
5556 * Makes the input a required field.
5557 */
5558 "required"?: boolean;
5559 /**
5560 * Should we show the label
5561 */
5562 "showLabel"?: boolean;
5563 /**
5564 * The input's size.
5565 */
5566 "size"?: 'small' | 'medium' | 'large';
5567 /**
5568 * The input's value attribute.
5569 */
5570 "value"?: string;
5571 }
5572 interface ScDashboardCustomerDetails {
5573 "customerId"?: string;
5574 "heading"?: string;
5575 }
5576 interface ScDashboardDownloadsList {
5577 "allLink"?: string;
5578 "heading"?: string;
5579 "isCustomer"?: boolean;
5580 /**
5581 * Customer id to fetch subscriptions
5582 */
5583 "query"?: any;
5584 "requestNonce"?: string;
5585 }
5586 interface ScDashboardModule {
5587 "error"?: string;
5588 "heading"?: string;
5589 "loading"?: boolean;
5590 }
5591 interface ScDialog {
5592 /**
5593 * 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.
5594 */
5595 "label"?: string;
5596 /**
5597 * 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.
5598 */
5599 "noHeader"?: boolean;
5600 "onScAfterHide"?: (event: ScDialogCustomEvent<void>) => void;
5601 "onScAfterShow"?: (event: ScDialogCustomEvent<void>) => void;
5602 "onScHide"?: (event: ScDialogCustomEvent<void>) => void;
5603 "onScInitialFocus"?: (event: ScDialogCustomEvent<void>) => void;
5604 /**
5605 * Request close event
5606 */
5607 "onScRequestClose"?: (event: ScDialogCustomEvent<'close-button' | 'keyboard' | 'overlay'>) => void;
5608 "onScShow"?: (event: ScDialogCustomEvent<void>) => void;
5609 /**
5610 * Indicates whether or not the dialog is open. You can use this in lieu of the show/hide methods.
5611 */
5612 "open"?: boolean;
5613 }
5614 interface ScDivider {
5615 }
5616 interface ScDonationChoices {
5617 "busy"?: boolean;
5618 /**
5619 * Currency code for the donation.
5620 */
5621 "currencyCode"?: string;
5622 /**
5623 * The default amount to load the page with.
5624 */
5625 "defaultAmount"?: string;
5626 /**
5627 * The label for the field.
5628 */
5629 "label"?: string;
5630 /**
5631 * Order line items.
5632 */
5633 "lineItems"?: LineItem[];
5634 /**
5635 * Is this loading
5636 */
5637 "loading"?: boolean;
5638 /**
5639 * Toggle line item event
5640 */
5641 "onScAddLineItem"?: (event: ScDonationChoicesCustomEvent<LineItemData>) => void;
5642 /**
5643 * Toggle line item event
5644 */
5645 "onScRemoveLineItem"?: (event: ScDonationChoicesCustomEvent<LineItemData>) => void;
5646 /**
5647 * Toggle line item event
5648 */
5649 "onScUpdateLineItem"?: (event: ScDonationChoicesCustomEvent<LineItemData>) => void;
5650 /**
5651 * The price id for the fields.
5652 */
5653 "priceId"?: string;
5654 "removeInvalid"?: boolean;
5655 }
5656 interface ScDownloadsList {
5657 "customerId"?: string;
5658 "downloads"?: Download[];
5659 "heading"?: string;
5660 }
5661 interface ScDrawer {
5662 /**
5663 * 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.
5664 */
5665 "contained"?: boolean;
5666 /**
5667 * 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.
5668 */
5669 "label"?: string;
5670 /**
5671 * 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.
5672 */
5673 "noHeader"?: boolean;
5674 "onScAfterHide"?: (event: ScDrawerCustomEvent<void>) => void;
5675 "onScAfterShow"?: (event: ScDrawerCustomEvent<void>) => void;
5676 "onScHide"?: (event: ScDrawerCustomEvent<void>) => void;
5677 "onScInitialFocus"?: (event: ScDrawerCustomEvent<void>) => void;
5678 "onScRequestClose"?: (event: ScDrawerCustomEvent<'close-button' | 'keyboard' | 'overlay'>) => void;
5679 "onScShow"?: (event: ScDrawerCustomEvent<void>) => void;
5680 /**
5681 * Indicates whether or not the drawer is open. You can use this in lieu of the show/hide methods.
5682 */
5683 "open"?: boolean;
5684 /**
5685 * The direction from which the drawer will open.
5686 */
5687 "placement"?: 'top' | 'end' | 'bottom' | 'start';
5688 }
5689 interface ScDropdown {
5690 "clickEl"?: HTMLElement;
5691 /**
5692 * Determines whether the dropdown should hide when a menu item is selected
5693 */
5694 "closeOnSelect"?: boolean;
5695 /**
5696 * Is this disabled.
5697 */
5698 "disabled"?: boolean;
5699 /**
5700 * The distance in pixels from which to offset the panel away from its trigger.
5701 */
5702 "distance"?: number;
5703 /**
5704 * Enable this option to prevent the panel from being clipped when the component is placed inside a container with `overflow: auto|scroll`.
5705 */
5706 "hoist"?: boolean;
5707 /**
5708 * Emitted when the dropdown closes. Calling `event.preventDefault()` will prevent it from being closed.
5709 */
5710 "onScHide"?: (event: ScDropdownCustomEvent<void>) => void;
5711 /**
5712 * Emitted when the dropdown opens. Calling `event.preventDefault()` will prevent it from being opened.
5713 */
5714 "onScShow"?: (event: ScDropdownCustomEvent<void>) => void;
5715 /**
5716 * Indicates whether or not the dropdown is open. You can use this in lieu of the show/hide methods.
5717 */
5718 "open"?: boolean;
5719 /**
5720 * The placement of the dropdown.
5721 */
5722 "placement"?: | 'top'
5723 | 'top-start'
5724 | 'top-end'
5725 | 'bottom'
5726 | 'bottom-start'
5727 | 'bottom-end'
5728 | 'right'
5729 | 'right-start'
5730 | 'right-end'
5731 | 'left'
5732 | 'left-start'
5733 | 'left-end';
5734 /**
5735 * The placement of the dropdown panel
5736 */
5737 "position"?: 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right';
5738 /**
5739 * The distance in pixels from which to offset the panel along its trigger.
5740 */
5741 "skidding"?: number;
5742 }
5743 interface ScEmpty {
5744 "icon"?: string;
5745 }
5746 interface ScError {
5747 /**
5748 * Error to display.
5749 */
5750 "error"?: ResponseError | null;
5751 /**
5752 * Set the state.
5753 */
5754 "onScUpdateError"?: (event: ScErrorCustomEvent<ResponseError>) => void;
5755 }
5756 interface ScExpressPayment {
5757 "busy"?: boolean;
5758 "debug"?: boolean;
5759 "dividerText"?: string;
5760 "formId"?: number | string;
5761 "hasPaymentOptions"?: boolean;
5762 "order"?: Checkout;
5763 "processor"?: ProcessorName;
5764 }
5765 interface ScFlex {
5766 "alignItems"?: string;
5767 "columnGap"?: string;
5768 "flexDirection"?: string;
5769 "flexWrap"?: string;
5770 "justifyContent"?: string;
5771 "stack"?: string;
5772 }
5773 interface ScForm {
5774 /**
5775 * Prevent the form from validating inputs before submitting.
5776 */
5777 "novalidate"?: boolean;
5778 /**
5779 * 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.
5780 */
5781 "onScFormChange"?: (event: ScFormCustomEvent<Object>) => void;
5782 /**
5783 * Backwards compat.
5784 */
5785 "onScFormSubmit"?: (event: ScFormCustomEvent<void>) => void;
5786 /**
5787 * 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.
5788 */
5789 "onScSubmit"?: (event: ScFormCustomEvent<void>) => void;
5790 }
5791 interface ScFormComponentsValidator {
5792 /**
5793 * Disable validation?
5794 */
5795 "disabled"?: boolean;
5796 /**
5797 * The order
5798 */
5799 "order"?: Checkout;
5800 /**
5801 * The tax protocol
5802 */
5803 "taxProtocol"?: TaxProtocol;
5804 }
5805 interface ScFormControl {
5806 /**
5807 * Store the error message
5808 */
5809 "errorMessage"?: string;
5810 /**
5811 * Display server-side validation errors.
5812 */
5813 "errors"?: any;
5814 /**
5815 * Help text
5816 */
5817 "help"?: string;
5818 /**
5819 * Help id
5820 */
5821 "helpId"?: string;
5822 /**
5823 * Input id.
5824 */
5825 "inputId"?: string;
5826 /**
5827 * Input label.
5828 */
5829 "label"?: string;
5830 /**
5831 * Input label id.
5832 */
5833 "labelId"?: string;
5834 /**
5835 * Name for the input. Used for validation errors.
5836 */
5837 "name"?: string;
5838 /**
5839 * Whether the input is required.
5840 */
5841 "required"?: boolean;
5842 /**
5843 * Show the label.
5844 */
5845 "showLabel"?: boolean;
5846 /**
5847 * Size of the label
5848 */
5849 "size"?: 'small' | 'medium' | 'large';
5850 }
5851 interface ScFormErrorProvider {
5852 /**
5853 * The current order.
5854 */
5855 "checkoutState"?: FormState;
5856 /**
5857 * Form state event.
5858 */
5859 "onScSetState"?: (event: ScFormErrorProviderCustomEvent<FormStateSetter>) => void;
5860 /**
5861 * Set the state.
5862 */
5863 "onScUpdateError"?: (event: ScFormErrorProviderCustomEvent<ResponseError>) => void;
5864 }
5865 interface ScFormRow {
5866 }
5867 interface ScFormStateProvider {
5868 /**
5869 * Set the state.
5870 */
5871 "onScSetCheckoutFormState"?: (event: ScFormStateProviderCustomEvent<FormState>) => void;
5872 }
5873 interface ScFormatBytes {
5874 /**
5875 * Determines how to display the result, e.g. "100 bytes", "100 b", or "100b".
5876 */
5877 "display"?: 'long' | 'short' | 'narrow';
5878 /**
5879 * The locale to use when formatting the number.
5880 */
5881 "locale"?: string;
5882 /**
5883 * The unit to display.
5884 */
5885 "unit"?: 'byte' | 'bit';
5886 /**
5887 * The number to format in bytes.
5888 */
5889 "value"?: number;
5890 }
5891 interface ScFormatDate {
5892 /**
5893 * The date/time to format. If not set, the current date and time will be used.
5894 */
5895 "date"?: Date | string | number;
5896 /**
5897 * The format for displaying the day.
5898 */
5899 "day"?: 'numeric' | '2-digit';
5900 /**
5901 * The format for displaying the era.
5902 */
5903 "era"?: 'narrow' | 'short' | 'long';
5904 /**
5905 * The format for displaying the hour.
5906 */
5907 "hour"?: 'numeric' | '2-digit';
5908 /**
5909 * When set, 24 hour time will always be used.
5910 */
5911 "hourFormat"?: 'auto' | '12' | '24';
5912 /**
5913 * The locale to use when formatting the date/time.
5914 */
5915 "locale"?: string;
5916 /**
5917 * The format for displaying the minute.
5918 */
5919 "minute"?: 'numeric' | '2-digit';
5920 /**
5921 * The format for displaying the month.
5922 */
5923 "month"?: 'numeric' | '2-digit' | 'narrow' | 'short' | 'long';
5924 /**
5925 * The format for displaying the second.
5926 */
5927 "second"?: 'numeric' | '2-digit';
5928 /**
5929 * The time zone to express the time in.
5930 */
5931 "timeZone"?: string;
5932 /**
5933 * The format for displaying the time.
5934 */
5935 "timeZoneName"?: 'short' | 'long';
5936 "type"?: 'timestamp' | 'date';
5937 /**
5938 * The format for displaying the weekday.
5939 */
5940 "weekday"?: 'narrow' | 'short' | 'long';
5941 /**
5942 * The format for displaying the year.
5943 */
5944 "year"?: 'numeric' | '2-digit';
5945 }
5946 interface ScFormatInterval {
5947 "every"?: string;
5948 "fallback"?: string;
5949 "interval"?: string;
5950 /**
5951 * The number to format.
5952 */
5953 "value"?: number;
5954 }
5955 interface ScFormatNumber {
5956 /**
5957 * The currency to use when formatting. Must be an ISO 4217 currency code such as `USD` or `EUR`.
5958 */
5959 "currency"?: string;
5960 /**
5961 * How to display the currency.
5962 */
5963 "currencyDisplay"?: 'symbol' | 'narrowSymbol' | 'code' | 'name';
5964 /**
5965 * The locale to use when formatting the number.
5966 */
5967 "locale"?: string;
5968 /**
5969 * The maximum number of fraction digits to use. Possible values are 0 - 20.
5970 */
5971 "maximumFractionDigits"?: number;
5972 /**
5973 * The maximum number of significant digits to use,. Possible values are 1 - 21.
5974 */
5975 "maximumSignificantDigits"?: number;
5976 /**
5977 * The minimum number of fraction digits to use. Possible values are 0 - 20.
5978 */
5979 "minimumFractionDigits"?: number;
5980 /**
5981 * The minimum number of integer digits to use. Possible values are 1 - 21.
5982 */
5983 "minimumIntegerDigits"?: number;
5984 /**
5985 * The minimum number of significant digits to use. Possible values are 1 - 21.
5986 */
5987 "minimumSignificantDigits"?: number;
5988 "noConvert"?: boolean;
5989 /**
5990 * Turns off grouping separators.
5991 */
5992 "noGrouping"?: boolean;
5993 /**
5994 * The formatting style to use.
5995 */
5996 "type"?: 'currency' | 'decimal' | 'percent';
5997 /**
5998 * The number to format.
5999 */
6000 "value"?: number;
6001 }
6002 interface ScHeading {
6003 "size"?: 'small' | 'medium' | 'large';
6004 }
6005 interface ScIcon {
6006 /**
6007 * An alternative description to use for accessibility. If omitted, the name or src will be used to generate it.
6008 */
6009 "label"?: string;
6010 /**
6011 * The name of a registered custom icon library.
6012 */
6013 "library"?: string;
6014 /**
6015 * The name of the icon to draw.
6016 */
6017 "name"?: string;
6018 /**
6019 * Emitted when the icon failed to load.
6020 */
6021 "onScError"?: (event: ScIconCustomEvent<{ status: number }>) => void;
6022 /**
6023 * Emitted when the icon has loaded.
6024 */
6025 "onScLoad"?: (event: ScIconCustomEvent<void>) => void;
6026 /**
6027 * An external URL of an SVG file.
6028 */
6029 "src"?: string;
6030 }
6031 interface ScInput {
6032 /**
6033 * The input's autocomplete attribute.
6034 */
6035 "autocomplete"?: string;
6036 /**
6037 * The input's autocorrect attribute.
6038 */
6039 "autocorrect"?: string;
6040 /**
6041 * The input's autofocus attribute.
6042 */
6043 "autofocus"?: boolean;
6044 /**
6045 * Adds a clear button when the input is populated.
6046 */
6047 "clearable"?: boolean;
6048 /**
6049 * Disables the input.
6050 */
6051 "disabled"?: boolean;
6052 /**
6053 * Inputs focus
6054 */
6055 "hasFocus"?: boolean;
6056 /**
6057 * The input's help text.
6058 */
6059 "help"?: string;
6060 /**
6061 * Hidden
6062 */
6063 "hidden"?: boolean;
6064 /**
6065 * The input's inputmode attribute.
6066 */
6067 "inputmode"?: 'none' | 'text' | 'decimal' | 'numeric' | 'tel' | 'search' | 'email' | 'url';
6068 /**
6069 * 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.
6070 */
6071 "invalid"?: boolean;
6072 /**
6073 * The input's label.
6074 */
6075 "label"?: string;
6076 /**
6077 * The input's maximum value.
6078 */
6079 "max"?: number | string;
6080 /**
6081 * The maximum length of input that will be considered valid.
6082 */
6083 "maxlength"?: number;
6084 /**
6085 * The input's minimum value.
6086 */
6087 "min"?: number | string;
6088 /**
6089 * The minimum length of input that will be considered valid.
6090 */
6091 "minlength"?: number;
6092 /**
6093 * The input's name attribute.
6094 */
6095 "name"?: string;
6096 /**
6097 * Emitted when the control loses focus.
6098 */
6099 "onScBlur"?: (event: ScInputCustomEvent<void>) => void;
6100 /**
6101 * Emitted when the control's value changes.
6102 */
6103 "onScChange"?: (event: ScInputCustomEvent<void>) => void;
6104 /**
6105 * Emitted when the clear button is activated.
6106 */
6107 "onScClear"?: (event: ScInputCustomEvent<void>) => void;
6108 /**
6109 * Emitted when the control gains focus.
6110 */
6111 "onScFocus"?: (event: ScInputCustomEvent<void>) => void;
6112 /**
6113 * Emitted when the control receives input.
6114 */
6115 "onScInput"?: (event: ScInputCustomEvent<void>) => void;
6116 /**
6117 * A pattern to validate input against.
6118 */
6119 "pattern"?: string;
6120 /**
6121 * Draws a pill-style input with rounded edges.
6122 */
6123 "pill"?: boolean;
6124 /**
6125 * The input's placeholder text.
6126 */
6127 "placeholder"?: string;
6128 /**
6129 * Makes the input readonly.
6130 */
6131 "readonly"?: boolean;
6132 /**
6133 * Makes the input a required field.
6134 */
6135 "required"?: boolean;
6136 /**
6137 * Should we show the label
6138 */
6139 "showLabel"?: boolean;
6140 /**
6141 * The input's size.
6142 */
6143 "size"?: 'small' | 'medium' | 'large';
6144 /**
6145 * Enables spell checking on the input.
6146 */
6147 "spellcheck"?: boolean;
6148 "squared"?: boolean;
6149 "squaredBottom"?: boolean;
6150 "squaredLeft"?: boolean;
6151 "squaredRight"?: boolean;
6152 "squaredTop"?: boolean;
6153 /**
6154 * The input's step attribute.
6155 */
6156 "step"?: number;
6157 /**
6158 * Adds a password toggle button to password inputs.
6159 */
6160 "togglePassword"?: boolean;
6161 /**
6162 * The input's type.
6163 */
6164 "type"?: 'email' | 'number' | 'password' | 'search' | 'tel' | 'text' | 'url' | 'hidden';
6165 /**
6166 * The input's value attribute.
6167 */
6168 "value"?: string;
6169 }
6170 interface ScInvoicesList {
6171 "allLink"?: string;
6172 "heading"?: string;
6173 /**
6174 * Query to fetch invoices
6175 */
6176 "query"?: {
6177 page: number;
6178 per_page: number;
6179 };
6180 }
6181 interface ScLicensesList {
6182 "activations"?: Activation[];
6183 "copied"?: boolean;
6184 "heading"?: string;
6185 "licenses"?: License[];
6186 }
6187 interface ScLineItem {
6188 /**
6189 * Currency symbol
6190 */
6191 "currency"?: string;
6192 /**
6193 * Price of the item
6194 */
6195 "price"?: string;
6196 }
6197 interface ScLineItemBump {
6198 "label"?: string;
6199 "loading"?: boolean;
6200 "order"?: Checkout;
6201 }
6202 interface ScLineItemTax {
6203 "loading"?: boolean;
6204 "order"?: Checkout;
6205 }
6206 interface ScLineItemTotal {
6207 "loading"?: boolean;
6208 "order"?: Checkout;
6209 "size"?: 'large' | 'medium';
6210 "total"?: 'total' | 'subtotal';
6211 }
6212 interface ScLineItems {
6213 "busy"?: boolean;
6214 "editLineItems"?: boolean;
6215 "editable"?: boolean;
6216 "lockedChoices"?: Array<PriceChoice>;
6217 /**
6218 * Remove the line item.
6219 */
6220 "onScRemoveLineItem"?: (event: ScLineItemsCustomEvent<LineItemData>) => void;
6221 /**
6222 * Update the line item.
6223 */
6224 "onScUpdateLineItem"?: (event: ScLineItemsCustomEvent<LineItemData>) => void;
6225 "order"?: Checkout;
6226 "prices"?: Prices;
6227 "removable"?: boolean;
6228 "removeLineItems"?: boolean;
6229 }
6230 interface ScLineItemsProvider {
6231 /**
6232 * Update line items event
6233 */
6234 "onScUpdateLineItems"?: (event: ScLineItemsProviderCustomEvent<Array<LineItemData>>) => void;
6235 /**
6236 * Order Object
6237 */
6238 "order"?: Checkout;
6239 }
6240 interface ScLoginForm {
6241 }
6242 interface ScLoginProvider {
6243 /**
6244 * Is the user logged in.
6245 */
6246 "loggedIn"?: boolean;
6247 "onScSetCustomer"?: (event: ScLoginProviderCustomEvent<{ email: string; name?: string }>) => void;
6248 "onScSetLoggedIn"?: (event: ScLoginProviderCustomEvent<boolean>) => void;
6249 "order"?: Order;
6250 }
6251 interface ScMenu {
6252 "onScSelect"?: (event: ScMenuCustomEvent<{ item: HTMLScMenuItemElement }>) => void;
6253 }
6254 interface ScMenuDivider {
6255 }
6256 interface ScMenuItem {
6257 /**
6258 * Draws the item in a checked state.
6259 */
6260 "checked"?: boolean;
6261 /**
6262 * Draws the menu item in a disabled state.
6263 */
6264 "disabled"?: boolean;
6265 /**
6266 * Optional link to follow.
6267 */
6268 "href"?: string;
6269 /**
6270 * A unique value to store in the menu item. This can be used as a way to identify menu items when selected.
6271 */
6272 "value"?: string;
6273 }
6274 interface ScMenuLabel {
6275 }
6276 interface ScOrder {
6277 "customerIds"?: string[];
6278 "heading"?: string;
6279 "orderId"?: string;
6280 }
6281 interface ScOrderBump {
6282 /**
6283 * The bump
6284 */
6285 "bump"?: Bump;
6286 /**
6287 * The checkout
6288 */
6289 "checkout"?: Checkout;
6290 /**
6291 * Add line item event
6292 */
6293 "onScAddLineItem"?: (event: ScOrderBumpCustomEvent<LineItemData>) => void;
6294 /**
6295 * Remove line item event
6296 */
6297 "onScRemoveLineItem"?: (event: ScOrderBumpCustomEvent<LineItemData>) => void;
6298 /**
6299 * Should we show the controls
6300 */
6301 "showControl"?: boolean;
6302 }
6303 interface ScOrderBumps {
6304 "bumps"?: Bump[];
6305 "checkout"?: Checkout;
6306 "help"?: string;
6307 "label"?: string;
6308 "showControl"?: boolean;
6309 }
6310 interface ScOrderConfirmComponentsValidator {
6311 /**
6312 * The checkout
6313 */
6314 "checkout"?: Checkout;
6315 }
6316 interface ScOrderConfirmProvider {
6317 /**
6318 * The form id
6319 */
6320 "formId"?: number;
6321 /**
6322 * Are we in test or live mode.
6323 */
6324 "mode"?: 'test' | 'live';
6325 /**
6326 * Error event.
6327 */
6328 "onScError"?: (event: ScOrderConfirmProviderCustomEvent<{ message: string; code?: string; data?: any; additional_errors?: any } | {}>) => void;
6329 /**
6330 * The order is paid event.
6331 */
6332 "onScOrderPaid"?: (event: ScOrderConfirmProviderCustomEvent<Checkout>) => void;
6333 "onScSetState"?: (event: ScOrderConfirmProviderCustomEvent<string>) => void;
6334 /**
6335 * The current order.
6336 */
6337 "order"?: Checkout;
6338 /**
6339 * Success url.
6340 */
6341 "successUrl"?: string;
6342 }
6343 interface ScOrderConfirmation {
6344 "order"?: Checkout;
6345 }
6346 interface ScOrderConfirmationCustomer {
6347 /**
6348 * The customer
6349 */
6350 "customer"?: Customer;
6351 /**
6352 * Error message.
6353 */
6354 "error"?: string;
6355 /**
6356 * The heading
6357 */
6358 "heading"?: string;
6359 /**
6360 * Is this loading?
6361 */
6362 "loading"?: boolean;
6363 /**
6364 * The Order
6365 */
6366 "order"?: Checkout;
6367 }
6368 interface ScOrderConfirmationDetails {
6369 "loading"?: boolean;
6370 "order"?: Order;
6371 }
6372 interface ScOrderConfirmationLineItems {
6373 "loading"?: boolean;
6374 "order"?: Checkout;
6375 }
6376 interface ScOrderConfirmationTotals {
6377 "order"?: Checkout;
6378 }
6379 interface ScOrderCouponForm {
6380 "busy"?: boolean;
6381 "error"?: any;
6382 "forceOpen"?: boolean;
6383 "label"?: string;
6384 "loading"?: boolean;
6385 "onScApplyCoupon"?: (event: ScOrderCouponFormCustomEvent<string>) => void;
6386 "order"?: Checkout;
6387 }
6388 interface ScOrderDetail {
6389 "fallback"?: string;
6390 "label"?: string;
6391 "loading"?: boolean;
6392 "metaKey"?: string;
6393 "order"?: Checkout;
6394 "value"?: string;
6395 }
6396 interface ScOrderManualInstructions {
6397 "manualPaymentInstructions"?: string;
6398 "manualPaymentTitle"?: string;
6399 }
6400 interface ScOrderPassword {
6401 /**
6402 * The input's autofocus attribute.
6403 */
6404 "autofocus"?: boolean;
6405 /**
6406 * The input's password confirmation attribute.
6407 */
6408 "confirmation"?: boolean;
6409 /**
6410 * The input's confirmation help text.
6411 */
6412 "confirmationHelp"?: string;
6413 /**
6414 * The input's confirmation label text.
6415 */
6416 "confirmationLabel"?: string;
6417 /**
6418 * The input's confirmation placeholder text.
6419 */
6420 "confirmationPlaceholder"?: string;
6421 /**
6422 * Disables the input.
6423 */
6424 "disabled"?: boolean;
6425 /**
6426 * Does the email exist?
6427 */
6428 "emailExists"?: boolean;
6429 /**
6430 * The input's help text.
6431 */
6432 "help"?: string;
6433 /**
6434 * The input's label.
6435 */
6436 "label"?: string;
6437 "loggedIn"?: boolean;
6438 /**
6439 * Draws a pill-style input with rounded edges.
6440 */
6441 "pill"?: boolean;
6442 /**
6443 * The input's placeholder text.
6444 */
6445 "placeholder"?: string;
6446 /**
6447 * Makes the input readonly.
6448 */
6449 "readonly"?: boolean;
6450 /**
6451 * Makes the input a required field.
6452 */
6453 "required"?: boolean;
6454 /**
6455 * Should we show the label
6456 */
6457 "showLabel"?: boolean;
6458 /**
6459 * The input's size.
6460 */
6461 "size"?: 'small' | 'medium' | 'large';
6462 /**
6463 * The input's value attribute.
6464 */
6465 "value"?: string;
6466 }
6467 interface ScOrderShippingAddress {
6468 "cityPlaceholder"?: string;
6469 "countryPlaceholder"?: string;
6470 /**
6471 * Default country for address
6472 */
6473 "defaultCountry"?: string;
6474 /**
6475 * Show the full address
6476 */
6477 "full"?: boolean;
6478 /**
6479 * Label for the field.
6480 */
6481 "label"?: string;
6482 "line1Placeholder"?: string;
6483 "line2Placeholder"?: string;
6484 /**
6485 * Is this loading.
6486 */
6487 "loading"?: boolean;
6488 /**
6489 * Show the placeholder fields.
6490 */
6491 "namePlaceholder"?: string;
6492 /**
6493 * Make a request to update the order.
6494 */
6495 "onScUpdateOrder"?: (event: ScOrderShippingAddressCustomEvent<{
6496 data: Partial<Checkout>;
6497 options?: { silent?: boolean };
6498 }>) => void;
6499 /**
6500 * Placeholder values.
6501 */
6502 "placeholders"?: Partial<Address>;
6503 "postalCodePlaceholder"?: string;
6504 /**
6505 * Is this required (defaults to false)
6506 */
6507 "required"?: boolean;
6508 /**
6509 * Holds the customer's billing address
6510 */
6511 "shippingAddress"?: Address;
6512 /**
6513 * Is shipping enabled for this order?
6514 */
6515 "shippingEnabled"?: boolean;
6516 /**
6517 * Show the name field.
6518 */
6519 "showName"?: boolean;
6520 "statePlaceholder"?: string;
6521 /**
6522 * Tax enabled status of the order
6523 */
6524 "taxEnabled"?: boolean;
6525 /**
6526 * Tax status of the order
6527 */
6528 "taxStatus"?: TaxStatus;
6529 }
6530 interface ScOrderStatusBadge {
6531 /**
6532 * Makes the tag clearable.
6533 */
6534 "clearable"?: boolean;
6535 /**
6536 * Draws a pill-style tag with rounded edges.
6537 */
6538 "pill"?: boolean;
6539 /**
6540 * The tag's size.
6541 */
6542 "size"?: 'small' | 'medium' | 'large';
6543 /**
6544 * The tag's statux type.
6545 */
6546 "status"?: OrderStatus;
6547 }
6548 interface ScOrderSubmit {
6549 /**
6550 * Is the order busy
6551 */
6552 "busy"?: boolean;
6553 /**
6554 * Currency Code
6555 */
6556 "currencyCode"?: string;
6557 /**
6558 * Show a full-width button.
6559 */
6560 "full"?: boolean;
6561 /**
6562 * Icon to show.
6563 */
6564 "icon"?: string;
6565 /**
6566 * Is the order loading.
6567 */
6568 "loading"?: boolean;
6569 /**
6570 * Is this created in "test" mode
6571 */
6572 "mode"?: 'test' | 'live';
6573 /**
6574 * The current order.
6575 */
6576 "order"?: Checkout;
6577 /**
6578 * Is the order paying.
6579 */
6580 "paying"?: boolean;
6581 "processor"?: ProcessorName;
6582 /**
6583 * Keys and secrets for processors.
6584 */
6585 "processors"?: Processor[];
6586 /**
6587 * Show the total.
6588 */
6589 "showTotal"?: boolean;
6590 /**
6591 * The button's size.
6592 */
6593 "size"?: 'small' | 'medium' | 'large';
6594 /**
6595 * The button type.
6596 */
6597 "type"?: 'default' | 'primary' | 'success' | 'info' | 'warning' | 'danger' | 'text' | 'link';
6598 }
6599 interface ScOrderSummary {
6600 "busy"?: boolean;
6601 "closedText"?: string;
6602 "collapsed"?: boolean;
6603 "collapsible"?: boolean;
6604 "empty"?: boolean;
6605 /**
6606 * Show the toggle
6607 */
6608 "onScHide"?: (event: ScOrderSummaryCustomEvent<void>) => void;
6609 /**
6610 * Show the toggle
6611 */
6612 "onScShow"?: (event: ScOrderSummaryCustomEvent<void>) => void;
6613 "openText"?: string;
6614 "order"?: Checkout;
6615 }
6616 interface ScOrderTaxIdInput {
6617 /**
6618 * Is this busy
6619 */
6620 "busy"?: boolean;
6621 /**
6622 * Make a request to update the order.
6623 */
6624 "onScUpdateOrder"?: (event: ScOrderTaxIdInputCustomEvent<{
6625 data: Partial<Checkout>;
6626 options?: { silent?: boolean };
6627 }>) => void;
6628 /**
6629 * The order
6630 */
6631 "order"?: Partial<Checkout>;
6632 /**
6633 * Force show the field.
6634 */
6635 "show"?: boolean;
6636 /**
6637 * Tax identifier
6638 */
6639 "taxIdentifier"?: TaxIdentifier;
6640 /**
6641 * The tax protocol.
6642 */
6643 "taxProtocol"?: TaxProtocol;
6644 }
6645 interface ScOrdersList {
6646 "allLink"?: string;
6647 "heading"?: string;
6648 "isCustomer"?: boolean;
6649 /**
6650 * Query to fetch orders
6651 */
6652 "query"?: {
6653 page: number;
6654 per_page: number;
6655 };
6656 }
6657 interface ScPagination {
6658 "onScNextPage"?: (event: ScPaginationCustomEvent<void>) => void;
6659 "onScPrevPage"?: (event: ScPaginationCustomEvent<void>) => void;
6660 "page"?: number;
6661 "perPage"?: number;
6662 "total"?: number;
6663 "totalPages"?: number;
6664 "totalShowing"?: number;
6665 }
6666 interface ScPasswordNag {
6667 "open"?: boolean;
6668 /**
6669 * The success url.
6670 */
6671 "successUrl"?: string;
6672 /**
6673 * The type of alert.
6674 */
6675 "type"?: 'primary' | 'success' | 'info' | 'warning' | 'danger';
6676 }
6677 interface ScPayment {
6678 /**
6679 * Checkout Session from sc-checkout.
6680 */
6681 "checkout"?: Checkout;
6682 /**
6683 * Hide the test mode badge
6684 */
6685 "hideTestModeBadge"?: boolean;
6686 /**
6687 * The input's label.
6688 */
6689 "label"?: string;
6690 /**
6691 * Is this created in "test" mode
6692 */
6693 "mode"?: 'test' | 'live';
6694 /**
6695 * Set the checkout procesor.
6696 */
6697 "onScSetProcessor"?: (event: ScPaymentCustomEvent<{ id: string; manual: boolean } | null>) => void;
6698 /**
6699 * The current selected processor.
6700 */
6701 "processor"?: string;
6702 /**
6703 * List of available processors.
6704 */
6705 "processors"?: Processor[];
6706 }
6707 interface ScPaymentMethod {
6708 "externalLink"?: string;
6709 "externalLinkTooltipText"?: string;
6710 "full"?: boolean;
6711 "paymentMethod"?: PaymentMethod;
6712 }
6713 interface ScPaymentMethodChoice {
6714 /**
6715 * Should we show this in a card?
6716 */
6717 "card"?: boolean;
6718 /**
6719 * The checkout.
6720 */
6721 "checkout"?: Checkout;
6722 /**
6723 * Does this have others?
6724 */
6725 "hasOthers"?: boolean;
6726 /**
6727 * Is this disabled?
6728 */
6729 "isDisabled"?: boolean;
6730 /**
6731 * Is this a manual processor
6732 */
6733 "isManual"?: boolean;
6734 /**
6735 * The currenct processor is invalid.
6736 */
6737 "onScProcessorInvalid"?: (event: ScPaymentMethodChoiceCustomEvent<void>) => void;
6738 /**
6739 * Set the order procesor.
6740 */
6741 "onScSetProcessor"?: (event: ScPaymentMethodChoiceCustomEvent<{ id: string; manual: boolean }>) => void;
6742 /**
6743 * Show the toggle
6744 */
6745 "onScShow"?: (event: ScPaymentMethodChoiceCustomEvent<void>) => void;
6746 /**
6747 * The current processor
6748 */
6749 "processor"?: string;
6750 /**
6751 * The processor ID
6752 */
6753 "processorId"?: string;
6754 /**
6755 * Is this recurring-enabled?
6756 */
6757 "recurringEnabled"?: boolean;
6758 }
6759 interface ScPaymentMethodsList {
6760 "heading"?: string;
6761 "isCustomer"?: boolean;
6762 /**
6763 * Query to fetch paymentMethods
6764 */
6765 "query"?: object;
6766 }
6767 interface ScPaymentSelected {
6768 "iconName"?: string;
6769 "label"?: string;
6770 }
6771 interface ScPaypalAddMethod {
6772 "currency"?: string;
6773 "customerId"?: string;
6774 "liveMode"?: boolean;
6775 "successUrl"?: string;
6776 }
6777 interface ScPaypalButtons {
6778 /**
6779 * Is this busy?
6780 */
6781 "busy"?: boolean;
6782 /**
6783 * Buttons to render
6784 */
6785 "buttons"?: string[];
6786 /**
6787 * Client id for the script.
6788 */
6789 "clientId"?: string;
6790 /**
6791 * Button color.
6792 */
6793 "color"?: 'gold' | 'blue' | 'silver' | 'black' | 'white';
6794 /**
6795 * Label for the button.
6796 */
6797 "label"?: 'paypal' | 'checkout' | 'buynow' | 'pay' | 'installment';
6798 /**
6799 * The merchant id for paypal.
6800 */
6801 "merchantId"?: string;
6802 /**
6803 * Merchant initiated billing enabled.
6804 */
6805 "merchantInitiated"?: boolean;
6806 /**
6807 * Test or live mode.
6808 */
6809 "mode"?: 'test' | 'live';
6810 /**
6811 * Emit an error
6812 */
6813 "onScError"?: (event: ScPaypalButtonsCustomEvent<object>) => void;
6814 "onScPaid"?: (event: ScPaypalButtonsCustomEvent<void>) => void;
6815 /**
6816 * Set the state machine
6817 */
6818 "onScSetState"?: (event: ScPaypalButtonsCustomEvent<string>) => void;
6819 /**
6820 * The order.
6821 */
6822 "order"?: Checkout;
6823 }
6824 interface ScPriceChoice {
6825 /**
6826 * Is this checked by default
6827 */
6828 "checked"?: boolean;
6829 /**
6830 * Label for the choice.
6831 */
6832 "description"?: string;
6833 /**
6834 * Errors from response
6835 */
6836 "error"?: ResponseError;
6837 /**
6838 * Is this an ad-hoc price choice
6839 */
6840 "isAdHoc"?: Boolean;
6841 /**
6842 * Label for the choice.
6843 */
6844 "label"?: string;
6845 /**
6846 * Is this loading
6847 */
6848 "loading"?: boolean;
6849 /**
6850 * Add entities
6851 */
6852 "onScAddEntities"?: (event: ScPriceChoiceCustomEvent<any>) => void;
6853 /**
6854 * Toggle line item event
6855 */
6856 "onScRemoveLineItem"?: (event: ScPriceChoiceCustomEvent<LineItemData>) => void;
6857 /**
6858 * Toggle line item event
6859 */
6860 "onScUpdateLineItem"?: (event: ScPriceChoiceCustomEvent<LineItemData>) => void;
6861 /**
6862 * Session
6863 */
6864 "order"?: Checkout;
6865 /**
6866 * Stores the price
6867 */
6868 "price"?: Price;
6869 /**
6870 * Id of the price.
6871 */
6872 "priceId"?: string;
6873 /**
6874 * Price entities
6875 */
6876 "prices"?: Prices;
6877 /**
6878 * Product entity
6879 */
6880 "products"?: Products;
6881 /**
6882 * Default quantity
6883 */
6884 "quantity"?: number;
6885 /**
6886 * Show the radio/checkbox control
6887 */
6888 "showControl"?: boolean;
6889 /**
6890 * Show the label
6891 */
6892 "showLabel"?: boolean;
6893 /**
6894 * Show the price amount
6895 */
6896 "showPrice"?: boolean;
6897 /**
6898 * Choice Type
6899 */
6900 "type"?: 'checkbox' | 'radio';
6901 }
6902 interface ScPriceChoices {
6903 /**
6904 * Number of columns
6905 */
6906 "columns"?: number;
6907 /**
6908 * Selector label
6909 */
6910 "label"?: string;
6911 /**
6912 * Toggle line item event
6913 */
6914 "onScRemoveLineItem"?: (event: ScPriceChoicesCustomEvent<LineItemData>) => void;
6915 /**
6916 * Toggle line item event
6917 */
6918 "onScUpdateLineItem"?: (event: ScPriceChoicesCustomEvent<LineItemData>) => void;
6919 /**
6920 * Required by default
6921 */
6922 "required"?: boolean;
6923 }
6924 interface ScPriceInput {
6925 /**
6926 * The input's autofocus attribute.
6927 */
6928 "autofocus"?: boolean;
6929 /**
6930 * Adds a clear button when the input is populated.
6931 */
6932 "clearable"?: boolean;
6933 /**
6934 * 3 letter currency code for input
6935 */
6936 "currencyCode"?: string;
6937 /**
6938 * Disables the input.
6939 */
6940 "disabled"?: boolean;
6941 /**
6942 * Inputs focus
6943 */
6944 "hasFocus"?: boolean;
6945 /**
6946 * The input's help text.
6947 */
6948 "help"?: string;
6949 /**
6950 * 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.
6951 */
6952 "invalid"?: boolean;
6953 /**
6954 * The input's label.
6955 */
6956 "label"?: string;
6957 /**
6958 * The input's maximum value.
6959 */
6960 "max"?: number;
6961 /**
6962 * The maximum length of input that will be considered valid.
6963 */
6964 "maxlength"?: number;
6965 /**
6966 * The input's minimum value.
6967 */
6968 "min"?: number;
6969 /**
6970 * The minimum length of input that will be considered valid.
6971 */
6972 "minlength"?: number;
6973 /**
6974 * The input's name attribute.
6975 */
6976 "name"?: string;
6977 /**
6978 * Emitted when the control's value changes.
6979 */
6980 "onScChange"?: (event: ScPriceInputCustomEvent<void>) => void;
6981 /**
6982 * Draws a pill-style input with rounded edges.
6983 */
6984 "pill"?: boolean;
6985 /**
6986 * The input's placeholder text.
6987 */
6988 "placeholder"?: string;
6989 /**
6990 * Makes the input readonly.
6991 */
6992 "readonly"?: boolean;
6993 /**
6994 * Makes the input a required field.
6995 */
6996 "required"?: boolean;
6997 /**
6998 * Show the currency code with the input
6999 */
7000 "showCode"?: boolean;
7001 /**
7002 * Should we show the label
7003 */
7004 "showLabel"?: boolean;
7005 /**
7006 * The input's size.
7007 */
7008 "size"?: 'small' | 'medium' | 'large';
7009 /**
7010 * The input's value attribute.
7011 */
7012 "value"?: string;
7013 }
7014 interface ScProductLineItem {
7015 /**
7016 * Product monetary amount
7017 */
7018 "amount"?: number;
7019 /**
7020 * Currency for the product
7021 */
7022 "currency"?: string;
7023 /**
7024 * Can we select the quantity
7025 */
7026 "editable"?: boolean;
7027 /**
7028 * Url for the product image
7029 */
7030 "imageUrl"?: string;
7031 /**
7032 * Recurring interval (i.e. monthly, once, etc.)
7033 */
7034 "interval"?: string;
7035 /**
7036 * The max allowed.
7037 */
7038 "max"?: number;
7039 /**
7040 * Product name
7041 */
7042 "name"?: string;
7043 /**
7044 * Emitted when the quantity changes.
7045 */
7046 "onScRemove"?: (event: ScProductLineItemCustomEvent<void>) => void;
7047 /**
7048 * Emitted when the quantity changes.
7049 */
7050 "onScUpdateQuantity"?: (event: ScProductLineItemCustomEvent<number>) => void;
7051 /**
7052 * Quantity
7053 */
7054 "quantity"?: number;
7055 /**
7056 * Is the line item removable
7057 */
7058 "removable"?: boolean;
7059 /**
7060 * The line item scratch amount
7061 */
7062 "scratchAmount"?: number;
7063 /**
7064 * Trial duration days
7065 */
7066 "trialDurationDays"?: number;
7067 }
7068 interface ScProvider {
7069 "STENCIL_CONTEXT"?: { [key: string]: any };
7070 "onMountConsumer"?: (event: ScProviderCustomEvent<any>) => void;
7071 }
7072 interface ScPurchaseDownloadsList {
7073 "allLink"?: string;
7074 "busy"?: boolean;
7075 "error"?: string;
7076 "heading"?: string;
7077 "loading"?: boolean;
7078 "purchases"?: Array<Purchase>;
7079 "requestNonce"?: string;
7080 }
7081 interface ScQuantitySelect {
7082 "clickEl"?: HTMLElement;
7083 "disabled"?: boolean;
7084 /**
7085 * Inputs focus
7086 */
7087 "hasFocus"?: boolean;
7088 "max"?: number;
7089 "min"?: number;
7090 /**
7091 * Emitted when the control loses focus.
7092 */
7093 "onScBlur"?: (event: ScQuantitySelectCustomEvent<void>) => void;
7094 "onScChange"?: (event: ScQuantitySelectCustomEvent<number>) => void;
7095 /**
7096 * Emitted when the control gains focus.
7097 */
7098 "onScFocus"?: (event: ScQuantitySelectCustomEvent<void>) => void;
7099 /**
7100 * Emitted when the control receives input.
7101 */
7102 "onScInput"?: (event: ScQuantitySelectCustomEvent<number>) => void;
7103 "quantity"?: number;
7104 }
7105 interface ScRadio {
7106 /**
7107 * Draws the radio in a checked state.
7108 */
7109 "checked"?: boolean;
7110 /**
7111 * Is the radio disabled
7112 */
7113 "disabled"?: boolean;
7114 /**
7115 * This will be true as a workaround in the block editor to focus on the content.
7116 */
7117 "edit"?: boolean;
7118 /**
7119 * This will be true when the control is in an invalid state. Validity is determined by the `required` prop.
7120 */
7121 "invalid"?: boolean;
7122 /**
7123 * The radios name attribute
7124 */
7125 "name"?: string;
7126 /**
7127 * Emitted when the control loses focus.
7128 */
7129 "onScBlur"?: (event: ScRadioCustomEvent<void>) => void;
7130 /**
7131 * Emitted when the control's checked state changes.
7132 */
7133 "onScChange"?: (event: ScRadioCustomEvent<void>) => void;
7134 /**
7135 * Emitted when the control gains focus.
7136 */
7137 "onScFocus"?: (event: ScRadioCustomEvent<void>) => void;
7138 /**
7139 * Is this required
7140 */
7141 "required"?: boolean;
7142 /**
7143 * The radios value
7144 */
7145 "value"?: string;
7146 }
7147 interface ScRadioGroup {
7148 /**
7149 * 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.
7150 */
7151 "invalid"?: boolean;
7152 /**
7153 * The radio group label. Required for proper accessibility.
7154 */
7155 "label"?: string;
7156 /**
7157 * Is one of these items required.
7158 */
7159 "required"?: boolean;
7160 /**
7161 * The selected value of the control.
7162 */
7163 "value"?: string;
7164 }
7165 interface ScSecureNotice {
7166 }
7167 interface ScSelect {
7168 /**
7169 * The input's autocomplete attribute.
7170 */
7171 "autocomplete"?: string;
7172 /**
7173 * The input's value attribute.
7174 */
7175 "choices"?: Array<ChoiceItem>;
7176 "disabled"?: boolean;
7177 /**
7178 * Some help text for the input.
7179 */
7180 "help"?: string;
7181 "hoist"?: boolean;
7182 /**
7183 * 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.
7184 */
7185 "invalid"?: boolean;
7186 /**
7187 * The input's label.
7188 */
7189 "label"?: string;
7190 "loading"?: boolean;
7191 /**
7192 * The input's name attribute.
7193 */
7194 "name"?: string;
7195 /**
7196 * Emitted when the control loses focus.
7197 */
7198 "onScBlur"?: (event: ScSelectCustomEvent<void>) => void;
7199 /**
7200 * Emitted when the control's value changes.
7201 */
7202 "onScChange"?: (event: ScSelectCustomEvent<void>) => void;
7203 /**
7204 * Emitted whent the components search query changes
7205 */
7206 "onScClose"?: (event: ScSelectCustomEvent<string>) => void;
7207 /**
7208 * Emitted when the control gains focus.
7209 */
7210 "onScFocus"?: (event: ScSelectCustomEvent<void>) => void;
7211 /**
7212 * Emitted whent the components search query changes
7213 */
7214 "onScOpen"?: (event: ScSelectCustomEvent<string>) => void;
7215 /**
7216 * Emitted whent the components search query changes
7217 */
7218 "onScSearch"?: (event: ScSelectCustomEvent<string>) => void;
7219 /**
7220 * Is this open
7221 */
7222 "open"?: boolean;
7223 /**
7224 * Placeholder for no value
7225 */
7226 "placeholder"?: string;
7227 "position"?: 'bottom-left' | 'bottom-right';
7228 "required"?: boolean;
7229 /**
7230 * Is search enabled?
7231 */
7232 "search"?: boolean;
7233 /**
7234 * Placeholder for search
7235 */
7236 "searchPlaceholder"?: string;
7237 "showParentLabel"?: boolean;
7238 /**
7239 * The input's size.
7240 */
7241 "size"?: 'small' | 'medium' | 'large';
7242 "squared"?: boolean;
7243 "squaredBottom"?: boolean;
7244 "squaredLeft"?: boolean;
7245 "squaredRight"?: boolean;
7246 "squaredTop"?: boolean;
7247 /**
7248 * Can we unselect items.
7249 */
7250 "unselect"?: boolean;
7251 /**
7252 * The input's value attribute.
7253 */
7254 "value"?: string;
7255 }
7256 interface ScSessionProvider {
7257 /**
7258 * The abandoned checkout return url.
7259 */
7260 "abandonedCheckoutReturnUrl"?: string;
7261 /**
7262 * Currency Code
7263 */
7264 "currencyCode"?: string;
7265 /**
7266 * The checkout form id
7267 */
7268 "formId"?: number;
7269 /**
7270 * Group id
7271 */
7272 "groupId"?: string;
7273 /**
7274 * Is this a manual payment?
7275 */
7276 "isManualProcessor"?: boolean;
7277 /**
7278 * Are we in test or live mode.
7279 */
7280 "mode"?: 'test' | 'live';
7281 /**
7282 * Whent the post was modified.
7283 */
7284 "modified"?: string;
7285 /**
7286 * Error event
7287 */
7288 "onScError"?: (event: ScSessionProviderCustomEvent<{ message: string; code?: string; data?: any; additional_errors?: any } | {}>) => void;
7289 "onScPaid"?: (event: ScSessionProviderCustomEvent<void>) => void;
7290 /**
7291 * Set the state
7292 */
7293 "onScSetState"?: (event: ScSessionProviderCustomEvent<FormStateSetter>) => void;
7294 /**
7295 * Update line items event
7296 */
7297 "onScUpdateDraftState"?: (event: ScSessionProviderCustomEvent<Checkout>) => void;
7298 /**
7299 * Update line items event
7300 */
7301 "onScUpdateOrderState"?: (event: ScSessionProviderCustomEvent<Checkout>) => void;
7302 /**
7303 * Holds all available payment intents.
7304 */
7305 "paymentIntents"?: PaymentIntents;
7306 /**
7307 * Should we persist the session.
7308 */
7309 "persist"?: boolean;
7310 /**
7311 * An array of prices to pre-fill in the form.
7312 */
7313 "prices"?: Array<PriceChoice>;
7314 /**
7315 * The processor.
7316 */
7317 "processor"?: ProcessorName;
7318 /**
7319 * Set the checkout state
7320 */
7321 "setState"?: (state: string) => void;
7322 /**
7323 * Are we using the Stripe payment element?
7324 */
7325 "stripePaymentElement"?: boolean;
7326 /**
7327 * Url to redirect upon success.
7328 */
7329 "successUrl"?: string;
7330 }
7331 interface ScSkeleton {
7332 /**
7333 * Animation effect
7334 */
7335 "effect"?: 'pulse' | 'sheen' | 'none';
7336 }
7337 interface ScSpacing {
7338 }
7339 interface ScSpinner {
7340 }
7341 interface ScStackedList {
7342 }
7343 interface ScStackedListRow {
7344 "href"?: string;
7345 "mobileSize"?: number;
7346 "target"?: string;
7347 }
7348 interface ScStripeAddMethod {
7349 "customerId"?: string;
7350 "liveMode"?: boolean;
7351 "successUrl"?: string;
7352 }
7353 interface ScStripeElement {
7354 /**
7355 * Your stripe connected account id.
7356 */
7357 "accountId"?: string;
7358 /**
7359 * Whether this field is disabled
7360 */
7361 "disabled"?: boolean;
7362 /**
7363 * The form state
7364 */
7365 "formState"?: FormState;
7366 /**
7367 * Inputs focus
7368 */
7369 "hasFocus"?: boolean;
7370 /**
7371 * The input's label. Alternatively, you can use the label slot.
7372 */
7373 "label"?: string;
7374 /**
7375 * Mode for the payment
7376 */
7377 "mode"?: 'live' | 'test';
7378 "onScPaid"?: (event: ScStripeElementCustomEvent<void>) => void;
7379 "onScPayError"?: (event: ScStripeElementCustomEvent<any>) => void;
7380 /**
7381 * Set the state
7382 */
7383 "onScSetState"?: (event: ScStripeElementCustomEvent<FormStateSetter>) => void;
7384 /**
7385 * The checkout session object for finalizing intents
7386 */
7387 "order"?: Checkout;
7388 /**
7389 * Stripe publishable key
7390 */
7391 "publishableKey"?: string;
7392 /**
7393 * The input's help text. Alternatively, you can use the help-text slot.
7394 */
7395 "secureText"?: string;
7396 /**
7397 * The selected processor id
7398 */
7399 "selectedProcessorId"?: ProcessorName;
7400 /**
7401 * Should we show the label
7402 */
7403 "showLabel"?: boolean;
7404 /**
7405 * The input's size.
7406 */
7407 "size"?: 'small' | 'medium' | 'large';
7408 }
7409 interface ScStripePaymentElement {
7410 /**
7411 * Should we collect an address?
7412 */
7413 "address"?: boolean;
7414 /**
7415 * The current form state.
7416 */
7417 "formState"?: FormState;
7418 /**
7419 * The order/invoice was paid for.
7420 */
7421 "onScPaid"?: (event: ScStripePaymentElementCustomEvent<void>) => void;
7422 /**
7423 * There was a payment error.
7424 */
7425 "onScPayError"?: (event: ScStripePaymentElementCustomEvent<any>) => void;
7426 /**
7427 * Set the state
7428 */
7429 "onScSetState"?: (event: ScStripePaymentElementCustomEvent<FormStateSetter>) => void;
7430 /**
7431 * Order to watch
7432 */
7433 "order"?: Checkout;
7434 /**
7435 * The selected processor name.
7436 */
7437 "selectedProcessorId"?: ProcessorName;
7438 /**
7439 * The Payment Intent
7440 */
7441 "stripePaymentIntent"?: PaymentIntent;
7442 /**
7443 * Success url to redirect.
7444 */
7445 "successUrl"?: string;
7446 }
7447 interface ScStripePaymentRequest {
7448 /**
7449 * Amount
7450 */
7451 "amount"?: number;
7452 /**
7453 * Country
7454 */
7455 "country"?: string;
7456 /**
7457 * Currency
7458 */
7459 "currencyCode"?: string;
7460 /**
7461 * Is this in debug mode.
7462 */
7463 "debug"?: boolean;
7464 "error"?: ResponseError | null;
7465 /**
7466 * This is required to validate the form on the server
7467 */
7468 "formId"?: number | string;
7469 /**
7470 * Label
7471 */
7472 "label"?: string;
7473 "onScFormSubmit"?: (event: ScStripePaymentRequestCustomEvent<any>) => void;
7474 "onScPaid"?: (event: ScStripePaymentRequestCustomEvent<void>) => void;
7475 "onScPayError"?: (event: ScStripePaymentRequestCustomEvent<any>) => void;
7476 "onScPaymentRequestLoaded"?: (event: ScStripePaymentRequestCustomEvent<boolean>) => void;
7477 "onScSetState"?: (event: ScStripePaymentRequestCustomEvent<string>) => void;
7478 "onScUpdateOrderState"?: (event: ScStripePaymentRequestCustomEvent<any>) => void;
7479 /**
7480 * Checkout Session
7481 */
7482 "order"?: Checkout;
7483 "paymentMethod"?: string;
7484 "prices"?: Prices;
7485 /**
7486 * Stripe publishable key
7487 */
7488 "publishableKey"?: string;
7489 /**
7490 * Your stripe connected account id.
7491 */
7492 "stripeAccountId"?: string;
7493 /**
7494 * Payment request theme
7495 */
7496 "theme"?: string;
7497 }
7498 interface ScSubscription {
7499 "heading"?: string;
7500 "query"?: object;
7501 "showCancel"?: boolean;
7502 "subscription"?: Subscription;
7503 /**
7504 * Customer id to fetch subscriptions
7505 */
7506 "subscriptionId"?: string;
7507 }
7508 interface ScSubscriptionAdHocConfirm {
7509 "heading"?: string;
7510 "price"?: Price;
7511 }
7512 interface ScSubscriptionCancel {
7513 "backUrl"?: string;
7514 "heading"?: string;
7515 "subscription"?: Subscription;
7516 "subscriptionId"?: string;
7517 "successUrl"?: string;
7518 }
7519 interface ScSubscriptionDetails {
7520 "hideRenewalText"?: boolean;
7521 "pendingPrice"?: Price;
7522 "subscription"?: Subscription;
7523 }
7524 interface ScSubscriptionPayment {
7525 "backUrl"?: string;
7526 "customerIds"?: Array<string>;
7527 "paymentMethods"?: Array<PaymentMethod>;
7528 "subscription"?: Subscription;
7529 "subscriptionId"?: string;
7530 "successUrl"?: string;
7531 }
7532 interface ScSubscriptionPaymentMethod {
7533 /**
7534 * The heading
7535 */
7536 "heading"?: string;
7537 /**
7538 * The subscription
7539 */
7540 "subscription"?: Subscription;
7541 }
7542 interface ScSubscriptionRenew {
7543 "backUrl"?: string;
7544 "heading"?: string;
7545 "subscription"?: Subscription;
7546 "subscriptionId"?: string;
7547 "successUrl"?: string;
7548 }
7549 interface ScSubscriptionStatusBadge {
7550 /**
7551 * Makes the tag clearable.
7552 */
7553 "clearable"?: boolean;
7554 /**
7555 * Draws a pill-style tag with rounded edges.
7556 */
7557 "pill"?: boolean;
7558 /**
7559 * The tag's size.
7560 */
7561 "size"?: 'small' | 'medium' | 'large';
7562 /**
7563 * Subscription status
7564 */
7565 "status"?: SubscriptionStatus;
7566 /**
7567 * The tag's status type.
7568 */
7569 "subscription"?: Subscription;
7570 }
7571 interface ScSubscriptionSwitch {
7572 "filterAbove"?: number;
7573 "heading"?: string;
7574 "productGroupId"?: ProductGroup;
7575 "productId"?: string;
7576 /**
7577 * Customer id to fetch subscriptions
7578 */
7579 "query"?: object;
7580 "subscription"?: Subscription;
7581 }
7582 interface ScSubscriptionsList {
7583 "allLink"?: string;
7584 "cancelBehavior"?: 'period_end' | 'immediate';
7585 "heading"?: string;
7586 "isCustomer"?: boolean;
7587 /**
7588 * Customer id to fetch subscriptions
7589 */
7590 "query"?: {
7591 page: number;
7592 per_page: number;
7593 };
7594 }
7595 interface ScSwitch {
7596 /**
7597 * Draws the switch in a checked state.
7598 */
7599 "checked"?: boolean;
7600 /**
7601 * Disables the switch.
7602 */
7603 "disabled"?: boolean;
7604 /**
7605 * This will be true as a workaround in the block editor to focus on the content.
7606 */
7607 "edit"?: boolean;
7608 /**
7609 * This will be true when the control is in an invalid state. Validity is determined by the `required` prop.
7610 */
7611 "invalid"?: boolean;
7612 /**
7613 * The switch's name attribute.
7614 */
7615 "name"?: string;
7616 /**
7617 * Emitted when the control loses focus.
7618 */
7619 "onScBlur"?: (event: ScSwitchCustomEvent<void>) => void;
7620 /**
7621 * Emitted when the control's checked state changes.
7622 */
7623 "onScChange"?: (event: ScSwitchCustomEvent<void>) => void;
7624 /**
7625 * Emitted when the control gains focus.
7626 */
7627 "onScFocus"?: (event: ScSwitchCustomEvent<void>) => void;
7628 /**
7629 * Makes the switch a required field.
7630 */
7631 "required"?: boolean;
7632 "reversed"?: boolean;
7633 /**
7634 * The switch's value attribute.
7635 */
7636 "value"?: string;
7637 }
7638 interface ScTab {
7639 /**
7640 * Draws the tab in an active state.
7641 */
7642 "active"?: boolean;
7643 "count"?: string;
7644 /**
7645 * Draws the tab in a disabled state.
7646 */
7647 "disabled"?: boolean;
7648 "href"?: string;
7649 /**
7650 * Close event
7651 */
7652 "onScClose"?: (event: ScTabCustomEvent<void>) => void;
7653 /**
7654 * The name of the tab panel the tab will control. The panel must be located in the same tab group.
7655 */
7656 "panel"?: string;
7657 }
7658 interface ScTabGroup {
7659 "onScTabHide"?: (event: ScTabGroupCustomEvent<string>) => void;
7660 "onScTabShow"?: (event: ScTabGroupCustomEvent<string>) => void;
7661 }
7662 interface ScTabPanel {
7663 /**
7664 * When true, the tab panel will be shown.
7665 */
7666 "active"?: boolean;
7667 /**
7668 * The tab panel's name.
7669 */
7670 "name"?: string;
7671 }
7672 interface ScTable {
7673 }
7674 interface ScTableCell {
7675 }
7676 interface ScTableHead {
7677 }
7678 interface ScTableRow {
7679 "href"?: string;
7680 }
7681 interface ScTag {
7682 /**
7683 * Makes the tag clearable.
7684 */
7685 "clearable"?: boolean;
7686 "onScClear"?: (event: ScTagCustomEvent<ScTag>) => void;
7687 /**
7688 * Draws a pill-style tag with rounded edges.
7689 */
7690 "pill"?: boolean;
7691 /**
7692 * The tag's size.
7693 */
7694 "size"?: 'small' | 'medium' | 'large';
7695 /**
7696 * The tag's type.
7697 */
7698 "type"?: 'primary' | 'success' | 'info' | 'warning' | 'danger' | 'default';
7699 }
7700 interface ScTaxIdInput {
7701 /**
7702 * The country code.
7703 */
7704 "country"?: string;
7705 /**
7706 * Help text.
7707 */
7708 "help"?: string;
7709 /**
7710 * Is this loading?
7711 */
7712 "loading"?: boolean;
7713 /**
7714 * Tax ID Number
7715 */
7716 "number"?: string;
7717 /**
7718 * Make a request to update the order.
7719 */
7720 "onScChange"?: (event: ScTaxIdInputCustomEvent<{ number: string; number_type: string }>) => void;
7721 /**
7722 * Make a request to update the order.
7723 */
7724 "onScInput"?: (event: ScTaxIdInputCustomEvent<Partial<{ number: string; number_type: string }>>) => void;
7725 /**
7726 * Change the Type
7727 */
7728 "onScInputType"?: (event: ScTaxIdInputCustomEvent<string>) => void;
7729 /**
7730 * Set the checkout state.
7731 */
7732 "onScSetState"?: (event: ScTaxIdInputCustomEvent<string>) => void;
7733 /**
7734 * Force show the field.
7735 */
7736 "show"?: boolean;
7737 /**
7738 * The status
7739 */
7740 "status"?: 'valid' | 'invalid' | 'unknown';
7741 /**
7742 * Type of tax id
7743 */
7744 "type"?: string;
7745 }
7746 interface ScText {
7747 "tag"?: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'p';
7748 "truncate"?: boolean;
7749 }
7750 interface ScTextarea {
7751 /**
7752 * The textarea's autocapitalize attribute.
7753 */
7754 "autocapitalize"?: 'off' | 'none' | 'on' | 'sentences' | 'words' | 'characters';
7755 /**
7756 * The textarea's autocomplete attribute.
7757 */
7758 "autocomplete"?: string;
7759 /**
7760 * The textarea's autocorrect attribute.
7761 */
7762 "autocorrect"?: string;
7763 /**
7764 * The textarea's autofocus attribute.
7765 */
7766 "autofocus"?: boolean;
7767 /**
7768 * Disables the textarea.
7769 */
7770 "disabled"?: boolean;
7771 /**
7772 * The input's enterkeyhint attribute. This can be used to customize the label or icon of the Enter key on virtual keyboards.
7773 */
7774 "enterkeyhint"?: 'enter' | 'done' | 'go' | 'next' | 'previous' | 'search' | 'send';
7775 /**
7776 * Draws a filled textarea.
7777 */
7778 "filled"?: boolean;
7779 /**
7780 * The textarea's help text. Alternatively, you can use the help-text slot.
7781 */
7782 "help"?: string;
7783 /**
7784 * The textarea's inputmode attribute.
7785 */
7786 "inputmode"?: 'none' | 'text' | 'decimal' | 'numeric' | 'tel' | 'search' | 'email' | 'url';
7787 /**
7788 * 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.
7789 */
7790 "invalid"?: boolean;
7791 /**
7792 * The textarea's label. Alternatively, you can use the label slot.
7793 */
7794 "label"?: string;
7795 /**
7796 * The maximum length of input that will be considered valid.
7797 */
7798 "maxlength"?: number;
7799 /**
7800 * The minimum length of input that will be considered valid.
7801 */
7802 "minlength"?: number;
7803 /**
7804 * The textarea's name attribute.
7805 */
7806 "name"?: string;
7807 "onScBlur"?: (event: ScTextareaCustomEvent<void>) => void;
7808 "onScChange"?: (event: ScTextareaCustomEvent<void>) => void;
7809 "onScFocus"?: (event: ScTextareaCustomEvent<void>) => void;
7810 "onScInput"?: (event: ScTextareaCustomEvent<void>) => void;
7811 /**
7812 * The textarea's placeholder text.
7813 */
7814 "placeholder"?: string;
7815 /**
7816 * Makes the textarea readonly.
7817 */
7818 "readonly"?: boolean;
7819 /**
7820 * Makes the textarea a required field.
7821 */
7822 "required"?: boolean;
7823 /**
7824 * Controls how the textarea can be resized.
7825 */
7826 "resize"?: 'none' | 'vertical' | 'auto';
7827 /**
7828 * The number of rows to display by default.
7829 */
7830 "rows"?: number;
7831 /**
7832 * Should we show the label
7833 */
7834 "showLabel"?: boolean;
7835 /**
7836 * The textarea's size.
7837 */
7838 "size"?: 'small' | 'medium' | 'large';
7839 /**
7840 * Enables spell checking on the textarea.
7841 */
7842 "spellcheck"?: boolean;
7843 /**
7844 * The textarea's value attribute.
7845 */
7846 "value"?: string;
7847 }
7848 interface ScToggle {
7849 /**
7850 * Is this a borderless toggle?
7851 */
7852 "borderless"?: boolean;
7853 /**
7854 * Are these collapsible?
7855 */
7856 "collapsible"?: boolean;
7857 /**
7858 * Disables the details so it can't be toggled.
7859 */
7860 "disabled"?: boolean;
7861 /**
7862 * Show the toggle
7863 */
7864 "onScHide"?: (event: ScToggleCustomEvent<void>) => void;
7865 /**
7866 * Show the toggle
7867 */
7868 "onScShow"?: (event: ScToggleCustomEvent<void>) => void;
7869 /**
7870 * Indicates whether or not the details is open. You can use this in lieu of the show/hide methods.
7871 */
7872 "open"?: boolean;
7873 /**
7874 * Is this a shady
7875 */
7876 "shady"?: boolean;
7877 /**
7878 * Should we show a radio control?
7879 */
7880 "showControl"?: boolean;
7881 /**
7882 * Should we show the arrow icon?
7883 */
7884 "showIcon"?: boolean;
7885 /**
7886 * The summary to show in the details header. If you need to display HTML, use the `summary` slot instead.
7887 */
7888 "summary"?: string;
7889 }
7890 interface ScToggles {
7891 /**
7892 * Should this function as an accordion?
7893 */
7894 "accordion"?: boolean;
7895 /**
7896 * Are these collapsible?
7897 */
7898 "collapsible"?: boolean;
7899 /**
7900 * Theme for the toggles
7901 */
7902 "theme"?: 'default' | 'container';
7903 }
7904 interface ScTooltip {
7905 /**
7906 * Freeze open or closed.
7907 */
7908 "freeze"?: boolean;
7909 /**
7910 * Open or not
7911 */
7912 "open"?: boolean;
7913 /**
7914 * The tooltip's padding.
7915 */
7916 "padding"?: number;
7917 /**
7918 * Tooltip text
7919 */
7920 "text"?: string;
7921 /**
7922 * The tooltip's type.
7923 */
7924 "type"?: 'primary' | 'success' | 'info' | 'warning' | 'danger' | 'text';
7925 /**
7926 * Tooltip fixed width
7927 */
7928 "width"?: string;
7929 }
7930 interface ScTotal {
7931 "order"?: Checkout;
7932 "total"?: 'total' | 'subtotal' | 'amount_due';
7933 }
7934 interface ScUpcomingInvoice {
7935 "adHocAmount"?: number;
7936 "discount"?: {
7937 promotion_code?: string;
7938 coupon?: string;
7939 };
7940 "heading"?: string;
7941 "payment_method"?: PaymentMethod;
7942 "priceId"?: string;
7943 "quantity"?: number;
7944 "quantityUpdatesEnabled"?: boolean;
7945 "subscriptionId"?: string;
7946 "successUrl"?: string;
7947 }
7948 interface ScUpgradeRequired {
7949 /**
7950 * The tag's size.
7951 */
7952 "size"?: 'small' | 'medium' | 'large';
7953 }
7954 interface ScWordpressPasswordEdit {
7955 "heading"?: string;
7956 "successUrl"?: string;
7957 "user"?: WordPressUser;
7958 }
7959 interface ScWordpressUser {
7960 "heading"?: string;
7961 "user"?: WordPressUser;
7962 }
7963 interface ScWordpressUserEdit {
7964 "heading"?: string;
7965 "successUrl"?: string;
7966 "user"?: WordPressUser;
7967 }
7968 interface IntrinsicElements {
7969 "sc-address": ScAddress;
7970 "sc-alert": ScAlert;
7971 "sc-badge-notice": ScBadgeNotice;
7972 "sc-block-ui": ScBlockUi;
7973 "sc-breadcrumb": ScBreadcrumb;
7974 "sc-breadcrumbs": ScBreadcrumbs;
7975 "sc-button": ScButton;
7976 "sc-button-group": ScButtonGroup;
7977 "sc-card": ScCard;
7978 "sc-cart": ScCart;
7979 "sc-cart-form": ScCartForm;
7980 "sc-cart-form-submit": ScCartFormSubmit;
7981 "sc-cart-header": ScCartHeader;
7982 "sc-cart-icon": ScCartIcon;
7983 "sc-cart-loader": ScCartLoader;
7984 "sc-cart-session-provider": ScCartSessionProvider;
7985 "sc-cart-submit": ScCartSubmit;
7986 "sc-cc-logo": ScCcLogo;
7987 "sc-charges-list": ScChargesList;
7988 "sc-checkbox": ScCheckbox;
7989 "sc-checkout": ScCheckout;
7990 "sc-checkout-unsaved-changes-warning": ScCheckoutUnsavedChangesWarning;
7991 "sc-choice": ScChoice;
7992 "sc-choices": ScChoices;
7993 "sc-column": ScColumn;
7994 "sc-columns": ScColumns;
7995 "sc-compact-address": ScCompactAddress;
7996 "sc-consumer": ScConsumer;
7997 "sc-coupon-form": ScCouponForm;
7998 "sc-custom-order-price-input": ScCustomOrderPriceInput;
7999 "sc-customer-details": ScCustomerDetails;
8000 "sc-customer-edit": ScCustomerEdit;
8001 "sc-customer-email": ScCustomerEmail;
8002 "sc-customer-firstname": ScCustomerFirstname;
8003 "sc-customer-lastname": ScCustomerLastname;
8004 "sc-customer-name": ScCustomerName;
8005 "sc-dashboard-customer-details": ScDashboardCustomerDetails;
8006 "sc-dashboard-downloads-list": ScDashboardDownloadsList;
8007 "sc-dashboard-module": ScDashboardModule;
8008 "sc-dialog": ScDialog;
8009 "sc-divider": ScDivider;
8010 "sc-donation-choices": ScDonationChoices;
8011 "sc-downloads-list": ScDownloadsList;
8012 "sc-drawer": ScDrawer;
8013 "sc-dropdown": ScDropdown;
8014 "sc-empty": ScEmpty;
8015 "sc-error": ScError;
8016 "sc-express-payment": ScExpressPayment;
8017 "sc-flex": ScFlex;
8018 "sc-form": ScForm;
8019 "sc-form-components-validator": ScFormComponentsValidator;
8020 "sc-form-control": ScFormControl;
8021 "sc-form-error-provider": ScFormErrorProvider;
8022 "sc-form-row": ScFormRow;
8023 "sc-form-state-provider": ScFormStateProvider;
8024 "sc-format-bytes": ScFormatBytes;
8025 "sc-format-date": ScFormatDate;
8026 "sc-format-interval": ScFormatInterval;
8027 "sc-format-number": ScFormatNumber;
8028 "sc-heading": ScHeading;
8029 "sc-icon": ScIcon;
8030 "sc-input": ScInput;
8031 "sc-invoices-list": ScInvoicesList;
8032 "sc-licenses-list": ScLicensesList;
8033 "sc-line-item": ScLineItem;
8034 "sc-line-item-bump": ScLineItemBump;
8035 "sc-line-item-tax": ScLineItemTax;
8036 "sc-line-item-total": ScLineItemTotal;
8037 "sc-line-items": ScLineItems;
8038 "sc-line-items-provider": ScLineItemsProvider;
8039 "sc-login-form": ScLoginForm;
8040 "sc-login-provider": ScLoginProvider;
8041 "sc-menu": ScMenu;
8042 "sc-menu-divider": ScMenuDivider;
8043 "sc-menu-item": ScMenuItem;
8044 "sc-menu-label": ScMenuLabel;
8045 "sc-order": ScOrder;
8046 "sc-order-bump": ScOrderBump;
8047 "sc-order-bumps": ScOrderBumps;
8048 "sc-order-confirm-components-validator": ScOrderConfirmComponentsValidator;
8049 "sc-order-confirm-provider": ScOrderConfirmProvider;
8050 "sc-order-confirmation": ScOrderConfirmation;
8051 "sc-order-confirmation-customer": ScOrderConfirmationCustomer;
8052 "sc-order-confirmation-details": ScOrderConfirmationDetails;
8053 "sc-order-confirmation-line-items": ScOrderConfirmationLineItems;
8054 "sc-order-confirmation-totals": ScOrderConfirmationTotals;
8055 "sc-order-coupon-form": ScOrderCouponForm;
8056 "sc-order-detail": ScOrderDetail;
8057 "sc-order-manual-instructions": ScOrderManualInstructions;
8058 "sc-order-password": ScOrderPassword;
8059 "sc-order-shipping-address": ScOrderShippingAddress;
8060 "sc-order-status-badge": ScOrderStatusBadge;
8061 "sc-order-submit": ScOrderSubmit;
8062 "sc-order-summary": ScOrderSummary;
8063 "sc-order-tax-id-input": ScOrderTaxIdInput;
8064 "sc-orders-list": ScOrdersList;
8065 "sc-pagination": ScPagination;
8066 "sc-password-nag": ScPasswordNag;
8067 "sc-payment": ScPayment;
8068 "sc-payment-method": ScPaymentMethod;
8069 "sc-payment-method-choice": ScPaymentMethodChoice;
8070 "sc-payment-methods-list": ScPaymentMethodsList;
8071 "sc-payment-selected": ScPaymentSelected;
8072 "sc-paypal-add-method": ScPaypalAddMethod;
8073 "sc-paypal-buttons": ScPaypalButtons;
8074 "sc-price-choice": ScPriceChoice;
8075 "sc-price-choices": ScPriceChoices;
8076 "sc-price-input": ScPriceInput;
8077 "sc-product-line-item": ScProductLineItem;
8078 "sc-provider": ScProvider;
8079 "sc-purchase-downloads-list": ScPurchaseDownloadsList;
8080 "sc-quantity-select": ScQuantitySelect;
8081 "sc-radio": ScRadio;
8082 "sc-radio-group": ScRadioGroup;
8083 "sc-secure-notice": ScSecureNotice;
8084 "sc-select": ScSelect;
8085 "sc-session-provider": ScSessionProvider;
8086 "sc-skeleton": ScSkeleton;
8087 "sc-spacing": ScSpacing;
8088 "sc-spinner": ScSpinner;
8089 "sc-stacked-list": ScStackedList;
8090 "sc-stacked-list-row": ScStackedListRow;
8091 "sc-stripe-add-method": ScStripeAddMethod;
8092 "sc-stripe-element": ScStripeElement;
8093 "sc-stripe-payment-element": ScStripePaymentElement;
8094 "sc-stripe-payment-request": ScStripePaymentRequest;
8095 "sc-subscription": ScSubscription;
8096 "sc-subscription-ad-hoc-confirm": ScSubscriptionAdHocConfirm;
8097 "sc-subscription-cancel": ScSubscriptionCancel;
8098 "sc-subscription-details": ScSubscriptionDetails;
8099 "sc-subscription-payment": ScSubscriptionPayment;
8100 "sc-subscription-payment-method": ScSubscriptionPaymentMethod;
8101 "sc-subscription-renew": ScSubscriptionRenew;
8102 "sc-subscription-status-badge": ScSubscriptionStatusBadge;
8103 "sc-subscription-switch": ScSubscriptionSwitch;
8104 "sc-subscriptions-list": ScSubscriptionsList;
8105 "sc-switch": ScSwitch;
8106 "sc-tab": ScTab;
8107 "sc-tab-group": ScTabGroup;
8108 "sc-tab-panel": ScTabPanel;
8109 "sc-table": ScTable;
8110 "sc-table-cell": ScTableCell;
8111 "sc-table-head": ScTableHead;
8112 "sc-table-row": ScTableRow;
8113 "sc-tag": ScTag;
8114 "sc-tax-id-input": ScTaxIdInput;
8115 "sc-text": ScText;
8116 "sc-textarea": ScTextarea;
8117 "sc-toggle": ScToggle;
8118 "sc-toggles": ScToggles;
8119 "sc-tooltip": ScTooltip;
8120 "sc-total": ScTotal;
8121 "sc-upcoming-invoice": ScUpcomingInvoice;
8122 "sc-upgrade-required": ScUpgradeRequired;
8123 "sc-wordpress-password-edit": ScWordpressPasswordEdit;
8124 "sc-wordpress-user": ScWordpressUser;
8125 "sc-wordpress-user-edit": ScWordpressUserEdit;
8126 }
8127 }
8128 export { LocalJSX as JSX };
8129 declare module "@stencil/core" {
8130 export namespace JSX {
8131 interface IntrinsicElements {
8132 "sc-address": LocalJSX.ScAddress & JSXBase.HTMLAttributes<HTMLScAddressElement>;
8133 "sc-alert": LocalJSX.ScAlert & JSXBase.HTMLAttributes<HTMLScAlertElement>;
8134 "sc-badge-notice": LocalJSX.ScBadgeNotice & JSXBase.HTMLAttributes<HTMLScBadgeNoticeElement>;
8135 "sc-block-ui": LocalJSX.ScBlockUi & JSXBase.HTMLAttributes<HTMLScBlockUiElement>;
8136 "sc-breadcrumb": LocalJSX.ScBreadcrumb & JSXBase.HTMLAttributes<HTMLScBreadcrumbElement>;
8137 "sc-breadcrumbs": LocalJSX.ScBreadcrumbs & JSXBase.HTMLAttributes<HTMLScBreadcrumbsElement>;
8138 "sc-button": LocalJSX.ScButton & JSXBase.HTMLAttributes<HTMLScButtonElement>;
8139 "sc-button-group": LocalJSX.ScButtonGroup & JSXBase.HTMLAttributes<HTMLScButtonGroupElement>;
8140 "sc-card": LocalJSX.ScCard & JSXBase.HTMLAttributes<HTMLScCardElement>;
8141 "sc-cart": LocalJSX.ScCart & JSXBase.HTMLAttributes<HTMLScCartElement>;
8142 "sc-cart-form": LocalJSX.ScCartForm & JSXBase.HTMLAttributes<HTMLScCartFormElement>;
8143 "sc-cart-form-submit": LocalJSX.ScCartFormSubmit & JSXBase.HTMLAttributes<HTMLScCartFormSubmitElement>;
8144 "sc-cart-header": LocalJSX.ScCartHeader & JSXBase.HTMLAttributes<HTMLScCartHeaderElement>;
8145 "sc-cart-icon": LocalJSX.ScCartIcon & JSXBase.HTMLAttributes<HTMLScCartIconElement>;
8146 "sc-cart-loader": LocalJSX.ScCartLoader & JSXBase.HTMLAttributes<HTMLScCartLoaderElement>;
8147 "sc-cart-session-provider": LocalJSX.ScCartSessionProvider & JSXBase.HTMLAttributes<HTMLScCartSessionProviderElement>;
8148 "sc-cart-submit": LocalJSX.ScCartSubmit & JSXBase.HTMLAttributes<HTMLScCartSubmitElement>;
8149 "sc-cc-logo": LocalJSX.ScCcLogo & JSXBase.HTMLAttributes<HTMLScCcLogoElement>;
8150 "sc-charges-list": LocalJSX.ScChargesList & JSXBase.HTMLAttributes<HTMLScChargesListElement>;
8151 "sc-checkbox": LocalJSX.ScCheckbox & JSXBase.HTMLAttributes<HTMLScCheckboxElement>;
8152 "sc-checkout": LocalJSX.ScCheckout & JSXBase.HTMLAttributes<HTMLScCheckoutElement>;
8153 "sc-checkout-unsaved-changes-warning": LocalJSX.ScCheckoutUnsavedChangesWarning & JSXBase.HTMLAttributes<HTMLScCheckoutUnsavedChangesWarningElement>;
8154 "sc-choice": LocalJSX.ScChoice & JSXBase.HTMLAttributes<HTMLScChoiceElement>;
8155 "sc-choices": LocalJSX.ScChoices & JSXBase.HTMLAttributes<HTMLScChoicesElement>;
8156 "sc-column": LocalJSX.ScColumn & JSXBase.HTMLAttributes<HTMLScColumnElement>;
8157 "sc-columns": LocalJSX.ScColumns & JSXBase.HTMLAttributes<HTMLScColumnsElement>;
8158 "sc-compact-address": LocalJSX.ScCompactAddress & JSXBase.HTMLAttributes<HTMLScCompactAddressElement>;
8159 "sc-consumer": LocalJSX.ScConsumer & JSXBase.HTMLAttributes<HTMLScConsumerElement>;
8160 "sc-coupon-form": LocalJSX.ScCouponForm & JSXBase.HTMLAttributes<HTMLScCouponFormElement>;
8161 "sc-custom-order-price-input": LocalJSX.ScCustomOrderPriceInput & JSXBase.HTMLAttributes<HTMLScCustomOrderPriceInputElement>;
8162 "sc-customer-details": LocalJSX.ScCustomerDetails & JSXBase.HTMLAttributes<HTMLScCustomerDetailsElement>;
8163 "sc-customer-edit": LocalJSX.ScCustomerEdit & JSXBase.HTMLAttributes<HTMLScCustomerEditElement>;
8164 "sc-customer-email": LocalJSX.ScCustomerEmail & JSXBase.HTMLAttributes<HTMLScCustomerEmailElement>;
8165 "sc-customer-firstname": LocalJSX.ScCustomerFirstname & JSXBase.HTMLAttributes<HTMLScCustomerFirstnameElement>;
8166 "sc-customer-lastname": LocalJSX.ScCustomerLastname & JSXBase.HTMLAttributes<HTMLScCustomerLastnameElement>;
8167 "sc-customer-name": LocalJSX.ScCustomerName & JSXBase.HTMLAttributes<HTMLScCustomerNameElement>;
8168 "sc-dashboard-customer-details": LocalJSX.ScDashboardCustomerDetails & JSXBase.HTMLAttributes<HTMLScDashboardCustomerDetailsElement>;
8169 "sc-dashboard-downloads-list": LocalJSX.ScDashboardDownloadsList & JSXBase.HTMLAttributes<HTMLScDashboardDownloadsListElement>;
8170 "sc-dashboard-module": LocalJSX.ScDashboardModule & JSXBase.HTMLAttributes<HTMLScDashboardModuleElement>;
8171 "sc-dialog": LocalJSX.ScDialog & JSXBase.HTMLAttributes<HTMLScDialogElement>;
8172 "sc-divider": LocalJSX.ScDivider & JSXBase.HTMLAttributes<HTMLScDividerElement>;
8173 "sc-donation-choices": LocalJSX.ScDonationChoices & JSXBase.HTMLAttributes<HTMLScDonationChoicesElement>;
8174 "sc-downloads-list": LocalJSX.ScDownloadsList & JSXBase.HTMLAttributes<HTMLScDownloadsListElement>;
8175 "sc-drawer": LocalJSX.ScDrawer & JSXBase.HTMLAttributes<HTMLScDrawerElement>;
8176 "sc-dropdown": LocalJSX.ScDropdown & JSXBase.HTMLAttributes<HTMLScDropdownElement>;
8177 "sc-empty": LocalJSX.ScEmpty & JSXBase.HTMLAttributes<HTMLScEmptyElement>;
8178 "sc-error": LocalJSX.ScError & JSXBase.HTMLAttributes<HTMLScErrorElement>;
8179 "sc-express-payment": LocalJSX.ScExpressPayment & JSXBase.HTMLAttributes<HTMLScExpressPaymentElement>;
8180 "sc-flex": LocalJSX.ScFlex & JSXBase.HTMLAttributes<HTMLScFlexElement>;
8181 "sc-form": LocalJSX.ScForm & JSXBase.HTMLAttributes<HTMLScFormElement>;
8182 "sc-form-components-validator": LocalJSX.ScFormComponentsValidator & JSXBase.HTMLAttributes<HTMLScFormComponentsValidatorElement>;
8183 "sc-form-control": LocalJSX.ScFormControl & JSXBase.HTMLAttributes<HTMLScFormControlElement>;
8184 "sc-form-error-provider": LocalJSX.ScFormErrorProvider & JSXBase.HTMLAttributes<HTMLScFormErrorProviderElement>;
8185 "sc-form-row": LocalJSX.ScFormRow & JSXBase.HTMLAttributes<HTMLScFormRowElement>;
8186 "sc-form-state-provider": LocalJSX.ScFormStateProvider & JSXBase.HTMLAttributes<HTMLScFormStateProviderElement>;
8187 "sc-format-bytes": LocalJSX.ScFormatBytes & JSXBase.HTMLAttributes<HTMLScFormatBytesElement>;
8188 "sc-format-date": LocalJSX.ScFormatDate & JSXBase.HTMLAttributes<HTMLScFormatDateElement>;
8189 "sc-format-interval": LocalJSX.ScFormatInterval & JSXBase.HTMLAttributes<HTMLScFormatIntervalElement>;
8190 "sc-format-number": LocalJSX.ScFormatNumber & JSXBase.HTMLAttributes<HTMLScFormatNumberElement>;
8191 "sc-heading": LocalJSX.ScHeading & JSXBase.HTMLAttributes<HTMLScHeadingElement>;
8192 "sc-icon": LocalJSX.ScIcon & JSXBase.HTMLAttributes<HTMLScIconElement>;
8193 "sc-input": LocalJSX.ScInput & JSXBase.HTMLAttributes<HTMLScInputElement>;
8194 "sc-invoices-list": LocalJSX.ScInvoicesList & JSXBase.HTMLAttributes<HTMLScInvoicesListElement>;
8195 "sc-licenses-list": LocalJSX.ScLicensesList & JSXBase.HTMLAttributes<HTMLScLicensesListElement>;
8196 "sc-line-item": LocalJSX.ScLineItem & JSXBase.HTMLAttributes<HTMLScLineItemElement>;
8197 "sc-line-item-bump": LocalJSX.ScLineItemBump & JSXBase.HTMLAttributes<HTMLScLineItemBumpElement>;
8198 "sc-line-item-tax": LocalJSX.ScLineItemTax & JSXBase.HTMLAttributes<HTMLScLineItemTaxElement>;
8199 "sc-line-item-total": LocalJSX.ScLineItemTotal & JSXBase.HTMLAttributes<HTMLScLineItemTotalElement>;
8200 "sc-line-items": LocalJSX.ScLineItems & JSXBase.HTMLAttributes<HTMLScLineItemsElement>;
8201 "sc-line-items-provider": LocalJSX.ScLineItemsProvider & JSXBase.HTMLAttributes<HTMLScLineItemsProviderElement>;
8202 "sc-login-form": LocalJSX.ScLoginForm & JSXBase.HTMLAttributes<HTMLScLoginFormElement>;
8203 "sc-login-provider": LocalJSX.ScLoginProvider & JSXBase.HTMLAttributes<HTMLScLoginProviderElement>;
8204 "sc-menu": LocalJSX.ScMenu & JSXBase.HTMLAttributes<HTMLScMenuElement>;
8205 "sc-menu-divider": LocalJSX.ScMenuDivider & JSXBase.HTMLAttributes<HTMLScMenuDividerElement>;
8206 "sc-menu-item": LocalJSX.ScMenuItem & JSXBase.HTMLAttributes<HTMLScMenuItemElement>;
8207 "sc-menu-label": LocalJSX.ScMenuLabel & JSXBase.HTMLAttributes<HTMLScMenuLabelElement>;
8208 "sc-order": LocalJSX.ScOrder & JSXBase.HTMLAttributes<HTMLScOrderElement>;
8209 "sc-order-bump": LocalJSX.ScOrderBump & JSXBase.HTMLAttributes<HTMLScOrderBumpElement>;
8210 "sc-order-bumps": LocalJSX.ScOrderBumps & JSXBase.HTMLAttributes<HTMLScOrderBumpsElement>;
8211 "sc-order-confirm-components-validator": LocalJSX.ScOrderConfirmComponentsValidator & JSXBase.HTMLAttributes<HTMLScOrderConfirmComponentsValidatorElement>;
8212 "sc-order-confirm-provider": LocalJSX.ScOrderConfirmProvider & JSXBase.HTMLAttributes<HTMLScOrderConfirmProviderElement>;
8213 "sc-order-confirmation": LocalJSX.ScOrderConfirmation & JSXBase.HTMLAttributes<HTMLScOrderConfirmationElement>;
8214 "sc-order-confirmation-customer": LocalJSX.ScOrderConfirmationCustomer & JSXBase.HTMLAttributes<HTMLScOrderConfirmationCustomerElement>;
8215 "sc-order-confirmation-details": LocalJSX.ScOrderConfirmationDetails & JSXBase.HTMLAttributes<HTMLScOrderConfirmationDetailsElement>;
8216 "sc-order-confirmation-line-items": LocalJSX.ScOrderConfirmationLineItems & JSXBase.HTMLAttributes<HTMLScOrderConfirmationLineItemsElement>;
8217 "sc-order-confirmation-totals": LocalJSX.ScOrderConfirmationTotals & JSXBase.HTMLAttributes<HTMLScOrderConfirmationTotalsElement>;
8218 "sc-order-coupon-form": LocalJSX.ScOrderCouponForm & JSXBase.HTMLAttributes<HTMLScOrderCouponFormElement>;
8219 "sc-order-detail": LocalJSX.ScOrderDetail & JSXBase.HTMLAttributes<HTMLScOrderDetailElement>;
8220 "sc-order-manual-instructions": LocalJSX.ScOrderManualInstructions & JSXBase.HTMLAttributes<HTMLScOrderManualInstructionsElement>;
8221 "sc-order-password": LocalJSX.ScOrderPassword & JSXBase.HTMLAttributes<HTMLScOrderPasswordElement>;
8222 "sc-order-shipping-address": LocalJSX.ScOrderShippingAddress & JSXBase.HTMLAttributes<HTMLScOrderShippingAddressElement>;
8223 "sc-order-status-badge": LocalJSX.ScOrderStatusBadge & JSXBase.HTMLAttributes<HTMLScOrderStatusBadgeElement>;
8224 "sc-order-submit": LocalJSX.ScOrderSubmit & JSXBase.HTMLAttributes<HTMLScOrderSubmitElement>;
8225 "sc-order-summary": LocalJSX.ScOrderSummary & JSXBase.HTMLAttributes<HTMLScOrderSummaryElement>;
8226 "sc-order-tax-id-input": LocalJSX.ScOrderTaxIdInput & JSXBase.HTMLAttributes<HTMLScOrderTaxIdInputElement>;
8227 "sc-orders-list": LocalJSX.ScOrdersList & JSXBase.HTMLAttributes<HTMLScOrdersListElement>;
8228 "sc-pagination": LocalJSX.ScPagination & JSXBase.HTMLAttributes<HTMLScPaginationElement>;
8229 "sc-password-nag": LocalJSX.ScPasswordNag & JSXBase.HTMLAttributes<HTMLScPasswordNagElement>;
8230 "sc-payment": LocalJSX.ScPayment & JSXBase.HTMLAttributes<HTMLScPaymentElement>;
8231 "sc-payment-method": LocalJSX.ScPaymentMethod & JSXBase.HTMLAttributes<HTMLScPaymentMethodElement>;
8232 "sc-payment-method-choice": LocalJSX.ScPaymentMethodChoice & JSXBase.HTMLAttributes<HTMLScPaymentMethodChoiceElement>;
8233 "sc-payment-methods-list": LocalJSX.ScPaymentMethodsList & JSXBase.HTMLAttributes<HTMLScPaymentMethodsListElement>;
8234 "sc-payment-selected": LocalJSX.ScPaymentSelected & JSXBase.HTMLAttributes<HTMLScPaymentSelectedElement>;
8235 "sc-paypal-add-method": LocalJSX.ScPaypalAddMethod & JSXBase.HTMLAttributes<HTMLScPaypalAddMethodElement>;
8236 "sc-paypal-buttons": LocalJSX.ScPaypalButtons & JSXBase.HTMLAttributes<HTMLScPaypalButtonsElement>;
8237 "sc-price-choice": LocalJSX.ScPriceChoice & JSXBase.HTMLAttributes<HTMLScPriceChoiceElement>;
8238 "sc-price-choices": LocalJSX.ScPriceChoices & JSXBase.HTMLAttributes<HTMLScPriceChoicesElement>;
8239 "sc-price-input": LocalJSX.ScPriceInput & JSXBase.HTMLAttributes<HTMLScPriceInputElement>;
8240 "sc-product-line-item": LocalJSX.ScProductLineItem & JSXBase.HTMLAttributes<HTMLScProductLineItemElement>;
8241 "sc-provider": LocalJSX.ScProvider & JSXBase.HTMLAttributes<HTMLScProviderElement>;
8242 "sc-purchase-downloads-list": LocalJSX.ScPurchaseDownloadsList & JSXBase.HTMLAttributes<HTMLScPurchaseDownloadsListElement>;
8243 "sc-quantity-select": LocalJSX.ScQuantitySelect & JSXBase.HTMLAttributes<HTMLScQuantitySelectElement>;
8244 "sc-radio": LocalJSX.ScRadio & JSXBase.HTMLAttributes<HTMLScRadioElement>;
8245 "sc-radio-group": LocalJSX.ScRadioGroup & JSXBase.HTMLAttributes<HTMLScRadioGroupElement>;
8246 "sc-secure-notice": LocalJSX.ScSecureNotice & JSXBase.HTMLAttributes<HTMLScSecureNoticeElement>;
8247 "sc-select": LocalJSX.ScSelect & JSXBase.HTMLAttributes<HTMLScSelectElement>;
8248 "sc-session-provider": LocalJSX.ScSessionProvider & JSXBase.HTMLAttributes<HTMLScSessionProviderElement>;
8249 "sc-skeleton": LocalJSX.ScSkeleton & JSXBase.HTMLAttributes<HTMLScSkeletonElement>;
8250 "sc-spacing": LocalJSX.ScSpacing & JSXBase.HTMLAttributes<HTMLScSpacingElement>;
8251 "sc-spinner": LocalJSX.ScSpinner & JSXBase.HTMLAttributes<HTMLScSpinnerElement>;
8252 "sc-stacked-list": LocalJSX.ScStackedList & JSXBase.HTMLAttributes<HTMLScStackedListElement>;
8253 "sc-stacked-list-row": LocalJSX.ScStackedListRow & JSXBase.HTMLAttributes<HTMLScStackedListRowElement>;
8254 "sc-stripe-add-method": LocalJSX.ScStripeAddMethod & JSXBase.HTMLAttributes<HTMLScStripeAddMethodElement>;
8255 "sc-stripe-element": LocalJSX.ScStripeElement & JSXBase.HTMLAttributes<HTMLScStripeElementElement>;
8256 "sc-stripe-payment-element": LocalJSX.ScStripePaymentElement & JSXBase.HTMLAttributes<HTMLScStripePaymentElementElement>;
8257 "sc-stripe-payment-request": LocalJSX.ScStripePaymentRequest & JSXBase.HTMLAttributes<HTMLScStripePaymentRequestElement>;
8258 "sc-subscription": LocalJSX.ScSubscription & JSXBase.HTMLAttributes<HTMLScSubscriptionElement>;
8259 "sc-subscription-ad-hoc-confirm": LocalJSX.ScSubscriptionAdHocConfirm & JSXBase.HTMLAttributes<HTMLScSubscriptionAdHocConfirmElement>;
8260 "sc-subscription-cancel": LocalJSX.ScSubscriptionCancel & JSXBase.HTMLAttributes<HTMLScSubscriptionCancelElement>;
8261 "sc-subscription-details": LocalJSX.ScSubscriptionDetails & JSXBase.HTMLAttributes<HTMLScSubscriptionDetailsElement>;
8262 "sc-subscription-payment": LocalJSX.ScSubscriptionPayment & JSXBase.HTMLAttributes<HTMLScSubscriptionPaymentElement>;
8263 "sc-subscription-payment-method": LocalJSX.ScSubscriptionPaymentMethod & JSXBase.HTMLAttributes<HTMLScSubscriptionPaymentMethodElement>;
8264 "sc-subscription-renew": LocalJSX.ScSubscriptionRenew & JSXBase.HTMLAttributes<HTMLScSubscriptionRenewElement>;
8265 "sc-subscription-status-badge": LocalJSX.ScSubscriptionStatusBadge & JSXBase.HTMLAttributes<HTMLScSubscriptionStatusBadgeElement>;
8266 "sc-subscription-switch": LocalJSX.ScSubscriptionSwitch & JSXBase.HTMLAttributes<HTMLScSubscriptionSwitchElement>;
8267 "sc-subscriptions-list": LocalJSX.ScSubscriptionsList & JSXBase.HTMLAttributes<HTMLScSubscriptionsListElement>;
8268 "sc-switch": LocalJSX.ScSwitch & JSXBase.HTMLAttributes<HTMLScSwitchElement>;
8269 "sc-tab": LocalJSX.ScTab & JSXBase.HTMLAttributes<HTMLScTabElement>;
8270 "sc-tab-group": LocalJSX.ScTabGroup & JSXBase.HTMLAttributes<HTMLScTabGroupElement>;
8271 "sc-tab-panel": LocalJSX.ScTabPanel & JSXBase.HTMLAttributes<HTMLScTabPanelElement>;
8272 "sc-table": LocalJSX.ScTable & JSXBase.HTMLAttributes<HTMLScTableElement>;
8273 "sc-table-cell": LocalJSX.ScTableCell & JSXBase.HTMLAttributes<HTMLScTableCellElement>;
8274 "sc-table-head": LocalJSX.ScTableHead & JSXBase.HTMLAttributes<HTMLScTableHeadElement>;
8275 "sc-table-row": LocalJSX.ScTableRow & JSXBase.HTMLAttributes<HTMLScTableRowElement>;
8276 "sc-tag": LocalJSX.ScTag & JSXBase.HTMLAttributes<HTMLScTagElement>;
8277 "sc-tax-id-input": LocalJSX.ScTaxIdInput & JSXBase.HTMLAttributes<HTMLScTaxIdInputElement>;
8278 "sc-text": LocalJSX.ScText & JSXBase.HTMLAttributes<HTMLScTextElement>;
8279 "sc-textarea": LocalJSX.ScTextarea & JSXBase.HTMLAttributes<HTMLScTextareaElement>;
8280 "sc-toggle": LocalJSX.ScToggle & JSXBase.HTMLAttributes<HTMLScToggleElement>;
8281 "sc-toggles": LocalJSX.ScToggles & JSXBase.HTMLAttributes<HTMLScTogglesElement>;
8282 "sc-tooltip": LocalJSX.ScTooltip & JSXBase.HTMLAttributes<HTMLScTooltipElement>;
8283 "sc-total": LocalJSX.ScTotal & JSXBase.HTMLAttributes<HTMLScTotalElement>;
8284 "sc-upcoming-invoice": LocalJSX.ScUpcomingInvoice & JSXBase.HTMLAttributes<HTMLScUpcomingInvoiceElement>;
8285 "sc-upgrade-required": LocalJSX.ScUpgradeRequired & JSXBase.HTMLAttributes<HTMLScUpgradeRequiredElement>;
8286 "sc-wordpress-password-edit": LocalJSX.ScWordpressPasswordEdit & JSXBase.HTMLAttributes<HTMLScWordpressPasswordEditElement>;
8287 "sc-wordpress-user": LocalJSX.ScWordpressUser & JSXBase.HTMLAttributes<HTMLScWordpressUserElement>;
8288 "sc-wordpress-user-edit": LocalJSX.ScWordpressUserEdit & JSXBase.HTMLAttributes<HTMLScWordpressUserEditElement>;
8289 }
8290 }
8291 }
8292