@bit-sun/business-component 3.0.1-alpha.8 → 3.0.2-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (39) hide show
  1. package/dist/components/Business/BsSulaQueryTable/utils.d.ts +1 -1
  2. package/dist/components/Functional/AccessWrapper/index.d.ts +5 -0
  3. package/dist/components/Functional/AuthButton/index.d.ts +3 -0
  4. package/dist/index.d.ts +1 -0
  5. package/dist/index.esm.js +1753 -1530
  6. package/dist/index.js +1772 -1546
  7. package/dist/utils/auth.d.ts +3 -0
  8. package/dist/utils/businessUtils.d.ts +1 -3
  9. package/dist/utils/index.d.ts +8 -0
  10. package/dist/utils/utils.d.ts +1 -1
  11. package/package.json +9 -4
  12. package/src/components/Business/AddSelectBusiness/index.md +236 -0
  13. package/src/components/Business/AddSelectBusiness/index.tsx +333 -296
  14. package/src/components/Business/BsLayouts/Components/GlobalHeader/index.tsx +0 -1
  15. package/src/components/Business/BsLayouts/index.tsx +111 -23
  16. package/src/components/Business/BsLayouts/utils.tsx +2 -0
  17. package/src/components/Business/BsSulaQueryTable/index.tsx +116 -77
  18. package/src/components/Business/BsSulaQueryTable/setting.tsx +2 -11
  19. package/src/components/Business/BsSulaQueryTable/utils.tsx +4 -9
  20. package/src/components/Business/CommodityEntry/index.md +15 -1
  21. package/src/components/Business/CommodityEntry/index.tsx +1 -0
  22. package/src/components/Business/DetailPageWrapper/index.tsx +3 -2
  23. package/src/components/Business/SearchSelect/index.md +10 -1
  24. package/src/components/Functional/AccessWrapper/index.tsx +34 -0
  25. package/src/components/Functional/AddSelect/helps.ts +1 -1
  26. package/src/components/Functional/AddSelect/index.tsx +63 -215
  27. package/src/components/Functional/AuthButton/index.tsx +15 -0
  28. package/src/components/Functional/BillEntry/index.tsx +1 -1
  29. package/src/components/Functional/DataImport/index.tsx +36 -30
  30. package/src/components/Functional/DataValidation/index.md +15 -2
  31. package/src/components/Functional/DataValidation/index.tsx +40 -26
  32. package/src/components/Functional/SearchSelect/index.tsx +11 -3
  33. package/src/components/Solution/RuleComponent/InnerSelect.tsx +6 -6
  34. package/src/components/Solution/RuleComponent/RenderCompItem.tsx +10 -10
  35. package/src/components/Solution/RuleComponent/index.js +45 -7
  36. package/src/index.ts +1 -0
  37. package/src/utils/auth.ts +39 -0
  38. package/src/utils/businessUtils.ts +0 -40
  39. package/src/utils/index.ts +10 -0
@@ -95,6 +95,6 @@ export declare function queryParams(params: any, flag?: any): any;
95
95
  * @param code 对应权限值
96
96
  * @returns boolean
97
97
  */
98
- export declare const authFn: (code?: any) => boolean;
98
+ export declare const authFn: (code?: any) => any;
99
99
  export declare const renderToString: (render: ReactElement<any, string | JSXElementConstructor<any>> | string) => any;
100
100
  export {};
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ declare const NoFoundPage: React.FC<{
3
+ closeCurrentTab?: () => void;
4
+ }>;
5
+ export default NoFoundPage;
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ declare const AuthButton: (props: any) => React.JSX.Element;
3
+ export default AuthButton;
package/dist/index.d.ts CHANGED
@@ -24,6 +24,7 @@ export { default as BsLayout } from './components/Business/BsLayouts';
24
24
  export { default as MoreTreeTable } from './components/Business/moreTreeTable';
25
25
  export { default as JsonQueryTable } from './components/Business/JsonQueryTable';
26
26
  export { default as TableColumnSetting } from './plugin/TableColumnSetting';
27
+ export { default as AuthButton } from './components/Functional/AuthButton';
27
28
  export { default as EllipsisTooltip } from './components/Functional/EllipsisTooltip';
28
29
  export * from './components/Functional/BsAntdSula/index';
29
30
  export { default as RuleComponent } from './components/Solution/RuleComponent';