@andespindola/ui-core 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +45 -0
- package/dist/cjs/floating-ui.dom-BPemvNRD.js +1542 -0
- package/dist/cjs/index-Cb1tfi_9.js +1728 -0
- package/dist/cjs/index.cjs.js +2 -0
- package/dist/cjs/loader.cjs.js +12 -0
- package/dist/cjs/ui-accordion-item.cjs.entry.js +27 -0
- package/dist/cjs/ui-accordion.cjs.entry.js +17 -0
- package/dist/cjs/ui-avatar.cjs.entry.js +19 -0
- package/dist/cjs/ui-badge.cjs.entry.js +19 -0
- package/dist/cjs/ui-button.cjs.entry.js +31 -0
- package/dist/cjs/ui-card.cjs.entry.js +17 -0
- package/dist/cjs/ui-checkbox.cjs.entry.js +34 -0
- package/dist/cjs/ui-dialog.cjs.entry.js +57 -0
- package/dist/cjs/ui-drawer.cjs.entry.js +59 -0
- package/dist/cjs/ui-dropdown-item.cjs.entry.js +27 -0
- package/dist/cjs/ui-dropdown-menu.cjs.entry.js +97 -0
- package/dist/cjs/ui-field.cjs.entry.js +19 -0
- package/dist/cjs/ui-input.cjs.entry.js +35 -0
- package/dist/cjs/ui-label.cjs.entry.js +17 -0
- package/dist/cjs/ui-loading-overlay.cjs.entry.js +24 -0
- package/dist/cjs/ui-popover.cjs.entry.js +94 -0
- package/dist/cjs/ui-progress.cjs.entry.js +33 -0
- package/dist/cjs/ui-radio-group.cjs.entry.js +49 -0
- package/dist/cjs/ui-reveal.cjs.entry.js +41 -0
- package/dist/cjs/ui-scroll-progress.cjs.entry.js +37 -0
- package/dist/cjs/ui-section.cjs.entry.js +23 -0
- package/dist/cjs/ui-select.cjs.entry.js +28 -0
- package/dist/cjs/ui-separator.cjs.entry.js +19 -0
- package/dist/cjs/ui-skeleton.cjs.entry.js +17 -0
- package/dist/cjs/ui-slider.cjs.entry.js +37 -0
- package/dist/cjs/ui-spinner.cjs.entry.js +19 -0
- package/dist/cjs/ui-switch.cjs.entry.js +34 -0
- package/dist/cjs/ui-tabs.cjs.entry.js +31 -0
- package/dist/cjs/ui-textarea.cjs.entry.js +35 -0
- package/dist/cjs/ui-theme-toggle.cjs.entry.js +65 -0
- package/dist/cjs/ui-toast.cjs.entry.js +67 -0
- package/dist/cjs/ui-toaster.cjs.entry.js +29 -0
- package/dist/cjs/ui-tooltip.cjs.entry.js +64 -0
- package/dist/cjs/uikit.cjs.js +24 -0
- package/dist/collection/collection-manifest.json +45 -0
- package/dist/collection/components/ui-accordion/ui-accordion.css +4 -0
- package/dist/collection/components/ui-accordion/ui-accordion.js +18 -0
- package/dist/collection/components/ui-accordion-item/ui-accordion-item.css +42 -0
- package/dist/collection/components/ui-accordion-item/ui-accordion-item.js +91 -0
- package/dist/collection/components/ui-avatar/ui-avatar.css +30 -0
- package/dist/collection/components/ui-avatar/ui-avatar.js +84 -0
- package/dist/collection/components/ui-badge/ui-badge.css +46 -0
- package/dist/collection/components/ui-badge/ui-badge.js +52 -0
- package/dist/collection/components/ui-button/ui-button.css +130 -0
- package/dist/collection/components/ui-button/ui-button.js +150 -0
- package/dist/collection/components/ui-card/ui-card.css +24 -0
- package/dist/collection/components/ui-card/ui-card.js +18 -0
- package/dist/collection/components/ui-checkbox/ui-checkbox.css +46 -0
- package/dist/collection/components/ui-checkbox/ui-checkbox.js +136 -0
- package/dist/collection/components/ui-dialog/ui-dialog.css +48 -0
- package/dist/collection/components/ui-dialog/ui-dialog.js +140 -0
- package/dist/collection/components/ui-drawer/ui-drawer.css +88 -0
- package/dist/collection/components/ui-drawer/ui-drawer.js +162 -0
- package/dist/collection/components/ui-dropdown-item/ui-dropdown-item.css +36 -0
- package/dist/collection/components/ui-dropdown-item/ui-dropdown-item.js +71 -0
- package/dist/collection/components/ui-dropdown-menu/ui-dropdown-menu.css +39 -0
- package/dist/collection/components/ui-dropdown-menu/ui-dropdown-menu.js +216 -0
- package/dist/collection/components/ui-field/ui-field.css +34 -0
- package/dist/collection/components/ui-field/ui-field.js +122 -0
- package/dist/collection/components/ui-input/ui-input.css +40 -0
- package/dist/collection/components/ui-input/ui-input.js +191 -0
- package/dist/collection/components/ui-label/ui-label.css +10 -0
- package/dist/collection/components/ui-label/ui-label.js +18 -0
- package/dist/collection/components/ui-loading-overlay/ui-loading-overlay.css +24 -0
- package/dist/collection/components/ui-loading-overlay/ui-loading-overlay.js +102 -0
- package/dist/collection/components/ui-popover/ui-popover.css +36 -0
- package/dist/collection/components/ui-popover/ui-popover.js +204 -0
- package/dist/collection/components/ui-progress/ui-progress.css +32 -0
- package/dist/collection/components/ui-progress/ui-progress.js +100 -0
- package/dist/collection/components/ui-radio-group/ui-radio-group.css +67 -0
- package/dist/collection/components/ui-radio-group/ui-radio-group.js +155 -0
- package/dist/collection/components/ui-reveal/ui-reveal.css +17 -0
- package/dist/collection/components/ui-reveal/ui-reveal.js +73 -0
- package/dist/collection/components/ui-scroll-progress/ui-scroll-progress.css +20 -0
- package/dist/collection/components/ui-scroll-progress/ui-scroll-progress.js +45 -0
- package/dist/collection/components/ui-section/ui-section.css +32 -0
- package/dist/collection/components/ui-section/ui-section.js +90 -0
- package/dist/collection/components/ui-select/ui-select.css +49 -0
- package/dist/collection/components/ui-select/ui-select.js +153 -0
- package/dist/collection/components/ui-separator/ui-separator.css +15 -0
- package/dist/collection/components/ui-separator/ui-separator.js +52 -0
- package/dist/collection/components/ui-skeleton/ui-skeleton.css +27 -0
- package/dist/collection/components/ui-skeleton/ui-skeleton.js +18 -0
- package/dist/collection/components/ui-slider/ui-slider.css +80 -0
- package/dist/collection/components/ui-slider/ui-slider.js +175 -0
- package/dist/collection/components/ui-spinner/ui-spinner.css +39 -0
- package/dist/collection/components/ui-spinner/ui-spinner.js +52 -0
- package/dist/collection/components/ui-switch/ui-switch.css +47 -0
- package/dist/collection/components/ui-switch/ui-switch.js +98 -0
- package/dist/collection/components/ui-tabs/ui-tabs.css +38 -0
- package/dist/collection/components/ui-tabs/ui-tabs.js +99 -0
- package/dist/collection/components/ui-textarea/ui-textarea.css +42 -0
- package/dist/collection/components/ui-textarea/ui-textarea.js +191 -0
- package/dist/collection/components/ui-theme-toggle/ui-theme-toggle.css +28 -0
- package/dist/collection/components/ui-theme-toggle/ui-theme-toggle.js +90 -0
- package/dist/collection/components/ui-toast/ui-toast.css +81 -0
- package/dist/collection/components/ui-toast/ui-toast.js +234 -0
- package/dist/collection/components/ui-toaster/ui-toaster.css +15 -0
- package/dist/collection/components/ui-toaster/ui-toaster.js +67 -0
- package/dist/collection/components/ui-tooltip/ui-tooltip.css +37 -0
- package/dist/collection/components/ui-tooltip/ui-tooltip.js +143 -0
- package/dist/collection/index.js +1 -0
- package/dist/components/index.d.ts +35 -0
- package/dist/components/index.js +1 -0
- package/dist/components/p-Bz9HyboB.js +1 -0
- package/dist/components/p-C8ePpPG3.js +1 -0
- package/dist/components/p-CyBRmmbs.js +1 -0
- package/dist/components/ui-accordion-item.d.ts +11 -0
- package/dist/components/ui-accordion-item.js +1 -0
- package/dist/components/ui-accordion.d.ts +11 -0
- package/dist/components/ui-accordion.js +1 -0
- package/dist/components/ui-avatar.d.ts +11 -0
- package/dist/components/ui-avatar.js +1 -0
- package/dist/components/ui-badge.d.ts +11 -0
- package/dist/components/ui-badge.js +1 -0
- package/dist/components/ui-button.d.ts +11 -0
- package/dist/components/ui-button.js +1 -0
- package/dist/components/ui-card.d.ts +11 -0
- package/dist/components/ui-card.js +1 -0
- package/dist/components/ui-checkbox.d.ts +11 -0
- package/dist/components/ui-checkbox.js +1 -0
- package/dist/components/ui-dialog.d.ts +11 -0
- package/dist/components/ui-dialog.js +1 -0
- package/dist/components/ui-drawer.d.ts +11 -0
- package/dist/components/ui-drawer.js +1 -0
- package/dist/components/ui-dropdown-item.d.ts +11 -0
- package/dist/components/ui-dropdown-item.js +1 -0
- package/dist/components/ui-dropdown-menu.d.ts +11 -0
- package/dist/components/ui-dropdown-menu.js +1 -0
- package/dist/components/ui-field.d.ts +11 -0
- package/dist/components/ui-field.js +1 -0
- package/dist/components/ui-input.d.ts +11 -0
- package/dist/components/ui-input.js +1 -0
- package/dist/components/ui-label.d.ts +11 -0
- package/dist/components/ui-label.js +1 -0
- package/dist/components/ui-loading-overlay.d.ts +11 -0
- package/dist/components/ui-loading-overlay.js +1 -0
- package/dist/components/ui-popover.d.ts +11 -0
- package/dist/components/ui-popover.js +1 -0
- package/dist/components/ui-progress.d.ts +11 -0
- package/dist/components/ui-progress.js +1 -0
- package/dist/components/ui-radio-group.d.ts +11 -0
- package/dist/components/ui-radio-group.js +1 -0
- package/dist/components/ui-reveal.d.ts +11 -0
- package/dist/components/ui-reveal.js +1 -0
- package/dist/components/ui-scroll-progress.d.ts +11 -0
- package/dist/components/ui-scroll-progress.js +1 -0
- package/dist/components/ui-section.d.ts +11 -0
- package/dist/components/ui-section.js +1 -0
- package/dist/components/ui-select.d.ts +11 -0
- package/dist/components/ui-select.js +1 -0
- package/dist/components/ui-separator.d.ts +11 -0
- package/dist/components/ui-separator.js +1 -0
- package/dist/components/ui-skeleton.d.ts +11 -0
- package/dist/components/ui-skeleton.js +1 -0
- package/dist/components/ui-slider.d.ts +11 -0
- package/dist/components/ui-slider.js +1 -0
- package/dist/components/ui-spinner.d.ts +11 -0
- package/dist/components/ui-spinner.js +1 -0
- package/dist/components/ui-switch.d.ts +11 -0
- package/dist/components/ui-switch.js +1 -0
- package/dist/components/ui-tabs.d.ts +11 -0
- package/dist/components/ui-tabs.js +1 -0
- package/dist/components/ui-textarea.d.ts +11 -0
- package/dist/components/ui-textarea.js +1 -0
- package/dist/components/ui-theme-toggle.d.ts +11 -0
- package/dist/components/ui-theme-toggle.js +1 -0
- package/dist/components/ui-toast.d.ts +11 -0
- package/dist/components/ui-toast.js +1 -0
- package/dist/components/ui-toaster.d.ts +11 -0
- package/dist/components/ui-toaster.js +1 -0
- package/dist/components/ui-tooltip.d.ts +11 -0
- package/dist/components/ui-tooltip.js +1 -0
- package/dist/esm/floating-ui.dom-CyBRmmbs.js +1536 -0
- package/dist/esm/index-DYwlrXg_.js +1718 -0
- package/dist/esm/index.js +1 -0
- package/dist/esm/loader.js +10 -0
- package/dist/esm/ui-accordion-item.entry.js +25 -0
- package/dist/esm/ui-accordion.entry.js +15 -0
- package/dist/esm/ui-avatar.entry.js +17 -0
- package/dist/esm/ui-badge.entry.js +17 -0
- package/dist/esm/ui-button.entry.js +29 -0
- package/dist/esm/ui-card.entry.js +15 -0
- package/dist/esm/ui-checkbox.entry.js +32 -0
- package/dist/esm/ui-dialog.entry.js +55 -0
- package/dist/esm/ui-drawer.entry.js +57 -0
- package/dist/esm/ui-dropdown-item.entry.js +25 -0
- package/dist/esm/ui-dropdown-menu.entry.js +95 -0
- package/dist/esm/ui-field.entry.js +17 -0
- package/dist/esm/ui-input.entry.js +33 -0
- package/dist/esm/ui-label.entry.js +15 -0
- package/dist/esm/ui-loading-overlay.entry.js +22 -0
- package/dist/esm/ui-popover.entry.js +92 -0
- package/dist/esm/ui-progress.entry.js +31 -0
- package/dist/esm/ui-radio-group.entry.js +47 -0
- package/dist/esm/ui-reveal.entry.js +39 -0
- package/dist/esm/ui-scroll-progress.entry.js +35 -0
- package/dist/esm/ui-section.entry.js +21 -0
- package/dist/esm/ui-select.entry.js +26 -0
- package/dist/esm/ui-separator.entry.js +17 -0
- package/dist/esm/ui-skeleton.entry.js +15 -0
- package/dist/esm/ui-slider.entry.js +35 -0
- package/dist/esm/ui-spinner.entry.js +17 -0
- package/dist/esm/ui-switch.entry.js +32 -0
- package/dist/esm/ui-tabs.entry.js +29 -0
- package/dist/esm/ui-textarea.entry.js +33 -0
- package/dist/esm/ui-theme-toggle.entry.js +63 -0
- package/dist/esm/ui-toast.entry.js +65 -0
- package/dist/esm/ui-toaster.entry.js +27 -0
- package/dist/esm/ui-tooltip.entry.js +62 -0
- package/dist/esm/uikit.js +20 -0
- package/dist/index.cjs.js +1 -0
- package/dist/index.js +1 -0
- package/dist/types/components/ui-accordion/ui-accordion.d.ts +3 -0
- package/dist/types/components/ui-accordion-item/ui-accordion-item.d.ts +11 -0
- package/dist/types/components/ui-avatar/ui-avatar.d.ts +9 -0
- package/dist/types/components/ui-badge/ui-badge.d.ts +6 -0
- package/dist/types/components/ui-button/ui-button.d.ts +15 -0
- package/dist/types/components/ui-card/ui-card.d.ts +3 -0
- package/dist/types/components/ui-checkbox/ui-checkbox.d.ts +16 -0
- package/dist/types/components/ui-dialog/ui-dialog.d.ts +18 -0
- package/dist/types/components/ui-drawer/ui-drawer.d.ts +20 -0
- package/dist/types/components/ui-dropdown-item/ui-dropdown-item.d.ts +10 -0
- package/dist/types/components/ui-dropdown-menu/ui-dropdown-menu.d.ts +28 -0
- package/dist/types/components/ui-field/ui-field.d.ts +13 -0
- package/dist/types/components/ui-input/ui-input.d.ts +22 -0
- package/dist/types/components/ui-label/ui-label.d.ts +3 -0
- package/dist/types/components/ui-loading-overlay/ui-loading-overlay.d.ts +15 -0
- package/dist/types/components/ui-popover/ui-popover.d.ts +27 -0
- package/dist/types/components/ui-progress/ui-progress.d.ts +11 -0
- package/dist/types/components/ui-radio-group/ui-radio-group.d.ts +20 -0
- package/dist/types/components/ui-reveal/ui-reveal.d.ts +11 -0
- package/dist/types/components/ui-scroll-progress/ui-scroll-progress.d.ts +8 -0
- package/dist/types/components/ui-section/ui-section.d.ts +9 -0
- package/dist/types/components/ui-select/ui-select.d.ts +21 -0
- package/dist/types/components/ui-separator/ui-separator.d.ts +6 -0
- package/dist/types/components/ui-skeleton/ui-skeleton.d.ts +3 -0
- package/dist/types/components/ui-slider/ui-slider.d.ts +20 -0
- package/dist/types/components/ui-spinner/ui-spinner.d.ts +6 -0
- package/dist/types/components/ui-switch/ui-switch.d.ts +12 -0
- package/dist/types/components/ui-tabs/ui-tabs.d.ts +15 -0
- package/dist/types/components/ui-textarea/ui-textarea.d.ts +22 -0
- package/dist/types/components/ui-theme-toggle/ui-theme-toggle.d.ts +13 -0
- package/dist/types/components/ui-toast/ui-toast.d.ts +28 -0
- package/dist/types/components/ui-toaster/ui-toaster.d.ts +19 -0
- package/dist/types/components/ui-tooltip/ui-tooltip.d.ts +21 -0
- package/dist/types/components.d.ts +1727 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/stencil-public-runtime.d.ts +1861 -0
- package/dist/uikit/index.esm.js +0 -0
- package/dist/uikit/p-06d6d907.entry.js +1 -0
- package/dist/uikit/p-0fb4949b.entry.js +1 -0
- package/dist/uikit/p-162302d1.entry.js +1 -0
- package/dist/uikit/p-19b81437.entry.js +1 -0
- package/dist/uikit/p-24edfe3e.entry.js +1 -0
- package/dist/uikit/p-3d30bc7a.entry.js +1 -0
- package/dist/uikit/p-4382718f.entry.js +1 -0
- package/dist/uikit/p-4a1abc1c.entry.js +1 -0
- package/dist/uikit/p-57058c30.entry.js +1 -0
- package/dist/uikit/p-5df32809.entry.js +1 -0
- package/dist/uikit/p-5ea42ee5.entry.js +1 -0
- package/dist/uikit/p-629c1728.entry.js +1 -0
- package/dist/uikit/p-76f0f79f.entry.js +1 -0
- package/dist/uikit/p-83159bfc.entry.js +1 -0
- package/dist/uikit/p-8bcd423c.entry.js +1 -0
- package/dist/uikit/p-8cebbe65.entry.js +1 -0
- package/dist/uikit/p-90d49509.entry.js +1 -0
- package/dist/uikit/p-94fb298e.entry.js +1 -0
- package/dist/uikit/p-9aa557d1.entry.js +1 -0
- package/dist/uikit/p-9c57cf57.entry.js +1 -0
- package/dist/uikit/p-9d784b04.entry.js +1 -0
- package/dist/uikit/p-9e7b81ef.entry.js +1 -0
- package/dist/uikit/p-9f7c6ca8.entry.js +1 -0
- package/dist/uikit/p-CyBRmmbs.js +1 -0
- package/dist/uikit/p-DYwlrXg_.js +2 -0
- package/dist/uikit/p-a7be1c69.entry.js +1 -0
- package/dist/uikit/p-b30aa6a6.entry.js +1 -0
- package/dist/uikit/p-b61e3df4.entry.js +1 -0
- package/dist/uikit/p-c72ed105.entry.js +1 -0
- package/dist/uikit/p-cb2adfb7.entry.js +1 -0
- package/dist/uikit/p-cf10ca3b.entry.js +1 -0
- package/dist/uikit/p-e410c789.entry.js +1 -0
- package/dist/uikit/p-f7402442.entry.js +1 -0
- package/dist/uikit/p-fd05c146.entry.js +1 -0
- package/dist/uikit/p-fd1648bf.entry.js +1 -0
- package/dist/uikit/uikit.css +6 -0
- package/dist/uikit/uikit.esm.js +1 -0
- package/loader/cdn.js +1 -0
- package/loader/index.cjs.js +1 -0
- package/loader/index.d.ts +24 -0
- package/loader/index.es2017.js +1 -0
- package/loader/index.js +2 -0
- package/package.json +48 -0
|
@@ -0,0 +1,1727 @@
|
|
|
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 { UiBadgeVariant } from "./components/ui-badge/ui-badge";
|
|
9
|
+
import { UiButtonSize, UiButtonVariant } from "./components/ui-button/ui-button";
|
|
10
|
+
import { Placement } from "@floating-ui/dom";
|
|
11
|
+
import { UiSpinnerSize } from "./components/ui-spinner/ui-spinner";
|
|
12
|
+
import { UiRadioOption } from "./components/ui-radio-group/ui-radio-group";
|
|
13
|
+
import { UiSelectOption } from "./components/ui-select/ui-select";
|
|
14
|
+
import { UiSeparatorOrientation } from "./components/ui-separator/ui-separator";
|
|
15
|
+
import { UiSpinnerSize as UiSpinnerSize1 } from "./components/ui-spinner/ui-spinner";
|
|
16
|
+
import { UiTabItem } from "./components/ui-tabs/ui-tabs";
|
|
17
|
+
import { UiToastVariant } from "./components/ui-toast/ui-toast";
|
|
18
|
+
import { UiToastOptions } from "./components/ui-toaster/ui-toaster";
|
|
19
|
+
export { UiBadgeVariant } from "./components/ui-badge/ui-badge";
|
|
20
|
+
export { UiButtonSize, UiButtonVariant } from "./components/ui-button/ui-button";
|
|
21
|
+
export { Placement } from "@floating-ui/dom";
|
|
22
|
+
export { UiSpinnerSize } from "./components/ui-spinner/ui-spinner";
|
|
23
|
+
export { UiRadioOption } from "./components/ui-radio-group/ui-radio-group";
|
|
24
|
+
export { UiSelectOption } from "./components/ui-select/ui-select";
|
|
25
|
+
export { UiSeparatorOrientation } from "./components/ui-separator/ui-separator";
|
|
26
|
+
export { UiSpinnerSize as UiSpinnerSize1 } from "./components/ui-spinner/ui-spinner";
|
|
27
|
+
export { UiTabItem } from "./components/ui-tabs/ui-tabs";
|
|
28
|
+
export { UiToastVariant } from "./components/ui-toast/ui-toast";
|
|
29
|
+
export { UiToastOptions } from "./components/ui-toaster/ui-toaster";
|
|
30
|
+
export namespace Components {
|
|
31
|
+
interface UiAccordion {
|
|
32
|
+
}
|
|
33
|
+
interface UiAccordionItem {
|
|
34
|
+
/**
|
|
35
|
+
* Título exibido no cabeçalho.
|
|
36
|
+
* @default ""
|
|
37
|
+
*/
|
|
38
|
+
"heading": string;
|
|
39
|
+
/**
|
|
40
|
+
* Estado aberto/fechado.
|
|
41
|
+
* @default false
|
|
42
|
+
*/
|
|
43
|
+
"open": boolean;
|
|
44
|
+
}
|
|
45
|
+
interface UiAvatar {
|
|
46
|
+
/**
|
|
47
|
+
* Texto alternativo da imagem.
|
|
48
|
+
* @default ""
|
|
49
|
+
*/
|
|
50
|
+
"alt": string;
|
|
51
|
+
/**
|
|
52
|
+
* Texto exibido quando não há imagem (ex.: iniciais).
|
|
53
|
+
*/
|
|
54
|
+
"fallback"?: string;
|
|
55
|
+
/**
|
|
56
|
+
* URL da imagem do avatar.
|
|
57
|
+
*/
|
|
58
|
+
"src"?: string;
|
|
59
|
+
}
|
|
60
|
+
interface UiBadge {
|
|
61
|
+
/**
|
|
62
|
+
* Variante visual.
|
|
63
|
+
* @default "default"
|
|
64
|
+
*/
|
|
65
|
+
"variant": UiBadgeVariant;
|
|
66
|
+
}
|
|
67
|
+
interface UiButton {
|
|
68
|
+
/**
|
|
69
|
+
* Desabilita o botão.
|
|
70
|
+
* @default false
|
|
71
|
+
*/
|
|
72
|
+
"disabled": boolean;
|
|
73
|
+
/**
|
|
74
|
+
* Exibe spinner e desabilita durante uma ação assíncrona.
|
|
75
|
+
* @default false
|
|
76
|
+
*/
|
|
77
|
+
"loading": boolean;
|
|
78
|
+
/**
|
|
79
|
+
* Tamanho.
|
|
80
|
+
* @default "md"
|
|
81
|
+
*/
|
|
82
|
+
"size": UiButtonSize;
|
|
83
|
+
/**
|
|
84
|
+
* Tipo do botão nativo.
|
|
85
|
+
* @default "button"
|
|
86
|
+
*/
|
|
87
|
+
"type": "button" | "submit" | "reset";
|
|
88
|
+
/**
|
|
89
|
+
* Variante visual.
|
|
90
|
+
* @default "default"
|
|
91
|
+
*/
|
|
92
|
+
"variant": UiButtonVariant;
|
|
93
|
+
}
|
|
94
|
+
interface UiCard {
|
|
95
|
+
}
|
|
96
|
+
interface UiCheckbox {
|
|
97
|
+
/**
|
|
98
|
+
* Estado marcado/desmarcado.
|
|
99
|
+
* @default false
|
|
100
|
+
*/
|
|
101
|
+
"checked": boolean;
|
|
102
|
+
/**
|
|
103
|
+
* Desabilita o controle.
|
|
104
|
+
* @default false
|
|
105
|
+
*/
|
|
106
|
+
"disabled": boolean;
|
|
107
|
+
/**
|
|
108
|
+
* Nome do campo.
|
|
109
|
+
*/
|
|
110
|
+
"name"?: string;
|
|
111
|
+
/**
|
|
112
|
+
* Valor associado.
|
|
113
|
+
*/
|
|
114
|
+
"value"?: string;
|
|
115
|
+
}
|
|
116
|
+
interface UiDialog {
|
|
117
|
+
/**
|
|
118
|
+
* Fecha o modal imperativamente.
|
|
119
|
+
*/
|
|
120
|
+
"close": () => Promise<void>;
|
|
121
|
+
/**
|
|
122
|
+
* Controla a abertura do modal.
|
|
123
|
+
* @default false
|
|
124
|
+
*/
|
|
125
|
+
"open": boolean;
|
|
126
|
+
/**
|
|
127
|
+
* Abre o modal imperativamente.
|
|
128
|
+
*/
|
|
129
|
+
"show": () => Promise<void>;
|
|
130
|
+
}
|
|
131
|
+
interface UiDrawer {
|
|
132
|
+
/**
|
|
133
|
+
* Fecha o painel imperativamente.
|
|
134
|
+
*/
|
|
135
|
+
"close": () => Promise<void>;
|
|
136
|
+
/**
|
|
137
|
+
* Controla a abertura do painel lateral.
|
|
138
|
+
* @default false
|
|
139
|
+
*/
|
|
140
|
+
"open": boolean;
|
|
141
|
+
/**
|
|
142
|
+
* Abre o painel imperativamente.
|
|
143
|
+
*/
|
|
144
|
+
"show": () => Promise<void>;
|
|
145
|
+
/**
|
|
146
|
+
* Borda onde o painel é ancorado.
|
|
147
|
+
* @default "right"
|
|
148
|
+
*/
|
|
149
|
+
"side": "right" | "bottom";
|
|
150
|
+
}
|
|
151
|
+
interface UiDropdownItem {
|
|
152
|
+
/**
|
|
153
|
+
* Desabilita o item, impedindo seleção.
|
|
154
|
+
* @default false
|
|
155
|
+
*/
|
|
156
|
+
"disabled": boolean;
|
|
157
|
+
}
|
|
158
|
+
interface UiDropdownMenu {
|
|
159
|
+
/**
|
|
160
|
+
* Fecha o menu imperativamente.
|
|
161
|
+
*/
|
|
162
|
+
"close": () => Promise<void>;
|
|
163
|
+
/**
|
|
164
|
+
* Controla a abertura do menu.
|
|
165
|
+
* @default false
|
|
166
|
+
*/
|
|
167
|
+
"open": boolean;
|
|
168
|
+
/**
|
|
169
|
+
* Posição preferida do menu relativo ao gatilho.
|
|
170
|
+
* @default "bottom"
|
|
171
|
+
*/
|
|
172
|
+
"placement": Placement;
|
|
173
|
+
/**
|
|
174
|
+
* Abre o menu imperativamente.
|
|
175
|
+
*/
|
|
176
|
+
"show": () => Promise<void>;
|
|
177
|
+
}
|
|
178
|
+
interface UiField {
|
|
179
|
+
/**
|
|
180
|
+
* Texto auxiliar exibido abaixo do controle.
|
|
181
|
+
*/
|
|
182
|
+
"description"?: string;
|
|
183
|
+
/**
|
|
184
|
+
* Mensagem de erro; quando presente substitui a descrição.
|
|
185
|
+
*/
|
|
186
|
+
"error"?: string;
|
|
187
|
+
/**
|
|
188
|
+
* Id do controle associado ao rótulo.
|
|
189
|
+
*/
|
|
190
|
+
"fieldId"?: string;
|
|
191
|
+
/**
|
|
192
|
+
* Texto do rótulo.
|
|
193
|
+
*/
|
|
194
|
+
"label"?: string;
|
|
195
|
+
/**
|
|
196
|
+
* Marca o campo como obrigatório (asterisco).
|
|
197
|
+
* @default false
|
|
198
|
+
*/
|
|
199
|
+
"required": boolean;
|
|
200
|
+
}
|
|
201
|
+
interface UiInput {
|
|
202
|
+
/**
|
|
203
|
+
* Desabilita o campo.
|
|
204
|
+
* @default false
|
|
205
|
+
*/
|
|
206
|
+
"disabled": boolean;
|
|
207
|
+
/**
|
|
208
|
+
* Marca o campo como inválido (estilo + aria-invalid).
|
|
209
|
+
* @default false
|
|
210
|
+
*/
|
|
211
|
+
"invalid": boolean;
|
|
212
|
+
/**
|
|
213
|
+
* Nome do campo.
|
|
214
|
+
*/
|
|
215
|
+
"name"?: string;
|
|
216
|
+
/**
|
|
217
|
+
* Placeholder.
|
|
218
|
+
*/
|
|
219
|
+
"placeholder"?: string;
|
|
220
|
+
/**
|
|
221
|
+
* Tipo do input nativo.
|
|
222
|
+
* @default "text"
|
|
223
|
+
*/
|
|
224
|
+
"type": string;
|
|
225
|
+
/**
|
|
226
|
+
* Valor do campo.
|
|
227
|
+
* @default ""
|
|
228
|
+
*/
|
|
229
|
+
"value": string;
|
|
230
|
+
}
|
|
231
|
+
interface UiLabel {
|
|
232
|
+
}
|
|
233
|
+
/**
|
|
234
|
+
* Sobreposição de carregamento que cobre o elemento pai.
|
|
235
|
+
* O host pai deve ter `position: relative` para que a sobreposição
|
|
236
|
+
* absoluta (inset 0) o cubra corretamente.
|
|
237
|
+
*/
|
|
238
|
+
interface UiLoadingOverlay {
|
|
239
|
+
/**
|
|
240
|
+
* Texto opcional exibido abaixo do spinner.
|
|
241
|
+
*/
|
|
242
|
+
"label"?: string;
|
|
243
|
+
/**
|
|
244
|
+
* Tamanho do spinner.
|
|
245
|
+
* @default "md"
|
|
246
|
+
*/
|
|
247
|
+
"spinnerSize": UiSpinnerSize;
|
|
248
|
+
/**
|
|
249
|
+
* Controla a exibição da sobreposição.
|
|
250
|
+
* @default false
|
|
251
|
+
*/
|
|
252
|
+
"visible": boolean;
|
|
253
|
+
}
|
|
254
|
+
interface UiPopover {
|
|
255
|
+
/**
|
|
256
|
+
* Fecha o popover imperativamente.
|
|
257
|
+
*/
|
|
258
|
+
"close": () => Promise<void>;
|
|
259
|
+
/**
|
|
260
|
+
* Controla a abertura do conteúdo flutuante.
|
|
261
|
+
* @default false
|
|
262
|
+
*/
|
|
263
|
+
"open": boolean;
|
|
264
|
+
/**
|
|
265
|
+
* Posição preferida do conteúdo relativo ao gatilho.
|
|
266
|
+
* @default "bottom"
|
|
267
|
+
*/
|
|
268
|
+
"placement": Placement;
|
|
269
|
+
/**
|
|
270
|
+
* Abre o popover imperativamente.
|
|
271
|
+
*/
|
|
272
|
+
"show": () => Promise<void>;
|
|
273
|
+
}
|
|
274
|
+
interface UiProgress {
|
|
275
|
+
/**
|
|
276
|
+
* Força o estado indeterminado.
|
|
277
|
+
* @default false
|
|
278
|
+
*/
|
|
279
|
+
"indeterminate": boolean;
|
|
280
|
+
/**
|
|
281
|
+
* Valor máximo.
|
|
282
|
+
* @default 100
|
|
283
|
+
*/
|
|
284
|
+
"max": number;
|
|
285
|
+
/**
|
|
286
|
+
* Valor atual do progresso. `null` torna o componente indeterminado.
|
|
287
|
+
* @default null
|
|
288
|
+
*/
|
|
289
|
+
"value": number | null;
|
|
290
|
+
}
|
|
291
|
+
interface UiRadioGroup {
|
|
292
|
+
/**
|
|
293
|
+
* Desabilita o grupo.
|
|
294
|
+
* @default false
|
|
295
|
+
*/
|
|
296
|
+
"disabled": boolean;
|
|
297
|
+
/**
|
|
298
|
+
* Nome do grupo.
|
|
299
|
+
*/
|
|
300
|
+
"name"?: string;
|
|
301
|
+
/**
|
|
302
|
+
* Opções disponíveis.
|
|
303
|
+
* @default []
|
|
304
|
+
*/
|
|
305
|
+
"options": UiRadioOption[];
|
|
306
|
+
/**
|
|
307
|
+
* Valor selecionado.
|
|
308
|
+
*/
|
|
309
|
+
"value"?: string;
|
|
310
|
+
}
|
|
311
|
+
interface UiReveal {
|
|
312
|
+
/**
|
|
313
|
+
* Atraso da transição em milissegundos.
|
|
314
|
+
* @default 0
|
|
315
|
+
*/
|
|
316
|
+
"delay": number;
|
|
317
|
+
}
|
|
318
|
+
interface UiScrollProgress {
|
|
319
|
+
}
|
|
320
|
+
interface UiSection {
|
|
321
|
+
/**
|
|
322
|
+
* Descrição complementar.
|
|
323
|
+
* @default ""
|
|
324
|
+
*/
|
|
325
|
+
"description": string;
|
|
326
|
+
/**
|
|
327
|
+
* Texto curto exibido acima do título.
|
|
328
|
+
* @default ""
|
|
329
|
+
*/
|
|
330
|
+
"eyebrow": string;
|
|
331
|
+
/**
|
|
332
|
+
* Título principal da seção.
|
|
333
|
+
* @default ""
|
|
334
|
+
*/
|
|
335
|
+
"heading": string;
|
|
336
|
+
}
|
|
337
|
+
interface UiSelect {
|
|
338
|
+
/**
|
|
339
|
+
* Desabilita o controle.
|
|
340
|
+
* @default false
|
|
341
|
+
*/
|
|
342
|
+
"disabled": boolean;
|
|
343
|
+
/**
|
|
344
|
+
* Nome do campo.
|
|
345
|
+
*/
|
|
346
|
+
"name"?: string;
|
|
347
|
+
/**
|
|
348
|
+
* Opções disponíveis.
|
|
349
|
+
* @default []
|
|
350
|
+
*/
|
|
351
|
+
"options": UiSelectOption[];
|
|
352
|
+
/**
|
|
353
|
+
* Placeholder exibido como opção desabilitada inicial.
|
|
354
|
+
*/
|
|
355
|
+
"placeholder"?: string;
|
|
356
|
+
/**
|
|
357
|
+
* Valor selecionado.
|
|
358
|
+
*/
|
|
359
|
+
"value"?: string;
|
|
360
|
+
}
|
|
361
|
+
interface UiSeparator {
|
|
362
|
+
/**
|
|
363
|
+
* Orientação da linha.
|
|
364
|
+
* @default "horizontal"
|
|
365
|
+
*/
|
|
366
|
+
"orientation": UiSeparatorOrientation;
|
|
367
|
+
}
|
|
368
|
+
interface UiSkeleton {
|
|
369
|
+
}
|
|
370
|
+
interface UiSlider {
|
|
371
|
+
/**
|
|
372
|
+
* Desabilita o controle.
|
|
373
|
+
* @default false
|
|
374
|
+
*/
|
|
375
|
+
"disabled": boolean;
|
|
376
|
+
/**
|
|
377
|
+
* Valor máximo.
|
|
378
|
+
* @default 100
|
|
379
|
+
*/
|
|
380
|
+
"max": number;
|
|
381
|
+
/**
|
|
382
|
+
* Valor mínimo.
|
|
383
|
+
* @default 0
|
|
384
|
+
*/
|
|
385
|
+
"min": number;
|
|
386
|
+
/**
|
|
387
|
+
* Incremento.
|
|
388
|
+
* @default 1
|
|
389
|
+
*/
|
|
390
|
+
"step": number;
|
|
391
|
+
/**
|
|
392
|
+
* Valor atual.
|
|
393
|
+
* @default 50
|
|
394
|
+
*/
|
|
395
|
+
"value": number;
|
|
396
|
+
}
|
|
397
|
+
interface UiSpinner {
|
|
398
|
+
/**
|
|
399
|
+
* Tamanho do spinner.
|
|
400
|
+
* @default "md"
|
|
401
|
+
*/
|
|
402
|
+
"size": UiSpinnerSize1;
|
|
403
|
+
}
|
|
404
|
+
interface UiSwitch {
|
|
405
|
+
/**
|
|
406
|
+
* Estado ligado/desligado.
|
|
407
|
+
* @default false
|
|
408
|
+
*/
|
|
409
|
+
"checked": boolean;
|
|
410
|
+
/**
|
|
411
|
+
* Desabilita o controle.
|
|
412
|
+
* @default false
|
|
413
|
+
*/
|
|
414
|
+
"disabled": boolean;
|
|
415
|
+
}
|
|
416
|
+
interface UiTabs {
|
|
417
|
+
/**
|
|
418
|
+
* Lista de abas.
|
|
419
|
+
* @default []
|
|
420
|
+
*/
|
|
421
|
+
"items": UiTabItem[];
|
|
422
|
+
/**
|
|
423
|
+
* Valor da aba ativa.
|
|
424
|
+
* @default ""
|
|
425
|
+
*/
|
|
426
|
+
"value": string;
|
|
427
|
+
}
|
|
428
|
+
interface UiTextarea {
|
|
429
|
+
/**
|
|
430
|
+
* Desabilita o campo.
|
|
431
|
+
* @default false
|
|
432
|
+
*/
|
|
433
|
+
"disabled": boolean;
|
|
434
|
+
/**
|
|
435
|
+
* Marca o campo como inválido (estilo + aria-invalid).
|
|
436
|
+
* @default false
|
|
437
|
+
*/
|
|
438
|
+
"invalid": boolean;
|
|
439
|
+
/**
|
|
440
|
+
* Nome do campo.
|
|
441
|
+
*/
|
|
442
|
+
"name"?: string;
|
|
443
|
+
/**
|
|
444
|
+
* Placeholder.
|
|
445
|
+
*/
|
|
446
|
+
"placeholder"?: string;
|
|
447
|
+
/**
|
|
448
|
+
* Número de linhas visíveis.
|
|
449
|
+
* @default 4
|
|
450
|
+
*/
|
|
451
|
+
"rows": number;
|
|
452
|
+
/**
|
|
453
|
+
* Valor do campo.
|
|
454
|
+
* @default ""
|
|
455
|
+
*/
|
|
456
|
+
"value": string;
|
|
457
|
+
}
|
|
458
|
+
interface UiThemeToggle {
|
|
459
|
+
}
|
|
460
|
+
interface UiToast {
|
|
461
|
+
/**
|
|
462
|
+
* Fecha o toast imperativamente.
|
|
463
|
+
*/
|
|
464
|
+
"close": () => Promise<void>;
|
|
465
|
+
/**
|
|
466
|
+
* Descrição do toast.
|
|
467
|
+
*/
|
|
468
|
+
"description"?: string;
|
|
469
|
+
/**
|
|
470
|
+
* Tempo em ms até o auto-dismiss.
|
|
471
|
+
* @default 4000
|
|
472
|
+
*/
|
|
473
|
+
"duration": number;
|
|
474
|
+
/**
|
|
475
|
+
* Título do toast.
|
|
476
|
+
*/
|
|
477
|
+
"heading"?: string;
|
|
478
|
+
/**
|
|
479
|
+
* Controla a visibilidade do toast.
|
|
480
|
+
* @default false
|
|
481
|
+
*/
|
|
482
|
+
"open": boolean;
|
|
483
|
+
/**
|
|
484
|
+
* Abre o toast imperativamente.
|
|
485
|
+
*/
|
|
486
|
+
"show": () => Promise<void>;
|
|
487
|
+
/**
|
|
488
|
+
* Variante visual (afeta a borda lateral).
|
|
489
|
+
* @default "default"
|
|
490
|
+
*/
|
|
491
|
+
"variant": UiToastVariant;
|
|
492
|
+
}
|
|
493
|
+
interface UiToaster {
|
|
494
|
+
/**
|
|
495
|
+
* Enfileira um novo toast imperativamente.
|
|
496
|
+
*/
|
|
497
|
+
"toast": (opts: UiToastOptions) => Promise<void>;
|
|
498
|
+
}
|
|
499
|
+
interface UiTooltip {
|
|
500
|
+
/**
|
|
501
|
+
* Texto exibido no balão flutuante.
|
|
502
|
+
* @default ""
|
|
503
|
+
*/
|
|
504
|
+
"content": string;
|
|
505
|
+
/**
|
|
506
|
+
* Atraso (ms) antes de exibir o balão.
|
|
507
|
+
* @default 200
|
|
508
|
+
*/
|
|
509
|
+
"openDelay": number;
|
|
510
|
+
/**
|
|
511
|
+
* Posição preferida do balão relativa ao gatilho.
|
|
512
|
+
* @default "top"
|
|
513
|
+
*/
|
|
514
|
+
"placement": Placement;
|
|
515
|
+
}
|
|
516
|
+
}
|
|
517
|
+
export interface UiAccordionItemCustomEvent<T> extends CustomEvent<T> {
|
|
518
|
+
detail: T;
|
|
519
|
+
target: HTMLUiAccordionItemElement;
|
|
520
|
+
}
|
|
521
|
+
export interface UiCheckboxCustomEvent<T> extends CustomEvent<T> {
|
|
522
|
+
detail: T;
|
|
523
|
+
target: HTMLUiCheckboxElement;
|
|
524
|
+
}
|
|
525
|
+
export interface UiDialogCustomEvent<T> extends CustomEvent<T> {
|
|
526
|
+
detail: T;
|
|
527
|
+
target: HTMLUiDialogElement;
|
|
528
|
+
}
|
|
529
|
+
export interface UiDrawerCustomEvent<T> extends CustomEvent<T> {
|
|
530
|
+
detail: T;
|
|
531
|
+
target: HTMLUiDrawerElement;
|
|
532
|
+
}
|
|
533
|
+
export interface UiDropdownItemCustomEvent<T> extends CustomEvent<T> {
|
|
534
|
+
detail: T;
|
|
535
|
+
target: HTMLUiDropdownItemElement;
|
|
536
|
+
}
|
|
537
|
+
export interface UiDropdownMenuCustomEvent<T> extends CustomEvent<T> {
|
|
538
|
+
detail: T;
|
|
539
|
+
target: HTMLUiDropdownMenuElement;
|
|
540
|
+
}
|
|
541
|
+
export interface UiInputCustomEvent<T> extends CustomEvent<T> {
|
|
542
|
+
detail: T;
|
|
543
|
+
target: HTMLUiInputElement;
|
|
544
|
+
}
|
|
545
|
+
export interface UiPopoverCustomEvent<T> extends CustomEvent<T> {
|
|
546
|
+
detail: T;
|
|
547
|
+
target: HTMLUiPopoverElement;
|
|
548
|
+
}
|
|
549
|
+
export interface UiRadioGroupCustomEvent<T> extends CustomEvent<T> {
|
|
550
|
+
detail: T;
|
|
551
|
+
target: HTMLUiRadioGroupElement;
|
|
552
|
+
}
|
|
553
|
+
export interface UiSelectCustomEvent<T> extends CustomEvent<T> {
|
|
554
|
+
detail: T;
|
|
555
|
+
target: HTMLUiSelectElement;
|
|
556
|
+
}
|
|
557
|
+
export interface UiSliderCustomEvent<T> extends CustomEvent<T> {
|
|
558
|
+
detail: T;
|
|
559
|
+
target: HTMLUiSliderElement;
|
|
560
|
+
}
|
|
561
|
+
export interface UiSwitchCustomEvent<T> extends CustomEvent<T> {
|
|
562
|
+
detail: T;
|
|
563
|
+
target: HTMLUiSwitchElement;
|
|
564
|
+
}
|
|
565
|
+
export interface UiTabsCustomEvent<T> extends CustomEvent<T> {
|
|
566
|
+
detail: T;
|
|
567
|
+
target: HTMLUiTabsElement;
|
|
568
|
+
}
|
|
569
|
+
export interface UiTextareaCustomEvent<T> extends CustomEvent<T> {
|
|
570
|
+
detail: T;
|
|
571
|
+
target: HTMLUiTextareaElement;
|
|
572
|
+
}
|
|
573
|
+
export interface UiThemeToggleCustomEvent<T> extends CustomEvent<T> {
|
|
574
|
+
detail: T;
|
|
575
|
+
target: HTMLUiThemeToggleElement;
|
|
576
|
+
}
|
|
577
|
+
export interface UiToastCustomEvent<T> extends CustomEvent<T> {
|
|
578
|
+
detail: T;
|
|
579
|
+
target: HTMLUiToastElement;
|
|
580
|
+
}
|
|
581
|
+
declare global {
|
|
582
|
+
interface HTMLUiAccordionElement extends Components.UiAccordion, HTMLStencilElement {
|
|
583
|
+
}
|
|
584
|
+
var HTMLUiAccordionElement: {
|
|
585
|
+
prototype: HTMLUiAccordionElement;
|
|
586
|
+
new (): HTMLUiAccordionElement;
|
|
587
|
+
};
|
|
588
|
+
interface HTMLUiAccordionItemElementEventMap {
|
|
589
|
+
"uiToggle": boolean;
|
|
590
|
+
}
|
|
591
|
+
interface HTMLUiAccordionItemElement extends Components.UiAccordionItem, HTMLStencilElement {
|
|
592
|
+
addEventListener<K extends keyof HTMLUiAccordionItemElementEventMap>(type: K, listener: (this: HTMLUiAccordionItemElement, ev: UiAccordionItemCustomEvent<HTMLUiAccordionItemElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
593
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
594
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
595
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
596
|
+
removeEventListener<K extends keyof HTMLUiAccordionItemElementEventMap>(type: K, listener: (this: HTMLUiAccordionItemElement, ev: UiAccordionItemCustomEvent<HTMLUiAccordionItemElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
597
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
598
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
599
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
600
|
+
}
|
|
601
|
+
var HTMLUiAccordionItemElement: {
|
|
602
|
+
prototype: HTMLUiAccordionItemElement;
|
|
603
|
+
new (): HTMLUiAccordionItemElement;
|
|
604
|
+
};
|
|
605
|
+
interface HTMLUiAvatarElement extends Components.UiAvatar, HTMLStencilElement {
|
|
606
|
+
}
|
|
607
|
+
var HTMLUiAvatarElement: {
|
|
608
|
+
prototype: HTMLUiAvatarElement;
|
|
609
|
+
new (): HTMLUiAvatarElement;
|
|
610
|
+
};
|
|
611
|
+
interface HTMLUiBadgeElement extends Components.UiBadge, HTMLStencilElement {
|
|
612
|
+
}
|
|
613
|
+
var HTMLUiBadgeElement: {
|
|
614
|
+
prototype: HTMLUiBadgeElement;
|
|
615
|
+
new (): HTMLUiBadgeElement;
|
|
616
|
+
};
|
|
617
|
+
interface HTMLUiButtonElement extends Components.UiButton, HTMLStencilElement {
|
|
618
|
+
}
|
|
619
|
+
var HTMLUiButtonElement: {
|
|
620
|
+
prototype: HTMLUiButtonElement;
|
|
621
|
+
new (): HTMLUiButtonElement;
|
|
622
|
+
};
|
|
623
|
+
interface HTMLUiCardElement extends Components.UiCard, HTMLStencilElement {
|
|
624
|
+
}
|
|
625
|
+
var HTMLUiCardElement: {
|
|
626
|
+
prototype: HTMLUiCardElement;
|
|
627
|
+
new (): HTMLUiCardElement;
|
|
628
|
+
};
|
|
629
|
+
interface HTMLUiCheckboxElementEventMap {
|
|
630
|
+
"uiChange": boolean;
|
|
631
|
+
}
|
|
632
|
+
interface HTMLUiCheckboxElement extends Components.UiCheckbox, HTMLStencilElement {
|
|
633
|
+
addEventListener<K extends keyof HTMLUiCheckboxElementEventMap>(type: K, listener: (this: HTMLUiCheckboxElement, ev: UiCheckboxCustomEvent<HTMLUiCheckboxElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
634
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
635
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
636
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
637
|
+
removeEventListener<K extends keyof HTMLUiCheckboxElementEventMap>(type: K, listener: (this: HTMLUiCheckboxElement, ev: UiCheckboxCustomEvent<HTMLUiCheckboxElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
638
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
639
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
640
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
641
|
+
}
|
|
642
|
+
var HTMLUiCheckboxElement: {
|
|
643
|
+
prototype: HTMLUiCheckboxElement;
|
|
644
|
+
new (): HTMLUiCheckboxElement;
|
|
645
|
+
};
|
|
646
|
+
interface HTMLUiDialogElementEventMap {
|
|
647
|
+
"uiClose": void;
|
|
648
|
+
}
|
|
649
|
+
interface HTMLUiDialogElement extends Components.UiDialog, HTMLStencilElement {
|
|
650
|
+
addEventListener<K extends keyof HTMLUiDialogElementEventMap>(type: K, listener: (this: HTMLUiDialogElement, ev: UiDialogCustomEvent<HTMLUiDialogElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
651
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
652
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
653
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
654
|
+
removeEventListener<K extends keyof HTMLUiDialogElementEventMap>(type: K, listener: (this: HTMLUiDialogElement, ev: UiDialogCustomEvent<HTMLUiDialogElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
655
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
656
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
657
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
658
|
+
}
|
|
659
|
+
var HTMLUiDialogElement: {
|
|
660
|
+
prototype: HTMLUiDialogElement;
|
|
661
|
+
new (): HTMLUiDialogElement;
|
|
662
|
+
};
|
|
663
|
+
interface HTMLUiDrawerElementEventMap {
|
|
664
|
+
"uiClose": void;
|
|
665
|
+
}
|
|
666
|
+
interface HTMLUiDrawerElement extends Components.UiDrawer, HTMLStencilElement {
|
|
667
|
+
addEventListener<K extends keyof HTMLUiDrawerElementEventMap>(type: K, listener: (this: HTMLUiDrawerElement, ev: UiDrawerCustomEvent<HTMLUiDrawerElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
668
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
669
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
670
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
671
|
+
removeEventListener<K extends keyof HTMLUiDrawerElementEventMap>(type: K, listener: (this: HTMLUiDrawerElement, ev: UiDrawerCustomEvent<HTMLUiDrawerElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
672
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
673
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
674
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
675
|
+
}
|
|
676
|
+
var HTMLUiDrawerElement: {
|
|
677
|
+
prototype: HTMLUiDrawerElement;
|
|
678
|
+
new (): HTMLUiDrawerElement;
|
|
679
|
+
};
|
|
680
|
+
interface HTMLUiDropdownItemElementEventMap {
|
|
681
|
+
"uiSelect": void;
|
|
682
|
+
}
|
|
683
|
+
interface HTMLUiDropdownItemElement extends Components.UiDropdownItem, HTMLStencilElement {
|
|
684
|
+
addEventListener<K extends keyof HTMLUiDropdownItemElementEventMap>(type: K, listener: (this: HTMLUiDropdownItemElement, ev: UiDropdownItemCustomEvent<HTMLUiDropdownItemElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
685
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
686
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
687
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
688
|
+
removeEventListener<K extends keyof HTMLUiDropdownItemElementEventMap>(type: K, listener: (this: HTMLUiDropdownItemElement, ev: UiDropdownItemCustomEvent<HTMLUiDropdownItemElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
689
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
690
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
691
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
692
|
+
}
|
|
693
|
+
var HTMLUiDropdownItemElement: {
|
|
694
|
+
prototype: HTMLUiDropdownItemElement;
|
|
695
|
+
new (): HTMLUiDropdownItemElement;
|
|
696
|
+
};
|
|
697
|
+
interface HTMLUiDropdownMenuElementEventMap {
|
|
698
|
+
"uiOpenChange": boolean;
|
|
699
|
+
}
|
|
700
|
+
interface HTMLUiDropdownMenuElement extends Components.UiDropdownMenu, HTMLStencilElement {
|
|
701
|
+
addEventListener<K extends keyof HTMLUiDropdownMenuElementEventMap>(type: K, listener: (this: HTMLUiDropdownMenuElement, ev: UiDropdownMenuCustomEvent<HTMLUiDropdownMenuElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
702
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
703
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
704
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
705
|
+
removeEventListener<K extends keyof HTMLUiDropdownMenuElementEventMap>(type: K, listener: (this: HTMLUiDropdownMenuElement, ev: UiDropdownMenuCustomEvent<HTMLUiDropdownMenuElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
706
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
707
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
708
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
709
|
+
}
|
|
710
|
+
var HTMLUiDropdownMenuElement: {
|
|
711
|
+
prototype: HTMLUiDropdownMenuElement;
|
|
712
|
+
new (): HTMLUiDropdownMenuElement;
|
|
713
|
+
};
|
|
714
|
+
interface HTMLUiFieldElement extends Components.UiField, HTMLStencilElement {
|
|
715
|
+
}
|
|
716
|
+
var HTMLUiFieldElement: {
|
|
717
|
+
prototype: HTMLUiFieldElement;
|
|
718
|
+
new (): HTMLUiFieldElement;
|
|
719
|
+
};
|
|
720
|
+
interface HTMLUiInputElementEventMap {
|
|
721
|
+
"uiInput": string;
|
|
722
|
+
"uiChange": string;
|
|
723
|
+
}
|
|
724
|
+
interface HTMLUiInputElement extends Components.UiInput, HTMLStencilElement {
|
|
725
|
+
addEventListener<K extends keyof HTMLUiInputElementEventMap>(type: K, listener: (this: HTMLUiInputElement, ev: UiInputCustomEvent<HTMLUiInputElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
726
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
727
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
728
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
729
|
+
removeEventListener<K extends keyof HTMLUiInputElementEventMap>(type: K, listener: (this: HTMLUiInputElement, ev: UiInputCustomEvent<HTMLUiInputElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
730
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
731
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
732
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
733
|
+
}
|
|
734
|
+
var HTMLUiInputElement: {
|
|
735
|
+
prototype: HTMLUiInputElement;
|
|
736
|
+
new (): HTMLUiInputElement;
|
|
737
|
+
};
|
|
738
|
+
interface HTMLUiLabelElement extends Components.UiLabel, HTMLStencilElement {
|
|
739
|
+
}
|
|
740
|
+
var HTMLUiLabelElement: {
|
|
741
|
+
prototype: HTMLUiLabelElement;
|
|
742
|
+
new (): HTMLUiLabelElement;
|
|
743
|
+
};
|
|
744
|
+
/**
|
|
745
|
+
* Sobreposição de carregamento que cobre o elemento pai.
|
|
746
|
+
* O host pai deve ter `position: relative` para que a sobreposição
|
|
747
|
+
* absoluta (inset 0) o cubra corretamente.
|
|
748
|
+
*/
|
|
749
|
+
interface HTMLUiLoadingOverlayElement extends Components.UiLoadingOverlay, HTMLStencilElement {
|
|
750
|
+
}
|
|
751
|
+
var HTMLUiLoadingOverlayElement: {
|
|
752
|
+
prototype: HTMLUiLoadingOverlayElement;
|
|
753
|
+
new (): HTMLUiLoadingOverlayElement;
|
|
754
|
+
};
|
|
755
|
+
interface HTMLUiPopoverElementEventMap {
|
|
756
|
+
"uiOpenChange": boolean;
|
|
757
|
+
}
|
|
758
|
+
interface HTMLUiPopoverElement extends Components.UiPopover, HTMLStencilElement {
|
|
759
|
+
addEventListener<K extends keyof HTMLUiPopoverElementEventMap>(type: K, listener: (this: HTMLUiPopoverElement, ev: UiPopoverCustomEvent<HTMLUiPopoverElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
760
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
761
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
762
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
763
|
+
removeEventListener<K extends keyof HTMLUiPopoverElementEventMap>(type: K, listener: (this: HTMLUiPopoverElement, ev: UiPopoverCustomEvent<HTMLUiPopoverElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
764
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
765
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
766
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
767
|
+
}
|
|
768
|
+
var HTMLUiPopoverElement: {
|
|
769
|
+
prototype: HTMLUiPopoverElement;
|
|
770
|
+
new (): HTMLUiPopoverElement;
|
|
771
|
+
};
|
|
772
|
+
interface HTMLUiProgressElement extends Components.UiProgress, HTMLStencilElement {
|
|
773
|
+
}
|
|
774
|
+
var HTMLUiProgressElement: {
|
|
775
|
+
prototype: HTMLUiProgressElement;
|
|
776
|
+
new (): HTMLUiProgressElement;
|
|
777
|
+
};
|
|
778
|
+
interface HTMLUiRadioGroupElementEventMap {
|
|
779
|
+
"uiChange": string;
|
|
780
|
+
}
|
|
781
|
+
interface HTMLUiRadioGroupElement extends Components.UiRadioGroup, HTMLStencilElement {
|
|
782
|
+
addEventListener<K extends keyof HTMLUiRadioGroupElementEventMap>(type: K, listener: (this: HTMLUiRadioGroupElement, ev: UiRadioGroupCustomEvent<HTMLUiRadioGroupElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
783
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
784
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
785
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
786
|
+
removeEventListener<K extends keyof HTMLUiRadioGroupElementEventMap>(type: K, listener: (this: HTMLUiRadioGroupElement, ev: UiRadioGroupCustomEvent<HTMLUiRadioGroupElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
787
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
788
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
789
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
790
|
+
}
|
|
791
|
+
var HTMLUiRadioGroupElement: {
|
|
792
|
+
prototype: HTMLUiRadioGroupElement;
|
|
793
|
+
new (): HTMLUiRadioGroupElement;
|
|
794
|
+
};
|
|
795
|
+
interface HTMLUiRevealElement extends Components.UiReveal, HTMLStencilElement {
|
|
796
|
+
}
|
|
797
|
+
var HTMLUiRevealElement: {
|
|
798
|
+
prototype: HTMLUiRevealElement;
|
|
799
|
+
new (): HTMLUiRevealElement;
|
|
800
|
+
};
|
|
801
|
+
interface HTMLUiScrollProgressElement extends Components.UiScrollProgress, HTMLStencilElement {
|
|
802
|
+
}
|
|
803
|
+
var HTMLUiScrollProgressElement: {
|
|
804
|
+
prototype: HTMLUiScrollProgressElement;
|
|
805
|
+
new (): HTMLUiScrollProgressElement;
|
|
806
|
+
};
|
|
807
|
+
interface HTMLUiSectionElement extends Components.UiSection, HTMLStencilElement {
|
|
808
|
+
}
|
|
809
|
+
var HTMLUiSectionElement: {
|
|
810
|
+
prototype: HTMLUiSectionElement;
|
|
811
|
+
new (): HTMLUiSectionElement;
|
|
812
|
+
};
|
|
813
|
+
interface HTMLUiSelectElementEventMap {
|
|
814
|
+
"uiChange": string;
|
|
815
|
+
}
|
|
816
|
+
interface HTMLUiSelectElement extends Components.UiSelect, HTMLStencilElement {
|
|
817
|
+
addEventListener<K extends keyof HTMLUiSelectElementEventMap>(type: K, listener: (this: HTMLUiSelectElement, ev: UiSelectCustomEvent<HTMLUiSelectElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
818
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
819
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
820
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
821
|
+
removeEventListener<K extends keyof HTMLUiSelectElementEventMap>(type: K, listener: (this: HTMLUiSelectElement, ev: UiSelectCustomEvent<HTMLUiSelectElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
822
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
823
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
824
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
825
|
+
}
|
|
826
|
+
var HTMLUiSelectElement: {
|
|
827
|
+
prototype: HTMLUiSelectElement;
|
|
828
|
+
new (): HTMLUiSelectElement;
|
|
829
|
+
};
|
|
830
|
+
interface HTMLUiSeparatorElement extends Components.UiSeparator, HTMLStencilElement {
|
|
831
|
+
}
|
|
832
|
+
var HTMLUiSeparatorElement: {
|
|
833
|
+
prototype: HTMLUiSeparatorElement;
|
|
834
|
+
new (): HTMLUiSeparatorElement;
|
|
835
|
+
};
|
|
836
|
+
interface HTMLUiSkeletonElement extends Components.UiSkeleton, HTMLStencilElement {
|
|
837
|
+
}
|
|
838
|
+
var HTMLUiSkeletonElement: {
|
|
839
|
+
prototype: HTMLUiSkeletonElement;
|
|
840
|
+
new (): HTMLUiSkeletonElement;
|
|
841
|
+
};
|
|
842
|
+
interface HTMLUiSliderElementEventMap {
|
|
843
|
+
"uiInput": number;
|
|
844
|
+
"uiChange": number;
|
|
845
|
+
}
|
|
846
|
+
interface HTMLUiSliderElement extends Components.UiSlider, HTMLStencilElement {
|
|
847
|
+
addEventListener<K extends keyof HTMLUiSliderElementEventMap>(type: K, listener: (this: HTMLUiSliderElement, ev: UiSliderCustomEvent<HTMLUiSliderElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
848
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
849
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
850
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
851
|
+
removeEventListener<K extends keyof HTMLUiSliderElementEventMap>(type: K, listener: (this: HTMLUiSliderElement, ev: UiSliderCustomEvent<HTMLUiSliderElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
852
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
853
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
854
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
855
|
+
}
|
|
856
|
+
var HTMLUiSliderElement: {
|
|
857
|
+
prototype: HTMLUiSliderElement;
|
|
858
|
+
new (): HTMLUiSliderElement;
|
|
859
|
+
};
|
|
860
|
+
interface HTMLUiSpinnerElement extends Components.UiSpinner, HTMLStencilElement {
|
|
861
|
+
}
|
|
862
|
+
var HTMLUiSpinnerElement: {
|
|
863
|
+
prototype: HTMLUiSpinnerElement;
|
|
864
|
+
new (): HTMLUiSpinnerElement;
|
|
865
|
+
};
|
|
866
|
+
interface HTMLUiSwitchElementEventMap {
|
|
867
|
+
"uiChange": boolean;
|
|
868
|
+
}
|
|
869
|
+
interface HTMLUiSwitchElement extends Components.UiSwitch, HTMLStencilElement {
|
|
870
|
+
addEventListener<K extends keyof HTMLUiSwitchElementEventMap>(type: K, listener: (this: HTMLUiSwitchElement, ev: UiSwitchCustomEvent<HTMLUiSwitchElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
871
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
872
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
873
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
874
|
+
removeEventListener<K extends keyof HTMLUiSwitchElementEventMap>(type: K, listener: (this: HTMLUiSwitchElement, ev: UiSwitchCustomEvent<HTMLUiSwitchElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
875
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
876
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
877
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
878
|
+
}
|
|
879
|
+
var HTMLUiSwitchElement: {
|
|
880
|
+
prototype: HTMLUiSwitchElement;
|
|
881
|
+
new (): HTMLUiSwitchElement;
|
|
882
|
+
};
|
|
883
|
+
interface HTMLUiTabsElementEventMap {
|
|
884
|
+
"uiChange": string;
|
|
885
|
+
}
|
|
886
|
+
interface HTMLUiTabsElement extends Components.UiTabs, HTMLStencilElement {
|
|
887
|
+
addEventListener<K extends keyof HTMLUiTabsElementEventMap>(type: K, listener: (this: HTMLUiTabsElement, ev: UiTabsCustomEvent<HTMLUiTabsElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
888
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
889
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
890
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
891
|
+
removeEventListener<K extends keyof HTMLUiTabsElementEventMap>(type: K, listener: (this: HTMLUiTabsElement, ev: UiTabsCustomEvent<HTMLUiTabsElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
892
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
893
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
894
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
895
|
+
}
|
|
896
|
+
var HTMLUiTabsElement: {
|
|
897
|
+
prototype: HTMLUiTabsElement;
|
|
898
|
+
new (): HTMLUiTabsElement;
|
|
899
|
+
};
|
|
900
|
+
interface HTMLUiTextareaElementEventMap {
|
|
901
|
+
"uiInput": string;
|
|
902
|
+
"uiChange": string;
|
|
903
|
+
}
|
|
904
|
+
interface HTMLUiTextareaElement extends Components.UiTextarea, HTMLStencilElement {
|
|
905
|
+
addEventListener<K extends keyof HTMLUiTextareaElementEventMap>(type: K, listener: (this: HTMLUiTextareaElement, ev: UiTextareaCustomEvent<HTMLUiTextareaElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
906
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
907
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
908
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
909
|
+
removeEventListener<K extends keyof HTMLUiTextareaElementEventMap>(type: K, listener: (this: HTMLUiTextareaElement, ev: UiTextareaCustomEvent<HTMLUiTextareaElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
910
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
911
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
912
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
913
|
+
}
|
|
914
|
+
var HTMLUiTextareaElement: {
|
|
915
|
+
prototype: HTMLUiTextareaElement;
|
|
916
|
+
new (): HTMLUiTextareaElement;
|
|
917
|
+
};
|
|
918
|
+
interface HTMLUiThemeToggleElementEventMap {
|
|
919
|
+
"uiThemeChange": "light" | "dark";
|
|
920
|
+
}
|
|
921
|
+
interface HTMLUiThemeToggleElement extends Components.UiThemeToggle, HTMLStencilElement {
|
|
922
|
+
addEventListener<K extends keyof HTMLUiThemeToggleElementEventMap>(type: K, listener: (this: HTMLUiThemeToggleElement, ev: UiThemeToggleCustomEvent<HTMLUiThemeToggleElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
923
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
924
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
925
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
926
|
+
removeEventListener<K extends keyof HTMLUiThemeToggleElementEventMap>(type: K, listener: (this: HTMLUiThemeToggleElement, ev: UiThemeToggleCustomEvent<HTMLUiThemeToggleElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
927
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
928
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
929
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
930
|
+
}
|
|
931
|
+
var HTMLUiThemeToggleElement: {
|
|
932
|
+
prototype: HTMLUiThemeToggleElement;
|
|
933
|
+
new (): HTMLUiThemeToggleElement;
|
|
934
|
+
};
|
|
935
|
+
interface HTMLUiToastElementEventMap {
|
|
936
|
+
"uiClose": void;
|
|
937
|
+
}
|
|
938
|
+
interface HTMLUiToastElement extends Components.UiToast, HTMLStencilElement {
|
|
939
|
+
addEventListener<K extends keyof HTMLUiToastElementEventMap>(type: K, listener: (this: HTMLUiToastElement, ev: UiToastCustomEvent<HTMLUiToastElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
940
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
941
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
942
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
943
|
+
removeEventListener<K extends keyof HTMLUiToastElementEventMap>(type: K, listener: (this: HTMLUiToastElement, ev: UiToastCustomEvent<HTMLUiToastElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
944
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
945
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
946
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
947
|
+
}
|
|
948
|
+
var HTMLUiToastElement: {
|
|
949
|
+
prototype: HTMLUiToastElement;
|
|
950
|
+
new (): HTMLUiToastElement;
|
|
951
|
+
};
|
|
952
|
+
interface HTMLUiToasterElement extends Components.UiToaster, HTMLStencilElement {
|
|
953
|
+
}
|
|
954
|
+
var HTMLUiToasterElement: {
|
|
955
|
+
prototype: HTMLUiToasterElement;
|
|
956
|
+
new (): HTMLUiToasterElement;
|
|
957
|
+
};
|
|
958
|
+
interface HTMLUiTooltipElement extends Components.UiTooltip, HTMLStencilElement {
|
|
959
|
+
}
|
|
960
|
+
var HTMLUiTooltipElement: {
|
|
961
|
+
prototype: HTMLUiTooltipElement;
|
|
962
|
+
new (): HTMLUiTooltipElement;
|
|
963
|
+
};
|
|
964
|
+
interface HTMLElementTagNameMap {
|
|
965
|
+
"ui-accordion": HTMLUiAccordionElement;
|
|
966
|
+
"ui-accordion-item": HTMLUiAccordionItemElement;
|
|
967
|
+
"ui-avatar": HTMLUiAvatarElement;
|
|
968
|
+
"ui-badge": HTMLUiBadgeElement;
|
|
969
|
+
"ui-button": HTMLUiButtonElement;
|
|
970
|
+
"ui-card": HTMLUiCardElement;
|
|
971
|
+
"ui-checkbox": HTMLUiCheckboxElement;
|
|
972
|
+
"ui-dialog": HTMLUiDialogElement;
|
|
973
|
+
"ui-drawer": HTMLUiDrawerElement;
|
|
974
|
+
"ui-dropdown-item": HTMLUiDropdownItemElement;
|
|
975
|
+
"ui-dropdown-menu": HTMLUiDropdownMenuElement;
|
|
976
|
+
"ui-field": HTMLUiFieldElement;
|
|
977
|
+
"ui-input": HTMLUiInputElement;
|
|
978
|
+
"ui-label": HTMLUiLabelElement;
|
|
979
|
+
"ui-loading-overlay": HTMLUiLoadingOverlayElement;
|
|
980
|
+
"ui-popover": HTMLUiPopoverElement;
|
|
981
|
+
"ui-progress": HTMLUiProgressElement;
|
|
982
|
+
"ui-radio-group": HTMLUiRadioGroupElement;
|
|
983
|
+
"ui-reveal": HTMLUiRevealElement;
|
|
984
|
+
"ui-scroll-progress": HTMLUiScrollProgressElement;
|
|
985
|
+
"ui-section": HTMLUiSectionElement;
|
|
986
|
+
"ui-select": HTMLUiSelectElement;
|
|
987
|
+
"ui-separator": HTMLUiSeparatorElement;
|
|
988
|
+
"ui-skeleton": HTMLUiSkeletonElement;
|
|
989
|
+
"ui-slider": HTMLUiSliderElement;
|
|
990
|
+
"ui-spinner": HTMLUiSpinnerElement;
|
|
991
|
+
"ui-switch": HTMLUiSwitchElement;
|
|
992
|
+
"ui-tabs": HTMLUiTabsElement;
|
|
993
|
+
"ui-textarea": HTMLUiTextareaElement;
|
|
994
|
+
"ui-theme-toggle": HTMLUiThemeToggleElement;
|
|
995
|
+
"ui-toast": HTMLUiToastElement;
|
|
996
|
+
"ui-toaster": HTMLUiToasterElement;
|
|
997
|
+
"ui-tooltip": HTMLUiTooltipElement;
|
|
998
|
+
}
|
|
999
|
+
}
|
|
1000
|
+
declare namespace LocalJSX {
|
|
1001
|
+
interface UiAccordion {
|
|
1002
|
+
}
|
|
1003
|
+
interface UiAccordionItem {
|
|
1004
|
+
/**
|
|
1005
|
+
* Título exibido no cabeçalho.
|
|
1006
|
+
* @default ""
|
|
1007
|
+
*/
|
|
1008
|
+
"heading"?: string;
|
|
1009
|
+
/**
|
|
1010
|
+
* Emitido quando o item é aberto ou fechado.
|
|
1011
|
+
*/
|
|
1012
|
+
"onUiToggle"?: (event: UiAccordionItemCustomEvent<boolean>) => void;
|
|
1013
|
+
/**
|
|
1014
|
+
* Estado aberto/fechado.
|
|
1015
|
+
* @default false
|
|
1016
|
+
*/
|
|
1017
|
+
"open"?: boolean;
|
|
1018
|
+
}
|
|
1019
|
+
interface UiAvatar {
|
|
1020
|
+
/**
|
|
1021
|
+
* Texto alternativo da imagem.
|
|
1022
|
+
* @default ""
|
|
1023
|
+
*/
|
|
1024
|
+
"alt"?: string;
|
|
1025
|
+
/**
|
|
1026
|
+
* Texto exibido quando não há imagem (ex.: iniciais).
|
|
1027
|
+
*/
|
|
1028
|
+
"fallback"?: string;
|
|
1029
|
+
/**
|
|
1030
|
+
* URL da imagem do avatar.
|
|
1031
|
+
*/
|
|
1032
|
+
"src"?: string;
|
|
1033
|
+
}
|
|
1034
|
+
interface UiBadge {
|
|
1035
|
+
/**
|
|
1036
|
+
* Variante visual.
|
|
1037
|
+
* @default "default"
|
|
1038
|
+
*/
|
|
1039
|
+
"variant"?: UiBadgeVariant;
|
|
1040
|
+
}
|
|
1041
|
+
interface UiButton {
|
|
1042
|
+
/**
|
|
1043
|
+
* Desabilita o botão.
|
|
1044
|
+
* @default false
|
|
1045
|
+
*/
|
|
1046
|
+
"disabled"?: boolean;
|
|
1047
|
+
/**
|
|
1048
|
+
* Exibe spinner e desabilita durante uma ação assíncrona.
|
|
1049
|
+
* @default false
|
|
1050
|
+
*/
|
|
1051
|
+
"loading"?: boolean;
|
|
1052
|
+
/**
|
|
1053
|
+
* Tamanho.
|
|
1054
|
+
* @default "md"
|
|
1055
|
+
*/
|
|
1056
|
+
"size"?: UiButtonSize;
|
|
1057
|
+
/**
|
|
1058
|
+
* Tipo do botão nativo.
|
|
1059
|
+
* @default "button"
|
|
1060
|
+
*/
|
|
1061
|
+
"type"?: "button" | "submit" | "reset";
|
|
1062
|
+
/**
|
|
1063
|
+
* Variante visual.
|
|
1064
|
+
* @default "default"
|
|
1065
|
+
*/
|
|
1066
|
+
"variant"?: UiButtonVariant;
|
|
1067
|
+
}
|
|
1068
|
+
interface UiCard {
|
|
1069
|
+
}
|
|
1070
|
+
interface UiCheckbox {
|
|
1071
|
+
/**
|
|
1072
|
+
* Estado marcado/desmarcado.
|
|
1073
|
+
* @default false
|
|
1074
|
+
*/
|
|
1075
|
+
"checked"?: boolean;
|
|
1076
|
+
/**
|
|
1077
|
+
* Desabilita o controle.
|
|
1078
|
+
* @default false
|
|
1079
|
+
*/
|
|
1080
|
+
"disabled"?: boolean;
|
|
1081
|
+
/**
|
|
1082
|
+
* Nome do campo.
|
|
1083
|
+
*/
|
|
1084
|
+
"name"?: string;
|
|
1085
|
+
/**
|
|
1086
|
+
* Emitido quando o estado muda.
|
|
1087
|
+
*/
|
|
1088
|
+
"onUiChange"?: (event: UiCheckboxCustomEvent<boolean>) => void;
|
|
1089
|
+
/**
|
|
1090
|
+
* Valor associado.
|
|
1091
|
+
*/
|
|
1092
|
+
"value"?: string;
|
|
1093
|
+
}
|
|
1094
|
+
interface UiDialog {
|
|
1095
|
+
/**
|
|
1096
|
+
* Emitido quando o modal é fechado (Esc, backdrop ou close()).
|
|
1097
|
+
*/
|
|
1098
|
+
"onUiClose"?: (event: UiDialogCustomEvent<void>) => void;
|
|
1099
|
+
/**
|
|
1100
|
+
* Controla a abertura do modal.
|
|
1101
|
+
* @default false
|
|
1102
|
+
*/
|
|
1103
|
+
"open"?: boolean;
|
|
1104
|
+
}
|
|
1105
|
+
interface UiDrawer {
|
|
1106
|
+
/**
|
|
1107
|
+
* Emitido quando o painel é fechado (Esc, backdrop ou close()).
|
|
1108
|
+
*/
|
|
1109
|
+
"onUiClose"?: (event: UiDrawerCustomEvent<void>) => void;
|
|
1110
|
+
/**
|
|
1111
|
+
* Controla a abertura do painel lateral.
|
|
1112
|
+
* @default false
|
|
1113
|
+
*/
|
|
1114
|
+
"open"?: boolean;
|
|
1115
|
+
/**
|
|
1116
|
+
* Borda onde o painel é ancorado.
|
|
1117
|
+
* @default "right"
|
|
1118
|
+
*/
|
|
1119
|
+
"side"?: "right" | "bottom";
|
|
1120
|
+
}
|
|
1121
|
+
interface UiDropdownItem {
|
|
1122
|
+
/**
|
|
1123
|
+
* Desabilita o item, impedindo seleção.
|
|
1124
|
+
* @default false
|
|
1125
|
+
*/
|
|
1126
|
+
"disabled"?: boolean;
|
|
1127
|
+
/**
|
|
1128
|
+
* Emitido quando o item é selecionado.
|
|
1129
|
+
*/
|
|
1130
|
+
"onUiSelect"?: (event: UiDropdownItemCustomEvent<void>) => void;
|
|
1131
|
+
}
|
|
1132
|
+
interface UiDropdownMenu {
|
|
1133
|
+
/**
|
|
1134
|
+
* Emitido quando o estado de abertura muda.
|
|
1135
|
+
*/
|
|
1136
|
+
"onUiOpenChange"?: (event: UiDropdownMenuCustomEvent<boolean>) => void;
|
|
1137
|
+
/**
|
|
1138
|
+
* Controla a abertura do menu.
|
|
1139
|
+
* @default false
|
|
1140
|
+
*/
|
|
1141
|
+
"open"?: boolean;
|
|
1142
|
+
/**
|
|
1143
|
+
* Posição preferida do menu relativo ao gatilho.
|
|
1144
|
+
* @default "bottom"
|
|
1145
|
+
*/
|
|
1146
|
+
"placement"?: Placement;
|
|
1147
|
+
}
|
|
1148
|
+
interface UiField {
|
|
1149
|
+
/**
|
|
1150
|
+
* Texto auxiliar exibido abaixo do controle.
|
|
1151
|
+
*/
|
|
1152
|
+
"description"?: string;
|
|
1153
|
+
/**
|
|
1154
|
+
* Mensagem de erro; quando presente substitui a descrição.
|
|
1155
|
+
*/
|
|
1156
|
+
"error"?: string;
|
|
1157
|
+
/**
|
|
1158
|
+
* Id do controle associado ao rótulo.
|
|
1159
|
+
*/
|
|
1160
|
+
"fieldId"?: string;
|
|
1161
|
+
/**
|
|
1162
|
+
* Texto do rótulo.
|
|
1163
|
+
*/
|
|
1164
|
+
"label"?: string;
|
|
1165
|
+
/**
|
|
1166
|
+
* Marca o campo como obrigatório (asterisco).
|
|
1167
|
+
* @default false
|
|
1168
|
+
*/
|
|
1169
|
+
"required"?: boolean;
|
|
1170
|
+
}
|
|
1171
|
+
interface UiInput {
|
|
1172
|
+
/**
|
|
1173
|
+
* Desabilita o campo.
|
|
1174
|
+
* @default false
|
|
1175
|
+
*/
|
|
1176
|
+
"disabled"?: boolean;
|
|
1177
|
+
/**
|
|
1178
|
+
* Marca o campo como inválido (estilo + aria-invalid).
|
|
1179
|
+
* @default false
|
|
1180
|
+
*/
|
|
1181
|
+
"invalid"?: boolean;
|
|
1182
|
+
/**
|
|
1183
|
+
* Nome do campo.
|
|
1184
|
+
*/
|
|
1185
|
+
"name"?: string;
|
|
1186
|
+
/**
|
|
1187
|
+
* Emitido ao confirmar (change).
|
|
1188
|
+
*/
|
|
1189
|
+
"onUiChange"?: (event: UiInputCustomEvent<string>) => void;
|
|
1190
|
+
/**
|
|
1191
|
+
* Emitido a cada digitação.
|
|
1192
|
+
*/
|
|
1193
|
+
"onUiInput"?: (event: UiInputCustomEvent<string>) => void;
|
|
1194
|
+
/**
|
|
1195
|
+
* Placeholder.
|
|
1196
|
+
*/
|
|
1197
|
+
"placeholder"?: string;
|
|
1198
|
+
/**
|
|
1199
|
+
* Tipo do input nativo.
|
|
1200
|
+
* @default "text"
|
|
1201
|
+
*/
|
|
1202
|
+
"type"?: string;
|
|
1203
|
+
/**
|
|
1204
|
+
* Valor do campo.
|
|
1205
|
+
* @default ""
|
|
1206
|
+
*/
|
|
1207
|
+
"value"?: string;
|
|
1208
|
+
}
|
|
1209
|
+
interface UiLabel {
|
|
1210
|
+
}
|
|
1211
|
+
/**
|
|
1212
|
+
* Sobreposição de carregamento que cobre o elemento pai.
|
|
1213
|
+
* O host pai deve ter `position: relative` para que a sobreposição
|
|
1214
|
+
* absoluta (inset 0) o cubra corretamente.
|
|
1215
|
+
*/
|
|
1216
|
+
interface UiLoadingOverlay {
|
|
1217
|
+
/**
|
|
1218
|
+
* Texto opcional exibido abaixo do spinner.
|
|
1219
|
+
*/
|
|
1220
|
+
"label"?: string;
|
|
1221
|
+
/**
|
|
1222
|
+
* Tamanho do spinner.
|
|
1223
|
+
* @default "md"
|
|
1224
|
+
*/
|
|
1225
|
+
"spinnerSize"?: UiSpinnerSize;
|
|
1226
|
+
/**
|
|
1227
|
+
* Controla a exibição da sobreposição.
|
|
1228
|
+
* @default false
|
|
1229
|
+
*/
|
|
1230
|
+
"visible"?: boolean;
|
|
1231
|
+
}
|
|
1232
|
+
interface UiPopover {
|
|
1233
|
+
/**
|
|
1234
|
+
* Emitido quando o estado de abertura muda.
|
|
1235
|
+
*/
|
|
1236
|
+
"onUiOpenChange"?: (event: UiPopoverCustomEvent<boolean>) => void;
|
|
1237
|
+
/**
|
|
1238
|
+
* Controla a abertura do conteúdo flutuante.
|
|
1239
|
+
* @default false
|
|
1240
|
+
*/
|
|
1241
|
+
"open"?: boolean;
|
|
1242
|
+
/**
|
|
1243
|
+
* Posição preferida do conteúdo relativo ao gatilho.
|
|
1244
|
+
* @default "bottom"
|
|
1245
|
+
*/
|
|
1246
|
+
"placement"?: Placement;
|
|
1247
|
+
}
|
|
1248
|
+
interface UiProgress {
|
|
1249
|
+
/**
|
|
1250
|
+
* Força o estado indeterminado.
|
|
1251
|
+
* @default false
|
|
1252
|
+
*/
|
|
1253
|
+
"indeterminate"?: boolean;
|
|
1254
|
+
/**
|
|
1255
|
+
* Valor máximo.
|
|
1256
|
+
* @default 100
|
|
1257
|
+
*/
|
|
1258
|
+
"max"?: number;
|
|
1259
|
+
/**
|
|
1260
|
+
* Valor atual do progresso. `null` torna o componente indeterminado.
|
|
1261
|
+
* @default null
|
|
1262
|
+
*/
|
|
1263
|
+
"value"?: number | null;
|
|
1264
|
+
}
|
|
1265
|
+
interface UiRadioGroup {
|
|
1266
|
+
/**
|
|
1267
|
+
* Desabilita o grupo.
|
|
1268
|
+
* @default false
|
|
1269
|
+
*/
|
|
1270
|
+
"disabled"?: boolean;
|
|
1271
|
+
/**
|
|
1272
|
+
* Nome do grupo.
|
|
1273
|
+
*/
|
|
1274
|
+
"name"?: string;
|
|
1275
|
+
/**
|
|
1276
|
+
* Emitido quando a seleção muda.
|
|
1277
|
+
*/
|
|
1278
|
+
"onUiChange"?: (event: UiRadioGroupCustomEvent<string>) => void;
|
|
1279
|
+
/**
|
|
1280
|
+
* Opções disponíveis.
|
|
1281
|
+
* @default []
|
|
1282
|
+
*/
|
|
1283
|
+
"options"?: UiRadioOption[];
|
|
1284
|
+
/**
|
|
1285
|
+
* Valor selecionado.
|
|
1286
|
+
*/
|
|
1287
|
+
"value"?: string;
|
|
1288
|
+
}
|
|
1289
|
+
interface UiReveal {
|
|
1290
|
+
/**
|
|
1291
|
+
* Atraso da transição em milissegundos.
|
|
1292
|
+
* @default 0
|
|
1293
|
+
*/
|
|
1294
|
+
"delay"?: number;
|
|
1295
|
+
}
|
|
1296
|
+
interface UiScrollProgress {
|
|
1297
|
+
}
|
|
1298
|
+
interface UiSection {
|
|
1299
|
+
/**
|
|
1300
|
+
* Descrição complementar.
|
|
1301
|
+
* @default ""
|
|
1302
|
+
*/
|
|
1303
|
+
"description"?: string;
|
|
1304
|
+
/**
|
|
1305
|
+
* Texto curto exibido acima do título.
|
|
1306
|
+
* @default ""
|
|
1307
|
+
*/
|
|
1308
|
+
"eyebrow"?: string;
|
|
1309
|
+
/**
|
|
1310
|
+
* Título principal da seção.
|
|
1311
|
+
* @default ""
|
|
1312
|
+
*/
|
|
1313
|
+
"heading"?: string;
|
|
1314
|
+
}
|
|
1315
|
+
interface UiSelect {
|
|
1316
|
+
/**
|
|
1317
|
+
* Desabilita o controle.
|
|
1318
|
+
* @default false
|
|
1319
|
+
*/
|
|
1320
|
+
"disabled"?: boolean;
|
|
1321
|
+
/**
|
|
1322
|
+
* Nome do campo.
|
|
1323
|
+
*/
|
|
1324
|
+
"name"?: string;
|
|
1325
|
+
/**
|
|
1326
|
+
* Emitido quando a seleção muda.
|
|
1327
|
+
*/
|
|
1328
|
+
"onUiChange"?: (event: UiSelectCustomEvent<string>) => void;
|
|
1329
|
+
/**
|
|
1330
|
+
* Opções disponíveis.
|
|
1331
|
+
* @default []
|
|
1332
|
+
*/
|
|
1333
|
+
"options"?: UiSelectOption[];
|
|
1334
|
+
/**
|
|
1335
|
+
* Placeholder exibido como opção desabilitada inicial.
|
|
1336
|
+
*/
|
|
1337
|
+
"placeholder"?: string;
|
|
1338
|
+
/**
|
|
1339
|
+
* Valor selecionado.
|
|
1340
|
+
*/
|
|
1341
|
+
"value"?: string;
|
|
1342
|
+
}
|
|
1343
|
+
interface UiSeparator {
|
|
1344
|
+
/**
|
|
1345
|
+
* Orientação da linha.
|
|
1346
|
+
* @default "horizontal"
|
|
1347
|
+
*/
|
|
1348
|
+
"orientation"?: UiSeparatorOrientation;
|
|
1349
|
+
}
|
|
1350
|
+
interface UiSkeleton {
|
|
1351
|
+
}
|
|
1352
|
+
interface UiSlider {
|
|
1353
|
+
/**
|
|
1354
|
+
* Desabilita o controle.
|
|
1355
|
+
* @default false
|
|
1356
|
+
*/
|
|
1357
|
+
"disabled"?: boolean;
|
|
1358
|
+
/**
|
|
1359
|
+
* Valor máximo.
|
|
1360
|
+
* @default 100
|
|
1361
|
+
*/
|
|
1362
|
+
"max"?: number;
|
|
1363
|
+
/**
|
|
1364
|
+
* Valor mínimo.
|
|
1365
|
+
* @default 0
|
|
1366
|
+
*/
|
|
1367
|
+
"min"?: number;
|
|
1368
|
+
/**
|
|
1369
|
+
* Emitido ao confirmar (change).
|
|
1370
|
+
*/
|
|
1371
|
+
"onUiChange"?: (event: UiSliderCustomEvent<number>) => void;
|
|
1372
|
+
/**
|
|
1373
|
+
* Emitido a cada movimento.
|
|
1374
|
+
*/
|
|
1375
|
+
"onUiInput"?: (event: UiSliderCustomEvent<number>) => void;
|
|
1376
|
+
/**
|
|
1377
|
+
* Incremento.
|
|
1378
|
+
* @default 1
|
|
1379
|
+
*/
|
|
1380
|
+
"step"?: number;
|
|
1381
|
+
/**
|
|
1382
|
+
* Valor atual.
|
|
1383
|
+
* @default 50
|
|
1384
|
+
*/
|
|
1385
|
+
"value"?: number;
|
|
1386
|
+
}
|
|
1387
|
+
interface UiSpinner {
|
|
1388
|
+
/**
|
|
1389
|
+
* Tamanho do spinner.
|
|
1390
|
+
* @default "md"
|
|
1391
|
+
*/
|
|
1392
|
+
"size"?: UiSpinnerSize1;
|
|
1393
|
+
}
|
|
1394
|
+
interface UiSwitch {
|
|
1395
|
+
/**
|
|
1396
|
+
* Estado ligado/desligado.
|
|
1397
|
+
* @default false
|
|
1398
|
+
*/
|
|
1399
|
+
"checked"?: boolean;
|
|
1400
|
+
/**
|
|
1401
|
+
* Desabilita o controle.
|
|
1402
|
+
* @default false
|
|
1403
|
+
*/
|
|
1404
|
+
"disabled"?: boolean;
|
|
1405
|
+
/**
|
|
1406
|
+
* Emitido quando o estado muda.
|
|
1407
|
+
*/
|
|
1408
|
+
"onUiChange"?: (event: UiSwitchCustomEvent<boolean>) => void;
|
|
1409
|
+
}
|
|
1410
|
+
interface UiTabs {
|
|
1411
|
+
/**
|
|
1412
|
+
* Lista de abas.
|
|
1413
|
+
* @default []
|
|
1414
|
+
*/
|
|
1415
|
+
"items"?: UiTabItem[];
|
|
1416
|
+
/**
|
|
1417
|
+
* Emitido quando a aba ativa muda.
|
|
1418
|
+
*/
|
|
1419
|
+
"onUiChange"?: (event: UiTabsCustomEvent<string>) => void;
|
|
1420
|
+
/**
|
|
1421
|
+
* Valor da aba ativa.
|
|
1422
|
+
* @default ""
|
|
1423
|
+
*/
|
|
1424
|
+
"value"?: string;
|
|
1425
|
+
}
|
|
1426
|
+
interface UiTextarea {
|
|
1427
|
+
/**
|
|
1428
|
+
* Desabilita o campo.
|
|
1429
|
+
* @default false
|
|
1430
|
+
*/
|
|
1431
|
+
"disabled"?: boolean;
|
|
1432
|
+
/**
|
|
1433
|
+
* Marca o campo como inválido (estilo + aria-invalid).
|
|
1434
|
+
* @default false
|
|
1435
|
+
*/
|
|
1436
|
+
"invalid"?: boolean;
|
|
1437
|
+
/**
|
|
1438
|
+
* Nome do campo.
|
|
1439
|
+
*/
|
|
1440
|
+
"name"?: string;
|
|
1441
|
+
/**
|
|
1442
|
+
* Emitido ao confirmar (change).
|
|
1443
|
+
*/
|
|
1444
|
+
"onUiChange"?: (event: UiTextareaCustomEvent<string>) => void;
|
|
1445
|
+
/**
|
|
1446
|
+
* Emitido a cada digitação.
|
|
1447
|
+
*/
|
|
1448
|
+
"onUiInput"?: (event: UiTextareaCustomEvent<string>) => void;
|
|
1449
|
+
/**
|
|
1450
|
+
* Placeholder.
|
|
1451
|
+
*/
|
|
1452
|
+
"placeholder"?: string;
|
|
1453
|
+
/**
|
|
1454
|
+
* Número de linhas visíveis.
|
|
1455
|
+
* @default 4
|
|
1456
|
+
*/
|
|
1457
|
+
"rows"?: number;
|
|
1458
|
+
/**
|
|
1459
|
+
* Valor do campo.
|
|
1460
|
+
* @default ""
|
|
1461
|
+
*/
|
|
1462
|
+
"value"?: string;
|
|
1463
|
+
}
|
|
1464
|
+
interface UiThemeToggle {
|
|
1465
|
+
/**
|
|
1466
|
+
* Emitido quando o tema é alterado.
|
|
1467
|
+
*/
|
|
1468
|
+
"onUiThemeChange"?: (event: UiThemeToggleCustomEvent<"light" | "dark">) => void;
|
|
1469
|
+
}
|
|
1470
|
+
interface UiToast {
|
|
1471
|
+
/**
|
|
1472
|
+
* Descrição do toast.
|
|
1473
|
+
*/
|
|
1474
|
+
"description"?: string;
|
|
1475
|
+
/**
|
|
1476
|
+
* Tempo em ms até o auto-dismiss.
|
|
1477
|
+
* @default 4000
|
|
1478
|
+
*/
|
|
1479
|
+
"duration"?: number;
|
|
1480
|
+
/**
|
|
1481
|
+
* Título do toast.
|
|
1482
|
+
*/
|
|
1483
|
+
"heading"?: string;
|
|
1484
|
+
/**
|
|
1485
|
+
* Emitido quando o toast é fechado (timer, close() ou botão).
|
|
1486
|
+
*/
|
|
1487
|
+
"onUiClose"?: (event: UiToastCustomEvent<void>) => void;
|
|
1488
|
+
/**
|
|
1489
|
+
* Controla a visibilidade do toast.
|
|
1490
|
+
* @default false
|
|
1491
|
+
*/
|
|
1492
|
+
"open"?: boolean;
|
|
1493
|
+
/**
|
|
1494
|
+
* Variante visual (afeta a borda lateral).
|
|
1495
|
+
* @default "default"
|
|
1496
|
+
*/
|
|
1497
|
+
"variant"?: UiToastVariant;
|
|
1498
|
+
}
|
|
1499
|
+
interface UiToaster {
|
|
1500
|
+
}
|
|
1501
|
+
interface UiTooltip {
|
|
1502
|
+
/**
|
|
1503
|
+
* Texto exibido no balão flutuante.
|
|
1504
|
+
* @default ""
|
|
1505
|
+
*/
|
|
1506
|
+
"content"?: string;
|
|
1507
|
+
/**
|
|
1508
|
+
* Atraso (ms) antes de exibir o balão.
|
|
1509
|
+
* @default 200
|
|
1510
|
+
*/
|
|
1511
|
+
"openDelay"?: number;
|
|
1512
|
+
/**
|
|
1513
|
+
* Posição preferida do balão relativa ao gatilho.
|
|
1514
|
+
* @default "top"
|
|
1515
|
+
*/
|
|
1516
|
+
"placement"?: Placement;
|
|
1517
|
+
}
|
|
1518
|
+
|
|
1519
|
+
interface UiAccordionItemAttributes {
|
|
1520
|
+
"heading": string;
|
|
1521
|
+
"open": boolean;
|
|
1522
|
+
}
|
|
1523
|
+
interface UiAvatarAttributes {
|
|
1524
|
+
"src": string;
|
|
1525
|
+
"alt": string;
|
|
1526
|
+
"fallback": string;
|
|
1527
|
+
}
|
|
1528
|
+
interface UiBadgeAttributes {
|
|
1529
|
+
"variant": UiBadgeVariant;
|
|
1530
|
+
}
|
|
1531
|
+
interface UiButtonAttributes {
|
|
1532
|
+
"variant": UiButtonVariant;
|
|
1533
|
+
"size": UiButtonSize;
|
|
1534
|
+
"disabled": boolean;
|
|
1535
|
+
"loading": boolean;
|
|
1536
|
+
"type": "button" | "submit" | "reset";
|
|
1537
|
+
}
|
|
1538
|
+
interface UiCheckboxAttributes {
|
|
1539
|
+
"checked": boolean;
|
|
1540
|
+
"disabled": boolean;
|
|
1541
|
+
"name": string;
|
|
1542
|
+
"value": string;
|
|
1543
|
+
}
|
|
1544
|
+
interface UiDialogAttributes {
|
|
1545
|
+
"open": boolean;
|
|
1546
|
+
}
|
|
1547
|
+
interface UiDrawerAttributes {
|
|
1548
|
+
"open": boolean;
|
|
1549
|
+
"side": "right" | "bottom";
|
|
1550
|
+
}
|
|
1551
|
+
interface UiDropdownItemAttributes {
|
|
1552
|
+
"disabled": boolean;
|
|
1553
|
+
}
|
|
1554
|
+
interface UiDropdownMenuAttributes {
|
|
1555
|
+
"open": boolean;
|
|
1556
|
+
"placement": Placement;
|
|
1557
|
+
}
|
|
1558
|
+
interface UiFieldAttributes {
|
|
1559
|
+
"label": string;
|
|
1560
|
+
"description": string;
|
|
1561
|
+
"error": string;
|
|
1562
|
+
"required": boolean;
|
|
1563
|
+
"fieldId": string;
|
|
1564
|
+
}
|
|
1565
|
+
interface UiInputAttributes {
|
|
1566
|
+
"value": string;
|
|
1567
|
+
"placeholder": string;
|
|
1568
|
+
"type": string;
|
|
1569
|
+
"disabled": boolean;
|
|
1570
|
+
"invalid": boolean;
|
|
1571
|
+
"name": string;
|
|
1572
|
+
}
|
|
1573
|
+
interface UiLoadingOverlayAttributes {
|
|
1574
|
+
"visible": boolean;
|
|
1575
|
+
"label": string;
|
|
1576
|
+
"spinnerSize": UiSpinnerSize;
|
|
1577
|
+
}
|
|
1578
|
+
interface UiPopoverAttributes {
|
|
1579
|
+
"open": boolean;
|
|
1580
|
+
"placement": Placement;
|
|
1581
|
+
}
|
|
1582
|
+
interface UiProgressAttributes {
|
|
1583
|
+
"value": number | null;
|
|
1584
|
+
"max": number;
|
|
1585
|
+
"indeterminate": boolean;
|
|
1586
|
+
}
|
|
1587
|
+
interface UiRadioGroupAttributes {
|
|
1588
|
+
"value": string;
|
|
1589
|
+
"name": string;
|
|
1590
|
+
"disabled": boolean;
|
|
1591
|
+
}
|
|
1592
|
+
interface UiRevealAttributes {
|
|
1593
|
+
"delay": number;
|
|
1594
|
+
}
|
|
1595
|
+
interface UiSectionAttributes {
|
|
1596
|
+
"eyebrow": string;
|
|
1597
|
+
"heading": string;
|
|
1598
|
+
"description": string;
|
|
1599
|
+
}
|
|
1600
|
+
interface UiSelectAttributes {
|
|
1601
|
+
"value": string;
|
|
1602
|
+
"disabled": boolean;
|
|
1603
|
+
"name": string;
|
|
1604
|
+
"placeholder": string;
|
|
1605
|
+
}
|
|
1606
|
+
interface UiSeparatorAttributes {
|
|
1607
|
+
"orientation": UiSeparatorOrientation;
|
|
1608
|
+
}
|
|
1609
|
+
interface UiSliderAttributes {
|
|
1610
|
+
"value": number;
|
|
1611
|
+
"min": number;
|
|
1612
|
+
"max": number;
|
|
1613
|
+
"step": number;
|
|
1614
|
+
"disabled": boolean;
|
|
1615
|
+
}
|
|
1616
|
+
interface UiSpinnerAttributes {
|
|
1617
|
+
"size": UiSpinnerSize;
|
|
1618
|
+
}
|
|
1619
|
+
interface UiSwitchAttributes {
|
|
1620
|
+
"checked": boolean;
|
|
1621
|
+
"disabled": boolean;
|
|
1622
|
+
}
|
|
1623
|
+
interface UiTabsAttributes {
|
|
1624
|
+
"value": string;
|
|
1625
|
+
}
|
|
1626
|
+
interface UiTextareaAttributes {
|
|
1627
|
+
"value": string;
|
|
1628
|
+
"placeholder": string;
|
|
1629
|
+
"disabled": boolean;
|
|
1630
|
+
"invalid": boolean;
|
|
1631
|
+
"name": string;
|
|
1632
|
+
"rows": number;
|
|
1633
|
+
}
|
|
1634
|
+
interface UiToastAttributes {
|
|
1635
|
+
"open": boolean;
|
|
1636
|
+
"variant": UiToastVariant;
|
|
1637
|
+
"heading": string;
|
|
1638
|
+
"description": string;
|
|
1639
|
+
"duration": number;
|
|
1640
|
+
}
|
|
1641
|
+
interface UiTooltipAttributes {
|
|
1642
|
+
"content": string;
|
|
1643
|
+
"placement": Placement;
|
|
1644
|
+
"openDelay": number;
|
|
1645
|
+
}
|
|
1646
|
+
|
|
1647
|
+
interface IntrinsicElements {
|
|
1648
|
+
"ui-accordion": UiAccordion;
|
|
1649
|
+
"ui-accordion-item": Omit<UiAccordionItem, keyof UiAccordionItemAttributes> & { [K in keyof UiAccordionItem & keyof UiAccordionItemAttributes]?: UiAccordionItem[K] } & { [K in keyof UiAccordionItem & keyof UiAccordionItemAttributes as `attr:${K}`]?: UiAccordionItemAttributes[K] } & { [K in keyof UiAccordionItem & keyof UiAccordionItemAttributes as `prop:${K}`]?: UiAccordionItem[K] };
|
|
1650
|
+
"ui-avatar": Omit<UiAvatar, keyof UiAvatarAttributes> & { [K in keyof UiAvatar & keyof UiAvatarAttributes]?: UiAvatar[K] } & { [K in keyof UiAvatar & keyof UiAvatarAttributes as `attr:${K}`]?: UiAvatarAttributes[K] } & { [K in keyof UiAvatar & keyof UiAvatarAttributes as `prop:${K}`]?: UiAvatar[K] };
|
|
1651
|
+
"ui-badge": Omit<UiBadge, keyof UiBadgeAttributes> & { [K in keyof UiBadge & keyof UiBadgeAttributes]?: UiBadge[K] } & { [K in keyof UiBadge & keyof UiBadgeAttributes as `attr:${K}`]?: UiBadgeAttributes[K] } & { [K in keyof UiBadge & keyof UiBadgeAttributes as `prop:${K}`]?: UiBadge[K] };
|
|
1652
|
+
"ui-button": Omit<UiButton, keyof UiButtonAttributes> & { [K in keyof UiButton & keyof UiButtonAttributes]?: UiButton[K] } & { [K in keyof UiButton & keyof UiButtonAttributes as `attr:${K}`]?: UiButtonAttributes[K] } & { [K in keyof UiButton & keyof UiButtonAttributes as `prop:${K}`]?: UiButton[K] };
|
|
1653
|
+
"ui-card": UiCard;
|
|
1654
|
+
"ui-checkbox": Omit<UiCheckbox, keyof UiCheckboxAttributes> & { [K in keyof UiCheckbox & keyof UiCheckboxAttributes]?: UiCheckbox[K] } & { [K in keyof UiCheckbox & keyof UiCheckboxAttributes as `attr:${K}`]?: UiCheckboxAttributes[K] } & { [K in keyof UiCheckbox & keyof UiCheckboxAttributes as `prop:${K}`]?: UiCheckbox[K] };
|
|
1655
|
+
"ui-dialog": Omit<UiDialog, keyof UiDialogAttributes> & { [K in keyof UiDialog & keyof UiDialogAttributes]?: UiDialog[K] } & { [K in keyof UiDialog & keyof UiDialogAttributes as `attr:${K}`]?: UiDialogAttributes[K] } & { [K in keyof UiDialog & keyof UiDialogAttributes as `prop:${K}`]?: UiDialog[K] };
|
|
1656
|
+
"ui-drawer": Omit<UiDrawer, keyof UiDrawerAttributes> & { [K in keyof UiDrawer & keyof UiDrawerAttributes]?: UiDrawer[K] } & { [K in keyof UiDrawer & keyof UiDrawerAttributes as `attr:${K}`]?: UiDrawerAttributes[K] } & { [K in keyof UiDrawer & keyof UiDrawerAttributes as `prop:${K}`]?: UiDrawer[K] };
|
|
1657
|
+
"ui-dropdown-item": Omit<UiDropdownItem, keyof UiDropdownItemAttributes> & { [K in keyof UiDropdownItem & keyof UiDropdownItemAttributes]?: UiDropdownItem[K] } & { [K in keyof UiDropdownItem & keyof UiDropdownItemAttributes as `attr:${K}`]?: UiDropdownItemAttributes[K] } & { [K in keyof UiDropdownItem & keyof UiDropdownItemAttributes as `prop:${K}`]?: UiDropdownItem[K] };
|
|
1658
|
+
"ui-dropdown-menu": Omit<UiDropdownMenu, keyof UiDropdownMenuAttributes> & { [K in keyof UiDropdownMenu & keyof UiDropdownMenuAttributes]?: UiDropdownMenu[K] } & { [K in keyof UiDropdownMenu & keyof UiDropdownMenuAttributes as `attr:${K}`]?: UiDropdownMenuAttributes[K] } & { [K in keyof UiDropdownMenu & keyof UiDropdownMenuAttributes as `prop:${K}`]?: UiDropdownMenu[K] };
|
|
1659
|
+
"ui-field": Omit<UiField, keyof UiFieldAttributes> & { [K in keyof UiField & keyof UiFieldAttributes]?: UiField[K] } & { [K in keyof UiField & keyof UiFieldAttributes as `attr:${K}`]?: UiFieldAttributes[K] } & { [K in keyof UiField & keyof UiFieldAttributes as `prop:${K}`]?: UiField[K] };
|
|
1660
|
+
"ui-input": Omit<UiInput, keyof UiInputAttributes> & { [K in keyof UiInput & keyof UiInputAttributes]?: UiInput[K] } & { [K in keyof UiInput & keyof UiInputAttributes as `attr:${K}`]?: UiInputAttributes[K] } & { [K in keyof UiInput & keyof UiInputAttributes as `prop:${K}`]?: UiInput[K] };
|
|
1661
|
+
"ui-label": UiLabel;
|
|
1662
|
+
"ui-loading-overlay": Omit<UiLoadingOverlay, keyof UiLoadingOverlayAttributes> & { [K in keyof UiLoadingOverlay & keyof UiLoadingOverlayAttributes]?: UiLoadingOverlay[K] } & { [K in keyof UiLoadingOverlay & keyof UiLoadingOverlayAttributes as `attr:${K}`]?: UiLoadingOverlayAttributes[K] } & { [K in keyof UiLoadingOverlay & keyof UiLoadingOverlayAttributes as `prop:${K}`]?: UiLoadingOverlay[K] };
|
|
1663
|
+
"ui-popover": Omit<UiPopover, keyof UiPopoverAttributes> & { [K in keyof UiPopover & keyof UiPopoverAttributes]?: UiPopover[K] } & { [K in keyof UiPopover & keyof UiPopoverAttributes as `attr:${K}`]?: UiPopoverAttributes[K] } & { [K in keyof UiPopover & keyof UiPopoverAttributes as `prop:${K}`]?: UiPopover[K] };
|
|
1664
|
+
"ui-progress": Omit<UiProgress, keyof UiProgressAttributes> & { [K in keyof UiProgress & keyof UiProgressAttributes]?: UiProgress[K] } & { [K in keyof UiProgress & keyof UiProgressAttributes as `attr:${K}`]?: UiProgressAttributes[K] } & { [K in keyof UiProgress & keyof UiProgressAttributes as `prop:${K}`]?: UiProgress[K] };
|
|
1665
|
+
"ui-radio-group": Omit<UiRadioGroup, keyof UiRadioGroupAttributes> & { [K in keyof UiRadioGroup & keyof UiRadioGroupAttributes]?: UiRadioGroup[K] } & { [K in keyof UiRadioGroup & keyof UiRadioGroupAttributes as `attr:${K}`]?: UiRadioGroupAttributes[K] } & { [K in keyof UiRadioGroup & keyof UiRadioGroupAttributes as `prop:${K}`]?: UiRadioGroup[K] };
|
|
1666
|
+
"ui-reveal": Omit<UiReveal, keyof UiRevealAttributes> & { [K in keyof UiReveal & keyof UiRevealAttributes]?: UiReveal[K] } & { [K in keyof UiReveal & keyof UiRevealAttributes as `attr:${K}`]?: UiRevealAttributes[K] } & { [K in keyof UiReveal & keyof UiRevealAttributes as `prop:${K}`]?: UiReveal[K] };
|
|
1667
|
+
"ui-scroll-progress": UiScrollProgress;
|
|
1668
|
+
"ui-section": Omit<UiSection, keyof UiSectionAttributes> & { [K in keyof UiSection & keyof UiSectionAttributes]?: UiSection[K] } & { [K in keyof UiSection & keyof UiSectionAttributes as `attr:${K}`]?: UiSectionAttributes[K] } & { [K in keyof UiSection & keyof UiSectionAttributes as `prop:${K}`]?: UiSection[K] };
|
|
1669
|
+
"ui-select": Omit<UiSelect, keyof UiSelectAttributes> & { [K in keyof UiSelect & keyof UiSelectAttributes]?: UiSelect[K] } & { [K in keyof UiSelect & keyof UiSelectAttributes as `attr:${K}`]?: UiSelectAttributes[K] } & { [K in keyof UiSelect & keyof UiSelectAttributes as `prop:${K}`]?: UiSelect[K] };
|
|
1670
|
+
"ui-separator": Omit<UiSeparator, keyof UiSeparatorAttributes> & { [K in keyof UiSeparator & keyof UiSeparatorAttributes]?: UiSeparator[K] } & { [K in keyof UiSeparator & keyof UiSeparatorAttributes as `attr:${K}`]?: UiSeparatorAttributes[K] } & { [K in keyof UiSeparator & keyof UiSeparatorAttributes as `prop:${K}`]?: UiSeparator[K] };
|
|
1671
|
+
"ui-skeleton": UiSkeleton;
|
|
1672
|
+
"ui-slider": Omit<UiSlider, keyof UiSliderAttributes> & { [K in keyof UiSlider & keyof UiSliderAttributes]?: UiSlider[K] } & { [K in keyof UiSlider & keyof UiSliderAttributes as `attr:${K}`]?: UiSliderAttributes[K] } & { [K in keyof UiSlider & keyof UiSliderAttributes as `prop:${K}`]?: UiSlider[K] };
|
|
1673
|
+
"ui-spinner": Omit<UiSpinner, keyof UiSpinnerAttributes> & { [K in keyof UiSpinner & keyof UiSpinnerAttributes]?: UiSpinner[K] } & { [K in keyof UiSpinner & keyof UiSpinnerAttributes as `attr:${K}`]?: UiSpinnerAttributes[K] } & { [K in keyof UiSpinner & keyof UiSpinnerAttributes as `prop:${K}`]?: UiSpinner[K] };
|
|
1674
|
+
"ui-switch": Omit<UiSwitch, keyof UiSwitchAttributes> & { [K in keyof UiSwitch & keyof UiSwitchAttributes]?: UiSwitch[K] } & { [K in keyof UiSwitch & keyof UiSwitchAttributes as `attr:${K}`]?: UiSwitchAttributes[K] } & { [K in keyof UiSwitch & keyof UiSwitchAttributes as `prop:${K}`]?: UiSwitch[K] };
|
|
1675
|
+
"ui-tabs": Omit<UiTabs, keyof UiTabsAttributes> & { [K in keyof UiTabs & keyof UiTabsAttributes]?: UiTabs[K] } & { [K in keyof UiTabs & keyof UiTabsAttributes as `attr:${K}`]?: UiTabsAttributes[K] } & { [K in keyof UiTabs & keyof UiTabsAttributes as `prop:${K}`]?: UiTabs[K] };
|
|
1676
|
+
"ui-textarea": Omit<UiTextarea, keyof UiTextareaAttributes> & { [K in keyof UiTextarea & keyof UiTextareaAttributes]?: UiTextarea[K] } & { [K in keyof UiTextarea & keyof UiTextareaAttributes as `attr:${K}`]?: UiTextareaAttributes[K] } & { [K in keyof UiTextarea & keyof UiTextareaAttributes as `prop:${K}`]?: UiTextarea[K] };
|
|
1677
|
+
"ui-theme-toggle": UiThemeToggle;
|
|
1678
|
+
"ui-toast": Omit<UiToast, keyof UiToastAttributes> & { [K in keyof UiToast & keyof UiToastAttributes]?: UiToast[K] } & { [K in keyof UiToast & keyof UiToastAttributes as `attr:${K}`]?: UiToastAttributes[K] } & { [K in keyof UiToast & keyof UiToastAttributes as `prop:${K}`]?: UiToast[K] };
|
|
1679
|
+
"ui-toaster": UiToaster;
|
|
1680
|
+
"ui-tooltip": Omit<UiTooltip, keyof UiTooltipAttributes> & { [K in keyof UiTooltip & keyof UiTooltipAttributes]?: UiTooltip[K] } & { [K in keyof UiTooltip & keyof UiTooltipAttributes as `attr:${K}`]?: UiTooltipAttributes[K] } & { [K in keyof UiTooltip & keyof UiTooltipAttributes as `prop:${K}`]?: UiTooltip[K] };
|
|
1681
|
+
}
|
|
1682
|
+
}
|
|
1683
|
+
export { LocalJSX as JSX };
|
|
1684
|
+
declare module "@stencil/core" {
|
|
1685
|
+
export namespace JSX {
|
|
1686
|
+
interface IntrinsicElements {
|
|
1687
|
+
"ui-accordion": LocalJSX.IntrinsicElements["ui-accordion"] & JSXBase.HTMLAttributes<HTMLUiAccordionElement>;
|
|
1688
|
+
"ui-accordion-item": LocalJSX.IntrinsicElements["ui-accordion-item"] & JSXBase.HTMLAttributes<HTMLUiAccordionItemElement>;
|
|
1689
|
+
"ui-avatar": LocalJSX.IntrinsicElements["ui-avatar"] & JSXBase.HTMLAttributes<HTMLUiAvatarElement>;
|
|
1690
|
+
"ui-badge": LocalJSX.IntrinsicElements["ui-badge"] & JSXBase.HTMLAttributes<HTMLUiBadgeElement>;
|
|
1691
|
+
"ui-button": LocalJSX.IntrinsicElements["ui-button"] & JSXBase.HTMLAttributes<HTMLUiButtonElement>;
|
|
1692
|
+
"ui-card": LocalJSX.IntrinsicElements["ui-card"] & JSXBase.HTMLAttributes<HTMLUiCardElement>;
|
|
1693
|
+
"ui-checkbox": LocalJSX.IntrinsicElements["ui-checkbox"] & JSXBase.HTMLAttributes<HTMLUiCheckboxElement>;
|
|
1694
|
+
"ui-dialog": LocalJSX.IntrinsicElements["ui-dialog"] & JSXBase.HTMLAttributes<HTMLUiDialogElement>;
|
|
1695
|
+
"ui-drawer": LocalJSX.IntrinsicElements["ui-drawer"] & JSXBase.HTMLAttributes<HTMLUiDrawerElement>;
|
|
1696
|
+
"ui-dropdown-item": LocalJSX.IntrinsicElements["ui-dropdown-item"] & JSXBase.HTMLAttributes<HTMLUiDropdownItemElement>;
|
|
1697
|
+
"ui-dropdown-menu": LocalJSX.IntrinsicElements["ui-dropdown-menu"] & JSXBase.HTMLAttributes<HTMLUiDropdownMenuElement>;
|
|
1698
|
+
"ui-field": LocalJSX.IntrinsicElements["ui-field"] & JSXBase.HTMLAttributes<HTMLUiFieldElement>;
|
|
1699
|
+
"ui-input": LocalJSX.IntrinsicElements["ui-input"] & JSXBase.HTMLAttributes<HTMLUiInputElement>;
|
|
1700
|
+
"ui-label": LocalJSX.IntrinsicElements["ui-label"] & JSXBase.HTMLAttributes<HTMLUiLabelElement>;
|
|
1701
|
+
/**
|
|
1702
|
+
* Sobreposição de carregamento que cobre o elemento pai.
|
|
1703
|
+
* O host pai deve ter `position: relative` para que a sobreposição
|
|
1704
|
+
* absoluta (inset 0) o cubra corretamente.
|
|
1705
|
+
*/
|
|
1706
|
+
"ui-loading-overlay": LocalJSX.IntrinsicElements["ui-loading-overlay"] & JSXBase.HTMLAttributes<HTMLUiLoadingOverlayElement>;
|
|
1707
|
+
"ui-popover": LocalJSX.IntrinsicElements["ui-popover"] & JSXBase.HTMLAttributes<HTMLUiPopoverElement>;
|
|
1708
|
+
"ui-progress": LocalJSX.IntrinsicElements["ui-progress"] & JSXBase.HTMLAttributes<HTMLUiProgressElement>;
|
|
1709
|
+
"ui-radio-group": LocalJSX.IntrinsicElements["ui-radio-group"] & JSXBase.HTMLAttributes<HTMLUiRadioGroupElement>;
|
|
1710
|
+
"ui-reveal": LocalJSX.IntrinsicElements["ui-reveal"] & JSXBase.HTMLAttributes<HTMLUiRevealElement>;
|
|
1711
|
+
"ui-scroll-progress": LocalJSX.IntrinsicElements["ui-scroll-progress"] & JSXBase.HTMLAttributes<HTMLUiScrollProgressElement>;
|
|
1712
|
+
"ui-section": LocalJSX.IntrinsicElements["ui-section"] & JSXBase.HTMLAttributes<HTMLUiSectionElement>;
|
|
1713
|
+
"ui-select": LocalJSX.IntrinsicElements["ui-select"] & JSXBase.HTMLAttributes<HTMLUiSelectElement>;
|
|
1714
|
+
"ui-separator": LocalJSX.IntrinsicElements["ui-separator"] & JSXBase.HTMLAttributes<HTMLUiSeparatorElement>;
|
|
1715
|
+
"ui-skeleton": LocalJSX.IntrinsicElements["ui-skeleton"] & JSXBase.HTMLAttributes<HTMLUiSkeletonElement>;
|
|
1716
|
+
"ui-slider": LocalJSX.IntrinsicElements["ui-slider"] & JSXBase.HTMLAttributes<HTMLUiSliderElement>;
|
|
1717
|
+
"ui-spinner": LocalJSX.IntrinsicElements["ui-spinner"] & JSXBase.HTMLAttributes<HTMLUiSpinnerElement>;
|
|
1718
|
+
"ui-switch": LocalJSX.IntrinsicElements["ui-switch"] & JSXBase.HTMLAttributes<HTMLUiSwitchElement>;
|
|
1719
|
+
"ui-tabs": LocalJSX.IntrinsicElements["ui-tabs"] & JSXBase.HTMLAttributes<HTMLUiTabsElement>;
|
|
1720
|
+
"ui-textarea": LocalJSX.IntrinsicElements["ui-textarea"] & JSXBase.HTMLAttributes<HTMLUiTextareaElement>;
|
|
1721
|
+
"ui-theme-toggle": LocalJSX.IntrinsicElements["ui-theme-toggle"] & JSXBase.HTMLAttributes<HTMLUiThemeToggleElement>;
|
|
1722
|
+
"ui-toast": LocalJSX.IntrinsicElements["ui-toast"] & JSXBase.HTMLAttributes<HTMLUiToastElement>;
|
|
1723
|
+
"ui-toaster": LocalJSX.IntrinsicElements["ui-toaster"] & JSXBase.HTMLAttributes<HTMLUiToasterElement>;
|
|
1724
|
+
"ui-tooltip": LocalJSX.IntrinsicElements["ui-tooltip"] & JSXBase.HTMLAttributes<HTMLUiTooltipElement>;
|
|
1725
|
+
}
|
|
1726
|
+
}
|
|
1727
|
+
}
|