tntd 3.0.80 → 3.1.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 (293) hide show
  1. package/es/button/button.js +21 -13
  2. package/es/button/button.js.map +1 -1
  3. package/es/card/card.js +10 -4
  4. package/es/card/card.js.map +1 -1
  5. package/es/config-provider/index.js +5 -51
  6. package/es/config-provider/index.js.map +1 -1
  7. package/es/descriptions/descriptions.js +56 -51
  8. package/es/descriptions/descriptions.js.map +1 -1
  9. package/es/drawer/drawer.js +2 -2
  10. package/es/drawer/drawer.js.map +1 -1
  11. package/es/form/form.js +9 -4
  12. package/es/form/form.js.map +1 -1
  13. package/es/handle/index.js +1 -1
  14. package/es/handle/index.js.map +1 -1
  15. package/es/handle-icon/index.js +13 -4
  16. package/es/handle-icon/index.js.map +1 -1
  17. package/es/index.js +0 -14
  18. package/es/index.js.map +1 -1
  19. package/es/input/input.js +41 -30
  20. package/es/input/input.js.map +1 -1
  21. package/es/input-number/inputNumber.js +18 -12
  22. package/es/input-number/inputNumber.js.map +1 -1
  23. package/es/locale/ar_EG.js +116 -0
  24. package/es/locale/ar_EG.js.map +1 -0
  25. package/es/locale/en_US.js +42 -5
  26. package/es/locale/en_US.js.map +1 -1
  27. package/es/locale/es_ES.js +116 -0
  28. package/es/locale/es_ES.js.map +1 -0
  29. package/es/locale/index.js +55 -0
  30. package/es/locale/index.js.map +1 -1
  31. package/es/locale/ko_KR.js +116 -0
  32. package/es/locale/ko_KR.js.map +1 -0
  33. package/es/locale/th_TH.js +116 -0
  34. package/es/locale/th_TH.js.map +1 -0
  35. package/es/locale/zh_CN.js +40 -3
  36. package/es/locale/zh_CN.js.map +1 -1
  37. package/es/locale/zh_TW.js +116 -0
  38. package/es/locale/zh_TW.js.map +1 -0
  39. package/es/modal/modal.js +28 -23
  40. package/es/modal/modal.js.map +1 -1
  41. package/es/query-form/index.js +60 -61
  42. package/es/query-form/index.js.map +1 -1
  43. package/es/query-list-scene/List.js +43 -36
  44. package/es/query-list-scene/List.js.map +1 -1
  45. package/es/select/select.js +22 -20
  46. package/es/select/select.js.map +1 -1
  47. package/es/table/table.js +65 -64
  48. package/es/table/table.js.map +1 -1
  49. package/es/tabs/tabs.js +23 -15
  50. package/es/tabs/tabs.js.map +1 -1
  51. package/es/title/index.js +32 -27
  52. package/es/title/index.js.map +1 -1
  53. package/es/tntd-cascader/rc-cascader/Cascader.js +35 -32
  54. package/es/tntd-cascader/rc-cascader/Cascader.js.map +1 -1
  55. package/es/tntd-checkbox-select/index.js +102 -99
  56. package/es/tntd-checkbox-select/index.js.map +1 -1
  57. package/es/tntd-form/FormItemLabel.js +13 -3
  58. package/es/tntd-form/FormItemLabel.js.map +1 -1
  59. package/es/tntd-layout/Avatar.js +43 -41
  60. package/es/tntd-layout/Avatar.js.map +1 -1
  61. package/es/tntd-layout/EnterpriseLayout/Avatar.js +50 -47
  62. package/es/tntd-layout/EnterpriseLayout/Avatar.js.map +1 -1
  63. package/es/tntd-layout/GlobalNavigation/NavigationPopup.js +64 -60
  64. package/es/tntd-layout/GlobalNavigation/NavigationPopup.js.map +1 -1
  65. package/es/tntd-layout/GlobalNavigation/index.js +21 -17
  66. package/es/tntd-layout/GlobalNavigation/index.js.map +1 -1
  67. package/es/tntd-layout/createActions.js +0 -5
  68. package/es/tntd-layout/createActions.js.map +1 -1
  69. package/es/tntd-rc-select/index.js +29 -26
  70. package/es/tntd-rc-select/index.js.map +1 -1
  71. package/es/tntd-select/index.js +45 -43
  72. package/es/tntd-select/index.js.map +1 -1
  73. package/es/tntd-virtual-tree/index.js +64 -61
  74. package/es/tntd-virtual-tree/index.js.map +1 -1
  75. package/es/utils/index.js +3 -3
  76. package/es/utils/index.js.map +1 -1
  77. package/es/utils/lang.js +4 -3
  78. package/es/utils/lang.js.map +1 -1
  79. package/lib/button/button.d.ts.map +1 -1
  80. package/lib/button/button.js +21 -13
  81. package/lib/button/button.js.map +1 -1
  82. package/lib/card/card.d.ts.map +1 -1
  83. package/lib/card/card.js +14 -4
  84. package/lib/card/card.js.map +1 -1
  85. package/lib/config-provider/index.d.ts +1 -26
  86. package/lib/config-provider/index.d.ts.map +1 -1
  87. package/lib/config-provider/index.js +13 -63
  88. package/lib/config-provider/index.js.map +1 -1
  89. package/lib/descriptions/descriptions.d.ts.map +1 -1
  90. package/lib/descriptions/descriptions.js +56 -51
  91. package/lib/descriptions/descriptions.js.map +1 -1
  92. package/lib/drawer/drawer.d.ts.map +1 -1
  93. package/lib/drawer/drawer.js +2 -2
  94. package/lib/drawer/drawer.js.map +1 -1
  95. package/lib/form/form.js +9 -4
  96. package/lib/form/form.js.map +1 -1
  97. package/lib/handle/index.js +1 -1
  98. package/lib/handle/index.js.map +1 -1
  99. package/lib/handle-icon/index.d.ts +1 -1
  100. package/lib/handle-icon/index.d.ts.map +1 -1
  101. package/lib/handle-icon/index.js +13 -4
  102. package/lib/handle-icon/index.js.map +1 -1
  103. package/lib/index.d.ts +0 -2
  104. package/lib/index.d.ts.map +1 -1
  105. package/lib/index.js +0 -14
  106. package/lib/index.js.map +1 -1
  107. package/lib/input/input.d.ts.map +1 -1
  108. package/lib/input/input.js +41 -30
  109. package/lib/input/input.js.map +1 -1
  110. package/lib/input-number/inputNumber.d.ts +1 -0
  111. package/lib/input-number/inputNumber.d.ts.map +1 -1
  112. package/lib/input-number/inputNumber.js +18 -12
  113. package/lib/input-number/inputNumber.js.map +1 -1
  114. package/lib/locale/ar_EG.d.ts +164 -0
  115. package/lib/locale/ar_EG.d.ts.map +1 -0
  116. package/lib/locale/ar_EG.js +120 -0
  117. package/lib/locale/ar_EG.js.map +1 -0
  118. package/lib/locale/default.d.ts +37 -0
  119. package/lib/locale/default.d.ts.map +1 -1
  120. package/lib/locale/en_US.d.ts +37 -0
  121. package/lib/locale/en_US.d.ts.map +1 -1
  122. package/lib/locale/en_US.js +42 -5
  123. package/lib/locale/en_US.js.map +1 -1
  124. package/lib/locale/es_ES.d.ts +172 -0
  125. package/lib/locale/es_ES.d.ts.map +1 -0
  126. package/lib/locale/es_ES.js +120 -0
  127. package/lib/locale/es_ES.js.map +1 -0
  128. package/lib/locale/index.d.ts +5 -0
  129. package/lib/locale/index.d.ts.map +1 -1
  130. package/lib/locale/index.js +55 -0
  131. package/lib/locale/index.js.map +1 -1
  132. package/lib/locale/ko_KR.d.ts +156 -0
  133. package/lib/locale/ko_KR.d.ts.map +1 -0
  134. package/lib/locale/ko_KR.js +120 -0
  135. package/lib/locale/ko_KR.js.map +1 -0
  136. package/lib/locale/th_TH.d.ts +175 -0
  137. package/lib/locale/th_TH.d.ts.map +1 -0
  138. package/lib/locale/th_TH.js +120 -0
  139. package/lib/locale/th_TH.js.map +1 -0
  140. package/lib/locale/zh_CN.d.ts +37 -0
  141. package/lib/locale/zh_CN.d.ts.map +1 -1
  142. package/lib/locale/zh_CN.js +40 -3
  143. package/lib/locale/zh_CN.js.map +1 -1
  144. package/lib/locale/zh_TW.d.ts +159 -0
  145. package/lib/locale/zh_TW.d.ts.map +1 -0
  146. package/lib/locale/zh_TW.js +120 -0
  147. package/lib/locale/zh_TW.js.map +1 -0
  148. package/lib/modal/modal.d.ts.map +1 -1
  149. package/lib/modal/modal.js +28 -23
  150. package/lib/modal/modal.js.map +1 -1
  151. package/lib/notification/assets/svg-error-tip.d.ts +1 -1
  152. package/lib/notification/assets/svg-success-tip.d.ts +1 -1
  153. package/lib/query-form/index.d.ts +0 -1
  154. package/lib/query-form/index.d.ts.map +1 -1
  155. package/lib/query-form/index.js +60 -61
  156. package/lib/query-form/index.js.map +1 -1
  157. package/lib/query-list-scene/List.d.ts.map +1 -1
  158. package/lib/query-list-scene/List.js +43 -36
  159. package/lib/query-list-scene/List.js.map +1 -1
  160. package/lib/segmented/index.d.ts +1 -1
  161. package/lib/select/select.d.ts.map +1 -1
  162. package/lib/select/select.js +22 -20
  163. package/lib/select/select.js.map +1 -1
  164. package/lib/svg-components/illustration-403.d.ts +1 -1
  165. package/lib/svg-components/illustration-404.d.ts +1 -1
  166. package/lib/svg-components/illustration-500.d.ts +1 -1
  167. package/lib/svg-components/illustration-empty.d.ts +1 -1
  168. package/lib/svg-components/illustration-failure.d.ts +1 -1
  169. package/lib/svg-components/illustration-no-access.d.ts +1 -1
  170. package/lib/svg-components/illustration-no-chart.d.ts +1 -1
  171. package/lib/svg-components/illustration-no-result.d.ts +1 -1
  172. package/lib/svg-components/illustration-offline.d.ts +1 -1
  173. package/lib/svg-components/illustration-success.d.ts +1 -1
  174. package/lib/table/assets/image-loading-background.d.ts +1 -1
  175. package/lib/table/assets/image-loading.d.ts +1 -1
  176. package/lib/table/table.d.ts.map +1 -1
  177. package/lib/table/table.js +65 -64
  178. package/lib/table/table.js.map +1 -1
  179. package/lib/tabs/tabs.d.ts.map +1 -1
  180. package/lib/tabs/tabs.js +23 -15
  181. package/lib/tabs/tabs.js.map +1 -1
  182. package/lib/title/index.d.ts.map +1 -1
  183. package/lib/title/index.js +32 -27
  184. package/lib/title/index.js.map +1 -1
  185. package/lib/tntd-cascader/rc-cascader/Cascader.d.ts.map +1 -1
  186. package/lib/tntd-cascader/rc-cascader/Cascader.js +35 -32
  187. package/lib/tntd-cascader/rc-cascader/Cascader.js.map +1 -1
  188. package/lib/tntd-checkbox-select/index.d.ts.map +1 -1
  189. package/lib/tntd-checkbox-select/index.js +102 -99
  190. package/lib/tntd-checkbox-select/index.js.map +1 -1
  191. package/lib/tntd-form/FormItemLabel.d.ts +3 -5
  192. package/lib/tntd-form/FormItemLabel.d.ts.map +1 -1
  193. package/lib/tntd-form/FormItemLabel.js +13 -3
  194. package/lib/tntd-form/FormItemLabel.js.map +1 -1
  195. package/lib/tntd-layout/Avatar.d.ts.map +1 -1
  196. package/lib/tntd-layout/Avatar.js +43 -41
  197. package/lib/tntd-layout/Avatar.js.map +1 -1
  198. package/lib/tntd-layout/EnterpriseLayout/Avatar.d.ts.map +1 -1
  199. package/lib/tntd-layout/EnterpriseLayout/Avatar.js +50 -47
  200. package/lib/tntd-layout/EnterpriseLayout/Avatar.js.map +1 -1
  201. package/lib/tntd-layout/GlobalNavigation/NavigationPopup.d.ts.map +1 -1
  202. package/lib/tntd-layout/GlobalNavigation/NavigationPopup.js +64 -60
  203. package/lib/tntd-layout/GlobalNavigation/NavigationPopup.js.map +1 -1
  204. package/lib/tntd-layout/GlobalNavigation/index.js +21 -17
  205. package/lib/tntd-layout/GlobalNavigation/index.js.map +1 -1
  206. package/lib/tntd-layout/createActions.d.ts +0 -1
  207. package/lib/tntd-layout/createActions.d.ts.map +1 -1
  208. package/lib/tntd-layout/createActions.js +0 -5
  209. package/lib/tntd-layout/createActions.js.map +1 -1
  210. package/lib/tntd-rc-select/index.d.ts.map +1 -1
  211. package/lib/tntd-rc-select/index.js +29 -26
  212. package/lib/tntd-rc-select/index.js.map +1 -1
  213. package/lib/tntd-select/index.d.ts.map +1 -1
  214. package/lib/tntd-select/index.js +45 -43
  215. package/lib/tntd-select/index.js.map +1 -1
  216. package/lib/tntd-virtual-tree/index.d.ts.map +1 -1
  217. package/lib/tntd-virtual-tree/index.js +64 -61
  218. package/lib/tntd-virtual-tree/index.js.map +1 -1
  219. package/lib/utils/index.d.ts +1 -1
  220. package/lib/utils/index.d.ts.map +1 -1
  221. package/lib/utils/index.js +3 -3
  222. package/lib/utils/index.js.map +1 -1
  223. package/lib/utils/lang.d.ts +1 -1
  224. package/lib/utils/lang.d.ts.map +1 -1
  225. package/lib/utils/lang.js +4 -3
  226. package/lib/utils/lang.js.map +1 -1
  227. package/package.json +2 -2
  228. package/es/prev-locale.js +0 -199
  229. package/es/prev-locale.js.map +0 -1
  230. package/es/query-form-backup/Field/Composition/FieldPopover.less +0 -35
  231. package/es/query-form-backup/Field/Composition/index.less +0 -114
  232. package/es/query-form-backup/index.less +0 -90
  233. package/es/tntd-action_backup/index.less +0 -114
  234. package/es/tntd-reference/AHref/index.js +0 -44
  235. package/es/tntd-reference/AHref/index.js.map +0 -1
  236. package/es/tntd-reference/ReferenceBatchCheck/index.js +0 -165
  237. package/es/tntd-reference/ReferenceBatchCheck/index.js.map +0 -1
  238. package/es/tntd-reference/ReferenceBatchCheck/index.less +0 -21
  239. package/es/tntd-reference/ReferenceBatchDrawer/index.js +0 -126
  240. package/es/tntd-reference/ReferenceBatchDrawer/index.js.map +0 -1
  241. package/es/tntd-reference/ReferenceBatchDrawer/index.less +0 -0
  242. package/es/tntd-reference/ReferenceCheck/index.js +0 -126
  243. package/es/tntd-reference/ReferenceCheck/index.js.map +0 -1
  244. package/es/tntd-reference/ReferenceCheck/index.less +0 -10
  245. package/es/tntd-reference/ReferenceDrawer/index.js +0 -93
  246. package/es/tntd-reference/ReferenceDrawer/index.js.map +0 -1
  247. package/es/tntd-reference/ReferenceDrawer/index.less +0 -0
  248. package/es/tntd-reference/ReferenceInfo/index.js +0 -164
  249. package/es/tntd-reference/ReferenceInfo/index.js.map +0 -1
  250. package/es/tntd-reference/ReferenceInfo/index.less +0 -31
  251. package/es/tntd-reference/index.js +0 -20
  252. package/es/tntd-reference/index.js.map +0 -1
  253. package/lib/prev-locale.d.ts +0 -174
  254. package/lib/prev-locale.d.ts.map +0 -1
  255. package/lib/prev-locale.js +0 -207
  256. package/lib/prev-locale.js.map +0 -1
  257. package/lib/query-form-backup/Field/Composition/FieldPopover.less +0 -35
  258. package/lib/query-form-backup/Field/Composition/index.less +0 -114
  259. package/lib/query-form-backup/index.less +0 -90
  260. package/lib/tntd-action_backup/index.less +0 -114
  261. package/lib/tntd-reference/AHref/index.d.ts +0 -4
  262. package/lib/tntd-reference/AHref/index.d.ts.map +0 -1
  263. package/lib/tntd-reference/AHref/index.js +0 -48
  264. package/lib/tntd-reference/AHref/index.js.map +0 -1
  265. package/lib/tntd-reference/ReferenceBatchCheck/index.d.ts +0 -3
  266. package/lib/tntd-reference/ReferenceBatchCheck/index.d.ts.map +0 -1
  267. package/lib/tntd-reference/ReferenceBatchCheck/index.js +0 -169
  268. package/lib/tntd-reference/ReferenceBatchCheck/index.js.map +0 -1
  269. package/lib/tntd-reference/ReferenceBatchCheck/index.less +0 -21
  270. package/lib/tntd-reference/ReferenceBatchDrawer/index.d.ts +0 -4
  271. package/lib/tntd-reference/ReferenceBatchDrawer/index.d.ts.map +0 -1
  272. package/lib/tntd-reference/ReferenceBatchDrawer/index.js +0 -203
  273. package/lib/tntd-reference/ReferenceBatchDrawer/index.js.map +0 -1
  274. package/lib/tntd-reference/ReferenceBatchDrawer/index.less +0 -0
  275. package/lib/tntd-reference/ReferenceCheck/index.d.ts +0 -3
  276. package/lib/tntd-reference/ReferenceCheck/index.d.ts.map +0 -1
  277. package/lib/tntd-reference/ReferenceCheck/index.js +0 -130
  278. package/lib/tntd-reference/ReferenceCheck/index.js.map +0 -1
  279. package/lib/tntd-reference/ReferenceCheck/index.less +0 -10
  280. package/lib/tntd-reference/ReferenceDrawer/index.d.ts +0 -4
  281. package/lib/tntd-reference/ReferenceDrawer/index.d.ts.map +0 -1
  282. package/lib/tntd-reference/ReferenceDrawer/index.js +0 -170
  283. package/lib/tntd-reference/ReferenceDrawer/index.js.map +0 -1
  284. package/lib/tntd-reference/ReferenceDrawer/index.less +0 -0
  285. package/lib/tntd-reference/ReferenceInfo/index.d.ts +0 -4
  286. package/lib/tntd-reference/ReferenceInfo/index.d.ts.map +0 -1
  287. package/lib/tntd-reference/ReferenceInfo/index.js +0 -168
  288. package/lib/tntd-reference/ReferenceInfo/index.js.map +0 -1
  289. package/lib/tntd-reference/ReferenceInfo/index.less +0 -31
  290. package/lib/tntd-reference/index.d.ts +0 -15
  291. package/lib/tntd-reference/index.d.ts.map +0 -1
  292. package/lib/tntd-reference/index.js +0 -24
  293. package/lib/tntd-reference/index.js.map +0 -1
@@ -1,203 +0,0 @@
1
- "use strict";
2
-
3
- function _typeof(o) {
4
- "@babel/helpers - typeof";
5
-
6
- return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
7
- return typeof o;
8
- } : function (o) {
9
- return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
10
- }, _typeof(o);
11
- }
12
- Object.defineProperty(exports, "__esModule", {
13
- value: true
14
- });
15
- exports["default"] = void 0;
16
- var _react = _interopRequireWildcard(require("react"));
17
- var _drawer = _interopRequireDefault(require("../../drawer"));
18
- var _spin = _interopRequireDefault(require("../../spin"));
19
- var _tooltip = _interopRequireDefault(require("../../tooltip"));
20
- var _message = _interopRequireDefault(require("../../message"));
21
- var _collapse = _interopRequireDefault(require("../../collapse"));
22
- var _tag = _interopRequireDefault(require("../../tag"));
23
- var _empty = _interopRequireDefault(require("../../empty"));
24
- var _ReferenceInfo = _interopRequireDefault(require("../ReferenceInfo"));
25
- var _prevLocale = require("../../prev-locale");
26
- function _interopRequireDefault(e) {
27
- return e && e.__esModule ? e : {
28
- "default": e
29
- };
30
- }
31
- function _getRequireWildcardCache(e) {
32
- if ("function" != typeof WeakMap) return null;
33
- var r = new WeakMap(),
34
- t = new WeakMap();
35
- return (_getRequireWildcardCache = function _getRequireWildcardCache(e) {
36
- return e ? t : r;
37
- })(e);
38
- }
39
- function _interopRequireWildcard(e, r) {
40
- if (!r && e && e.__esModule) return e;
41
- if (null === e || "object" != _typeof(e) && "function" != typeof e) return {
42
- "default": e
43
- };
44
- var t = _getRequireWildcardCache(r);
45
- if (t && t.has(e)) return t.get(e);
46
- var n = {
47
- __proto__: null
48
- },
49
- a = Object.defineProperty && Object.getOwnPropertyDescriptor;
50
- for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) {
51
- var i = a ? Object.getOwnPropertyDescriptor(e, u) : null;
52
- i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u];
53
- }
54
- return n["default"] = e, t && t.set(e, n), n;
55
- }
56
- function _slicedToArray(r, e) {
57
- return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest();
58
- }
59
- function _nonIterableRest() {
60
- throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
61
- }
62
- function _unsupportedIterableToArray(r, a) {
63
- if (r) {
64
- if ("string" == typeof r) return _arrayLikeToArray(r, a);
65
- var t = {}.toString.call(r).slice(8, -1);
66
- return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0;
67
- }
68
- }
69
- function _arrayLikeToArray(r, a) {
70
- (null == a || a > r.length) && (a = r.length);
71
- for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];
72
- return n;
73
- }
74
- function _iterableToArrayLimit(r, l) {
75
- var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
76
- if (null != t) {
77
- var e,
78
- n,
79
- i,
80
- u,
81
- a = [],
82
- f = !0,
83
- o = !1;
84
- try {
85
- if (i = (t = t.call(r)).next, 0 === l) {
86
- if (Object(t) !== t) return;
87
- f = !1;
88
- } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0);
89
- } catch (r) {
90
- o = !0, n = r;
91
- } finally {
92
- try {
93
- if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return;
94
- } finally {
95
- if (o) throw n;
96
- }
97
- }
98
- return a;
99
- }
100
- }
101
- function _arrayWithHoles(r) {
102
- if (Array.isArray(r)) return r;
103
- }
104
- var __rest = void 0 && (void 0).__rest || function (s, e) {
105
- var t = {};
106
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
107
- if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
108
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
109
- }
110
- return t;
111
- };
112
- var Panel = _collapse["default"].Panel;
113
- var _default = exports["default"] = function _default(props) {
114
- var fetchReference = props.fetchReference,
115
- _props$data = props.data,
116
- data = _props$data === void 0 ? null : _props$data,
117
- _props$orgMap = props.orgMap,
118
- orgMap = _props$orgMap === void 0 ? {} : _props$orgMap,
119
- _props$appList = props.appList,
120
- appList = _props$appList === void 0 ? [] : _props$appList,
121
- title = props.title,
122
- visible = props.visible,
123
- onClose = props.onClose,
124
- _props$value = props.value,
125
- value = _props$value === void 0 ? undefined : _props$value,
126
- _props$onChange = props.onChange,
127
- onChange = _props$onChange === void 0 ? function () {} : _props$onChange,
128
- emptyType = props.emptyType,
129
- showPagination = props.showPagination,
130
- _props$destroyOnClose = props.destroyOnClose,
131
- destroyOnClose = _props$destroyOnClose === void 0 ? true : _props$destroyOnClose,
132
- rest = __rest(props, ["fetchReference", "data", "orgMap", "appList", "title", "visible", "onClose", "value", "onChange", "emptyType", "showPagination", "destroyOnClose"]);
133
- var _useState = (0, _react.useState)(data),
134
- _useState2 = _slicedToArray(_useState, 2),
135
- referenceData = _useState2[0],
136
- setReferenceData = _useState2[1];
137
- var _useState3 = (0, _react.useState)(!data),
138
- _useState4 = _slicedToArray(_useState3, 2),
139
- referenceLoad = _useState4[0],
140
- setReferenceLoad = _useState4[1];
141
- (0, _react.useEffect)(function () {
142
- if (visible && fetchReference) {
143
- fetchReference().then(function (res) {
144
- if ((res === null || res === void 0 ? void 0 : res.success) && (res === null || res === void 0 ? void 0 : res.data)) {
145
- setReferenceData((res === null || res === void 0 ? void 0 : res.data) || []);
146
- }
147
- if (!(res === null || res === void 0 ? void 0 : res.success)) {
148
- _message["default"].error(res.message || (0, _prevLocale.getText)('referenceFail', props === null || props === void 0 ? void 0 : props.lang)); // '查询引用关系失败'
149
- }
150
- })["finally"](function () {
151
- setReferenceLoad(false);
152
- });
153
- }
154
- }, [visible, fetchReference]);
155
- return _react["default"].createElement(_drawer["default"], Object.assign({
156
- className: "reference-drawer",
157
- width: 650,
158
- title: _react["default"].createElement(_tooltip["default"], {
159
- title: title
160
- }, title || ''),
161
- onClose: onClose,
162
- visible: visible,
163
- destroyOnClose: destroyOnClose
164
- }, rest), referenceLoad && _react["default"].createElement(_spin["default"], {
165
- className: "globalSpin",
166
- tip: (0, _prevLocale.getText)('inQuery', props === null || props === void 0 ? void 0 : props.lang)
167
- }), !referenceLoad && referenceData.length && _react["default"].createElement("div", {
168
- className: "drawer-reference-body"
169
- }, _react["default"].createElement(_collapse["default"], {
170
- defaultActiveKey: value || [0],
171
- onChange: onChange
172
- }, referenceData === null || referenceData === void 0 ? void 0 : referenceData.map(function (d, i) {
173
- var headerTxt = d === null || d === void 0 ? void 0 : d.componentName;
174
- if (d === null || d === void 0 ? void 0 : d.componentCode) {
175
- headerTxt += "[".concat(d === null || d === void 0 ? void 0 : d.componentCode, "]");
176
- }
177
- return _react["default"].createElement(Panel, {
178
- header: _react["default"].createElement("div", {
179
- className: "refer-panel-head"
180
- }, _react["default"].createElement(_tooltip["default"], {
181
- title: headerTxt,
182
- placement: "topLeft"
183
- }, _react["default"].createElement("span", null, headerTxt)), (d === null || d === void 0 ? void 0 : d.componentVersion) && _react["default"].createElement(_tag["default"], {
184
- color: "green"
185
- }, "V", d === null || d === void 0 ? void 0 : d.componentVersion)),
186
- key: i
187
- }, _react["default"].createElement(_ReferenceInfo["default"], {
188
- emptyType: emptyType,
189
- from: "ReferenceBatchCheck",
190
- unmountHandle: function unmountHandle() {},
191
- referenceData: (d === null || d === void 0 ? void 0 : d.result) || [],
192
- orgMap: orgMap,
193
- appList: appList,
194
- showPagination: showPagination
195
- }));
196
- }))) || _react["default"].createElement(_empty["default"], {
197
- description: (0, _prevLocale.getText)('noData', props === null || props === void 0 ? void 0 : props.lang),
198
- image: _empty["default"].PRESENTED_IMAGE_SIMPLE,
199
- imageStyle: {
200
- marginTop: 120
201
- }
202
- }));
203
- };
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/tntd-reference/ReferenceBatchDrawer/index.js"],"names":[],"mappings":";;;;;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ACtC;gBACD,OAAO,CACL,8BAAC,KAAK,IACJ,MAAM,EACJ,uCAAK,SAAS,EAAC,kBAAkB;wBAC/B,8BAAC,iBAAO,IAAC,KAAK,EAAE,SAAS,EAAE,SAAS,EAAC,SAAS;4BAC5C,4CAAO,SAAS,CAAQ,CAChB;wBACT,CAAA,CAAC,aAAD,CAAC,uBAAD,CAAC,CAAE,gBAAgB,KAAI,8BAAC,aAAG,IAAC,KAAK,EAAC,OAAO;iCAAG,CAAC,aAAD,CAAC;4BAAD,CAAC,CAAE,gBAAgB,CAAO,CACnE,EAER,GAAG,EAAE,CAAC;oBAEN,8BAAC,uBAAa,IACZ,SAAS,EAAE,SAAS,EACpB,IAAI,EAAC,qBAAqB,EAC1B,aAAa,EAAE,GAAG,EAAE,GAAE,CAAC,EACvB,aAAa,EAAE,CAAA,CAAC,aAAD,CAAC,uBAAD,CAAC,CAAE,MAAM,KAAI,EAAE,EAC9B,MAAM,EAAE,MAAM,EACd,OAAO,EAAE,OAAO,EAChB,cAAc,EAAE,cAAc,GAC9B,CACI,CACT,CAAC;YACJ,CAAC,CAAC,CACO,CACP,CACP,CAAC,IAAI,CACJ,8BAAC,eAAK,IACJ,WAAW,EAAE,IAAA,qBAAO,EAAC,QAAQ,EAAE,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,IAAI,CAAC,EAC3C,KAAK,EAAE,eAAK,CAAC,sBAAsB,EACnC,UAAU,EAAE,EAAE,SAAS,EAAE,GAAG,EAAE,GAC9B,CACH,CACM,CACV,CAAC;AACJ,CAAC,CAAC","sourcesContent":["import React, { useEffect, useState } from 'react';\nimport Drawer from \"../../drawer\";\nimport Spin from '../../spin';\nimport Tooltip from \"../../tooltip\";\nimport message from \"../../message\";\nimport Collapse from \"../../collapse\";\nimport Tag from \"../../tag\";\nimport Empty from \"../../empty\";\nimport ReferenceInfo from '../ReferenceInfo';\nimport { getText } from '../../prev-locale';\n\nconst { Panel } = Collapse;\n\nexport default (props) => {\n const {\n fetchReference,\n data = null,\n orgMap = {},\n appList = [],\n title,\n visible,\n onClose,\n value = undefined,\n onChange = () => {},\n emptyType,\n showPagination,\n destroyOnClose = true,\n ...rest\n } = props;\n const [referenceData, setReferenceData] = useState(data);\n const [referenceLoad, setReferenceLoad] = useState(!data);\n useEffect(() => {\n if (visible && fetchReference) {\n fetchReference()\n .then((res) => {\n if (res?.success && res?.data) {\n setReferenceData(res?.data || []);\n }\n if (!res?.success) {\n message.error(res.message || getText('referenceFail', props?.lang)); // '查询引用关系失败'\n }\n })\n .finally(() => {\n setReferenceLoad(false);\n });\n }\n }, [visible, fetchReference]);\n\n return (\n <Drawer\n className=\"reference-drawer\"\n width={650}\n title={<Tooltip title={title}>{title || ''}</Tooltip>}\n onClose={onClose}\n visible={visible}\n destroyOnClose={destroyOnClose}\n {...rest}\n >\n {referenceLoad && <Spin className=\"globalSpin\" tip={getText('inQuery', props?.lang)} />}\n {(!referenceLoad && referenceData.length && (\n <div className=\"drawer-reference-body\">\n <Collapse defaultActiveKey={value || [0]} onChange={onChange}>\n {referenceData?.map((d, i) => {\n let headerTxt = d?.componentName;\n if (d?.componentCode) {\n headerTxt += `[${d?.componentCode}]`;\n }\n return (\n <Panel\n header={\n <div className=\"refer-panel-head\">\n <Tooltip title={headerTxt} placement=\"topLeft\">\n <span>{headerTxt}</span>\n </Tooltip>\n {d?.componentVersion && <Tag color=\"green\">V{d?.componentVersion}</Tag>}\n </div>\n }\n key={i}\n >\n <ReferenceInfo\n emptyType={emptyType}\n from=\"ReferenceBatchCheck\"\n unmountHandle={() => {}}\n referenceData={d?.result || []}\n orgMap={orgMap}\n appList={appList}\n showPagination={showPagination}\n />\n </Panel>\n );\n })}\n </Collapse>\n </div>\n )) || (\n <Empty\n description={getText('noData', props?.lang)}\n image={Empty.PRESENTED_IMAGE_SIMPLE}\n imageStyle={{ marginTop: 120 }}\n />\n )}\n </Drawer>\n );\n};\n"]}
@@ -1,3 +0,0 @@
1
- declare function _default(props: any): Promise<any> | undefined;
2
- export default _default;
3
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/tntd-reference/ReferenceCheck/index.js"],"names":[],"mappings":"AAUe,gEAwHd"}
@@ -1,130 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports["default"] = void 0;
7
- var _react = _interopRequireDefault(require("react"));
8
- var _reactDom = _interopRequireDefault(require("react-dom"));
9
- var _modal = _interopRequireDefault(require("../../modal"));
10
- var _button = _interopRequireDefault(require("../../button"));
11
- var _alert = _interopRequireDefault(require("../../alert"));
12
- var _message = _interopRequireDefault(require("../../message"));
13
- var _ReferenceInfo = _interopRequireDefault(require("../ReferenceInfo"));
14
- var _prevLocale = require("../../prev-locale");
15
- require("./index.less");
16
- function _interopRequireDefault(e) {
17
- return e && e.__esModule ? e : {
18
- "default": e
19
- };
20
- }
21
- var _default = exports["default"] = function _default(props) {
22
- var _ref = props || {},
23
- _ref$title = _ref.title,
24
- title = _ref$title === void 0 ? (0, _prevLocale.getText)('viewReference', props === null || props === void 0 ? void 0 : props.lang) : _ref$title,
25
- rq = _ref.rq,
26
- checkReferResponse = _ref.checkReferResponse,
27
- _ref$orgMap = _ref.orgMap,
28
- orgMap = _ref$orgMap === void 0 ? {} : _ref$orgMap,
29
- _ref$appList = _ref.appList,
30
- appList = _ref$appList === void 0 ? [] : _ref$appList,
31
- cancelText = _ref.cancelText,
32
- okText = _ref.okText,
33
- emptyType = _ref.emptyType,
34
- showPagination = _ref.showPagination,
35
- _ref$destroyOnClose = _ref.destroyOnClose,
36
- destroyOnClose = _ref$destroyOnClose === void 0 ? true : _ref$destroyOnClose,
37
- _ref$weakMsg = _ref.weakMsg,
38
- weakMsg = _ref$weakMsg === void 0 ? (0, _prevLocale.getText)('weakMsg', props === null || props === void 0 ? void 0 : props.lang) : _ref$weakMsg,
39
- _ref$strongMsg = _ref.strongMsg,
40
- strongMsg = _ref$strongMsg === void 0 ? (0, _prevLocale.getText)('strongMsg', props === null || props === void 0 ? void 0 : props.lang) : _ref$strongMsg;
41
- var appendModal = function appendModal(resolve, _ref2) {
42
- var type = _ref2.type,
43
- _ref2$result = _ref2.result,
44
- referenceData = _ref2$result === void 0 ? [] : _ref2$result;
45
- var modalWrap = document.createElement('div');
46
- modalWrap.setAttribute('id', 'tddc-reference-check-modal');
47
- var removeModal = function removeModal() {
48
- var _a;
49
- var tddcModal = document.querySelectorAll('#tddc-reference-check-modal');
50
- if (tddcModal) {
51
- tddcModal.forEach(function (ele) {
52
- var _a;
53
- return (_a = ele === null || ele === void 0 ? void 0 : ele.parentNode) === null || _a === void 0 ? void 0 : _a.removeChild(ele);
54
- });
55
- }
56
- modalWrap && ((_a = modalWrap === null || modalWrap === void 0 ? void 0 : modalWrap.parentNode) === null || _a === void 0 ? void 0 : _a.removeChild(modalWrap));
57
- if (document.body.getAttribute('style')) {
58
- document.body.removeAttribute('style');
59
- }
60
- };
61
- removeModal();
62
- // 能进行下一步操作
63
- var canNextOpera = !!type && !['STRONG'].includes(type);
64
- document.body.appendChild(modalWrap);
65
- _reactDom["default"].render(_react["default"].createElement(_modal["default"], {
66
- title: title,
67
- visible: true,
68
- width: 1000,
69
- destroyOnClose: destroyOnClose,
70
- getContainer: modalWrap,
71
- onCancel: removeModal,
72
- footer: [_react["default"].createElement(_button["default"], {
73
- key: "back",
74
- onClick: removeModal
75
- }, cancelText || (0, _prevLocale.getText)('cancel', props === null || props === void 0 ? void 0 : props.lang)), canNextOpera && _react["default"].createElement(_button["default"], {
76
- key: "submit",
77
- type: "primary",
78
- onClick: function onClick() {
79
- removeModal();
80
- resolve(type);
81
- }
82
- }, okText || (0, _prevLocale.getText)('next', props === null || props === void 0 ? void 0 : props.lang))]
83
- }, _react["default"].createElement("div", {
84
- className: "reference-check-modal"
85
- }, canNextOpera && _react["default"].createElement("div", {
86
- className: "mb16"
87
- }, _react["default"].createElement(_alert["default"], {
88
- type: "warning",
89
- message: weakMsg || (referenceData === null || referenceData === void 0 ? void 0 : referenceData.message) || (0, _prevLocale.getText)('weakMsg', props === null || props === void 0 ? void 0 : props.lang)
90
- })), !canNextOpera && _react["default"].createElement("div", {
91
- className: "mb16"
92
- }, _react["default"].createElement(_alert["default"], {
93
- type: "error",
94
- message: strongMsg || (referenceData === null || referenceData === void 0 ? void 0 : referenceData.message) || (0, _prevLocale.getText)('strongMsg', props === null || props === void 0 ? void 0 : props.lang)
95
- })), _react["default"].createElement("div", {
96
- className: "relation-reference-detail"
97
- }, _react["default"].createElement(_ReferenceInfo["default"], {
98
- showPagination: showPagination,
99
- emptyType: emptyType,
100
- referenceData: referenceData,
101
- orgMap: orgMap,
102
- appList: appList,
103
- unmountHandle: removeModal
104
- })))), modalWrap);
105
- };
106
- if (rq && typeof rq === 'function') {
107
- return new Promise(function (resolve, reject) {
108
- return rq().then(function (res) {
109
- var _ref3 = res || {},
110
- success = _ref3.success,
111
- data = _ref3.data;
112
- if (success) {
113
- var _ref4 = data || {},
114
- type = _ref4.type;
115
- if (type === 'NO_EXIST') {
116
- resolve(type);
117
- } else if (type) {
118
- // if (['WEAK', 'STRONG'].includes(type)) {
119
- appendModal(resolve, data);
120
- }
121
- } else {
122
- // reject('查询关联关系失败');
123
- reject((0, _prevLocale.getText)('relationFail', props === null || props === void 0 ? void 0 : props.lang));
124
- }
125
- });
126
- });
127
- } else {
128
- _message["default"].error((0, _prevLocale.getText)('reliableQuery', props === null || props === void 0 ? void 0 : props.lang)); // '请提供一个可靠的查询请求!!!'
129
- }
130
- };
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/tntd-reference/ReferenceCheck/index.js"],"names":[],"mappings":";;;;;AAAA,kDAA0B;AAC1B,0DAAiC;AACjC,wDAAgC;AAChC,0DAAkC;AAClC,wDAAgC;AAChC,4DAAoC;AACpC,qEAA6C;AAC7C,mDAA4C;AAC5C,wBAAsB;AAEtB,kBAAe,CAAC,KA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K,aAAL,KAAK,uBAAL,KAAK,CAAE,IAAI,CAAC,CAAC,CAAC;iBAC9C;YACH,CAAC,CAAC,CAAC;QACL,CAAC,CAAC,CAAC;KACJ;SAAM;QACL,iBAAO,CAAC,KAAK,CAAC,IAAA,qBAAO,EAAC,eAAe,EAAE,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,IAAI,CAAC,CAAC,CAAC,CAAC,oBAAoB;KAC3E;AACH,CAAC,CAAC","sourcesContent":["import React from 'react';\nimport ReactDOM from 'react-dom';\nimport Modal from '../../modal';\nimport Button from '../../button';\nimport Alert from '../../alert';\nimport message from '../../message';\nimport ReferenceInfo from '../ReferenceInfo';\nimport { getText } from '../../prev-locale';\nimport './index.less';\n\nexport default (props) => {\n const {\n title = getText('viewReference', props?.lang),\n rq,\n checkReferResponse,\n orgMap = {},\n appList = [],\n cancelText,\n okText,\n emptyType,\n showPagination,\n destroyOnClose = true,\n weakMsg = getText('weakMsg', props?.lang), //'存在弱引用(被下线、禁用、待提交/上线、导入待提交/上线、暂存、保存等相关状态组件引用)关系,谨慎操作',\n strongMsg = getText('strongMsg', props?.lang), //'存在强引用(被上线、启用、上下线审批中和指标初始化等相关状态组件引用)关系,禁止操作',\n } = props || {};\n const appendModal = (resolve, { type, result: referenceData = [] }) => {\n const modalWrap = document.createElement('div');\n modalWrap.setAttribute('id', 'tddc-reference-check-modal');\n const removeModal = () => {\n const tddcModal = document.querySelectorAll('#tddc-reference-check-modal');\n if (tddcModal) {\n tddcModal.forEach((ele) => ele?.parentNode?.removeChild(ele));\n }\n modalWrap && modalWrap?.parentNode?.removeChild(modalWrap);\n if (document.body.getAttribute('style')) {\n document.body.removeAttribute('style');\n }\n };\n removeModal();\n\n // 能进行下一步操作\n const canNextOpera = !!type && !['STRONG'].includes(type);\n document.body.appendChild(modalWrap);\n ReactDOM.render(\n <Modal\n title={title}\n visible={true}\n width={1000}\n destroyOnClose={destroyOnClose}\n getContainer={modalWrap}\n onCancel={removeModal}\n footer={[\n <Button key=\"back\" onClick={removeModal}>\n {/* 取消 */}\n {cancelText || getText('cancel', props?.lang)}\n </Button>,\n canNextOpera && (\n <Button\n key=\"submit\"\n type=\"primary\"\n onClick={() => {\n removeModal();\n resolve(type);\n }}\n >\n {/* 下一步 */}\n {okText || getText('next', props?.lang)}\n </Button>\n ),\n ]}\n >\n <div className=\"reference-check-modal\">\n {canNextOpera && (\n <div className=\"mb16\">\n <Alert\n type=\"warning\"\n message={\n weakMsg || referenceData?.message || getText('weakMsg', props?.lang)\n // '存在弱引用(被下线、禁用、待提交/上线、导入待提交/上线、暂存、保存等相关状态组件引用)关系,谨慎操作'\n }\n />\n </div>\n )}\n {!canNextOpera && (\n <div className=\"mb16\">\n <Alert\n type=\"error\"\n message={\n strongMsg || referenceData?.message || getText('strongMsg', props?.lang)\n // '存在强引用(被上线、启用、上下线审批中和指标初始化等相关状态组件引用)关系,禁止操作'\n }\n />\n </div>\n )}\n <div className=\"relation-reference-detail\">\n <ReferenceInfo\n showPagination={showPagination}\n emptyType={emptyType}\n referenceData={referenceData}\n orgMap={orgMap}\n appList={appList}\n unmountHandle={removeModal}\n />\n </div>\n </div>\n </Modal>,\n modalWrap,\n );\n };\n if (rq && typeof rq === 'function') {\n return new Promise((resolve, reject) => {\n return rq().then((res) => {\n const { success, data } = res || {};\n if (success) {\n const { type } = data || {};\n if (type === 'NO_EXIST') {\n resolve(type);\n } else if (type) {\n // if (['WEAK', 'STRONG'].includes(type)) {\n appendModal(resolve, data);\n }\n } else {\n // reject('查询关联关系失败');\n reject(getText('relationFail', props?.lang));\n }\n });\n });\n } else {\n message.error(getText('reliableQuery', props?.lang)); // '请提供一个可靠的查询请求!!!'\n }\n};\n"]}
@@ -1,10 +0,0 @@
1
- .reference-check-modal {
2
- .mb16 {
3
- margin-bottom: 16px;
4
- }
5
- .relation-reference-detail {
6
- .reference-body .reference-body-item {
7
- padding: 0;
8
- }
9
- }
10
- }
@@ -1,4 +0,0 @@
1
- declare function _default(props: any): React.JSX.Element;
2
- export default _default;
3
- import React from "react";
4
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/tntd-reference/ReferenceDrawer/index.js"],"names":[],"mappings":"AASe,yDA0Dd"}
@@ -1,170 +0,0 @@
1
- "use strict";
2
-
3
- function _typeof(o) {
4
- "@babel/helpers - typeof";
5
-
6
- return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
7
- return typeof o;
8
- } : function (o) {
9
- return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
10
- }, _typeof(o);
11
- }
12
- Object.defineProperty(exports, "__esModule", {
13
- value: true
14
- });
15
- exports["default"] = void 0;
16
- var _react = _interopRequireWildcard(require("react"));
17
- var _drawer = _interopRequireDefault(require("../../drawer"));
18
- var _spin = _interopRequireDefault(require("../../spin"));
19
- var _tooltip = _interopRequireDefault(require("../../tooltip"));
20
- var _message = _interopRequireDefault(require("../../message"));
21
- var _ReferenceInfo = _interopRequireDefault(require("../ReferenceInfo"));
22
- var _prevLocale = require("../../prev-locale");
23
- require("./index.less");
24
- function _interopRequireDefault(e) {
25
- return e && e.__esModule ? e : {
26
- "default": e
27
- };
28
- }
29
- function _getRequireWildcardCache(e) {
30
- if ("function" != typeof WeakMap) return null;
31
- var r = new WeakMap(),
32
- t = new WeakMap();
33
- return (_getRequireWildcardCache = function _getRequireWildcardCache(e) {
34
- return e ? t : r;
35
- })(e);
36
- }
37
- function _interopRequireWildcard(e, r) {
38
- if (!r && e && e.__esModule) return e;
39
- if (null === e || "object" != _typeof(e) && "function" != typeof e) return {
40
- "default": e
41
- };
42
- var t = _getRequireWildcardCache(r);
43
- if (t && t.has(e)) return t.get(e);
44
- var n = {
45
- __proto__: null
46
- },
47
- a = Object.defineProperty && Object.getOwnPropertyDescriptor;
48
- for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) {
49
- var i = a ? Object.getOwnPropertyDescriptor(e, u) : null;
50
- i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u];
51
- }
52
- return n["default"] = e, t && t.set(e, n), n;
53
- }
54
- function _slicedToArray(r, e) {
55
- return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest();
56
- }
57
- function _nonIterableRest() {
58
- throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
59
- }
60
- function _unsupportedIterableToArray(r, a) {
61
- if (r) {
62
- if ("string" == typeof r) return _arrayLikeToArray(r, a);
63
- var t = {}.toString.call(r).slice(8, -1);
64
- return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0;
65
- }
66
- }
67
- function _arrayLikeToArray(r, a) {
68
- (null == a || a > r.length) && (a = r.length);
69
- for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];
70
- return n;
71
- }
72
- function _iterableToArrayLimit(r, l) {
73
- var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
74
- if (null != t) {
75
- var e,
76
- n,
77
- i,
78
- u,
79
- a = [],
80
- f = !0,
81
- o = !1;
82
- try {
83
- if (i = (t = t.call(r)).next, 0 === l) {
84
- if (Object(t) !== t) return;
85
- f = !1;
86
- } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0);
87
- } catch (r) {
88
- o = !0, n = r;
89
- } finally {
90
- try {
91
- if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return;
92
- } finally {
93
- if (o) throw n;
94
- }
95
- }
96
- return a;
97
- }
98
- }
99
- function _arrayWithHoles(r) {
100
- if (Array.isArray(r)) return r;
101
- }
102
- var __rest = void 0 && (void 0).__rest || function (s, e) {
103
- var t = {};
104
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
105
- if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
106
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
107
- }
108
- return t;
109
- };
110
- var _default = exports["default"] = function _default(props) {
111
- var fetchReference = props.fetchReference,
112
- _props$data = props.data,
113
- data = _props$data === void 0 ? null : _props$data,
114
- _props$orgMap = props.orgMap,
115
- orgMap = _props$orgMap === void 0 ? {} : _props$orgMap,
116
- _props$appList = props.appList,
117
- appList = _props$appList === void 0 ? [] : _props$appList,
118
- title = props.title,
119
- visible = props.visible,
120
- onClose = props.onClose,
121
- emptyType = props.emptyType,
122
- showPagination = props.showPagination,
123
- _props$destroyOnClose = props.destroyOnClose,
124
- destroyOnClose = _props$destroyOnClose === void 0 ? true : _props$destroyOnClose,
125
- rest = __rest(props, ["fetchReference", "data", "orgMap", "appList", "title", "visible", "onClose", "emptyType", "showPagination", "destroyOnClose"]);
126
- var _useState = (0, _react.useState)(data),
127
- _useState2 = _slicedToArray(_useState, 2),
128
- referenceData = _useState2[0],
129
- setReferenceData = _useState2[1];
130
- var _useState3 = (0, _react.useState)(!data),
131
- _useState4 = _slicedToArray(_useState3, 2),
132
- referenceLoad = _useState4[0],
133
- setReferenceLoad = _useState4[1];
134
- (0, _react.useEffect)(function () {
135
- if (visible && fetchReference) {
136
- fetchReference().then(function (res) {
137
- if ((res === null || res === void 0 ? void 0 : res.success) && (res === null || res === void 0 ? void 0 : res.data)) {
138
- setReferenceData((res === null || res === void 0 ? void 0 : res.data) || []);
139
- }
140
- if (!(res === null || res === void 0 ? void 0 : res.success)) {
141
- _message["default"].error(res.message || (0, _prevLocale.getText)('referenceFail', props === null || props === void 0 ? void 0 : props.lang)); // '查询引用关系失败'
142
- }
143
- })["finally"](function () {
144
- setReferenceLoad(false);
145
- });
146
- }
147
- }, [visible, fetchReference]);
148
- return _react["default"].createElement(_drawer["default"], Object.assign({
149
- className: "reference-drawer",
150
- width: 900,
151
- title: _react["default"].createElement(_tooltip["default"], {
152
- title: title
153
- }, title || ''),
154
- onClose: onClose,
155
- visible: visible,
156
- destroyOnClose: destroyOnClose
157
- }, rest), referenceLoad && _react["default"].createElement(_spin["default"], {
158
- className: "globalSpin",
159
- tip: (0, _prevLocale.getText)('inQuery', props === null || props === void 0 ? void 0 : props.lang)
160
- }), !referenceLoad && _react["default"].createElement("div", {
161
- className: "drawer-reference-body"
162
- }, _react["default"].createElement(_ReferenceInfo["default"], {
163
- emptyType: emptyType,
164
- referenceData: referenceData || [],
165
- appList: appList || [],
166
- orgMap: orgMap || {},
167
- unmountHandle: onClose,
168
- showPagination: showPagination
169
- })));
170
- };
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/tntd-reference/ReferenceDrawer/index.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+CAAmD;AACnD,0DAAkC;AAClC,sDAA8B;AAC9B,4DAAoC;AACpC,4DAAoC;AACpC,qEAA6C;AAC7C,mDAA4C;AAC5C,wBAAsB;AAEtB,kBAAe,CAAC,KAAK,EAAE,EAAE;IACvB,MAAM,EACJ,cAAc,EACd,IAAI,GAAG,IAAI,EACX,MAAM,GAAG,EAAE,EACX,OAAO,GAAG,EAAE,EACZ,KAAK,EACL,OAAO,EACP,OAAO,EACP,SAAS,EACT,cAAc,EACd,cAAc,GAAG,IAAI,KAEnB,KAAK,EADJ,IAAI,UACL,KAAK,EAZH,+HAYL,CAAQ,CAAC;IACV,MAAM,CAAC,aAAa,EAAE,gBAAgB,CAAC,GAAG,IAAA,gBAAQ,EAAC,IAAI,CAAC,CAAC;IACzD,MAAM,CAAC,aAAa,EAAE,gBAAgB,CAAC,GAAG,IAAA,gBAAQ,EAAC,CAAC,IA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Aa,IAAI,CACjB,uCAAK,SAAS,EAAC,uBAAuB;YACpC,8BAAC,uBAAa,IACZ,SAAS,EAAE,SAAS,EACpB,aAAa,EAAE,aAAa,IAAI,EAAE,EAClC,OAAO,EAAE,OAAO,IAAI,EAAE,EACtB,MAAM,EAAE,MAAM,IAAI,EAAE,EACpB,aAAa,EAAE,OAAO,EACtB,cAAc,EAAE,cAAc,GAC9B,CACE,CACP,CACM,CACV,CAAC;AACJ,CAAC,CAAC","sourcesContent":["import React, { useEffect, useState } from 'react';\nimport Drawer from '../../drawer';\nimport Spin from \"../../spin\";\nimport Tooltip from \"../../tooltip\";\nimport message from '../../message';\nimport ReferenceInfo from '../ReferenceInfo';\nimport { getText } from '../../prev-locale';\nimport './index.less';\n\nexport default (props) => {\n const {\n fetchReference,\n data = null,\n orgMap = {},\n appList = [],\n title,\n visible,\n onClose,\n emptyType,\n showPagination,\n destroyOnClose = true,\n ...rest\n } = props;\n const [referenceData, setReferenceData] = useState(data);\n const [referenceLoad, setReferenceLoad] = useState(!data);\n useEffect(() => {\n if (visible && fetchReference) {\n fetchReference()\n .then((res) => {\n if (res?.success && res?.data) {\n setReferenceData(res?.data || []);\n }\n if (!res?.success) {\n message.error(res.message || getText('referenceFail', props?.lang)); // '查询引用关系失败'\n }\n })\n .finally(() => {\n setReferenceLoad(false);\n });\n }\n }, [visible, fetchReference]);\n\n return (\n <Drawer\n className=\"reference-drawer\"\n width={900}\n title={<Tooltip title={title}>{title || ''}</Tooltip>}\n onClose={onClose}\n visible={visible}\n destroyOnClose={destroyOnClose}\n {...rest}\n >\n {referenceLoad && <Spin className=\"globalSpin\" tip={getText('inQuery', props?.lang)}></Spin>}\n {!referenceLoad && (\n <div className=\"drawer-reference-body\">\n <ReferenceInfo\n emptyType={emptyType}\n referenceData={referenceData || []}\n appList={appList || []}\n orgMap={orgMap || {}}\n unmountHandle={onClose}\n showPagination={showPagination}\n />\n </div>\n )}\n </Drawer>\n );\n};"]}
File without changes
@@ -1,4 +0,0 @@
1
- declare function _default(props: any): React.JSX.Element;
2
- export default _default;
3
- import React from "react";
4
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/tntd-reference/ReferenceInfo/index.js"],"names":[],"mappings":"AAce,yDA6Jd"}