@wgalleti/primevue-components 1.5.0 → 1.7.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.
@@ -29,7 +29,9 @@ export { default as WActionBar } from './ui/WActionBar.vue';
29
29
  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
+ export { default as WAvatar } from './ui/WAvatar.vue';
32
33
  export { default as WCheckList } from './ui/WCheckList.vue';
34
+ export { default as WInlineCell } from './ui/WInlineCell.vue';
33
35
  export { default as WAttentionList } from './ui/WAttentionList.vue';
34
36
  export { default as WMapSelect } from './ui/WMapSelect.vue';
35
37
  export { default as WMarkdownView } from './ui/WMarkdownView.vue';
@@ -0,0 +1,18 @@
1
+ /**
2
+ * Avatar de pessoa: foto quando há `src`, senão as iniciais sobre uma cor estável do nome.
3
+ * Sem nome nem foto vira o ícone de pessoa vazio (ex.: tarefa sem responsável).
4
+ */
5
+ type __VLS_Props = {
6
+ /** Nome da pessoa; vira as iniciais, a cor e o texto alternativo. */
7
+ name?: string | null;
8
+ /** Foto; quando existe, vence as iniciais. */
9
+ src?: string | null;
10
+ size?: 'sm' | 'md';
11
+ };
12
+ declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
13
+ size: "sm" | "md";
14
+ src: string | null;
15
+ name: string | null;
16
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
17
+ declare const _default: typeof __VLS_export;
18
+ export default _default;
@@ -0,0 +1,45 @@
1
+ /**
2
+ * Célula editável no lugar: o valor aparece como botão e, ao clicar, abre um popover com o
3
+ * editor (`editor`, com `close` no escopo). Sem `editable` vira texto puro, sem foco nem cursor.
4
+ *
5
+ * O componente não grava nada: o editor decide, chama `close()` e o app faz a chamada à API.
6
+ * Ao abrir, o foco vai para o primeiro controle do editor; ao fechar, volta para o botão.
7
+ */
8
+ type __VLS_Props = {
9
+ /** Nome do que a célula edita; é o `aria-label` do botão (ex.: "Prioridade de #3"). */
10
+ label: string;
11
+ /** Valor atual em texto (ex.: "Alta"); entra no nome acessível do botão: "Prioridade de #3: Alta". */
12
+ valueText?: string;
13
+ editable?: boolean;
14
+ };
15
+ declare function close(): void;
16
+ declare var __VLS_1: {}, __VLS_3: {}, __VLS_16: {
17
+ close: typeof close;
18
+ };
19
+ type __VLS_Slots = {} & {
20
+ default?: (props: typeof __VLS_1) => any;
21
+ } & {
22
+ default?: (props: typeof __VLS_3) => any;
23
+ } & {
24
+ editor?: (props: typeof __VLS_16) => any;
25
+ };
26
+ declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {
27
+ close: typeof close;
28
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
29
+ open: () => any;
30
+ close: () => any;
31
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
32
+ onOpen?: (() => any) | undefined;
33
+ onClose?: (() => any) | undefined;
34
+ }>, {
35
+ editable: boolean;
36
+ valueText: string;
37
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
38
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
39
+ declare const _default: typeof __VLS_export;
40
+ export default _default;
41
+ type __VLS_WithSlots<T, S> = T & {
42
+ new (): {
43
+ $slots: S;
44
+ };
45
+ };
@@ -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;