@govbr-ds/webcomponents
Version:
Biblioteca de Web Components baseado no GovBR-DS
435 lines (430 loc) • 13.7 kB
JavaScript
/*!
* Construído por SERPRO
* © https://serpro.gov.br/ - MIT License.
*/
import { p as e, H as t, b as o } from "./p-ClsF4De3.js";
export { s as setNonce } from "./p-ClsF4De3.js";
import { g as i } from "./p-DVjNHTTs.js";
/*
Stencil Client Patch Browser v4.28.2 | MIT Licensed | https://stenciljs.com
*/ var patchBrowser = () => {
{
patchCloneNodeFix(t.prototype);
}
const o = import.meta.url;
const i = {};
if (o !== "") {
i.resourcesUrl = new URL(".", o).href;
}
return e(i);
};
var patchCloneNodeFix = e => {
const t = e.cloneNode;
e.cloneNode = function(e) {
if (this.nodeName === "TEMPLATE") {
return t.call(this, e);
}
const o = t.call(this, false);
const i = this.childNodes;
if (e) {
for (let e = 0; e < i.length; e++) {
if (i[e].nodeType !== 2) {
o.appendChild(i[e].cloneNode(true));
}
}
}
return o;
};
};
patchBrowser().then((async e => {
await i();
return o([ [ "p-0447cdba", [ [ 65, "br-select", {
label: [ 513 ],
placeholder: [ 513 ],
isMultiple: [ 516, "is-multiple" ],
options: [ 513 ],
selectAllLabel: [ 513, "select-all-label" ],
unselectAllLabel: [ 513, "unselect-all-label" ],
showSearchIcon: [ 516, "show-search-icon" ],
isOpen: [ 516, "is-open" ],
customId: [ 513, "custom-id" ],
parsedOptions: [ 32 ],
inputValue: [ 32 ],
isAllSelected: [ 32 ],
isExpanded: [ 32 ],
focusedIndex: [ 32 ],
toggleOpen: [ 64 ]
}, null, {
options: [ "synchronizeSelect" ]
} ] ] ], [ "p-83fd1103", [ [ 1, "br-breadcrumb", {
customId: [ 513, "custom-id" ],
homeUrl: [ 1, "home-url" ],
crumbs: [ 1 ],
showTooltip: [ 32 ],
tooltipPosition: [ 32 ],
tooltipText: [ 32 ],
isSmallScreen: [ 32 ],
isTruncate: [ 32 ],
larguraInterna: [ 32 ],
larguraPai: [ 32 ],
isFolderOpen: [ 32 ]
} ] ] ], [ "p-8beb9c43", [ [ 1, "br-footer-category", {
customId: [ 513, "custom-id" ],
label: [ 513 ],
isDesktop: [ 32 ],
accordionGroup: [ 32 ]
} ] ] ], [ "p-97a81778", [ [ 1, "br-footer-social", {
customId: [ 513, "custom-id" ],
icon: [ 513 ],
description: [ 513 ],
href: [ 513 ]
} ] ] ], [ "p-ad61c1ff", [ [ 65, "br-message", {
messageTitle: [ 513, "message-title" ],
customId: [ 513, "custom-id" ],
message: [ 513 ],
isInline: [ 516, "is-inline" ],
isClosable: [ 516, "is-closable" ],
autoRemove: [ 516, "auto-remove" ],
showIcon: [ 516, "show-icon" ],
isFeedback: [ 516, "is-feedback" ],
state: [ 513 ]
} ] ] ], [ "p-ac1f9283", [ [ 65, "br-step-item", {
label: [ 513 ],
highlight: [ 513 ],
active: [ 516 ],
disabled: [ 516 ],
brIconName: [ 513, "br-icon-name" ],
brIconAria: [ 513, "br-icon-aria" ],
showTimeLine: [ 32 ],
stepItemPositionStatus: [ 32 ],
stepLayout: [ 32 ],
labelPosition: [ 32 ],
contentType: [ 32 ],
mode: [ 32 ],
content: [ 32 ],
ariaLabelContent: [ 32 ],
setStepItemPositionStatus: [ 64 ],
handleShowTimeLine: [ 64 ],
setLabelPosition: [ 64 ],
setContentType: [ 64 ],
setMode: [ 64 ],
setContent: [ 64 ]
}, null, {
active: [ "watchItemIsActive" ]
} ] ] ], [ "p-421fbea1", [ [ 65, "br-tag", {
label: [ 513 ],
iconName: [ 513, "icon-name" ],
name: [ 513 ],
multiple: [ 516 ],
selected: [ 1540 ],
customId: [ 513, "custom-id" ],
color: [ 513 ],
density: [ 513 ],
shape: [ 513 ],
status: [ 516 ],
interaction: [ 1540 ],
interactionSelect: [ 516, "interaction-select" ],
disabled: [ 516 ],
selectedClassValue: [ 32 ]
}, [ [ 4, "radioSelected", "handleCheckedChange" ] ], {
interaction: [ "handleInteractionChange" ],
interactionSelect: [ "handleInteractionSelectChange" ],
selected: [ "handleSelectedChange" ]
} ] ] ], [ "p-e15ccd94", [ [ 65, "br-tooltip", {
customId: [ 513, "custom-id" ],
position: [ 513 ],
type: [ 513 ],
density: [ 513 ],
state: [ 513 ],
isAutoVisible: [ 516, "is-auto-visible" ],
showDelay: [ 514, "show-delay" ],
hideDelay: [ 514, "hide-delay" ],
isVisible: [ 32 ]
}, [ [ 0, "focusin", "handleFocusIn" ], [ 0, "focusout", "handleFocusOut" ], [ 4, "keydown", "handleKeyDown" ] ], {
isVisible: [ "handleVisibilityChange" ]
} ] ] ], [ "p-f3ab9e06", [ [ 65, "br-upload", {
accept: [ 1 ],
label: [ 1 ],
disabled: [ 516 ],
state: [ 513 ],
multiple: [ 4 ],
filesSelected: [ 32 ],
file: [ 32 ]
} ] ] ], [ "p-23a4fcb7", [ [ 1, "br-avatar", {
density: [ 1025 ],
customId: [ 513, "custom-id" ],
src: [ 1 ],
alt: [ 1 ],
isIconic: [ 4, "is-iconic" ],
text: [ 1 ],
iconWidth: [ 1, "icon-width" ],
iconHeight: [ 1, "icon-height" ],
iconMarginTop: [ 1, "icon-margin-top" ],
disabled: [ 4 ],
hasError: [ 32 ]
}, null, {
density: [ "handleDensityChange" ]
} ] ] ], [ "p-f9f7d333", [ [ 65, "br-checkgroup", {
label: [ 1 ],
labelSelecionado: [ 513, "label-selecionado" ],
labelDesselecionado: [ 513, "label-desselecionado" ],
indeterminate: [ 516 ],
customId: [ 513, "custom-id" ],
checked: [ 32 ],
isIndeterminate: [ 32 ]
}, [ [ 4, "checkedChange", "handleChange" ] ] ] ] ], [ "p-206222bd", [ [ 1, "br-footer-item", {
customId: [ 513, "custom-id" ],
href: [ 513 ]
} ] ] ], [ "p-658ace55", [ [ 1, "br-footer-legal", {
customId: [ 513, "custom-id" ]
} ] ] ], [ "p-ca5c62c2", [ [ 65, "br-tab-item", {
TabItemId: [ 513, "tab-item-id" ],
icon: [ 513 ],
tabItemTitle: [ 513, "tab-item-title" ],
onlyIcon: [ 516, "only-icon" ],
isActive: [ 516, "is-active" ],
counter: [ 513 ],
colorMode: [ 513, "color-mode" ]
} ] ] ], [ "p-8ac9dcff", [ [ 65, "br-dropdown", {
isOpen: [ 1540, "is-open" ],
customId: [ 513, "custom-id" ],
open: [ 64 ],
hide: [ 64 ],
setFocus: [ 64 ]
}, null, {
isOpen: [ "isOpenChanged" ]
} ] ] ], [ "p-d1bc7827", [ [ 1, "br-footer", {
customId: [ 513, "custom-id" ],
theme: [ 513 ],
socialNetworkTitle: [ 513, "social-network-title" ]
} ] ] ], [ "p-d0f538be", [ [ 1, "br-footer-logo", {
customId: [ 513, "custom-id" ],
src: [ 513 ],
description: [ 513 ],
position: [ 513 ],
isPartner: [ 516, "is-partner" ]
} ] ] ], [ "p-134cb974", [ [ 65, "br-loading", {
isProgress: [ 516, "is-progress" ],
customId: [ 513, "custom-id" ],
progressPercent: [ 514, "progress-percent" ],
isMedium: [ 516, "is-medium" ],
label: [ 513 ]
} ] ] ], [ "p-3d5600cb", [ [ 65, "br-scrim", {
customId: [ 513, "custom-id" ],
isOpen: [ 516, "is-open" ],
positionContent: [ 1, "position-content" ],
disableCloseOnClick: [ 4, "disable-close-on-click" ],
zIndex: [ 2, "z-index" ],
customBackground: [ 1, "custom-background" ],
customOpacity: [ 2, "custom-opacity" ],
displayMode: [ 1, "display-mode" ],
scrollStrategy: [ 1, "scroll-strategy" ],
scrollThreshold: [ 2, "scroll-threshold" ],
activator: [ 1 ],
isActive: [ 32 ],
hasActivatorSlot: [ 32 ],
setScrollThreshold: [ 64 ],
open: [ 64 ],
close: [ 64 ],
toggle: [ 64 ]
}, null, {
isOpen: [ "handleOpenChange" ],
zIndex: [ "updateStyles" ],
customBackground: [ "updateStyles" ],
customOpacity: [ "updateStyles" ],
activator: [ "handleActivatorChange" ]
} ] ] ], [ "p-7fe9c7a6", [ [ 65, "br-step", {
layout: [ 513 ],
initialStep: [ 513, "initial-step" ],
labelPosition: [ 513, "label-position" ],
contentType: [ 513, "content-type" ],
mode: [ 513 ],
progressionType: [ 513, "progression-type" ],
activeStep: [ 32 ],
stepItems: [ 32 ],
ProceedToNextStep: [ 64 ],
BackToPreviousStep: [ 64 ],
StepValidation: [ 64 ],
GetActiveStep: [ 64 ]
}, [ [ 2, "click", "handleClick" ] ] ] ] ], [ "p-28ea059b", [ [ 65, "br-switch", {
disabled: [ 516 ],
checked: [ 1540 ],
customId: [ 513, "custom-id" ],
label: [ 1 ],
labelPosition: [ 513, "label-position" ],
labelOn: [ 513, "label-on" ],
labelOff: [ 513, "label-off" ],
hasIcon: [ 516, "has-icon" ],
name: [ 513 ],
value: [ 513 ],
density: [ 513 ],
_slotDefault: [ 32 ],
toggleChecked: [ 64 ]
} ] ] ], [ "p-f246829a", [ [ 65, "br-tab", {
density: [ 513 ],
colorMode: [ 513, "color-mode" ],
activeTab: [ 32 ],
tabItems: [ 32 ],
tabContent: [ 32 ]
}, null, {
activeTab: [ "activeTabChanged" ]
} ] ] ], [ "p-2068764a", [ [ 1, "br-table", {
customId: [ 513, "custom-id" ]
} ] ] ], [ "p-e510f79c", [ [ 1, "br-table-cell", {
customId: [ 513, "custom-id" ],
hasVerticalBorder: [ 516, "has-vertical-border" ],
horizontalAlign: [ 513, "horizontal-align" ]
}, [ [ 4, "brHorizontalAlignDidChange", "handleHorizontalAlignDidChange" ] ], {
horizontalAlign: [ "handleHorizontalAlignChange" ]
} ] ] ], [ "p-4e7ea644", [ [ 1, "br-table-header-cell", {
customId: [ 513, "custom-id" ],
hasVerticalBorder: [ 516, "has-vertical-border" ],
horizontalAlign: [ 513, "horizontal-align" ]
}, null, {
horizontalAlign: [ "handleHorizontalAlignChange" ]
} ] ] ], [ "p-516a7306", [ [ 1, "br-table-header-row", {
customId: [ 513, "custom-id" ]
} ] ] ], [ "p-314c0445", [ [ 1, "br-table-row", {
customId: [ 513, "custom-id" ]
} ] ] ], [ "p-6c43ab50", [ [ 65, "br-textarea", {
value: [ 1537 ],
label: [ 513 ],
placeholder: [ 513 ],
customId: [ 513, "custom-id" ],
disabled: [ 516 ],
maxlength: [ 514 ],
showCounter: [ 516, "show-counter" ],
state: [ 513 ],
density: [ 513 ],
isInline: [ 516, "is-inline" ],
currentLength: [ 32 ],
setValue: [ 64 ]
}, null, {
value: [ "valueChanged" ]
} ] ] ], [ "p-316ca203", [ [ 1, "br-divider", {
customId: [ 513, "custom-id" ],
orientation: [ 513 ],
thickness: [ 513 ],
borderStyle: [ 513, "border-style" ],
isDarkMode: [ 516, "is-dark-mode" ],
color: [ 513 ],
align: [ 1 ],
bleed: [ 4 ],
slotDefault: [ 32 ]
}, null, {
color: [ "updateColor" ]
} ] ] ], [ "p-d01d51a9", [ [ 65, "br-button", {
colorMode: [ 513, "color-mode" ],
customId: [ 513, "custom-id" ],
density: [ 513 ],
disabled: [ 516 ],
emphasis: [ 513 ],
isActive: [ 516, "is-active" ],
isLoading: [ 516, "is-loading" ],
shape: [ 513 ],
type: [ 513 ],
value: [ 513 ],
ariaLabel: [ 513, "aria-label" ],
ariaPressed: [ 513, "aria-pressed" ]
} ], [ 1, "br-icon", {
iconName: [ 513, "icon-name" ],
height: [ 513 ],
customId: [ 513, "custom-id" ],
width: [ 513 ],
cssClasses: [ 513, "css-classes" ],
isInline: [ 516, "is-inline" ],
rotate: [ 513 ],
flip: [ 513 ],
isFocusable: [ 516, "is-focusable" ]
} ] ] ], [ "p-aaedb60b", [ [ 65, "br-input", {
type: [ 513 ],
autocomplete: [ 513 ],
density: [ 513 ],
disabled: [ 516 ],
isInline: [ 516, "is-inline" ],
isHighlight: [ 516, "is-highlight" ],
state: [ 513 ],
label: [ 513 ],
customId: [ 513, "custom-id" ],
name: [ 513 ],
placeholder: [ 513 ],
readonly: [ 516 ],
required: [ 516 ],
value: [ 1537 ],
helpText: [ 513, "help-text" ],
autocorrect: [ 513 ],
min: [ 514 ],
max: [ 514 ],
minlength: [ 514 ],
maxlength: [ 514 ],
multiple: [ 516 ],
pattern: [ 513 ],
step: [ 514 ],
actionLabel: [ 513, "action-label" ],
isPasswordVisible: [ 32 ],
internalState: [ 32 ],
hasIconSlot: [ 32 ],
hasActionSlot: [ 32 ],
hasFeedbackSlot: [ 32 ]
} ], [ 65, "br-radio", {
checked: [ 1540 ],
disabled: [ 516 ],
state: [ 513 ],
hasHiddenLabel: [ 516, "has-hidden-label" ],
customId: [ 513, "custom-id" ],
name: [ 513 ],
label: [ 513 ],
value: [ 513 ],
toggleChecked: [ 64 ]
}, [ [ 8, "checkedChange", "handleCheckedChange" ], [ 0, "keydown", "handleKeyDown" ] ] ] ] ], [ "p-11862752", [ [ 65, "br-checkbox", {
indeterminate: [ 1540 ],
checked: [ 1540 ],
customId: [ 513, "custom-id" ],
disabled: [ 516 ],
hasHiddenLabel: [ 516, "has-hidden-label" ],
label: [ 513 ],
name: [ 513 ],
state: [ 513 ],
value: [ 513 ],
slotDefault: [ 32 ],
setIndeterminate: [ 64 ],
toggleChecked: [ 64 ]
}, null, {
indeterminate: [ "updateIndeterminate" ]
} ] ] ], [ "p-c25d500c", [ [ 65, "br-item", {
disabled: [ 516 ],
customId: [ 513, "custom-id" ],
isActive: [ 516, "is-active" ],
isSelected: [ 516, "is-selected" ],
isInteractive: [ 516, "is-interactive" ],
href: [ 513 ],
target: [ 513 ],
isButton: [ 516, "is-button" ],
type: [ 1537 ],
value: [ 513 ],
density: [ 513 ],
hasSlotDefault: [ 32 ],
hasSlotStart: [ 32 ],
hasSlotEnd: [ 32 ],
selectedValue: [ 32 ],
setFocus: [ 64 ]
}, [ [ 4, "checkedChange", "handleRadioChange" ], [ 4, "checkedChange", "handleCheckboxChange" ] ] ] ] ], [ "p-5c638bff", [ [ 65, "br-list", {
header: [ 513 ],
isHorizontal: [ 516, "is-horizontal" ],
customId: [ 513, "custom-id" ],
hideHeaderDivider: [ 516, "hide-header-divider" ],
collapse: [ 516 ],
accordion: [ 513 ]
} ], [ 65, "br-collapse", {
customId: [ 513, "custom-id" ],
open: [ 1540 ],
accordionGroup: [ 1, "accordion-group" ],
iconToShow: [ 1, "icon-to-show" ],
iconToHide: [ 1, "icon-to-hide" ],
iconPosition: [ 1, "icon-position" ],
openCollapse: [ 64 ],
closeCollapse: [ 64 ]
}, [ [ 4, "brDidOpen", "handleOpen" ] ] ] ] ] ], e);
}));
//# sourceMappingURL=webcomponents.esm.js.map
//# sourceMappingURL=webcomponents.esm.js.map