enwawa-ui 4.0.2 → 4.1.1
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/lib/index.d.ts +16 -4
- package/lib/index.d.ts.map +1 -1
- package/lib/index.es.js +34 -9
- package/lib/index.es.js.map +1 -1
- package/lib/index.js +34 -9
- package/lib/index.js.map +1 -1
- package/lib/unidades.3f7a55ed.svg +11 -0
- package/lib/unidades.81420fe1.svg +11 -0
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -738,7 +738,7 @@ export interface MlAutocompleteSearchTextProps {
|
|
|
738
738
|
/**
|
|
739
739
|
* Callback function that is fired when input changed in order to fetch places
|
|
740
740
|
*/
|
|
741
|
-
onChange?: (value: any, option
|
|
741
|
+
onChange?: (value: any, option?: DefaultOptionType | Array<DefaultOptionType>) => any;
|
|
742
742
|
/**
|
|
743
743
|
* Called when an option is selected, the params are option's value (or key) and option instance
|
|
744
744
|
*/
|
|
@@ -1540,6 +1540,10 @@ export interface AtTextInputProps {
|
|
|
1540
1540
|
* The input content value
|
|
1541
1541
|
*/
|
|
1542
1542
|
value?: string;
|
|
1543
|
+
/**
|
|
1544
|
+
* The input content real value
|
|
1545
|
+
*/
|
|
1546
|
+
realValue?: string;
|
|
1543
1547
|
/**
|
|
1544
1548
|
* Callback when user input
|
|
1545
1549
|
*/
|
|
@@ -3563,6 +3567,10 @@ export interface OrSelectInputProps {
|
|
|
3563
3567
|
fieldName: string;
|
|
3564
3568
|
inputProps?: AtTextInputProps | AtNumberInputProps;
|
|
3565
3569
|
selectProps?: AtSelectProps;
|
|
3570
|
+
value?: {
|
|
3571
|
+
select: string;
|
|
3572
|
+
input: string;
|
|
3573
|
+
};
|
|
3566
3574
|
}
|
|
3567
3575
|
export const OrSelectInput: React.FC<OrSelectInputProps>;
|
|
3568
3576
|
export interface AtIconProps {
|
|
@@ -3793,7 +3801,7 @@ export interface OrFormInLineItem {
|
|
|
3793
3801
|
addonAfter?: ReactNode;
|
|
3794
3802
|
onSearch?: (value: string) => any;
|
|
3795
3803
|
showSearch?: boolean;
|
|
3796
|
-
onChange?: (value: any, option
|
|
3804
|
+
onChange?: (value: any, option?: DefaultOptionType | Array<DefaultOptionType>) => any;
|
|
3797
3805
|
onSelect?: AtSelectProps['onSelect'];
|
|
3798
3806
|
filterOption?: AtSelectProps['filterOption'];
|
|
3799
3807
|
disabledDate?: AtDatePickerPros['disabledDate'];
|
|
@@ -3984,6 +3992,10 @@ export interface OrFormInLineItem {
|
|
|
3984
3992
|
* Group title
|
|
3985
3993
|
*/
|
|
3986
3994
|
groupTitle?: ReactNode | string;
|
|
3995
|
+
/**
|
|
3996
|
+
* input props
|
|
3997
|
+
*/
|
|
3998
|
+
inputProps?: AtTextInputProps | AtNumberInputProps;
|
|
3987
3999
|
}
|
|
3988
4000
|
export interface OrFormItemsInlineProps {
|
|
3989
4001
|
inputs?: Array<OrFormInLineItem | Array<OrFormInLineItem | OrFormInLineItem[]>>;
|
|
@@ -4204,7 +4216,7 @@ export type instanceModal = {
|
|
|
4204
4216
|
destroy: () => void;
|
|
4205
4217
|
update: (configUpdate: ConfigUpdate) => void;
|
|
4206
4218
|
} | null;
|
|
4207
|
-
|
|
4219
|
+
export type OrModalProps = {
|
|
4208
4220
|
/**
|
|
4209
4221
|
* Specify a function that will be called when modal is closed completely
|
|
4210
4222
|
*/
|
|
@@ -4325,7 +4337,7 @@ interface OrModalProps {
|
|
|
4325
4337
|
* Content of the confirm dialog
|
|
4326
4338
|
*/
|
|
4327
4339
|
content?: string | React.ReactNode;
|
|
4328
|
-
}
|
|
4340
|
+
};
|
|
4329
4341
|
export const OrModal: React.FC<OrModalProps>;
|
|
4330
4342
|
export interface OrModuleCalendarHeaderProps {
|
|
4331
4343
|
/**
|