@wgalleti/primevue-components 0.24.0 → 0.27.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/dist/components/crud/WCrudSubview.vue.d.ts +11 -9
- package/dist/components/crud/WEditableTable.vue.d.ts +13 -10
- package/dist/components/ui/WMapSelect.vue.d.ts +11 -1
- package/dist/{components-Cq58gFKG.js → components-IFeCNSdg.js} +1865 -1847
- package/dist/components-IFeCNSdg.js.map +1 -0
- package/dist/components-olkx_5ZP.cjs +25 -0
- package/dist/components-olkx_5ZP.cjs.map +1 -0
- package/dist/components.cjs +1 -1
- package/dist/components.js +1 -1
- package/dist/composables/index.d.ts +1 -0
- package/dist/composables/useBreakpoint.d.ts +45 -0
- package/dist/{composables-D5lRsZJQ.js → composables-DrTx5qQQ.js} +2 -2
- package/dist/{composables-D5lRsZJQ.js.map → composables-DrTx5qQQ.js.map} +1 -1
- package/dist/{composables-DuOYSFox.cjs → composables-S1-B8Ncs.cjs} +2 -2
- package/dist/{composables-DuOYSFox.cjs.map → composables-S1-B8Ncs.cjs.map} +1 -1
- package/dist/composables.cjs +1 -1
- package/dist/composables.js +3 -3
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +38 -38
- package/dist/index.js.map +1 -1
- package/dist/primevue-components.css +1 -1
- package/dist/useFormKeyboardNav-BsKFhycF.cjs +3 -0
- package/dist/useFormKeyboardNav-BsKFhycF.cjs.map +1 -0
- package/dist/{useFormKeyboardNav-DGbCVk4F.js → useFormKeyboardNav-Cv8b6Vh3.js} +130 -103
- package/dist/useFormKeyboardNav-Cv8b6Vh3.js.map +1 -0
- package/package.json +1 -1
- package/dist/components-Cq58gFKG.js.map +0 -1
- package/dist/components-DfzS276S.cjs +0 -25
- package/dist/components-DfzS276S.cjs.map +0 -1
- package/dist/useFormKeyboardNav-DGbCVk4F.js.map +0 -1
- package/dist/useFormKeyboardNav-pw3m7oX4.cjs +0 -3
- package/dist/useFormKeyboardNav-pw3m7oX4.cjs.map +0 -1
|
@@ -19,30 +19,32 @@ type __VLS_Props = {
|
|
|
19
19
|
footerLabel?: string;
|
|
20
20
|
rowKey?: string;
|
|
21
21
|
};
|
|
22
|
-
declare var __VLS_1: {},
|
|
22
|
+
declare var __VLS_1: {}, __VLS_13: {}, __VLS_18: string, __VLS_19: any, __VLS_22: {
|
|
23
23
|
row: EditableRow;
|
|
24
24
|
index: number;
|
|
25
|
-
},
|
|
25
|
+
}, __VLS_25: {}, __VLS_39: string, __VLS_40: any, __VLS_43: {
|
|
26
26
|
formData: Record<string, unknown>;
|
|
27
27
|
isEditing: boolean;
|
|
28
|
-
},
|
|
28
|
+
}, __VLS_46: {
|
|
29
29
|
saving: boolean;
|
|
30
30
|
disabled: boolean;
|
|
31
31
|
};
|
|
32
32
|
type __VLS_Slots = {} & {
|
|
33
|
-
[K in NonNullable<typeof
|
|
33
|
+
[K in NonNullable<typeof __VLS_18>]?: (props: typeof __VLS_19) => any;
|
|
34
34
|
} & {
|
|
35
|
-
[K in NonNullable<typeof
|
|
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
|
-
|
|
39
|
+
'toolbar-extra'?: (props: typeof __VLS_13) => any;
|
|
40
40
|
} & {
|
|
41
|
-
|
|
41
|
+
expansion?: (props: typeof __VLS_22) => any;
|
|
42
42
|
} & {
|
|
43
|
-
|
|
43
|
+
empty?: (props: typeof __VLS_25) => any;
|
|
44
44
|
} & {
|
|
45
|
-
'
|
|
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ó
|
|
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,37 +33,39 @@ 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: {},
|
|
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
|
-
},
|
|
41
|
+
}, __VLS_32: {
|
|
41
42
|
row: EditableRow;
|
|
42
43
|
index: number;
|
|
43
|
-
},
|
|
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
|
|
49
|
+
[K in NonNullable<typeof __VLS_8>]?: (props: typeof __VLS_9) => any;
|
|
49
50
|
} & {
|
|
50
|
-
[K in NonNullable<typeof
|
|
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
|
-
|
|
55
|
+
'toolbar-extra'?: (props: typeof __VLS_3) => any;
|
|
55
56
|
} & {
|
|
56
|
-
|
|
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, {
|
|
62
|
+
add: () => any;
|
|
59
63
|
"update:modelValue": (rows: EditableRow[]) => any;
|
|
60
64
|
remove: (row: EditableRow, index: number) => any;
|
|
61
|
-
add: () => any;
|
|
62
65
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
66
|
+
onAdd?: (() => any) | undefined;
|
|
63
67
|
"onUpdate:modelValue"?: ((rows: EditableRow[]) => any) | undefined;
|
|
64
68
|
onRemove?: ((row: EditableRow, index: number) => any) | undefined;
|
|
65
|
-
onAdd?: (() => any) | undefined;
|
|
66
69
|
}>, {
|
|
67
70
|
modelValue: EditableRow[];
|
|
68
71
|
disabled: boolean;
|
|
@@ -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;
|