gd-bs 6.6.68 → 6.6.69

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/dist/gd-bs.d.ts CHANGED
@@ -856,7 +856,7 @@ declare module 'gd-bs/components/checkboxGroup/types' {
856
856
  el: HTMLElement;
857
857
 
858
858
  /** Gets the values. */
859
- getValue: () => { selectedItems: ICheckboxGroupItem | Array<ICheckboxGroupItem>, allItems: Array<ICheckboxGroupItem> };
859
+ getValue: () => ICheckboxGroupValue;
860
860
 
861
861
  /** Hides the checkbox group. */
862
862
  hide: () => void;
@@ -898,13 +898,18 @@ declare module 'gd-bs/components/checkboxGroup/types' {
898
898
  items?: Array<ICheckboxGroupItem>;
899
899
  multi?: boolean;
900
900
  onRender?: (el?: HTMLElement, item?: ICheckboxGroupItem) => void;
901
- onChange?: (selectedItems: ICheckboxGroupItem | Array<ICheckboxGroupItem>, allItems?: Array<ICheckboxGroupItem>, ev?: Event) => void;
901
+ onChange?: (selectedItems: ICheckboxGroupItem | ICheckboxGroupItem[], allItems?: ICheckboxGroupItem[], ev?: Event) => void;
902
902
  required?: boolean;
903
903
  title?: string;
904
904
  type?: number;
905
905
  value?: any;
906
906
  }
907
907
 
908
+ export interface ICheckboxGroupValue {
909
+ selectedItems: ICheckboxGroupItem | Array<ICheckboxGroupItem>;
910
+ allItems: Array<ICheckboxGroupItem>;
911
+ }
912
+
908
913
  /**
909
914
  * Checkbox Group Types
910
915
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gd-bs",
3
- "version": "6.6.68",
3
+ "version": "6.6.69",
4
4
  "description": "Bootstrap JavaScript, TypeScript and Web Components library.",
5
5
  "main": "build/index.js",
6
6
  "typings": "src/index.d.ts",
@@ -56,7 +56,7 @@ export interface ICheckboxGroup {
56
56
  el: HTMLElement;
57
57
 
58
58
  /** Gets the values. */
59
- getValue: () => { selectedItems: ICheckboxGroupItem | Array<ICheckboxGroupItem>, allItems: Array<ICheckboxGroupItem> };
59
+ getValue: () => ICheckboxGroupValue;
60
60
 
61
61
  /** Hides the checkbox group. */
62
62
  hide: () => void;
@@ -98,13 +98,18 @@ export interface ICheckboxGroupProps extends IBaseProps<ICheckboxGroup> {
98
98
  items?: Array<ICheckboxGroupItem>;
99
99
  multi?: boolean;
100
100
  onRender?: (el?: HTMLElement, item?: ICheckboxGroupItem) => void;
101
- onChange?: (selectedItems: ICheckboxGroupItem | Array<ICheckboxGroupItem>, allItems?: Array<ICheckboxGroupItem>, ev?: Event) => void;
101
+ onChange?: (selectedItems: ICheckboxGroupItem | ICheckboxGroupItem[], allItems?: ICheckboxGroupItem[], ev?: Event) => void;
102
102
  required?: boolean;
103
103
  title?: string;
104
104
  type?: number;
105
105
  value?: any;
106
106
  }
107
107
 
108
+ export interface ICheckboxGroupValue {
109
+ selectedItems: ICheckboxGroupItem | Array<ICheckboxGroupItem>;
110
+ allItems: Array<ICheckboxGroupItem>;
111
+ }
112
+
108
113
  /**
109
114
  * Checkbox Group Types
110
115
  */