@mparticle/aquarium 1.22.0-chore-loading-prop-queryitem-action.1 → 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 +532 -531
- package/dist/aquarium.umd.cjs +1 -1
- package/dist/index.d.ts +42 -4
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -79,6 +79,7 @@ import { GlobalConfigProps } from 'antd/es/notification/interface';
|
|
|
79
79
|
import { Grid } from 'antd';
|
|
80
80
|
import { GroupConsumerProps } from 'rc-image/lib/PreviewGroup';
|
|
81
81
|
import { GroupProps } from 'antd/es/avatar';
|
|
82
|
+
import { IActionProps } from '../../../../../../../../../src/components/data-entry/QueryItem/Action';
|
|
82
83
|
import { IAvatarProps as IAvatarProps_2 } from '../../../../../../../../../src/components';
|
|
83
84
|
import { IBaseGlobalNavigationItem } from './navigation/GlobalNavigation/GlobalNavigationItems';
|
|
84
85
|
import { ColProps as IColProps } from 'antd';
|
|
@@ -105,7 +106,9 @@ import { Input as Input_2 } from 'antd';
|
|
|
105
106
|
import { InputNumberProps } from 'antd';
|
|
106
107
|
import { InputProps } from 'antd';
|
|
107
108
|
import { InputRef } from 'antd';
|
|
109
|
+
import { IQueryItemQualifierProps } from '../../../../../../../../../src/components/data-entry/QueryItem/Qualifier';
|
|
108
110
|
import { RowProps as IRowProps } from 'antd';
|
|
111
|
+
import { ITextProps } from '../../../../../../../../../src/components/data-entry/QueryItem/Text';
|
|
109
112
|
import { IWorkspaceSelectorDisplayItem } from './navigation/GlobalNavigation/WorkspaceSelector/WorkspaceSelectorItems';
|
|
110
113
|
import { IWorkspaceSelectorItem } from './navigation/GlobalNavigation/WorkspaceSelector/WorkspaceSelectorItems';
|
|
111
114
|
import { JSX as JSX_2 } from 'react/jsx-runtime';
|
|
@@ -149,7 +152,6 @@ import { PopconfirmProps } from 'antd';
|
|
|
149
152
|
import { PopoverProps } from 'antd';
|
|
150
153
|
import { ProgressProps } from 'antd';
|
|
151
154
|
import { QRCodeProps } from 'antd';
|
|
152
|
-
import { QueryItem } from './data-entry/QueryItem/QueryItem';
|
|
153
155
|
import { RadioButtonProps } from 'antd/es/radio/radioButton';
|
|
154
156
|
import { RadioGroupProps } from 'antd';
|
|
155
157
|
import { RadioProps } from 'antd';
|
|
@@ -450,6 +452,13 @@ export declare interface ICardProps extends CardProps {
|
|
|
450
452
|
export declare interface ICarouselProps extends CarouselProps {
|
|
451
453
|
}
|
|
452
454
|
|
|
455
|
+
declare interface ICascaderOption {
|
|
456
|
+
value: string;
|
|
457
|
+
label: string;
|
|
458
|
+
children?: ICascaderOption[];
|
|
459
|
+
disabled?: boolean;
|
|
460
|
+
}
|
|
461
|
+
|
|
453
462
|
export declare type ICascaderProps<DataNodeType extends BaseOptionType = any> = CascaderProps<DataNodeType>;
|
|
454
463
|
|
|
455
464
|
export declare interface ICheckboxProps extends CheckboxProps {
|
|
@@ -643,6 +652,16 @@ export declare interface IProgressProps extends ProgressProps {
|
|
|
643
652
|
export declare interface IQRCodeProps extends QRCodeProps {
|
|
644
653
|
}
|
|
645
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
|
+
|
|
646
665
|
export declare type IQueryItemQualifierOption = DefaultOptionType;
|
|
647
666
|
|
|
648
667
|
declare interface IRadioButtonProps extends RadioButtonProps {
|
|
@@ -699,7 +718,15 @@ export declare interface ITagProps extends TagProps {
|
|
|
699
718
|
children: React.ReactNode;
|
|
700
719
|
}
|
|
701
720
|
|
|
702
|
-
declare interface
|
|
721
|
+
export declare interface ITextInputProps {
|
|
722
|
+
value?: string;
|
|
723
|
+
disabled?: boolean;
|
|
724
|
+
errorMessage?: string;
|
|
725
|
+
placeholder?: string;
|
|
726
|
+
onChange?: (value: string) => void;
|
|
727
|
+
}
|
|
728
|
+
|
|
729
|
+
declare interface ITextProps_2 extends TextProps {
|
|
703
730
|
size?: TypographySize;
|
|
704
731
|
}
|
|
705
732
|
|
|
@@ -834,7 +861,18 @@ export declare const Progress: (props: IProgressProps) => JSX_2.Element;
|
|
|
834
861
|
|
|
835
862
|
export declare const QRCode: (props: IQRCodeProps) => JSX_2.Element;
|
|
836
863
|
|
|
837
|
-
export
|
|
864
|
+
export declare const QueryItem: {
|
|
865
|
+
(): JSX_2.Element;
|
|
866
|
+
Action: (props: IActionProps) => JSX_2.Element;
|
|
867
|
+
Qualifier: (props: IQueryItemQualifierProps) => JSX_2.Element;
|
|
868
|
+
ValueSelector: {
|
|
869
|
+
(): JSX_2.Element;
|
|
870
|
+
TextInput: (props: ITextInputProps) => JSX_2.Element;
|
|
871
|
+
NumberInput: (props: INumberInputProps) => JSX_2.Element;
|
|
872
|
+
Cascader: (props: IQueryItemCascaderProps) => JSX_2.Element;
|
|
873
|
+
};
|
|
874
|
+
Text: ({ disabled, text }: ITextProps) => JSX_2.Element;
|
|
875
|
+
};
|
|
838
876
|
|
|
839
877
|
export declare const Radio: {
|
|
840
878
|
(props: IRadioProps): JSX_2.Element;
|
|
@@ -961,7 +999,7 @@ export declare const TreeSelect: {
|
|
|
961
999
|
|
|
962
1000
|
export declare const Typography: {
|
|
963
1001
|
(props: ITypographyProps): JSX_2.Element;
|
|
964
|
-
Text: ({ size, ...props }:
|
|
1002
|
+
Text: ({ size, ...props }: ITextProps_2) => JSX_2.Element;
|
|
965
1003
|
Title: (props: ITitleProps) => JSX_2.Element;
|
|
966
1004
|
Link: (props: ILinkProps) => JSX_2.Element;
|
|
967
1005
|
Paragraph: (props: IParagraphProps) => JSX_2.Element;
|