gd-bs 6.6.86 → 6.6.88
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/build/components/form/control.js +14 -0
- package/build/components/inputGroup/index.js +68 -4
- package/dist/gd-bs-icons.js +1 -1
- package/dist/gd-bs-icons.min.js +1 -1
- package/dist/gd-bs.d.ts +12 -1
- package/dist/gd-bs.js +1 -1
- package/dist/gd-bs.min.js +1 -1
- package/package.json +1 -1
- package/src/components/form/control.ts +14 -0
- package/src/components/form/controlTypes.d.ts +3 -1
- package/src/components/inputGroup/index.ts +63 -1
- package/src/components/inputGroup/types.d.ts +9 -0
package/dist/gd-bs.d.ts
CHANGED
|
@@ -1143,7 +1143,7 @@ declare module 'gd-bs/components/form/controlTypes' {
|
|
|
1143
1143
|
|
|
1144
1144
|
import { IBaseProps } from "gd-bs/components/types";
|
|
1145
1145
|
import { ICheckboxGroup, ICheckboxGroupItem } from "gd-bs/components/checkboxGroup/types";
|
|
1146
|
-
import { IDropdown, IDropdownItem } from "gd-bs/components/dropdown/types";
|
|
1146
|
+
import { IDropdown, IDropdownItem, IDropdownProps } from "gd-bs/components/dropdown/types";
|
|
1147
1147
|
import { IInputGroup } from "gd-bs/components/inputGroup/types";
|
|
1148
1148
|
import { IListBox } from "gd-bs/components/listBox/types";
|
|
1149
1149
|
import { IPopoverProps } from "gd-bs/components/popover/types";
|
|
@@ -1349,6 +1349,7 @@ declare module 'gd-bs/components/form/controlTypes' {
|
|
|
1349
1349
|
* Form Control Properties - TextField
|
|
1350
1350
|
*/
|
|
1351
1351
|
export interface IFormControlPropsTextField extends IFormControlProps {
|
|
1352
|
+
appendedDropdown?: IDropdownProps;
|
|
1352
1353
|
appendedLabel?: string;
|
|
1353
1354
|
el?: HTMLInputElement;
|
|
1354
1355
|
onChange?: (value: string, ev?: Event) => void;
|
|
@@ -1356,6 +1357,7 @@ declare module 'gd-bs/components/form/controlTypes' {
|
|
|
1356
1357
|
onGetValue?: (control: IFormControlPropsTextField) => any;
|
|
1357
1358
|
onValidate?: (control: IFormControlPropsTextField, results: IFormControlValidationResult<string>) => boolean | IFormControlValidationResult<string>;
|
|
1358
1359
|
placeholder?: string;
|
|
1360
|
+
prependedDropdown?: IDropdownProps;
|
|
1359
1361
|
prependedLabel?: string;
|
|
1360
1362
|
rows?: number;
|
|
1361
1363
|
}
|
|
@@ -1568,6 +1570,7 @@ declare module 'gd-bs/components/inputGroup/types' {
|
|
|
1568
1570
|
|
|
1569
1571
|
import { IBaseProps } from "gd-bs/components/types";
|
|
1570
1572
|
import { IButtonProps } from "gd-bs/components/button/types";
|
|
1573
|
+
import { IDropdown, IDropdownProps } from "gd-bs/components/dropdown/types";
|
|
1571
1574
|
|
|
1572
1575
|
/** Input Group File Value */
|
|
1573
1576
|
export interface IInputGroupFileValue {
|
|
@@ -1579,6 +1582,9 @@ declare module 'gd-bs/components/inputGroup/types' {
|
|
|
1579
1582
|
* Input Group
|
|
1580
1583
|
*/
|
|
1581
1584
|
export interface IInputGroup {
|
|
1585
|
+
/** Reference to the appended dropdown. */
|
|
1586
|
+
appendedDropdown: IDropdown;
|
|
1587
|
+
|
|
1582
1588
|
/** The input group element. */
|
|
1583
1589
|
el: HTMLElement;
|
|
1584
1590
|
|
|
@@ -1594,6 +1600,9 @@ declare module 'gd-bs/components/inputGroup/types' {
|
|
|
1594
1600
|
/** Hides the input group. */
|
|
1595
1601
|
hide: () => void;
|
|
1596
1602
|
|
|
1603
|
+
/** Reference to the prepended dropdown. */
|
|
1604
|
+
prependedDropdown: IDropdown;
|
|
1605
|
+
|
|
1597
1606
|
/** Method to set the value. */
|
|
1598
1607
|
setValue: (value: string) => void;
|
|
1599
1608
|
|
|
@@ -1606,6 +1615,7 @@ declare module 'gd-bs/components/inputGroup/types' {
|
|
|
1606
1615
|
*/
|
|
1607
1616
|
export interface IInputGroupProps extends IBaseProps<IInputGroup> {
|
|
1608
1617
|
appendedButtons?: Array<IButtonProps>;
|
|
1618
|
+
appendedDropdown?: IDropdownProps;
|
|
1609
1619
|
appendedLabel?: string;
|
|
1610
1620
|
formFl?: boolean;
|
|
1611
1621
|
id?: string;
|
|
@@ -1620,6 +1630,7 @@ declare module 'gd-bs/components/inputGroup/types' {
|
|
|
1620
1630
|
onChange?: (value?: string, ev?: Event) => void;
|
|
1621
1631
|
placeholder?: string;
|
|
1622
1632
|
prependedButtons?: Array<IButtonProps>;
|
|
1633
|
+
prependedDropdown?: IDropdownProps;
|
|
1623
1634
|
prependedLabel?: string;
|
|
1624
1635
|
required?: boolean;
|
|
1625
1636
|
rows?: number;
|