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