@yilianjituan/yilian_dgerm 0.0.1-alpha.31 → 0.0.1-alpha.32

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 (131) hide show
  1. package/.eslintrc.js +0 -0
  2. package/LICENSE +0 -0
  3. package/README.md +8 -6
  4. package/dist/business/Entry/index.d.ts +0 -0
  5. package/dist/business/Entry/index.interface.d.ts +0 -0
  6. package/dist/business/Entry/index.interface.js +0 -0
  7. package/dist/business/Entry/index.js +0 -0
  8. package/dist/business/Entry/index.scss +0 -0
  9. package/dist/business/TestBtn/index.d.ts +0 -0
  10. package/dist/business/TestBtn/index.interface.d.ts +0 -0
  11. package/dist/business/TestBtn/index.interface.js +0 -0
  12. package/dist/business/TestBtn/index.js +0 -0
  13. package/dist/commonAxios/Axios.d.ts +0 -0
  14. package/dist/commonAxios/Axios.js +0 -0
  15. package/dist/commonAxios/http.d.ts +0 -0
  16. package/dist/commonAxios/http.js +0 -0
  17. package/dist/commonAxios/index.d.ts +0 -0
  18. package/dist/commonAxios/index.js +0 -0
  19. package/dist/commonAxios/juicer.d.ts +0 -0
  20. package/dist/commonAxios/juicer.js +0 -0
  21. package/dist/commonData/address.d.ts +0 -0
  22. package/dist/commonData/address.js +0 -0
  23. package/dist/commonImg/ic_im_no_archives_new.png +0 -0
  24. package/dist/commonType/globalEnum.d.ts +0 -0
  25. package/dist/commonType/globalEnum.js +0 -0
  26. package/dist/commonType/globalFun.d.ts +0 -0
  27. package/dist/commonType/globalFun.js +0 -0
  28. package/dist/components/BigImage/index.d.ts +0 -0
  29. package/dist/components/BigImage/index.interface.d.ts +0 -0
  30. package/dist/components/BigImage/index.interface.js +0 -0
  31. package/dist/components/BigImage/index.js +0 -0
  32. package/dist/components/DropDownSelect/index.d.ts +0 -0
  33. package/dist/components/DropDownSelect/index.interface.d.ts +4 -0
  34. package/dist/components/DropDownSelect/index.interface.js +0 -0
  35. package/dist/components/DropDownSelect/index.js +4 -2
  36. package/dist/components/EmptyDom/index.d.ts +0 -0
  37. package/dist/components/EmptyDom/index.interface.d.ts +0 -0
  38. package/dist/components/EmptyDom/index.interface.js +0 -0
  39. package/dist/components/EmptyDom/index.js +0 -0
  40. package/dist/components/Entry/index.d.ts +0 -0
  41. package/dist/components/Entry/index.interface.d.ts +0 -0
  42. package/dist/components/Entry/index.interface.js +0 -0
  43. package/dist/components/Entry/index.js +0 -0
  44. package/dist/components/Entry/index.scss +0 -0
  45. package/dist/components/ExportExcels/ExportExcels.scss +0 -0
  46. package/dist/components/ExportExcels/index.d.ts +0 -0
  47. package/dist/components/ExportExcels/index.interface.d.ts +0 -0
  48. package/dist/components/ExportExcels/index.interface.js +0 -0
  49. package/dist/components/ExportExcels/index.js +0 -0
  50. package/dist/components/FilterRadio/index.d.ts +0 -0
  51. package/dist/components/FilterRadio/index.interface.d.ts +0 -0
  52. package/dist/components/FilterRadio/index.interface.js +0 -0
  53. package/dist/components/FilterRadio/index.js +0 -0
  54. package/dist/components/FilterRadio/index.scss +0 -0
  55. package/dist/components/MyBtn/index.d.ts +0 -0
  56. package/dist/components/MyBtn/index.interface.d.ts +0 -0
  57. package/dist/components/MyBtn/index.interface.js +0 -0
  58. package/dist/components/MyBtn/index.js +0 -0
  59. package/dist/components/NumberInput/index.d.ts +0 -0
  60. package/dist/components/NumberInput/index.interface.d.ts +0 -0
  61. package/dist/components/NumberInput/index.interface.js +0 -0
  62. package/dist/components/NumberInput/index.js +0 -0
  63. package/dist/components/NumberInput/index.scss +0 -0
  64. package/dist/components/OcrCommon/index.config.d.ts +8 -0
  65. package/dist/components/OcrCommon/index.config.js +38 -0
  66. package/dist/components/OcrCommon/index.d.ts +5 -0
  67. package/dist/components/OcrCommon/index.interface.d.ts +16 -0
  68. package/dist/components/{FileUpload → OcrCommon}/index.interface.js +0 -0
  69. package/dist/components/OcrCommon/index.js +443 -0
  70. package/dist/components/OcrCommon/index.scss +124 -0
  71. package/dist/components/PageTemplate/index.d.ts +0 -0
  72. package/dist/components/PageTemplate/index.interface.d.ts +0 -0
  73. package/dist/components/PageTemplate/index.interface.js +0 -0
  74. package/dist/components/PageTemplate/index.js +0 -0
  75. package/dist/components/PageTemplate/index.scss +0 -0
  76. package/dist/components/ReactEcharts/index.d.ts +0 -0
  77. package/dist/components/ReactEcharts/index.interface.d.ts +0 -0
  78. package/dist/components/ReactEcharts/index.interface.js +0 -0
  79. package/dist/components/ReactEcharts/index.js +0 -0
  80. package/dist/components/SelectMax/index.d.ts +0 -0
  81. package/dist/components/SelectMax/index.interface.d.ts +0 -0
  82. package/dist/components/SelectMax/index.interface.js +0 -0
  83. package/dist/components/SelectMax/index.js +0 -0
  84. package/dist/components/SelectPosition/index.d.ts +5 -0
  85. package/dist/components/SelectPosition/index.interface.d.ts +65 -0
  86. package/dist/components/SelectPosition/index.interface.js +1 -0
  87. package/dist/components/SelectPosition/index.js +353 -0
  88. package/dist/components/SelectPosition/index.scss +19 -0
  89. package/dist/components/SuperCascader/index.d.ts +0 -0
  90. package/dist/components/SuperCascader/index.interface.d.ts +0 -0
  91. package/dist/components/SuperCascader/index.interface.js +0 -0
  92. package/dist/components/SuperCascader/index.js +0 -0
  93. package/dist/components/SuperInput/index.d.ts +0 -0
  94. package/dist/components/SuperInput/index.interface.d.ts +0 -0
  95. package/dist/components/SuperInput/index.interface.js +0 -0
  96. package/dist/components/SuperInput/index.js +0 -0
  97. package/dist/components/TabsMode/index.d.ts +0 -0
  98. package/dist/components/TabsMode/index.interface.d.ts +0 -0
  99. package/dist/components/TabsMode/index.interface.js +0 -0
  100. package/dist/components/TabsMode/index.js +0 -0
  101. package/dist/components/VideoProgressModal/index.d.ts +0 -0
  102. package/dist/components/VideoProgressModal/index.interface.d.ts +0 -0
  103. package/dist/components/VideoProgressModal/index.interface.js +0 -0
  104. package/dist/components/VideoProgressModal/index.js +0 -0
  105. package/dist/components/VideoProgressModal/index.scss +0 -0
  106. package/dist/components/YLModal/drag.d.ts +0 -0
  107. package/dist/components/YLModal/drag.js +0 -0
  108. package/dist/components/YLModal/index.d.ts +0 -0
  109. package/dist/components/YLModal/index.interface.d.ts +0 -0
  110. package/dist/components/YLModal/index.interface.js +0 -0
  111. package/dist/components/YLModal/index.js +0 -0
  112. package/dist/index.d.ts +13 -12
  113. package/dist/index.js +13 -12
  114. package/dist/react-app-env.d.ts +0 -0
  115. package/dist/utils/common.d.ts +0 -0
  116. package/dist/utils/common.js +0 -0
  117. package/dist/utils/index.d.ts +0 -0
  118. package/dist/utils/index.js +0 -0
  119. package/dist/utils/notificationHelper.d.ts +0 -0
  120. package/dist/utils/notificationHelper.js +0 -0
  121. package/dist/utils/responseMessage.d.ts +0 -0
  122. package/dist/utils/responseMessage.js +0 -0
  123. package/dist/utils/userSessionActions.d.ts +0 -0
  124. package/dist/utils/userSessionActions.js +0 -0
  125. package/package.json +29 -31
  126. package/dist/components/FileUpload/fileUtil.d.ts +0 -34
  127. package/dist/components/FileUpload/fileUtil.js +0 -146
  128. package/dist/components/FileUpload/index.d.ts +0 -5
  129. package/dist/components/FileUpload/index.interface.d.ts +0 -119
  130. package/dist/components/FileUpload/index.js +0 -389
  131. package/dist/components/FileUpload/index.scss +0 -78
package/.eslintrc.js CHANGED
File without changes
package/LICENSE CHANGED
File without changes
package/README.md CHANGED
@@ -120,9 +120,11 @@ MIT
120
120
  2、DropDownSelect 参数调试:传入http
121
121
  3、组件适配:PageTemplate 差异适配
122
122
  4、添加执行命令 build-copy 支持本地打包调试
123
- 5、
124
- 6、
125
- 7
126
- 8
127
- 9、
128
- 10、
123
+
124
+ # 2024.10.31 更新日志
125
+ 1SelectPosition 组件封装
126
+ 2SelectPosition 宿主引用与调试
127
+ 3、全局样式调整
128
+
129
+ # 2024.11.07 更新日志
130
+ 1、组件调整:DropDownSelect添加查询控制参数changeNoSearch
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -67,4 +67,8 @@ export interface DropDownSelectProps extends SelectProps {
67
67
  * @description 动态参数,处理动态参数的方法
68
68
  */
69
69
  beforeSearch?: (params: any) => void;
70
+ /**
71
+ * @description 是否开启搜索查询
72
+ */
73
+ changeNoSearch?: boolean;
70
74
  }
File without changes
@@ -1,5 +1,5 @@
1
1
  function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
2
- var _excluded = ["http", "url", "method", "handleSelect", "showValue", "customInput", "searchValue", "additionalParameters", "dynamicParameter", "beforeSearch", "filterOptionsCallback", "onChange", "mode"];
2
+ var _excluded = ["http", "url", "method", "handleSelect", "showValue", "customInput", "searchValue", "additionalParameters", "dynamicParameter", "beforeSearch", "filterOptionsCallback", "onChange", "changeNoSearch", "mode"];
3
3
  function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
4
4
  function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
5
5
  function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
@@ -41,6 +41,8 @@ var Index = function Index(props) {
41
41
  beforeSearch = props.beforeSearch,
42
42
  filterOptionsCallback = props.filterOptionsCallback,
43
43
  _onChange = props.onChange,
44
+ _props$changeNoSearch = props.changeNoSearch,
45
+ changeNoSearch = _props$changeNoSearch === void 0 ? true : _props$changeNoSearch,
44
46
  _props$mode = props.mode,
45
47
  mode = _props$mode === void 0 ? undefined : _props$mode,
46
48
  prop = _objectWithoutProperties(props, _excluded);
@@ -135,7 +137,7 @@ var Index = function Index(props) {
135
137
  // 选择
136
138
  var onChangeSelect = function onChangeSelect(value, option) {
137
139
  var _selectRef$current;
138
- if (typeof value === 'string') {
140
+ if (changeNoSearch && typeof value === 'string') {
139
141
  paramsRef.current = value;
140
142
  }
141
143
  mode === undefined && ((_selectRef$current = selectRef.current) === null || _selectRef$current === void 0 ? void 0 : _selectRef$current.blur());
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -0,0 +1,8 @@
1
+ export declare const fontSizeOpt: {
2
+ label: string;
3
+ value: number;
4
+ }[];
5
+ export declare const imgSizeOpt: {
6
+ label: string;
7
+ value: number;
8
+ }[];
@@ -0,0 +1,38 @@
1
+ export var fontSizeOpt = [{
2
+ label: 'x0.25',
3
+ value: 0.25
4
+ }, {
5
+ label: 'x0.5',
6
+ value: 0.5
7
+ }, {
8
+ label: 'x0.75',
9
+ value: 0.75
10
+ }, {
11
+ label: 'x1',
12
+ value: 1
13
+ }, {
14
+ label: 'x1.25',
15
+ value: 1.25
16
+ }, {
17
+ label: 'x1.5',
18
+ value: 1.5
19
+ }, {
20
+ label: 'x1.75',
21
+ value: 1.75
22
+ }, {
23
+ label: 'x2',
24
+ value: 2
25
+ }];
26
+ export var imgSizeOpt = [{
27
+ label: 'x0.25',
28
+ value: 0.25
29
+ }, {
30
+ label: 'x0.5',
31
+ value: 0.5
32
+ }, {
33
+ label: 'x0.75',
34
+ value: 0.75
35
+ }, {
36
+ label: 'x1',
37
+ value: 1
38
+ }];
@@ -0,0 +1,5 @@
1
+ import './index.scss';
2
+ import React from 'react';
3
+ import { CommonOcrModalProps } from './index.interface';
4
+ declare const Index: React.FC<CommonOcrModalProps>;
5
+ export default Index;
@@ -0,0 +1,16 @@
1
+ import { MethodEnum } from "../../commonType/globalEnum";
2
+ export interface IUrl {
3
+ url: string;
4
+ method: MethodEnum;
5
+ }
6
+ export interface CommonOcrModalProps {
7
+ open: boolean;
8
+ modalProps?: any;
9
+ showHandleBtn?: boolean;
10
+ url?: IUrl;
11
+ http: any;
12
+ params: any;
13
+ minWidth?: number;
14
+ onCancel: () => void;
15
+ disabled?: boolean;
16
+ }