@bit-sun/business-component 3.1.9 → 4.0.0-alpha.2
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/components/Business/CommonGuideWrapper/index.d.ts +2 -2
- package/dist/components/Common/ExtendedCollapse/ExtendedPanel.d.ts +10 -0
- package/dist/components/Common/ExtendedCollapse/index.d.ts +7 -0
- package/dist/components/Common/Section/index.d.ts +29 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.esm.js +302 -286
- package/dist/index.js +302 -285
- package/dist/utils/utils.d.ts +0 -1
- package/package.json +14 -9
- package/src/styles/bsDefault.less +0 -4
- package/.editorconfig +0 -16
- package/.fatherrc.ts +0 -5
- package/.gitlab-ci.yml +0 -179
- package/.prettierignore +0 -7
- package/.prettierrc +0 -11
- package/.umirc.ts +0 -74
- package/docs/index.md +0 -21
- package/src/assets/32.svg +0 -28
- package/src/assets/addIcon.svg +0 -18
- package/src/assets/allfunc.svg +0 -28
- package/src/assets/arrowRight.svg +0 -25
- package/src/assets/arrow_top.png +0 -0
- package/src/assets/arrow_top.svg +0 -18
- package/src/assets/btn-delete.svg +0 -30
- package/src/assets/btn-edit.svg +0 -20
- package/src/assets/btn-more.svg +0 -18
- package/src/assets/btn-submit.svg +0 -20
- package/src/assets/caidan.svg +0 -12
- package/src/assets/close.svg +0 -26
- package/src/assets/closeicon.png +0 -0
- package/src/assets/drag.svg +0 -17
- package/src/assets/exportFail.svg +0 -38
- package/src/assets/exportProcessing.svg +0 -29
- package/src/assets/exportSuccess.svg +0 -35
- package/src/assets/exportlogo.png +0 -0
- package/src/assets/fixed-left-active.svg +0 -12
- package/src/assets/fixed-left.svg +0 -16
- package/src/assets/fixed-right-active.svg +0 -12
- package/src/assets/fixed-right.svg +0 -16
- package/src/assets/guanbi.svg +0 -16
- package/src/assets/icon-quanping.svg +0 -16
- package/src/assets/icon-shezhi.svg +0 -18
- package/src/assets/label_icon_bottom.svg +0 -26
- package/src/assets/list-no-img.svg +0 -22
- package/src/assets/morentouxiang-32.svg +0 -24
- package/src/assets/right.png +0 -0
- package/src/assets/scanning.svg +0 -25
- package/src/assets/upExport.svg +0 -23
- package/src/assets/xinglan-icon-out.png +0 -0
- package/src/common/ENUM.ts +0 -41
- package/src/components/Business/AddSelectBusiness/index.md +0 -398
- package/src/components/Business/AddSelectBusiness/index.tsx +0 -1116
- package/src/components/Business/BsLayouts/Components/AllFunc/drawContent.tsx +0 -112
- package/src/components/Business/BsLayouts/Components/AllFunc/index.less +0 -153
- package/src/components/Business/BsLayouts/Components/AllFunc/index.tsx +0 -70
- package/src/components/Business/BsLayouts/Components/ChooseStore/index.less +0 -0
- package/src/components/Business/BsLayouts/Components/ChooseStore/index.tsx +0 -193
- package/src/components/Business/BsLayouts/Components/ChooseStore/services.ts +0 -10
- package/src/components/Business/BsLayouts/Components/CustomerMenu/MenuSetting/index.less +0 -90
- package/src/components/Business/BsLayouts/Components/CustomerMenu/MenuSetting/index.tsx +0 -38
- package/src/components/Business/BsLayouts/Components/CustomerMenu/MenuSetting/leftTree.tsx +0 -243
- package/src/components/Business/BsLayouts/Components/CustomerMenu/MenuSetting/rightTree.tsx +0 -385
- package/src/components/Business/BsLayouts/Components/CustomerMenu/globalMenu/DrawContent.tsx +0 -286
- package/src/components/Business/BsLayouts/Components/CustomerMenu/globalMenu/customMenuHeader.tsx +0 -75
- package/src/components/Business/BsLayouts/Components/CustomerMenu/globalMenu/drawContent.less +0 -171
- package/src/components/Business/BsLayouts/Components/CustomerMenu/index.less +0 -65
- package/src/components/Business/BsLayouts/Components/CustomerMenu/index.tsx +0 -154
- package/src/components/Business/BsLayouts/Components/GlobalHeader/index.less +0 -73
- package/src/components/Business/BsLayouts/Components/GlobalHeader/index.tsx +0 -163
- package/src/components/Business/BsLayouts/Components/RightContent/LoginModal.tsx +0 -85
- package/src/components/Business/BsLayouts/Components/RightContent/home.less +0 -218
- package/src/components/Business/BsLayouts/Components/RightContent/i18n.ts +0 -9
- package/src/components/Business/BsLayouts/Components/RightContent/index.tsx +0 -172
- package/src/components/Business/BsLayouts/Components/SearchFunc/index.less +0 -161
- package/src/components/Business/BsLayouts/Components/SearchFunc/index.tsx +0 -76
- package/src/components/Business/BsLayouts/index.less +0 -80
- package/src/components/Business/BsLayouts/index.tsx +0 -1606
- package/src/components/Business/BsLayouts/service.ts +0 -11
- package/src/components/Business/BsLayouts/utils.tsx +0 -205
- package/src/components/Business/BsSulaQueryTable/SearchItemSetting.tsx +0 -566
- package/src/components/Business/BsSulaQueryTable/bssulaquerytable.less +0 -5
- package/src/components/Business/BsSulaQueryTable/index.less +0 -228
- package/src/components/Business/BsSulaQueryTable/index.tsx +0 -766
- package/src/components/Business/BsSulaQueryTable/setting.tsx +0 -888
- package/src/components/Business/BsSulaQueryTable/utils.less +0 -65
- package/src/components/Business/BsSulaQueryTable/utils.tsx +0 -709
- package/src/components/Business/CommodityEntry/index.md +0 -84
- package/src/components/Business/CommodityEntry/index.tsx +0 -82
- package/src/components/Business/CommonAlert/index.less +0 -0
- package/src/components/Business/CommonAlert/index.tsx +0 -23
- package/src/components/Business/CommonGuideWrapper/index.less +0 -121
- package/src/components/Business/CommonGuideWrapper/index.md +0 -39
- package/src/components/Business/CommonGuideWrapper/index.tsx +0 -94
- package/src/components/Business/DetailPageWrapper/index.less +0 -87
- package/src/components/Business/DetailPageWrapper/index.tsx +0 -327
- package/src/components/Business/DetailPageWrapper/utils.tsx +0 -166
- package/src/components/Business/HomePageWrapper/index.less +0 -33
- package/src/components/Business/HomePageWrapper/index.md +0 -45
- package/src/components/Business/HomePageWrapper/index.tsx +0 -162
- package/src/components/Business/JsonQueryTable/components/FieldsModifyModal.tsx +0 -823
- package/src/components/Business/JsonQueryTable/components/FieldsSettingsTable.tsx +0 -206
- package/src/components/Business/JsonQueryTable/components/Formula.tsx +0 -205
- package/src/components/Business/JsonQueryTable/components/MaintainOptions.tsx +0 -127
- package/src/components/Business/JsonQueryTable/configButton/index.js +0 -20
- package/src/components/Business/JsonQueryTable/configTree/component/compactArrayView.js +0 -25
- package/src/components/Business/JsonQueryTable/configTree/component/compactObjectView.js +0 -30
- package/src/components/Business/JsonQueryTable/configTree/index.js +0 -82
- package/src/components/Business/JsonQueryTable/configTree/index.less +0 -44
- package/src/components/Business/JsonQueryTable/configTree/parser/highlight.js +0 -57
- package/src/components/Business/JsonQueryTable/configTree/parser/index.js +0 -124
- package/src/components/Business/JsonQueryTable/configTree/render/iconRender.js +0 -29
- package/src/components/Business/JsonQueryTable/configTree/render/nameRender.js +0 -22
- package/src/components/Business/JsonQueryTable/configTree/treeNode.js +0 -116
- package/src/components/Business/JsonQueryTable/drawer/index.tsx +0 -12
- package/src/components/Business/JsonQueryTable/function.ts +0 -62
- package/src/components/Business/JsonQueryTable/index.less +0 -17
- package/src/components/Business/JsonQueryTable/index.md +0 -328
- package/src/components/Business/JsonQueryTable/index.tsx +0 -534
- package/src/components/Business/JsonQueryTable/jsonEditor/index.js +0 -346
- package/src/components/Business/JsonQueryTable/jsonEditor/index.less +0 -22
- package/src/components/Business/JsonQueryTable/jsonEditor/lint/basicType.js +0 -147
- package/src/components/Business/JsonQueryTable/jsonEditor/lint/index.js +0 -389
- package/src/components/Business/JsonQueryTable/jsonEditor/suggestions/actions.js +0 -118
- package/src/components/Business/JsonQueryTable/jsonEditor/suggestions/dependency.js +0 -22
- package/src/components/Business/JsonQueryTable/jsonEditor/suggestions/index.js +0 -21
- package/src/components/Business/JsonQueryTable/jsonEditor/suggestions/request.js +0 -65
- package/src/components/Business/JsonQueryTable/static.ts +0 -450
- package/src/components/Business/SearchSelect/BusinessUtils.tsx +0 -2162
- package/src/components/Business/SearchSelect/common.ts +0 -134
- package/src/components/Business/SearchSelect/index.md +0 -1512
- package/src/components/Business/SearchSelect/index.tsx +0 -55
- package/src/components/Business/SearchSelect/utils.ts +0 -125
- package/src/components/Business/StateFlow/index.less +0 -131
- package/src/components/Business/StateFlow/index.md +0 -60
- package/src/components/Business/StateFlow/index.tsx +0 -30
- package/src/components/Business/TreeSearchSelect/index.md +0 -239
- package/src/components/Business/TreeSearchSelect/index.tsx +0 -33
- package/src/components/Business/TreeSearchSelect/utils.ts +0 -115
- package/src/components/Business/columnSettingTable/columnSetting.tsx +0 -817
- package/src/components/Business/columnSettingTable/index.less +0 -253
- package/src/components/Business/columnSettingTable/index.md +0 -373
- package/src/components/Business/columnSettingTable/index.tsx +0 -225
- package/src/components/Business/columnSettingTable/sulaSettingTable.tsx +0 -232
- package/src/components/Business/columnSettingTable/utils.tsx +0 -88
- package/src/components/Business/moreTreeTable/FixedScrollBar.tsx +0 -87
- package/src/components/Business/moreTreeTable/hooks/useSticky.ts +0 -21
- package/src/components/Business/moreTreeTable/index.less +0 -100
- package/src/components/Business/moreTreeTable/index.md +0 -448
- package/src/components/Business/moreTreeTable/index.tsx +0 -387
- package/src/components/Business/moreTreeTable/utils.ts +0 -127
- package/src/components/Functional/AccessWrapper/index.tsx +0 -34
- package/src/components/Functional/AddSelect/helps.ts +0 -81
- package/src/components/Functional/AddSelect/index.less +0 -367
- package/src/components/Functional/AddSelect/index.md +0 -155
- package/src/components/Functional/AddSelect/index.tsx +0 -1064
- package/src/components/Functional/AuthButton/index.tsx +0 -15
- package/src/components/Functional/BillEntry/index.less +0 -371
- package/src/components/Functional/BillEntry/index.md +0 -39
- package/src/components/Functional/BillEntry/index.tsx +0 -771
- package/src/components/Functional/BsAntdSula/BsCascader/index.md +0 -62
- package/src/components/Functional/BsAntdSula/BsCascader/index.tsx +0 -178
- package/src/components/Functional/BsAntdSula/index.ts +0 -2
- package/src/components/Functional/DataImport/index.less +0 -63
- package/src/components/Functional/DataImport/index.md +0 -44
- package/src/components/Functional/DataImport/index.tsx +0 -782
- package/src/components/Functional/DataValidation/index.less +0 -63
- package/src/components/Functional/DataValidation/index.md +0 -52
- package/src/components/Functional/DataValidation/index.tsx +0 -788
- package/src/components/Functional/EllipsisTooltip/index.d.ts +0 -5
- package/src/components/Functional/EllipsisTooltip/index.js +0 -36
- package/src/components/Functional/EllipsisTooltip/index.md +0 -30
- package/src/components/Functional/ExportFunctions/ExportIcon/index.md +0 -37
- package/src/components/Functional/ExportFunctions/ExportIcon/index.tsx +0 -65
- package/src/components/Functional/QueryMutipleInput/index.less +0 -37
- package/src/components/Functional/QueryMutipleInput/index.md +0 -33
- package/src/components/Functional/QueryMutipleInput/index.tsx +0 -129
- package/src/components/Functional/SearchSelect/index.less +0 -121
- package/src/components/Functional/SearchSelect/index.md +0 -141
- package/src/components/Functional/SearchSelect/index.tsx +0 -1041
- package/src/components/Functional/SearchSelect/utils.ts +0 -3
- package/src/components/Functional/TreeSearchSelect/index.md +0 -47
- package/src/components/Functional/TreeSearchSelect/index.tsx +0 -224
- package/src/components/Solution/RuleComponent/Formula.tsx +0 -335
- package/src/components/Solution/RuleComponent/InnerSelect.tsx +0 -62
- package/src/components/Solution/RuleComponent/RenderCompItem.tsx +0 -715
- package/src/components/Solution/RuleComponent/index.d.ts +0 -29
- package/src/components/Solution/RuleComponent/index.js +0 -1601
- package/src/components/Solution/RuleComponent/index.less +0 -247
- package/src/components/Solution/RuleComponent/renderSpecificAction.js +0 -99
- package/src/components/Solution/RuleComponent/ruleFiled.js +0 -2469
- package/src/components/Solution/RuleComponent/services.ts +0 -13
- package/src/components/Solution/RuleComponent/util.js +0 -143
- package/src/components/Solution/RuleSetter/RuleInstance.tsx +0 -6
- package/src/components/Solution/RuleSetter/baseRule.tsx +0 -394
- package/src/components/Solution/RuleSetter/function.ts +0 -437
- package/src/components/Solution/RuleSetter/index.less +0 -221
- package/src/components/Solution/RuleSetter/index.tsx +0 -208
- package/src/components/Solution/RuleSetter/service.js +0 -276
- package/src/index.ts +0 -41
- package/src/plugin/TableColumnSetting/index.less +0 -247
- package/src/plugin/TableColumnSetting/index.md +0 -50
- package/src/plugin/TableColumnSetting/index.tsx +0 -725
- package/src/plugin/TableColumnSetting/utils.ts +0 -19
- package/src/utils/CheckOneUser/index.md +0 -39
- package/src/utils/CheckOneUser/index.ts +0 -52
- package/src/utils/CustomLoginInfo.ts +0 -55
- package/src/utils/LocalstorageUtils.ts +0 -134
- package/src/utils/TableUtils.less +0 -52
- package/src/utils/TableUtils.tsx +0 -691
- package/src/utils/auth.ts +0 -39
- package/src/utils/businessUtils.ts +0 -434
- package/src/utils/checkUtils.ts +0 -39
- package/src/utils/constant.ts +0 -38
- package/src/utils/enumConfig.ts +0 -17
- package/src/utils/getFormMode.js +0 -12
- package/src/utils/index.ts +0 -19
- package/src/utils/request.ts +0 -53
- package/src/utils/requestUtils.ts +0 -193
- package/src/utils/serialize.js +0 -7
- package/src/utils/utils.ts +0 -245
- package/src/utils/xlsxUtil.tsx +0 -146
- package/tsconfig.json +0 -29
- package/typings.d.ts +0 -5
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import React, { Component } from
|
|
1
|
+
import React, { Component } from 'react';
|
|
2
2
|
import './index.less';
|
|
3
3
|
export default class GuideWrapper extends Component {
|
|
4
|
-
static Field: ({ children, ...props }: any) => React.JSX.Element;
|
|
4
|
+
static Field: ({ children, titleExtra, title, extra, bordered, ...props }: any) => React.JSX.Element;
|
|
5
5
|
render(): React.JSX.Element;
|
|
6
6
|
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { CollapsePanelProps } from 'antd';
|
|
3
|
+
import './index.less';
|
|
4
|
+
export interface ExtendedPanelProps extends CollapsePanelProps {
|
|
5
|
+
extra?: React.ReactNode;
|
|
6
|
+
titleExtra?: React.ReactNode;
|
|
7
|
+
isActive?: boolean;
|
|
8
|
+
}
|
|
9
|
+
declare const ExtendedPanel: React.FC<ExtendedPanelProps>;
|
|
10
|
+
export default ExtendedPanel;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { PropsWithChildren } from 'react';
|
|
3
|
+
import type { TooltipProps } from 'antd';
|
|
4
|
+
export interface copyableProps {
|
|
5
|
+
text: string;
|
|
6
|
+
onCopy: (event: any) => void;
|
|
7
|
+
icon: React.ReactNode;
|
|
8
|
+
tooltips: false | [React.ReactNode, React.ReactNode];
|
|
9
|
+
format: 'text/plain' | 'text/html';
|
|
10
|
+
}
|
|
11
|
+
export interface ellipsisProps {
|
|
12
|
+
rows: number;
|
|
13
|
+
expandable: boolean;
|
|
14
|
+
suffix?: string;
|
|
15
|
+
symbol?: React.ReactNode;
|
|
16
|
+
tooltip?: boolean | React.ReactNode | TooltipProps;
|
|
17
|
+
onExpand?: (event: React.MouseEvent<HTMLElement>) => void;
|
|
18
|
+
onEllipsis?: (ellipsis: boolean) => void;
|
|
19
|
+
}
|
|
20
|
+
interface IProps {
|
|
21
|
+
label: React.ReactNode | string;
|
|
22
|
+
children: React.ReactNode | string;
|
|
23
|
+
copyable?: boolean | copyableProps;
|
|
24
|
+
icon?: string | React.ReactNode;
|
|
25
|
+
ellipsis?: ellipsisProps;
|
|
26
|
+
}
|
|
27
|
+
export type SectionProps = PropsWithChildren<IProps>;
|
|
28
|
+
declare const Section: ({ children, copyable, label, icon, ellipsis, }: SectionProps) => React.JSX.Element;
|
|
29
|
+
export default Section;
|
package/dist/index.d.ts
CHANGED
|
@@ -29,3 +29,5 @@ export { default as EllipsisTooltip } from './components/Functional/EllipsisTool
|
|
|
29
29
|
export * from './components/Functional/BsAntdSula/index';
|
|
30
30
|
export { default as RuleComponent } from './components/Solution/RuleComponent';
|
|
31
31
|
export { default as RuleSetter } from './components/Solution/RuleSetter';
|
|
32
|
+
export { default as ExtendedCollapse } from './components/Common/ExtendedCollapse';
|
|
33
|
+
export { default as Section } from './components/Common/Section';
|