@wgalleti/primevue-components 0.24.0 → 0.26.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.
@@ -19,30 +19,32 @@ type __VLS_Props = {
19
19
  footerLabel?: string;
20
20
  rowKey?: string;
21
21
  };
22
- declare var __VLS_1: {}, __VLS_15: string, __VLS_16: any, __VLS_19: {
22
+ declare var __VLS_1: {}, __VLS_13: {}, __VLS_18: string, __VLS_19: any, __VLS_22: {
23
23
  row: EditableRow;
24
24
  index: number;
25
- }, __VLS_22: {}, __VLS_36: string, __VLS_37: any, __VLS_40: {
25
+ }, __VLS_25: {}, __VLS_39: string, __VLS_40: any, __VLS_43: {
26
26
  formData: Record<string, unknown>;
27
27
  isEditing: boolean;
28
- }, __VLS_43: {
28
+ }, __VLS_46: {
29
29
  saving: boolean;
30
30
  disabled: boolean;
31
31
  };
32
32
  type __VLS_Slots = {} & {
33
- [K in NonNullable<typeof __VLS_15>]?: (props: typeof __VLS_16) => any;
33
+ [K in NonNullable<typeof __VLS_18>]?: (props: typeof __VLS_19) => any;
34
34
  } & {
35
- [K in NonNullable<typeof __VLS_36>]?: (props: typeof __VLS_37) => any;
35
+ [K in NonNullable<typeof __VLS_39>]?: (props: typeof __VLS_40) => any;
36
36
  } & {
37
37
  'toolbar-actions'?: (props: typeof __VLS_1) => any;
38
38
  } & {
39
- expansion?: (props: typeof __VLS_19) => any;
39
+ 'toolbar-extra'?: (props: typeof __VLS_13) => any;
40
40
  } & {
41
- empty?: (props: typeof __VLS_22) => any;
41
+ expansion?: (props: typeof __VLS_22) => any;
42
42
  } & {
43
- 'after-fields'?: (props: typeof __VLS_40) => any;
43
+ empty?: (props: typeof __VLS_25) => any;
44
44
  } & {
45
- 'form-footer'?: (props: typeof __VLS_43) => any;
45
+ 'after-fields'?: (props: typeof __VLS_43) => any;
46
+ } & {
47
+ 'form-footer'?: (props: typeof __VLS_46) => any;
46
48
  };
47
49
  declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
48
50
  disabled: boolean;
@@ -18,7 +18,8 @@ type __VLS_Props = {
18
18
  columns?: EditableColumnDef[];
19
19
  /** Liga a coluna de expansão e o slot `#expansion`. */
20
20
  expandable?: boolean;
21
- /** Rótulo do botão de adicionar. Omitido = sem botão (só o slot `#toolbar`). */
21
+ /** Rótulo do botão de adicionar. Omitido = sem botão (só os slots `#toolbar`
22
+ * e `#toolbar-extra`). */
22
23
  addLabel?: string;
23
24
  /** Liga a coluna da lixeira. **Manda sozinha** na remoção: `disabled` trava as
24
25
  * células, não a linha (tabela de leitura de onde ainda se remove é caso real —
@@ -32,28 +33,30 @@ type __VLS_Props = {
32
33
  /** Campo usado como `key` das linhas. Sem ele, a chave é o índice. */
33
34
  rowKey?: string;
34
35
  };
35
- declare var __VLS_1: {}, __VLS_3: {}, __VLS_6: `cell-${string}`, __VLS_7: {
36
+ declare var __VLS_1: {}, __VLS_3: {}, __VLS_5: {}, __VLS_8: `cell-${string}`, __VLS_9: {
36
37
  row: EditableRow;
37
38
  index: number;
38
39
  value: unknown;
39
40
  column: EditableColumnDef;
40
- }, __VLS_30: {
41
+ }, __VLS_32: {
41
42
  row: EditableRow;
42
43
  index: number;
43
- }, __VLS_33: `footer-${string}`, __VLS_34: {
44
+ }, __VLS_35: `footer-${string}`, __VLS_36: {
44
45
  rows: EditableRow[];
45
46
  column: EditableColumnDef;
46
47
  };
47
48
  type __VLS_Slots = {} & {
48
- [K in NonNullable<typeof __VLS_6>]?: (props: typeof __VLS_7) => any;
49
+ [K in NonNullable<typeof __VLS_8>]?: (props: typeof __VLS_9) => any;
49
50
  } & {
50
- [K in NonNullable<typeof __VLS_33>]?: (props: typeof __VLS_34) => any;
51
+ [K in NonNullable<typeof __VLS_35>]?: (props: typeof __VLS_36) => any;
51
52
  } & {
52
53
  toolbar?: (props: typeof __VLS_1) => any;
53
54
  } & {
54
- empty?: (props: typeof __VLS_3) => any;
55
+ 'toolbar-extra'?: (props: typeof __VLS_3) => any;
55
56
  } & {
56
- expansion?: (props: typeof __VLS_30) => any;
57
+ empty?: (props: typeof __VLS_5) => any;
58
+ } & {
59
+ expansion?: (props: typeof __VLS_32) => any;
57
60
  };
58
61
  declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
59
62
  "update:modelValue": (rows: EditableRow[]) => any;
@@ -38,7 +38,9 @@ type __VLS_Props = {
38
38
  /** Zoom máximo do tile layer (o World_Imagery vai até 19). */
39
39
  maxZoom?: number;
40
40
  searchPlaceholder?: string;
41
- /** Rótulo do rodapé, à esquerda da área somada. */
41
+ /** Rótulo do rodapé, à esquerda da área somada. `''` esconde o rodapé inteiro
42
+ * — mapa de escolha única, onde somar área não diz nada, não precisa da barra.
43
+ * Um `#footer` próprio continua valendo, com ou sem rótulo. */
42
44
  areaLabel?: string;
43
45
  /** Unidade da área, no rodapé e no tooltip do polígono. */
44
46
  areaSuffix?: string;
@@ -57,6 +59,11 @@ type __VLS_Props = {
57
59
  collapseLabel?: string;
58
60
  /** `layout="sobreposto"`: rótulo acessível do botão que reabre o painel. */
59
61
  expandLabel?: string;
62
+ /** Painel recolhido (`v-model:collapsed`). Omitido, o estado é interno — o
63
+ * padrão. Passe quando a tela precisar decidir por contexto (ex.: uma camada
64
+ * em que a lista atrapalha mais do que ajuda); o botão continua funcionando
65
+ * e devolve a troca pelo `update:collapsed`. */
66
+ collapsed?: boolean;
60
67
  /** Selo sobre o mapa (canto superior direito). `''` esconde. */
61
68
  badgeLabel?: string;
62
69
  emptyMessage?: string;
@@ -215,11 +222,13 @@ declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {
215
222
  "feature-click": (feature: MapSelectFeature) => any;
216
223
  "feature-enter": (feature: MapSelectFeature) => any;
217
224
  "feature-leave": () => any;
225
+ "update:collapsed": (collapsed: boolean) => any;
218
226
  }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
219
227
  "onUpdate:modelValue"?: ((ids: MapSelectId[]) => any) | undefined;
220
228
  "onFeature-click"?: ((feature: MapSelectFeature) => any) | undefined;
221
229
  "onFeature-enter"?: ((feature: MapSelectFeature) => any) | undefined;
222
230
  "onFeature-leave"?: (() => any) | undefined;
231
+ "onUpdate:collapsed"?: ((collapsed: boolean) => any) | undefined;
223
232
  }>, {
224
233
  modelValue: MapSelectId[];
225
234
  disabled: boolean;
@@ -241,6 +250,7 @@ declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {
241
250
  clearLabel: string;
242
251
  collapseLabel: string;
243
252
  expandLabel: string;
253
+ collapsed: boolean;
244
254
  badgeLabel: string;
245
255
  mapErrorMessage: string;
246
256
  tooltips: MapSelectTooltips;