@thibezer/ui-components-kit 2.23.0 → 2.24.1

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.
@@ -7490,6 +7490,1137 @@
7490
7490
  }
7491
7491
  ]
7492
7492
  },
7493
+ {
7494
+ "kind": "javascript-module",
7495
+ "path": "src/components/ui-calendario/calendario-datas.ts",
7496
+ "declarations": [
7497
+ {
7498
+ "kind": "function",
7499
+ "name": "diasNoMes",
7500
+ "return": {
7501
+ "type": {
7502
+ "text": "number"
7503
+ }
7504
+ },
7505
+ "parameters": [
7506
+ {
7507
+ "name": "ano",
7508
+ "type": {
7509
+ "text": "number"
7510
+ }
7511
+ },
7512
+ {
7513
+ "name": "mes",
7514
+ "type": {
7515
+ "text": "number"
7516
+ }
7517
+ }
7518
+ ]
7519
+ },
7520
+ {
7521
+ "kind": "function",
7522
+ "name": "formatarIso",
7523
+ "return": {
7524
+ "type": {
7525
+ "text": "string"
7526
+ }
7527
+ },
7528
+ "parameters": [
7529
+ {
7530
+ "name": "{ ano, mes, dia }",
7531
+ "type": {
7532
+ "text": "DataSimples"
7533
+ }
7534
+ }
7535
+ ]
7536
+ },
7537
+ {
7538
+ "kind": "function",
7539
+ "name": "formatarMes",
7540
+ "return": {
7541
+ "type": {
7542
+ "text": "string"
7543
+ }
7544
+ },
7545
+ "parameters": [
7546
+ {
7547
+ "name": "ano",
7548
+ "type": {
7549
+ "text": "number"
7550
+ }
7551
+ },
7552
+ {
7553
+ "name": "mes",
7554
+ "type": {
7555
+ "text": "number"
7556
+ }
7557
+ }
7558
+ ]
7559
+ },
7560
+ {
7561
+ "kind": "function",
7562
+ "name": "lerIso",
7563
+ "return": {
7564
+ "type": {
7565
+ "text": "DataSimples | null"
7566
+ }
7567
+ },
7568
+ "parameters": [
7569
+ {
7570
+ "name": "texto",
7571
+ "type": {
7572
+ "text": "unknown"
7573
+ }
7574
+ }
7575
+ ],
7576
+ "description": "Lê `AAAA-MM-DD` (ou ISO completo). `null` se inválido."
7577
+ },
7578
+ {
7579
+ "kind": "variable",
7580
+ "name": "ano"
7581
+ },
7582
+ {
7583
+ "kind": "variable",
7584
+ "name": "mes"
7585
+ },
7586
+ {
7587
+ "kind": "function",
7588
+ "name": "lerMes",
7589
+ "return": {
7590
+ "type": {
7591
+ "text": "{ ano: number; mes: number } | null"
7592
+ }
7593
+ },
7594
+ "parameters": [
7595
+ {
7596
+ "name": "texto",
7597
+ "type": {
7598
+ "text": "unknown"
7599
+ }
7600
+ }
7601
+ ],
7602
+ "description": "Lê `AAAA-MM` (ou uma data completa, aproveitando ano e mês). `null` se inválido."
7603
+ },
7604
+ {
7605
+ "kind": "function",
7606
+ "name": "hojeLocal",
7607
+ "return": {
7608
+ "type": {
7609
+ "text": "DataSimples"
7610
+ }
7611
+ },
7612
+ "parameters": [
7613
+ {
7614
+ "name": "agora",
7615
+ "default": "new Date()",
7616
+ "type": {
7617
+ "text": "Date"
7618
+ }
7619
+ }
7620
+ ]
7621
+ },
7622
+ {
7623
+ "kind": "function",
7624
+ "name": "somarDias",
7625
+ "return": {
7626
+ "type": {
7627
+ "text": "DataSimples"
7628
+ }
7629
+ },
7630
+ "parameters": [
7631
+ {
7632
+ "name": "data",
7633
+ "type": {
7634
+ "text": "DataSimples"
7635
+ }
7636
+ },
7637
+ {
7638
+ "name": "dias",
7639
+ "type": {
7640
+ "text": "number"
7641
+ }
7642
+ }
7643
+ ],
7644
+ "description": "Soma dias (positivos ou negativos) usando UTC para evitar saltos de horário de verão."
7645
+ },
7646
+ {
7647
+ "kind": "function",
7648
+ "name": "somarMeses",
7649
+ "return": {
7650
+ "type": {
7651
+ "text": "DataSimples"
7652
+ }
7653
+ },
7654
+ "parameters": [
7655
+ {
7656
+ "name": "data",
7657
+ "type": {
7658
+ "text": "DataSimples"
7659
+ }
7660
+ },
7661
+ {
7662
+ "name": "meses",
7663
+ "type": {
7664
+ "text": "number"
7665
+ }
7666
+ }
7667
+ ],
7668
+ "description": "Soma meses mantendo o dia, limitado ao último dia do mês de destino (31/01 + 1 → 28/02)."
7669
+ },
7670
+ {
7671
+ "kind": "function",
7672
+ "name": "diaDaSemana",
7673
+ "return": {
7674
+ "type": {
7675
+ "text": "number"
7676
+ }
7677
+ },
7678
+ "parameters": [
7679
+ {
7680
+ "name": "data",
7681
+ "type": {
7682
+ "text": "DataSimples"
7683
+ }
7684
+ }
7685
+ ]
7686
+ },
7687
+ {
7688
+ "kind": "function",
7689
+ "name": "montarGradeMes",
7690
+ "return": {
7691
+ "type": {
7692
+ "text": "DiaGrade[]"
7693
+ }
7694
+ },
7695
+ "parameters": [
7696
+ {
7697
+ "name": "ano",
7698
+ "type": {
7699
+ "text": "number"
7700
+ }
7701
+ },
7702
+ {
7703
+ "name": "mes",
7704
+ "type": {
7705
+ "text": "number"
7706
+ }
7707
+ },
7708
+ {
7709
+ "name": "inicioSemana",
7710
+ "default": "1"
7711
+ },
7712
+ {
7713
+ "name": "semanas",
7714
+ "default": "6"
7715
+ }
7716
+ ],
7717
+ "description": "Monta a grade do mês: sempre `semanas` linhas (padrão 6) de 7 dias, começando em `inicioSemana`\n(0 = domingo, 1 = segunda). Seis linhas mantêm a altura estável ao trocar de mês."
7718
+ },
7719
+ {
7720
+ "kind": "function",
7721
+ "name": "agruparEventosPorDia",
7722
+ "return": {
7723
+ "type": {
7724
+ "text": "Map<string, EventoCalendario[]>"
7725
+ }
7726
+ },
7727
+ "parameters": [
7728
+ {
7729
+ "name": "eventos",
7730
+ "type": {
7731
+ "text": "unknown"
7732
+ }
7733
+ }
7734
+ ],
7735
+ "description": "Agrupa eventos por data (`AAAA-MM-DD`), ignorando itens inválidos."
7736
+ },
7737
+ {
7738
+ "kind": "function",
7739
+ "name": "nomesDeMeses",
7740
+ "return": {
7741
+ "type": {
7742
+ "text": "string[]"
7743
+ }
7744
+ },
7745
+ "parameters": [
7746
+ {
7747
+ "name": "locale",
7748
+ "type": {
7749
+ "text": "string"
7750
+ }
7751
+ }
7752
+ ],
7753
+ "description": "Nomes localizados dos meses e dias da semana (curtos), via `Intl`, com fallback em pt-BR."
7754
+ },
7755
+ {
7756
+ "kind": "function",
7757
+ "name": "nomesDiasSemana",
7758
+ "return": {
7759
+ "type": {
7760
+ "text": "string[]"
7761
+ }
7762
+ },
7763
+ "parameters": [
7764
+ {
7765
+ "name": "locale",
7766
+ "type": {
7767
+ "text": "string"
7768
+ }
7769
+ },
7770
+ {
7771
+ "name": "inicioSemana",
7772
+ "type": {
7773
+ "text": "number"
7774
+ }
7775
+ },
7776
+ {
7777
+ "name": "estilo",
7778
+ "default": "'short'",
7779
+ "type": {
7780
+ "text": "'short' | 'narrow'"
7781
+ }
7782
+ }
7783
+ ]
7784
+ },
7785
+ {
7786
+ "kind": "function",
7787
+ "name": "capitalizar",
7788
+ "return": {
7789
+ "type": {
7790
+ "text": "string"
7791
+ }
7792
+ },
7793
+ "parameters": [
7794
+ {
7795
+ "name": "texto",
7796
+ "type": {
7797
+ "text": "string"
7798
+ }
7799
+ }
7800
+ ]
7801
+ }
7802
+ ],
7803
+ "exports": [
7804
+ {
7805
+ "kind": "js",
7806
+ "name": "diasNoMes",
7807
+ "declaration": {
7808
+ "name": "diasNoMes",
7809
+ "module": "src/components/ui-calendario/calendario-datas.ts"
7810
+ }
7811
+ },
7812
+ {
7813
+ "kind": "js",
7814
+ "name": "formatarIso",
7815
+ "declaration": {
7816
+ "name": "formatarIso",
7817
+ "module": "src/components/ui-calendario/calendario-datas.ts"
7818
+ }
7819
+ },
7820
+ {
7821
+ "kind": "js",
7822
+ "name": "formatarMes",
7823
+ "declaration": {
7824
+ "name": "formatarMes",
7825
+ "module": "src/components/ui-calendario/calendario-datas.ts"
7826
+ }
7827
+ },
7828
+ {
7829
+ "kind": "js",
7830
+ "name": "lerIso",
7831
+ "declaration": {
7832
+ "name": "lerIso",
7833
+ "module": "src/components/ui-calendario/calendario-datas.ts"
7834
+ }
7835
+ },
7836
+ {
7837
+ "kind": "js",
7838
+ "name": "lerMes",
7839
+ "declaration": {
7840
+ "name": "lerMes",
7841
+ "module": "src/components/ui-calendario/calendario-datas.ts"
7842
+ }
7843
+ },
7844
+ {
7845
+ "kind": "js",
7846
+ "name": "hojeLocal",
7847
+ "declaration": {
7848
+ "name": "hojeLocal",
7849
+ "module": "src/components/ui-calendario/calendario-datas.ts"
7850
+ }
7851
+ },
7852
+ {
7853
+ "kind": "js",
7854
+ "name": "somarDias",
7855
+ "declaration": {
7856
+ "name": "somarDias",
7857
+ "module": "src/components/ui-calendario/calendario-datas.ts"
7858
+ }
7859
+ },
7860
+ {
7861
+ "kind": "js",
7862
+ "name": "somarMeses",
7863
+ "declaration": {
7864
+ "name": "somarMeses",
7865
+ "module": "src/components/ui-calendario/calendario-datas.ts"
7866
+ }
7867
+ },
7868
+ {
7869
+ "kind": "js",
7870
+ "name": "diaDaSemana",
7871
+ "declaration": {
7872
+ "name": "diaDaSemana",
7873
+ "module": "src/components/ui-calendario/calendario-datas.ts"
7874
+ }
7875
+ },
7876
+ {
7877
+ "kind": "js",
7878
+ "name": "montarGradeMes",
7879
+ "declaration": {
7880
+ "name": "montarGradeMes",
7881
+ "module": "src/components/ui-calendario/calendario-datas.ts"
7882
+ }
7883
+ },
7884
+ {
7885
+ "kind": "js",
7886
+ "name": "agruparEventosPorDia",
7887
+ "declaration": {
7888
+ "name": "agruparEventosPorDia",
7889
+ "module": "src/components/ui-calendario/calendario-datas.ts"
7890
+ }
7891
+ },
7892
+ {
7893
+ "kind": "js",
7894
+ "name": "nomesDeMeses",
7895
+ "declaration": {
7896
+ "name": "nomesDeMeses",
7897
+ "module": "src/components/ui-calendario/calendario-datas.ts"
7898
+ }
7899
+ },
7900
+ {
7901
+ "kind": "js",
7902
+ "name": "nomesDiasSemana",
7903
+ "declaration": {
7904
+ "name": "nomesDiasSemana",
7905
+ "module": "src/components/ui-calendario/calendario-datas.ts"
7906
+ }
7907
+ },
7908
+ {
7909
+ "kind": "js",
7910
+ "name": "capitalizar",
7911
+ "declaration": {
7912
+ "name": "capitalizar",
7913
+ "module": "src/components/ui-calendario/calendario-datas.ts"
7914
+ }
7915
+ }
7916
+ ]
7917
+ },
7918
+ {
7919
+ "kind": "javascript-module",
7920
+ "path": "src/components/ui-calendario/calendario-teclado.ts",
7921
+ "declarations": [
7922
+ {
7923
+ "kind": "function",
7924
+ "name": "proximaDataFoco",
7925
+ "return": {
7926
+ "type": {
7927
+ "text": "DataSimples | null"
7928
+ }
7929
+ },
7930
+ "parameters": [
7931
+ {
7932
+ "name": "tecla",
7933
+ "type": {
7934
+ "text": "string"
7935
+ }
7936
+ },
7937
+ {
7938
+ "name": "atual",
7939
+ "type": {
7940
+ "text": "DataSimples"
7941
+ }
7942
+ },
7943
+ {
7944
+ "name": "inicioSemana",
7945
+ "type": {
7946
+ "text": "number"
7947
+ }
7948
+ },
7949
+ {
7950
+ "name": "shift",
7951
+ "default": "false"
7952
+ }
7953
+ ],
7954
+ "description": "Navegação por teclado do grid de dias (padrão WAI-ARIA \"date picker grid\").\nFunção pura: devolve a nova data focada ou `null` quando a tecla não é de navegação."
7955
+ }
7956
+ ],
7957
+ "exports": [
7958
+ {
7959
+ "kind": "js",
7960
+ "name": "proximaDataFoco",
7961
+ "declaration": {
7962
+ "name": "proximaDataFoco",
7963
+ "module": "src/components/ui-calendario/calendario-teclado.ts"
7964
+ }
7965
+ }
7966
+ ]
7967
+ },
7968
+ {
7969
+ "kind": "javascript-module",
7970
+ "path": "src/components/ui-calendario/calendario-template.ts",
7971
+ "declarations": [
7972
+ {
7973
+ "kind": "variable",
7974
+ "name": "ATRIBUTOS_OBSERVADOS_CALENDARIO",
7975
+ "type": {
7976
+ "text": "array"
7977
+ },
7978
+ "default": "[ 'mes', 'valor', 'value', 'titulo', 'locale', 'inicio-semana', 'selecao', 'exibicao', 'variante', 'eventos', 'max-eventos' ]"
7979
+ },
7980
+ {
7981
+ "kind": "function",
7982
+ "name": "criarTemplateCalendario",
7983
+ "return": {
7984
+ "type": {
7985
+ "text": "string"
7986
+ }
7987
+ }
7988
+ },
7989
+ {
7990
+ "kind": "function",
7991
+ "name": "criarCelulaDia",
7992
+ "return": {
7993
+ "type": {
7994
+ "text": "HTMLButtonElement"
7995
+ }
7996
+ },
7997
+ "parameters": [
7998
+ {
7999
+ "name": "doc",
8000
+ "type": {
8001
+ "text": "Document"
8002
+ }
8003
+ },
8004
+ {
8005
+ "name": "o",
8006
+ "type": {
8007
+ "text": "OpcoesCelula"
8008
+ }
8009
+ }
8010
+ ]
8011
+ }
8012
+ ],
8013
+ "exports": [
8014
+ {
8015
+ "kind": "js",
8016
+ "name": "ATRIBUTOS_OBSERVADOS_CALENDARIO",
8017
+ "declaration": {
8018
+ "name": "ATRIBUTOS_OBSERVADOS_CALENDARIO",
8019
+ "module": "src/components/ui-calendario/calendario-template.ts"
8020
+ }
8021
+ },
8022
+ {
8023
+ "kind": "js",
8024
+ "name": "criarTemplateCalendario",
8025
+ "declaration": {
8026
+ "name": "criarTemplateCalendario",
8027
+ "module": "src/components/ui-calendario/calendario-template.ts"
8028
+ }
8029
+ },
8030
+ {
8031
+ "kind": "js",
8032
+ "name": "criarCelulaDia",
8033
+ "declaration": {
8034
+ "name": "criarCelulaDia",
8035
+ "module": "src/components/ui-calendario/calendario-template.ts"
8036
+ }
8037
+ }
8038
+ ]
8039
+ },
8040
+ {
8041
+ "kind": "javascript-module",
8042
+ "path": "src/components/ui-calendario/index.ts",
8043
+ "declarations": [],
8044
+ "exports": [
8045
+ {
8046
+ "kind": "js",
8047
+ "name": "*",
8048
+ "declaration": {
8049
+ "name": "*",
8050
+ "module": "src/components/ui-calendario/ui-calendario"
8051
+ }
8052
+ }
8053
+ ]
8054
+ },
8055
+ {
8056
+ "kind": "javascript-module",
8057
+ "path": "src/components/ui-calendario/tipos.ts",
8058
+ "declarations": [],
8059
+ "exports": []
8060
+ },
8061
+ {
8062
+ "kind": "javascript-module",
8063
+ "path": "src/components/ui-calendario/ui-calendario.ts",
8064
+ "declarations": [
8065
+ {
8066
+ "kind": "class",
8067
+ "description": "Calendário mensal com todos os dias do mês, eventos por dia e navegação por teclado.\n\nAtributos: `mes` (`AAAA-MM`), `valor` (`AAAA-MM-DD` selecionado), `titulo`, `locale` (padrão `pt-BR`),\n`inicio-semana` (0 = domingo, 1 = segunda), `selecao` (`unico` | `nenhum`), `exibicao` (`completo` | `compacto`),\n`variante` (`moldura` | `simples`), `max-eventos` (chips por dia, padrão 3), `eventos` (JSON opcional).\nPropriedade: `eventos: EventoCalendario[]`. Métodos: `mesAnterior()`, `proximoMes()`, `irPara(data)`, `hoje()`.\n\nEventos: `ui-change` ({ data, eventos }), `ui-mes-change` ({ mes }), `ui-evento-click` ({ evento, data }).\nCor da moldura: `--ui-calendario-cor`. Cor de cada evento: `EventoCalendario.cor`.",
8068
+ "name": "UICalendario",
8069
+ "cssParts": [
8070
+ {
8071
+ "name": "base"
8072
+ },
8073
+ {
8074
+ "name": "cabecalho"
8075
+ },
8076
+ {
8077
+ "name": "corpo"
8078
+ },
8079
+ {
8080
+ "name": "dia"
8081
+ },
8082
+ {
8083
+ "name": "dia-fora"
8084
+ },
8085
+ {
8086
+ "name": "evento"
8087
+ },
8088
+ {
8089
+ "name": "grade"
8090
+ },
8091
+ {
8092
+ "name": "hoje-botao"
8093
+ },
8094
+ {
8095
+ "name": "mais"
8096
+ },
8097
+ {
8098
+ "name": "nav"
8099
+ },
8100
+ {
8101
+ "name": "nav-botao"
8102
+ },
8103
+ {
8104
+ "name": "numero"
8105
+ },
8106
+ {
8107
+ "name": "select"
8108
+ },
8109
+ {
8110
+ "name": "seletores"
8111
+ },
8112
+ {
8113
+ "name": "semana"
8114
+ },
8115
+ {
8116
+ "name": "titulo"
8117
+ }
8118
+ ],
8119
+ "members": [
8120
+ {
8121
+ "kind": "field",
8122
+ "name": "raiz",
8123
+ "type": {
8124
+ "text": "HTMLDivElement"
8125
+ },
8126
+ "privacy": "private",
8127
+ "default": "shadow.querySelector('.ui-calendario')!"
8128
+ },
8129
+ {
8130
+ "kind": "field",
8131
+ "name": "tituloEl",
8132
+ "type": {
8133
+ "text": "HTMLSpanElement"
8134
+ },
8135
+ "privacy": "private",
8136
+ "default": "shadow.querySelector('.ui-calendario__titulo')!"
8137
+ },
8138
+ {
8139
+ "kind": "field",
8140
+ "name": "selectMes",
8141
+ "type": {
8142
+ "text": "HTMLSelectElement"
8143
+ },
8144
+ "privacy": "private",
8145
+ "default": "shadow.querySelector('[data-seletor=\"mes\"]')!"
8146
+ },
8147
+ {
8148
+ "kind": "field",
8149
+ "name": "selectAno",
8150
+ "type": {
8151
+ "text": "HTMLSelectElement"
8152
+ },
8153
+ "privacy": "private",
8154
+ "default": "shadow.querySelector('[data-seletor=\"ano\"]')!"
8155
+ },
8156
+ {
8157
+ "kind": "field",
8158
+ "name": "semanaEl",
8159
+ "type": {
8160
+ "text": "HTMLDivElement"
8161
+ },
8162
+ "privacy": "private",
8163
+ "default": "shadow.querySelector('.ui-calendario__semana')!"
8164
+ },
8165
+ {
8166
+ "kind": "field",
8167
+ "name": "gradeEl",
8168
+ "type": {
8169
+ "text": "HTMLDivElement"
8170
+ },
8171
+ "privacy": "private",
8172
+ "default": "shadow.querySelector('.ui-calendario__grade')!"
8173
+ },
8174
+ {
8175
+ "kind": "field",
8176
+ "name": "listeners",
8177
+ "privacy": "private",
8178
+ "default": "new ListenerBag()"
8179
+ },
8180
+ {
8181
+ "kind": "field",
8182
+ "name": "_ano",
8183
+ "type": {
8184
+ "text": "number"
8185
+ },
8186
+ "privacy": "private"
8187
+ },
8188
+ {
8189
+ "kind": "field",
8190
+ "name": "_mes",
8191
+ "type": {
8192
+ "text": "number"
8193
+ },
8194
+ "privacy": "private"
8195
+ },
8196
+ {
8197
+ "kind": "field",
8198
+ "name": "_foco",
8199
+ "type": {
8200
+ "text": "DataSimples"
8201
+ },
8202
+ "privacy": "private",
8203
+ "default": "hoje"
8204
+ },
8205
+ {
8206
+ "kind": "field",
8207
+ "name": "_eventos",
8208
+ "type": {
8209
+ "text": "EventoCalendario[]"
8210
+ },
8211
+ "privacy": "private",
8212
+ "default": "[]"
8213
+ },
8214
+ {
8215
+ "kind": "field",
8216
+ "name": "_porDia",
8217
+ "privacy": "private",
8218
+ "default": "new Map<string, EventoCalendario[]>()"
8219
+ },
8220
+ {
8221
+ "kind": "field",
8222
+ "name": "_eventosAttr",
8223
+ "type": {
8224
+ "text": "boolean"
8225
+ },
8226
+ "privacy": "private",
8227
+ "default": "true"
8228
+ },
8229
+ {
8230
+ "kind": "field",
8231
+ "name": "_conectado",
8232
+ "type": {
8233
+ "text": "boolean"
8234
+ },
8235
+ "privacy": "private",
8236
+ "default": "false"
8237
+ },
8238
+ {
8239
+ "kind": "field",
8240
+ "name": "eventos",
8241
+ "type": {
8242
+ "text": "EventoCalendario[]"
8243
+ }
8244
+ },
8245
+ {
8246
+ "kind": "field",
8247
+ "name": "valor",
8248
+ "type": {
8249
+ "text": "string"
8250
+ }
8251
+ },
8252
+ {
8253
+ "kind": "field",
8254
+ "name": "mes",
8255
+ "type": {
8256
+ "text": "string"
8257
+ },
8258
+ "description": "Mês exibido (`AAAA-MM`)."
8259
+ },
8260
+ {
8261
+ "kind": "method",
8262
+ "name": "mesAnterior",
8263
+ "return": {
8264
+ "type": {
8265
+ "text": "void"
8266
+ }
8267
+ }
8268
+ },
8269
+ {
8270
+ "kind": "method",
8271
+ "name": "proximoMes",
8272
+ "return": {
8273
+ "type": {
8274
+ "text": "void"
8275
+ }
8276
+ }
8277
+ },
8278
+ {
8279
+ "kind": "method",
8280
+ "name": "irPara",
8281
+ "return": {
8282
+ "type": {
8283
+ "text": "void"
8284
+ }
8285
+ },
8286
+ "parameters": [
8287
+ {
8288
+ "name": "data",
8289
+ "type": {
8290
+ "text": "string"
8291
+ }
8292
+ }
8293
+ ],
8294
+ "description": "Vai para o mês da data informada (`AAAA-MM-DD` ou `AAAA-MM`) e foca o dia."
8295
+ },
8296
+ {
8297
+ "kind": "method",
8298
+ "name": "hoje",
8299
+ "return": {
8300
+ "type": {
8301
+ "text": "void"
8302
+ }
8303
+ },
8304
+ "description": "Vai para o mês atual, foca e seleciona o dia de hoje."
8305
+ },
8306
+ {
8307
+ "kind": "field",
8308
+ "name": "inicioSemana",
8309
+ "type": {
8310
+ "text": "number"
8311
+ },
8312
+ "privacy": "private",
8313
+ "readonly": true
8314
+ },
8315
+ {
8316
+ "kind": "field",
8317
+ "name": "locale",
8318
+ "type": {
8319
+ "text": "string"
8320
+ },
8321
+ "privacy": "private",
8322
+ "readonly": true
8323
+ },
8324
+ {
8325
+ "kind": "field",
8326
+ "name": "selecao",
8327
+ "type": {
8328
+ "text": "ModoSelecaoCalendario"
8329
+ },
8330
+ "privacy": "private",
8331
+ "readonly": true
8332
+ },
8333
+ {
8334
+ "kind": "field",
8335
+ "name": "exibicao",
8336
+ "type": {
8337
+ "text": "ExibicaoCalendario"
8338
+ },
8339
+ "privacy": "private",
8340
+ "readonly": true
8341
+ },
8342
+ {
8343
+ "kind": "method",
8344
+ "name": "lerAtributosIniciais",
8345
+ "privacy": "private"
8346
+ },
8347
+ {
8348
+ "kind": "method",
8349
+ "name": "lerEventosDoAtributo",
8350
+ "privacy": "private",
8351
+ "return": {
8352
+ "type": {
8353
+ "text": "EventoCalendario[]"
8354
+ }
8355
+ },
8356
+ "parameters": [
8357
+ {
8358
+ "name": "texto",
8359
+ "type": {
8360
+ "text": "string | null"
8361
+ }
8362
+ }
8363
+ ]
8364
+ },
8365
+ {
8366
+ "kind": "method",
8367
+ "name": "focoDentroDoMes",
8368
+ "privacy": "private",
8369
+ "return": {
8370
+ "type": {
8371
+ "text": "DataSimples"
8372
+ }
8373
+ },
8374
+ "parameters": [
8375
+ {
8376
+ "name": "d",
8377
+ "type": {
8378
+ "text": "DataSimples"
8379
+ }
8380
+ }
8381
+ ],
8382
+ "description": "Mantém o foco dentro do mês exibido (hoje, se for o mês atual; senão dia 1)."
8383
+ },
8384
+ {
8385
+ "kind": "method",
8386
+ "name": "mudarMes",
8387
+ "privacy": "private",
8388
+ "parameters": [
8389
+ {
8390
+ "name": "delta",
8391
+ "type": {
8392
+ "text": "number"
8393
+ }
8394
+ }
8395
+ ]
8396
+ },
8397
+ {
8398
+ "kind": "method",
8399
+ "name": "definirFoco",
8400
+ "privacy": "private",
8401
+ "parameters": [
8402
+ {
8403
+ "name": "d",
8404
+ "type": {
8405
+ "text": "DataSimples"
8406
+ }
8407
+ },
8408
+ {
8409
+ "name": "focarElemento",
8410
+ "type": {
8411
+ "text": "boolean"
8412
+ }
8413
+ }
8414
+ ]
8415
+ },
8416
+ {
8417
+ "kind": "method",
8418
+ "name": "selecionar",
8419
+ "privacy": "private",
8420
+ "parameters": [
8421
+ {
8422
+ "name": "d",
8423
+ "type": {
8424
+ "text": "DataSimples"
8425
+ }
8426
+ }
8427
+ ]
8428
+ },
8429
+ {
8430
+ "kind": "method",
8431
+ "name": "focarCelula",
8432
+ "privacy": "private"
8433
+ },
8434
+ {
8435
+ "kind": "field",
8436
+ "name": "aoClicar",
8437
+ "privacy": "private"
8438
+ },
8439
+ {
8440
+ "kind": "field",
8441
+ "name": "aoTeclar",
8442
+ "privacy": "private"
8443
+ },
8444
+ {
8445
+ "kind": "field",
8446
+ "name": "aoMudarSeletor",
8447
+ "privacy": "private"
8448
+ },
8449
+ {
8450
+ "kind": "method",
8451
+ "name": "renderizar",
8452
+ "privacy": "private"
8453
+ },
8454
+ {
8455
+ "kind": "method",
8456
+ "name": "criarFormatadorDia",
8457
+ "privacy": "private",
8458
+ "return": {
8459
+ "type": {
8460
+ "text": "(d: DataSimples) => string"
8461
+ }
8462
+ },
8463
+ "parameters": [
8464
+ {
8465
+ "name": "locale",
8466
+ "type": {
8467
+ "text": "string"
8468
+ }
8469
+ }
8470
+ ]
8471
+ },
8472
+ {
8473
+ "kind": "field",
8474
+ "name": "innerHTML",
8475
+ "default": "`<style>${estilos}</style>${criarTemplateCalendario()}`"
8476
+ }
8477
+ ],
8478
+ "events": [
8479
+ {
8480
+ "name": "ui-mes-change",
8481
+ "type": {
8482
+ "text": "CustomEvent"
8483
+ }
8484
+ },
8485
+ {
8486
+ "name": "ui-change",
8487
+ "type": {
8488
+ "text": "CustomEvent"
8489
+ }
8490
+ },
8491
+ {
8492
+ "name": "ui-evento-click",
8493
+ "type": {
8494
+ "text": "CustomEvent"
8495
+ }
8496
+ }
8497
+ ],
8498
+ "superclass": {
8499
+ "name": "SafeHTMLElement",
8500
+ "module": "/src/core/ssr-safe"
8501
+ },
8502
+ "customElement": true,
8503
+ "tagName": "ui-calendario",
8504
+ "attributes": [
8505
+ {
8506
+ "name": "mes"
8507
+ },
8508
+ {
8509
+ "name": "valor"
8510
+ },
8511
+ {
8512
+ "name": "value"
8513
+ },
8514
+ {
8515
+ "name": "titulo"
8516
+ },
8517
+ {
8518
+ "name": "locale"
8519
+ },
8520
+ {
8521
+ "name": "inicio-semana"
8522
+ },
8523
+ {
8524
+ "name": "selecao"
8525
+ },
8526
+ {
8527
+ "name": "exibicao"
8528
+ },
8529
+ {
8530
+ "name": "variante"
8531
+ },
8532
+ {
8533
+ "name": "eventos"
8534
+ },
8535
+ {
8536
+ "name": "max-eventos"
8537
+ }
8538
+ ]
8539
+ }
8540
+ ],
8541
+ "exports": [
8542
+ {
8543
+ "kind": "js",
8544
+ "name": "DataSimples",
8545
+ "declaration": {
8546
+ "name": "DataSimples",
8547
+ "module": "./tipos"
8548
+ }
8549
+ },
8550
+ {
8551
+ "kind": "js",
8552
+ "name": "DetalheDiaCalendario",
8553
+ "declaration": {
8554
+ "name": "DetalheDiaCalendario",
8555
+ "module": "./tipos"
8556
+ }
8557
+ },
8558
+ {
8559
+ "kind": "js",
8560
+ "name": "DetalheEventoCalendario",
8561
+ "declaration": {
8562
+ "name": "DetalheEventoCalendario",
8563
+ "module": "./tipos"
8564
+ }
8565
+ },
8566
+ {
8567
+ "kind": "js",
8568
+ "name": "DetalheMesCalendario",
8569
+ "declaration": {
8570
+ "name": "DetalheMesCalendario",
8571
+ "module": "./tipos"
8572
+ }
8573
+ },
8574
+ {
8575
+ "kind": "js",
8576
+ "name": "DiaGrade",
8577
+ "declaration": {
8578
+ "name": "DiaGrade",
8579
+ "module": "./tipos"
8580
+ }
8581
+ },
8582
+ {
8583
+ "kind": "js",
8584
+ "name": "EventoCalendario",
8585
+ "declaration": {
8586
+ "name": "EventoCalendario",
8587
+ "module": "./tipos"
8588
+ }
8589
+ },
8590
+ {
8591
+ "kind": "js",
8592
+ "name": "ExibicaoCalendario",
8593
+ "declaration": {
8594
+ "name": "ExibicaoCalendario",
8595
+ "module": "./tipos"
8596
+ }
8597
+ },
8598
+ {
8599
+ "kind": "js",
8600
+ "name": "ModoSelecaoCalendario",
8601
+ "declaration": {
8602
+ "name": "ModoSelecaoCalendario",
8603
+ "module": "./tipos"
8604
+ }
8605
+ },
8606
+ {
8607
+ "kind": "js",
8608
+ "name": "UICalendario",
8609
+ "declaration": {
8610
+ "name": "UICalendario",
8611
+ "module": "src/components/ui-calendario/ui-calendario.ts"
8612
+ }
8613
+ },
8614
+ {
8615
+ "kind": "custom-element-definition",
8616
+ "name": "ui-calendario",
8617
+ "declaration": {
8618
+ "name": "UICalendario",
8619
+ "module": "src/components/ui-calendario/ui-calendario.ts"
8620
+ }
8621
+ }
8622
+ ]
8623
+ },
7493
8624
  {
7494
8625
  "kind": "javascript-module",
7495
8626
  "path": "src/components/ui-camadas/camadas-adapters.ts",
@@ -35954,6 +37085,36 @@
35954
37085
  "kind": "class",
35955
37086
  "description": "Cartão de conteúdo com mídia, cabeçalho, corpo e rodapé opcionais; pode ser clicável (vira um botão).",
35956
37087
  "name": "UICard",
37088
+ "cssProperties": [
37089
+ {
37090
+ "description": "Tamanho do texto do cabeçalho (padrão `--ui-tamanho-corpo`, seminegrito).",
37091
+ "name": "--ui-card-fonte-cabecalho"
37092
+ },
37093
+ {
37094
+ "description": "Peso do cabeçalho (padrão `--ui-peso-seminegrito`; evite pesos abaixo de 400).",
37095
+ "name": "--ui-card-peso-cabecalho"
37096
+ },
37097
+ {
37098
+ "description": "Tamanho do texto do corpo (padrão `--ui-tamanho-corpo`).",
37099
+ "name": "--ui-card-fonte-corpo"
37100
+ },
37101
+ {
37102
+ "description": "Tamanho do texto do rodapé (padrão `--ui-tamanho-corpo-sm`, cor secundária).",
37103
+ "name": "--ui-card-fonte-rodape"
37104
+ },
37105
+ {
37106
+ "description": "Raio do card (vence o escalonamento e a derivação concêntrica).",
37107
+ "name": "--ui-card-raio"
37108
+ },
37109
+ {
37110
+ "description": "Folga entre a borda e o conteúdo usada no cálculo do raio concêntrico (16px; 12px no `compacto`).",
37111
+ "name": "--ui-card-padding"
37112
+ },
37113
+ {
37114
+ "description": "Somente leitura nas seções: `max(0, raio − folga − borda)`, o raio de um filho que acompanha o canto.",
37115
+ "name": "--ui-card-raio-aninhado"
37116
+ }
37117
+ ],
35957
37118
  "cssParts": [
35958
37119
  {
35959
37120
  "name": "base"
@@ -36103,6 +37264,16 @@
36103
37264
  {
36104
37265
  "name": "formato"
36105
37266
  },
37267
+ {
37268
+ "name": "raio",
37269
+ "type": {
37270
+ "text": "'nenhum'|'sm'|'md'|'lg'|'xl'"
37271
+ },
37272
+ "description": "Degrau do raio dos cantos (alias `radius`); sem o atributo vale `--ui-raio-lg` (ou o do card pai, quando aninhado: raio do pai − folga, ou seja, cantos concêntricos). Valores desconhecidos são ignorados."
37273
+ },
37274
+ {
37275
+ "name": "radius"
37276
+ },
36106
37277
  {
36107
37278
  "name": "clicavel",
36108
37279
  "type": {
@@ -52876,6 +54047,148 @@
52876
54047
  }
52877
54048
  ]
52878
54049
  },
54050
+ {
54051
+ "kind": "javascript-module",
54052
+ "path": "src/components/ui-texto/index.ts",
54053
+ "declarations": [],
54054
+ "exports": [
54055
+ {
54056
+ "kind": "js",
54057
+ "name": "*",
54058
+ "declaration": {
54059
+ "name": "*",
54060
+ "module": "src/components/ui-texto/ui-texto"
54061
+ }
54062
+ }
54063
+ ]
54064
+ },
54065
+ {
54066
+ "kind": "javascript-module",
54067
+ "path": "src/components/ui-texto/ui-texto.ts",
54068
+ "declarations": [
54069
+ {
54070
+ "kind": "class",
54071
+ "description": "Tipografia semântica do kit. Texto longo: `linhas` limita o bloco a N linhas com reticências\r\ne o conteúdo quebra palavras muito compridas em vez de estourar o contêiner.",
54072
+ "name": "UITexto",
54073
+ "cssParts": [
54074
+ {
54075
+ "name": "base"
54076
+ }
54077
+ ],
54078
+ "members": [
54079
+ {
54080
+ "kind": "field",
54081
+ "name": "container",
54082
+ "type": {
54083
+ "text": "HTMLElement | null"
54084
+ },
54085
+ "privacy": "private",
54086
+ "default": "null"
54087
+ },
54088
+ {
54089
+ "kind": "field",
54090
+ "name": "shadow",
54091
+ "type": {
54092
+ "text": "ShadowRoot | null"
54093
+ },
54094
+ "privacy": "private",
54095
+ "default": "null"
54096
+ },
54097
+ {
54098
+ "kind": "method",
54099
+ "name": "resolveTag",
54100
+ "privacy": "private",
54101
+ "return": {
54102
+ "type": {
54103
+ "text": "string"
54104
+ }
54105
+ }
54106
+ },
54107
+ {
54108
+ "kind": "method",
54109
+ "name": "render",
54110
+ "privacy": "private"
54111
+ }
54112
+ ],
54113
+ "attributes": [
54114
+ {
54115
+ "name": "variante",
54116
+ "type": {
54117
+ "text": "string"
54118
+ },
54119
+ "description": "`h1`–`h6`, `corpo` (padrão), `corpo-sm`, `caption`, `codigo`."
54120
+ },
54121
+ {
54122
+ "name": "tag",
54123
+ "type": {
54124
+ "text": "string"
54125
+ },
54126
+ "description": "Tag semântica do elemento interno (somente tags de texto permitidas)."
54127
+ },
54128
+ {
54129
+ "name": "cor",
54130
+ "type": {
54131
+ "text": "string"
54132
+ },
54133
+ "description": "`primaria`, `secundaria`, `destaque`, `erro`, `sucesso`, `alerta`."
54134
+ },
54135
+ {
54136
+ "name": "peso",
54137
+ "type": {
54138
+ "text": "string"
54139
+ },
54140
+ "description": "`normal`, `medio`, `seminegrito`, `negrito`."
54141
+ },
54142
+ {
54143
+ "name": "alinhamento",
54144
+ "type": {
54145
+ "text": "string"
54146
+ },
54147
+ "description": "`esquerda`, `centro`, `direita`, `justificado`."
54148
+ },
54149
+ {
54150
+ "name": "truncar",
54151
+ "type": {
54152
+ "text": "boolean"
54153
+ },
54154
+ "description": "Uma linha com reticências."
54155
+ },
54156
+ {
54157
+ "name": "linhas",
54158
+ "type": {
54159
+ "text": "number"
54160
+ },
54161
+ "description": "Limita a N linhas (1–50) com reticências; `truncar` tem prioridade."
54162
+ }
54163
+ ],
54164
+ "superclass": {
54165
+ "name": "SafeHTMLElement",
54166
+ "module": "/src/core/ssr-safe"
54167
+ },
54168
+ "tagName": "ui-texto",
54169
+ "customElement": true,
54170
+ "events": []
54171
+ }
54172
+ ],
54173
+ "exports": [
54174
+ {
54175
+ "kind": "js",
54176
+ "name": "UITexto",
54177
+ "declaration": {
54178
+ "name": "UITexto",
54179
+ "module": "src/components/ui-texto/ui-texto.ts"
54180
+ }
54181
+ },
54182
+ {
54183
+ "kind": "custom-element-definition",
54184
+ "name": "ui-texto",
54185
+ "declaration": {
54186
+ "name": "UITexto",
54187
+ "module": "src/components/ui-texto/ui-texto.ts"
54188
+ }
54189
+ }
54190
+ ]
54191
+ },
52879
54192
  {
52880
54193
  "kind": "javascript-module",
52881
54194
  "path": "src/components/ui-tabela-propriedades/avaliador-catalogo.ts",
@@ -59172,148 +60485,6 @@
59172
60485
  }
59173
60486
  ]
59174
60487
  },
59175
- {
59176
- "kind": "javascript-module",
59177
- "path": "src/components/ui-texto/index.ts",
59178
- "declarations": [],
59179
- "exports": [
59180
- {
59181
- "kind": "js",
59182
- "name": "*",
59183
- "declaration": {
59184
- "name": "*",
59185
- "module": "src/components/ui-texto/ui-texto"
59186
- }
59187
- }
59188
- ]
59189
- },
59190
- {
59191
- "kind": "javascript-module",
59192
- "path": "src/components/ui-texto/ui-texto.ts",
59193
- "declarations": [
59194
- {
59195
- "kind": "class",
59196
- "description": "Tipografia semântica do kit. Texto longo: `linhas` limita o bloco a N linhas com reticências\r\ne o conteúdo quebra palavras muito compridas em vez de estourar o contêiner.",
59197
- "name": "UITexto",
59198
- "cssParts": [
59199
- {
59200
- "name": "base"
59201
- }
59202
- ],
59203
- "members": [
59204
- {
59205
- "kind": "field",
59206
- "name": "container",
59207
- "type": {
59208
- "text": "HTMLElement | null"
59209
- },
59210
- "privacy": "private",
59211
- "default": "null"
59212
- },
59213
- {
59214
- "kind": "field",
59215
- "name": "shadow",
59216
- "type": {
59217
- "text": "ShadowRoot | null"
59218
- },
59219
- "privacy": "private",
59220
- "default": "null"
59221
- },
59222
- {
59223
- "kind": "method",
59224
- "name": "resolveTag",
59225
- "privacy": "private",
59226
- "return": {
59227
- "type": {
59228
- "text": "string"
59229
- }
59230
- }
59231
- },
59232
- {
59233
- "kind": "method",
59234
- "name": "render",
59235
- "privacy": "private"
59236
- }
59237
- ],
59238
- "attributes": [
59239
- {
59240
- "name": "variante",
59241
- "type": {
59242
- "text": "string"
59243
- },
59244
- "description": "`h1`–`h6`, `corpo` (padrão), `corpo-sm`, `caption`, `codigo`."
59245
- },
59246
- {
59247
- "name": "tag",
59248
- "type": {
59249
- "text": "string"
59250
- },
59251
- "description": "Tag semântica do elemento interno (somente tags de texto permitidas)."
59252
- },
59253
- {
59254
- "name": "cor",
59255
- "type": {
59256
- "text": "string"
59257
- },
59258
- "description": "`primaria`, `secundaria`, `destaque`, `erro`, `sucesso`, `alerta`."
59259
- },
59260
- {
59261
- "name": "peso",
59262
- "type": {
59263
- "text": "string"
59264
- },
59265
- "description": "`normal`, `medio`, `seminegrito`, `negrito`."
59266
- },
59267
- {
59268
- "name": "alinhamento",
59269
- "type": {
59270
- "text": "string"
59271
- },
59272
- "description": "`esquerda`, `centro`, `direita`, `justificado`."
59273
- },
59274
- {
59275
- "name": "truncar",
59276
- "type": {
59277
- "text": "boolean"
59278
- },
59279
- "description": "Uma linha com reticências."
59280
- },
59281
- {
59282
- "name": "linhas",
59283
- "type": {
59284
- "text": "number"
59285
- },
59286
- "description": "Limita a N linhas (1–50) com reticências; `truncar` tem prioridade."
59287
- }
59288
- ],
59289
- "superclass": {
59290
- "name": "SafeHTMLElement",
59291
- "module": "/src/core/ssr-safe"
59292
- },
59293
- "tagName": "ui-texto",
59294
- "customElement": true,
59295
- "events": []
59296
- }
59297
- ],
59298
- "exports": [
59299
- {
59300
- "kind": "js",
59301
- "name": "UITexto",
59302
- "declaration": {
59303
- "name": "UITexto",
59304
- "module": "src/components/ui-texto/ui-texto.ts"
59305
- }
59306
- },
59307
- {
59308
- "kind": "custom-element-definition",
59309
- "name": "ui-texto",
59310
- "declaration": {
59311
- "name": "UITexto",
59312
- "module": "src/components/ui-texto/ui-texto.ts"
59313
- }
59314
- }
59315
- ]
59316
- },
59317
60488
  {
59318
60489
  "kind": "javascript-module",
59319
60490
  "path": "src/components/ui-texto-editavel/index.ts",