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