@antscorp/antsomi-ui 2.0.119 → 3.0.0-beta.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/es/components/atoms/Alert/Alert.d.ts +1 -1
- package/es/components/atoms/Checkbox/Checkbox.d.ts +1 -1
- package/es/components/atoms/Eyedropper/styled.d.ts +1 -1
- package/es/components/atoms/FloatButton/index.d.ts +6 -1
- package/es/components/atoms/Input/Input.d.ts +1 -0
- package/es/components/atoms/Input/styled.d.ts +2 -0
- package/es/components/atoms/NotificationStatus/NotificationStatus.d.ts +1 -1
- package/es/components/atoms/Popover/Popover.d.ts +1 -1
- package/es/components/atoms/PreviewTabs/styled.d.ts +3 -1
- package/es/components/atoms/Radio/index.d.ts +2 -2
- package/es/components/atoms/Segmented/Segmented.d.ts +1 -1
- package/es/components/atoms/SelectAssociatedTag/SelectAssociatedTag.js +10 -1
- package/es/components/atoms/Space/Space.d.ts +1 -0
- package/es/components/atoms/Steps/styled.d.ts +3 -1
- package/es/components/atoms/Switch/styled.d.ts +1 -1
- package/es/components/atoms/Tag/Tag.d.ts +3 -2
- package/es/components/molecules/AccessDenied/styled.d.ts +3 -1
- package/es/components/molecules/AddDynamicContent/AddDynamicContent.js +123 -114
- package/es/components/molecules/AddDynamicContent/styled.d.ts +3 -2
- package/es/components/molecules/ApplyPopupContent/styled.d.ts +3 -1
- package/es/components/molecules/CalendarSelection/components/CustomPicker/CustomPicker.js +5 -3
- package/es/components/molecules/CalendarSelection/components/RangePicker/RangePicker.d.ts +1 -1
- package/es/components/molecules/CalendarSelection/components/RangePicker/RangePicker.js +1 -1
- package/es/components/molecules/CalendarSelection/components/RangePicker/styled.d.ts +12 -2
- package/es/components/molecules/CalendarSelection/components/RangeSelectOptions/components/Option/Option.js +1 -1
- package/es/components/molecules/CalendarSelection/components/RangeSelectOptions/styled.d.ts +6 -2
- package/es/components/molecules/CalendarSelection/styled.d.ts +1 -1
- package/es/components/molecules/DatePicker/DatePicker.d.ts +73 -7
- package/es/components/molecules/DatePicker/DatePicker.js +7 -6
- package/es/components/molecules/DatePicker/components/AdvancedPicker/AdvancedPicker.js +46 -26
- package/es/components/molecules/DatePicker/components/AdvancedPicker/types.d.ts +20 -0
- package/es/components/molecules/DatePicker/components/AdvancedPicker/utils.d.ts +2 -2
- package/es/components/molecules/DatePicker/components/AdvancedPicker/utils.js +2 -0
- package/es/components/molecules/DatePickerV2/index.js +7 -3
- package/es/components/molecules/DisplayFormat/styled.d.ts +2 -1
- package/es/components/molecules/DrawerDetail/DrawerDetail.js +3 -4
- package/es/components/molecules/DrawerDetail/styled.d.ts +3 -1
- package/es/components/molecules/DrawerDetail/types.d.ts +1 -1
- package/es/components/molecules/EditingList/styled.d.ts +6 -2
- package/es/components/molecules/EmojiCollections/CommonCollection/index.js +1 -1
- package/es/components/molecules/EmojiPopover/styled.d.ts +2 -2
- package/es/components/molecules/EmptyData/styled.d.ts +3 -1
- package/es/components/molecules/FontSizeInput/components/FontSizeControl.js +26 -8
- package/es/components/molecules/FontSizeInput/styled.d.ts +1 -1
- package/es/components/molecules/ImageEditor/styled.d.ts +3 -1
- package/es/components/molecules/InputSelectAttribute/index.js +2 -2
- package/es/components/molecules/ItemNotFound/styled.d.ts +3 -1
- package/es/components/molecules/MatchAnySelect/MatchesAnySelect.js +5 -6
- package/es/components/molecules/MatchAnySelect/styled.d.ts +3 -7
- package/es/components/molecules/Modal/Modal.d.ts +1 -1
- package/es/components/molecules/Popconfirm/Popconfirm.d.ts +1 -1
- package/es/components/molecules/PreviewModal/styled.d.ts +3 -1
- package/es/components/molecules/ProcessLoading/styled.d.ts +3 -1
- package/es/components/molecules/RadioGroup/styled.d.ts +1 -1
- package/es/components/molecules/RichMenu/RichMenuChatBar/TypingChat/styled.d.ts +3 -1
- package/es/components/molecules/RichMenu/RichMenuChatBar/styled.d.ts +6 -2
- package/es/components/molecules/SearchPopover/styled.d.ts +1 -0
- package/es/components/molecules/Select/styled.d.ts +3 -1
- package/es/components/molecules/SelectAccount/AccountList.js +2 -2
- package/es/components/molecules/SelectAccount/AccountListOnlyOne.js +2 -2
- package/es/components/molecules/SelectAccount/hook/useGetAbstractUsers.d.ts +2 -2
- package/es/components/molecules/SelectAccount/styled.d.ts +1 -1
- package/es/components/molecules/Tabs/Tabs.d.ts +1 -1
- package/es/components/molecules/TemplateSaveAs/TemplateSaveAs.js +1 -1
- package/es/components/molecules/TemplateSaveAs/components/Category/Category.js +1 -1
- package/es/components/molecules/TemplateSaveAs/components/ImageSlider/styled.d.ts +3 -1
- package/es/components/molecules/TemplateSaveAs/hooks/useTemplateSave.d.ts +2 -2
- package/es/components/molecules/TemplateSaveAs/styled.d.ts +3 -1
- package/es/components/molecules/Tree/Tree.d.ts +2 -4
- package/es/components/molecules/Tree/styled.d.ts +3 -7
- package/es/components/molecules/TreeSelect/TreeSelect.d.ts +1 -1
- package/es/components/molecules/UnsubscribePreview/components/styled.d.ts +6 -3
- package/es/components/molecules/UploadImage/index.js +3 -2
- package/es/components/molecules/VirtualizedMenu/config.js +3 -1
- package/es/components/organism/AccountProfile/components/AccountSetting/styled.d.ts +2 -2
- package/es/components/organism/ActivityTimeline/components/List/styled.d.ts +3 -1
- package/es/components/organism/ActivityTimeline/components/Slide/styled.d.ts +1 -1
- package/es/components/organism/ActivityTimeline/styled.d.ts +6 -2
- package/es/components/organism/AlgorithmsSetting/index.js +3 -3
- package/es/components/organism/AlgorithmsSetting/styled.d.ts +1 -1
- package/es/components/organism/BasicLogin/components/ChooseMethod/styled.d.ts +3 -1
- package/es/components/organism/BasicLogin/components/WidgetLayout/styled.d.ts +3 -1
- package/es/components/organism/BasicLogin/styled.d.ts +9 -6
- package/es/components/organism/ContentSources/Settings.js +40 -41
- package/es/components/organism/DataTable/components/ModifyColumn/styled.d.ts +6 -2
- package/es/components/organism/DataTable/components/Pagination/styled.d.ts +3 -1
- package/es/components/organism/DataTable/components/Table/index.d.ts +1 -1
- package/es/components/organism/DataTable/components/Table/styled.d.ts +2 -2
- package/es/components/organism/DataTable/components/Toolbar/GroupByPopover.d.ts +1 -1
- package/es/components/organism/DataTable/components/Toolbar/styled.d.ts +15 -5
- package/es/components/organism/DataTable/hooks/useDataTableListing/useDataTableListing.js +7 -5
- package/es/components/organism/DataTable/styled/index.d.ts +6 -2
- package/es/components/organism/DataTable/types/index.d.ts +2 -1
- package/es/components/organism/DataTable/types/toolbar.d.ts +1 -1
- package/es/components/organism/Filter/components/FilterCondition/index.js +1 -1
- package/es/components/organism/Filter/components/FilterCondition/styled.d.ts +3 -1
- package/es/components/organism/Filter/styled.d.ts +12 -4
- package/es/components/organism/FilterSetting/components/common/InputArray/index.js +2 -2
- package/es/components/organism/FilterSetting/components/common/InputOrSelect/index.d.ts +2 -1
- package/es/components/organism/FilterSetting/components/common/InputOrSelect/index.js +4 -4
- package/es/components/organism/FilterSetting/components/common/InputSelectMulti/index.d.ts +0 -1
- package/es/components/organism/FilterSetting/components/common/InputSelectMulti/index.js +3 -1
- package/es/components/organism/FilterSetting/components/common/TextTreeSelect/index.d.ts +1 -1
- package/es/components/organism/FilterSetting/components/common/TextTreeSelect/index.js +2 -2
- package/es/components/organism/Help/queries/useGetListUser.js +4 -1
- package/es/components/organism/Help/styled.d.ts +3 -4
- package/es/components/organism/LeftMenu/components/HomeMenu/styled.d.ts +4 -2
- package/es/components/organism/LeftMenu/components/HomeMenu/useHomeMenu.js +1 -1
- package/es/components/organism/LeftMenu/components/common/ChildMenu/components/MenuItemImage/styled.d.ts +3 -1
- package/es/components/organism/LeftMenu/components/common/ChildMenu/styled.d.ts +6 -2
- package/es/components/organism/LeftMenu/hooks/usePermission.d.ts +1 -1
- package/es/components/organism/LeftMenu/styled.d.ts +6 -2
- package/es/components/organism/Login/components/ChooseMethod/styled.d.ts +3 -1
- package/es/components/organism/Login/components/VerifyAccount/styled.d.ts +1 -3
- package/es/components/organism/Login/components/WidgetLayout/styled.d.ts +3 -1
- package/es/components/organism/Login/styled.d.ts +9 -6
- package/es/components/organism/ModifyColumnModal/styled.d.ts +6 -2
- package/es/components/organism/PreviewTemplateModal/components/Information/styled.d.ts +3 -1
- package/es/components/organism/PreviewTemplateModal/components/SimilarTemplate/styled.d.ts +3 -1
- package/es/components/organism/PreviewTemplateModal/styled.d.ts +1 -1
- package/es/components/organism/SQLGeneration/components/styled.d.ts +2 -1
- package/es/components/organism/Table/ExplorePivotTable/styled.d.ts +2 -2
- package/es/components/organism/TextEditor/styled.d.ts +3 -1
- package/es/components/organism/TicketEditor/styled.d.ts +1 -1
- package/es/components/organism/TicketEditorV2/queries/useFetchAccountPermission.js +4 -1
- package/es/components/organism/TicketEditorV2/queries/useGetDetailTicket.d.ts +1 -1
- package/es/components/organism/TicketEditorV2/queries/useGetListComments.d.ts +1 -1
- package/es/components/organism/TicketEditorV2/queries/useGetListUser.js +4 -1
- package/es/components/organism/TicketEditorV2/styled.d.ts +1 -1
- package/es/components/template/Layout/components/RecommendationWorkspace/components/MenuMapping/styled.d.ts +3 -1
- package/es/components/template/Layout/styled.d.ts +3 -1
- package/es/components/template/TemplateListing/components/BlankTemplate/styled.d.ts +3 -1
- package/es/components/template/TemplateListing/components/Empty/styled.d.ts +3 -1
- package/es/components/template/TemplateListing/hooks/useTemplateListing.d.ts +2 -3
- package/es/components/template/TemplateListing/styled/index.d.ts +3 -1
- package/es/providers/ConfigProvider/ConfigProvider.d.ts +4 -0
- package/es/providers/ConfigProvider/ConfigProvider.js +2 -3
- package/es/providers/ConfigProvider/GlobalStyle.d.ts +2 -2
- package/es/providers/ConfigProvider/GlobalStyle.js +67 -64
- package/es/queries/AI/index.d.ts +3 -3
- package/es/queries/AI/useSqlGeneration.d.ts +3 -3
- package/es/queries/AI/useSqlGeneration.js +2 -2
- package/es/queries/Account/useGetAccountList.d.ts +3 -3
- package/es/queries/Account/useGetAccountList.js +2 -1
- package/es/queries/BusinessObject/useGetBODetail.d.ts +1 -1
- package/es/queries/BusinessObject/useGetListAllEvents.d.ts +1 -1
- package/es/queries/BusinessObject/useGetListBO.d.ts +1 -1
- package/es/queries/BusinessObject/useGetListEventAttr.d.ts +1 -1
- package/es/queries/BusinessObject/useGetListPromotionCodeAttr.d.ts +1 -1
- package/es/queries/BusinessObject/useGetListSourceByEvent.d.ts +1 -1
- package/es/queries/CustomFunction/useCustomFunction.d.ts +3 -3
- package/es/queries/CustomFunction/useCustomFunction.js +8 -4
- package/es/queries/DataTable/index.d.ts +25 -25
- package/es/queries/DataTable/index.js +26 -19
- package/es/queries/DynamicContentAttribute/useGetDynamicContentAttr.d.ts +1 -1
- package/es/queries/LeftMenu/index.d.ts +9 -9
- package/es/queries/LeftMenu/index.js +4 -6
- package/es/queries/Permission/index.d.ts +2 -2
- package/es/queries/PromotionPool/useGetListPromotionPool.d.ts +1 -1
- package/es/queries/TemplateListing/index.d.ts +5 -5
- package/es/queries/TemplateListing/index.js +28 -14
- package/es/queries/ThirdParty/useGetEventTrackingAttributes.d.ts +1 -1
- package/es/queries/ThirdParty/useGetListFallbackBO.d.ts +1 -1
- package/es/queries/ThirdParty/useStoreSavedMedia.d.ts +1 -1
- package/es/queries/ThirdParty/useStoreSavedMedia.js +1 -0
- package/es/queries/Unsubscribe/useGetUnsubscribeList.d.ts +1 -1
- package/es/queries/Unsubscribe/useGetUnsubscribeList.js +2 -2
- package/es/queries/Unsubscribe/useGetUnsubscribeListByIdentifier.d.ts +1 -1
- package/es/queries/Unsubscribe/useGetUnsubscribeListPermission.d.ts +1 -1
- package/es/queries/Unsubscribe/useGetUnsubscribeListPermission.js +2 -2
- package/es/queries/Unsubscribe/useGetUnsubscribePreferences.d.ts +1 -1
- package/es/queries/User/index.d.ts +1 -1
- package/es/queries/User/index.js +11 -7
- package/es/queries/User/userGetUserInfo.js +6 -3
- package/es/utils/color.d.ts +2 -0
- package/es/utils/color.js +30 -0
- package/package.json +40 -47
|
@@ -8,18 +8,14 @@ export declare const ActionButton: import("styled-components").StyledComponent<(
|
|
|
8
8
|
export declare const StyledTree: import("styled-components").StyledComponent<(<T extends import("rc-tree").BasicDataNode | import("rc-tree/lib/interface").DataNode = import("rc-tree/lib/interface").DataNode>(props: import("antd/es/tree/Tree").TreeProps<T> & {
|
|
9
9
|
children?: import("react").ReactNode;
|
|
10
10
|
} & import("react").RefAttributes<import("rc-tree").default<import("rc-tree/lib/interface").DataNode>>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>) & {
|
|
11
|
-
TreeNode: import("react").FC<import("rc-tree").TreeNodeProps<import("rc-tree/lib/interface").DataNode
|
|
11
|
+
TreeNode: import("react").FC<Readonly<import("rc-tree").TreeNodeProps<import("rc-tree/lib/interface").DataNode>>>;
|
|
12
12
|
DirectoryTree: (<T_1 extends import("rc-tree").BasicDataNode | import("rc-tree/lib/interface").DataNode = import("rc-tree/lib/interface").DataNode>(props: import("antd/es/tree").DirectoryTreeProps<T_1> & {
|
|
13
13
|
children?: import("react").ReactNode;
|
|
14
|
-
} & import("react").RefAttributes<import("rc-tree").default<import("rc-tree/lib/interface").DataNode>>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>) & {
|
|
15
|
-
displayName?: string | undefined;
|
|
16
|
-
};
|
|
14
|
+
} & import("react").RefAttributes<import("rc-tree").default<import("rc-tree/lib/interface").DataNode>>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>) & Pick<import("react").FC<{}>, "displayName">;
|
|
17
15
|
} & {
|
|
18
16
|
DirectoryTree: (<T_1 extends import("rc-tree").BasicDataNode | import("rc-tree/lib/interface").DataNode = import("rc-tree/lib/interface").DataNode>(props: import("antd/es/tree").DirectoryTreeProps<T_1> & {
|
|
19
17
|
children?: import("react").ReactNode;
|
|
20
|
-
} & import("react").RefAttributes<import("rc-tree").default<import("rc-tree/lib/interface").DataNode>>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>) & {
|
|
21
|
-
displayName?: string | undefined;
|
|
22
|
-
};
|
|
18
|
+
} & import("react").RefAttributes<import("rc-tree").default<import("rc-tree/lib/interface").DataNode>>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>) & Pick<import("react").FC<{}>, "displayName">;
|
|
23
19
|
Standard: import("react").FC<import("antd/es/tree/Tree").TreeProps<import("rc-tree/lib/interface").DataNode>>;
|
|
24
20
|
}, any, {}, never>;
|
|
25
21
|
export declare const TextArea: import("styled-components").StyledComponent<(props: any) => import("react/jsx-runtime").JSX.Element, any, {}, never>;
|
|
@@ -12,7 +12,7 @@ export declare const OriginalModal: React.FC<ModalProps>;
|
|
|
12
12
|
export declare const Modal: React.FC<ModalProps> & {
|
|
13
13
|
confirm: (props: ModalFuncProps) => {
|
|
14
14
|
destroy: () => void;
|
|
15
|
-
update: (configUpdate:
|
|
15
|
+
update: (configUpdate: import("antd/es/modal/confirm").ConfigUpdate) => void;
|
|
16
16
|
};
|
|
17
17
|
useModal: typeof import("antd/es/modal/useModal").default;
|
|
18
18
|
success: import("antd/es/modal/confirm").ModalFunc;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
export declare const Popconfirm: import("react").ForwardRefExoticComponent<import("antd").PopconfirmProps & import("react").RefAttributes<
|
|
2
|
+
export declare const Popconfirm: import("react").ForwardRefExoticComponent<import("antd").PopconfirmProps & import("react").RefAttributes<import("antd/es/tooltip").TooltipRef>> & {
|
|
3
3
|
_InternalPanelDoNotUseOrYouWillBeFired: import("react").FC<import("antd/es/popconfirm/PurePanel").PurePanelProps>;
|
|
4
4
|
};
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
export declare const StyledModal: import("styled-components").StyledComponent<(props: any) => import("react/jsx-runtime").JSX.Element, any, {}, never>;
|
|
3
|
-
export declare const ModalHeader: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("antd/es/flex/interface").FlexProps<import("antd/es/_util/type").AnyObject> &
|
|
3
|
+
export declare const ModalHeader: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("antd/es/flex/interface").FlexProps<import("antd/es/_util/type").AnyObject> & {
|
|
4
|
+
children?: import("react").ReactNode;
|
|
5
|
+
} & import("react").RefAttributes<HTMLElement>>, any, {}, never>;
|
|
4
6
|
export declare const ModalBody: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
@@ -1,2 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
export declare const ProcessLoadingContent: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("antd/es/flex/interface").FlexProps<import("antd/es/_util/type").AnyObject> &
|
|
2
|
+
export declare const ProcessLoadingContent: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("antd/es/flex/interface").FlexProps<import("antd/es/_util/type").AnyObject> & {
|
|
3
|
+
children?: import("react").ReactNode;
|
|
4
|
+
} & import("react").RefAttributes<HTMLElement>>, any, {}, never>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
export declare const RadioGroupWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
3
|
-
export declare const StyledRadioGroup: import("styled-components").StyledComponent<import("react").
|
|
3
|
+
export declare const StyledRadioGroup: import("styled-components").StyledComponent<import("react").NamedExoticComponent<import("antd").RadioGroupProps & import("react").RefAttributes<HTMLDivElement>>, any, {}, never>;
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
export declare const TypingInput: import("styled-components").StyledComponent<"input", any, {}, never>;
|
|
3
3
|
export declare const TypingWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
4
|
-
export declare const TypingChatWrapper: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("antd/es/flex/interface").FlexProps<import("antd/es/_util/type").AnyObject> &
|
|
4
|
+
export declare const TypingChatWrapper: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("antd/es/flex/interface").FlexProps<import("antd/es/_util/type").AnyObject> & {
|
|
5
|
+
children?: import("react").ReactNode;
|
|
6
|
+
} & import("react").RefAttributes<HTMLElement>>, any, {}, never>;
|
|
@@ -5,6 +5,10 @@ interface ChatBarWrapperProps {
|
|
|
5
5
|
$disabled?: boolean;
|
|
6
6
|
$size?: 'large' | 'medium';
|
|
7
7
|
}
|
|
8
|
-
export declare const ChatBarWrapper: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("antd/es/flex/interface").FlexProps<import("antd/es/_util/type").AnyObject> &
|
|
9
|
-
|
|
8
|
+
export declare const ChatBarWrapper: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("antd/es/flex/interface").FlexProps<import("antd/es/_util/type").AnyObject> & {
|
|
9
|
+
children?: import("react").ReactNode;
|
|
10
|
+
} & import("react").RefAttributes<HTMLElement>>, any, ChatBarWrapperProps, never>;
|
|
11
|
+
export declare const ChatBarMenuBox: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("antd/es/flex/interface").FlexProps<import("antd/es/_util/type").AnyObject> & {
|
|
12
|
+
children?: import("react").ReactNode;
|
|
13
|
+
} & import("react").RefAttributes<HTMLElement>>, any, {}, never>;
|
|
10
14
|
export {};
|
|
@@ -5,6 +5,7 @@ export declare const StyledInput: import("styled-components").StyledComponent<im
|
|
|
5
5
|
Search: import("react").ForwardRefExoticComponent<import("antd/es/input").SearchProps & import("react").RefAttributes<import("rc-input").InputRef>>;
|
|
6
6
|
TextArea: import("react").ForwardRefExoticComponent<import("antd/es/input").TextAreaProps & import("react").RefAttributes<import("antd/es/input/TextArea").TextAreaRef>>;
|
|
7
7
|
Password: import("react").ForwardRefExoticComponent<import("antd/es/input").PasswordProps & import("react").RefAttributes<import("rc-input").InputRef>>;
|
|
8
|
+
OTP: import("react").ForwardRefExoticComponent<import("antd/es/input/OTP").OTPProps & import("react").RefAttributes<import("antd/es/input/OTP").OTPRef>>;
|
|
8
9
|
};
|
|
9
10
|
readonly CustomSearch: import("react").ForwardRefExoticComponent<import("../../atoms/Input").InputProps & import("react").RefAttributes<import("rc-input").InputRef>>;
|
|
10
11
|
readonly TextArea: import("react").ForwardRefExoticComponent<import("antd/es/input").TextAreaProps & import("react").RefAttributes<import("antd/es/input/TextArea").TextAreaRef>>;
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
export declare const StyledTag: import("styled-components").StyledComponent<import("antd/lib").
|
|
2
|
+
export declare const StyledTag: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("antd/lib").TagProps & import("react").RefAttributes<HTMLSpanElement>> & {
|
|
3
|
+
CheckableTag: import("react").ForwardRefExoticComponent<import("antd/lib/tag").CheckableTagProps & import("react").RefAttributes<HTMLSpanElement>>;
|
|
4
|
+
} & {
|
|
3
5
|
List: import("react").FC<import("../../atoms/Tag/Tag").TagListProps>;
|
|
4
6
|
}, any, {}, never>;
|
|
5
7
|
export declare const TagCloseBtn: import("styled-components").StyledComponent<"div", any, {
|
|
@@ -40,7 +40,7 @@ const AccountList = () => {
|
|
|
40
40
|
setTempSelected(tempSelected.filter(id => id !== key));
|
|
41
41
|
}
|
|
42
42
|
};
|
|
43
|
-
return (_jsxs(AccountListWrapper, { children: [_jsx(AccountListBody, { children: _jsxs("form", { ref: formListRef, id: "form-account-list", children: [_jsx(Input, { value: searchText, placeholder: translate(translations._ACT_SEARCH), suffix: _jsx(Icon, { type: "icon-ants-search-2" }), onAfterChange: value => handleSearch(value), debounce: 500 }), state?.type === 'group' ? (_jsxs(_Fragment, { children: [_jsx(Dropdown, { open: openGroup, getPopupContainer: () => document.getElementById('account-group-list') || document.body, overlayStyle: { position: 'initial' }, trigger: ['click'],
|
|
43
|
+
return (_jsxs(AccountListWrapper, { children: [_jsx(AccountListBody, { children: _jsxs("form", { ref: formListRef, id: "form-account-list", children: [_jsx(Input, { value: searchText, placeholder: translate(translations._ACT_SEARCH), suffix: _jsx(Icon, { type: "icon-ants-search-2" }), onAfterChange: value => handleSearch(value), debounce: 500 }), state?.type === 'group' ? (_jsxs(_Fragment, { children: [_jsx(Dropdown, { open: openGroup, getPopupContainer: () => document.getElementById('account-group-list') || document.body, overlayStyle: { position: 'initial' }, trigger: ['click'], popupRender: () => (
|
|
44
44
|
// <AccountListContent>
|
|
45
45
|
_jsx(Scrollbars, { width: "100%", autoHeight: true, autoHeightMax: 160, onScrollFrame: values => {
|
|
46
46
|
if (values.top > POSITION_TOP &&
|
|
@@ -52,7 +52,7 @@ const AccountList = () => {
|
|
|
52
52
|
), children: _jsxs(AccountListTitleGroup, { onClick: () => setOpenGroup(!openGroup), children: [_jsx("div", { children: state.groupText || 'Account group' }), _jsx(Icon, { type: "icon-ants-expand-more", size: 20, color: "#595959", style: {
|
|
53
53
|
transform: openGroup ? 'rotate(180deg)' : 'rotate(0deg)',
|
|
54
54
|
transition: '0.3s',
|
|
55
|
-
} })] }) }), _jsx("div", { id: "account-group-list" }), _jsx(Dropdown, { open: openAccount, getPopupContainer: () => document.getElementById('account-list') || document.body, overlayStyle: { position: 'initial' }, trigger: ['click'],
|
|
55
|
+
} })] }) }), _jsx("div", { id: "account-group-list" }), _jsx(Dropdown, { open: openAccount, getPopupContainer: () => document.getElementById('account-list') || document.body, overlayStyle: { position: 'initial' }, trigger: ['click'], popupRender: () => (_jsx(Scrollbars, { autoHeight: true, autoHeightMax: 160, width: "100%", onScrollFrame: values => {
|
|
56
56
|
if (values.top > POSITION_TOP && limit * page < usersDisplay?.length) {
|
|
57
57
|
setPage(page + 1);
|
|
58
58
|
}
|
|
@@ -27,7 +27,7 @@ const AccountListOnlyOne = () => {
|
|
|
27
27
|
dispatch({ type: 'UPDATE_SEARCH_TEXT', payload: '' });
|
|
28
28
|
}
|
|
29
29
|
};
|
|
30
|
-
return (_jsx(AccountListWrapper, { children: _jsxs("div", { children: [_jsx(Input, { value: searchText, placeholder: "Search", suffix: _jsx(SearchIcon, { color: "#595959" }), onAfterChange: value => handleSearch(value), debounce: 500, style: { borderStyle: 'none' } }), state?.type === 'group' ? (_jsxs(_Fragment, { children: [_jsx(Dropdown, { open: openGroup, getPopupContainer: () => document.getElementById('account-group-list') || document.body, overlayStyle: { position: 'initial' }, trigger: ['click'],
|
|
30
|
+
return (_jsx(AccountListWrapper, { children: _jsxs("div", { children: [_jsx(Input, { value: searchText, placeholder: "Search", suffix: _jsx(SearchIcon, { color: "#595959" }), onAfterChange: value => handleSearch(value), debounce: 500, style: { borderStyle: 'none' } }), state?.type === 'group' ? (_jsxs(_Fragment, { children: [_jsx(Dropdown, { open: openGroup, getPopupContainer: () => document.getElementById('account-group-list') || document.body, overlayStyle: { position: 'initial' }, trigger: ['click'], popupRender: () => (
|
|
31
31
|
// <AccountListContent>
|
|
32
32
|
_jsx(Scrollbars, { width: "100%", autoHeight: true, autoHeightMax: 160, onScrollFrame: values => {
|
|
33
33
|
if (values.top > POSITION_TOP &&
|
|
@@ -39,7 +39,7 @@ const AccountListOnlyOne = () => {
|
|
|
39
39
|
), children: _jsxs(AccountListTitleGroup, { onClick: () => setOpenGroup(!openGroup), children: [_jsx("div", { children: state.groupText || 'Account group' }), _jsx(Icon, { type: "icon-ants-expand-more", size: 20, color: "#595959", style: {
|
|
40
40
|
transform: openGroup ? 'rotate(180deg)' : 'rotate(0deg)',
|
|
41
41
|
transition: '0.3s',
|
|
42
|
-
} })] }) }), _jsx("div", { id: "account-group-list" }), _jsx(Dropdown, { open: openAccount, getPopupContainer: () => document.getElementById('account-list') || document.body, overlayStyle: { position: 'initial' }, trigger: ['click'],
|
|
42
|
+
} })] }) }), _jsx("div", { id: "account-group-list" }), _jsx(Dropdown, { open: openAccount, getPopupContainer: () => document.getElementById('account-list') || document.body, overlayStyle: { position: 'initial' }, trigger: ['click'], popupRender: () => (_jsx(Scrollbars, { autoHeight: true, autoHeightMax: 160, width: "100%", onScrollFrame: values => {
|
|
43
43
|
if (values.top > POSITION_TOP && limit * page < usersDisplay?.length) {
|
|
44
44
|
setPage(page + 1);
|
|
45
45
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
2
|
type Props = {
|
|
3
|
-
queryOptions?: UseQueryOptions
|
|
3
|
+
queryOptions?: Omit<UseQueryOptions, 'queryKey' | 'queryFn'>;
|
|
4
4
|
params?: Record<string, any>;
|
|
5
5
|
search?: string;
|
|
6
6
|
queryFn?: Function;
|
|
7
7
|
enabled?: boolean;
|
|
8
8
|
defaultDataSource?: any;
|
|
9
9
|
};
|
|
10
|
-
export declare const useGetAbstractUsers: ({ queryOptions, params, search, queryFn, }: Props) => import("@tanstack/react-query").UseQueryResult<unknown,
|
|
10
|
+
export declare const useGetAbstractUsers: ({ queryOptions, params, search, queryFn, }: Props) => import("@tanstack/react-query").UseQueryResult<unknown, Error>;
|
|
11
11
|
export {};
|
|
@@ -14,7 +14,7 @@ export declare const AccountListFooter: import("styled-components").StyledCompon
|
|
|
14
14
|
export declare const AccountListTitleGroup: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
15
15
|
export declare const AccountListContent: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
16
16
|
export declare const CheckboxStyled: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("antd").CheckboxProps & import("react").RefAttributes<import("rc-checkbox").CheckboxRef>> & {
|
|
17
|
-
Group: import("
|
|
17
|
+
Group: <T = any>(props: import("antd/es/checkbox").CheckboxGroupProps<T> & import("react").RefAttributes<HTMLDivElement>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
|
18
18
|
}, any, {}, never>;
|
|
19
19
|
export declare const ViewAllWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
20
20
|
export declare const ItemOnlyOne: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
export declare const Tabs: import("styled-components").StyledComponent<import("react").
|
|
2
|
+
export declare const Tabs: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("antd").TabsProps & import("react").RefAttributes<import("antd/es/tabs").TabsRef>> & {
|
|
3
3
|
TabPane: import("react").FC<import("antd").TabPaneProps>;
|
|
4
4
|
}, any, {
|
|
5
5
|
shadow?: boolean | undefined;
|
|
@@ -169,7 +169,7 @@ export const TemplateSaveAs = props => {
|
|
|
169
169
|
onScrollToBottom();
|
|
170
170
|
}
|
|
171
171
|
}
|
|
172
|
-
}, filterOption: false,
|
|
172
|
+
}, filterOption: false, popupRender: menu => (_jsxs(_Fragment, { children: [isLoading && templateNameList.length === 0 ? null : menu, isLoading ? (_jsx(Space, { style: {
|
|
173
173
|
padding: '4px 0',
|
|
174
174
|
width: '100%',
|
|
175
175
|
justifyContent: 'center',
|
|
@@ -24,5 +24,5 @@ export const Category = props => {
|
|
|
24
24
|
// maxHeight: 400,
|
|
25
25
|
// overflow: 'auto',
|
|
26
26
|
// }}
|
|
27
|
-
getPopupContainer: triggerNode => triggerNode.parentElement, trigger: ['click'],
|
|
27
|
+
getPopupContainer: triggerNode => triggerNode.parentElement, trigger: ['click'], popupRender: node => _jsx(DropdownMenuContent, { children: node }), children: typeof label === 'string' ? (_jsx(Button, { disabled: true, children: _jsxs(Text, { ellipsis: true, style: { color: 'inherit' }, children: ["+ Add ", label?.toLowerCase()] }) })) : (label) }))] })] }));
|
|
28
28
|
};
|
|
@@ -5,5 +5,7 @@ interface ImageSliderStyledProps {
|
|
|
5
5
|
$imageWidth?: number;
|
|
6
6
|
$imageHeight?: number;
|
|
7
7
|
}
|
|
8
|
-
export declare const ImageSliderStyled: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("antd/es/flex/interface").FlexProps<import("antd/es/_util/type").AnyObject> &
|
|
8
|
+
export declare const ImageSliderStyled: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("antd/es/flex/interface").FlexProps<import("antd/es/_util/type").AnyObject> & {
|
|
9
|
+
children?: import("react").ReactNode;
|
|
10
|
+
} & import("react").RefAttributes<HTMLElement>>, any, ImageSliderStyledProps, never>;
|
|
9
11
|
export {};
|
|
@@ -65,8 +65,8 @@ export declare const useTemplateSave: (options: TemplateListingOptions) => {
|
|
|
65
65
|
};
|
|
66
66
|
form: import("antd").FormInstance<FormValue>;
|
|
67
67
|
errors: any[] | undefined;
|
|
68
|
-
refetchCategoryList:
|
|
69
|
-
refetchTemplateList:
|
|
68
|
+
refetchCategoryList: (options?: import("@tanstack/react-query").RefetchOptions | undefined) => Promise<import("@tanstack/react-query").QueryObserverResult<NoInfer<TemplateCategory[]>, any>>;
|
|
69
|
+
refetchTemplateList: (options?: import("@tanstack/react-query").RefetchOptions | undefined) => Promise<import("@tanstack/react-query").QueryObserverResult<any, any>>;
|
|
70
70
|
onLoadMore: () => void;
|
|
71
71
|
onChange: (newValue: Partial<TemplateValueOptions>) => void;
|
|
72
72
|
};
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
export declare const TemplateSaveAsStyled: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("antd/es/flex/interface").FlexProps<import("antd/es/_util/type").AnyObject> &
|
|
2
|
+
export declare const TemplateSaveAsStyled: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("antd/es/flex/interface").FlexProps<import("antd/es/_util/type").AnyObject> & {
|
|
3
|
+
children?: import("react").ReactNode;
|
|
4
|
+
} & import("react").RefAttributes<HTMLElement>>, any, {
|
|
3
5
|
$skeleton?: boolean | undefined;
|
|
4
6
|
}, never>;
|
|
@@ -5,12 +5,10 @@ declare const StandardTree: React.FC<TreeProps>;
|
|
|
5
5
|
export declare const Tree: (<T extends import("rc-tree").BasicDataNode | TreeDataNode = TreeDataNode>(props: TreeProps<T> & {
|
|
6
6
|
children?: React.ReactNode;
|
|
7
7
|
} & React.RefAttributes<import("rc-tree").default<TreeDataNode>>) => React.ReactElement<any, string | React.JSXElementConstructor<any>>) & {
|
|
8
|
-
TreeNode: React.FC<import("rc-tree").TreeNodeProps<TreeDataNode
|
|
8
|
+
TreeNode: React.FC<Readonly<import("rc-tree").TreeNodeProps<TreeDataNode>>>;
|
|
9
9
|
DirectoryTree: (<T_1 extends import("rc-tree").BasicDataNode | TreeDataNode = TreeDataNode>(props: import("antd/es/tree").DirectoryTreeProps<T_1> & {
|
|
10
10
|
children?: React.ReactNode;
|
|
11
|
-
} & React.RefAttributes<import("rc-tree").default<TreeDataNode>>) => React.ReactElement<any, string | React.JSXElementConstructor<any>>) & {
|
|
12
|
-
displayName?: string | undefined;
|
|
13
|
-
};
|
|
11
|
+
} & React.RefAttributes<import("rc-tree").default<TreeDataNode>>) => React.ReactElement<any, string | React.JSXElementConstructor<any>>) & Pick<React.FC<{}>, "displayName">;
|
|
14
12
|
} & {
|
|
15
13
|
DirectoryTree: typeof AntdTree.DirectoryTree;
|
|
16
14
|
Standard: typeof StandardTree;
|
|
@@ -2,15 +2,11 @@
|
|
|
2
2
|
export declare const StyledTree: import("styled-components").StyledComponent<(<T extends import("rc-tree").BasicDataNode | import("antd").TreeDataNode = import("antd").TreeDataNode>(props: import("antd").TreeProps<T> & {
|
|
3
3
|
children?: import("react").ReactNode;
|
|
4
4
|
} & import("react").RefAttributes<import("rc-tree").default<import("antd").TreeDataNode>>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>) & {
|
|
5
|
-
TreeNode: import("react").FC<import("rc-tree").TreeNodeProps<import("antd").TreeDataNode
|
|
5
|
+
TreeNode: import("react").FC<Readonly<import("rc-tree").TreeNodeProps<import("antd").TreeDataNode>>>;
|
|
6
6
|
DirectoryTree: (<T_1 extends import("rc-tree").BasicDataNode | import("antd").TreeDataNode = import("antd").TreeDataNode>(props: import("antd/es/tree").DirectoryTreeProps<T_1> & {
|
|
7
7
|
children?: import("react").ReactNode;
|
|
8
|
-
} & import("react").RefAttributes<import("rc-tree").default<import("antd").TreeDataNode>>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>) & {
|
|
9
|
-
displayName?: string | undefined;
|
|
10
|
-
};
|
|
8
|
+
} & import("react").RefAttributes<import("rc-tree").default<import("antd").TreeDataNode>>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>) & Pick<import("react").FC<{}>, "displayName">;
|
|
11
9
|
}, any, any, never>;
|
|
12
10
|
export declare const StyledTreeDirectory: import("styled-components").StyledComponent<(<T extends import("rc-tree").BasicDataNode | import("antd").TreeDataNode = import("antd").TreeDataNode>(props: import("antd/es/tree").DirectoryTreeProps<T> & {
|
|
13
11
|
children?: import("react").ReactNode;
|
|
14
|
-
} & import("react").RefAttributes<import("rc-tree").default<import("antd").TreeDataNode>>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>) & {
|
|
15
|
-
displayName?: string | undefined;
|
|
16
|
-
}, any, any, never>;
|
|
12
|
+
} & import("react").RefAttributes<import("rc-tree").default<import("antd").TreeDataNode>>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>) & Pick<import("react").FC<{}>, "displayName">, any, any, never>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
export declare const TreeSelect: (<ValueType = any, OptionType extends import("rc-tree-select/lib/
|
|
2
|
+
export declare const TreeSelect: (<ValueType = any, OptionType extends import("rc-tree-select/lib/interface").DataNode = import("rc-tree-select/lib/interface").DataNode>(props: import("antd").TreeSelectProps<ValueType, OptionType> & {
|
|
3
3
|
children?: import("react").ReactNode;
|
|
4
4
|
} & import("react").RefAttributes<import("antd").RefSelectProps>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>) & {
|
|
5
5
|
displayName?: string | undefined;
|
|
@@ -1,13 +1,16 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { List } from 'antd';
|
|
3
2
|
export declare const Wrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
4
3
|
export declare const LogoContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
5
4
|
export declare const LogoImg: import("styled-components").StyledComponent<"img", any, {}, never>;
|
|
6
5
|
export declare const Identifier: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
7
6
|
export declare const Title: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
8
7
|
export declare const Description: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
9
|
-
export declare const ListStyled: import("styled-components").StyledComponent<
|
|
8
|
+
export declare const ListStyled: import("styled-components").StyledComponent<(<T>(props: import("antd").ListProps<T> & {
|
|
9
|
+
ref?: import("react").ForwardedRef<HTMLDivElement> | undefined;
|
|
10
|
+
}) => import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>) & Pick<import("react").FC<{}>, "displayName"> & {
|
|
11
|
+
Item: import("antd/es/list/Item").ListItemTypeProps;
|
|
12
|
+
}, any, {}, never>;
|
|
10
13
|
export declare const TaskAltIconStyled: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("../../../icons/types").IconProps & import("react").RefAttributes<SVGSVGElement>>, any, {}, never>;
|
|
11
14
|
export declare const CheckboxStyled: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("antd").CheckboxProps & import("react").RefAttributes<import("rc-checkbox").CheckboxRef>> & {
|
|
12
|
-
Group: import("
|
|
15
|
+
Group: <T = any>(props: import("antd/es/checkbox").CheckboxGroupProps<T> & import("react").RefAttributes<HTMLDivElement>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
|
13
16
|
}, any, {}, never>;
|
|
@@ -134,7 +134,8 @@ export const UploadImage = props => {
|
|
|
134
134
|
if (res && res.data && res.data.code === 200 && res.data.data) {
|
|
135
135
|
const { success_media = [] } = res.data.data;
|
|
136
136
|
if (Array.isArray(success_media) && success_media.length) {
|
|
137
|
-
queryClient.invalidateQueries(
|
|
137
|
+
queryClient.invalidateQueries({
|
|
138
|
+
queryKey: [QUERY_KEYS.GET_LIST_SAVED_MEDIA, domainMedia, slug, paramsMemo],
|
|
138
139
|
exact: false,
|
|
139
140
|
});
|
|
140
141
|
}
|
|
@@ -210,7 +211,7 @@ export const UploadImage = props => {
|
|
|
210
211
|
})));
|
|
211
212
|
await Promise.all(arrPromise);
|
|
212
213
|
setLoading(false);
|
|
213
|
-
refetch(
|
|
214
|
+
refetch();
|
|
214
215
|
}
|
|
215
216
|
else {
|
|
216
217
|
setLoading(false);
|
|
@@ -9,4 +9,6 @@ export const ACTION_TYPES = {
|
|
|
9
9
|
export const INLINE_PADDING = 10;
|
|
10
10
|
export const INLINE_INDENT = 10;
|
|
11
11
|
export const ITEM_SPACING = parseFloat(THEME.components?.Menu?.itemMarginBlock?.toString() || '10');
|
|
12
|
-
|
|
12
|
+
// antd 5.13+ typed `itemHeight` as `number | string` to support both
|
|
13
|
+
// unitless and CSS-string values, so we coerce to a number here.
|
|
14
|
+
export const ITEM_SIZE = Number(THEME.components?.Menu?.itemHeight) || 35;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
export declare const AccountDetail: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
3
3
|
export declare const DrawerHeader: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
4
|
-
export declare const StyledRadioGroup: import("styled-components").StyledComponent<import("react").
|
|
4
|
+
export declare const StyledRadioGroup: import("styled-components").StyledComponent<import("react").NamedExoticComponent<import("antd").RadioGroupProps & import("react").RefAttributes<HTMLDivElement>>, any, {}, never>;
|
|
5
5
|
export declare const StyledDatePicker: import("styled-components").StyledComponent<import("antd/es/date-picker").DatePickerType, any, {}, never>;
|
|
6
6
|
export declare const StyledCheckbox: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("antd").CheckboxProps & import("react").RefAttributes<import("rc-checkbox").CheckboxRef>> & {
|
|
7
|
-
Group: import("
|
|
7
|
+
Group: <T = any>(props: import("antd/es/checkbox").CheckboxGroupProps<T> & import("react").RefAttributes<HTMLDivElement>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
|
8
8
|
}, any, {}, never>;
|
|
@@ -11,4 +11,6 @@ export declare const ListContainer: import("styled-components").StyledComponent<
|
|
|
11
11
|
}, never>;
|
|
12
12
|
export declare const LoadMore: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
13
13
|
export declare const LoadLess: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
14
|
-
export declare const ListWrapper: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("antd").FlexProps<import("antd/es/_util/type").AnyObject> &
|
|
14
|
+
export declare const ListWrapper: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("antd").FlexProps<import("antd/es/_util/type").AnyObject> & {
|
|
15
|
+
children?: import("react").ReactNode;
|
|
16
|
+
} & import("react").RefAttributes<HTMLElement>>, any, {}, never>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
export declare const StyledBtnNavigation: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("antd").ButtonProps & import("react").RefAttributes<
|
|
2
|
+
export declare const StyledBtnNavigation: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("antd").ButtonProps & import("react").RefAttributes<HTMLAnchorElement | HTMLButtonElement>> & {
|
|
3
3
|
Group: import("react").FC<import("antd/es/button").ButtonGroupProps>;
|
|
4
4
|
}, any, {}, never>;
|
|
5
5
|
export declare const StyledSwiper: import("styled-components").StyledComponent<import("react").FunctionComponent<import("react").RefAttributes<import("swiper/react").SwiperRef> & Omit<import("react").HTMLAttributes<HTMLElement>, "onKeyPress" | "onProgress" | "onResize" | "onClick" | "onDoubleClick" | "onTouchEnd" | "onTouchMove" | "onTouchStart" | "onScroll" | "onTransitionEnd"> & import("swiper/types").SwiperOptions & {
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
export declare const StyledRoot: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
3
3
|
export declare const StyldTitle: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
4
|
-
export declare const StyledNoData: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("antd").FlexProps<import("antd/es/_util/type").AnyObject> &
|
|
4
|
+
export declare const StyledNoData: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("antd").FlexProps<import("antd/es/_util/type").AnyObject> & {
|
|
5
|
+
children?: import("react").ReactNode;
|
|
6
|
+
} & import("react").RefAttributes<HTMLElement>>, any, {}, never>;
|
|
5
7
|
export declare const WrapperContainerRedeem: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
6
8
|
export declare const TimelineContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
7
|
-
export declare const TimelineBottom: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("antd").FlexProps<import("antd/es/_util/type").AnyObject> &
|
|
9
|
+
export declare const TimelineBottom: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("antd").FlexProps<import("antd/es/_util/type").AnyObject> & {
|
|
10
|
+
children?: import("react").ReactNode;
|
|
11
|
+
} & import("react").RefAttributes<HTMLElement>>, any, {}, never>;
|
|
@@ -307,7 +307,7 @@ export const AlgorithmsSetting = (props) => {
|
|
|
307
307
|
},
|
|
308
308
|
});
|
|
309
309
|
};
|
|
310
|
-
const
|
|
310
|
+
const onOpenChange = (isOpen) => {
|
|
311
311
|
setIsShowDropdownSelect(isOpen);
|
|
312
312
|
// set checked based on redux selected when open & cancel
|
|
313
313
|
const selected = algorithms.value.map(item => item.value);
|
|
@@ -601,9 +601,9 @@ export const AlgorithmsSetting = (props) => {
|
|
|
601
601
|
}, ...provided.dragHandleProps, children: _jsx(Icon, { type: "icon-ants-double-three-dots", size: 16, style: { opacity: 0.4, color: THEME.token?.colorIcon } }) }), _jsxs(Text, { ...labelStyle, style: { marginRight: 8, textAlign: 'left' }, children: [mapListAlgo[algo.value]?.label, char] })] }), _jsx(InputNumber, { value: algo.quantity, width: 90, onChange: value => onChangeAlgorithm(algo, { quantity: value }), min: 1, max: 30, required: true }), algorithms.value.length > 1 ? (_jsx(Button, { onClick: () => onRemoveAlgo(algo), type: "text", icon: _jsx(Icon, { type: "icon-ants-remove-slim", size: 15 }), style: { alignSelf: 'center' } })) : null] }), renderAlgorithmBy(algo), index < algorithms.value.length - 1 && !snapshot.isDragging ? (_jsx(Divider, { dashed: true, style: { margin: '16px 10px' } })) : null] })) }, algo.value))), provided.placeholder] })) }) }), itemTypeId === PRODUCT_ITEM_TYPE_ID || itemTypeName === ITEM_TYPE_NAME.ARTICLE ? (_jsx("div", { style: { marginTop: 16 }, children: isShowSelect ? (_jsx(SelectMulti, { open: isShowDropdownSelect, mode: "multiple", label: t(translations.selectAlgorithms.title), placeholder: t(translations.multiSelectAlgorithms.title).toString(),
|
|
602
602
|
// khong dung onChange ma dung onClick cua SelectOptionLabel
|
|
603
603
|
// onChange={() => {}}
|
|
604
|
-
placement: "topLeft",
|
|
604
|
+
placement: "topLeft", popupRender: menu => (_jsxs(_Fragment, { children: [menu, _jsx(Divider, { style: { margin: '8px 0px' } }), _jsxs("div", { style: { margin: 8, display: 'flex', alignItems: 'center' }, children: [_jsx(Button, { onClick: onApplySelect, disabled: selectedAlgos.length === 0, type: "primary", children: t(translations.apply.title).toString() }), _jsx(Button, { onClick: () => onOpenChange(false), style: { marginLeft: 8 }, children: t(translations.cancel.title).toString() })] })] })),
|
|
605
605
|
// or focus + blur
|
|
606
|
-
|
|
606
|
+
onOpenChange: onOpenChange, children: renderAlgorithmOptions })) : (_jsxs(Button, { type: "text", onClick: onChangeShowSelect, disabled: ranking.algorithms.value.length >= 3, children: ["+ ", t(translations.addAlgorithms.title).toString()] })) })) : null] }));
|
|
607
607
|
case ALGORITHM_TABS.FILTERS.value:
|
|
608
608
|
return (_jsxs("div", { style: {
|
|
609
609
|
display: 'grid',
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import type { ContentSourceModeView } from '../ContentSources/types';
|
|
3
3
|
export declare const AlgorithmsSettingWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
4
|
-
export declare const StyledTabs: import("styled-components").StyledComponent<import("react").
|
|
4
|
+
export declare const StyledTabs: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("antd/es/tabs").TabsProps & import("react").RefAttributes<import("antd/es/tabs").TabsRef>> & {
|
|
5
5
|
TabPane: import("react").FC<import("antd").TabPaneProps>;
|
|
6
6
|
}, any, {
|
|
7
7
|
shadow?: boolean | undefined;
|
|
@@ -5,6 +5,8 @@ export declare const TextInfo: import("styled-components").StyledComponent<"span
|
|
|
5
5
|
export declare const SubTitle: import("styled-components").StyledComponent<"span", any, {
|
|
6
6
|
isMobile: boolean;
|
|
7
7
|
}, never>;
|
|
8
|
-
export declare const BlockMethod: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("antd").FlexProps<import("antd/es/_util/type").AnyObject> &
|
|
8
|
+
export declare const BlockMethod: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("antd").FlexProps<import("antd/es/_util/type").AnyObject> & {
|
|
9
|
+
children?: import("react").ReactNode;
|
|
10
|
+
} & import("react").RefAttributes<HTMLElement>>, any, {
|
|
9
11
|
disable?: boolean | undefined;
|
|
10
12
|
}, never>;
|
|
@@ -2,4 +2,6 @@
|
|
|
2
2
|
export declare const Title: import("styled-components").StyledComponent<"div", any, {
|
|
3
3
|
isMobile: boolean;
|
|
4
4
|
}, never>;
|
|
5
|
-
export declare const WidgetLayoutMain: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("antd").FlexProps<import("antd/es/_util/type").AnyObject> &
|
|
5
|
+
export declare const WidgetLayoutMain: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("antd").FlexProps<import("antd/es/_util/type").AnyObject> & {
|
|
6
|
+
children?: import("react").ReactNode;
|
|
7
|
+
} & import("react").RefAttributes<HTMLElement>>, any, {}, never>;
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
export declare const LoginMain: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("antd").FlexProps<import("antd/es/_util/type").AnyObject> &
|
|
3
|
-
|
|
2
|
+
export declare const LoginMain: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("antd").FlexProps<import("antd/es/_util/type").AnyObject> & {
|
|
3
|
+
children?: import("react").ReactNode;
|
|
4
|
+
} & import("react").RefAttributes<HTMLElement>>, any, {}, never>;
|
|
5
|
+
export declare const WrapperLogin: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("antd").FlexProps<import("antd/es/_util/type").AnyObject> & {
|
|
6
|
+
children?: import("react").ReactNode;
|
|
7
|
+
} & import("react").RefAttributes<HTMLElement>>, any, {
|
|
4
8
|
isMobile: boolean;
|
|
5
9
|
}, never>;
|
|
6
10
|
export declare const WrapperImage: import("styled-components").StyledComponent<"img", any, {}, never>;
|
|
@@ -10,9 +14,7 @@ export declare const WrapperContent: import("styled-components").StyledComponent
|
|
|
10
14
|
export declare const AvatarImage: import("styled-components").StyledComponent<"img", any, {}, never>;
|
|
11
15
|
export declare const StyledForm: import("styled-components").StyledComponent<(<Values = any>(props: import("antd").FormProps<Values> & {
|
|
12
16
|
children?: import("react").ReactNode;
|
|
13
|
-
} & import("react").RefAttributes<import("
|
|
14
|
-
displayName?: string | undefined;
|
|
15
|
-
} & {
|
|
17
|
+
} & import("react").RefAttributes<import("rc-field-form/lib/interface").FormRef<Values>>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>) & Pick<import("react").FC<{}>, "displayName"> & {
|
|
16
18
|
useForm: typeof import("antd/es/form/Form").useForm;
|
|
17
19
|
useFormInstance: typeof import("antd/es/form/hooks/useFormInstance").default;
|
|
18
20
|
useWatch: typeof import("rc-field-form").useWatch;
|
|
@@ -35,10 +37,11 @@ export declare const StyleInput: import("styled-components").StyledComponent<imp
|
|
|
35
37
|
Search: import("react").ForwardRefExoticComponent<import("antd/es/input").SearchProps & import("react").RefAttributes<import("antd").InputRef>>;
|
|
36
38
|
TextArea: import("react").ForwardRefExoticComponent<import("antd/es/input").TextAreaProps & import("react").RefAttributes<import("antd/es/input/TextArea").TextAreaRef>>;
|
|
37
39
|
Password: import("react").ForwardRefExoticComponent<import("antd/es/input").PasswordProps & import("react").RefAttributes<import("antd").InputRef>>;
|
|
40
|
+
OTP: import("react").ForwardRefExoticComponent<import("antd/es/input/OTP").OTPProps & import("react").RefAttributes<import("antd/es/input/OTP").OTPRef>>;
|
|
38
41
|
}, any, {
|
|
39
42
|
isMobile: boolean;
|
|
40
43
|
}, never>;
|
|
41
|
-
export declare const StyleButton: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("antd").ButtonProps & import("react").RefAttributes<
|
|
44
|
+
export declare const StyleButton: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("antd").ButtonProps & import("react").RefAttributes<HTMLAnchorElement | HTMLButtonElement>> & {
|
|
42
45
|
Group: import("react").FC<import("antd/es/button").ButtonGroupProps>;
|
|
43
46
|
}, any, {
|
|
44
47
|
isMobile: boolean;
|