@wgalleti/primevue-components 1.4.0 → 1.6.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.
Files changed (56) hide show
  1. package/dist/components/form/WDateRange.vue.d.ts +2 -0
  2. package/dist/components/index.d.ts +1 -0
  3. package/dist/components/ui/WAttentionList.vue.d.ts +34 -0
  4. package/dist/components/ui/WEmptyState.vue.d.ts +21 -3
  5. package/dist/components/ui/WKanbanBoard.vue.d.ts +8 -0
  6. package/dist/components/ui/WKpiCard.vue.d.ts +2 -0
  7. package/dist/components/ui/WTabPane.d.ts +4 -0
  8. package/dist/{components-DsMEndfN.js → components-BcZQ6MJV.js} +1397 -1294
  9. package/dist/components-BcZQ6MJV.js.map +1 -0
  10. package/dist/{components-BRNk60nY.cjs → components-bj4hg7HR.cjs} +7 -7
  11. package/dist/components-bj4hg7HR.cjs.map +1 -0
  12. package/dist/components.cjs +1 -1
  13. package/dist/components.js +2 -2
  14. package/dist/composables/index.d.ts +3 -0
  15. package/dist/composables/useAppConfirm.d.ts +1 -0
  16. package/dist/composables/usePendingForms.d.ts +15 -0
  17. package/dist/composables/usePublishedVersion.d.ts +69 -0
  18. package/dist/composables-BZTlY1QU.cjs +2 -0
  19. package/dist/composables-BZTlY1QU.cjs.map +1 -0
  20. package/dist/composables-Bu1oxAgP.js +763 -0
  21. package/dist/composables-Bu1oxAgP.js.map +1 -0
  22. package/dist/composables.cjs +1 -1
  23. package/dist/composables.js +3 -3
  24. package/dist/index.cjs +1 -1
  25. package/dist/index.cjs.map +1 -1
  26. package/dist/index.d.ts +5 -4
  27. package/dist/index.js +42 -41
  28. package/dist/index.js.map +1 -1
  29. package/dist/primevue-components.css +1 -1
  30. package/dist/routeTabs-BnVpnSeJ.cjs.map +1 -1
  31. package/dist/routeTabs-D6m8PuP6.js.map +1 -1
  32. package/dist/types/attentionList.d.ts +22 -0
  33. package/dist/types/index.d.ts +1 -0
  34. package/dist/types/kpi.d.ts +9 -0
  35. package/dist/types/manager.d.ts +2 -0
  36. package/dist/types/plugin.d.ts +6 -0
  37. package/dist/{useFormKeyboardNav-TqhfyJIg.js → useFormKeyboardNav-DNaAWyrr.js} +29 -5
  38. package/dist/useFormKeyboardNav-DNaAWyrr.js.map +1 -0
  39. package/dist/{useFormKeyboardNav-BTGDH0gB.cjs → useFormKeyboardNav-DkUCe_b7.cjs} +3 -3
  40. package/dist/useFormKeyboardNav-DkUCe_b7.cjs.map +1 -0
  41. package/dist/vite/buildIdentity.d.ts +39 -0
  42. package/dist/vite/index.d.ts +2 -0
  43. package/dist/vite.cjs +2 -0
  44. package/dist/vite.cjs.map +1 -0
  45. package/dist/vite.d.ts +2 -0
  46. package/dist/vite.js +26 -0
  47. package/dist/vite.js.map +1 -0
  48. package/package.json +8 -3
  49. package/dist/components-BRNk60nY.cjs.map +0 -1
  50. package/dist/components-DsMEndfN.js.map +0 -1
  51. package/dist/composables-B9ywPF1T.js +0 -650
  52. package/dist/composables-B9ywPF1T.js.map +0 -1
  53. package/dist/composables-BpUFAr7n.cjs +0 -2
  54. package/dist/composables-BpUFAr7n.cjs.map +0 -1
  55. package/dist/useFormKeyboardNav-BTGDH0gB.cjs.map +0 -1
  56. package/dist/useFormKeyboardNav-TqhfyJIg.js.map +0 -1
@@ -9,6 +9,8 @@ type __VLS_Props = {
9
9
  maxDate?: Date;
10
10
  showButtonBar?: boolean;
11
11
  disabled?: boolean;
12
+ /** `id` do input — para o `<label for>` do formulário. */
13
+ inputId?: string;
12
14
  };
13
15
  declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
14
16
  "update:modelValue": (value: Date[] | null) => any;
@@ -30,6 +30,7 @@ export { default as WProgressFlow } from './ui/WProgressFlow.vue';
30
30
  export { default as WStepFlow } from './ui/WStepFlow.vue';
31
31
  export { default as WStepSection } from './ui/WStepSection.vue';
32
32
  export { default as WCheckList } from './ui/WCheckList.vue';
33
+ export { default as WAttentionList } from './ui/WAttentionList.vue';
33
34
  export { default as WMapSelect } from './ui/WMapSelect.vue';
34
35
  export { default as WMarkdownView } from './ui/WMarkdownView.vue';
35
36
  export { default as WMarkdownEditor } from './form/WMarkdownEditor.vue';
@@ -0,0 +1,34 @@
1
+ import { AttentionItem, AttentionItemClickEvent } from '../../types/attentionList';
2
+ /**
3
+ * Pontos de atenção de uma tela operacional ("Sem anamnese · 100", "Lotadas · 2"): o que pede
4
+ * ação, com a contagem e o atalho para o filtro ou a tela. A ordem é de quem chama — ponha o
5
+ * que pede ação primeiro no topo.
6
+ */
7
+ type __VLS_Props = {
8
+ title?: string;
9
+ subtitle?: string;
10
+ items?: AttentionItem[];
11
+ emptyMessage?: string;
12
+ };
13
+ declare var __VLS_1: {}, __VLS_9: {};
14
+ type __VLS_Slots = {} & {
15
+ actions?: (props: typeof __VLS_1) => any;
16
+ } & {
17
+ empty?: (props: typeof __VLS_9) => any;
18
+ };
19
+ declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
20
+ "item-click": (event: AttentionItemClickEvent) => any;
21
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
22
+ "onItem-click"?: ((event: AttentionItemClickEvent) => any) | undefined;
23
+ }>, {
24
+ emptyMessage: string;
25
+ items: AttentionItem[];
26
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
27
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
28
+ declare const _default: typeof __VLS_export;
29
+ export default _default;
30
+ type __VLS_WithSlots<T, S> = T & {
31
+ new (): {
32
+ $slots: S;
33
+ };
34
+ };
@@ -1,14 +1,32 @@
1
+ /**
2
+ * Estado vazio: ícone (ou ilustração do produto pelo slot `illustration`), título, descrição e
3
+ * ação opcional. `compact` cabe dentro de card ou painel lateral.
4
+ */
1
5
  type __VLS_Props = {
2
- icon: string;
6
+ icon?: string;
3
7
  title: string;
4
8
  description?: string;
5
9
  actionLabel?: string;
6
10
  actionIcon?: string;
11
+ compact?: boolean;
12
+ };
13
+ type __VLS_Slots = {
14
+ /** Substitui o ícone: a arte do produto (SVG, imagem). */
15
+ illustration?: () => unknown;
7
16
  };
8
- declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
17
+ declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
9
18
  action: () => any;
10
19
  }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
11
20
  onAction?: (() => any) | undefined;
12
- }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
21
+ }>, {
22
+ compact: boolean;
23
+ icon: string;
24
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
25
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
13
26
  declare const _default: typeof __VLS_export;
14
27
  export default _default;
28
+ type __VLS_WithSlots<T, S> = T & {
29
+ new (): {
30
+ $slots: S;
31
+ };
32
+ };
@@ -39,6 +39,14 @@ type __VLS_Slots = {
39
39
  'empty-column'?(props: {
40
40
  column: KanbanColumn;
41
41
  }): unknown;
42
+ /**
43
+ * Rodapé da coluna (ex.: total, "+ adicionar"). Fica depois da lista, fora da área
44
+ * de drop; aparece também com a coluna vazia ou com `loading`.
45
+ */
46
+ 'column-footer'?(props: {
47
+ column: KanbanColumn;
48
+ items: Item[];
49
+ }): unknown;
42
50
  };
43
51
  declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
44
52
  "item-click": (item: Item) => any;
@@ -23,6 +23,8 @@ type __VLS_Props = {
23
23
  spark?: number[];
24
24
  /** `compact`: menos respiro, ícone menor ao lado do rótulo, valor menor. */
25
25
  size?: 'default' | 'compact';
26
+ /** Card usado como filtro e aplicado agora: destaca e anuncia `aria-pressed`. */
27
+ active?: boolean;
26
28
  };
27
29
  declare var __VLS_28: {}, __VLS_30: {}, __VLS_32: {}, __VLS_34: {}, __VLS_36: {};
28
30
  type __VLS_Slots = {} & {
@@ -12,6 +12,10 @@ import { RouteTab, RouteTabsApi } from '../../types/routeTabs';
12
12
  *
13
13
  * Os registros (guards/hooks) são desfeitos via `onScopeDispose` no escopo de
14
14
  * QUEM registrou — assim um `reload()` (remount) não acumula guard morto.
15
+ *
16
+ * Renderiza um `RouterView` preso ao snapshot da aba (prop `route`), na mesma
17
+ * profundidade em que o viewport está: com rotas aninhadas, o layout do módulo
18
+ * aparece e o `RouterView` dele mostra a tela filha — também congelada.
15
19
  */
16
20
  declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
17
21
  tab: {