@govbr-ds/webcomponents 2.0.0-next.3 → 2.0.0-next.5
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/LICENSE +1 -1
- package/README.md +104 -81
- package/dist/cjs/app-globals-3a1e7e63.js +7 -0
- package/dist/cjs/app-globals-3a1e7e63.js.map +1 -0
- package/dist/cjs/br-button.cjs.entry.js +116 -0
- package/dist/cjs/br-button.cjs.entry.js.map +1 -0
- package/dist/cjs/br-checkbox.cjs.entry.js +98 -0
- package/dist/cjs/br-checkbox.cjs.entry.js.map +1 -0
- package/dist/cjs/br-input.cjs.entry.js +116 -0
- package/dist/cjs/br-input.cjs.entry.js.map +1 -0
- package/dist/cjs/br-item.cjs.entry.js +87 -0
- package/dist/cjs/br-item.cjs.entry.js.map +1 -0
- package/dist/cjs/index-c5475da7.js +1476 -0
- package/dist/cjs/index-c5475da7.js.map +1 -0
- package/dist/cjs/index.cjs.js +4 -0
- package/dist/cjs/index.cjs.js.map +1 -0
- package/dist/cjs/inherited-attributes-61a2aff9.js +103 -0
- package/dist/cjs/inherited-attributes-61a2aff9.js.map +1 -0
- package/dist/cjs/loader.cjs.js +17 -0
- package/dist/cjs/loader.cjs.js.map +1 -0
- package/dist/cjs/webcomponents.cjs.js +27 -0
- package/dist/cjs/webcomponents.cjs.js.map +1 -0
- package/dist/collection/collection-manifest.json +15 -0
- package/dist/collection/components/button/button.css +24213 -0
- package/dist/collection/components/button/button.js +454 -0
- package/dist/collection/components/button/button.js.map +1 -0
- package/dist/collection/components/checkbox/checkbox.css +23375 -0
- package/dist/collection/components/checkbox/checkbox.js +392 -0
- package/dist/collection/components/checkbox/checkbox.js.map +1 -0
- package/dist/collection/components/input/input.css +23428 -0
- package/dist/collection/components/input/input.js +631 -0
- package/dist/collection/components/input/input.js.map +1 -0
- package/dist/collection/components/item/item.css +23596 -0
- package/dist/collection/components/item/item.js +297 -0
- package/dist/collection/components/item/item.js.map +1 -0
- package/dist/collection/index.js +2 -0
- package/dist/collection/index.js.map +1 -0
- package/dist/collection/pages/button/button.js +32 -0
- package/dist/collection/pages/checkbox/checkbox.js +34 -0
- package/dist/collection/pages/input/input.js +35 -0
- package/dist/collection/pages/item/item.js +0 -0
- package/dist/collection/utils/inherited-attributes.js +98 -0
- package/dist/collection/utils/inherited-attributes.js.map +1 -0
- package/dist/collection/utils/interfaces.js +2 -0
- package/dist/collection/utils/interfaces.js.map +1 -0
- package/dist/components/br-button.d.ts +11 -0
- package/dist/components/br-button.js +8 -0
- package/dist/components/br-button.js.map +1 -0
- package/dist/components/br-checkbox.d.ts +11 -0
- package/dist/components/br-checkbox.js +114 -0
- package/dist/components/br-checkbox.js.map +1 -0
- package/dist/components/br-input.d.ts +11 -0
- package/dist/components/br-input.js +150 -0
- package/dist/components/br-input.js.map +1 -0
- package/dist/components/br-item.d.ts +11 -0
- package/dist/components/br-item.js +99 -0
- package/dist/components/br-item.js.map +1 -0
- package/dist/components/button.js +132 -0
- package/dist/components/button.js.map +1 -0
- package/dist/components/index.d.ts +44 -0
- package/dist/components/index.js +7 -0
- package/dist/components/index.js.map +1 -0
- package/dist/components/inherited-attributes.js +101 -0
- package/dist/components/inherited-attributes.js.map +1 -0
- package/dist/esm/app-globals-0f993ce5.js +5 -0
- package/dist/esm/app-globals-0f993ce5.js.map +1 -0
- package/dist/esm/br-button.entry.js +112 -0
- package/dist/esm/br-button.entry.js.map +1 -0
- package/dist/esm/br-checkbox.entry.js +94 -0
- package/dist/esm/br-checkbox.entry.js.map +1 -0
- package/dist/esm/br-input.entry.js +112 -0
- package/dist/esm/br-input.entry.js.map +1 -0
- package/dist/esm/br-item.entry.js +83 -0
- package/dist/esm/br-item.entry.js.map +1 -0
- package/dist/esm/index-57007b22.js +1447 -0
- package/dist/esm/index-57007b22.js.map +1 -0
- package/dist/esm/index.js +3 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/inherited-attributes-c856c729.js +101 -0
- package/dist/esm/inherited-attributes-c856c729.js.map +1 -0
- package/dist/esm/loader.js +13 -0
- package/dist/esm/loader.js.map +1 -0
- package/dist/esm/polyfills/core-js.js +11 -0
- package/dist/esm/polyfills/dom.js +79 -0
- package/dist/esm/polyfills/es5-html-element.js +1 -0
- package/dist/esm/polyfills/index.js +34 -0
- package/dist/esm/polyfills/system.js +6 -0
- package/dist/esm/webcomponents.js +22 -0
- package/dist/esm/webcomponents.js.map +1 -0
- package/dist/index.cjs.js +1 -0
- package/dist/index.js +1 -0
- package/dist/types/components/button/button.d.ts +68 -0
- package/dist/types/components/checkbox/checkbox.d.ts +54 -0
- package/dist/types/components/input/input.d.ts +85 -0
- package/dist/types/components/item/item.d.ts +50 -0
- package/dist/types/components.d.ts +649 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/stencil-public-runtime.d.ts +1681 -0
- package/dist/types/utils/inherited-attributes.d.ts +20 -0
- package/dist/types/utils/interfaces.d.ts +3 -0
- package/dist/webcomponents/index.esm.js +2 -0
- package/dist/webcomponents/index.esm.js.map +1 -0
- package/dist/webcomponents/p-1b276845.entry.js +2 -0
- package/dist/webcomponents/p-1b276845.entry.js.map +1 -0
- package/dist/webcomponents/p-5f162437.entry.js +2 -0
- package/dist/webcomponents/p-5f162437.entry.js.map +1 -0
- package/dist/webcomponents/p-6d857090.entry.js +2 -0
- package/dist/webcomponents/p-6d857090.entry.js.map +1 -0
- package/dist/webcomponents/p-a0b98f14.entry.js +2 -0
- package/dist/webcomponents/p-a0b98f14.entry.js.map +1 -0
- package/dist/webcomponents/p-a3d8d916.js +3 -0
- package/dist/webcomponents/p-a3d8d916.js.map +1 -0
- package/dist/webcomponents/p-e1255160.js +2 -0
- package/dist/webcomponents/p-e1255160.js.map +1 -0
- package/dist/webcomponents/p-ee6f4f3f.js +2 -0
- package/dist/webcomponents/p-ee6f4f3f.js.map +1 -0
- package/dist/webcomponents/webcomponents.esm.js +2 -0
- package/dist/webcomponents/webcomponents.esm.js.map +1 -0
- package/hydrate/index.d.ts +218 -0
- package/hydrate/index.js +14213 -0
- package/hydrate/package.json +6 -0
- package/loader/cdn.js +3 -0
- package/loader/index.cjs.js +3 -0
- package/loader/index.d.ts +21 -0
- package/loader/index.es2017.js +3 -0
- package/loader/index.js +4 -0
- package/loader/package.json +11 -0
- package/package.json +42 -86
- package/vscode-data.json +272 -0
- package/dist/webcomponents.common.js +0 -24619
- package/dist/webcomponents.common.js.map +0 -1
- package/dist/webcomponents.umd.js +0 -24630
- package/dist/webcomponents.umd.js.map +0 -1
- package/dist/webcomponents.umd.min.js +0 -10
- package/dist/webcomponents.umd.min.js.map +0 -1
|
@@ -0,0 +1,297 @@
|
|
|
1
|
+
import { Host, h } from "@stencil/core";
|
|
2
|
+
import { inheritAriaAttributes } from "../../utils/inherited-attributes";
|
|
3
|
+
/**
|
|
4
|
+
* Consulte a [documentação GovBR-DS](https://www.gov.br/ds/components/item?tab=designer) para mais detalhes.
|
|
5
|
+
*
|
|
6
|
+
* @slot default
|
|
7
|
+
*/
|
|
8
|
+
export class Item {
|
|
9
|
+
constructor() {
|
|
10
|
+
this.inheritedAttributes = {};
|
|
11
|
+
this.disabled = undefined;
|
|
12
|
+
this.active = undefined;
|
|
13
|
+
this.selected = undefined;
|
|
14
|
+
}
|
|
15
|
+
connectedCallback() {
|
|
16
|
+
this.brConnectedCallback.emit(this);
|
|
17
|
+
}
|
|
18
|
+
componentWillLoad() {
|
|
19
|
+
this.brComponentWillLoad.emit(this);
|
|
20
|
+
this.inheritedAttributes = inheritAriaAttributes(this.el);
|
|
21
|
+
}
|
|
22
|
+
componentDidLoad() {
|
|
23
|
+
this.brComponentDidLoad.emit(this);
|
|
24
|
+
}
|
|
25
|
+
componentWillRender() {
|
|
26
|
+
this.brComponentWillRender.emit(this);
|
|
27
|
+
}
|
|
28
|
+
componentDidRender() {
|
|
29
|
+
this.brComponentDidRender.emit(this);
|
|
30
|
+
}
|
|
31
|
+
componentShouldUpdate() {
|
|
32
|
+
this.brComponentShouldUpdate.emit(this);
|
|
33
|
+
}
|
|
34
|
+
componentWillUpdate() {
|
|
35
|
+
this.brComponentWillUpdate.emit(this);
|
|
36
|
+
}
|
|
37
|
+
componentDidUpdate() {
|
|
38
|
+
this.brComponentDidUpdate.emit(this);
|
|
39
|
+
}
|
|
40
|
+
disconnectedCallback() {
|
|
41
|
+
this.brDisconnectedCallback.emit(this);
|
|
42
|
+
}
|
|
43
|
+
onFormAssociatedCallback(form) {
|
|
44
|
+
this.formAssociatedCallback.emit(form);
|
|
45
|
+
}
|
|
46
|
+
onFormDisassociatedCallback(form) {
|
|
47
|
+
this.formDisassociatedCallback.emit(form);
|
|
48
|
+
}
|
|
49
|
+
getCssClassMap() {
|
|
50
|
+
return {
|
|
51
|
+
'br-item': true,
|
|
52
|
+
disabled: this.disabled,
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
render() {
|
|
56
|
+
return (h(Host, { key: 'c46e3ed465539a997c4c21becaab05f484718f10' }, h("div", Object.assign({ key: '4c98a034eb880fb2c2ec80fba9075e742c7c3247', class: this.getCssClassMap(), "data-toggle": "selection" }, this.inheritedAttributes), h("slot", { key: 'cb9ff34d80d2c6819c4fbecd2c7acce7251d930a' }))));
|
|
57
|
+
}
|
|
58
|
+
static get is() { return "br-item"; }
|
|
59
|
+
static get encapsulation() { return "shadow"; }
|
|
60
|
+
static get formAssociated() { return true; }
|
|
61
|
+
static get originalStyleUrls() {
|
|
62
|
+
return {
|
|
63
|
+
"$": ["item.scss"]
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
static get styleUrls() {
|
|
67
|
+
return {
|
|
68
|
+
"$": ["item.css"]
|
|
69
|
+
};
|
|
70
|
+
}
|
|
71
|
+
static get properties() {
|
|
72
|
+
return {
|
|
73
|
+
"disabled": {
|
|
74
|
+
"type": "boolean",
|
|
75
|
+
"mutable": false,
|
|
76
|
+
"complexType": {
|
|
77
|
+
"original": "boolean",
|
|
78
|
+
"resolved": "boolean",
|
|
79
|
+
"references": {}
|
|
80
|
+
},
|
|
81
|
+
"required": false,
|
|
82
|
+
"optional": false,
|
|
83
|
+
"docs": {
|
|
84
|
+
"tags": [],
|
|
85
|
+
"text": ""
|
|
86
|
+
},
|
|
87
|
+
"attribute": "disabled",
|
|
88
|
+
"reflect": true
|
|
89
|
+
},
|
|
90
|
+
"active": {
|
|
91
|
+
"type": "boolean",
|
|
92
|
+
"mutable": false,
|
|
93
|
+
"complexType": {
|
|
94
|
+
"original": "boolean",
|
|
95
|
+
"resolved": "boolean",
|
|
96
|
+
"references": {}
|
|
97
|
+
},
|
|
98
|
+
"required": false,
|
|
99
|
+
"optional": false,
|
|
100
|
+
"docs": {
|
|
101
|
+
"tags": [],
|
|
102
|
+
"text": ""
|
|
103
|
+
},
|
|
104
|
+
"attribute": "active",
|
|
105
|
+
"reflect": true
|
|
106
|
+
},
|
|
107
|
+
"selected": {
|
|
108
|
+
"type": "boolean",
|
|
109
|
+
"mutable": false,
|
|
110
|
+
"complexType": {
|
|
111
|
+
"original": "boolean",
|
|
112
|
+
"resolved": "boolean",
|
|
113
|
+
"references": {}
|
|
114
|
+
},
|
|
115
|
+
"required": false,
|
|
116
|
+
"optional": false,
|
|
117
|
+
"docs": {
|
|
118
|
+
"tags": [],
|
|
119
|
+
"text": ""
|
|
120
|
+
},
|
|
121
|
+
"attribute": "selected",
|
|
122
|
+
"reflect": true
|
|
123
|
+
}
|
|
124
|
+
};
|
|
125
|
+
}
|
|
126
|
+
static get events() {
|
|
127
|
+
return [{
|
|
128
|
+
"method": "brConnectedCallback",
|
|
129
|
+
"name": "brConnectedCallback",
|
|
130
|
+
"bubbles": true,
|
|
131
|
+
"cancelable": true,
|
|
132
|
+
"composed": true,
|
|
133
|
+
"docs": {
|
|
134
|
+
"tags": [],
|
|
135
|
+
"text": "Consulte a documenta\u00E7\u00E3o do [StencilJS](https://stenciljs.com/docs/component-lifecycle#connectedcallback)."
|
|
136
|
+
},
|
|
137
|
+
"complexType": {
|
|
138
|
+
"original": "this",
|
|
139
|
+
"resolved": "this",
|
|
140
|
+
"references": {}
|
|
141
|
+
}
|
|
142
|
+
}, {
|
|
143
|
+
"method": "brComponentWillLoad",
|
|
144
|
+
"name": "brComponentWillLoad",
|
|
145
|
+
"bubbles": true,
|
|
146
|
+
"cancelable": true,
|
|
147
|
+
"composed": true,
|
|
148
|
+
"docs": {
|
|
149
|
+
"tags": [],
|
|
150
|
+
"text": "Consulte a documenta\u00E7\u00E3o do [StencilJS](https://stenciljs.com/docs/component-lifecycle#connectedcallback)."
|
|
151
|
+
},
|
|
152
|
+
"complexType": {
|
|
153
|
+
"original": "this",
|
|
154
|
+
"resolved": "this",
|
|
155
|
+
"references": {}
|
|
156
|
+
}
|
|
157
|
+
}, {
|
|
158
|
+
"method": "brComponentDidLoad",
|
|
159
|
+
"name": "brComponentDidLoad",
|
|
160
|
+
"bubbles": true,
|
|
161
|
+
"cancelable": true,
|
|
162
|
+
"composed": true,
|
|
163
|
+
"docs": {
|
|
164
|
+
"tags": [],
|
|
165
|
+
"text": "Consulte a documenta\u00E7\u00E3o do [StencilJS](https://stenciljs.com/docs/component-lifecycle#connectedcallback)."
|
|
166
|
+
},
|
|
167
|
+
"complexType": {
|
|
168
|
+
"original": "this",
|
|
169
|
+
"resolved": "this",
|
|
170
|
+
"references": {}
|
|
171
|
+
}
|
|
172
|
+
}, {
|
|
173
|
+
"method": "brComponentWillRender",
|
|
174
|
+
"name": "brComponentWillRender",
|
|
175
|
+
"bubbles": true,
|
|
176
|
+
"cancelable": true,
|
|
177
|
+
"composed": true,
|
|
178
|
+
"docs": {
|
|
179
|
+
"tags": [],
|
|
180
|
+
"text": "Consulte a documenta\u00E7\u00E3o do [StencilJS](https://stenciljs.com/docs/component-lifecycle#connectedcallback)."
|
|
181
|
+
},
|
|
182
|
+
"complexType": {
|
|
183
|
+
"original": "this",
|
|
184
|
+
"resolved": "this",
|
|
185
|
+
"references": {}
|
|
186
|
+
}
|
|
187
|
+
}, {
|
|
188
|
+
"method": "brComponentDidRender",
|
|
189
|
+
"name": "brComponentDidRender",
|
|
190
|
+
"bubbles": true,
|
|
191
|
+
"cancelable": true,
|
|
192
|
+
"composed": true,
|
|
193
|
+
"docs": {
|
|
194
|
+
"tags": [],
|
|
195
|
+
"text": "Consulte a documenta\u00E7\u00E3o do [StencilJS](https://stenciljs.com/docs/component-lifecycle#connectedcallback)."
|
|
196
|
+
},
|
|
197
|
+
"complexType": {
|
|
198
|
+
"original": "this",
|
|
199
|
+
"resolved": "this",
|
|
200
|
+
"references": {}
|
|
201
|
+
}
|
|
202
|
+
}, {
|
|
203
|
+
"method": "brComponentShouldUpdate",
|
|
204
|
+
"name": "brComponentShouldUpdate",
|
|
205
|
+
"bubbles": true,
|
|
206
|
+
"cancelable": true,
|
|
207
|
+
"composed": true,
|
|
208
|
+
"docs": {
|
|
209
|
+
"tags": [],
|
|
210
|
+
"text": "Consulte a documenta\u00E7\u00E3o do [StencilJS](https://stenciljs.com/docs/component-lifecycle#connectedcallback)."
|
|
211
|
+
},
|
|
212
|
+
"complexType": {
|
|
213
|
+
"original": "this",
|
|
214
|
+
"resolved": "this",
|
|
215
|
+
"references": {}
|
|
216
|
+
}
|
|
217
|
+
}, {
|
|
218
|
+
"method": "brComponentWillUpdate",
|
|
219
|
+
"name": "brComponentWillUpdate",
|
|
220
|
+
"bubbles": true,
|
|
221
|
+
"cancelable": true,
|
|
222
|
+
"composed": true,
|
|
223
|
+
"docs": {
|
|
224
|
+
"tags": [],
|
|
225
|
+
"text": "Consulte a documenta\u00E7\u00E3o do [StencilJS](https://stenciljs.com/docs/component-lifecycle#connectedcallback)."
|
|
226
|
+
},
|
|
227
|
+
"complexType": {
|
|
228
|
+
"original": "this",
|
|
229
|
+
"resolved": "this",
|
|
230
|
+
"references": {}
|
|
231
|
+
}
|
|
232
|
+
}, {
|
|
233
|
+
"method": "brComponentDidUpdate",
|
|
234
|
+
"name": "brComponentDidUpdate",
|
|
235
|
+
"bubbles": true,
|
|
236
|
+
"cancelable": true,
|
|
237
|
+
"composed": true,
|
|
238
|
+
"docs": {
|
|
239
|
+
"tags": [],
|
|
240
|
+
"text": "Consulte a documenta\u00E7\u00E3o do [StencilJS](https://stenciljs.com/docs/component-lifecycle#connectedcallback)."
|
|
241
|
+
},
|
|
242
|
+
"complexType": {
|
|
243
|
+
"original": "this",
|
|
244
|
+
"resolved": "this",
|
|
245
|
+
"references": {}
|
|
246
|
+
}
|
|
247
|
+
}, {
|
|
248
|
+
"method": "brDisconnectedCallback",
|
|
249
|
+
"name": "brDisconnectedCallback",
|
|
250
|
+
"bubbles": true,
|
|
251
|
+
"cancelable": true,
|
|
252
|
+
"composed": true,
|
|
253
|
+
"docs": {
|
|
254
|
+
"tags": [],
|
|
255
|
+
"text": "Consulte a documenta\u00E7\u00E3o do [StencilJS](https://stenciljs.com/docs/component-lifecycle#connectedcallback)."
|
|
256
|
+
},
|
|
257
|
+
"complexType": {
|
|
258
|
+
"original": "this",
|
|
259
|
+
"resolved": "this",
|
|
260
|
+
"references": {}
|
|
261
|
+
}
|
|
262
|
+
}, {
|
|
263
|
+
"method": "formAssociatedCallback",
|
|
264
|
+
"name": "formAssociatedCallback",
|
|
265
|
+
"bubbles": true,
|
|
266
|
+
"cancelable": true,
|
|
267
|
+
"composed": true,
|
|
268
|
+
"docs": {
|
|
269
|
+
"tags": [],
|
|
270
|
+
"text": "Componente foi inserido em um `<form>`"
|
|
271
|
+
},
|
|
272
|
+
"complexType": {
|
|
273
|
+
"original": "this",
|
|
274
|
+
"resolved": "this",
|
|
275
|
+
"references": {}
|
|
276
|
+
}
|
|
277
|
+
}, {
|
|
278
|
+
"method": "formDisassociatedCallback",
|
|
279
|
+
"name": "formDisassociatedCallback",
|
|
280
|
+
"bubbles": true,
|
|
281
|
+
"cancelable": true,
|
|
282
|
+
"composed": true,
|
|
283
|
+
"docs": {
|
|
284
|
+
"tags": [],
|
|
285
|
+
"text": "Componente foi removido de um `<form>`"
|
|
286
|
+
},
|
|
287
|
+
"complexType": {
|
|
288
|
+
"original": "this",
|
|
289
|
+
"resolved": "this",
|
|
290
|
+
"references": {}
|
|
291
|
+
}
|
|
292
|
+
}];
|
|
293
|
+
}
|
|
294
|
+
static get elementRef() { return "el"; }
|
|
295
|
+
static get attachInternalsMemberName() { return "elementInternals"; }
|
|
296
|
+
}
|
|
297
|
+
//# sourceMappingURL=item.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"item.js","sourceRoot":"","sources":["../../../src/components/item/item.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,SAAS,EAAE,OAAO,EAAE,KAAK,EAAgB,IAAI,EAAE,IAAI,EAAE,CAAC,EAAE,MAAM,eAAe,CAAA;AACvG,OAAO,EAAc,qBAAqB,EAAE,MAAM,kCAAkC,CAAA;AAGpF;;;;GAIG;AAOH,MAAM,OAAO,IAAI;;QAoFP,wBAAmB,GAAe,EAAE,CAAA;;;;;IAxE5C,iBAAiB;QACf,IAAI,CAAC,mBAAmB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;IACrC,CAAC;IAID,iBAAiB;QACf,IAAI,CAAC,mBAAmB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;QACnC,IAAI,CAAC,mBAAmB,GAAG,qBAAqB,CAAC,IAAI,CAAC,EAAE,CAAC,CAAA;IAC3D,CAAC;IAID,gBAAgB;QACd,IAAI,CAAC,kBAAkB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;IACpC,CAAC;IAID,mBAAmB;QACjB,IAAI,CAAC,qBAAqB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;IACvC,CAAC;IAID,kBAAkB;QAChB,IAAI,CAAC,oBAAoB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;IACtC,CAAC;IAID,qBAAqB;QACnB,IAAI,CAAC,uBAAuB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;IACzC,CAAC;IAID,mBAAmB;QACjB,IAAI,CAAC,qBAAqB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;IACvC,CAAC;IAID,kBAAkB;QAChB,IAAI,CAAC,oBAAoB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;IACtC,CAAC;IAID,oBAAoB;QAClB,IAAI,CAAC,sBAAsB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;IACxC,CAAC;IAID,wBAAwB,CAAC,IAAI;QAC3B,IAAI,CAAC,sBAAsB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;IACxC,CAAC;IAID,2BAA2B,CAAC,IAAI;QAC9B,IAAI,CAAC,yBAAyB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;IAC3C,CAAC;IAEO,cAAc;QACpB,OAAO;YACL,SAAS,EAAE,IAAI;YACf,QAAQ,EAAE,IAAI,CAAC,QAAQ;SACxB,CAAA;IACH,CAAC;IAID,MAAM;QACJ,OAAO,CACL,EAAC,IAAI;YACH,0EAAK,KAAK,EAAE,IAAI,CAAC,cAAc,EAAE,iBAAc,WAAW,IAAK,IAAI,CAAC,mBAAmB;gBACrF,8DAAa,CACT,CACD,CACR,CAAA;IACH,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { AttachInternals, Component, Element, Event, EventEmitter, Host, Prop, h } from '@stencil/core'\nimport { Attributes, inheritAriaAttributes } from '../../utils/inherited-attributes'\nimport { CssClassMap } from '../../utils/interfaces'\n\n/**\n * Consulte a [documentação GovBR-DS](https://www.gov.br/ds/components/item?tab=designer) para mais detalhes.\n *\n * @slot default\n */\n@Component({\n tag: 'br-item',\n styleUrl: 'item.scss',\n shadow: true,\n formAssociated: true,\n})\nexport class Item {\n /** Elemento host */\n @Element() el: HTMLDivElement\n\n @AttachInternals() elementInternals: ElementInternals\n\n @Prop({ reflect: true }) disabled: boolean\n @Prop({ reflect: true }) active: boolean\n @Prop({ reflect: true }) selected: boolean\n\n /** Consulte a documentação do [StencilJS](https://stenciljs.com/docs/component-lifecycle#connectedcallback). */\n @Event() brConnectedCallback: EventEmitter<this>\n connectedCallback() {\n this.brConnectedCallback.emit(this)\n }\n\n /** Consulte a documentação do [StencilJS](https://stenciljs.com/docs/component-lifecycle#connectedcallback). */\n @Event() brComponentWillLoad: EventEmitter<this>\n componentWillLoad() {\n this.brComponentWillLoad.emit(this)\n this.inheritedAttributes = inheritAriaAttributes(this.el)\n }\n\n /** Consulte a documentação do [StencilJS](https://stenciljs.com/docs/component-lifecycle#connectedcallback). */\n @Event() brComponentDidLoad: EventEmitter<this>\n componentDidLoad() {\n this.brComponentDidLoad.emit(this)\n }\n\n /** Consulte a documentação do [StencilJS](https://stenciljs.com/docs/component-lifecycle#connectedcallback). */\n @Event() brComponentWillRender: EventEmitter<this>\n componentWillRender() {\n this.brComponentWillRender.emit(this)\n }\n\n /** Consulte a documentação do [StencilJS](https://stenciljs.com/docs/component-lifecycle#connectedcallback). */\n @Event() brComponentDidRender: EventEmitter<this>\n componentDidRender() {\n this.brComponentDidRender.emit(this)\n }\n\n /** Consulte a documentação do [StencilJS](https://stenciljs.com/docs/component-lifecycle#connectedcallback). */\n @Event() brComponentShouldUpdate: EventEmitter<this>\n componentShouldUpdate() {\n this.brComponentShouldUpdate.emit(this)\n }\n\n /** Consulte a documentação do [StencilJS](https://stenciljs.com/docs/component-lifecycle#connectedcallback). */\n @Event() brComponentWillUpdate: EventEmitter<this>\n componentWillUpdate() {\n this.brComponentWillUpdate.emit(this)\n }\n\n /** Consulte a documentação do [StencilJS](https://stenciljs.com/docs/component-lifecycle#connectedcallback). */\n @Event() brComponentDidUpdate: EventEmitter<this>\n componentDidUpdate() {\n this.brComponentDidUpdate.emit(this)\n }\n\n /** Consulte a documentação do [StencilJS](https://stenciljs.com/docs/component-lifecycle#connectedcallback). */\n @Event() brDisconnectedCallback: EventEmitter<this>\n disconnectedCallback() {\n this.brDisconnectedCallback.emit(this)\n }\n\n /** Componente foi inserido em um `<form>` */\n @Event() formAssociatedCallback: EventEmitter<this>\n onFormAssociatedCallback(form) {\n this.formAssociatedCallback.emit(form)\n }\n\n /** Componente foi removido de um `<form>` */\n @Event() formDisassociatedCallback: EventEmitter<this>\n onFormDisassociatedCallback(form) {\n this.formDisassociatedCallback.emit(form)\n }\n\n private getCssClassMap(): CssClassMap {\n return {\n 'br-item': true,\n disabled: this.disabled,\n }\n }\n\n private inheritedAttributes: Attributes = {}\n\n render() {\n return (\n <Host>\n <div class={this.getCssClassMap()} data-toggle=\"selection\" {...this.inheritedAttributes}>\n <slot></slot>\n </div>\n </Host>\n )\n }\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAA","sourcesContent":["export * from './components'\n"]}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
if (!window.elementsToListen && !window.eventsToListen) {
|
|
2
|
+
const elementsToListen = document.querySelectorAll('br-button')
|
|
3
|
+
|
|
4
|
+
const eventsToListen = [
|
|
5
|
+
'blur',
|
|
6
|
+
'click',
|
|
7
|
+
'contextmenu',
|
|
8
|
+
'dblclick',
|
|
9
|
+
'focus',
|
|
10
|
+
'keydown',
|
|
11
|
+
'keypress',
|
|
12
|
+
'keyup',
|
|
13
|
+
'mousedown',
|
|
14
|
+
'mouseenter',
|
|
15
|
+
'mouseleave',
|
|
16
|
+
'mouseup',
|
|
17
|
+
]
|
|
18
|
+
|
|
19
|
+
elementsToListen.forEach((domElement) => {
|
|
20
|
+
eventsToListen.forEach((event) => {
|
|
21
|
+
domElement.addEventListener(event, function (event) {
|
|
22
|
+
console.log({
|
|
23
|
+
Elemento: domElement,
|
|
24
|
+
Evento: event,
|
|
25
|
+
Tipo: event.type,
|
|
26
|
+
'Detail(Custom Events)': event.detail,
|
|
27
|
+
'Data(Native Events)': event.data,
|
|
28
|
+
})
|
|
29
|
+
})
|
|
30
|
+
})
|
|
31
|
+
})
|
|
32
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
if (!window.elementsToListen && !window.eventsToListen) {
|
|
2
|
+
const elementsToListen = document.querySelectorAll('br-checkbox')
|
|
3
|
+
|
|
4
|
+
const eventsToListen = [
|
|
5
|
+
'blur',
|
|
6
|
+
'click',
|
|
7
|
+
'contextmenu',
|
|
8
|
+
'dblclick',
|
|
9
|
+
'focus',
|
|
10
|
+
'input',
|
|
11
|
+
'keydown',
|
|
12
|
+
'keypress',
|
|
13
|
+
'keyup',
|
|
14
|
+
'mousedown',
|
|
15
|
+
'mouseenter',
|
|
16
|
+
'mouseleave',
|
|
17
|
+
'mouseup',
|
|
18
|
+
'checkedChange',
|
|
19
|
+
]
|
|
20
|
+
|
|
21
|
+
elementsToListen.forEach((domElement) => {
|
|
22
|
+
eventsToListen.forEach((event) => {
|
|
23
|
+
domElement.addEventListener(event, function (event) {
|
|
24
|
+
console.log({
|
|
25
|
+
Elemento: domElement,
|
|
26
|
+
Evento: event,
|
|
27
|
+
Tipo: event.type,
|
|
28
|
+
'Detail(Custom Events)': event.detail,
|
|
29
|
+
'Data(Native Events)': event.data,
|
|
30
|
+
})
|
|
31
|
+
})
|
|
32
|
+
})
|
|
33
|
+
})
|
|
34
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
if (!window.elementsToListen && !window.eventsToListen) {
|
|
2
|
+
const elementsToListen = document.querySelectorAll('br-input')
|
|
3
|
+
|
|
4
|
+
const eventsToListen = [
|
|
5
|
+
'blur',
|
|
6
|
+
'click',
|
|
7
|
+
'contextmenu',
|
|
8
|
+
'dblclick',
|
|
9
|
+
'focus',
|
|
10
|
+
'input',
|
|
11
|
+
'keydown',
|
|
12
|
+
'keypress',
|
|
13
|
+
'keyup',
|
|
14
|
+
'mousedown',
|
|
15
|
+
'mouseenter',
|
|
16
|
+
'mouseleave',
|
|
17
|
+
'mouseup',
|
|
18
|
+
'paste',
|
|
19
|
+
'valueChange',
|
|
20
|
+
]
|
|
21
|
+
|
|
22
|
+
elementsToListen.forEach((domElement) => {
|
|
23
|
+
eventsToListen.forEach((event) => {
|
|
24
|
+
domElement.addEventListener(event, function (event) {
|
|
25
|
+
console.log({
|
|
26
|
+
Elemento: domElement,
|
|
27
|
+
Evento: event,
|
|
28
|
+
Tipo: event.type,
|
|
29
|
+
'Detail(Custom Events)': event.detail,
|
|
30
|
+
'Data(Native Events)': event.data,
|
|
31
|
+
})
|
|
32
|
+
})
|
|
33
|
+
})
|
|
34
|
+
})
|
|
35
|
+
}
|
|
File without changes
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
// This file was based on the core/utils/helpers from the Ionic Framework (MIT)
|
|
2
|
+
// https://github.com/ionic-team/ionic-framework/blob/main/core/src/utils/helpers.ts
|
|
3
|
+
/**
|
|
4
|
+
* List of available ARIA attributes + `role`.
|
|
5
|
+
* Removed deprecated attributes.
|
|
6
|
+
* https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes
|
|
7
|
+
*/
|
|
8
|
+
const ariaAttributes = [
|
|
9
|
+
'role',
|
|
10
|
+
'aria-activedescendant',
|
|
11
|
+
'aria-atomic',
|
|
12
|
+
'aria-autocomplete',
|
|
13
|
+
'aria-braillelabel',
|
|
14
|
+
'aria-brailleroledescription',
|
|
15
|
+
'aria-busy',
|
|
16
|
+
'aria-checked',
|
|
17
|
+
'aria-colcount',
|
|
18
|
+
'aria-colindex',
|
|
19
|
+
'aria-colindextext',
|
|
20
|
+
'aria-colspan',
|
|
21
|
+
'aria-controls',
|
|
22
|
+
'aria-current',
|
|
23
|
+
'aria-describedby',
|
|
24
|
+
'aria-description',
|
|
25
|
+
'aria-details',
|
|
26
|
+
'aria-disabled',
|
|
27
|
+
'aria-errormessage',
|
|
28
|
+
'aria-expanded',
|
|
29
|
+
'aria-flowto',
|
|
30
|
+
'aria-haspopup',
|
|
31
|
+
'aria-hidden',
|
|
32
|
+
'aria-invalid',
|
|
33
|
+
'aria-keyshortcuts',
|
|
34
|
+
'aria-label',
|
|
35
|
+
'aria-labelledby',
|
|
36
|
+
'aria-level',
|
|
37
|
+
'aria-live',
|
|
38
|
+
'aria-multiline',
|
|
39
|
+
'aria-multiselectable',
|
|
40
|
+
'aria-orientation',
|
|
41
|
+
'aria-owns',
|
|
42
|
+
'aria-placeholder',
|
|
43
|
+
'aria-posinset',
|
|
44
|
+
'aria-pressed',
|
|
45
|
+
'aria-readonly',
|
|
46
|
+
'aria-relevant',
|
|
47
|
+
'aria-required',
|
|
48
|
+
'aria-roledescription',
|
|
49
|
+
'aria-rowcount',
|
|
50
|
+
'aria-rowindex',
|
|
51
|
+
'aria-rowindextext',
|
|
52
|
+
'aria-rowspan',
|
|
53
|
+
'aria-selected',
|
|
54
|
+
'aria-setsize',
|
|
55
|
+
'aria-sort',
|
|
56
|
+
'aria-valuemax',
|
|
57
|
+
'aria-valuemin',
|
|
58
|
+
'aria-valuenow',
|
|
59
|
+
'aria-valuetext',
|
|
60
|
+
];
|
|
61
|
+
/**
|
|
62
|
+
* Elements inside of web components sometimes need to inherit global attributes
|
|
63
|
+
* set on the host. For example, the inner input in `ion-input` should inherit
|
|
64
|
+
* the `title` attribute that developers set directly on `ion-input`. This
|
|
65
|
+
* helper function should be called in componentWillLoad and assigned to a variable
|
|
66
|
+
* that is later used in the render function.
|
|
67
|
+
*
|
|
68
|
+
* This does not need to be reactive as changing attributes on the host element
|
|
69
|
+
* does not trigger a re-render.
|
|
70
|
+
*/
|
|
71
|
+
export const inheritAttributes = (el, attributes = []) => {
|
|
72
|
+
const attributeObject = {};
|
|
73
|
+
attributes.forEach((attr) => {
|
|
74
|
+
if (el.hasAttribute(attr)) {
|
|
75
|
+
const value = el.getAttribute(attr);
|
|
76
|
+
if (value !== null) {
|
|
77
|
+
attributeObject[attr] = el.getAttribute(attr);
|
|
78
|
+
}
|
|
79
|
+
el.removeAttribute(attr);
|
|
80
|
+
}
|
|
81
|
+
});
|
|
82
|
+
return attributeObject;
|
|
83
|
+
};
|
|
84
|
+
/**
|
|
85
|
+
* Returns an array of aria attributes that should be copied from
|
|
86
|
+
* the shadow host element to a target within the light DOM.
|
|
87
|
+
* @param el The element that the attributes should be copied from.
|
|
88
|
+
* @param ignoreList The list of aria-attributes to ignore reflecting and removing from the host.
|
|
89
|
+
* Use this in instances where we manually specify aria attributes on the `<Host>` element.
|
|
90
|
+
*/
|
|
91
|
+
export const inheritAriaAttributes = (el, ignoreList) => {
|
|
92
|
+
let attributesToInherit = ariaAttributes;
|
|
93
|
+
if (ignoreList && ignoreList.length > 0) {
|
|
94
|
+
attributesToInherit = attributesToInherit.filter((attr) => !ignoreList.includes(attr));
|
|
95
|
+
}
|
|
96
|
+
return inheritAttributes(el, attributesToInherit);
|
|
97
|
+
};
|
|
98
|
+
//# sourceMappingURL=inherited-attributes.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"inherited-attributes.js","sourceRoot":"","sources":["../../src/utils/inherited-attributes.ts"],"names":[],"mappings":"AAAA,+EAA+E;AAC/E,oFAAoF;AAIpF;;;;GAIG;AACH,MAAM,cAAc,GAAG;IACrB,MAAM;IACN,uBAAuB;IACvB,aAAa;IACb,mBAAmB;IACnB,mBAAmB;IACnB,6BAA6B;IAC7B,WAAW;IACX,cAAc;IACd,eAAe;IACf,eAAe;IACf,mBAAmB;IACnB,cAAc;IACd,eAAe;IACf,cAAc;IACd,kBAAkB;IAClB,kBAAkB;IAClB,cAAc;IACd,eAAe;IACf,mBAAmB;IACnB,eAAe;IACf,aAAa;IACb,eAAe;IACf,aAAa;IACb,cAAc;IACd,mBAAmB;IACnB,YAAY;IACZ,iBAAiB;IACjB,YAAY;IACZ,WAAW;IACX,gBAAgB;IAChB,sBAAsB;IACtB,kBAAkB;IAClB,WAAW;IACX,kBAAkB;IAClB,eAAe;IACf,cAAc;IACd,eAAe;IACf,eAAe;IACf,eAAe;IACf,sBAAsB;IACtB,eAAe;IACf,eAAe;IACf,mBAAmB;IACnB,cAAc;IACd,eAAe;IACf,cAAc;IACd,WAAW;IACX,eAAe;IACf,eAAe;IACf,eAAe;IACf,gBAAgB;CACjB,CAAA;AAED;;;;;;;;;GASG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,EAAe,EAAE,aAAuB,EAAE,EAAE,EAAE;IAC9E,MAAM,eAAe,GAAe,EAAE,CAAA;IAEtC,UAAU,CAAC,OAAO,CAAC,CAAC,IAAI,EAAE,EAAE;QAC1B,IAAI,EAAE,CAAC,YAAY,CAAC,IAAI,CAAC,EAAE,CAAC;YAC1B,MAAM,KAAK,GAAG,EAAE,CAAC,YAAY,CAAC,IAAI,CAAC,CAAA;YACnC,IAAI,KAAK,KAAK,IAAI,EAAE,CAAC;gBACnB,eAAe,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,YAAY,CAAC,IAAI,CAAC,CAAA;YAC/C,CAAC;YACD,EAAE,CAAC,eAAe,CAAC,IAAI,CAAC,CAAA;QAC1B,CAAC;IACH,CAAC,CAAC,CAAA;IAEF,OAAO,eAAe,CAAA;AACxB,CAAC,CAAA;AAED;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,EAAe,EAAE,UAAqB,EAAE,EAAE;IAC9E,IAAI,mBAAmB,GAAG,cAAc,CAAA;IACxC,IAAI,UAAU,IAAI,UAAU,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;QACxC,mBAAmB,GAAG,mBAAmB,CAAC,MAAM,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,UAAU,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAA;IACxF,CAAC;IACD,OAAO,iBAAiB,CAAC,EAAE,EAAE,mBAAmB,CAAC,CAAA;AACnD,CAAC,CAAA","sourcesContent":["// This file was based on the core/utils/helpers from the Ionic Framework (MIT)\n// https://github.com/ionic-team/ionic-framework/blob/main/core/src/utils/helpers.ts\n\nexport type Attributes = Record<string, any>\n\n/**\n * List of available ARIA attributes + `role`.\n * Removed deprecated attributes.\n * https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes\n */\nconst ariaAttributes = [\n 'role',\n 'aria-activedescendant',\n 'aria-atomic',\n 'aria-autocomplete',\n 'aria-braillelabel',\n 'aria-brailleroledescription',\n 'aria-busy',\n 'aria-checked',\n 'aria-colcount',\n 'aria-colindex',\n 'aria-colindextext',\n 'aria-colspan',\n 'aria-controls',\n 'aria-current',\n 'aria-describedby',\n 'aria-description',\n 'aria-details',\n 'aria-disabled',\n 'aria-errormessage',\n 'aria-expanded',\n 'aria-flowto',\n 'aria-haspopup',\n 'aria-hidden',\n 'aria-invalid',\n 'aria-keyshortcuts',\n 'aria-label',\n 'aria-labelledby',\n 'aria-level',\n 'aria-live',\n 'aria-multiline',\n 'aria-multiselectable',\n 'aria-orientation',\n 'aria-owns',\n 'aria-placeholder',\n 'aria-posinset',\n 'aria-pressed',\n 'aria-readonly',\n 'aria-relevant',\n 'aria-required',\n 'aria-roledescription',\n 'aria-rowcount',\n 'aria-rowindex',\n 'aria-rowindextext',\n 'aria-rowspan',\n 'aria-selected',\n 'aria-setsize',\n 'aria-sort',\n 'aria-valuemax',\n 'aria-valuemin',\n 'aria-valuenow',\n 'aria-valuetext',\n]\n\n/**\n * Elements inside of web components sometimes need to inherit global attributes\n * set on the host. For example, the inner input in `ion-input` should inherit\n * the `title` attribute that developers set directly on `ion-input`. This\n * helper function should be called in componentWillLoad and assigned to a variable\n * that is later used in the render function.\n *\n * This does not need to be reactive as changing attributes on the host element\n * does not trigger a re-render.\n */\nexport const inheritAttributes = (el: HTMLElement, attributes: string[] = []) => {\n const attributeObject: Attributes = {}\n\n attributes.forEach((attr) => {\n if (el.hasAttribute(attr)) {\n const value = el.getAttribute(attr)\n if (value !== null) {\n attributeObject[attr] = el.getAttribute(attr)\n }\n el.removeAttribute(attr)\n }\n })\n\n return attributeObject\n}\n\n/**\n * Returns an array of aria attributes that should be copied from\n * the shadow host element to a target within the light DOM.\n * @param el The element that the attributes should be copied from.\n * @param ignoreList The list of aria-attributes to ignore reflecting and removing from the host.\n * Use this in instances where we manually specify aria attributes on the `<Host>` element.\n */\nexport const inheritAriaAttributes = (el: HTMLElement, ignoreList?: string[]) => {\n let attributesToInherit = ariaAttributes\n if (ignoreList && ignoreList.length > 0) {\n attributesToInherit = attributesToInherit.filter((attr) => !ignoreList.includes(attr))\n }\n return inheritAttributes(el, attributesToInherit)\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../src/utils/interfaces.ts"],"names":[],"mappings":"","sourcesContent":["export type CssClassMap = { [className: string]: boolean }\n"]}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface BrButton extends Components.BrButton, HTMLElement {}
|
|
4
|
+
export const BrButton: {
|
|
5
|
+
prototype: BrButton;
|
|
6
|
+
new (): BrButton;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"file":"br-button.js","mappings":";;;;;;;","names":[],"sources":[],"sourcesContent":[],"version":3}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface BrCheckbox extends Components.BrCheckbox, HTMLElement {}
|
|
4
|
+
export const BrCheckbox: {
|
|
5
|
+
prototype: BrCheckbox;
|
|
6
|
+
new (): BrCheckbox;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|