@comercti/react-components-hmg 0.3.11 → 0.6.2

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
@@ -3,6 +3,7 @@ import { ComponentProvideOptions } from 'vue';
3
3
  import { default as default_2 } from 'react';
4
4
  import { DefineComponent } from 'vue';
5
5
  import { IData } from './toast/interfaces';
6
+ import { ItemsSelection as ItemsSelection_2 } from './interfaces';
6
7
  import { ItensMenu } from '../../../../../../../../../src/components/menu/interfaces';
7
8
  import { IVariants as IVariants_2 } from './interfaces';
8
9
  import { PublicProps } from 'vue';
@@ -245,6 +246,8 @@ onRedirect?: (item: ItensMenu_2) => any;
245
246
  }>, {
246
247
  type: "menu" | "selection";
247
248
  variant: "outlined" | "text";
249
+ itemsMenu: ItensMenu_2[];
250
+ itemsSelection: ItemsSelection_2[];
248
251
  }, {}, {}, {}, string, ComponentProvideOptions, true, {
249
252
  dropdownRef: HTMLDivElement;
250
253
  }, HTMLDivElement>;
@@ -280,14 +283,14 @@ focus: () => void;
280
283
  /** Abre/Fecha dropdown do select */
281
284
  click: () => void;
282
285
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
283
- "update:modelValue": (value: string | CustomEvent<any> | string[]) => any;
284
- change: (value: string | CustomEvent<any> | string[]) => any;
286
+ "update:modelValue": (value: string | number | boolean | (string | number | boolean)[] | CustomEvent<any>) => any;
287
+ change: (value: string | number | boolean | (string | number | boolean)[] | CustomEvent<any>) => any;
285
288
  inputSearch: (value: string) => any;
286
289
  openDropdown: () => any;
287
290
  closeDropdown: () => any;
288
291
  }, string, PublicProps, Readonly<CeSelectFieldProps> & Readonly<{
289
- "onUpdate:modelValue"?: (value: string | CustomEvent<any> | string[]) => any;
290
- onChange?: (value: string | CustomEvent<any> | string[]) => any;
292
+ "onUpdate:modelValue"?: (value: string | number | boolean | (string | number | boolean)[] | CustomEvent<any>) => any;
293
+ onChange?: (value: string | number | boolean | (string | number | boolean)[] | CustomEvent<any>) => any;
291
294
  onInputSearch?: (value: string) => any;
292
295
  onOpenDropdown?: () => any;
293
296
  onCloseDropdown?: () => any;
@@ -1185,8 +1188,10 @@ declare function __VLS_template_5(): {
1185
1188
  declare function __VLS_template_6(): {
1186
1189
  attrs: Partial<{}>;
1187
1190
  slots: Readonly<{
1191
+ /** Slot para o conteúdo do button */
1188
1192
  default: () => VNode[];
1189
1193
  }> & {
1194
+ /** Slot para o conteúdo do button */
1190
1195
  default: () => VNode[];
1191
1196
  };
1192
1197
  refs: {
@@ -1561,7 +1566,7 @@ export declare const CeSelect: default_2.ComponentType<typeof _default_18>;
1561
1566
 
1562
1567
  declare interface CeSelectFieldProps {
1563
1568
  /** Valor do select para two-way binding (v-model) */
1564
- modelValue?: string | string[] | null;
1569
+ modelValue?: string | number | boolean | Array<string | number | boolean> | null;
1565
1570
  /** ID única do select */
1566
1571
  id?: string;
1567
1572
  /** Estrutura para adicionar o select */
@@ -1740,11 +1745,11 @@ size: number | string;
1740
1745
  declare const _default_25: __VLS_WithTemplateSlots_12<typeof __VLS_component_12, __VLS_TemplateResult_12["slots"]>;
1741
1746
 
1742
1747
  declare const _default_26: DefineComponent<__VLS_Props_19, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
1743
- toggleMenu: (clicado: boolean) => any;
1744
1748
  redirect: (item: SubMenu | ItensMenu_2) => any;
1749
+ toggleMenu: (clicado: boolean) => any;
1745
1750
  }, string, PublicProps, Readonly<__VLS_Props_19> & Readonly<{
1746
- onToggleMenu?: (clicado: boolean) => any;
1747
1751
  onRedirect?: (item: SubMenu | ItensMenu_2) => any;
1752
+ onToggleMenu?: (clicado: boolean) => any;
1748
1753
  }>, {
1749
1754
  isHome: boolean;
1750
1755
  isSearch: boolean;
@@ -2009,7 +2014,7 @@ export declare const removeCeToast: (id: number) => void;
2009
2014
 
2010
2015
  declare interface SelectOption {
2011
2016
  label?: string;
2012
- value?: string | null;
2017
+ value?: string | number | boolean | null;
2013
2018
  disabled?: boolean;
2014
2019
  header?: string;
2015
2020
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@comercti/react-components-hmg",
3
- "version": "0.3.11",
3
+ "version": "0.6.2",
4
4
  "types": "index.d.ts",
5
5
  "type": "module",
6
6
  "license": "private",