@thibezer/ui-components-kit 2.6.0 → 2.7.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/CHANGELOG.md +73 -0
- package/README.md +2 -2
- package/dist/acessibilidade-CSzX-DkG.cjs +1 -0
- package/dist/acessibilidade-CUlSXc2X.js +38 -0
- package/dist/camadas.cjs +94 -94
- package/dist/camadas.js +1218 -1124
- package/dist/campo-texto.cjs +1 -1
- package/dist/campo-texto.js +1 -1
- package/dist/canvas.cjs +66 -65
- package/dist/canvas.js +3769 -3389
- package/dist/card.cjs +1 -1
- package/dist/card.js +1 -1
- package/dist/components/ui-alerta/ui-toast.d.ts +4 -15
- package/dist/components/ui-avatar/ui-avatar.d.ts +11 -0
- package/dist/components/ui-badge/ui-badge.d.ts +2 -0
- package/dist/components/ui-barra-ferramentas/paleta-atalhos.d.ts +16 -0
- package/dist/components/ui-barra-ferramentas/paleta-pressao-longa.d.ts +24 -0
- package/dist/components/ui-barra-ferramentas/ribbon-render.d.ts +14 -0
- package/dist/components/ui-barra-ferramentas/ribbon-teclado.d.ts +17 -0
- package/dist/components/ui-barra-ferramentas/ui-paleta-ferramentas.d.ts +1 -7
- package/dist/components/ui-barra-ferramentas/ui-ribbon.d.ts +0 -1
- package/dist/components/ui-camadas/camadas-arraste-controles.d.ts +2 -0
- package/dist/components/ui-camadas/camadas-arvore-renderer.d.ts +4 -11
- package/dist/components/ui-camadas/camadas-colecao.d.ts +27 -0
- package/dist/components/ui-camadas/camadas-drag-drop.d.ts +13 -1
- package/dist/components/ui-camadas/camadas-drop-ops.d.ts +31 -0
- package/dist/components/ui-camadas/camadas-hierarquia.d.ts +10 -0
- package/dist/components/ui-camadas/camadas-lembranca.d.ts +34 -0
- package/dist/components/ui-camadas/camadas-render.d.ts +14 -0
- package/dist/components/ui-camadas/camadas-renomear.d.ts +12 -0
- package/dist/components/ui-camadas/camadas-selecao-api.d.ts +17 -0
- package/dist/components/ui-camadas/camadas-thumb.d.ts +1 -0
- package/dist/components/ui-camadas/ui-camadas.d.ts +3 -5
- package/dist/components/ui-canvas-cad/cad-acessibilidade.d.ts +15 -0
- package/dist/components/ui-canvas-cad/cad-atributos-sync.d.ts +2 -1
- package/dist/components/ui-canvas-cad/cad-broadcast.d.ts +1 -1
- package/dist/components/ui-canvas-cad/cad-evento-coordenadas.d.ts +22 -0
- package/dist/components/ui-canvas-cad/cad-eventos-canvas.d.ts +3 -8
- package/dist/components/ui-canvas-cad/cad-feicoes-camera.d.ts +26 -0
- package/dist/components/ui-canvas-cad/cad-feicoes-consulta.d.ts +21 -0
- package/dist/components/ui-canvas-cad/cad-feicoes-dados.d.ts +39 -0
- package/dist/components/ui-canvas-cad/cad-feicoes-desenho.d.ts +68 -0
- package/dist/components/ui-canvas-cad/cad-feicoes-edicao.d.ts +37 -0
- package/dist/components/ui-canvas-cad/cad-feicoes-operacoes.d.ts +48 -0
- package/dist/components/ui-canvas-cad/cad-feicoes-ponteiro.d.ts +24 -0
- package/dist/components/ui-canvas-cad/cad-feicoes-selecao-regiao.d.ts +22 -0
- package/dist/components/ui-canvas-cad/cad-feicoes-tipos.d.ts +53 -0
- package/dist/components/ui-canvas-cad/cad-feicoes-versoes.d.ts +33 -0
- package/dist/components/ui-canvas-cad/cad-feicoes.d.ts +26 -106
- package/dist/components/ui-canvas-cad/cad-inicializador.d.ts +3 -1
- package/dist/components/ui-canvas-cad/cad-leaflet-adaptador.d.ts +5 -0
- package/dist/components/ui-canvas-cad/cad-selecao-pontos.d.ts +5 -0
- package/dist/components/ui-canvas-cad/tipos.d.ts +37 -0
- package/dist/components/ui-canvas-cad/ui-canvas-cad.d.ts +4 -1
- package/dist/components/ui-checkbox/ui-checkbox.d.ts +4 -1
- package/dist/components/ui-cores/tipos.d.ts +2 -0
- package/dist/components/ui-cores/ui-controle-cores.d.ts +8 -3
- package/dist/components/ui-cores/ui-seletor-cor.d.ts +3 -1
- package/dist/components/ui-mapa/mapa-atributos.d.ts +14 -0
- package/dist/components/ui-mapa/mapa-basemaps.d.ts +7 -0
- package/dist/components/ui-mapa/mapa-icones.d.ts +4 -0
- package/dist/components/ui-mapa/mapa-leaflet.d.ts +5 -0
- package/dist/components/ui-mapa/mapa-vinculo-pai.d.ts +22 -0
- package/dist/components/ui-mapa/tipos.d.ts +13 -0
- package/dist/components/ui-mapa/ui-mapa-linha.d.ts +12 -5
- package/dist/components/ui-mapa/ui-mapa-marcador.d.ts +15 -6
- package/dist/components/ui-mapa/ui-mapa.d.ts +14 -1
- package/dist/components/ui-modal/modal-acessibilidade.d.ts +5 -5
- package/dist/components/ui-modal/modal-foco.d.ts +28 -0
- package/dist/components/ui-modal/ui-modal.d.ts +1 -11
- package/dist/components/ui-radio/radio-grupo-registry.d.ts +10 -0
- package/dist/components/ui-radio/ui-radio.d.ts +9 -2
- package/dist/components/ui-skeleton/ui-skeleton.d.ts +9 -0
- package/dist/components/ui-switch/ui-switch.d.ts +3 -1
- package/dist/components/ui-tabela/tabela-estados.d.ts +16 -0
- package/dist/components/ui-tabela/tabela-rolagem.d.ts +44 -0
- package/dist/components/ui-tabela/tabela-teclado.d.ts +16 -0
- package/dist/components/ui-tabela/ui-tabela.d.ts +1 -19
- package/dist/components/ui-tooltip/tooltip-popover.d.ts +7 -0
- package/dist/components/ui-tooltip/tooltip-posicionamento.d.ts +29 -0
- package/dist/components/ui-tooltip/ui-tooltip.d.ts +24 -1
- package/dist/core/opcoes.d.ts +9 -0
- package/dist/core/rotulo-controle.d.ts +13 -0
- package/dist/core/tipos-toast.d.ts +16 -0
- package/dist/core/ui-bus.d.ts +9 -1
- package/dist/core.cjs +1 -1
- package/dist/core.js +12 -11
- package/dist/cores.cjs +1 -1
- package/dist/cores.js +1 -1
- package/dist/custom-elements.json +19799 -14940
- package/dist/data.cjs +1 -1
- package/dist/data.js +2 -2
- package/dist/feedback.cjs +1 -1
- package/dist/feedback.js +21 -21
- package/dist/form-validacao-BlQFxUVj.js +104 -0
- package/dist/form-validacao-DIeyQVH5.cjs +1 -0
- package/dist/forms.cjs +1 -1
- package/dist/forms.js +2 -2
- package/dist/index.cjs +1 -1
- package/dist/index.js +46 -46
- package/dist/mapa.cjs +11 -16
- package/dist/mapa.js +242 -170
- package/dist/modal.cjs +1 -1
- package/dist/modal.js +1 -1
- package/dist/opcoes-CJYLi6kd.js +12 -0
- package/dist/opcoes-CkyDxBuQ.cjs +1 -0
- package/dist/register.cjs +1 -1
- package/dist/register.js +13 -14
- package/dist/tabela.cjs +1 -1
- package/dist/tabela.js +1 -1
- package/dist/tipos-elementos.d.ts +9 -3
- package/dist/tipos-vue.d.ts +9 -3
- package/dist/tools.cjs +1 -1
- package/dist/tools.js +1 -1
- package/dist/ui-badge-ChiiiO1r.js +197 -0
- package/dist/ui-badge-DUCxyAG6.cjs +28 -0
- package/dist/{zero-js-triggers-C_KrvFOQ.js → ui-bus-CUd99VJi.js} +36 -103
- package/dist/ui-bus-XqBLlTYQ.cjs +1 -0
- package/dist/ui-campo-texto-CHTfMO-H.cjs +16 -0
- package/dist/ui-campo-texto-gum_jDdI.js +380 -0
- package/dist/ui-card-BNYCQ7g-.js +119 -0
- package/dist/ui-card-BrjBL-yo.cjs +20 -0
- package/dist/ui-controle-cores-DgEza3wF.js +612 -0
- package/dist/ui-controle-cores-uY__TgwW.cjs +117 -0
- package/dist/ui-modal-BkYvNP0G.js +214 -0
- package/dist/ui-modal-CUNbpbZ1.cjs +18 -0
- package/dist/ui-paleta-ferramentas-Ksh6gMW3.js +890 -0
- package/dist/ui-paleta-ferramentas-bDLPbiGA.cjs +21 -0
- package/dist/ui-segmented-BOaGRQw4.cjs +19 -0
- package/dist/ui-segmented-kbO1BLVs.js +439 -0
- package/dist/ui-skeleton-B2Rgrv8o.js +648 -0
- package/dist/ui-skeleton-BilwGdOm.js +634 -0
- package/dist/ui-skeleton-DiOxTBZK.cjs +52 -0
- package/dist/ui-skeleton-SPYqku8P.cjs +52 -0
- package/dist/ui-skeleton-W9uwIceA.js +585 -0
- package/dist/ui-skeleton-gZrJipCC.cjs +52 -0
- package/dist/ui-switch-BX6U5Ykm.cjs +53 -0
- package/dist/ui-switch-DO5jR0hy.js +915 -0
- package/dist/ui-tabela-propriedades-D9Echt2X.js +2667 -0
- package/dist/ui-tabela-propriedades-DzZlyNZ_.cjs +141 -0
- package/dist/zero-js-triggers-CJT988bR.js +83 -0
- package/dist/zero-js-triggers-CgM9IIQB.cjs +1 -0
- package/package.json +10 -3
- package/dist/ui-botao-OGJV6Vfk.js +0 -165
- package/dist/ui-botao-psS1juof.cjs +0 -12
- package/dist/ui-paleta-ferramentas-CEZYcN4J.js +0 -624
- package/dist/ui-paleta-ferramentas-Dbj1kBS9.cjs +0 -18
- package/dist/ui-skeleton-DI4_9WOX.js +0 -428
- package/dist/ui-skeleton-elhKIh2B.cjs +0 -33
- package/dist/ui-tabela-propriedades-BBr5sqki.cjs +0 -145
- package/dist/ui-tabela-propriedades-Boy7I5yW.js +0 -2412
- package/dist/ui-toast-Bp_NlM5G.js +0 -156
- package/dist/ui-toast-DGTZKne5.cjs +0 -20
- package/dist/zero-js-triggers-C_gtaojZ.cjs +0 -1
package/dist/mapa.js
CHANGED
|
@@ -1,111 +1,166 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
1
|
+
var C = Object.defineProperty;
|
|
2
|
+
var x = (r, e, t) => e in r ? C(r, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : r[e] = t;
|
|
3
|
+
var s = (r, e, t) => x(r, typeof e != "symbol" ? e + "" : e, t);
|
|
4
4
|
/* empty css */
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
const
|
|
9
|
-
function
|
|
5
|
+
import { l as z, p as v } from "./leaflet-PPDKB6Dd.js";
|
|
6
|
+
import { d as m, S as d } from "./ssr-safe-5cWfJP-s.js";
|
|
7
|
+
import { c as S, o as I } from "./leaflet-loader-Cjcdgj5R.js";
|
|
8
|
+
const _ = ":host{display:block;width:100%;height:400px;position:relative;border-radius:var(--ui-raio-lg, 10px);overflow:hidden;box-shadow:var(--shadow-sm, 0 1px 3px rgba(0,0,0,.1))}.ui-mapa-container{width:100%;height:100%;z-index:1}.leaflet-top,.leaflet-bottom{z-index:1000}.ui-mapa-popup{font-family:inherit;font-size:13px;font-weight:500;color:#111827;padding:2px 4px}.ui-mapa-svg-pin,.ui-mapa-div-marker{background:transparent!important;border:none!important;cursor:pointer;transition:transform .15s ease,filter .15s ease}.ui-mapa-svg-pin:hover,.ui-mapa-div-marker:hover{transform:scale(1.15);filter:brightness(1.2)}";
|
|
9
|
+
function h() {
|
|
10
|
+
return I() ?? null;
|
|
11
|
+
}
|
|
12
|
+
async function E() {
|
|
13
|
+
return await S() ?? null;
|
|
14
|
+
}
|
|
15
|
+
function w(r) {
|
|
10
16
|
return {
|
|
11
17
|
osm: {
|
|
12
18
|
nome: "OpenStreetMap",
|
|
13
|
-
layer: () =>
|
|
19
|
+
layer: () => r.tileLayer("https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png", {
|
|
14
20
|
attribution: '© <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors'
|
|
15
21
|
})
|
|
16
22
|
},
|
|
17
23
|
satelite: {
|
|
18
24
|
nome: "Satélite (Esri)",
|
|
19
|
-
layer: () =>
|
|
25
|
+
layer: () => r.tileLayer("https://server.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer/tile/{z}/{y}/{x}", {
|
|
20
26
|
attribution: "Tiles © Esri — Source: Esri, i-cubed, USDA, USGS, AEX, GeoEye, Getmapping, Aerogrid, IGN, IGP, UPR-EGP, and the GIS User Community"
|
|
21
27
|
})
|
|
22
28
|
},
|
|
23
29
|
topografia: {
|
|
24
30
|
nome: "Topografia",
|
|
25
|
-
layer: () =>
|
|
31
|
+
layer: () => r.tileLayer("https://{s}.tile.opentopomap.org/{z}/{x}/{y}.png", {
|
|
26
32
|
attribution: 'Map data: © <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors, <a href="http://viewfinderpanoramas.org">SRTM</a> | Map style: © <a href="https://opentopomap.org">OpenTopoMap</a> (<a href="https://creativecommons.org/licenses/by-sa/3.0/">CC-BY-SA</a>)'
|
|
27
33
|
})
|
|
28
34
|
},
|
|
29
35
|
ruas: {
|
|
30
36
|
nome: "Ruas (Esri)",
|
|
31
|
-
layer: () =>
|
|
37
|
+
layer: () => r.tileLayer("https://server.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer/tile/{z}/{y}/{x}", {
|
|
32
38
|
attribution: "Tiles © Esri — Source: Esri, DeLorme, NAVTEQ, USGS, Intermap, iPC, NRCAN, Esri Japan, METI, Esri China (Hong Kong), Esri (Thailand), TomTom, 2012"
|
|
33
39
|
})
|
|
34
40
|
}
|
|
35
41
|
};
|
|
36
42
|
}
|
|
37
|
-
|
|
43
|
+
const p = { lat: -23.55052, lng: -46.633308, zoom: 13 }, L = "#00f5a0", O = "#3388ff", k = 3, l = (r) => Number.isFinite(r);
|
|
44
|
+
function A(r, e, t) {
|
|
45
|
+
const i = parseFloat(r ?? ""), o = parseFloat(e ?? ""), a = parseInt(t ?? "", 10);
|
|
46
|
+
return {
|
|
47
|
+
lat: l(i) && Math.abs(i) <= 90 ? i : p.lat,
|
|
48
|
+
lng: l(o) && Math.abs(o) <= 180 ? o : p.lng,
|
|
49
|
+
zoom: l(a) && a >= 0 && a <= 22 ? a : p.zoom
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
function P(r, e) {
|
|
53
|
+
const t = parseInt(r ?? "", 10);
|
|
54
|
+
return l(t) && t > 0 ? t : e;
|
|
55
|
+
}
|
|
56
|
+
const R = /^#(?:[0-9a-f]{3,4}|[0-9a-f]{6}|[0-9a-f]{8})$/i, N = /^(?:rgb|rgba|hsl|hsla)\(\s*[\d.,%\s/deg-]+\)$/i, D = /^[a-z]{3,30}$/i;
|
|
57
|
+
function T(r, e) {
|
|
58
|
+
const t = (r ?? "").trim();
|
|
59
|
+
return R.test(t) || N.test(t) || D.test(t) ? t : e;
|
|
60
|
+
}
|
|
61
|
+
function G(r, e) {
|
|
62
|
+
const t = (r ?? "").split(",").map((i) => i.trim().toLowerCase()).filter((i) => e.includes(i));
|
|
63
|
+
return t.length > 0 ? t : ["osm"];
|
|
64
|
+
}
|
|
65
|
+
function y(r) {
|
|
66
|
+
if (!r) return [];
|
|
67
|
+
let e;
|
|
68
|
+
try {
|
|
69
|
+
e = JSON.parse(r);
|
|
70
|
+
} catch (i) {
|
|
71
|
+
return console.error('Formato inválido para atributo pontos no <ui-mapa-linha>. Deve ser um JSON array, ex: "[[lat, lng], ...]"', i), [];
|
|
72
|
+
}
|
|
73
|
+
if (!Array.isArray(e)) return [];
|
|
74
|
+
const t = [];
|
|
75
|
+
for (const i of e) {
|
|
76
|
+
if (!Array.isArray(i) || i.length < 2) continue;
|
|
77
|
+
const [o, a] = i;
|
|
78
|
+
typeof o == "number" && typeof a == "number" && l(o) && l(a) && Math.abs(o) <= 90 && Math.abs(a) <= 180 && t.push([o, a]);
|
|
79
|
+
}
|
|
80
|
+
return t;
|
|
81
|
+
}
|
|
82
|
+
const U = "Mapa", V = `
|
|
83
|
+
<div style="display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; min-height: 140px; padding: 16px; box-sizing: border-box; text-align: center; color: var(--ui-cor-texto-secundario, #888899); font-family: var(--ui-fonte-base, 'Inter', sans-serif); font-size: 12px; background: var(--ui-cor-superficie, #141417); border-radius: var(--ui-raio-borda, 6px); border: 1px dashed var(--ui-cor-borda, rgba(255,255,255,0.15));">
|
|
84
|
+
<span style="font-size: 20px; margin-bottom: 6px;" aria-hidden="true">🗺️</span>
|
|
85
|
+
<strong style="color: var(--ui-cor-texto, #e1e1e6); margin-bottom: 4px;">Leaflet não encontrado</strong>
|
|
86
|
+
<span style="max-width: 320px; line-height: 1.4;">Para utilizar o componente <code><ui-mapa></code>, instale a biblioteca <code>leaflet</code> ou inclua seu script no HTML: <code><script src=".../leaflet.js"></script></code>.</span>
|
|
87
|
+
</div>
|
|
88
|
+
`;
|
|
89
|
+
class H extends d {
|
|
38
90
|
constructor() {
|
|
39
91
|
super();
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
92
|
+
s(this, "mapContainer");
|
|
93
|
+
s(this, "mapInstance", null);
|
|
94
|
+
s(this, "_initTimer", null);
|
|
95
|
+
s(this, "_resizeObserver");
|
|
96
|
+
s(this, "_resizeTimer");
|
|
97
|
+
s(this, "_invalidarTimer");
|
|
45
98
|
const t = this.attachShadow({ mode: "open" });
|
|
46
99
|
t.innerHTML = `
|
|
47
100
|
<style>
|
|
48
|
-
${
|
|
49
|
-
${
|
|
101
|
+
${z}
|
|
102
|
+
${_}
|
|
50
103
|
</style>
|
|
51
|
-
<div class="ui-mapa-container" id="map-container"></div>
|
|
104
|
+
<div class="ui-mapa-container" id="map-container" role="region"></div>
|
|
52
105
|
<div style="display: none;"><slot></slot></div>
|
|
53
|
-
`, this.mapContainer = t.getElementById("map-container");
|
|
106
|
+
`, this.mapContainer = t.getElementById("map-container"), this.sincronizarRotulo();
|
|
54
107
|
}
|
|
55
108
|
static get observedAttributes() {
|
|
56
|
-
return ["lat", "lng", "zoom"];
|
|
109
|
+
return ["lat", "lng", "zoom", "aria-label"];
|
|
57
110
|
}
|
|
58
111
|
connectedCallback() {
|
|
59
|
-
this._initTimer =
|
|
60
|
-
this.initMap();
|
|
112
|
+
this.sincronizarRotulo(), this._initTimer = setTimeout(() => {
|
|
113
|
+
this._initTimer = null, this.initMap();
|
|
61
114
|
}, 0);
|
|
62
115
|
}
|
|
63
116
|
disconnectedCallback() {
|
|
64
|
-
|
|
117
|
+
var t;
|
|
118
|
+
this._initTimer && (clearTimeout(this._initTimer), this._initTimer = null), (t = this._resizeObserver) == null || t.disconnect(), this._resizeObserver = void 0, this._resizeTimer && clearTimeout(this._resizeTimer), this._invalidarTimer && clearTimeout(this._invalidarTimer), this._resizeTimer = void 0, this._invalidarTimer = void 0, this.mapInstance && (this.mapInstance.remove(), this.mapInstance = null);
|
|
65
119
|
}
|
|
66
|
-
attributeChangedCallback(t,
|
|
67
|
-
if (
|
|
68
|
-
|
|
69
|
-
|
|
120
|
+
attributeChangedCallback(t, i, o) {
|
|
121
|
+
if (i !== o) {
|
|
122
|
+
if (t === "aria-label") {
|
|
123
|
+
this.sincronizarRotulo();
|
|
124
|
+
return;
|
|
125
|
+
}
|
|
126
|
+
if (this.mapInstance) {
|
|
127
|
+
const a = A(this.getAttribute("lat"), this.getAttribute("lng"), this.getAttribute("zoom"));
|
|
128
|
+
this.mapInstance.setView([a.lat, a.lng], a.zoom);
|
|
129
|
+
}
|
|
70
130
|
}
|
|
71
131
|
}
|
|
132
|
+
/** Nome acessível da região: o `aria-label` do host ou "Mapa". */
|
|
133
|
+
sincronizarRotulo() {
|
|
134
|
+
var t;
|
|
135
|
+
(t = this.mapContainer) == null || t.setAttribute("aria-label", this.getAttribute("aria-label") || U);
|
|
136
|
+
}
|
|
72
137
|
async initMap() {
|
|
73
|
-
var
|
|
138
|
+
var b;
|
|
74
139
|
if (this.mapInstance) return;
|
|
75
|
-
const t = await
|
|
140
|
+
const t = await E();
|
|
141
|
+
if (!this.isConnected || this.mapInstance) return;
|
|
76
142
|
if (!t) {
|
|
77
|
-
this.mapContainer.innerHTML =
|
|
78
|
-
<div style="display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; min-height: 140px; padding: 16px; box-sizing: border-box; text-align: center; color: var(--ui-cor-texto-secundario, #888899); font-family: var(--ui-fonte-base, 'Inter', sans-serif); font-size: 12px; background: var(--ui-cor-superficie, #141417); border-radius: var(--ui-raio-borda, 6px); border: 1px dashed var(--ui-cor-borda, rgba(255,255,255,0.15));">
|
|
79
|
-
<span style="font-size: 20px; margin-bottom: 6px;">🗺️</span>
|
|
80
|
-
<strong style="color: var(--ui-cor-texto, #e1e1e6); margin-bottom: 4px;">Leaflet não encontrado</strong>
|
|
81
|
-
<span style="max-width: 320px; line-height: 1.4;">Para utilizar o componente <code><ui-mapa></code>, instale a biblioteca <code>leaflet</code> ou inclua seu script no HTML: <code><script src=".../leaflet.js"></script></code>.</span>
|
|
82
|
-
</div>
|
|
83
|
-
`;
|
|
143
|
+
this.mapContainer.innerHTML = V;
|
|
84
144
|
return;
|
|
85
145
|
}
|
|
86
|
-
const
|
|
87
|
-
this.mapInstance =
|
|
88
|
-
const
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
const l = {};
|
|
94
|
-
l[e[p[0]].nome] = f;
|
|
95
|
-
for (let m = 1; m < p.length; m++) {
|
|
96
|
-
const b = p[m];
|
|
97
|
-
l[e[b].nome] = e[b].layer();
|
|
98
|
-
}
|
|
99
|
-
t.control.layers(l, void 0, { position: "topright" }).addTo(this.mapInstance);
|
|
146
|
+
const i = w(t), o = A(this.getAttribute("lat"), this.getAttribute("lng"), this.getAttribute("zoom")), a = t.map(this.mapContainer).setView([o.lat, o.lng], o.zoom);
|
|
147
|
+
this.mapInstance = a;
|
|
148
|
+
const n = G(this.getAttribute("camadas"), Object.keys(i)), f = i[n[0]].layer();
|
|
149
|
+
if (f.addTo(a), n.length > 1) {
|
|
150
|
+
const c = { [i[n[0]].nome]: f };
|
|
151
|
+
for (const g of n.slice(1)) c[i[g].nome] = i[g].layer();
|
|
152
|
+
t.control.layers(c, void 0, { position: "topright" }).addTo(a);
|
|
100
153
|
}
|
|
101
|
-
(
|
|
154
|
+
(b = t.Icon) != null && b.Default && (t.Icon.Default.imagePath = "https://unpkg.com/leaflet@1.9.4/dist/images/"), typeof ResizeObserver < "u" && (this._resizeObserver = new ResizeObserver(() => {
|
|
102
155
|
this._resizeTimer && clearTimeout(this._resizeTimer), this._resizeTimer = setTimeout(() => {
|
|
103
|
-
|
|
156
|
+
var c;
|
|
157
|
+
return (c = this.mapInstance) == null ? void 0 : c.invalidateSize();
|
|
104
158
|
}, 60);
|
|
105
|
-
}), this._resizeObserver.observe(this.mapContainer)), setTimeout(() => {
|
|
106
|
-
|
|
159
|
+
}), this._resizeObserver.observe(this.mapContainer)), this._invalidarTimer = setTimeout(() => {
|
|
160
|
+
var c;
|
|
161
|
+
return (c = this.mapInstance) == null ? void 0 : c.invalidateSize();
|
|
107
162
|
}, 100), this.dispatchEvent(new CustomEvent("ui-mapa-pronto", {
|
|
108
|
-
detail: { map:
|
|
163
|
+
detail: { map: a },
|
|
109
164
|
bubbles: !0,
|
|
110
165
|
composed: !0
|
|
111
166
|
}));
|
|
@@ -114,151 +169,168 @@ class C extends d {
|
|
|
114
169
|
return this.mapInstance;
|
|
115
170
|
}
|
|
116
171
|
}
|
|
117
|
-
|
|
118
|
-
|
|
172
|
+
m("ui-mapa", H);
|
|
173
|
+
const u = "http://www.w3.org/2000/svg";
|
|
174
|
+
function $(r) {
|
|
175
|
+
const e = document.createElement("div");
|
|
176
|
+
return e.style.cssText = "width:14px;height:14px;border-radius:50%;border:2px solid #ffffff;box-shadow:0 1px 4px rgba(0,0,0,0.6);", e.style.backgroundColor = r, e;
|
|
177
|
+
}
|
|
178
|
+
function F(r) {
|
|
179
|
+
const e = document.createElementNS(u, "svg");
|
|
180
|
+
e.setAttribute("width", "24"), e.setAttribute("height", "32"), e.setAttribute("viewBox", "0 0 24 32"), e.setAttribute("fill", "none"), e.setAttribute("aria-hidden", "true"), e.style.filter = "drop-shadow(0 2px 4px rgba(0,0,0,0.45))";
|
|
181
|
+
const t = document.createElementNS(u, "path");
|
|
182
|
+
t.setAttribute("d", "M12 0C5.372 0 0 5.372 0 12C0 21 12 32 12 32C12 32 24 21 24 12C24 5.372 18.628 0 12 0Z"), t.setAttribute("fill", r);
|
|
183
|
+
const i = document.createElementNS(u, "circle");
|
|
184
|
+
return i.setAttribute("cx", "12"), i.setAttribute("cy", "11"), i.setAttribute("r", "4.5"), i.setAttribute("fill", "#ffffff"), e.append(t, i), e;
|
|
185
|
+
}
|
|
186
|
+
function B(r, e, t) {
|
|
187
|
+
return t === "circle" ? r.divIcon({ className: "ui-mapa-div-marker", html: $(e), iconSize: [14, 14], iconAnchor: [7, 7] }) : r.divIcon({ className: "ui-mapa-svg-pin", html: F(e), iconSize: [24, 32], iconAnchor: [12, 32], popupAnchor: [0, -30] });
|
|
188
|
+
}
|
|
189
|
+
const j = 30, J = 50;
|
|
190
|
+
class M {
|
|
191
|
+
constructor(e, t) {
|
|
192
|
+
s(this, "pai", null);
|
|
193
|
+
s(this, "timer", null);
|
|
194
|
+
s(this, "tentativas", 0);
|
|
195
|
+
s(this, "aoPronto", () => {
|
|
196
|
+
this.opcoes.aoPerderMapa(), this.tentativas = 0, this.tentar();
|
|
197
|
+
});
|
|
198
|
+
this.host = e, this.opcoes = t;
|
|
199
|
+
}
|
|
200
|
+
conectar() {
|
|
201
|
+
var e;
|
|
202
|
+
this.desconectar(), this.pai = this.host.closest("ui-mapa"), (e = this.pai) == null || e.addEventListener("ui-mapa-pronto", this.aoPronto), this.agendar(0);
|
|
203
|
+
}
|
|
204
|
+
desconectar() {
|
|
205
|
+
var e;
|
|
206
|
+
this.timer && clearTimeout(this.timer), this.timer = null, (e = this.pai) == null || e.removeEventListener("ui-mapa-pronto", this.aoPronto), this.pai = null, this.tentativas = 0;
|
|
207
|
+
}
|
|
208
|
+
agendar(e) {
|
|
209
|
+
this.timer && clearTimeout(this.timer), this.timer = setTimeout(() => this.tentar(), e);
|
|
210
|
+
}
|
|
211
|
+
tentar() {
|
|
212
|
+
this.timer = null;
|
|
213
|
+
const e = this.pai ?? this.host.closest("ui-mapa");
|
|
214
|
+
if (!e) {
|
|
215
|
+
console.warn(`<${this.opcoes.rotulo}> deve estar dentro de um elemento <ui-mapa>`);
|
|
216
|
+
return;
|
|
217
|
+
}
|
|
218
|
+
const t = e.getMap();
|
|
219
|
+
if (!t) {
|
|
220
|
+
if (this.tentativas >= j) {
|
|
221
|
+
console.warn(`<${this.opcoes.rotulo}> Tempo limite esgotado aguardando inicialização do mapa pai.`);
|
|
222
|
+
return;
|
|
223
|
+
}
|
|
224
|
+
this.tentativas++, this.agendar(J);
|
|
225
|
+
return;
|
|
226
|
+
}
|
|
227
|
+
this.tentativas = 0, this.opcoes.aoMapa(t);
|
|
228
|
+
}
|
|
229
|
+
}
|
|
230
|
+
class X extends d {
|
|
119
231
|
constructor() {
|
|
120
232
|
super(...arguments);
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
});
|
|
233
|
+
s(this, "marker", null);
|
|
234
|
+
s(this, "vinculo", new M(this, {
|
|
235
|
+
rotulo: "ui-mapa-marcador",
|
|
236
|
+
aoMapa: (t) => this.criarMarcador(t),
|
|
237
|
+
aoPerderMapa: () => this.removerMarcador()
|
|
238
|
+
}));
|
|
128
239
|
}
|
|
129
240
|
static get observedAttributes() {
|
|
130
241
|
return ["lat", "lng", "titulo", "cor", "formato"];
|
|
131
242
|
}
|
|
132
243
|
connectedCallback() {
|
|
133
|
-
this.
|
|
244
|
+
this.vinculo.conectar();
|
|
134
245
|
}
|
|
135
246
|
disconnectedCallback() {
|
|
136
|
-
this.
|
|
247
|
+
this.vinculo.desconectar(), this.removerMarcador();
|
|
137
248
|
}
|
|
138
|
-
attributeChangedCallback(t,
|
|
139
|
-
if (
|
|
249
|
+
attributeChangedCallback(t, i, o) {
|
|
250
|
+
if (!(i === o || !this.marker)) {
|
|
140
251
|
if (t === "lat" || t === "lng") {
|
|
141
|
-
const
|
|
142
|
-
|
|
143
|
-
}
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
252
|
+
const a = v(this.getAttribute("lat"), this.getAttribute("lng"));
|
|
253
|
+
a && this.marker.setLatLng([a.lat, a.lon]);
|
|
254
|
+
} else if (t === "titulo")
|
|
255
|
+
this.marker.unbindPopup(), o && this.marker.bindPopup(this.createPopupContent(o)), this.aplicarNomeAcessivel();
|
|
256
|
+
else if (t === "cor" || t === "formato") {
|
|
257
|
+
const a = h();
|
|
258
|
+
a && this.marker.setIcon(this.createIcon(a));
|
|
147
259
|
}
|
|
148
260
|
}
|
|
149
261
|
}
|
|
262
|
+
removerMarcador() {
|
|
263
|
+
var t;
|
|
264
|
+
(t = this.marker) == null || t.remove(), this.marker = null;
|
|
265
|
+
}
|
|
150
266
|
createPopupContent(t) {
|
|
151
|
-
const
|
|
152
|
-
return
|
|
267
|
+
const i = document.createElement("div");
|
|
268
|
+
return i.className = "ui-mapa-popup", i.textContent = t, i;
|
|
153
269
|
}
|
|
154
270
|
createIcon(t) {
|
|
155
|
-
const
|
|
156
|
-
|
|
157
|
-
const o = `<div style="width:14px; height:14px; background-color:${e}; border-radius:50%; border:2px solid #ffffff; box-shadow:0 1px 4px rgba(0,0,0,0.6);"></div>`;
|
|
158
|
-
return t.divIcon({
|
|
159
|
-
className: "ui-mapa-div-marker",
|
|
160
|
-
html: o,
|
|
161
|
-
iconSize: [14, 14],
|
|
162
|
-
iconAnchor: [7, 7]
|
|
163
|
-
});
|
|
164
|
-
}
|
|
165
|
-
const i = `
|
|
166
|
-
<svg width="24" height="32" viewBox="0 0 24 32" fill="none" xmlns="http://www.w3.org/2000/svg" style="filter: drop-shadow(0 2px 4px rgba(0,0,0,0.45));">
|
|
167
|
-
<path d="M12 0C5.372 0 0 5.372 0 12C0 21 12 32 12 32C12 32 24 21 24 12C24 5.372 18.628 0 12 0Z" fill="${e}"/>
|
|
168
|
-
<circle cx="12" cy="11" r="4.5" fill="#ffffff"/>
|
|
169
|
-
</svg>
|
|
170
|
-
`;
|
|
171
|
-
return t.divIcon({
|
|
172
|
-
className: "ui-mapa-svg-pin",
|
|
173
|
-
html: i,
|
|
174
|
-
iconSize: [24, 32],
|
|
175
|
-
iconAnchor: [12, 32],
|
|
176
|
-
popupAnchor: [0, -30]
|
|
177
|
-
});
|
|
271
|
+
const i = this.getAttribute("formato") === "circle" ? "circle" : "pin";
|
|
272
|
+
return B(t, T(this.getAttribute("cor"), L), i);
|
|
178
273
|
}
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
}
|
|
194
|
-
this.
|
|
195
|
-
const r = y(this.getAttribute("lat"), this.getAttribute("lng"));
|
|
196
|
-
if (!r) return;
|
|
197
|
-
const i = this.getAttribute("titulo"), o = h() || window.L;
|
|
198
|
-
o && (this.marker = o.marker([r.lat, r.lon], {
|
|
199
|
-
icon: this.createIcon(o)
|
|
200
|
-
}), this.marker && (i && this.marker.bindPopup(this.createPopupContent(i)), this.marker.addTo(e)));
|
|
274
|
+
/** O ícone é um `div`: o nome acessível vai em `aria-label` (o Leaflet já põe `role=button` e `tabindex=0`). */
|
|
275
|
+
aplicarNomeAcessivel() {
|
|
276
|
+
var o;
|
|
277
|
+
const t = (o = this.marker) == null ? void 0 : o.getElement();
|
|
278
|
+
if (!t) return;
|
|
279
|
+
const i = this.getAttribute("titulo");
|
|
280
|
+
i ? (t.setAttribute("aria-label", i), t.setAttribute("title", i)) : (t.removeAttribute("aria-label"), t.removeAttribute("title"));
|
|
281
|
+
}
|
|
282
|
+
criarMarcador(t) {
|
|
283
|
+
this.removerMarcador();
|
|
284
|
+
const i = v(this.getAttribute("lat"), this.getAttribute("lng"));
|
|
285
|
+
if (!i) return;
|
|
286
|
+
const o = h();
|
|
287
|
+
if (!o) return;
|
|
288
|
+
const a = this.getAttribute("titulo"), n = o.marker([i.lat, i.lon], { icon: this.createIcon(o), keyboard: !0, title: a || void 0 });
|
|
289
|
+
a && n.bindPopup(this.createPopupContent(a)), n.addTo(t), this.marker = n, this.aplicarNomeAcessivel();
|
|
201
290
|
}
|
|
202
291
|
}
|
|
203
|
-
|
|
204
|
-
class
|
|
292
|
+
m("ui-mapa-marcador", X);
|
|
293
|
+
class W extends d {
|
|
205
294
|
constructor() {
|
|
206
295
|
super(...arguments);
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
296
|
+
s(this, "polyline", null);
|
|
297
|
+
s(this, "vinculo", new M(this, {
|
|
298
|
+
rotulo: "ui-mapa-linha",
|
|
299
|
+
aoMapa: (t) => this.criarLinha(t),
|
|
300
|
+
aoPerderMapa: () => this.removerLinha()
|
|
301
|
+
}));
|
|
210
302
|
}
|
|
211
303
|
static get observedAttributes() {
|
|
212
304
|
return ["pontos", "cor", "espessura"];
|
|
213
305
|
}
|
|
214
306
|
connectedCallback() {
|
|
215
|
-
this.
|
|
307
|
+
this.vinculo.conectar();
|
|
216
308
|
}
|
|
217
309
|
disconnectedCallback() {
|
|
218
|
-
this.
|
|
310
|
+
this.vinculo.desconectar(), this.removerLinha();
|
|
219
311
|
}
|
|
220
|
-
attributeChangedCallback(t,
|
|
221
|
-
|
|
222
|
-
color: this.getAttribute("cor") || "#3388ff",
|
|
223
|
-
weight: parseInt(this.getAttribute("espessura") || "3", 10)
|
|
224
|
-
}));
|
|
312
|
+
attributeChangedCallback(t, i, o) {
|
|
313
|
+
i === o || !this.polyline || (t === "pontos" ? this.polyline.setLatLngs(y(this.getAttribute("pontos"))) : this.polyline.setStyle(this.estilo()));
|
|
225
314
|
}
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
} catch (t) {
|
|
232
|
-
console.error('Formato inválido para atributo pontos no <ui-mapa-linha>. Deve ser um JSON array, ex: "[[lat, lng], ...]"', t);
|
|
233
|
-
}
|
|
234
|
-
return [];
|
|
315
|
+
estilo() {
|
|
316
|
+
return {
|
|
317
|
+
color: T(this.getAttribute("cor"), O),
|
|
318
|
+
weight: P(this.getAttribute("espessura"), k)
|
|
319
|
+
};
|
|
235
320
|
}
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
const
|
|
243
|
-
|
|
244
|
-
if (this._retryCount >= 30) {
|
|
245
|
-
console.warn("<ui-mapa-linha> Tempo limite esgotado aguardando inicialização do mapa pai.");
|
|
246
|
-
return;
|
|
247
|
-
}
|
|
248
|
-
this._retryCount++, this._initTimer = setTimeout(() => this.initLinha(), 50);
|
|
249
|
-
return;
|
|
250
|
-
}
|
|
251
|
-
this._retryCount = 0;
|
|
252
|
-
const r = this.getAttribute("cor") || "#3388ff", i = parseInt(this.getAttribute("espessura") || "3", 10), o = h() || window.L;
|
|
253
|
-
o && (this.polyline = o.polyline(this.getPontos(), {
|
|
254
|
-
color: r,
|
|
255
|
-
weight: i
|
|
256
|
-
}), this.polyline && this.polyline.addTo(e));
|
|
321
|
+
removerLinha() {
|
|
322
|
+
var t;
|
|
323
|
+
(t = this.polyline) == null || t.remove(), this.polyline = null;
|
|
324
|
+
}
|
|
325
|
+
criarLinha(t) {
|
|
326
|
+
this.removerLinha();
|
|
327
|
+
const i = h();
|
|
328
|
+
i && (this.polyline = i.polyline(y(this.getAttribute("pontos")), this.estilo()).addTo(t));
|
|
257
329
|
}
|
|
258
330
|
}
|
|
259
|
-
|
|
331
|
+
m("ui-mapa-linha", W);
|
|
260
332
|
export {
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
333
|
+
H as UIMapa,
|
|
334
|
+
W as UIMapaLinha,
|
|
335
|
+
X as UIMapaMarcador
|
|
264
336
|
};
|
package/dist/modal.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});;/* empty css */const o=require("./ui-modal-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});;/* empty css */const o=require("./ui-modal-CUNbpbZ1.cjs");exports.UIDialog=o.UIDialog;exports.UIModal=o.UIModal;exports.aplicarInertForaDoModal=o.aplicarInertForaDoModal;exports.removerInertForaDoModal=o.removerInertForaDoModal;
|
package/dist/modal.js
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";function r(e,o,c){const n=(e??"").trim().toLowerCase();return o.includes(n)?n:c}function s(e,o){const c=(e??"").trim().toLowerCase();return o.includes(c)?c:null}exports.escolherOpcao=r;exports.escolherOpcaoOpcional=s;
|
package/dist/register.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./ssr-safe-CiHD1adl.cjs"),e=require("./zero-js-triggers-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./ssr-safe-CiHD1adl.cjs"),e=require("./zero-js-triggers-CgM9IIQB.cjs");require("./ui-botao-BOOnP8ds.cjs");require("./ui-switch-BX6U5Ykm.cjs");require("./ui-segmented-BOaGRQw4.cjs");require("./ui-campo-texto-CHTfMO-H.cjs");require("./ui-paleta-ferramentas-bDLPbiGA.cjs");require("./ui-badge-DUCxyAG6.cjs");require("./ui-card-BrjBL-yo.cjs");require("./ui-modal-CUNbpbZ1.cjs");require("./ui-skeleton-DiOxTBZK.cjs");require("./ui-tabela-propriedades-DzZlyNZ_.cjs");require("./ui-controle-cores-uY__TgwW.cjs");function i(){r.isBrowser&&e.initZeroJSTriggers()}r.isBrowser&&e.initZeroJSTriggers();exports.isBrowser=r.isBrowser;exports.registrarTodosComponentes=i;
|
package/dist/register.js
CHANGED
|
@@ -1,22 +1,21 @@
|
|
|
1
1
|
import { i as r } from "./ssr-safe-5cWfJP-s.js";
|
|
2
|
-
import { i } from "./zero-js-triggers-
|
|
2
|
+
import { i } from "./zero-js-triggers-CJT988bR.js";
|
|
3
3
|
import "./ui-botao-DfqSivHl.js";
|
|
4
|
-
import "./ui-switch-
|
|
5
|
-
import "./ui-segmented-
|
|
6
|
-
import "./ui-campo-texto-
|
|
7
|
-
import "./ui-paleta-ferramentas-
|
|
8
|
-
import "./ui-badge-
|
|
9
|
-
import "./ui-card-
|
|
10
|
-
import "./ui-modal-
|
|
11
|
-
import "./ui-skeleton-
|
|
12
|
-
import "./ui-
|
|
13
|
-
import "./ui-
|
|
14
|
-
|
|
15
|
-
function w() {
|
|
4
|
+
import "./ui-switch-DO5jR0hy.js";
|
|
5
|
+
import "./ui-segmented-kbO1BLVs.js";
|
|
6
|
+
import "./ui-campo-texto-gum_jDdI.js";
|
|
7
|
+
import "./ui-paleta-ferramentas-Ksh6gMW3.js";
|
|
8
|
+
import "./ui-badge-ChiiiO1r.js";
|
|
9
|
+
import "./ui-card-BNYCQ7g-.js";
|
|
10
|
+
import "./ui-modal-BkYvNP0G.js";
|
|
11
|
+
import "./ui-skeleton-B2Rgrv8o.js";
|
|
12
|
+
import "./ui-tabela-propriedades-D9Echt2X.js";
|
|
13
|
+
import "./ui-controle-cores-DgEza3wF.js";
|
|
14
|
+
function d() {
|
|
16
15
|
r && i();
|
|
17
16
|
}
|
|
18
17
|
r && i();
|
|
19
18
|
export {
|
|
20
19
|
r as isBrowser,
|
|
21
|
-
|
|
20
|
+
d as registrarTodosComponentes
|
|
22
21
|
};
|
package/dist/tabela.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});;/* empty css */const r=require("./ui-tabela-propriedades-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});;/* empty css */const r=require("./ui-tabela-propriedades-DzZlyNZ_.cjs");exports.GerenciadorValoresPropriedades=r.GerenciadorValoresPropriedades;exports.TabelaOrquestradorDados=r.TabelaOrquestradorDados;exports.TabelaRemotaController=r.TabelaRemotaController;exports.TabelaSelecaoController=r.TabelaSelecaoController;exports.UITabela=r.UITabela;exports.UITabelaPropriedades=r.UITabelaPropriedades;exports.abrirPopoverRedimensionamento=r.abrirPopoverRedimensionamento;exports.alternarCategoria=r.alternarCategoria;exports.alternarDirecaoOrdenacao=r.alternarDirecaoOrdenacao;exports.alternarPosicionamentoFlutuante=r.alternarPosicionamentoFlutuante;exports.aplicarOrdenacaoTabela=r.aplicarOrdenacaoTabela;exports.atualizarCampoVisual=r.atualizarCampoVisual;exports.avaliarExpressaoMatematica=r.avaliarExpressaoMatematica;exports.buscarLinhaPropriedade=r.buscarLinhaPropriedade;exports.colapsarTodasCategorias=r.colapsarTodasCategorias;exports.conectarArrastoFlutuante=r.conectarArrastoFlutuante;exports.conectarPainelControles=r.conectarPainelControles;exports.criarControladorSplitter=r.criarControladorSplitter;exports.criarEditorAcao=r.criarEditorAcao;exports.criarEditorBooleano=r.criarEditorBooleano;exports.criarEditorCorCad=r.criarEditorCorCad;exports.criarEditorCorSwatch=r.criarEditorCorSwatch;exports.criarEditorLinetype=r.criarEditorLinetype;exports.criarEditorLineweight=r.criarEditorLineweight;exports.criarEditorNumero=r.criarEditorNumero;exports.criarEditorReadonly=r.criarEditorReadonly;exports.criarEditorSelecao=r.criarEditorSelecao;exports.criarEditorTexto=r.criarEditorTexto;exports.criarEditorValor=r.criarEditorValor;exports.criarLinhaPropriedade=r.criarLinhaPropriedade;exports.executarOrquestracaoCorpo=r.executarOrquestracaoCorpo;exports.executarOrquestracaoHeader=r.executarOrquestracaoHeader;exports.executarRedimensionamentoColuna=r.executarRedimensionamentoColuna;exports.executarRedimensionamentoTeclado=r.executarRedimensionamentoTeclado;exports.exibirPromptPopoverRedimensionamento=r.exibirPromptPopoverRedimensionamento;exports.expandirTodasCategorias=r.expandirTodasCategorias;exports.focarProximoEditor=r.focarProximoEditor;exports.formatWidth=r.formatWidth;exports.getAlignmentClass=r.getAlignmentClass;exports.getRowHeight=r.getRowHeight;exports.getTextAlign=r.getTextAlign;exports.inicializarScrollVirtualizacao=r.inicializarScrollVirtualizacao;exports.iniciarRedimensionamentoColuna=r.iniciarRedimensionamentoColuna;exports.interpretarIndice=r.interpretarIndice;exports.limitarLarguraColuna=r.limitarLarguraColuna;exports.localizarIndiceItem=r.localizarIndiceItem;exports.montarEstruturaDOM=r.montarEstruturaDOM;exports.normalizarTexto=r.normalizarTexto;exports.orquestrarEstruturaInicial=r.orquestrarEstruturaInicial;exports.proximaDensidade=r.proximaDensidade;exports.redimensionarColunaPorDelta=r.redimensionarColunaPorDelta;exports.registrarAtualizadorEditor=r.registrarAtualizadorEditor;exports.renderizarCategoriasETree=r.renderizarCategoriasETree;exports.renderizarCorpoTabela=r.renderizarCorpoTabela;exports.renderizarHeaderTabela=r.renderizarHeaderTabela;exports.renderizarSeletorTipos=r.renderizarSeletorTipos;exports.sincronizarAtributosTabela=r.sincronizarAtributosTabela;exports.sincronizarPainelControles=r.sincronizarPainelControles;exports.sincronizarSelect=r.sincronizarSelect;exports.tratarMudancaAtributoTabela=r.tratarMudancaAtributoTabela;exports.valoresIguais=r.valoresIguais;
|
package/dist/tabela.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* empty css */
|
|
2
|
-
import { G as o, T as i, a as s, b as t, U as n, c as l, d, e as c, f as u, g as m, h as p, i as C, j as T, k as E, l as b, m as g, n as x, o as z, p as P, q as R, r as A, s as I, t as S, u as h, v as O, w as D, x as L, y as q, z as v, A as V, B as f, C as w, D as H, E as M, F as y, H as F, I as U, J as B, K as G, L as N, M as W, N as j, O as k, P as J, Q as K, R as Q, S as X, V as Y, W as Z, X as _, Y as $, Z as aa, _ as ra, $ as ea, a0 as oa, a1 as ia, a2 as sa, a3 as ta, a4 as na, a5 as la, a6 as da } from "./ui-tabela-propriedades-
|
|
2
|
+
import { G as o, T as i, a as s, b as t, U as n, c as l, d, e as c, f as u, g as m, h as p, i as C, j as T, k as E, l as b, m as g, n as x, o as z, p as P, q as R, r as A, s as I, t as S, u as h, v as O, w as D, x as L, y as q, z as v, A as V, B as f, C as w, D as H, E as M, F as y, H as F, I as U, J as B, K as G, L as N, M as W, N as j, O as k, P as J, Q as K, R as Q, S as X, V as Y, W as Z, X as _, Y as $, Z as aa, _ as ra, $ as ea, a0 as oa, a1 as ia, a2 as sa, a3 as ta, a4 as na, a5 as la, a6 as da } from "./ui-tabela-propriedades-D9Echt2X.js";
|
|
3
3
|
export {
|
|
4
4
|
o as GerenciadorValoresPropriedades,
|
|
5
5
|
i as TabelaOrquestradorDados,
|