@mparticle/aquarium 1.22.0 → 1.23.0
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/aquarium.js +534 -532
- package/dist/aquarium.umd.cjs +1 -1
- package/dist/index.d.ts +11 -11
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -461,16 +461,6 @@ declare interface ICascaderOption {
|
|
|
461
461
|
|
|
462
462
|
export declare type ICascaderProps<DataNodeType extends BaseOptionType = any> = CascaderProps<DataNodeType>;
|
|
463
463
|
|
|
464
|
-
declare interface ICascaderProps_2 {
|
|
465
|
-
options: ICascaderOption[];
|
|
466
|
-
icon?: keyof Pick<typeof Icons, 'empty' | 'event' | 'userAttribute' | 'eventAttribute'>;
|
|
467
|
-
errorMessage?: string;
|
|
468
|
-
placeholder?: string;
|
|
469
|
-
onChange?: (values: Array<number | string>, selectedOptions: any) => Promise<void>;
|
|
470
|
-
loadData?: (value: string) => void;
|
|
471
|
-
value?: Array<number | string>;
|
|
472
|
-
}
|
|
473
|
-
|
|
474
464
|
export declare interface ICheckboxProps extends CheckboxProps {
|
|
475
465
|
}
|
|
476
466
|
|
|
@@ -662,6 +652,16 @@ export declare interface IProgressProps extends ProgressProps {
|
|
|
662
652
|
export declare interface IQRCodeProps extends QRCodeProps {
|
|
663
653
|
}
|
|
664
654
|
|
|
655
|
+
export declare interface IQueryItemCascaderProps {
|
|
656
|
+
options: ICascaderOption[];
|
|
657
|
+
icon?: keyof Pick<typeof Icons, 'empty' | 'event' | 'userAttribute' | 'eventAttribute'>;
|
|
658
|
+
errorMessage?: string;
|
|
659
|
+
placeholder?: string;
|
|
660
|
+
onChange?: (values: Array<number | string>, selectedOptions: any) => Promise<void>;
|
|
661
|
+
loadData?: (value: string) => void;
|
|
662
|
+
value?: Array<number | string>;
|
|
663
|
+
}
|
|
664
|
+
|
|
665
665
|
export declare type IQueryItemQualifierOption = DefaultOptionType;
|
|
666
666
|
|
|
667
667
|
declare interface IRadioButtonProps extends RadioButtonProps {
|
|
@@ -869,7 +869,7 @@ export declare const QueryItem: {
|
|
|
869
869
|
(): JSX_2.Element;
|
|
870
870
|
TextInput: (props: ITextInputProps) => JSX_2.Element;
|
|
871
871
|
NumberInput: (props: INumberInputProps) => JSX_2.Element;
|
|
872
|
-
Cascader: (props:
|
|
872
|
+
Cascader: (props: IQueryItemCascaderProps) => JSX_2.Element;
|
|
873
873
|
};
|
|
874
874
|
Text: ({ disabled, text }: ITextProps) => JSX_2.Element;
|
|
875
875
|
};
|