@comercti/vue-components-hmg 0.45.2 → 0.45.4

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
@@ -369,6 +369,7 @@ tertiaryVariantTitle: string;
369
369
  showUploadedFile: boolean;
370
370
  showRemoveButton: boolean;
371
371
  showRemoveButtonPerFile: Record<string, boolean>;
372
+ useSlotMessage: boolean;
372
373
  }, {}, {}, {}, string, ComponentProvideOptions, false, {
373
374
  inputFile: HTMLInputElement;
374
375
  }, HTMLDivElement>;
@@ -680,6 +681,7 @@ declare type __VLS_Props_28 = {
680
681
  invalid?: number[];
681
682
  openCollapse?: number[] | null;
682
683
  onlyOneOpen?: boolean;
684
+ errorMessageAttention?: (index: number) => boolean;
683
685
  };
684
686
 
685
687
  declare type __VLS_Props_29 = {
@@ -1462,6 +1464,10 @@ declare function __VLS_template_7(): {
1462
1464
  actions?: (scope: {
1463
1465
  file: FileItem;
1464
1466
  }) => VNode[];
1467
+ /** Slot para a mensagem de cada arquivo */
1468
+ message?: (scope: {
1469
+ file: FileItem;
1470
+ }) => VNode[];
1465
1471
  }> & {
1466
1472
  /** Slot para o conteúdo do file upload */
1467
1473
  content: () => VNode[];
@@ -1469,6 +1475,10 @@ declare function __VLS_template_7(): {
1469
1475
  actions?: (scope: {
1470
1476
  file: FileItem;
1471
1477
  }) => VNode[];
1478
+ /** Slot para a mensagem de cada arquivo */
1479
+ message?: (scope: {
1480
+ file: FileItem;
1481
+ }) => VNode[];
1472
1482
  };
1473
1483
  refs: {
1474
1484
  inputFile: HTMLInputElement;
@@ -2274,6 +2284,8 @@ declare interface IDropzone {
2274
2284
  showRemoveButton?: boolean;
2275
2285
  /** Exibi o botão de remover arquivo para cada arquivo */
2276
2286
  showRemoveButtonPerFile?: Record<string, boolean>;
2287
+ /** Se deve usar o slot de mensagem */
2288
+ useSlotMessage?: boolean;
2277
2289
  }
2278
2290
 
2279
2291
  declare interface IFields {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@comercti/vue-components-hmg",
3
- "version": "0.45.2",
3
+ "version": "0.45.4",
4
4
  "types": "index.d.ts",
5
5
  "type": "module",
6
6
  "license": "private",