@yilianjituan/yilian_dgerm 1.0.5-alpha.7 → 1.0.5-alpha.8

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 (146) hide show
  1. package/.eslintrc.js +0 -0
  2. package/LICENSE +0 -0
  3. package/README.md +0 -0
  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/CustomButtonModal/index.d.ts +0 -0
  33. package/dist/components/CustomButtonModal/index.interface.d.ts +0 -0
  34. package/dist/components/CustomButtonModal/index.interface.js +0 -0
  35. package/dist/components/CustomButtonModal/index.js +0 -0
  36. package/dist/components/DateTimePicker/index.d.ts +0 -0
  37. package/dist/components/DateTimePicker/index.interface.d.ts +0 -0
  38. package/dist/components/DateTimePicker/index.interface.js +0 -0
  39. package/dist/components/DateTimePicker/index.js +0 -0
  40. package/dist/components/DropDownSelect/index.d.ts +0 -0
  41. package/dist/components/DropDownSelect/index.interface.d.ts +0 -0
  42. package/dist/components/DropDownSelect/index.interface.js +0 -0
  43. package/dist/components/DropDownSelect/index.js +0 -0
  44. package/dist/components/EmptyDom/index.d.ts +0 -0
  45. package/dist/components/EmptyDom/index.interface.d.ts +0 -0
  46. package/dist/components/EmptyDom/index.interface.js +0 -0
  47. package/dist/components/EmptyDom/index.js +0 -0
  48. package/dist/components/Entry/index.d.ts +0 -0
  49. package/dist/components/Entry/index.interface.d.ts +0 -0
  50. package/dist/components/Entry/index.interface.js +0 -0
  51. package/dist/components/Entry/index.js +0 -0
  52. package/dist/components/Entry/index.scss +0 -0
  53. package/dist/components/ExportExcels/ExportExcels.scss +0 -0
  54. package/dist/components/ExportExcels/index.d.ts +0 -0
  55. package/dist/components/ExportExcels/index.interface.d.ts +0 -0
  56. package/dist/components/ExportExcels/index.interface.js +0 -0
  57. package/dist/components/ExportExcels/index.js +0 -0
  58. package/dist/components/FileUpload/fileUtil.d.ts +0 -0
  59. package/dist/components/FileUpload/fileUtil.js +0 -0
  60. package/dist/components/FileUpload/index.d.ts +0 -0
  61. package/dist/components/FileUpload/index.interface.d.ts +0 -0
  62. package/dist/components/FileUpload/index.interface.js +0 -0
  63. package/dist/components/FileUpload/index.js +0 -0
  64. package/dist/components/FileUpload/index.scss +0 -0
  65. package/dist/components/FilterRadio/index.d.ts +0 -0
  66. package/dist/components/FilterRadio/index.interface.d.ts +0 -0
  67. package/dist/components/FilterRadio/index.interface.js +0 -0
  68. package/dist/components/FilterRadio/index.js +0 -0
  69. package/dist/components/FilterRadio/index.scss +0 -0
  70. package/dist/components/MyBtn/index.d.ts +0 -0
  71. package/dist/components/MyBtn/index.interface.d.ts +0 -0
  72. package/dist/components/MyBtn/index.interface.js +0 -0
  73. package/dist/components/MyBtn/index.js +0 -0
  74. package/dist/components/NumberInput/index.d.ts +0 -0
  75. package/dist/components/NumberInput/index.interface.d.ts +0 -0
  76. package/dist/components/NumberInput/index.interface.js +0 -0
  77. package/dist/components/NumberInput/index.js +0 -0
  78. package/dist/components/NumberInput/index.scss +0 -0
  79. package/dist/components/OcrCommon/index.config.d.ts +0 -0
  80. package/dist/components/OcrCommon/index.config.js +0 -0
  81. package/dist/components/OcrCommon/index.d.ts +0 -0
  82. package/dist/components/OcrCommon/index.interface.d.ts +0 -0
  83. package/dist/components/OcrCommon/index.interface.js +0 -0
  84. package/dist/components/OcrCommon/index.js +0 -0
  85. package/dist/components/OcrCommon/index.scss +0 -0
  86. package/dist/components/PageTemplate/index.d.ts +0 -0
  87. package/dist/components/PageTemplate/index.interface.d.ts +1 -1
  88. package/dist/components/PageTemplate/index.interface.js +0 -0
  89. package/dist/components/PageTemplate/index.js +4 -3
  90. package/dist/components/PageTemplate/index.scss +0 -0
  91. package/dist/components/PageTemplate/resizable/index.d.ts +0 -0
  92. package/dist/components/PageTemplate/resizable/index.js +3 -2
  93. package/dist/components/PageTemplate/resizable/index.scss +0 -0
  94. package/dist/components/ReactEcharts/index.d.ts +0 -0
  95. package/dist/components/ReactEcharts/index.interface.d.ts +0 -0
  96. package/dist/components/ReactEcharts/index.interface.js +0 -0
  97. package/dist/components/ReactEcharts/index.js +0 -0
  98. package/dist/components/SelectMax/index.d.ts +0 -0
  99. package/dist/components/SelectMax/index.interface.d.ts +0 -0
  100. package/dist/components/SelectMax/index.interface.js +0 -0
  101. package/dist/components/SelectMax/index.js +0 -0
  102. package/dist/components/SelectPosition/index.d.ts +0 -0
  103. package/dist/components/SelectPosition/index.interface.d.ts +0 -0
  104. package/dist/components/SelectPosition/index.interface.js +0 -0
  105. package/dist/components/SelectPosition/index.js +0 -0
  106. package/dist/components/SelectPosition/index.scss +0 -0
  107. package/dist/components/SuperCascader/index.d.ts +0 -0
  108. package/dist/components/SuperCascader/index.interface.d.ts +0 -0
  109. package/dist/components/SuperCascader/index.interface.js +0 -0
  110. package/dist/components/SuperCascader/index.js +0 -0
  111. package/dist/components/SuperInput/index.d.ts +0 -0
  112. package/dist/components/SuperInput/index.interface.d.ts +0 -0
  113. package/dist/components/SuperInput/index.interface.js +0 -0
  114. package/dist/components/SuperInput/index.js +0 -0
  115. package/dist/components/TabsMode/index.d.ts +0 -0
  116. package/dist/components/TabsMode/index.interface.d.ts +0 -0
  117. package/dist/components/TabsMode/index.interface.js +0 -0
  118. package/dist/components/TabsMode/index.js +0 -0
  119. package/dist/components/TypographyText/index.d.ts +0 -0
  120. package/dist/components/TypographyText/index.interface.d.ts +0 -0
  121. package/dist/components/TypographyText/index.interface.js +0 -0
  122. package/dist/components/TypographyText/index.js +0 -0
  123. package/dist/components/TypographyText/index.scss +0 -0
  124. package/dist/components/VideoProgressModal/index.d.ts +0 -0
  125. package/dist/components/VideoProgressModal/index.interface.d.ts +0 -0
  126. package/dist/components/VideoProgressModal/index.interface.js +0 -0
  127. package/dist/components/VideoProgressModal/index.js +0 -0
  128. package/dist/components/VideoProgressModal/index.scss +0 -0
  129. package/dist/components/YLModal/index.d.ts +0 -0
  130. package/dist/components/YLModal/index.interface.d.ts +0 -0
  131. package/dist/components/YLModal/index.interface.js +0 -0
  132. package/dist/components/YLModal/index.js +0 -0
  133. package/dist/index.d.ts +0 -0
  134. package/dist/index.js +0 -0
  135. package/dist/react-app-env.d.ts +0 -0
  136. package/dist/utils/common.d.ts +0 -0
  137. package/dist/utils/common.js +0 -0
  138. package/dist/utils/index.d.ts +0 -0
  139. package/dist/utils/index.js +0 -0
  140. package/dist/utils/notificationHelper.d.ts +0 -0
  141. package/dist/utils/notificationHelper.js +0 -0
  142. package/dist/utils/responseMessage.d.ts +0 -0
  143. package/dist/utils/responseMessage.js +0 -0
  144. package/dist/utils/userSessionActions.d.ts +0 -0
  145. package/dist/utils/userSessionActions.js +0 -0
  146. package/package.json +1 -1
package/.eslintrc.js CHANGED
File without changes
package/LICENSE CHANGED
File without changes
package/README.md CHANGED
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
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
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
@@ -39,7 +39,7 @@ export interface IPageTemPropsData {
39
39
  }
40
40
  export interface IColumnsProps {
41
41
  title: string;
42
- dataIndex?: string;
42
+ dataIndex?: any;
43
43
  render?: typeEmptyFunc | ((text: string | number, record: any, index: string | number) => any);
44
44
  [name: string]: typeEmptyFunc | string | boolean | undefined | number | any;
45
45
  }
File without changes
@@ -156,7 +156,7 @@ var PageTemplate = function PageTemplate(props, ref) {
156
156
  key: 'rowIndex',
157
157
  align: 'center',
158
158
  fixed: 'left',
159
- minWidth: 70,
159
+ width: 70,
160
160
  ellipsis: {
161
161
  showTitle: false
162
162
  },
@@ -168,8 +168,9 @@ var PageTemplate = function PageTemplate(props, ref) {
168
168
  }
169
169
  _columns = _columns.map(function (item) {
170
170
  return _objectSpread(_objectSpread({}, item), {}, {
171
- minWidth: item.minWidth || item.title.length * 20 + 20,
172
- ellipsis: typeof item.ellipsis === 'boolean' ? item.ellipsis : true,
171
+ minWidth: ['index', 'rowIndex'].includes(item.key) || ['index', 'rowIndex'].includes(item.dataIndex) ? undefined : item.minWidth || item.title.length * 20 + 20,
172
+ width: ['index', 'rowIndex'].includes(item.key) || ['index', 'rowIndex'].includes(item.dataIndex) ? 70 : item.width,
173
+ ellipsis: ['index', 'rowIndex'].includes(item.key) || ['index', 'rowIndex'].includes(item.dataIndex) ? false : typeof item.ellipsis === 'boolean' ? item.ellipsis : true,
173
174
  align: item.align || 'center',
174
175
  fixed: item.fixed || (['action', 'operation', 'handle', 'handle_box'].includes(item.dataIndex) ? 'right' : ['rowIndex'].includes(item.key) ? 'left' : undefined)
175
176
  });
File without changes
File without changes
@@ -188,8 +188,9 @@ var CustomTable = function CustomTable(props) {
188
188
  var _columns = _toConsumableArray(columns);
189
189
  _columns = _columns.map(function (item) {
190
190
  return _objectSpread(_objectSpread({}, item), {}, {
191
- minWidth: item.minWidth || item.title.length * 20 + 20,
192
- ellipsis: typeof item.ellipsis === 'boolean' ? item.ellipsis : true,
191
+ minWidth: ['index', 'rowIndex'].includes(item.key) || ['index', 'rowIndex'].includes(item.dataIndex) ? undefined : item.minWidth || item.title.length * 20 + 20,
192
+ width: ['index', 'rowIndex'].includes(item.key) || ['index', 'rowIndex'].includes(item.dataIndex) ? 70 : item.width,
193
+ ellipsis: ['index', 'rowIndex'].includes(item.key) || ['index', 'rowIndex'].includes(item.dataIndex) ? false : typeof item.ellipsis === 'boolean' ? item.ellipsis : true,
193
194
  align: item.align || 'center',
194
195
  fixed: item.fixed || (['action', 'operation', 'handle', 'handle_box'].includes(item.dataIndex) ? 'right' : ['rowIndex'].includes(item.key) ? 'left' : undefined)
195
196
  });
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
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
package/dist/index.d.ts CHANGED
File without changes
package/dist/index.js CHANGED
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
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yilianjituan/yilian_dgerm",
3
- "version": "1.0.5-alpha.7",
3
+ "version": "1.0.5-alpha.8",
4
4
  "description": "A react library developed with dumi",
5
5
  "keywords": [
6
6
  "React",