@comercti/vue-components 0.33.0 → 0.34.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/index.d.ts CHANGED
@@ -43,7 +43,6 @@ loading: boolean;
43
43
  loadingType: "spinner" | "semi-circle" | "dots";
44
44
  truncated: boolean;
45
45
  copyable: boolean;
46
- editable: boolean;
47
46
  editColumnStyle: {
48
47
  fields: string[];
49
48
  style?: Record<string, string>;
@@ -287,12 +286,12 @@ focus: () => void;
287
286
  valorSemMascara: Ref<string | number, string | number>;
288
287
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
289
288
  "update:modelValue": (value: string | number | CustomEvent<any>) => any;
290
- input: (value: string | number | CustomEvent<any>) => any;
289
+ input: (value: Event) => any;
291
290
  blur: (value: string | number | CustomEvent<any>) => any;
292
291
  change: (value: string | number | CustomEvent<any>) => any;
293
292
  }, string, PublicProps, Readonly<__VLS_Props_9> & Readonly<{
294
293
  "onUpdate:modelValue"?: (value: string | number | CustomEvent<any>) => any;
295
- onInput?: (value: string | number | CustomEvent<any>) => any;
294
+ onInput?: (value: Event) => any;
296
295
  onBlur?: (value: string | number | CustomEvent<any>) => any;
297
296
  onChange?: (value: string | number | CustomEvent<any>) => any;
298
297
  }>, {
@@ -355,6 +354,7 @@ sendRemovedFile: boolean;
355
354
  tertiaryVariantTitle: string;
356
355
  showUploadedFile: boolean;
357
356
  showRemoveButton: boolean;
357
+ showRemoveButtonPerFile: Record<string, boolean>;
358
358
  }, {}, {}, {}, string, ComponentProvideOptions, false, {
359
359
  inputFile: HTMLInputElement;
360
360
  }, HTMLDivElement>;
@@ -2025,6 +2025,10 @@ declare type DataTableProps = {
2025
2025
  *
2026
2026
  * width?: string
2027
2027
  *
2028
+ * editableField?: {
2029
+ * type: InputType | 'boolean'
2030
+ * mask?: string | string[]
2031
+ * }
2028
2032
  */
2029
2033
  headers: Header[];
2030
2034
  /** Ativa a opção de selecinar os conteúdos da tabela */
@@ -2055,8 +2059,6 @@ declare type DataTableProps = {
2055
2059
  paginationStyle?: string;
2056
2060
  /** Habilita a funcionalidade de copiar o conteúdo da célula ao clicar */
2057
2061
  copyable?: boolean;
2058
- /** Habilita a funcionalidade de editar o conteúdo da célula ao clicar */
2059
- editable?: boolean;
2060
2062
  /** Configurações para estilizar colunas editáveis */
2061
2063
  editColumnStyle?: {
2062
2064
  fields: string[];
@@ -2185,6 +2187,8 @@ declare interface IDropzone {
2185
2187
  removableFileName?: string;
2186
2188
  /** Exibi o botão de remover arquivo */
2187
2189
  showRemoveButton?: boolean;
2190
+ /** Exibi o botão de remover arquivo para cada arquivo */
2191
+ showRemoveButtonPerFile?: Record<string, boolean>;
2188
2192
  }
2189
2193
 
2190
2194
  declare interface IFields {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@comercti/vue-components",
3
- "version": "0.33.0",
3
+ "version": "0.34.0",
4
4
  "types": "index.d.ts",
5
5
  "type": "module",
6
6
  "license": "private",