@comercti/vue-components-hmg 0.25.6 → 0.27.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.
package/index.d.ts CHANGED
@@ -23,6 +23,7 @@ order: "asc" | "desc";
23
23
  }>, {
24
24
  search: boolean;
25
25
  selectable: boolean;
26
+ singleSelect: boolean;
26
27
  striped: boolean;
27
28
  orderByServer: boolean;
28
29
  expandLine: boolean;
@@ -1997,6 +1998,10 @@ declare type DataTableProps = {
1997
1998
  headers: Header[];
1998
1999
  /** Ativa a opção de selecinar os conteúdos da tabela */
1999
2000
  selectable?: boolean;
2001
+ /** Ativa a opção de selecinar apenas um conteúdo da tabela */
2002
+ singleSelect?: boolean;
2003
+ /** Array de objetos que estão inicialmente selecionados na tabela */
2004
+ initialSelectedRows?: Record<string, any>[];
2000
2005
  /** Ativa o input de pesquisa da tabela */
2001
2006
  search?: boolean;
2002
2007
  /** Array de objetos que serão exibidos na tabela */
@@ -2139,7 +2144,7 @@ declare interface IFields {
2139
2144
  }
2140
2145
 
2141
2146
  declare interface IItems {
2142
- id: number | string;
2147
+ id: number;
2143
2148
  title: string;
2144
2149
  description: string;
2145
2150
  status: keyof IStatus;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@comercti/vue-components-hmg",
3
- "version": "0.25.6",
3
+ "version": "0.27.1",
4
4
  "types": "index.d.ts",
5
5
  "type": "module",
6
6
  "license": "private",