@thibezer/ui-components-kit 1.0.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/LICENSE +21 -0
- package/README.md +624 -0
- package/dist/botao.cjs +1 -0
- package/dist/botao.d.ts +8 -0
- package/dist/botao.js +6 -0
- package/dist/camadas.cjs +296 -0
- package/dist/camadas.d.ts +14 -0
- package/dist/camadas.js +1857 -0
- package/dist/campo-texto.cjs +1 -0
- package/dist/campo-texto.d.ts +8 -0
- package/dist/campo-texto.js +11 -0
- package/dist/canvas.cjs +254 -0
- package/dist/canvas.d.ts +8 -0
- package/dist/canvas.js +3082 -0
- package/dist/card.cjs +1 -0
- package/dist/card.d.ts +7 -0
- package/dist/card.js +5 -0
- package/dist/components/ui-alerta/index.d.ts +2 -0
- package/dist/components/ui-alerta/ui-alerta-base.d.ts +23 -0
- package/dist/components/ui-alerta/ui-alerta.d.ts +2 -0
- package/dist/components/ui-alerta/ui-toast.d.ts +34 -0
- package/dist/components/ui-avatar/index.d.ts +1 -0
- package/dist/components/ui-avatar/ui-avatar.d.ts +12 -0
- package/dist/components/ui-badge/index.d.ts +1 -0
- package/dist/components/ui-badge/ui-badge.d.ts +20 -0
- package/dist/components/ui-barra-ferramentas/ferramentas-comum.d.ts +22 -0
- package/dist/components/ui-barra-ferramentas/ferramentas-icones.d.ts +24 -0
- package/dist/components/ui-barra-ferramentas/index.d.ts +4 -0
- package/dist/components/ui-barra-ferramentas/tipos.d.ts +55 -0
- package/dist/components/ui-barra-ferramentas/ui-paleta-ferramentas.d.ts +54 -0
- package/dist/components/ui-barra-ferramentas/ui-ribbon.d.ts +52 -0
- package/dist/components/ui-botao/index.d.ts +1 -0
- package/dist/components/ui-botao/ui-botao.d.ts +26 -0
- package/dist/components/ui-camadas/camadas-arvore-renderer.d.ts +18 -0
- package/dist/components/ui-camadas/camadas-drag-drop.d.ts +18 -0
- package/dist/components/ui-camadas/camadas-eventos-arvore.d.ts +2 -0
- package/dist/components/ui-camadas/camadas-eventos-camadas.d.ts +2 -0
- package/dist/components/ui-camadas/camadas-eventos-rodape.d.ts +2 -0
- package/dist/components/ui-camadas/camadas-host.d.ts +23 -0
- package/dist/components/ui-camadas/camadas-icones.d.ts +23 -0
- package/dist/components/ui-camadas/camadas-mapas-base.d.ts +3 -0
- package/dist/components/ui-camadas/camadas-metricas.d.ts +17 -0
- package/dist/components/ui-camadas/camadas-persistencia.d.ts +65 -0
- package/dist/components/ui-camadas/camadas-resizer.d.ts +16 -0
- package/dist/components/ui-camadas/camadas-rodape.d.ts +2 -0
- package/dist/components/ui-camadas/camadas-selecao.d.ts +24 -0
- package/dist/components/ui-camadas/camadas-sincronizacao-dom.d.ts +3 -0
- package/dist/components/ui-camadas/camadas-teclado.d.ts +3 -0
- package/dist/components/ui-camadas/camadas-utils.d.ts +26 -0
- package/dist/components/ui-camadas/index.d.ts +11 -0
- package/dist/components/ui-camadas/tipos.d.ts +116 -0
- package/dist/components/ui-camadas/ui-camadas.d.ts +112 -0
- package/dist/components/ui-campo-texto/campo-texto-estados.d.ts +12 -0
- package/dist/components/ui-campo-texto/campo-texto-template.d.ts +2 -0
- package/dist/components/ui-campo-texto/index.d.ts +1 -0
- package/dist/components/ui-campo-texto/ui-campo-texto.d.ts +57 -0
- package/dist/components/ui-canvas-cad/cad-atributos-sync.d.ts +13 -0
- package/dist/components/ui-canvas-cad/cad-broadcast.d.ts +19 -0
- package/dist/components/ui-canvas-cad/cad-colecoes-dados.d.ts +46 -0
- package/dist/components/ui-canvas-cad/cad-eventos-canvas.d.ts +26 -0
- package/dist/components/ui-canvas-cad/cad-inicializador.d.ts +19 -0
- package/dist/components/ui-canvas-cad/cad-painel-camadas.d.ts +9 -0
- package/dist/components/ui-canvas-cad/cad-tamanho-observer.d.ts +7 -0
- package/dist/components/ui-canvas-cad/cad-template.d.ts +1 -0
- package/dist/components/ui-canvas-cad/cad-toolbar-painel.d.ts +29 -0
- package/dist/components/ui-canvas-cad/index.d.ts +8 -0
- package/dist/components/ui-canvas-cad/ui-canvas-cad.d.ts +91 -0
- package/dist/components/ui-card/index.d.ts +1 -0
- package/dist/components/ui-card/ui-card.d.ts +18 -0
- package/dist/components/ui-checkbox/index.d.ts +1 -0
- package/dist/components/ui-checkbox/ui-checkbox.d.ts +36 -0
- package/dist/components/ui-drawer/drawer-acessibilidade.d.ts +16 -0
- package/dist/components/ui-drawer/index.d.ts +1 -0
- package/dist/components/ui-drawer/ui-drawer.d.ts +37 -0
- package/dist/components/ui-icone/index.d.ts +1 -0
- package/dist/components/ui-icone/ui-icone.d.ts +15 -0
- package/dist/components/ui-lista-flutuante/index.d.ts +1 -0
- package/dist/components/ui-lista-flutuante/lista-flutuante-posicionamento.d.ts +15 -0
- package/dist/components/ui-lista-flutuante/lista-flutuante-render.d.ts +9 -0
- package/dist/components/ui-lista-flutuante/lista-flutuante-teclado.d.ts +13 -0
- package/dist/components/ui-lista-flutuante/lista-flutuante-template.d.ts +2 -0
- package/dist/components/ui-lista-flutuante/tipos.d.ts +4 -0
- package/dist/components/ui-lista-flutuante/ui-lista-flutuante.d.ts +63 -0
- package/dist/components/ui-mapa/index.d.ts +3 -0
- package/dist/components/ui-mapa/ui-mapa-linha.d.ts +12 -0
- package/dist/components/ui-mapa/ui-mapa-marcador.d.ts +15 -0
- package/dist/components/ui-mapa/ui-mapa.d.ts +16 -0
- package/dist/components/ui-modal/index.d.ts +2 -0
- package/dist/components/ui-modal/modal-acessibilidade.d.ts +12 -0
- package/dist/components/ui-modal/ui-modal.d.ts +30 -0
- package/dist/components/ui-radio/index.d.ts +1 -0
- package/dist/components/ui-radio/radio-grupo-registry.d.ts +10 -0
- package/dist/components/ui-radio/ui-radio.d.ts +29 -0
- package/dist/components/ui-segmented/index.d.ts +1 -0
- package/dist/components/ui-segmented/segmented-indicador.d.ts +13 -0
- package/dist/components/ui-segmented/segmented-teclado.d.ts +4 -0
- package/dist/components/ui-segmented/segmented-template.d.ts +4 -0
- package/dist/components/ui-segmented/ui-segmented.d.ts +48 -0
- package/dist/components/ui-seletor-mapa-base/index.d.ts +2 -0
- package/dist/components/ui-seletor-mapa-base/tipos.d.ts +22 -0
- package/dist/components/ui-seletor-mapa-base/ui-seletor-mapa-base.d.ts +43 -0
- package/dist/components/ui-skeleton/index.d.ts +1 -0
- package/dist/components/ui-skeleton/ui-skeleton.d.ts +19 -0
- package/dist/components/ui-stat/index.d.ts +1 -0
- package/dist/components/ui-stat/ui-stat.d.ts +30 -0
- package/dist/components/ui-switch/index.d.ts +1 -0
- package/dist/components/ui-switch/ui-switch.d.ts +36 -0
- package/dist/components/ui-tabela/index.d.ts +7 -0
- package/dist/components/ui-tabela/tabela-atributos-sync.d.ts +14 -0
- package/dist/components/ui-tabela/tabela-corpo.d.ts +18 -0
- package/dist/components/ui-tabela/tabela-dom.d.ts +15 -0
- package/dist/components/ui-tabela/tabela-header.d.ts +18 -0
- package/dist/components/ui-tabela/tabela-interacao.d.ts +9 -0
- package/dist/components/ui-tabela/tabela-localizador.d.ts +4 -0
- package/dist/components/ui-tabela/tabela-ordenacao.d.ts +12 -0
- package/dist/components/ui-tabela/tabela-orquestrador-dados.d.ts +18 -0
- package/dist/components/ui-tabela/tabela-redimensionamento.d.ts +28 -0
- package/dist/components/ui-tabela/tabela-remota.d.ts +15 -0
- package/dist/components/ui-tabela/tabela-renderizador.d.ts +29 -0
- package/dist/components/ui-tabela/tabela-selecao.d.ts +24 -0
- package/dist/components/ui-tabela/tipos.d.ts +27 -0
- package/dist/components/ui-tabela/ui-tabela.d.ts +83 -0
- package/dist/components/ui-tabela-propriedades/avaliador-expressao.d.ts +6 -0
- package/dist/components/ui-tabela-propriedades/editores-basicos.d.ts +7 -0
- package/dist/components/ui-tabela-propriedades/editores-cad.d.ts +17 -0
- package/dist/components/ui-tabela-propriedades/index.d.ts +6 -0
- package/dist/components/ui-tabela-propriedades/propriedades-densidade.d.ts +5 -0
- package/dist/components/ui-tabela-propriedades/propriedades-dom-utils.d.ts +6 -0
- package/dist/components/ui-tabela-propriedades/propriedades-editores.d.ts +5 -0
- package/dist/components/ui-tabela-propriedades/propriedades-flutuante.d.ts +7 -0
- package/dist/components/ui-tabela-propriedades/propriedades-gerenciador-valores.d.ts +26 -0
- package/dist/components/ui-tabela-propriedades/propriedades-painel-controles.d.ts +15 -0
- package/dist/components/ui-tabela-propriedades/propriedades-render-arvore.d.ts +24 -0
- package/dist/components/ui-tabela-propriedades/propriedades-seletor-tipo.d.ts +13 -0
- package/dist/components/ui-tabela-propriedades/propriedades-splitter.d.ts +13 -0
- package/dist/components/ui-tabela-propriedades/propriedades-template.d.ts +1 -0
- package/dist/components/ui-tabela-propriedades/tipos.d.ts +48 -0
- package/dist/components/ui-tabela-propriedades/ui-tabela-propriedades.d.ts +66 -0
- package/dist/components/ui-texto/index.d.ts +1 -0
- package/dist/components/ui-texto/ui-texto.d.ts +15 -0
- package/dist/components/ui-tooltip/index.d.ts +1 -0
- package/dist/components/ui-tooltip/ui-tooltip.d.ts +25 -0
- package/dist/core/acessibilidade.d.ts +21 -0
- package/dist/core/form-associated-element.d.ts +33 -0
- package/dist/core/form-validacao.d.ts +34 -0
- package/dist/core/index.d.ts +7 -0
- package/dist/core/leaflet-loader.d.ts +7 -0
- package/dist/core/leaflet-style.d.ts +7 -0
- package/dist/core/listener-bag.d.ts +21 -0
- package/dist/core/ssr-safe.d.ts +20 -0
- package/dist/core/ui-bus.d.ts +85 -0
- package/dist/core/zero-js-triggers.d.ts +1 -0
- package/dist/core.cjs +1 -0
- package/dist/core.js +22 -0
- package/dist/data.cjs +1 -0
- package/dist/data.d.ts +22 -0
- package/dist/data.js +63 -0
- package/dist/feedback.cjs +1 -0
- package/dist/feedback.d.ts +26 -0
- package/dist/feedback.js +25 -0
- package/dist/form-validacao-BIOXxt-1.js +140 -0
- package/dist/form-validacao-ytRYSF3E.cjs +1 -0
- package/dist/forms.cjs +1 -0
- package/dist/forms.d.ts +22 -0
- package/dist/forms.js +25 -0
- package/dist/gerencigeo-canvas/canvas_destaque.d.ts +13 -0
- package/dist/gerencigeo-canvas/canvas_destaque_marcadores.d.ts +8 -0
- package/dist/gerencigeo-canvas/canvas_interacao.d.ts +56 -0
- package/dist/gerencigeo-canvas/canvas_selecao_box.d.ts +23 -0
- package/dist/gerencigeo-canvas/controller_dados_ops.d.ts +15 -0
- package/dist/gerencigeo-canvas/index.d.ts +17 -0
- package/dist/gerencigeo-canvas/layer_defaults.d.ts +3 -0
- package/dist/gerencigeo-canvas/layer_instance_ops.d.ts +6 -0
- package/dist/gerencigeo-canvas/layer_manager.d.ts +37 -0
- package/dist/gerencigeo-canvas/layer_pane_ops.d.ts +8 -0
- package/dist/gerencigeo-canvas/layer_renderer_factory.d.ts +14 -0
- package/dist/gerencigeo-canvas/layer_state_ops.d.ts +6 -0
- package/dist/gerencigeo-canvas/mapa_config.d.ts +11 -0
- package/dist/gerencigeo-canvas/mapa_controller.d.ts +53 -0
- package/dist/gerencigeo-canvas/mapa_core.d.ts +30 -0
- package/dist/gerencigeo-canvas/mapa_linhas.d.ts +14 -0
- package/dist/gerencigeo-canvas/mapa_marcadores.d.ts +18 -0
- package/dist/gerencigeo-canvas/mapa_pontos_shapes.d.ts +8 -0
- package/dist/gerencigeo-canvas/renderers/grid_renderer.d.ts +9 -0
- package/dist/gerencigeo-canvas/renderers/tile_renderer.d.ts +8 -0
- package/dist/gerencigeo-canvas/renderers/vector_lines_builder.d.ts +4 -0
- package/dist/gerencigeo-canvas/renderers/vector_lines_renderer.d.ts +9 -0
- package/dist/gerencigeo-canvas/renderers/vector_points_renderer.d.ts +11 -0
- package/dist/gerencigeo-canvas/renderers/vector_polygons_renderer.d.ts +9 -0
- package/dist/gerencigeo-canvas/renderers/wms_renderer.d.ts +8 -0
- package/dist/gerencigeo-canvas/sigef_consultor.d.ts +9 -0
- package/dist/gerencigeo-canvas/tile_preloader.d.ts +2 -0
- package/dist/gerencigeo-canvas/types.d.ts +169 -0
- package/dist/gerencigeo-canvas/utils.d.ts +46 -0
- package/dist/index.cjs +1 -0
- package/dist/index.d.ts +116 -0
- package/dist/index.js +186 -0
- package/dist/leaflet-Cw6tqYFh.cjs +1 -0
- package/dist/leaflet-DkaFZYc5.js +69 -0
- package/dist/leaflet-loader-94z5VsdY.cjs +2 -0
- package/dist/leaflet-loader-Cjcdgj5R.js +21 -0
- package/dist/listener-bag-D5omxZ9h.cjs +1 -0
- package/dist/listener-bag-DQgv7OON.js +34 -0
- package/dist/mapa.cjs +19 -0
- package/dist/mapa.d.ts +11 -0
- package/dist/mapa.js +264 -0
- package/dist/modal.cjs +1 -0
- package/dist/modal.d.ts +8 -0
- package/dist/modal.js +8 -0
- package/dist/register.cjs +1 -0
- package/dist/register.d.ts +7 -0
- package/dist/register.js +21 -0
- package/dist/seletor-mapa-base.cjs +53 -0
- package/dist/seletor-mapa-base.d.ts +8 -0
- package/dist/seletor-mapa-base.js +275 -0
- package/dist/ssr-safe-5cWfJP-s.js +10 -0
- package/dist/ssr-safe-CiHD1adl.cjs +1 -0
- package/dist/tabela.cjs +1 -0
- package/dist/tabela.d.ts +12 -0
- package/dist/tabela.js +56 -0
- package/dist/tools.cjs +1 -0
- package/dist/tools.d.ts +8 -0
- package/dist/tools.js +30 -0
- package/dist/ui-badge-92yelKls.js +183 -0
- package/dist/ui-badge-B95jSECC.cjs +28 -0
- package/dist/ui-botao-BShEouvi.js +124 -0
- package/dist/ui-botao-DF1yuUUD.cjs +12 -0
- package/dist/ui-campo-texto-BCh5HyCM.cjs +16 -0
- package/dist/ui-campo-texto-B_JF6POq.js +361 -0
- package/dist/ui-card-BJ8SmvVf.js +111 -0
- package/dist/ui-card-Bhm6k91e.cjs +20 -0
- package/dist/ui-kit.css +1 -0
- package/dist/ui-modal-Bi4isGYh.cjs +18 -0
- package/dist/ui-modal-DV-pw2x1.js +194 -0
- package/dist/ui-paleta-ferramentas-B6dJ0O6K.cjs +18 -0
- package/dist/ui-paleta-ferramentas-Bpp4XBVg.js +633 -0
- package/dist/ui-segmented-C8wuycjJ.js +411 -0
- package/dist/ui-segmented-NC5cBXLh.cjs +19 -0
- package/dist/ui-skeleton-B3xQyn0Z.js +396 -0
- package/dist/ui-skeleton-D42oQufF.cjs +33 -0
- package/dist/ui-switch-C6o4yZUF.cjs +53 -0
- package/dist/ui-switch-CO9MoS8x.js +826 -0
- package/dist/ui-tabela-propriedades-7yJ9g7ti.cjs +145 -0
- package/dist/ui-tabela-propriedades-D-XKNVwK.js +2078 -0
- package/dist/ui-toast-CQBqvUm3.cjs +20 -0
- package/dist/ui-toast-CwUmiqyG.js +156 -0
- package/dist/zero-js-triggers-DdESy0tk.js +205 -0
- package/dist/zero-js-triggers-QGD7FOTv.cjs +1 -0
- package/package.json +149 -0
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export * from './tipos';
|
|
2
|
+
export * from './camadas-icones';
|
|
3
|
+
export * from './camadas-metricas';
|
|
4
|
+
export * from './camadas-mapas-base';
|
|
5
|
+
export * from './camadas-rodape';
|
|
6
|
+
export * from './camadas-arvore-renderer';
|
|
7
|
+
export * from './camadas-drag-drop';
|
|
8
|
+
export * from './camadas-persistencia';
|
|
9
|
+
export * from './camadas-host';
|
|
10
|
+
export * from './camadas-selecao';
|
|
11
|
+
export * from './ui-camadas';
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
export type TipoGeometriaFeicao = 'Point' | 'LineString' | 'Polygon' | 'MultiPoint' | 'MultiLineString' | 'MultiPolygon' | string;
|
|
2
|
+
export type StatusGeometriaFeicao = 'oficial' | 'previa' | 'rascunho' | string;
|
|
3
|
+
export interface FeicaoEstilo {
|
|
4
|
+
cor?: string;
|
|
5
|
+
fillColor?: string;
|
|
6
|
+
strokeColor?: string;
|
|
7
|
+
strokeWidth?: number;
|
|
8
|
+
opacity?: number;
|
|
9
|
+
fillOpacity?: number;
|
|
10
|
+
dashArray?: string;
|
|
11
|
+
[key: string]: unknown;
|
|
12
|
+
}
|
|
13
|
+
export type CoordenadasGeoJSON = [number, number] | [number, number][] | [number, number][][] | [number, number][][][] | number[] | number[][] | number[][][] | number[][][][] | unknown;
|
|
14
|
+
export interface FeicaoItem {
|
|
15
|
+
id: string;
|
|
16
|
+
name: string;
|
|
17
|
+
layerId: string;
|
|
18
|
+
type?: TipoGeometriaFeicao;
|
|
19
|
+
geometryType?: string;
|
|
20
|
+
visible?: boolean;
|
|
21
|
+
locked?: boolean;
|
|
22
|
+
color?: string;
|
|
23
|
+
style?: FeicaoEstilo;
|
|
24
|
+
category?: string;
|
|
25
|
+
status?: StatusGeometriaFeicao;
|
|
26
|
+
coordinates?: CoordenadasGeoJSON;
|
|
27
|
+
properties?: Record<string, unknown>;
|
|
28
|
+
[key: string]: unknown;
|
|
29
|
+
}
|
|
30
|
+
export interface CamadaItem {
|
|
31
|
+
id: string;
|
|
32
|
+
name: string;
|
|
33
|
+
color?: string;
|
|
34
|
+
visible?: boolean;
|
|
35
|
+
locked?: boolean;
|
|
36
|
+
opacity?: number;
|
|
37
|
+
order?: number;
|
|
38
|
+
count?: number;
|
|
39
|
+
description?: string;
|
|
40
|
+
[key: string]: unknown;
|
|
41
|
+
}
|
|
42
|
+
export interface MapaBaseItem {
|
|
43
|
+
id: string;
|
|
44
|
+
nome: string;
|
|
45
|
+
descricao?: string;
|
|
46
|
+
thumbnailUrl?: string;
|
|
47
|
+
icone?: string;
|
|
48
|
+
}
|
|
49
|
+
export type AbaPainelCamadas = 'camadas' | 'inspecao' | 'equipe';
|
|
50
|
+
export interface UICamadasOpcoes {
|
|
51
|
+
camadas?: CamadaItem[];
|
|
52
|
+
feicoes?: FeicaoItem[];
|
|
53
|
+
mapasBase?: MapaBaseItem[];
|
|
54
|
+
mapaBaseAtivo?: string;
|
|
55
|
+
camadaAtivaId?: string;
|
|
56
|
+
abaAtiva?: AbaPainelCamadas;
|
|
57
|
+
colapsavel?: boolean;
|
|
58
|
+
colapsado?: boolean;
|
|
59
|
+
flutuante?: boolean;
|
|
60
|
+
mostrarMapasBase?: boolean;
|
|
61
|
+
mostrarRodape?: boolean;
|
|
62
|
+
mostrarBusca?: boolean;
|
|
63
|
+
densidade?: 'compacto' | 'normal';
|
|
64
|
+
}
|
|
65
|
+
export interface DetalheEventoCamada {
|
|
66
|
+
camadaId: string;
|
|
67
|
+
camada?: CamadaItem;
|
|
68
|
+
}
|
|
69
|
+
export interface DetalheEventoVisibilidadeCamada {
|
|
70
|
+
camadaId: string;
|
|
71
|
+
visivel: boolean;
|
|
72
|
+
}
|
|
73
|
+
export interface DetalheEventoBloqueioCamada {
|
|
74
|
+
camadaId: string;
|
|
75
|
+
bloqueado: boolean;
|
|
76
|
+
}
|
|
77
|
+
export interface DetalheEventoOpacidadeCamada {
|
|
78
|
+
camadaId: string;
|
|
79
|
+
opacidade: number;
|
|
80
|
+
}
|
|
81
|
+
export interface DetalheEventoCorCamada {
|
|
82
|
+
camadaId: string;
|
|
83
|
+
cor: string;
|
|
84
|
+
}
|
|
85
|
+
export interface DetalheEventoRenomearCamada {
|
|
86
|
+
camadaId: string;
|
|
87
|
+
novoNome: string;
|
|
88
|
+
}
|
|
89
|
+
export interface DetalheEventoFeicao {
|
|
90
|
+
feicaoId: string;
|
|
91
|
+
feicao?: FeicaoItem;
|
|
92
|
+
}
|
|
93
|
+
export interface DetalheEventoVisibilidadeFeicao {
|
|
94
|
+
feicaoId: string;
|
|
95
|
+
visivel: boolean;
|
|
96
|
+
}
|
|
97
|
+
export interface DetalheEventoBloqueioFeicao {
|
|
98
|
+
feicaoId: string;
|
|
99
|
+
bloqueado: boolean;
|
|
100
|
+
}
|
|
101
|
+
export interface DetalheEventoRenomearFeicao {
|
|
102
|
+
feicaoId: string;
|
|
103
|
+
novoNome: string;
|
|
104
|
+
}
|
|
105
|
+
export interface DetalheEventoMoverFeicao {
|
|
106
|
+
feicaoId: string;
|
|
107
|
+
camadaOrigemId: string;
|
|
108
|
+
camadaDestinoId: string;
|
|
109
|
+
feicao: FeicaoItem;
|
|
110
|
+
}
|
|
111
|
+
export interface DetalheEventoAcaoMassa {
|
|
112
|
+
feicoesIds: string[];
|
|
113
|
+
feicoes: FeicaoItem[];
|
|
114
|
+
acao: 'visibilidade' | 'bloqueio' | 'cor' | 'mover' | 'excluir' | 'limpar';
|
|
115
|
+
valor?: unknown;
|
|
116
|
+
}
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
import { SafeHTMLElement } from '../../core/ssr-safe';
|
|
2
|
+
import { CamadaItem, FeicaoItem, MapaBaseItem, AbaPainelCamadas } from './tipos';
|
|
3
|
+
import { CamadasHostCompleto } from './camadas-host';
|
|
4
|
+
export declare class UICamadas extends SafeHTMLElement implements CamadasHostCompleto {
|
|
5
|
+
static get observedAttributes(): string[];
|
|
6
|
+
private shadow;
|
|
7
|
+
private listeners;
|
|
8
|
+
private dragDropManager;
|
|
9
|
+
private resizerController;
|
|
10
|
+
private alturaCustomizada;
|
|
11
|
+
private conectado;
|
|
12
|
+
private origensCamadas;
|
|
13
|
+
private salvarLembrancaDebounced;
|
|
14
|
+
camadas: CamadaItem[];
|
|
15
|
+
feicoes: FeicaoItem[];
|
|
16
|
+
mapasBase: MapaBaseItem[];
|
|
17
|
+
expandedLayers: Set<string>;
|
|
18
|
+
selectedFeatureIds: Set<string>;
|
|
19
|
+
lastClickedFeatureId: string | null;
|
|
20
|
+
activeSettingsLayerId: string | null;
|
|
21
|
+
editingLayerId: string | null;
|
|
22
|
+
editingFeatureId: string | null;
|
|
23
|
+
searchQuery: string;
|
|
24
|
+
private corpoElement;
|
|
25
|
+
private btnExpandirFlutuante;
|
|
26
|
+
constructor();
|
|
27
|
+
connectedCallback(): void;
|
|
28
|
+
disconnectedCallback(): void;
|
|
29
|
+
attributeChangedCallback(name: string, oldVal: string | null, newVal: string | null): void;
|
|
30
|
+
get titulo(): string;
|
|
31
|
+
set titulo(valor: string);
|
|
32
|
+
get camadaAtivaId(): string | null;
|
|
33
|
+
set camadaAtivaId(id: string | null);
|
|
34
|
+
get mapaBaseAtivo(): string;
|
|
35
|
+
set mapaBaseAtivo(valor: string);
|
|
36
|
+
selecionarMapaBase(id: string, emitirEvento?: boolean): void;
|
|
37
|
+
private marcarMapaBaseAtivoNoDOM;
|
|
38
|
+
get abaAtiva(): AbaPainelCamadas;
|
|
39
|
+
set abaAtiva(aba: AbaPainelCamadas);
|
|
40
|
+
get colapsado(): boolean;
|
|
41
|
+
set colapsado(valor: boolean);
|
|
42
|
+
get colapsavel(): boolean;
|
|
43
|
+
set colapsavel(valor: boolean);
|
|
44
|
+
get flutuante(): boolean;
|
|
45
|
+
set flutuante(valor: boolean);
|
|
46
|
+
get densidade(): 'compacto' | 'normal';
|
|
47
|
+
set densidade(valor: 'compacto' | 'normal');
|
|
48
|
+
get mostrarMapasBase(): boolean;
|
|
49
|
+
set mostrarMapasBase(valor: boolean);
|
|
50
|
+
get mostrarRodape(): boolean;
|
|
51
|
+
set mostrarRodape(valor: boolean);
|
|
52
|
+
get mostrarBusca(): boolean;
|
|
53
|
+
set mostrarBusca(valor: boolean);
|
|
54
|
+
get persistir(): boolean;
|
|
55
|
+
set persistir(valor: boolean);
|
|
56
|
+
get storageKey(): string | null;
|
|
57
|
+
set storageKey(valor: string | null);
|
|
58
|
+
get redimensionavel(): boolean;
|
|
59
|
+
set redimensionavel(valor: boolean);
|
|
60
|
+
get altura(): string | null;
|
|
61
|
+
set altura(valor: string | number | null);
|
|
62
|
+
definirAltura(alturaPx: number | string | null, persistir?: boolean): void;
|
|
63
|
+
obterChaveStorageAtual(): string;
|
|
64
|
+
/** Versão com debounce, para interações contínuas (seletor de cor, slider de opacidade). */
|
|
65
|
+
agendarSalvarLembranca(): void;
|
|
66
|
+
salvarLembrancaEstado(): void;
|
|
67
|
+
limparLembranca(): void;
|
|
68
|
+
/** Atalho reativo para `definirCamadas()` — não dispara eventos. */
|
|
69
|
+
get layers(): CamadaItem[];
|
|
70
|
+
set layers(camadas: CamadaItem[]);
|
|
71
|
+
/** Atalho reativo para `definirFeicoes()` — não dispara eventos. */
|
|
72
|
+
get features(): FeicaoItem[];
|
|
73
|
+
set features(feicoes: FeicaoItem[]);
|
|
74
|
+
/** Atalho reativo para `definirMapasBase()` — não dispara eventos. */
|
|
75
|
+
get basemaps(): MapaBaseItem[];
|
|
76
|
+
set basemaps(mapas: MapaBaseItem[]);
|
|
77
|
+
definirCamadas(camadas: CamadaItem[], feicoes?: FeicaoItem[]): void;
|
|
78
|
+
definirFeicoes(feicoes: FeicaoItem[]): void;
|
|
79
|
+
definirMapasBase(mapas: MapaBaseItem[]): void;
|
|
80
|
+
definirCamadaAtiva(camadaId: string, emitirEvento?: boolean): void;
|
|
81
|
+
obterCamada(id: string): CamadaItem | undefined;
|
|
82
|
+
obterCamadaAtiva(): CamadaItem | undefined;
|
|
83
|
+
obterFeicao(id: string): FeicaoItem | undefined;
|
|
84
|
+
obterFeicoesSelecionadas(): FeicaoItem[];
|
|
85
|
+
adicionarCamada(camada: CamadaItem): void;
|
|
86
|
+
removerCamada(camadaId: string): void;
|
|
87
|
+
adicionarFeicao(feicao: FeicaoItem): void;
|
|
88
|
+
atualizarFeicao(feicaoAtualizada: FeicaoItem): void;
|
|
89
|
+
removerFeicao(feicaoId: string): void;
|
|
90
|
+
selecionarFeicao(feicaoId: string, acumular?: boolean, intervalo?: boolean, emitirEvento?: boolean): void;
|
|
91
|
+
selecionarFeicoes(ids: string[], emitirEvento?: boolean): void;
|
|
92
|
+
limparSelecao(emitirEvento?: boolean): void;
|
|
93
|
+
expandirTodas(): void;
|
|
94
|
+
colapsarTodas(): void;
|
|
95
|
+
alternarVisibilidadeTodas(emitirEvento?: boolean): void;
|
|
96
|
+
colapsar(emitirEvento?: boolean): void;
|
|
97
|
+
expandir(emitirEvento?: boolean): void;
|
|
98
|
+
alternarColapso(emitirEvento?: boolean): void;
|
|
99
|
+
private definirColapso;
|
|
100
|
+
solicitarRenderizacao(): void;
|
|
101
|
+
dispararEvento(nome: string, detalhe: unknown): void;
|
|
102
|
+
private render;
|
|
103
|
+
private conectarEventosGerais;
|
|
104
|
+
private sincronizarCamadaAtivaDOM;
|
|
105
|
+
sincronizarSelecaoDOM(): void;
|
|
106
|
+
private sincronizarSelecoesComFeicoesValidas;
|
|
107
|
+
notificarMudancaSelecao(): void;
|
|
108
|
+
}
|
|
109
|
+
export declare class UIPainelCamadas extends UICamadas {
|
|
110
|
+
}
|
|
111
|
+
export declare class UILayerPanel extends UICamadas {
|
|
112
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export interface ContextoLabelPlaceholder {
|
|
2
|
+
labelElement: HTMLLabelElement;
|
|
3
|
+
inputElement: HTMLInputElement;
|
|
4
|
+
labelText: string | null;
|
|
5
|
+
placeholderText: string;
|
|
6
|
+
isFlutuante: boolean;
|
|
7
|
+
estaFocado: boolean;
|
|
8
|
+
obrigatorio?: boolean;
|
|
9
|
+
}
|
|
10
|
+
export declare function sincronizarLabelEPlaceholder(ctx: ContextoLabelPlaceholder): void;
|
|
11
|
+
export declare function sincronizarIconeSenha(container: HTMLSpanElement, ehSenhaOuAlternar: boolean, senhaVisivel: boolean): void;
|
|
12
|
+
export declare function sincronizarFeedbackErro(wrapper: HTMLDivElement, input: HTMLInputElement, helper: HTMLDivElement, temErro: boolean, mensagemErro: string | null, helperText: string | null): void;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './ui-campo-texto';
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { FormAssociatedElement } from '../../core/form-associated-element';
|
|
2
|
+
export declare class UICampoTexto extends FormAssociatedElement {
|
|
3
|
+
static get observedAttributes(): string[];
|
|
4
|
+
private labelElement;
|
|
5
|
+
private wrapperElement;
|
|
6
|
+
private inputElement;
|
|
7
|
+
private helperElement;
|
|
8
|
+
private rightIconContainer;
|
|
9
|
+
private leftSlotElement;
|
|
10
|
+
private _senhaVisivel;
|
|
11
|
+
private _checkTimer;
|
|
12
|
+
private _focado;
|
|
13
|
+
private _inputId;
|
|
14
|
+
private _defaultValue;
|
|
15
|
+
constructor();
|
|
16
|
+
focus(options?: FocusOptions): void;
|
|
17
|
+
blur(): void;
|
|
18
|
+
connectedCallback(): void;
|
|
19
|
+
disconnectedCallback(): void;
|
|
20
|
+
attributeChangedCallback(name: string, _old: string | null, value: string | null): void;
|
|
21
|
+
get value(): string;
|
|
22
|
+
set value(val: string);
|
|
23
|
+
formResetCallback(): void;
|
|
24
|
+
formStateRestoreCallback(state: any, _mode: 'restore' | 'autocomplete'): void;
|
|
25
|
+
get name(): string;
|
|
26
|
+
set name(val: string);
|
|
27
|
+
get type(): string;
|
|
28
|
+
get disabled(): boolean;
|
|
29
|
+
set disabled(val: boolean);
|
|
30
|
+
get minLength(): number;
|
|
31
|
+
set minLength(val: number);
|
|
32
|
+
get maxLength(): number;
|
|
33
|
+
set maxLength(val: number);
|
|
34
|
+
get pattern(): string;
|
|
35
|
+
set pattern(val: string);
|
|
36
|
+
atualizarValidade(): void;
|
|
37
|
+
alternarVisibilidadeSenha(): void;
|
|
38
|
+
private handleSlotChange;
|
|
39
|
+
protected syncState(): void;
|
|
40
|
+
/**
|
|
41
|
+
* Sem o atributo `label`, o input nativo herda o nome acessível de fora do Shadow DOM
|
|
42
|
+
* (`aria-label` no host, `<label for>` ou `<label>` envolvente).
|
|
43
|
+
*/
|
|
44
|
+
private sincronizarNomeAcessivel;
|
|
45
|
+
private handleHostClick;
|
|
46
|
+
private handleRightIconClick;
|
|
47
|
+
private handleRightIconKeyDown;
|
|
48
|
+
private handleFocus;
|
|
49
|
+
private handleBlur;
|
|
50
|
+
private handleInput;
|
|
51
|
+
private handleChange;
|
|
52
|
+
}
|
|
53
|
+
/** Alias semântico: `<ui-input>` é idêntico a `<ui-campo-texto>`. */
|
|
54
|
+
export declare class UIInput extends UICampoTexto {
|
|
55
|
+
}
|
|
56
|
+
export * from './campo-texto-estados';
|
|
57
|
+
export * from './campo-texto-template';
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { UICanvasCAD } from './ui-canvas-cad';
|
|
2
|
+
import { GerenciadorBroadcastConfig } from './cad-broadcast';
|
|
3
|
+
import { GerenciGeoMapaController } from '../../gerencigeo-canvas/mapa_controller';
|
|
4
|
+
export interface ContextoAtributosCAD {
|
|
5
|
+
host: UICanvasCAD;
|
|
6
|
+
controller: GerenciGeoMapaController;
|
|
7
|
+
mapContainer: HTMLDivElement | null;
|
|
8
|
+
broadcastConfig: GerenciadorBroadcastConfig;
|
|
9
|
+
setLayerOpacity: (id: string, op: number) => void;
|
|
10
|
+
setLayerScaleMode: (id: string, mode: any) => void;
|
|
11
|
+
atualizarZonaProjecao: (zona: number) => void;
|
|
12
|
+
}
|
|
13
|
+
export declare function sincronizarAtributoCAD(ctx: ContextoAtributosCAD, name: string, oldVal: string, newVal: string): void;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { GerenciGeoMapaController } from '../../gerencigeo-canvas/mapa_controller';
|
|
2
|
+
export interface ContextoBroadcastCAD {
|
|
3
|
+
host: HTMLElement;
|
|
4
|
+
controller: GerenciGeoMapaController;
|
|
5
|
+
mapContainer: HTMLDivElement | null;
|
|
6
|
+
setLayerOpacity: (camadaId: string, opacidade: number) => void;
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* Gerencia a comunicação assíncrona desacoplada via BroadcastChannel
|
|
10
|
+
* para aplicar parâmetros de tema, cursor e opacidade em tempo real.
|
|
11
|
+
*/
|
|
12
|
+
export declare class GerenciadorBroadcastConfig {
|
|
13
|
+
private canal;
|
|
14
|
+
private contexto;
|
|
15
|
+
constructor(contexto: ContextoBroadcastCAD);
|
|
16
|
+
conectar(canalNome?: string | null): void;
|
|
17
|
+
processarMensagem(data: any): void;
|
|
18
|
+
desconectar(): void;
|
|
19
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { default as L } from 'leaflet';
|
|
2
|
+
import { Ponto, Segmento, BancoPonto, Confrontante, PontoCAD, ConexaoCAD, PoligonoCAD } from '../../gerencigeo-canvas/types';
|
|
3
|
+
import { GerenciGeoMapaController } from '../../gerencigeo-canvas/mapa_controller';
|
|
4
|
+
export interface ContextoColecoesDados {
|
|
5
|
+
obterController: () => GerenciGeoMapaController;
|
|
6
|
+
obterChaveGrupo: () => string | undefined;
|
|
7
|
+
setLayerVisibility: (id: string, visivel: boolean) => void;
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Gerencia as coleções de entidades geométricas em memória (pontos, segmentos,
|
|
11
|
+
* banco de pontos, confrontantes) e a sincronização com a engine de mapa.
|
|
12
|
+
*/
|
|
13
|
+
export declare class GerenciadorColecoesDados {
|
|
14
|
+
private contexto;
|
|
15
|
+
private _pontos;
|
|
16
|
+
private _segmentos;
|
|
17
|
+
private _bancoPontos;
|
|
18
|
+
private _confrontantes;
|
|
19
|
+
customMarkerClickHandler?: (pontoId: number, isVizinho?: boolean) => void;
|
|
20
|
+
constructor(contexto: ContextoColecoesDados);
|
|
21
|
+
get pontos(): Ponto[];
|
|
22
|
+
set pontos(val: Ponto[]);
|
|
23
|
+
get segmentos(): Segmento[];
|
|
24
|
+
set segmentos(val: Segmento[]);
|
|
25
|
+
get bancoPontos(): BancoPonto[];
|
|
26
|
+
set bancoPontos(val: BancoPonto[]);
|
|
27
|
+
get confrontantes(): Confrontante[];
|
|
28
|
+
set confrontantes(val: Confrontante[]);
|
|
29
|
+
sincronizarInicial(): void;
|
|
30
|
+
obterElementoPorId(id: string | number): any;
|
|
31
|
+
plotarPontos(pontos?: PontoCAD[] | null, camadaId?: string, onClique?: (ponto: PontoCAD) => void): void;
|
|
32
|
+
plotarConexoes(conexoes?: ConexaoCAD[] | null, camadaId?: string): void;
|
|
33
|
+
plotarPolilinhaSequencial(pontos?: PontoCAD[] | null, fechar?: boolean, camadaId?: string, chaveGrupo?: string): void;
|
|
34
|
+
plotarPoligonos(poligonos?: PoligonoCAD[] | null, camadaId?: string): void;
|
|
35
|
+
limparCamadas(idsCamadas?: string[]): void;
|
|
36
|
+
obterMarcadores(camadaId?: string): L.Marker[];
|
|
37
|
+
plotPontos(pontos?: Ponto[] | null, onMarkerClick?: (pontoId: number, isVizinho?: boolean) => void): void;
|
|
38
|
+
plotSegmentos(segmentos?: Segmento[] | null, pontos?: Ponto[] | null): void;
|
|
39
|
+
plotPolilinhaTemporaria(pontos?: Ponto[] | null): void;
|
|
40
|
+
plotPoligonalHomologada(bancoPontos?: BancoPonto[] | null): void;
|
|
41
|
+
plotPontosVizinhos(pontos?: Ponto[] | null): void;
|
|
42
|
+
plotPoligonosVizinhos(confrontantes?: Confrontante[] | null): void;
|
|
43
|
+
clearOverlays(manterBanco?: boolean): void;
|
|
44
|
+
getMarkers(): L.Marker[];
|
|
45
|
+
getVizinhosMarkers(): L.Marker[];
|
|
46
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { GerenciGeoMapaController } from '../../gerencigeo-canvas/mapa_controller';
|
|
2
|
+
export interface ContextoEventosCanvas {
|
|
3
|
+
host: HTMLElement;
|
|
4
|
+
controller: GerenciGeoMapaController;
|
|
5
|
+
mapContainer: HTMLElement | null;
|
|
6
|
+
modoSequencial: boolean;
|
|
7
|
+
mouseMovedSinceDown: boolean;
|
|
8
|
+
obterElementoPorId: (id: string | number) => any;
|
|
9
|
+
fecharPopup: () => void;
|
|
10
|
+
}
|
|
11
|
+
export declare function processarCliqueLivreCanvas(ctx: ContextoEventosCanvas, e: MouseEvent | any, latLngParam?: {
|
|
12
|
+
lat: number;
|
|
13
|
+
lng?: number;
|
|
14
|
+
lon?: number;
|
|
15
|
+
}, containerPointParam?: {
|
|
16
|
+
x: number;
|
|
17
|
+
y: number;
|
|
18
|
+
}): boolean;
|
|
19
|
+
export declare function processarAcaoPopup(ctx: ContextoEventosCanvas, acaoId: string, elementoId: string | number, elemento?: any): void;
|
|
20
|
+
export declare function tratarCliqueMarcador(ctx: ContextoEventosCanvas, pId: string | number, isVizinho: boolean | undefined, elemento: any, coords: {
|
|
21
|
+
lat: number;
|
|
22
|
+
lon: number;
|
|
23
|
+
} | undefined, prevMarkerClick?: (pId: string | number, isVizinho?: boolean, elemento?: any, coords?: {
|
|
24
|
+
lat: number;
|
|
25
|
+
lon: number;
|
|
26
|
+
}) => void, customMarkerClickHandler?: (pontoId: number, isVizinho?: boolean) => void): void;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { UICanvasCAD } from './ui-canvas-cad';
|
|
2
|
+
import { GerenciGeoMapaController } from '../../gerencigeo-canvas/mapa_controller';
|
|
3
|
+
import { GerenciadorToolbarPainel } from './cad-toolbar-painel';
|
|
4
|
+
import { GerenciadorColecoesDados } from './cad-colecoes-dados';
|
|
5
|
+
import { ContextoEventosCanvas } from './cad-eventos-canvas';
|
|
6
|
+
export interface ContextoInicializadorCAD {
|
|
7
|
+
host: UICanvasCAD;
|
|
8
|
+
shadow: ShadowRoot;
|
|
9
|
+
mapContainer: HTMLDivElement | null;
|
|
10
|
+
controller: GerenciGeoMapaController;
|
|
11
|
+
toolbarPainel: GerenciadorToolbarPainel;
|
|
12
|
+
colecoesDados: GerenciadorColecoesDados;
|
|
13
|
+
obterContextoEventos: () => ContextoEventosCanvas;
|
|
14
|
+
renderLayersUI: () => void;
|
|
15
|
+
invalidateSizeSafely: () => void;
|
|
16
|
+
tratarCliqueLivreCanvas: (e: any, latlng?: any, containerPoint?: any) => void;
|
|
17
|
+
dispararAcaoPopup: (acaoId: string, elementoId: string | number, elemento?: any) => void;
|
|
18
|
+
}
|
|
19
|
+
export declare function inicializarCAD(ctx: ContextoInicializadorCAD): void;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { CanvasLayerDef, ScaleMode } from '../../gerencigeo-canvas/types';
|
|
2
|
+
import { ListenerBag } from '../../core/listener-bag';
|
|
3
|
+
export interface PainelCamadasCallbacks {
|
|
4
|
+
setLayerVisibility: (id: string, visivel: boolean) => void;
|
|
5
|
+
setLayerOpacity: (id: string, opacidade: number) => void;
|
|
6
|
+
setLayerBlocked: (id: string, bloqueada: boolean) => void;
|
|
7
|
+
setLayerScaleMode: (id: string, mode: ScaleMode) => void;
|
|
8
|
+
}
|
|
9
|
+
export declare function renderizarPainelCamadas(container: HTMLElement | null, layers: CanvasLayerDef[], layerItemListeners: ListenerBag, callbacks: PainelCamadasCallbacks): void;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { GerenciGeoMapaController } from '../../gerencigeo-canvas/mapa_controller';
|
|
2
|
+
export interface ControladorTamanhoCanvas {
|
|
3
|
+
observe: () => void;
|
|
4
|
+
disconnect: () => void;
|
|
5
|
+
invalidateSizeSafely: () => void;
|
|
6
|
+
}
|
|
7
|
+
export declare function criarControladorTamanho(host: HTMLElement, controller: GerenciGeoMapaController): ControladorTamanhoCanvas;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function obterTemplateCanvasCAD(): string;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
export interface ContextoToolbarPainel {
|
|
2
|
+
shadow: ShadowRoot;
|
|
3
|
+
mapContainer: HTMLDivElement | null;
|
|
4
|
+
layersPanel: HTMLDivElement | null;
|
|
5
|
+
onToggleCamadas?: () => void;
|
|
6
|
+
onCloseCamadas?: () => void;
|
|
7
|
+
onZoomExtents?: () => void;
|
|
8
|
+
onLimparSelecao?: () => void;
|
|
9
|
+
onTratarCliqueCanvas?: (e: MouseEvent) => void;
|
|
10
|
+
onDispararAcaoPopup?: (acaoId: string, elementoId: string | number) => void;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* Gerencia a interação da interface com a barra de ferramentas rápida,
|
|
14
|
+
* painel retrátil de camadas e detecção de clique versus pan no container do mapa.
|
|
15
|
+
*/
|
|
16
|
+
export declare class GerenciadorToolbarPainel {
|
|
17
|
+
private contexto;
|
|
18
|
+
private uiListeners;
|
|
19
|
+
private isLayersPanelOpen;
|
|
20
|
+
private mouseMovedSinceDown;
|
|
21
|
+
private mouseDownPos;
|
|
22
|
+
constructor(contexto: ContextoToolbarPainel);
|
|
23
|
+
get estaPainelAberto(): boolean;
|
|
24
|
+
get houveMovimentoMouse(): boolean;
|
|
25
|
+
toggleLayersPanel(): void;
|
|
26
|
+
closeLayersPanel(): void;
|
|
27
|
+
vincularEventos(): void;
|
|
28
|
+
limpar(): void;
|
|
29
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export * from './ui-canvas-cad';
|
|
2
|
+
export * from './cad-painel-camadas';
|
|
3
|
+
export * from './cad-eventos-canvas';
|
|
4
|
+
export * from './cad-tamanho-observer';
|
|
5
|
+
export * from '../../gerencigeo-canvas/types';
|
|
6
|
+
export * from '../../gerencigeo-canvas/layer_manager';
|
|
7
|
+
export * from '../../gerencigeo-canvas/layer_renderer_factory';
|
|
8
|
+
export * from '../../gerencigeo-canvas/mapa_controller';
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import { default as L } from 'leaflet';
|
|
2
|
+
import { Ponto, Segmento, BancoPonto, Confrontante, CanvasLayerState, CanvasGraphicScale, ScaleMode, PontoCAD, ConexaoCAD, PoligonoCAD, DestacarElementoOpcoes } from '../../gerencigeo-canvas/types';
|
|
3
|
+
import { GerenciGeoMapaController } from '../../gerencigeo-canvas/mapa_controller';
|
|
4
|
+
import { CanvasLayerManager } from '../../gerencigeo-canvas/layer_manager';
|
|
5
|
+
import { SafeHTMLElement } from '../../core/ssr-safe';
|
|
6
|
+
export declare class UICanvasCAD extends SafeHTMLElement {
|
|
7
|
+
static get observedAttributes(): string[];
|
|
8
|
+
private shadow;
|
|
9
|
+
private mapContainer;
|
|
10
|
+
private layersPanel;
|
|
11
|
+
private controller;
|
|
12
|
+
private controladorTamanho;
|
|
13
|
+
private toolbarPainel;
|
|
14
|
+
private broadcastConfig;
|
|
15
|
+
private colecoesDados;
|
|
16
|
+
private layerItemListeners;
|
|
17
|
+
private initTimeout?;
|
|
18
|
+
private lastPopupActionEmit?;
|
|
19
|
+
private lastCanvasClickTime;
|
|
20
|
+
private _chaveGrupo?;
|
|
21
|
+
private _zonaProjecao;
|
|
22
|
+
constructor();
|
|
23
|
+
connectedCallback(): void;
|
|
24
|
+
destroy(): void;
|
|
25
|
+
disconnectedCallback(): void;
|
|
26
|
+
invalidateSizeSafely(): void;
|
|
27
|
+
attributeChangedCallback(name: string, oldVal: string, newVal: string): void;
|
|
28
|
+
private initCAD;
|
|
29
|
+
private obterContextoEventos;
|
|
30
|
+
tratarCliqueLivreCanvas(e: MouseEvent | any, latLng?: any, pt?: any): void;
|
|
31
|
+
dispararAcaoPopup(acaoId: string, elementoId: string | number, elemento?: any): void;
|
|
32
|
+
toggleLayersPanel(): void;
|
|
33
|
+
closeLayersPanel(): void;
|
|
34
|
+
private renderLayersUI;
|
|
35
|
+
get pontos(): Ponto[];
|
|
36
|
+
set pontos(val: Ponto[]);
|
|
37
|
+
get segmentos(): Segmento[];
|
|
38
|
+
set segmentos(val: Segmento[]);
|
|
39
|
+
get bancoPontos(): BancoPonto[];
|
|
40
|
+
set bancoPontos(val: BancoPonto[]);
|
|
41
|
+
get pontosHomologados(): BancoPonto[];
|
|
42
|
+
set pontosHomologados(val: BancoPonto[]);
|
|
43
|
+
get confrontantes(): Confrontante[];
|
|
44
|
+
set confrontantes(val: Confrontante[]);
|
|
45
|
+
get vizinhos(): Confrontante[];
|
|
46
|
+
set vizinhos(val: Confrontante[]);
|
|
47
|
+
get modoSequencial(): boolean;
|
|
48
|
+
set modoSequencial(val: boolean);
|
|
49
|
+
get chaveGrupo(): string | undefined;
|
|
50
|
+
set chaveGrupo(val: string | undefined);
|
|
51
|
+
get zonaProjecao(): number;
|
|
52
|
+
set zonaProjecao(val: number);
|
|
53
|
+
get canalConfiguracao(): string | null;
|
|
54
|
+
set canalConfiguracao(val: string | null);
|
|
55
|
+
fitBounds(pontos?: Ponto[], padding?: [number, number], incluirVizinhos?: boolean): void;
|
|
56
|
+
zoomExtents(): void;
|
|
57
|
+
selectPonto(id: string | number, zoomLevel?: number): void;
|
|
58
|
+
selecionarPonto(id: string | number, zoomLevel?: number): void;
|
|
59
|
+
get pontosSelecionados(): (string | number)[];
|
|
60
|
+
set pontosSelecionados(ids: (string | number)[]);
|
|
61
|
+
atualizarDestaqueMarcadores(): void;
|
|
62
|
+
limparSelecao(): void;
|
|
63
|
+
setLayerVisibility(id: string, visivel: boolean): void;
|
|
64
|
+
setLayerOpacity(id: string, opacidade: number): void;
|
|
65
|
+
setLayerScaleMode(id: string, mode: ScaleMode): void;
|
|
66
|
+
setGraphicScale(scale: Partial<CanvasGraphicScale>): void;
|
|
67
|
+
exportState(): CanvasLayerState[];
|
|
68
|
+
importState(state: CanvasLayerState[]): void;
|
|
69
|
+
invalidateSize(): void;
|
|
70
|
+
get destaqueAtivo(): boolean;
|
|
71
|
+
destacarElemento(id: string | number, opcoes?: DestacarElementoOpcoes): void;
|
|
72
|
+
limparDestaque(): void;
|
|
73
|
+
plotarPontos(p?: PontoCAD[] | null, c?: string, cl?: (p: PontoCAD) => void): void;
|
|
74
|
+
plotarConexoes(conexoes?: ConexaoCAD[] | null, camadaId?: string): void;
|
|
75
|
+
plotarPolilinhaSequencial(p?: PontoCAD[] | null, f?: boolean, c?: string, cg?: string): void;
|
|
76
|
+
plotarPoligonos(poligonos?: PoligonoCAD[] | null, camadaId?: string): void;
|
|
77
|
+
limparCamadas(idsCamadas?: string[]): void;
|
|
78
|
+
obterMarcadores(camadaId?: string): L.Marker[];
|
|
79
|
+
plotPontos(p?: Ponto[] | null, cl?: (id: number, viz?: boolean) => void): void;
|
|
80
|
+
plotSegmentos(s?: Segmento[] | null, p?: Ponto[] | null): void;
|
|
81
|
+
plotPolilinhaTemporaria(pontos?: Ponto[] | null): void;
|
|
82
|
+
plotPoligonalHomologada(bancoPontos?: BancoPonto[] | null): void;
|
|
83
|
+
plotPontosVizinhos(pontos?: Ponto[] | null): void;
|
|
84
|
+
plotPoligonosVizinhos(confrontantes?: Confrontante[] | null): void;
|
|
85
|
+
clearOverlays(manterBanco?: boolean): void;
|
|
86
|
+
getMarkers(): L.Marker[];
|
|
87
|
+
getVizinhosMarkers(): L.Marker[];
|
|
88
|
+
getMap(): L.Map | null;
|
|
89
|
+
getController(): GerenciGeoMapaController;
|
|
90
|
+
getLayerManager(): CanvasLayerManager;
|
|
91
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './ui-card';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { SafeHTMLElement } from '../../core/ssr-safe';
|
|
2
|
+
export declare class UICard extends SafeHTMLElement {
|
|
3
|
+
static get observedAttributes(): string[];
|
|
4
|
+
private cardElement;
|
|
5
|
+
private listeners;
|
|
6
|
+
constructor();
|
|
7
|
+
connectedCallback(): void;
|
|
8
|
+
disconnectedCallback(): void;
|
|
9
|
+
attributeChangedCallback(_name: string, _old: string | null, _value: string | null): void;
|
|
10
|
+
private handleSlotChange;
|
|
11
|
+
get clicavel(): boolean;
|
|
12
|
+
set clicavel(val: boolean);
|
|
13
|
+
get disabled(): boolean;
|
|
14
|
+
set disabled(val: boolean);
|
|
15
|
+
private syncState;
|
|
16
|
+
private handleClick;
|
|
17
|
+
private handleKeyDown;
|
|
18
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './ui-checkbox';
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { FormAssociatedElement } from '../../core/form-associated-element';
|
|
2
|
+
export declare class UICheckbox extends FormAssociatedElement {
|
|
3
|
+
static get observedAttributes(): string[];
|
|
4
|
+
private containerElement;
|
|
5
|
+
private markElement;
|
|
6
|
+
private labelElement;
|
|
7
|
+
private listeners;
|
|
8
|
+
private _defaultChecked;
|
|
9
|
+
private _defaultIndeterminate;
|
|
10
|
+
constructor();
|
|
11
|
+
connectedCallback(): void;
|
|
12
|
+
disconnectedCallback(): void;
|
|
13
|
+
attributeChangedCallback(_name: string, _old: string | null, _value: string | null): void;
|
|
14
|
+
get marcado(): boolean;
|
|
15
|
+
set marcado(val: boolean);
|
|
16
|
+
get checked(): boolean;
|
|
17
|
+
set checked(val: boolean);
|
|
18
|
+
get value(): string;
|
|
19
|
+
set value(val: string);
|
|
20
|
+
get name(): string;
|
|
21
|
+
set name(val: string);
|
|
22
|
+
get indeterminado(): boolean;
|
|
23
|
+
set indeterminado(val: boolean);
|
|
24
|
+
get disabled(): boolean;
|
|
25
|
+
set disabled(val: boolean);
|
|
26
|
+
get type(): string;
|
|
27
|
+
atualizarValidade(): void;
|
|
28
|
+
alternar(): void;
|
|
29
|
+
protected syncState(): void;
|
|
30
|
+
formResetCallback(): void;
|
|
31
|
+
formStateRestoreCallback(state: any, _mode: 'restore' | 'autocomplete'): void;
|
|
32
|
+
private handleClick;
|
|
33
|
+
private handleKeyDown;
|
|
34
|
+
private handleFocus;
|
|
35
|
+
private handleBlur;
|
|
36
|
+
}
|