beca-ui 2.1.1-beta.13 → 2.1.1-beta.15
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/README.md +6 -0
- package/package.json +1 -1
- package/dist/ConvertVietnameseNumber.js +0 -136
- package/dist/DynamicWorkflowScript.js +0 -1141
- package/dist/assets/locales/en.json.d.ts +0 -34
- package/dist/assets/locales/vi.json.d.ts +0 -34
- package/dist/beca-ui.js +0 -151430
- package/dist/components/AIChat/AIChat.d.ts +0 -11
- package/dist/components/AIChat/AIChat.types.d.ts +0 -21
- package/dist/components/AIChat/index.d.ts +0 -2
- package/dist/components/Alert/Alert.d.ts +0 -2
- package/dist/components/Alert/Alert.types.d.ts +0 -3
- package/dist/components/Alert/index.d.ts +0 -2
- package/dist/components/Anchor/Anchor.d.ts +0 -4
- package/dist/components/Anchor/Anchor.types.d.ts +0 -2
- package/dist/components/Anchor/index.d.ts +0 -2
- package/dist/components/App/App.d.ts +0 -2
- package/dist/components/App/App.types.d.ts +0 -3
- package/dist/components/App/index.d.ts +0 -3
- package/dist/components/ApplicationsCard/ApplicationsCard.d.ts +0 -3
- package/dist/components/ApplicationsCard/ApplicationsCard.types.d.ts +0 -27
- package/dist/components/ApplicationsCard/index.d.ts +0 -2
- package/dist/components/AudioPlayer/AudioPlayer.d.ts +0 -4
- package/dist/components/AudioPlayer/AudioPlayer.types.d.ts +0 -10
- package/dist/components/AudioPlayer/index.d.ts +0 -3
- package/dist/components/AutoComplete/AutoComplete.d.ts +0 -2
- package/dist/components/AutoComplete/AutoComplete.types.d.ts +0 -3
- package/dist/components/AutoComplete/index.d.ts +0 -3
- package/dist/components/Avatar/Avatar.d.ts +0 -6
- package/dist/components/Avatar/Avatar.types.d.ts +0 -6
- package/dist/components/Avatar/index.d.ts +0 -4
- package/dist/components/Badge/Badge.d.ts +0 -4
- package/dist/components/Badge/Badge.types.d.ts +0 -3
- package/dist/components/Badge/index.d.ts +0 -3
- package/dist/components/BecaChatBox/BecaChatBox.d.ts +0 -24
- package/dist/components/BecaChatBox/Composer.d.ts +0 -20
- package/dist/components/BecaChatBox/MainChat.d.ts +0 -36
- package/dist/components/BecaChatBox/MessageBubble.d.ts +0 -27
- package/dist/components/BecaChatBox/Sidebar.d.ts +0 -11
- package/dist/components/BecaChatBox/index.d.ts +0 -1
- package/dist/components/BecaChatBox/types.d.ts +0 -26
- package/dist/components/BecaChatBox/utils.d.ts +0 -3
- package/dist/components/BecaColorPicker/BecaColorPicker.d.ts +0 -2
- package/dist/components/BecaColorPicker/BecaColorPicker.types.d.ts +0 -2
- package/dist/components/BecaColorPicker/index.d.ts +0 -3
- package/dist/components/BodyCard/BodyCard.d.ts +0 -3
- package/dist/components/BodyCard/BodyCard.types.d.ts +0 -20
- package/dist/components/BodyCard/index.d.ts +0 -3
- package/dist/components/Breadcrumb/Breadcrumb.d.ts +0 -6
- package/dist/components/Breadcrumb/Breadcrumb.types.d.ts +0 -5
- package/dist/components/Breadcrumb/index.d.ts +0 -3
- package/dist/components/Button/Button.d.ts +0 -2
- package/dist/components/Button/Button.types.d.ts +0 -18
- package/dist/components/Button/index.d.ts +0 -2
- package/dist/components/Calendar/Calendar.d.ts +0 -3
- package/dist/components/Calendar/Calendar.types.d.ts +0 -3
- package/dist/components/Calendar/index.d.ts +0 -3
- package/dist/components/Card/Card.d.ts +0 -6
- package/dist/components/Card/Card.types.d.ts +0 -6
- package/dist/components/Card/index.d.ts +0 -2
- package/dist/components/Carousel/Carousel.d.ts +0 -2
- package/dist/components/Carousel/Carousel.types.d.ts +0 -3
- package/dist/components/Carousel/index.d.ts +0 -3
- package/dist/components/Checkbox/Checkbox.d.ts +0 -6
- package/dist/components/Checkbox/Checkbox.types.d.ts +0 -11
- package/dist/components/Checkbox/index.d.ts +0 -2
- package/dist/components/Col/Col.d.ts +0 -3
- package/dist/components/Col/Col.types.d.ts +0 -3
- package/dist/components/Col/index.d.ts +0 -3
- package/dist/components/Collapse/Collapse.d.ts +0 -6
- package/dist/components/Collapse/Collapse.types.d.ts +0 -5
- package/dist/components/Collapse/index.d.ts +0 -3
- package/dist/components/ColorPicker/ColorPicker.d.ts +0 -4
- package/dist/components/ColorPicker/ColorPicker.types.d.ts +0 -3
- package/dist/components/ColorPicker/index.d.ts +0 -3
- package/dist/components/CommonTypes.d.ts +0 -2
- package/dist/components/ConfigProvider/ConfigProvider.d.ts +0 -4
- package/dist/components/ConfigProvider/ConfigProvider.types.d.ts +0 -5
- package/dist/components/ConfigProvider/index.d.ts +0 -3
- package/dist/components/Content/Content.d.ts +0 -3
- package/dist/components/Content/Content.types.d.ts +0 -4
- package/dist/components/Content/index.d.ts +0 -3
- package/dist/components/DatePicker/DatePicker.d.ts +0 -7
- package/dist/components/DatePicker/DatePicker.types.d.ts +0 -9
- package/dist/components/DatePicker/index.d.ts +0 -3
- package/dist/components/Descriptions/Descriptions.d.ts +0 -6
- package/dist/components/Descriptions/Descriptions.types.d.ts +0 -6
- package/dist/components/Descriptions/index.d.ts +0 -3
- package/dist/components/Divider/Divider.d.ts +0 -4
- package/dist/components/Divider/Divider.types.d.ts +0 -3
- package/dist/components/Divider/index.d.ts +0 -3
- package/dist/components/Drawer/Drawer.d.ts +0 -4
- package/dist/components/Drawer/Drawer.types.d.ts +0 -3
- package/dist/components/Drawer/index.d.ts +0 -3
- package/dist/components/Dropdown/Dropdown.d.ts +0 -3
- package/dist/components/Dropdown/Dropdown.types.d.ts +0 -5
- package/dist/components/Dropdown/index.d.ts +0 -3
- package/dist/components/Empty/Empty.d.ts +0 -2
- package/dist/components/Empty/Empty.types.d.ts +0 -3
- package/dist/components/Empty/index.d.ts +0 -3
- package/dist/components/ErrorPage/ErrorPage.d.ts +0 -3
- package/dist/components/ErrorPage/ErrorPage.types.d.ts +0 -13
- package/dist/components/ErrorPage/index.d.ts +0 -3
- package/dist/components/Flex/Flex.d.ts +0 -4
- package/dist/components/Flex/Flex.types.d.ts +0 -3
- package/dist/components/Flex/index.d.ts +0 -3
- package/dist/components/FloatButton/FloatButton.d.ts +0 -2
- package/dist/components/FloatButton/FloatButton.types.d.ts +0 -3
- package/dist/components/FloatButton/index.d.ts +0 -3
- package/dist/components/Form/Form.d.ts +0 -15
- package/dist/components/Form/Form.types.d.ts +0 -5
- package/dist/components/Form/index.d.ts +0 -2
- package/dist/components/Grid/index.d.ts +0 -2
- package/dist/components/Icons/Icons.d.ts +0 -19
- package/dist/components/Icons/index.d.ts +0 -1
- package/dist/components/Image/Image.d.ts +0 -6
- package/dist/components/Image/Image.types.d.ts +0 -6
- package/dist/components/Image/index.d.ts +0 -3
- package/dist/components/ImgCrop/ImgCrop.d.ts +0 -4
- package/dist/components/ImgCrop/index.d.ts +0 -1
- package/dist/components/Input/Input.d.ts +0 -9
- package/dist/components/Input/Input.types.d.ts +0 -17
- package/dist/components/Input/index.d.ts +0 -3
- package/dist/components/InputNumber/InputNumber.d.ts +0 -3
- package/dist/components/InputNumber/InputNumber.types.d.ts +0 -3
- package/dist/components/InputNumber/index.d.ts +0 -3
- package/dist/components/Layout/Layout.d.ts +0 -2
- package/dist/components/Layout/Layout.types.d.ts +0 -3
- package/dist/components/Layout/index.d.ts +0 -3
- package/dist/components/LazyLoadImage/LazyLoadImage.d.ts +0 -3
- package/dist/components/LazyLoadImage/LazyLoadImage.types.d.ts +0 -3
- package/dist/components/LazyLoadImage/index.d.ts +0 -1
- package/dist/components/List/List.d.ts +0 -10
- package/dist/components/List/List.types.d.ts +0 -8
- package/dist/components/List/index.d.ts +0 -3
- package/dist/components/MainLayout/AppMenu/AppMenu.d.ts +0 -13
- package/dist/components/MainLayout/AppMenu/index.d.ts +0 -1
- package/dist/components/MainLayout/Content/Content.d.ts +0 -3
- package/dist/components/MainLayout/Content/Content.types.d.ts +0 -3
- package/dist/components/MainLayout/Content/index.d.ts +0 -2
- package/dist/components/MainLayout/Header/Header.d.ts +0 -3
- package/dist/components/MainLayout/Header/Header.types.d.ts +0 -90
- package/dist/components/MainLayout/Header/Notification.d.ts +0 -11
- package/dist/components/MainLayout/Header/index.d.ts +0 -2
- package/dist/components/MainLayout/MainLayout.d.ts +0 -14
- package/dist/components/MainLayout/MainLayout.types.d.ts +0 -97
- package/dist/components/MainLayout/SideBarMenu/SideBarMenu.d.ts +0 -10
- package/dist/components/MainLayout/SideBarMenu/SideBarMenu.types.d.ts +0 -27
- package/dist/components/MainLayout/SideBarMenu/index.d.ts +0 -2
- package/dist/components/MainLayout/index.d.ts +0 -4
- package/dist/components/Mentions/Mentions.d.ts +0 -2
- package/dist/components/Mentions/Mentions.types.d.ts +0 -2
- package/dist/components/Mentions/index.d.ts +0 -2
- package/dist/components/Menu/Menu.d.ts +0 -2
- package/dist/components/Menu/Menu.types.d.ts +0 -8
- package/dist/components/Menu/index.d.ts +0 -2
- package/dist/components/Message/Message.d.ts +0 -2
- package/dist/components/Message/Message.types.d.ts +0 -0
- package/dist/components/Message/index.d.ts +0 -1
- package/dist/components/Modal/Modal.d.ts +0 -13
- package/dist/components/Modal/Modal.types.d.ts +0 -19
- package/dist/components/Modal/index.d.ts +0 -3
- package/dist/components/Notification/Notification.d.ts +0 -2
- package/dist/components/Notification/index.d.ts +0 -1
- package/dist/components/Pagination/Pagination.d.ts +0 -4
- package/dist/components/Pagination/Pagination.types.d.ts +0 -3
- package/dist/components/Pagination/index.d.ts +0 -3
- package/dist/components/Popconfirm/Popconfirm.d.ts +0 -4
- package/dist/components/Popconfirm/Popconfirm.types.d.ts +0 -8
- package/dist/components/Popconfirm/index.d.ts +0 -3
- package/dist/components/Popover/Popover.d.ts +0 -3
- package/dist/components/Popover/Popover.types.d.ts +0 -5
- package/dist/components/Popover/index.d.ts +0 -3
- package/dist/components/Progress/Progress.d.ts +0 -2
- package/dist/components/Progress/Progress.types.d.ts +0 -3
- package/dist/components/Progress/index.d.ts +0 -3
- package/dist/components/QRCode/QRCode.d.ts +0 -4
- package/dist/components/QRCode/QRCode.types.d.ts +0 -3
- package/dist/components/QRCode/index.d.ts +0 -3
- package/dist/components/Radio/Radio.d.ts +0 -6
- package/dist/components/Radio/Radio.types.d.ts +0 -5
- package/dist/components/Radio/index.d.ts +0 -3
- package/dist/components/Rate/Rate.d.ts +0 -4
- package/dist/components/Rate/Rate.types.d.ts +0 -3
- package/dist/components/Rate/index.d.ts +0 -3
- package/dist/components/Row/Row.d.ts +0 -3
- package/dist/components/Row/Row.types.d.ts +0 -4
- package/dist/components/Row/index.d.ts +0 -3
- package/dist/components/ScrollView/ScrollView.d.ts +0 -4
- package/dist/components/ScrollView/ScrollView.types.d.ts +0 -4
- package/dist/components/ScrollView/index.d.ts +0 -3
- package/dist/components/Segmented/Segmented.d.ts +0 -4
- package/dist/components/Segmented/Segmented.types.d.ts +0 -3
- package/dist/components/Segmented/index.d.ts +0 -3
- package/dist/components/Select/Select.d.ts +0 -7
- package/dist/components/Select/Select.types.d.ts +0 -19
- package/dist/components/Select/index.d.ts +0 -3
- package/dist/components/SelectField/SelectField.d.ts +0 -3
- package/dist/components/SelectField/SelectField.types.d.ts +0 -10
- package/dist/components/SelectField/index.d.ts +0 -3
- package/dist/components/Skeleton/Skeleton.d.ts +0 -2
- package/dist/components/Skeleton/Skeleton.types.d.ts +0 -3
- package/dist/components/Skeleton/index.d.ts +0 -3
- package/dist/components/Slider/Slider.d.ts +0 -4
- package/dist/components/Slider/Slider.types.d.ts +0 -5
- package/dist/components/Slider/index.d.ts +0 -3
- package/dist/components/Space/Space.d.ts +0 -2
- package/dist/components/Space/Space.types.d.ts +0 -3
- package/dist/components/Space/index.d.ts +0 -2
- package/dist/components/Spin/Spin.d.ts +0 -3
- package/dist/components/Spin/Spin.types.d.ts +0 -4
- package/dist/components/Spin/index.d.ts +0 -3
- package/dist/components/Statistic/Statistic.d.ts +0 -4
- package/dist/components/Statistic/Statistic.types.d.ts +0 -3
- package/dist/components/Statistic/index.d.ts +0 -3
- package/dist/components/Steps/Steps.d.ts +0 -2
- package/dist/components/Steps/Steps.types.d.ts +0 -5
- package/dist/components/Steps/index.d.ts +0 -3
- package/dist/components/Switch/Switch.d.ts +0 -4
- package/dist/components/Switch/Switch.types.d.ts +0 -3
- package/dist/components/Switch/index.d.ts +0 -3
- package/dist/components/Table/ResizeableTitle.d.ts +0 -2
- package/dist/components/Table/Table.d.ts +0 -4
- package/dist/components/Table/Table.types.d.ts +0 -33
- package/dist/components/Table/index.d.ts +0 -3
- package/dist/components/Tabs/Tabs.d.ts +0 -6
- package/dist/components/Tabs/Tabs.types.d.ts +0 -9
- package/dist/components/Tabs/index.d.ts +0 -3
- package/dist/components/Tag/Tag.d.ts +0 -4
- package/dist/components/Tag/Tag.types.d.ts +0 -3
- package/dist/components/Tag/index.d.ts +0 -3
- package/dist/components/TextEditor/BubbleMenu/TextEditorBubbleMenu.d.ts +0 -27
- package/dist/components/TextEditor/ColorPicker/ColorPicker.component.d.ts +0 -6
- package/dist/components/TextEditor/FontSize/index.d.ts +0 -2
- package/dist/components/TextEditor/Image/NodeView.d.ts +0 -14
- package/dist/components/TextEditor/Image/icons/index.d.ts +0 -6
- package/dist/components/TextEditor/Image/index.d.ts +0 -28
- package/dist/components/TextEditor/Image/resizableMediaMenuUtil.d.ts +0 -9
- package/dist/components/TextEditor/Image/upload_image.d.ts +0 -7
- package/dist/components/TextEditor/MentionList.d.ts +0 -3
- package/dist/components/TextEditor/Menu/Menu.component.d.ts +0 -6
- package/dist/components/TextEditor/Menu/index.d.ts +0 -1
- package/dist/components/TextEditor/SmilieReplacer.d.ts +0 -2
- package/dist/components/TextEditor/Suggestions/EditorSuggestionsInlineRender.d.ts +0 -10
- package/dist/components/TextEditor/Suggestions/Mention.d.ts +0 -6
- package/dist/components/TextEditor/Suggestions/MentionExtension.d.ts +0 -2
- package/dist/components/TextEditor/Suggestions/MentionList.d.ts +0 -8
- package/dist/components/TextEditor/Suggestions/Suggestions.d.ts +0 -2
- package/dist/components/TextEditor/TableTools/TableTools.component.d.ts +0 -11
- package/dist/components/TextEditor/TextBubbleMenu/TextBubbleMenu.d.ts +0 -6
- package/dist/components/TextEditor/TextEditor.d.ts +0 -11
- package/dist/components/TextEditor/TextEditor.types.d.ts +0 -71
- package/dist/components/TextEditor/components/ActionButton.d.ts +0 -0
- package/dist/components/TextEditor/index.d.ts +0 -3
- package/dist/components/TimePicker/TimePicker.d.ts +0 -7
- package/dist/components/TimePicker/TimePicker.types.d.ts +0 -5
- package/dist/components/TimePicker/index.d.ts +0 -3
- package/dist/components/Timeline/Timeline.d.ts +0 -2
- package/dist/components/Timeline/Timeline.types.d.ts +0 -6
- package/dist/components/Timeline/index.d.ts +0 -3
- package/dist/components/Tooltip/Tooltip.d.ts +0 -4
- package/dist/components/Tooltip/Tooltip.types.d.ts +0 -2
- package/dist/components/Tooltip/index.d.ts +0 -3
- package/dist/components/Tour/Tour.d.ts +0 -4
- package/dist/components/Tour/Tour.types.d.ts +0 -3
- package/dist/components/Tour/index.d.ts +0 -3
- package/dist/components/Tree/Tree.d.ts +0 -4
- package/dist/components/Tree/Tree.types.d.ts +0 -3
- package/dist/components/Tree/index.d.ts +0 -3
- package/dist/components/TreeSelect/TreeSelect.d.ts +0 -8
- package/dist/components/TreeSelect/TreeSelect.types.d.ts +0 -10
- package/dist/components/TreeSelect/index.d.ts +0 -3
- package/dist/components/TreeSelectField/TreeSelectField.d.ts +0 -3
- package/dist/components/TreeSelectField/TreeSelectField.types.d.ts +0 -7
- package/dist/components/TreeSelectField/index.d.ts +0 -2
- package/dist/components/Typography/Typography.d.ts +0 -10
- package/dist/components/Typography/Typography.types.d.ts +0 -10
- package/dist/components/Typography/index.d.ts +0 -3
- package/dist/components/Upload/Upload.d.ts +0 -10
- package/dist/components/Upload/Upload.types.d.ts +0 -8
- package/dist/components/Upload/index.d.ts +0 -3
- package/dist/components/VideoPlayer/VideoPlayer.d.ts +0 -4
- package/dist/components/VideoPlayer/VideoPlayer.types.d.ts +0 -19
- package/dist/components/VideoPlayer/index.d.ts +0 -3
- package/dist/components/VirtualList/VirtualList.d.ts +0 -4
- package/dist/components/VirtualList/VirtualList.types.d.ts +0 -36
- package/dist/components/VirtualList/index.d.ts +0 -3
- package/dist/components/index.d.ts +0 -82
- package/dist/data/LocalesTexts/EnglishTexts.d.ts +0 -67
- package/dist/data/LocalesTexts/VietnameseTexts.d.ts +0 -67
- package/dist/data/Permissions.d.ts +0 -5
- package/dist/data/SideBarMenu.d.ts +0 -2
- package/dist/hooks/ConfigHooks.d.ts +0 -10
- package/dist/hooks/DeviceHook.d.ts +0 -6
- package/dist/hooks/GlobalHooks.d.ts +0 -1
- package/dist/hooks/LocaleHook.d.ts +0 -69
- package/dist/hooks/i18n.d.ts +0 -7
- package/dist/hooks/index.d.ts +0 -5
- package/dist/main.css +0 -1
- package/dist/main.d.ts +0 -5
- package/dist/models/Core/Result.d.ts +0 -7
- package/dist/models/Core/index.d.ts +0 -2
- package/dist/models/Layout/MenuModel.d.ts +0 -16
- package/dist/models/Layout/SideBarMenuModel.d.ts +0 -5
- package/dist/models/Layout/index.d.ts +0 -2
- package/dist/models/NotificationModel.d.ts +0 -12
- package/dist/models/PersonalProfileModel.d.ts +0 -28
- package/dist/models/Session/IServiceUser.d.ts +0 -3
- package/dist/models/Session/IWebSessionContext.d.ts +0 -21
- package/dist/models/Session/index.d.ts +0 -3
- package/dist/models/SupportContactModel.d.ts +0 -8
- package/dist/models/index.d.ts +0 -6
- package/dist/services/DataService.d.ts +0 -4
- package/dist/services/FormatDateTimeService.d.ts +0 -13
- package/dist/services/LayoutService.d.ts +0 -11
- package/dist/services/NotificationService.d.ts +0 -24
- package/dist/services/Service.d.ts +0 -1
- package/dist/services/index.d.ts +0 -4
- package/dist/styles/components/layout/test.d.ts +0 -0
- package/dist/styles/font.d.ts +0 -0
- package/dist/theme/index.d.ts +0 -1
- package/dist/theme/styles.d.ts +0 -62
- package/dist/vite.svg +0 -1
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { DatePickerProps as AntDatePickerProps } from "antd";
|
|
2
|
-
import { PopupPosition } from "..";
|
|
3
|
-
import { RangePickerProps } from "antd/es/date-picker";
|
|
4
|
-
export type DatePickerProps = AntDatePickerProps & {
|
|
5
|
-
position?: PopupPosition;
|
|
6
|
-
status?: "" | "warning" | "danger" | undefined;
|
|
7
|
-
popupClassName?: string | undefined;
|
|
8
|
-
};
|
|
9
|
-
export type { RangePickerProps };
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { DescriptionsProps as AntDescriptionsProps } from "antd";
|
|
2
|
-
import { DescriptionsItemProps as AntDescriptionsItemProps } from "antd/lib/descriptions/Item";
|
|
3
|
-
export interface DescriptionsProps extends AntDescriptionsProps {
|
|
4
|
-
}
|
|
5
|
-
export interface DescriptionsItemProps extends AntDescriptionsItemProps {
|
|
6
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
export type ErrorCode = 100 | 400 | 401 | 404;
|
|
2
|
-
export interface ErrorButtonProps {
|
|
3
|
-
onClick?: () => void;
|
|
4
|
-
text?: string;
|
|
5
|
-
icon?: React.ReactNode;
|
|
6
|
-
url?: string;
|
|
7
|
-
}
|
|
8
|
-
export interface ErrorPageProps {
|
|
9
|
-
errorText: string;
|
|
10
|
-
text?: string;
|
|
11
|
-
buttonProps?: ErrorButtonProps;
|
|
12
|
-
errorCode?: ErrorCode;
|
|
13
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { FormItemProps, FormProps } from ".";
|
|
3
|
-
import { FormListProps } from "antd/lib/form";
|
|
4
|
-
declare const antUseForm: typeof import("antd/es/form/Form").useForm;
|
|
5
|
-
declare const antUseWatch: typeof import("rc-field-form").useWatch;
|
|
6
|
-
declare const antUseFormInstance: typeof import("antd/es/form/hooks/useFormInstance").default;
|
|
7
|
-
export declare const Item: React.FunctionComponent<FormItemProps>;
|
|
8
|
-
declare const Form: React.FunctionComponent<FormProps> & {
|
|
9
|
-
Item: React.FunctionComponent<FormItemProps>;
|
|
10
|
-
useForm: typeof antUseForm;
|
|
11
|
-
useWatch: typeof antUseWatch;
|
|
12
|
-
useFormInstance: typeof antUseFormInstance;
|
|
13
|
-
List: React.FC<FormListProps>;
|
|
14
|
-
};
|
|
15
|
-
export default Form;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
interface IconProps {
|
|
2
|
-
size?: number;
|
|
3
|
-
}
|
|
4
|
-
export declare const MinusSquareIcon: () => import("react/jsx-runtime").JSX.Element;
|
|
5
|
-
export declare const AddSquareIcon: () => import("react/jsx-runtime").JSX.Element;
|
|
6
|
-
export declare const SorterIcon: ({ size }: IconProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
-
export declare const AscendingIcon: ({ size }: IconProps) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
-
export declare const DescendingIcon: ({ size }: IconProps) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
-
export declare const TickSquareIcon: () => import("react/jsx-runtime").JSX.Element;
|
|
10
|
-
export declare const SquareIcon: () => import("react/jsx-runtime").JSX.Element;
|
|
11
|
-
export declare const CloseIcon: () => import("react/jsx-runtime").JSX.Element;
|
|
12
|
-
export declare const UserIcon: () => import("react/jsx-runtime").JSX.Element;
|
|
13
|
-
export declare const Image100: () => import("react/jsx-runtime").JSX.Element;
|
|
14
|
-
export declare const Image401: () => import("react/jsx-runtime").JSX.Element;
|
|
15
|
-
export declare const Image404: () => import("react/jsx-runtime").JSX.Element;
|
|
16
|
-
export declare const DefaultAvatar: () => import("react/jsx-runtime").JSX.Element;
|
|
17
|
-
export declare const VolumeLow1OutlinedSVG: () => import("react/jsx-runtime").JSX.Element;
|
|
18
|
-
export declare const VolumeHighOutlinedSVG: () => import("react/jsx-runtime").JSX.Element;
|
|
19
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./Icons";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default as ImgCrop } from "./ImgCrop";
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { GroupProps, InputProps, PasswordProps, SearchProps, TextAreaProps } from ".";
|
|
3
|
-
declare const Input: React.FunctionComponent<InputProps> & {
|
|
4
|
-
TextArea: React.FunctionComponent<TextAreaProps>;
|
|
5
|
-
Search: React.FunctionComponent<SearchProps>;
|
|
6
|
-
Group: React.FunctionComponent<GroupProps>;
|
|
7
|
-
Password: React.FunctionComponent<PasswordProps>;
|
|
8
|
-
};
|
|
9
|
-
export default Input;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { InputProps as AntInputProps } from "antd";
|
|
2
|
-
import { TextAreaProps as AntTextAreaProps } from "antd/lib/input/TextArea";
|
|
3
|
-
import { SearchProps as AntSearchProps, GroupProps as AntGroupProps, PasswordProps as AntPasswordProps } from "antd/lib/input";
|
|
4
|
-
export interface InputProps extends AntInputProps {
|
|
5
|
-
isColorPicker?: boolean;
|
|
6
|
-
isFlat?: boolean;
|
|
7
|
-
}
|
|
8
|
-
export interface TextAreaProps extends AntTextAreaProps {
|
|
9
|
-
isFlat?: boolean;
|
|
10
|
-
}
|
|
11
|
-
export interface SearchProps extends AntSearchProps {
|
|
12
|
-
}
|
|
13
|
-
export interface PasswordProps extends AntPasswordProps {
|
|
14
|
-
isFlat?: boolean;
|
|
15
|
-
}
|
|
16
|
-
export interface GroupProps extends AntGroupProps {
|
|
17
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default as LazyLoadImage } from "./LazyLoadImage";
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { ListItemMetaProps, ListItemProps, ListProps } from ".";
|
|
3
|
-
type ListComponent = {
|
|
4
|
-
<T = any>(props: ListProps<T>): React.ReactElement;
|
|
5
|
-
Item: React.FunctionComponent<ListItemProps> & {
|
|
6
|
-
Meta: React.FunctionComponent<ListItemMetaProps>;
|
|
7
|
-
};
|
|
8
|
-
};
|
|
9
|
-
declare const List: ListComponent;
|
|
10
|
-
export default List;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { ListProps as AntListProps } from "antd";
|
|
2
|
-
import { ListItemProps as AntListItemProps, ListItemMetaProps as AntListItemMetaProps } from "antd/lib/list/Item";
|
|
3
|
-
export interface ListProps<T> extends AntListProps<T> {
|
|
4
|
-
}
|
|
5
|
-
export interface ListItemProps extends AntListItemProps {
|
|
6
|
-
}
|
|
7
|
-
export interface ListItemMetaProps extends AntListItemMetaProps {
|
|
8
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { ApplicationsCardItem } from "../../ApplicationsCard";
|
|
2
|
-
import { LANGUAGE } from "../../../components";
|
|
3
|
-
interface AppMenuProps {
|
|
4
|
-
logoUrl: string;
|
|
5
|
-
applicationsCardData: ApplicationsCardItem[];
|
|
6
|
-
currentApp: string;
|
|
7
|
-
totalDisplay?: number;
|
|
8
|
-
userTheme?: string;
|
|
9
|
-
onChangeTheme?: (theme: string) => Promise<void>;
|
|
10
|
-
lang: LANGUAGE;
|
|
11
|
-
}
|
|
12
|
-
export declare const AppMenu: (props: AppMenuProps) => import("react/jsx-runtime").JSX.Element;
|
|
13
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./AppMenu";
|
|
@@ -1,90 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { PersonalProfileModel, SupportContactModel } from "../../../models";
|
|
3
|
-
import { ApplicationsCardItem, ApplicationsCardProps } from "../../ApplicationsCard";
|
|
4
|
-
import { MenuItemType } from "../../Menu";
|
|
5
|
-
import { LANGUAGE } from "../../ConfigProvider";
|
|
6
|
-
import { MainLayoutConfig } from "../MainLayout.types";
|
|
7
|
-
export type NotiType = "All" | "Unseen";
|
|
8
|
-
export type NotiStatus = "Read" | "Unread";
|
|
9
|
-
export type Theme = "Light" | "Dark";
|
|
10
|
-
export interface AppTheme {
|
|
11
|
-
fontFamily?: string;
|
|
12
|
-
primaryColor1?: string;
|
|
13
|
-
primaryColor2?: string;
|
|
14
|
-
primaryColor3?: string;
|
|
15
|
-
primaryColor4?: string;
|
|
16
|
-
primaryColor5?: string;
|
|
17
|
-
primaryColor6?: string;
|
|
18
|
-
theme?: "default" | "new";
|
|
19
|
-
appMenu?: {
|
|
20
|
-
items: ApplicationsCardItem[];
|
|
21
|
-
totalDisplay?: number;
|
|
22
|
-
};
|
|
23
|
-
}
|
|
24
|
-
export interface ExtraHeaderProps {
|
|
25
|
-
appTheme?: string;
|
|
26
|
-
onChangeTheme?: (theme: AppTheme) => Promise<void>;
|
|
27
|
-
}
|
|
28
|
-
export interface HeaderProps extends ApplicationsCardProps {
|
|
29
|
-
logoUrl: string;
|
|
30
|
-
collapsed: boolean;
|
|
31
|
-
toggleCollapse?: () => void;
|
|
32
|
-
avatarUrl?: string;
|
|
33
|
-
avatarThumbnailUrl?: string;
|
|
34
|
-
isMobile: boolean;
|
|
35
|
-
profileMenuItems?: MenuItemType[];
|
|
36
|
-
homePageUrl: string;
|
|
37
|
-
customHeader?: React.ReactNode;
|
|
38
|
-
supportContactData: SupportContactModel[];
|
|
39
|
-
notification?: NotificationProps;
|
|
40
|
-
LinkComponent: any;
|
|
41
|
-
isSwitchTheme?: boolean;
|
|
42
|
-
onSwitchedTheme?: (theme: Theme) => void;
|
|
43
|
-
theme?: ThemeModel;
|
|
44
|
-
onChangeLocale?: (locale: LANGUAGE) => void;
|
|
45
|
-
lang: LANGUAGE;
|
|
46
|
-
scrolled?: boolean;
|
|
47
|
-
personalProfile: PersonalProfileModel;
|
|
48
|
-
config?: MainLayoutConfig;
|
|
49
|
-
isShowCollapseButton?: boolean;
|
|
50
|
-
headerTitle?: string;
|
|
51
|
-
}
|
|
52
|
-
export type ThemeModel = {
|
|
53
|
-
getApi?: string;
|
|
54
|
-
updateApi?: string;
|
|
55
|
-
params?: any;
|
|
56
|
-
mode?: Theme;
|
|
57
|
-
};
|
|
58
|
-
export interface NotificationType {
|
|
59
|
-
title?: string;
|
|
60
|
-
notifications: NotificationItemType[];
|
|
61
|
-
unseenNotifications: NotificationItemType[];
|
|
62
|
-
onReadAll?: () => void;
|
|
63
|
-
onChangeStatus?: (ids: number[], status: NotiStatus) => void;
|
|
64
|
-
onClickNotificationItem?: (item: NotificationItemType) => void;
|
|
65
|
-
onLoadData: (type: NotiType, page: number, pageSize: number) => Promise<void>;
|
|
66
|
-
totalNumber: number;
|
|
67
|
-
unseenTotal: number;
|
|
68
|
-
defaultIconUrl?: string;
|
|
69
|
-
}
|
|
70
|
-
export interface NotificationProps extends NotificationType {
|
|
71
|
-
visible?: boolean;
|
|
72
|
-
number?: number;
|
|
73
|
-
onClick?: () => void;
|
|
74
|
-
}
|
|
75
|
-
export interface NotiItemProps {
|
|
76
|
-
}
|
|
77
|
-
export interface NotificationItemType {
|
|
78
|
-
id: number;
|
|
79
|
-
type: string;
|
|
80
|
-
from: string;
|
|
81
|
-
content: string;
|
|
82
|
-
time: string;
|
|
83
|
-
isRead: boolean;
|
|
84
|
-
isSeen: boolean;
|
|
85
|
-
url: string;
|
|
86
|
-
}
|
|
87
|
-
export interface NotificationRef {
|
|
88
|
-
fetchNotifications: (type: NotiType, isReload?: boolean) => void;
|
|
89
|
-
}
|
|
90
|
-
export type HeaderRef = NotificationRef;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { NotificationRef, NotificationType } from "./Header.types";
|
|
2
|
-
import { ApplicationsCardItem } from "../../ApplicationsCard/ApplicationsCard.types";
|
|
3
|
-
interface NotificationProps extends NotificationType {
|
|
4
|
-
applicationsCardData: ApplicationsCardItem[];
|
|
5
|
-
LinkComponent: any;
|
|
6
|
-
}
|
|
7
|
-
export interface NotiRef extends NotificationRef {
|
|
8
|
-
setShowSelect: (visible: boolean) => void;
|
|
9
|
-
}
|
|
10
|
-
export declare const Notification: import("react").ForwardRefExoticComponent<NotificationProps & import("react").RefAttributes<NotiRef>>;
|
|
11
|
-
export {};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { MainLayoutConfig, MainLayoutProps } from ".";
|
|
2
|
-
import { AppTheme, MainTheme, UserConfig } from "../../main";
|
|
3
|
-
interface AppContextProps {
|
|
4
|
-
LinkComponent?: any;
|
|
5
|
-
mainLayoutConfig: MainLayoutConfig;
|
|
6
|
-
userConfig: UserConfig;
|
|
7
|
-
mainTheme?: MainTheme;
|
|
8
|
-
isHomeApp?: boolean;
|
|
9
|
-
appTheme?: AppTheme;
|
|
10
|
-
}
|
|
11
|
-
export declare const AppContext: import("react").Context<AppContextProps>;
|
|
12
|
-
export declare const DefaultAppTheme: AppTheme;
|
|
13
|
-
export declare const MainLayout: import("react").ForwardRefExoticComponent<MainLayoutProps & import("react").RefAttributes<import("./MainLayout.types").NotificationRef>>;
|
|
14
|
-
export {};
|
|
@@ -1,97 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { SideBarMenuProps } from "./SideBarMenu";
|
|
3
|
-
import { HeaderProps, NotificationRef } from "./Header";
|
|
4
|
-
import { SideBarMenuModel } from "../../models";
|
|
5
|
-
export type MainTheme = "Beca" | "Office" | "SHE";
|
|
6
|
-
export interface MainLayoutProps extends Omit<SideBarMenuProps, "sideBarMenus">, HeaderProps {
|
|
7
|
-
children?: React.ReactNode;
|
|
8
|
-
onChangeCollapse?: (collapsed: boolean) => void;
|
|
9
|
-
sideBarMenus: SideBarMenuModel[] | (() => SideBarMenuModel[]);
|
|
10
|
-
LinkComponent: any;
|
|
11
|
-
isSwitchTheme?: boolean;
|
|
12
|
-
className?: string;
|
|
13
|
-
customSideBar?: React.ReactNode;
|
|
14
|
-
userConfig: UserConfig;
|
|
15
|
-
mainTheme?: MainTheme;
|
|
16
|
-
isHomeApp?: boolean;
|
|
17
|
-
appMenuTotalDisplay?: number;
|
|
18
|
-
appTheme?: {
|
|
19
|
-
userTheme?: string | undefined;
|
|
20
|
-
adminTheme?: string | undefined;
|
|
21
|
-
onChangeTheme?: (theme: string) => Promise<void>;
|
|
22
|
-
};
|
|
23
|
-
}
|
|
24
|
-
export interface UserConfig {
|
|
25
|
-
showEventTheme?: boolean;
|
|
26
|
-
}
|
|
27
|
-
export * from "./Header/Header.types";
|
|
28
|
-
export type MainLayoutRef = NotificationRef;
|
|
29
|
-
interface MainLayoutHeaderConfig {
|
|
30
|
-
chat?: {
|
|
31
|
-
visible?: boolean;
|
|
32
|
-
};
|
|
33
|
-
theme?: {
|
|
34
|
-
visible?: boolean;
|
|
35
|
-
};
|
|
36
|
-
notification?: {
|
|
37
|
-
visible: boolean;
|
|
38
|
-
};
|
|
39
|
-
language?: {
|
|
40
|
-
visible?: boolean;
|
|
41
|
-
};
|
|
42
|
-
app?: {
|
|
43
|
-
visible?: boolean;
|
|
44
|
-
};
|
|
45
|
-
support?: {
|
|
46
|
-
visible: boolean;
|
|
47
|
-
};
|
|
48
|
-
profile?: {
|
|
49
|
-
visible?: boolean;
|
|
50
|
-
customizeTheme?: {
|
|
51
|
-
visible?: boolean;
|
|
52
|
-
};
|
|
53
|
-
};
|
|
54
|
-
}
|
|
55
|
-
export interface MainLayoutConfig {
|
|
56
|
-
header?: MainLayoutHeaderConfig;
|
|
57
|
-
layout?: {
|
|
58
|
-
showEventTheme?: boolean;
|
|
59
|
-
};
|
|
60
|
-
}
|
|
61
|
-
export declare const DEFAULT_MAIN_LAYOUT_CONFIG: MainLayoutConfig;
|
|
62
|
-
export declare const DEFAULT_USER_CONFIG: UserConfig;
|
|
63
|
-
interface HiddenMenu {
|
|
64
|
-
path: string;
|
|
65
|
-
}
|
|
66
|
-
interface CustomMenu {
|
|
67
|
-
path: string;
|
|
68
|
-
replaceUrl?: string;
|
|
69
|
-
label?: string;
|
|
70
|
-
labelEN?: string;
|
|
71
|
-
}
|
|
72
|
-
export declare const BECA_MODULES: string[];
|
|
73
|
-
interface SettingLayoutConfigFunction {
|
|
74
|
-
workflow: any;
|
|
75
|
-
homePage: any;
|
|
76
|
-
mail: any;
|
|
77
|
-
calendar: any;
|
|
78
|
-
work: any;
|
|
79
|
-
library: any;
|
|
80
|
-
documentary: any;
|
|
81
|
-
contact: any;
|
|
82
|
-
social: any;
|
|
83
|
-
chat: any;
|
|
84
|
-
crm: any;
|
|
85
|
-
eam: any;
|
|
86
|
-
fsm: any;
|
|
87
|
-
}
|
|
88
|
-
export interface SettingLayoutConfigType {
|
|
89
|
-
layout: string;
|
|
90
|
-
css?: string;
|
|
91
|
-
hiddenMenu: HiddenMenu[];
|
|
92
|
-
customMenu: CustomMenu[];
|
|
93
|
-
defaultWorkflowPriority: string;
|
|
94
|
-
mainTheme: MainTheme;
|
|
95
|
-
functions: Partial<SettingLayoutConfigFunction>;
|
|
96
|
-
}
|
|
97
|
-
export declare const DEFAULT_SETTING_LAYOUT_CONFIG: SettingLayoutConfigType;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { SideBarMenu2Props } from "./SideBarMenu.types";
|
|
3
|
-
interface LinkProps {
|
|
4
|
-
LinkComponent: any;
|
|
5
|
-
to: string;
|
|
6
|
-
children: React.ReactNode;
|
|
7
|
-
}
|
|
8
|
-
export declare const Link: (props: LinkProps) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
-
export declare const SideBarMenu: React.FunctionComponent<SideBarMenu2Props>;
|
|
10
|
-
export {};
|