@comercti/react-components-hmg 0.3.9 → 0.3.11

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
@@ -12,11 +12,17 @@ import { VNode } from 'vue';
12
12
  declare const __VLS_component: DefineComponent<DataTableProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
13
13
  "update:modelValue": (value: Record<string, any>[]) => any;
14
14
  updateSelected: (value: Record<string, any>[]) => any;
15
- orderBy: (value: string) => any;
15
+ orderBy: (value: {
16
+ key: string;
17
+ order: "asc" | "desc";
18
+ }) => any;
16
19
  }, string, PublicProps, Readonly<DataTableProps> & Readonly<{
17
20
  "onUpdate:modelValue"?: (value: Record<string, any>[]) => any;
18
21
  onUpdateSelected?: (value: Record<string, any>[]) => any;
19
- onOrderBy?: (value: string) => any;
22
+ onOrderBy?: (value: {
23
+ key: string;
24
+ order: "asc" | "desc";
25
+ }) => any;
20
26
  }>, {
21
27
  search: boolean;
22
28
  selectable: boolean;
@@ -239,7 +245,9 @@ onRedirect?: (item: ItensMenu_2) => any;
239
245
  }>, {
240
246
  type: "menu" | "selection";
241
247
  variant: "outlined" | "text";
242
- }, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
248
+ }, {}, {}, {}, string, ComponentProvideOptions, true, {
249
+ dropdownRef: HTMLDivElement;
250
+ }, HTMLDivElement>;
243
251
 
244
252
  declare const __VLS_component_7: DefineComponent<__VLS_Props_11, {
245
253
  /** focus input */
@@ -387,6 +395,8 @@ declare type __VLS_Props_13 = {
387
395
  id: string;
388
396
  /** Informa que está invalido */
389
397
  invalid?: boolean;
398
+ /** Label do toggle */
399
+ label?: string;
390
400
  };
391
401
 
392
402
  declare type __VLS_Props_14 = {
@@ -1179,7 +1189,9 @@ declare function __VLS_template_6(): {
1179
1189
  }> & {
1180
1190
  default: () => VNode[];
1181
1191
  };
1182
- refs: {};
1192
+ refs: {
1193
+ dropdownRef: HTMLDivElement;
1194
+ };
1183
1195
  rootEl: HTMLDivElement;
1184
1196
  };
1185
1197
 
@@ -1711,7 +1723,7 @@ onChange?: (value: boolean | CustomEvent<any>) => any;
1711
1723
  invalid: boolean;
1712
1724
  disabled: boolean;
1713
1725
  contoured: boolean;
1714
- }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
1726
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
1715
1727
 
1716
1728
  declare const _default_21: __VLS_WithTemplateSlots_9<typeof __VLS_component_9, __VLS_TemplateResult_9["slots"]>;
1717
1729
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@comercti/react-components-hmg",
3
- "version": "0.3.9",
3
+ "version": "0.3.11",
4
4
  "types": "index.d.ts",
5
5
  "type": "module",
6
6
  "license": "private",