tntd 2.8.29 → 2.8.30

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 (578) hide show
  1. package/CHANGELOG.json +1034 -0
  2. package/CHANGELOG.md +605 -0
  3. package/es/_util/context.js +1 -1
  4. package/es/_util/defaultRenderEmpty.js +1 -1
  5. package/es/_util/hooks/useFlexGapSupport.js +4 -4
  6. package/es/_util/hooks/useForceUpdate.js +4 -4
  7. package/es/_util/responsiveObserve.js +1 -1
  8. package/es/_util/styleChecker.js +1 -1
  9. package/es/actions/index.js +1 -1
  10. package/es/alert/alert.js +93 -0
  11. package/es/alert/alert.js.map +1 -0
  12. package/es/alert/alert.less +128 -0
  13. package/es/array-input/index.js +9 -9
  14. package/es/cascader/cascader.js +49 -0
  15. package/es/cascader/cascader.js.map +1 -0
  16. package/es/cascader/cascader.less +16 -0
  17. package/es/check-card/group.js +8 -8
  18. package/es/check-card/index.js +6 -6
  19. package/es/checkbox/check.png +0 -0
  20. package/es/checkbox/checkbox-group.js +1 -1
  21. package/es/checkbox/checkbox.js +65 -0
  22. package/es/checkbox/checkbox.js.map +1 -0
  23. package/es/checkbox/checkbox.less +69 -0
  24. package/es/color-picker/ColorPicker.js +6 -6
  25. package/es/color-picker/index.js +1 -1
  26. package/es/columns/index.js +1 -1
  27. package/es/config-provider/config-provider.js +1 -1
  28. package/es/date-picker/DatePicker.js +128 -0
  29. package/es/date-picker/DatePicker.js.map +1 -0
  30. package/es/date-picker/index.less +294 -0
  31. package/es/descriptions/descriptions.js +5 -5
  32. package/es/development-login/LoginModal.js +6 -6
  33. package/es/development-login/index.js +4 -4
  34. package/es/drawer/drawer.js +2 -2
  35. package/es/ellipsis/Svg/CopySVG.js +1 -1
  36. package/es/ellipsis/Svg/TickSVG.js +1 -1
  37. package/es/ellipsis/index.js +5 -5
  38. package/es/empty/empty.js +2 -2
  39. package/es/empty/empty.stories.js +2 -2
  40. package/es/exception/exception.js +1 -1
  41. package/es/form/form.js +2 -2
  42. package/es/grid-v4/col.js +2 -2
  43. package/es/grid-v4/hooks/useBreakpoint.js +1 -1
  44. package/es/grid-v4/index.js +1 -1
  45. package/es/grid-v4/row.js +6 -6
  46. package/es/handle/index.js +1 -1
  47. package/es/handle-icon/index.js +11 -11
  48. package/es/icon/IconFont.js +1 -1
  49. package/es/icon/components/Icon.js +9 -9
  50. package/es/icon/components/index.js +1 -1
  51. package/es/icon/components/utils.js +3 -3
  52. package/es/icon/index.js +7 -7
  53. package/es/icon/twoTonePrimaryColor.js +1 -1
  54. package/es/icon/utils.js +1 -1
  55. package/es/img/Contain.js +1 -1
  56. package/es/img/Cover.js +5 -5
  57. package/es/img/index.js +5 -5
  58. package/es/index.js +1 -1
  59. package/es/input/input.js +2 -2
  60. package/es/input-number/index.js +1 -1
  61. package/es/input-number/inputNumber.js +54 -0
  62. package/es/input-number/inputNumber.js.map +1 -0
  63. package/es/input-number/inputNumber.less +12 -0
  64. package/es/label/index.js +2 -2
  65. package/es/loading-button/index.js +5 -5
  66. package/es/locale/default.js +1 -1
  67. package/es/locale/en_US.js +1 -1
  68. package/es/locale/zh_CN.js +1 -1
  69. package/es/modal/index.less +36 -0
  70. package/es/modal/modal.js +1 -1
  71. package/es/notification/assets/index.js +1 -1
  72. package/es/notification/index.js +1 -1
  73. package/es/notification/notification.js +1 -1
  74. package/es/page/Box.js +1 -1
  75. package/es/page/index.js +7 -7
  76. package/es/page-container/index.js +1 -1
  77. package/es/page-loading/index.js +1 -1
  78. package/es/popconfirm/index.less +32 -0
  79. package/es/popconfirm/popconfirm.js +61 -0
  80. package/es/popconfirm/popconfirm.js.map +1 -0
  81. package/es/popover/index.less +57 -0
  82. package/es/popover/popover.js +55 -0
  83. package/es/popover/popover.js.map +1 -0
  84. package/es/preview-text/index.js +7 -7
  85. package/es/progress/progress.js +148 -0
  86. package/es/progress/progress.js.map +1 -0
  87. package/es/progress/progress.less +82 -0
  88. package/es/query-form/Field/Checkbox.js +1 -1
  89. package/es/query-form/Field/Composition/FieldPopover.js +341 -0
  90. package/es/query-form/Field/Composition/FieldPopover.js.map +1 -0
  91. package/es/query-form/Field/Composition/FieldPopover.less +35 -0
  92. package/es/query-form/Field/Composition/Select.js +146 -0
  93. package/es/query-form/Field/Composition/Select.js.map +1 -0
  94. package/es/query-form/Field/Composition/ValueTag.js +158 -0
  95. package/es/query-form/Field/Composition/ValueTag.js.map +1 -0
  96. package/es/query-form/Field/Composition/index.js +321 -0
  97. package/es/query-form/Field/Composition/index.js.map +1 -0
  98. package/es/query-form/Field/Composition/index.less +145 -0
  99. package/es/query-form/Field/Composition/utils.js +168 -0
  100. package/es/query-form/Field/Composition/utils.js.map +1 -0
  101. package/es/query-form/Field/Select.js +6 -6
  102. package/es/query-form/Field/SelectInput.js +6 -6
  103. package/es/query-form/Field/fieldsMap.js +3 -2
  104. package/es/query-form/Field/fieldsMap.js.map +1 -1
  105. package/es/query-form/Field/index.js +10 -10
  106. package/es/query-form/createActions.js +1 -1
  107. package/es/query-form/index.js +10 -10
  108. package/es/query-form/useForm.js +1 -1
  109. package/es/query-form-v2/index.less +133 -0
  110. package/es/query-list-scene/List.js +13 -13
  111. package/es/query-list-scene/QueryForm.js +10 -10
  112. package/es/query-list-scene/QueryListScene.js +10 -10
  113. package/es/query-list-scene/Title.js +1 -1
  114. package/es/query-list-scene/Toolbar.js +2 -2
  115. package/es/query-list-scene/createActions.js +1 -1
  116. package/es/query-list-scene/index.js +1 -1
  117. package/es/query-list-scene/useActions.js +1 -1
  118. package/es/radio/index.js +1 -1
  119. package/es/radio/radio-group.js +1 -1
  120. package/es/radio/radio.js +75 -0
  121. package/es/radio/radio.js.map +1 -0
  122. package/es/radio/radio.less +43 -0
  123. package/es/render-empty/render-empty.js +1 -1
  124. package/es/scroll-bar/Bar.js +91 -0
  125. package/es/scroll-bar/Bar.js.map +1 -0
  126. package/es/scroll-bar/Context.js +13 -0
  127. package/es/scroll-bar/Context.js.map +1 -0
  128. package/es/scroll-bar/ScrollBar.js +97 -0
  129. package/es/scroll-bar/ScrollBar.js.map +1 -0
  130. package/es/scroll-bar/Thumb.js +125 -0
  131. package/es/scroll-bar/Thumb.js.map +1 -0
  132. package/es/scroll-bar/index.js +10 -0
  133. package/es/scroll-bar/index.js.map +1 -0
  134. package/es/scroll-bar/scrollBar.less +59 -0
  135. package/es/scroll-bar/util.js +39 -0
  136. package/es/scroll-bar/util.js.map +1 -0
  137. package/es/segmented/index.js +2 -2
  138. package/es/select/select.js +2 -2
  139. package/es/spin/spin.js +44 -0
  140. package/es/spin/spin.js.map +1 -0
  141. package/es/spin/spin.less +9 -0
  142. package/es/steps/assets/background_left.svg +12 -0
  143. package/es/steps/assets/background_right.svg +12 -0
  144. package/es/steps/assets/horizontal_line.svg +3 -0
  145. package/es/steps/assets/vertical_line.svg +3 -0
  146. package/es/steps/stepStyle/icon.less +51 -0
  147. package/es/steps/stepStyle/progress-dot.less +10 -0
  148. package/es/steps/stepStyle/variables.less +8 -0
  149. package/es/steps/stepStyle/vertical.less +41 -0
  150. package/es/steps/steps.js +2 -2
  151. package/es/svg-components/index.js +1 -1
  152. package/es/switch/index.less +45 -0
  153. package/es/switch/switch.js +1 -1
  154. package/es/table/hooks/use-column-setting.js +4 -4
  155. package/es/table/hooks/use-expand-fixed.js +6 -6
  156. package/es/table/resizableTable/index.js +6 -6
  157. package/es/table/table-hoc.js +1 -1
  158. package/es/table/table.js +9 -9
  159. package/es/table/table.stories.js +2 -2
  160. package/es/table/total-shower.js +1 -1
  161. package/es/table/utils.js +1 -1
  162. package/es/table-container/index.js +1 -1
  163. package/es/tabs/tabs.less +125 -0
  164. package/es/tabs-container/index.js +1 -1
  165. package/es/tag/tag.js +2 -2
  166. package/es/time-picker/TimePicker.js +55 -0
  167. package/es/time-picker/TimePicker.js.map +1 -0
  168. package/es/time-picker/index.less +38 -0
  169. package/es/title/index.js +1 -1
  170. package/es/tntd-action/Action.js +141 -0
  171. package/es/tntd-action/Action.js.map +1 -0
  172. package/es/tntd-action/index.less +61 -0
  173. package/es/tntd-cascader/AntdCascader/component/context.js +1 -1
  174. package/es/tntd-cascader/AntdCascader/component/defaultRenderEmpty.js +1 -1
  175. package/es/tntd-cascader/AntdCascader/component/getIcons.js +1 -1
  176. package/es/tntd-cascader/AntdCascader/component/useCompactItemContext.js +2 -2
  177. package/es/tntd-cascader/AntdCascader/config/utils.js +2 -2
  178. package/es/tntd-cascader/AntdCascader/index.js +7 -7
  179. package/es/tntd-cascader/index.js +1 -1
  180. package/es/tntd-cascader/rc-cascader/Cascader.js +8 -8
  181. package/es/tntd-cascader/rc-cascader/OptionList/Checkbox.js +2 -2
  182. package/es/tntd-cascader/rc-cascader/OptionList/Column.js +7 -7
  183. package/es/tntd-cascader/rc-cascader/OptionList/index.js +9 -9
  184. package/es/tntd-cascader/rc-cascader/OptionList/useActive.js +5 -5
  185. package/es/tntd-cascader/rc-cascader/OptionList/useKeyboard.js +8 -8
  186. package/es/tntd-cascader/rc-cascader/hooks/useDisplayValues.js +5 -5
  187. package/es/tntd-cascader/rc-cascader/hooks/useSearchConfig.js +1 -1
  188. package/es/tntd-cascader/rc-cascader/hooks/useSearchOptions.js +6 -6
  189. package/es/tntd-cascader/rc-cascader/index.js +1 -1
  190. package/es/tntd-cascader/rc-cascader/utils/warningPropsUtil.js +4 -4
  191. package/es/tntd-form/ErrorList.js +7 -7
  192. package/es/tntd-form/Form.js +6 -6
  193. package/es/tntd-form/FormItem/ItemHolder.js +6 -6
  194. package/es/tntd-form/FormItem/index.js +8 -8
  195. package/es/tntd-form/FormItemInput.js +1 -1
  196. package/es/tntd-form/FormItemLabel.js +2 -2
  197. package/es/tntd-form/FormList.js +1 -1
  198. package/es/tntd-form/context.js +1 -1
  199. package/es/tntd-form/hooks/useDebounce.js +4 -4
  200. package/es/tntd-form/hooks/useForm.js +5 -5
  201. package/es/tntd-form/hooks/useFormItemStatus.js +1 -1
  202. package/es/tntd-form/hooks/useFrameState.js +5 -5
  203. package/es/tntd-form/index.js +1 -1
  204. package/es/tntd-icon/index.js +1 -1
  205. package/es/tntd-layout/AppList.js +6 -6
  206. package/es/tntd-layout/Application.js +6 -6
  207. package/es/tntd-layout/Avatar.js +2 -2
  208. package/es/tntd-layout/CompatibleLanguage.js +6 -6
  209. package/es/tntd-layout/EnterpriseLayout/Avatar.js +2 -2
  210. package/es/tntd-layout/EnterpriseLayout/Language.js +6 -6
  211. package/es/tntd-layout/EnterpriseLayout/Theme.js +6 -6
  212. package/es/tntd-layout/EnterpriseLayout/index.js +1 -1
  213. package/es/tntd-layout/GlobalNavigation/NavigationPopup.js +6 -6
  214. package/es/tntd-layout/GlobalNavigation/index.js +9 -9
  215. package/es/tntd-layout/Header.js +2 -2
  216. package/es/tntd-layout/HeaderActions.js +2 -2
  217. package/es/tntd-layout/HeaderNavs.js +6 -6
  218. package/es/tntd-layout/HeaderTabs.js +7 -7
  219. package/es/tntd-layout/Iconfont.js +1 -1
  220. package/es/tntd-layout/Language.js +6 -6
  221. package/es/tntd-layout/Layout.js +6 -6
  222. package/es/tntd-layout/Logo.js +2 -2
  223. package/es/tntd-layout/OrgAppList.js +6 -6
  224. package/es/tntd-layout/SideMenu.js +6 -6
  225. package/es/tntd-layout/Theme.js +6 -6
  226. package/es/tntd-layout/createActions.js +1 -1
  227. package/es/tntd-layout/images/index.js +1 -1
  228. package/es/tntd-layout/index.js +1 -1
  229. package/es/tntd-layout/paaslayout/CompactSideMenu.js +6 -6
  230. package/es/tntd-layout/paaslayout/Header.js +2 -2
  231. package/es/tntd-layout/paaslayout/Logo.js +2 -2
  232. package/es/tntd-layout/paaslayout/SideMenu.js +6 -6
  233. package/es/tntd-layout/paaslayout/index.js +6 -6
  234. package/es/tntd-layout/storage.js +1 -1
  235. package/es/tntd-modal/index.js +6 -6
  236. package/es/tntd-rc-select/_util/PurePanel.js +5 -5
  237. package/es/tntd-rc-select/_util/context.js +1 -1
  238. package/es/tntd-rc-select/_util/defaultRenderEmpty.js +1 -1
  239. package/es/tntd-rc-select/_util/getIcons.js +1 -1
  240. package/es/tntd-rc-select/_util/useCompactItemContext.js +2 -2
  241. package/es/tntd-rc-select/index.js +2 -2
  242. package/es/tntd-reference/AHref/index.js +1 -1
  243. package/es/tntd-reference/ReferenceBatchCheck/index.js +1 -1
  244. package/es/tntd-reference/ReferenceBatchDrawer/index.js +5 -5
  245. package/es/tntd-reference/ReferenceCheck/index.js +1 -1
  246. package/es/tntd-reference/ReferenceDrawer/index.js +5 -5
  247. package/es/tntd-reference/ReferenceInfo/index.js +1 -1
  248. package/es/tntd-reference/index.js +1 -1
  249. package/es/tntd-second-page/index.js +1 -1
  250. package/es/tntd-select/DropDownWrap.js +8 -8
  251. package/es/tntd-select/index.js +10 -9
  252. package/es/tntd-select/index.less +7 -0
  253. package/es/tntd-virtual-tree/index.js +8 -8
  254. package/es/tntd-virtual-tree/index.less +1 -1
  255. package/es/tntd-virtual-tree/utils.js +28 -28
  256. package/es/tntd-virtual-tree-select/index.js +10 -10
  257. package/es/tntd-virtual-tree-select/utils.js +9 -9
  258. package/es/tooltip/tooltip.js +1 -1
  259. package/es/upload/index.js +6 -6
  260. package/es/upload/svg/UploadSVG.js +1 -1
  261. package/es/utils/checkAuth.js +4 -4
  262. package/es/utils/index.js +9 -9
  263. package/es/utils/lang.js +1 -1
  264. package/es/water-mark/index.js +5 -5
  265. package/lib/_util/context.js +3 -3
  266. package/lib/_util/defaultRenderEmpty.js +3 -3
  267. package/lib/_util/hooks/useFlexGapSupport.js +14 -15
  268. package/lib/_util/hooks/useForceUpdate.js +14 -15
  269. package/lib/_util/responsiveObserve.js +7 -13
  270. package/lib/_util/styleChecker.js +3 -3
  271. package/lib/actions/index.js +3 -3
  272. package/lib/alert/alert.d.ts +12 -0
  273. package/lib/alert/alert.d.ts.map +1 -0
  274. package/lib/alert/alert.js +147 -0
  275. package/lib/alert/alert.js.map +1 -0
  276. package/lib/alert/alert.less +128 -0
  277. package/lib/array-input/index.js +30 -37
  278. package/lib/cascader/cascader.d.ts +10 -0
  279. package/lib/cascader/cascader.d.ts.map +1 -0
  280. package/lib/cascader/cascader.js +84 -0
  281. package/lib/cascader/cascader.js.map +1 -0
  282. package/lib/cascader/cascader.less +16 -0
  283. package/lib/check-card/group.js +23 -24
  284. package/lib/check-card/index.js +24 -31
  285. package/lib/checkbox/check.png +0 -0
  286. package/lib/checkbox/checkbox-group.js +3 -3
  287. package/lib/checkbox/checkbox.d.ts +16 -0
  288. package/lib/checkbox/checkbox.d.ts.map +1 -0
  289. package/lib/checkbox/checkbox.js +100 -0
  290. package/lib/checkbox/checkbox.js.map +1 -0
  291. package/lib/checkbox/checkbox.less +69 -0
  292. package/lib/color-picker/ColorPicker.js +24 -31
  293. package/lib/color-picker/index.js +3 -3
  294. package/lib/columns/index.js +3 -3
  295. package/lib/config-provider/config-provider.js +3 -3
  296. package/lib/date-picker/DatePicker.d.ts +21 -0
  297. package/lib/date-picker/DatePicker.d.ts.map +1 -0
  298. package/lib/date-picker/DatePicker.js +163 -0
  299. package/lib/date-picker/DatePicker.js.map +1 -0
  300. package/lib/date-picker/index.less +294 -0
  301. package/lib/descriptions/descriptions.js +13 -19
  302. package/lib/development-login/LoginModal.js +24 -31
  303. package/lib/development-login/index.js +14 -15
  304. package/lib/drawer/drawer.js +10 -16
  305. package/lib/ellipsis/Svg/CopySVG.js +3 -3
  306. package/lib/ellipsis/Svg/TickSVG.js +3 -3
  307. package/lib/ellipsis/index.js +17 -18
  308. package/lib/empty/empty.js +10 -16
  309. package/lib/empty/empty.stories.js +6 -9
  310. package/lib/exception/exception.js +3 -3
  311. package/lib/form/form.js +10 -16
  312. package/lib/grid-v4/col.js +10 -16
  313. package/lib/grid-v4/hooks/useBreakpoint.js +3 -3
  314. package/lib/grid-v4/index.js +3 -3
  315. package/lib/grid-v4/row.js +24 -31
  316. package/lib/handle/index.js +3 -3
  317. package/lib/handle-icon/index.js +13 -13
  318. package/lib/icon/IconFont.js +3 -3
  319. package/lib/icon/components/Icon.js +44 -70
  320. package/lib/icon/components/index.js +3 -3
  321. package/lib/icon/components/utils.js +10 -18
  322. package/lib/icon/index.js +26 -33
  323. package/lib/icon/twoTonePrimaryColor.js +3 -3
  324. package/lib/icon/utils.js +3 -3
  325. package/lib/img/Contain.js +3 -3
  326. package/lib/img/Cover.js +17 -18
  327. package/lib/img/index.js +17 -18
  328. package/lib/index.js +3 -3
  329. package/lib/input/input.js +10 -16
  330. package/lib/input-number/index.js +3 -3
  331. package/lib/input-number/inputNumber.d.ts +10 -0
  332. package/lib/input-number/inputNumber.d.ts.map +1 -0
  333. package/lib/input-number/inputNumber.js +89 -0
  334. package/lib/input-number/inputNumber.js.map +1 -0
  335. package/lib/input-number/inputNumber.less +12 -0
  336. package/lib/label/index.js +10 -16
  337. package/lib/loading-button/index.js +17 -18
  338. package/lib/locale/default.js +3 -3
  339. package/lib/locale/en_US.js +3 -3
  340. package/lib/locale/zh_CN.js +3 -3
  341. package/lib/modal/index.less +36 -0
  342. package/lib/modal/modal.js +3 -3
  343. package/lib/notification/assets/index.js +3 -3
  344. package/lib/notification/index.js +3 -3
  345. package/lib/notification/notification.js +3 -3
  346. package/lib/page/Box.js +3 -3
  347. package/lib/page/index.js +26 -33
  348. package/lib/page-container/index.js +3 -3
  349. package/lib/page-loading/index.js +3 -3
  350. package/lib/popconfirm/index.less +32 -0
  351. package/lib/popconfirm/popconfirm.d.ts +8 -0
  352. package/lib/popconfirm/popconfirm.d.ts.map +1 -0
  353. package/lib/popconfirm/popconfirm.js +96 -0
  354. package/lib/popconfirm/popconfirm.js.map +1 -0
  355. package/lib/popover/index.less +57 -0
  356. package/lib/popover/popover.d.ts +14 -0
  357. package/lib/popover/popover.d.ts.map +1 -0
  358. package/lib/popover/popover.js +90 -0
  359. package/lib/popover/popover.js.map +1 -0
  360. package/lib/preview-text/index.js +9 -9
  361. package/lib/progress/progress.d.ts +12 -0
  362. package/lib/progress/progress.d.ts.map +1 -0
  363. package/lib/progress/progress.js +179 -0
  364. package/lib/progress/progress.js.map +1 -0
  365. package/lib/progress/progress.less +82 -0
  366. package/lib/query-form/Field/Checkbox.js +3 -3
  367. package/lib/query-form/Field/Composition/FieldPopover.d.ts +19 -0
  368. package/lib/query-form/Field/Composition/FieldPopover.d.ts.map +1 -0
  369. package/lib/query-form/Field/Composition/FieldPopover.js +418 -0
  370. package/lib/query-form/Field/Composition/FieldPopover.js.map +1 -0
  371. package/lib/query-form/Field/Composition/FieldPopover.less +35 -0
  372. package/lib/query-form/Field/Composition/Select.d.ts +4 -0
  373. package/lib/query-form/Field/Composition/Select.d.ts.map +1 -0
  374. package/lib/query-form/Field/Composition/Select.js +242 -0
  375. package/lib/query-form/Field/Composition/Select.js.map +1 -0
  376. package/lib/query-form/Field/Composition/ValueTag.d.ts +13 -0
  377. package/lib/query-form/Field/Composition/ValueTag.d.ts.map +1 -0
  378. package/lib/query-form/Field/Composition/ValueTag.js +235 -0
  379. package/lib/query-form/Field/Composition/ValueTag.js.map +1 -0
  380. package/lib/query-form/Field/Composition/index.d.ts +13 -0
  381. package/lib/query-form/Field/Composition/index.d.ts.map +1 -0
  382. package/lib/query-form/Field/Composition/index.js +425 -0
  383. package/lib/query-form/Field/Composition/index.js.map +1 -0
  384. package/lib/query-form/Field/Composition/index.less +145 -0
  385. package/lib/query-form/Field/Composition/utils.d.ts +21 -0
  386. package/lib/query-form/Field/Composition/utils.d.ts.map +1 -0
  387. package/lib/query-form/Field/Composition/utils.js +172 -0
  388. package/lib/query-form/Field/Composition/utils.js.map +1 -0
  389. package/lib/query-form/Field/Select.js +24 -31
  390. package/lib/query-form/Field/SelectInput.js +24 -31
  391. package/lib/query-form/Field/fieldsMap.d.ts +4 -3
  392. package/lib/query-form/Field/fieldsMap.d.ts.map +1 -1
  393. package/lib/query-form/Field/fieldsMap.js +5 -4
  394. package/lib/query-form/Field/fieldsMap.js.map +1 -1
  395. package/lib/query-form/Field/index.js +47 -73
  396. package/lib/query-form/createActions.js +3 -3
  397. package/lib/query-form/index.js +44 -70
  398. package/lib/query-form/useForm.js +3 -3
  399. package/lib/query-form-backup/Field/Composition/FieldPopover.less +35 -0
  400. package/lib/query-form-backup/Field/Composition/index.less +114 -0
  401. package/lib/query-form-backup/index.less +90 -0
  402. package/lib/query-form-v2/index.less +133 -0
  403. package/lib/query-list-scene/List.js +41 -61
  404. package/lib/query-list-scene/QueryForm.js +44 -70
  405. package/lib/query-list-scene/QueryListScene.js +44 -70
  406. package/lib/query-list-scene/Title.js +3 -3
  407. package/lib/query-list-scene/Toolbar.js +10 -16
  408. package/lib/query-list-scene/createActions.js +3 -3
  409. package/lib/query-list-scene/index.js +3 -3
  410. package/lib/query-list-scene/useActions.js +3 -3
  411. package/lib/radio/index.js +3 -3
  412. package/lib/radio/radio-group.js +3 -3
  413. package/lib/radio/radio.d.ts +17 -0
  414. package/lib/radio/radio.d.ts.map +1 -0
  415. package/lib/radio/radio.js +110 -0
  416. package/lib/radio/radio.js.map +1 -0
  417. package/lib/radio/radio.less +43 -0
  418. package/lib/render-empty/render-empty.js +3 -3
  419. package/lib/scroll-bar/Bar.d.ts +4 -0
  420. package/lib/scroll-bar/Bar.d.ts.map +1 -0
  421. package/lib/scroll-bar/Bar.js +168 -0
  422. package/lib/scroll-bar/Bar.js.map +1 -0
  423. package/lib/scroll-bar/Context.d.ts +7 -0
  424. package/lib/scroll-bar/Context.d.ts.map +1 -0
  425. package/lib/scroll-bar/Context.js +17 -0
  426. package/lib/scroll-bar/Context.js.map +1 -0
  427. package/lib/scroll-bar/ScrollBar.d.ts +4 -0
  428. package/lib/scroll-bar/ScrollBar.d.ts.map +1 -0
  429. package/lib/scroll-bar/ScrollBar.js +132 -0
  430. package/lib/scroll-bar/ScrollBar.js.map +1 -0
  431. package/lib/scroll-bar/Thumb.d.ts +3 -0
  432. package/lib/scroll-bar/Thumb.d.ts.map +1 -0
  433. package/lib/scroll-bar/Thumb.js +202 -0
  434. package/lib/scroll-bar/Thumb.js.map +1 -0
  435. package/lib/scroll-bar/index.d.ts +3 -0
  436. package/lib/scroll-bar/index.d.ts.map +1 -0
  437. package/lib/scroll-bar/index.js +14 -0
  438. package/lib/scroll-bar/index.js.map +1 -0
  439. package/lib/scroll-bar/scrollBar.less +59 -0
  440. package/lib/scroll-bar/util.d.ts +40 -0
  441. package/lib/scroll-bar/util.d.ts.map +1 -0
  442. package/lib/scroll-bar/util.js +66 -0
  443. package/lib/scroll-bar/util.js.map +1 -0
  444. package/lib/segmented/index.js +10 -16
  445. package/lib/select/select.js +10 -16
  446. package/lib/spin/spin.d.ts +9 -0
  447. package/lib/spin/spin.d.ts.map +1 -0
  448. package/lib/spin/spin.js +79 -0
  449. package/lib/spin/spin.js.map +1 -0
  450. package/lib/spin/spin.less +9 -0
  451. package/lib/steps/assets/background_left.svg +12 -0
  452. package/lib/steps/assets/background_right.svg +12 -0
  453. package/lib/steps/assets/horizontal_line.svg +3 -0
  454. package/lib/steps/assets/vertical_line.svg +3 -0
  455. package/lib/steps/stepStyle/icon.less +51 -0
  456. package/lib/steps/stepStyle/progress-dot.less +10 -0
  457. package/lib/steps/stepStyle/variables.less +8 -0
  458. package/lib/steps/stepStyle/vertical.less +41 -0
  459. package/lib/steps/steps.js +10 -16
  460. package/lib/svg-components/index.js +3 -3
  461. package/lib/switch/index.less +45 -0
  462. package/lib/switch/switch.js +3 -3
  463. package/lib/table/hooks/use-column-setting.js +14 -15
  464. package/lib/table/hooks/use-expand-fixed.js +30 -36
  465. package/lib/table/resizableTable/index.js +24 -31
  466. package/lib/table/table-hoc.js +3 -3
  467. package/lib/table/table.js +27 -34
  468. package/lib/table/table.stories.js +10 -16
  469. package/lib/table/total-shower.js +3 -3
  470. package/lib/table/utils.js +3 -3
  471. package/lib/table-container/index.js +3 -3
  472. package/lib/tabs/tabs.less +125 -0
  473. package/lib/tabs-container/index.js +3 -3
  474. package/lib/tag/tag.js +10 -16
  475. package/lib/time-picker/TimePicker.d.ts +9 -0
  476. package/lib/time-picker/TimePicker.d.ts.map +1 -0
  477. package/lib/time-picker/TimePicker.js +90 -0
  478. package/lib/time-picker/TimePicker.js.map +1 -0
  479. package/lib/time-picker/index.less +38 -0
  480. package/lib/title/index.js +3 -3
  481. package/lib/tntd-action/Action.d.ts +6 -0
  482. package/lib/tntd-action/Action.d.ts.map +1 -0
  483. package/lib/tntd-action/Action.js +218 -0
  484. package/lib/tntd-action/Action.js.map +1 -0
  485. package/lib/tntd-action/index.less +61 -0
  486. package/lib/tntd-cascader/AntdCascader/component/context.js +3 -3
  487. package/lib/tntd-cascader/AntdCascader/component/defaultRenderEmpty.js +3 -3
  488. package/lib/tntd-cascader/AntdCascader/component/getIcons.js +3 -3
  489. package/lib/tntd-cascader/AntdCascader/component/useCompactItemContext.js +10 -16
  490. package/lib/tntd-cascader/AntdCascader/config/utils.js +10 -16
  491. package/lib/tntd-cascader/AntdCascader/index.js +26 -33
  492. package/lib/tntd-cascader/index.js +3 -3
  493. package/lib/tntd-cascader/rc-cascader/Cascader.js +23 -24
  494. package/lib/tntd-cascader/rc-cascader/OptionList/Checkbox.js +10 -16
  495. package/lib/tntd-cascader/rc-cascader/OptionList/Column.js +26 -33
  496. package/lib/tntd-cascader/rc-cascader/OptionList/index.js +30 -37
  497. package/lib/tntd-cascader/rc-cascader/OptionList/useActive.js +17 -18
  498. package/lib/tntd-cascader/rc-cascader/OptionList/useKeyboard.js +23 -24
  499. package/lib/tntd-cascader/rc-cascader/hooks/useDisplayValues.js +16 -17
  500. package/lib/tntd-cascader/rc-cascader/hooks/useSearchConfig.js +3 -3
  501. package/lib/tntd-cascader/rc-cascader/hooks/useSearchOptions.js +23 -30
  502. package/lib/tntd-cascader/rc-cascader/index.js +3 -3
  503. package/lib/tntd-cascader/rc-cascader/utils/warningPropsUtil.js +6 -6
  504. package/lib/tntd-form/ErrorList.js +26 -33
  505. package/lib/tntd-form/Form.js +24 -31
  506. package/lib/tntd-form/FormItem/ItemHolder.js +24 -31
  507. package/lib/tntd-form/FormItem/index.js +23 -24
  508. package/lib/tntd-form/FormItemInput.js +3 -3
  509. package/lib/tntd-form/FormItemLabel.js +10 -16
  510. package/lib/tntd-form/FormList.js +3 -3
  511. package/lib/tntd-form/context.js +3 -3
  512. package/lib/tntd-form/hooks/useDebounce.js +14 -15
  513. package/lib/tntd-form/hooks/useForm.js +17 -18
  514. package/lib/tntd-form/hooks/useFormItemStatus.js +3 -3
  515. package/lib/tntd-form/hooks/useFrameState.js +17 -18
  516. package/lib/tntd-form/index.js +3 -3
  517. package/lib/tntd-icon/index.js +3 -3
  518. package/lib/tntd-layout/AppList.js +20 -24
  519. package/lib/tntd-layout/Application.js +20 -24
  520. package/lib/tntd-layout/Avatar.js +6 -9
  521. package/lib/tntd-layout/CompatibleLanguage.js +20 -24
  522. package/lib/tntd-layout/EnterpriseLayout/Avatar.js +6 -9
  523. package/lib/tntd-layout/EnterpriseLayout/Language.js +20 -24
  524. package/lib/tntd-layout/EnterpriseLayout/Theme.js +20 -24
  525. package/lib/tntd-layout/EnterpriseLayout/index.js +3 -3
  526. package/lib/tntd-layout/GlobalNavigation/NavigationPopup.js +20 -24
  527. package/lib/tntd-layout/GlobalNavigation/index.js +26 -30
  528. package/lib/tntd-layout/Header.js +6 -9
  529. package/lib/tntd-layout/HeaderActions.js +6 -9
  530. package/lib/tntd-layout/HeaderNavs.js +20 -24
  531. package/lib/tntd-layout/HeaderTabs.js +27 -37
  532. package/lib/tntd-layout/Iconfont.js +3 -3
  533. package/lib/tntd-layout/Language.js +20 -24
  534. package/lib/tntd-layout/Layout.js +20 -24
  535. package/lib/tntd-layout/Logo.js +6 -9
  536. package/lib/tntd-layout/OrgAppList.js +20 -24
  537. package/lib/tntd-layout/SideMenu.js +20 -24
  538. package/lib/tntd-layout/Theme.js +20 -24
  539. package/lib/tntd-layout/createActions.js +3 -3
  540. package/lib/tntd-layout/images/index.js +3 -3
  541. package/lib/tntd-layout/index.js +3 -3
  542. package/lib/tntd-layout/paaslayout/CompactSideMenu.js +20 -24
  543. package/lib/tntd-layout/paaslayout/Header.js +6 -9
  544. package/lib/tntd-layout/paaslayout/Logo.js +6 -9
  545. package/lib/tntd-layout/paaslayout/SideMenu.js +20 -24
  546. package/lib/tntd-layout/paaslayout/index.js +20 -24
  547. package/lib/tntd-layout/storage.js +3 -3
  548. package/lib/tntd-modal/index.js +24 -31
  549. package/lib/tntd-rc-select/_util/PurePanel.js +17 -18
  550. package/lib/tntd-rc-select/_util/context.js +3 -3
  551. package/lib/tntd-rc-select/_util/defaultRenderEmpty.js +3 -3
  552. package/lib/tntd-rc-select/_util/getIcons.js +3 -3
  553. package/lib/tntd-rc-select/_util/useCompactItemContext.js +10 -16
  554. package/lib/tntd-rc-select/index.js +10 -16
  555. package/lib/tntd-reference/AHref/index.js +3 -3
  556. package/lib/tntd-reference/ReferenceBatchCheck/index.js +3 -3
  557. package/lib/tntd-reference/ReferenceBatchDrawer/index.js +17 -18
  558. package/lib/tntd-reference/ReferenceCheck/index.js +3 -3
  559. package/lib/tntd-reference/ReferenceDrawer/index.js +17 -18
  560. package/lib/tntd-reference/ReferenceInfo/index.js +3 -3
  561. package/lib/tntd-reference/index.js +3 -3
  562. package/lib/tntd-second-page/index.js +3 -3
  563. package/lib/tntd-select/DropDownWrap.js +34 -54
  564. package/lib/tntd-select/index.js +40 -57
  565. package/lib/tntd-select/index.less +7 -0
  566. package/lib/tntd-virtual-tree/index.js +23 -24
  567. package/lib/tntd-virtual-tree/index.less +1 -1
  568. package/lib/tntd-virtual-tree/utils.js +62 -66
  569. package/lib/tntd-virtual-tree-select/index.js +22 -23
  570. package/lib/tntd-virtual-tree-select/utils.js +20 -21
  571. package/lib/tooltip/tooltip.js +3 -3
  572. package/lib/upload/index.js +41 -45
  573. package/lib/upload/svg/UploadSVG.js +3 -3
  574. package/lib/utils/checkAuth.js +6 -6
  575. package/lib/utils/index.js +20 -21
  576. package/lib/utils/lang.js +3 -3
  577. package/lib/water-mark/index.js +17 -18
  578. package/package.json +2 -2
@@ -10,4 +10,4 @@ Object.defineProperty(exports, "ConfigProvider", {
10
10
  }
11
11
  });
12
12
  var _configProvider = _interopRequireDefault(require("antd/es/config-provider"));
13
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
13
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
@@ -0,0 +1,128 @@
1
+ "use strict";
2
+
3
+ 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); }
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ var _exportNames = {
8
+ TntDatePicker: true,
9
+ TntMonthPicker: true,
10
+ TntWeekPicker: true,
11
+ TntRangePicker: true
12
+ };
13
+ exports.TntWeekPicker = exports.TntRangePicker = exports.TntMonthPicker = exports.TntDatePicker = void 0;
14
+ var _react = _interopRequireDefault(require("react"));
15
+ var _icon = _interopRequireDefault(require("../icon"));
16
+ var _configProvider = require("antd/es/config-provider");
17
+ var _datePicker = _interopRequireWildcard(require("antd/es/date-picker"));
18
+ Object.keys(_datePicker).forEach(function (key) {
19
+ if (key === "default" || key === "__esModule") return;
20
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
21
+ if (key in exports && exports[key] === _datePicker[key]) return;
22
+ Object.defineProperty(exports, key, {
23
+ enumerable: true,
24
+ get: function get() {
25
+ return _datePicker[key];
26
+ }
27
+ });
28
+ });
29
+ var _classnames = _interopRequireDefault(require("classnames"));
30
+ var _interface = require("antd/es/date-picker/interface");
31
+ Object.keys(_interface).forEach(function (key) {
32
+ if (key === "default" || key === "__esModule") return;
33
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
34
+ if (key in exports && exports[key] === _interface[key]) return;
35
+ Object.defineProperty(exports, key, {
36
+ enumerable: true,
37
+ get: function get() {
38
+ return _interface[key];
39
+ }
40
+ });
41
+ });
42
+ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
43
+ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
44
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
45
+ var __rest = void 0 && (void 0).__rest || function (s, e) {
46
+ var t = {};
47
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
48
+ if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
49
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
50
+ }
51
+ return t;
52
+ };
53
+ var MonthPicker = _datePicker["default"].MonthPicker,
54
+ WeekPicker = _datePicker["default"].WeekPicker,
55
+ RangePicker = _datePicker["default"].RangePicker;
56
+ var TntDatePicker = exports.TntDatePicker = function TntDatePicker(props) {
57
+ //theme样式类型 outline | fill 默认 outline
58
+ var _props$theme = props.theme,
59
+ theme = _props$theme === void 0 ? 'outline' : _props$theme,
60
+ className = props.className,
61
+ suffixIcon = props.suffixIcon,
62
+ restProps = __rest(props, ["theme", "className", "suffixIcon"]);
63
+ var defaultIcon = _react["default"].createElement(_icon["default"], {
64
+ type: "calendar-3"
65
+ });
66
+ return _react["default"].createElement(_configProvider.ConfigConsumer, null, function (_ref) {
67
+ var getPrefixCls = _ref.getPrefixCls;
68
+ var prefixCls = getPrefixCls('date-picker');
69
+ return _react["default"].createElement(_datePicker["default"], Object.assign({
70
+ suffixIcon: suffixIcon || defaultIcon,
71
+ className: (0, _classnames["default"])(className, "".concat(prefixCls, "-").concat(theme))
72
+ }, restProps));
73
+ });
74
+ };
75
+ var TntMonthPicker = exports.TntMonthPicker = function TntMonthPicker(props) {
76
+ var _props$theme2 = props.theme,
77
+ theme = _props$theme2 === void 0 ? 'outline' : _props$theme2,
78
+ className = props.className,
79
+ suffixIcon = props.suffixIcon,
80
+ restProps = __rest(props, ["theme", "className", "suffixIcon"]);
81
+ var defaultIcon = _react["default"].createElement(_icon["default"], {
82
+ type: "calendar-3"
83
+ });
84
+ return _react["default"].createElement(_configProvider.ConfigConsumer, null, function (_ref2) {
85
+ var getPrefixCls = _ref2.getPrefixCls;
86
+ var prefixCls = getPrefixCls('date-picker');
87
+ return _react["default"].createElement(MonthPicker, Object.assign({
88
+ suffixIcon: suffixIcon || defaultIcon,
89
+ className: (0, _classnames["default"])(className, "".concat(prefixCls, "-").concat(theme))
90
+ }, restProps));
91
+ });
92
+ };
93
+ var TntWeekPicker = exports.TntWeekPicker = function TntWeekPicker(props) {
94
+ var _props$theme3 = props.theme,
95
+ theme = _props$theme3 === void 0 ? 'outline' : _props$theme3,
96
+ className = props.className,
97
+ suffixIcon = props.suffixIcon,
98
+ restProps = __rest(props, ["theme", "className", "suffixIcon"]);
99
+ var defaultIcon = _react["default"].createElement(_icon["default"], {
100
+ type: "calendar-3"
101
+ });
102
+ return _react["default"].createElement(_configProvider.ConfigConsumer, null, function (_ref3) {
103
+ var getPrefixCls = _ref3.getPrefixCls;
104
+ var prefixCls = getPrefixCls('date-picker');
105
+ return _react["default"].createElement(WeekPicker, Object.assign({
106
+ suffixIcon: suffixIcon || defaultIcon,
107
+ className: (0, _classnames["default"])(className, "".concat(prefixCls, "-").concat(theme))
108
+ }, restProps));
109
+ });
110
+ };
111
+ var TntRangePicker = exports.TntRangePicker = function TntRangePicker(props) {
112
+ var _props$theme4 = props.theme,
113
+ theme = _props$theme4 === void 0 ? 'outline' : _props$theme4,
114
+ className = props.className,
115
+ suffixIcon = props.suffixIcon,
116
+ restProps = __rest(props, ["theme", "className", "suffixIcon"]);
117
+ var defaultIcon = _react["default"].createElement(_icon["default"], {
118
+ type: "calendar-3"
119
+ });
120
+ return _react["default"].createElement(_configProvider.ConfigConsumer, null, function (_ref4) {
121
+ var getPrefixCls = _ref4.getPrefixCls;
122
+ var prefixCls = getPrefixCls('date-picker');
123
+ return _react["default"].createElement(RangePicker, Object.assign({
124
+ suffixIcon: suffixIcon || defaultIcon,
125
+ className: (0, _classnames["default"])(className, "".concat(prefixCls, "-").concat(theme))
126
+ }, restProps));
127
+ });
128
+ };
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DatePicker.js","sourceRoot":"","sources":["../../src/date-picker/DatePicker.tsx"],"names":[],"mappings":";;;;;;;;;;;AAAA,OAAO,KAAmB,MAAM,OAAO,CAAA;AACvC,OAAO,IAAI,MAAM,SAAS,CAAA;AAO1B,OAAO,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAA;AACxD,OAAO,cAAc,MAAM,qBAAqB,CAAA;AAChD,OAAO,UAAU,MAAM,YAAY,CAAA;AACnC,cAAc,qBAAqB,CAAA;AACnC,cAAc,+BAA+B,CAAA;AAC7C,MAAM,EAAE,WAAW,EAAE,UAAU,EAAE,WAAW,EAAE,GAAG,cAAc,CAAA;AAE/D,MAAM,CAAC,MAAM,aAAa,GAEtB,CAAC,KAAK,EAAE,EAAE;IACZ,sCAAsC;IACtC,MAAM,EAAE,KAAK,GAAG,SAAS,EAAE,SAAS,EAAE,UAAU,KAAmB,KAAK,EAAnB,SAAS,UAAK,KAAK,EAAlE,oCAA0D,CAAQ,CAAA;IACxE,MAAM,WAAW,GAAG,oBAAC,IAAI,IAAC,IAAI,EAAC,YAAY,GAAG,CAAA;IAE9C,OAAO,CACL,oBAAC,cAAc,QACZ,CAAC,EAAE,YAAY,EAAE,EAAE,EAAE;QACpB,MAAM,SAAS,GAAG,YAAY,CAAC,aAAa,CAAC,CAAA;QAC7C,OAAO,CACL,oBAAC,cAAc,kBACb,UAAU,EAAE,UAAU,IAAI,WAAW,EACrC,SAAS,EAAE,UAAU,CAAC,SAAS,EAAE,GAAG,SAAS,IAAI,KAAK,EAAE,CAAC,IACrD,SAAS,EACb,CACH,CAAA;IACH,CAAC,CACc,CAClB,CAAA;AACH,CAAC,CAAA;AAED,MAAM,CAAC,MAAM,cAAc,GAEvB,CAAC,KAAK,EAAE,EAAE;IACZ,MAAM,EAAE,KAAK,GAAG,SAAS,EAAE,SAAS,EAAE,UAAU,KAAmB,KAAK,EAAnB,SAAS,UAAK,KAAK,EAAlE,oCAA0D,CAAQ,CAAA;IACxE,MAAM,WAAW,GAAG,oBAAC,IAAI,IAAC,IAAI,EAAC,YAAY,GAAG,CAAA;IAE9C,OAAO,CACL,oBAAC,cAAc,QACZ,CAAC,EAAE,YAAY,EAAE,EAAE,EAAE;QACpB,MAAM,SAAS,GAAG,YAAY,CAAC,aAAa,CAAC,CAAA;QAC7C,OAAO,CACL,oBAAC,WAAW,kBACV,UAAU,EAAE,UAAU,IAAI,WAAW,EACrC,SAAS,EAAE,UAAU,CAAC,SAAS,EAAE,GAAG,SAAS,IAAI,KAAK,EAAE,CAAC,IACrD,SAAS,EACb,CACH,CAAA;IACH,CAAC,CACc,CAClB,CAAA;AACH,CAAC,CAAA;AAED,MAAM,CAAC,MAAM,aAAa,GAEtB,CAAC,KAAK,EAAE,EAAE;IACZ,MAAM,EAAE,KAAK,GAAG,SAAS,EAAE,SAAS,EAAE,UAAU,KAAmB,KAAK,EAAnB,SAAS,UAAK,KAAK,EAAlE,oCAA0D,CAAQ,CAAA;IACxE,MAAM,WAAW,GAAG,oBAAC,IAAI,IAAC,IAAI,EAAC,YAAY,GAAG,CAAA;IAE9C,OAAO,CACL,oBAAC,cAAc,QACZ,CAAC,EAAE,YAAY,EAAE,EAAE,EAAE;QACpB,MAAM,SAAS,GAAG,YAAY,CAAC,aAAa,CAAC,CAAA;QAC7C,OAAO,CACL,oBAAC,UAAU,kBACT,UAAU,EAAE,UAAU,IAAI,WAAW,EACrC,SAAS,EAAE,UAAU,CAAC,SAAS,EAAE,GAAG,SAAS,IAAI,KAAK,EAAE,CAAC,IACrD,SAAS,EACb,CACH,CAAA;IACH,CAAC,CACc,CAClB,CAAA;AACH,CAAC,CAAA;AAED,MAAM,CAAC,MAAM,cAAc,GAEvB,CAAC,KAAK,EAAE,EAAE;IACZ,MAAM,EAAE,KAAK,GAAG,SAAS,EAAE,SAAS,EAAE,UAAU,KAAmB,KAAK,EAAnB,SAAS,UAAK,KAAK,EAAlE,oCAA0D,CAAQ,CAAA;IACxE,MAAM,WAAW,GAAG,oBAAC,IAAI,IAAC,IAAI,EAAC,YAAY,GAAG,CAAA;IAE9C,OAAO,CACL,oBAAC,cAAc,QACZ,CAAC,EAAE,YAAY,EAAE,EAAE,EAAE;QACpB,MAAM,SAAS,GAAG,YAAY,CAAC,aAAa,CAAC,CAAA;QAC7C,OAAO,CACL,oBAAC,WAAW,kBACV,UAAU,EAAE,UAAU,IAAI,WAAW,EACrC,SAAS,EAAE,UAAU,CAAC,SAAS,EAAE,GAAG,SAAS,IAAI,KAAK,EAAE,CAAC,IACrD,SAAS,EACb,CACH,CAAA;IACH,CAAC,CACc,CAClB,CAAA;AACH,CAAC,CAAA","sourcesContent":["import React, { useState } from 'react'\nimport Icon from '../icon'\nimport type {\n DatePickerProps as AntdDatePickerProps,\n MonthPickerProps as AntMonthPickerProps,\n RangePickerProps as AntRangePickerProps,\n WeekPickerProps as AntWeekPickerProps,\n} from 'antd/es/date-picker/interface'\nimport { ConfigConsumer } from 'antd/es/config-provider'\nimport AntdDatePicker from 'antd/es/date-picker'\nimport classNames from 'classnames'\nexport * from 'antd/es/date-picker'\nexport * from 'antd/es/date-picker/interface'\nconst { MonthPicker, WeekPicker, RangePicker } = AntdDatePicker\n\nexport const TntDatePicker: React.FC<\n AntdDatePickerProps & { theme?: string; readonly?: boolean }\n> = (props) => {\n //theme样式类型 outline | fill 默认 outline\n const { theme = 'outline', className, suffixIcon, ...restProps } = props\n const defaultIcon = <Icon type=\"calendar-3\" />\n\n return (\n <ConfigConsumer>\n {({ getPrefixCls }) => {\n const prefixCls = getPrefixCls('date-picker')\n return (\n <AntdDatePicker\n suffixIcon={suffixIcon || defaultIcon}\n className={classNames(className, `${prefixCls}-${theme}`)}\n {...restProps}\n />\n )\n }}\n </ConfigConsumer>\n )\n}\n\nexport const TntMonthPicker: React.FC<\n AntMonthPickerProps & { theme?: string; readonly?: boolean }\n> = (props) => {\n const { theme = 'outline', className, suffixIcon, ...restProps } = props\n const defaultIcon = <Icon type=\"calendar-3\" />\n\n return (\n <ConfigConsumer>\n {({ getPrefixCls }) => {\n const prefixCls = getPrefixCls('date-picker')\n return (\n <MonthPicker\n suffixIcon={suffixIcon || defaultIcon}\n className={classNames(className, `${prefixCls}-${theme}`)}\n {...restProps}\n />\n )\n }}\n </ConfigConsumer>\n )\n}\n\nexport const TntWeekPicker: React.FC<\n AntWeekPickerProps & { theme?: string; readonly?: boolean }\n> = (props) => {\n const { theme = 'outline', className, suffixIcon, ...restProps } = props\n const defaultIcon = <Icon type=\"calendar-3\" />\n\n return (\n <ConfigConsumer>\n {({ getPrefixCls }) => {\n const prefixCls = getPrefixCls('date-picker')\n return (\n <WeekPicker\n suffixIcon={suffixIcon || defaultIcon}\n className={classNames(className, `${prefixCls}-${theme}`)}\n {...restProps}\n />\n )\n }}\n </ConfigConsumer>\n )\n}\n\nexport const TntRangePicker: React.FC<\n AntRangePickerProps & { theme?: string; readonly?: boolean }\n> = (props) => {\n const { theme = 'outline', className, suffixIcon, ...restProps } = props\n const defaultIcon = <Icon type=\"calendar-3\" />\n\n return (\n <ConfigConsumer>\n {({ getPrefixCls }) => {\n const prefixCls = getPrefixCls('date-picker')\n return (\n <RangePicker\n suffixIcon={suffixIcon || defaultIcon}\n className={classNames(className, `${prefixCls}-${theme}`)}\n {...restProps}\n />\n )\n }}\n </ConfigConsumer>\n )\n}\n"]}
@@ -0,0 +1,294 @@
1
+ @import '../style/themes/index';
2
+
3
+ @datepicker-prefix-cls: ~'@{ant-prefix}-date-picker';
4
+ @calendar-prefix-cls: ~'@{ant-prefix}-calendar';
5
+ @calendar-timepicker-prefix-cls: ~'@{ant-prefix}-calendar-time-picker';
6
+
7
+ .@{calendar-prefix-cls}-picker-container{
8
+ .@{calendar-prefix-cls}{
9
+ // margin-top: 42px;
10
+ .@{calendar-prefix-cls}-input-wrap{
11
+ // display: none;
12
+ }
13
+ }
14
+ .@{calendar-prefix-cls}-range{
15
+ // margin-top: 42px;
16
+ .@{calendar-prefix-cls}-input-wrap,.@{calendar-prefix-cls}-range-middle{
17
+ // display: none;
18
+ }
19
+ .@{calendar-prefix-cls}-decade-panel,.@{calendar-prefix-cls}-year-panel,.@{calendar-prefix-cls}-month-panel{
20
+ // top: 0
21
+ }
22
+ }
23
+ .@{calendar-prefix-cls}-month-calendar,.@{calendar-prefix-cls}-week-number{
24
+ // margin-top: 42px;
25
+ }
26
+ //.@{calendar-prefix-cls}-today .@{calendar-prefix-cls}-date{
27
+ // background-color: @white;
28
+ //}
29
+ .@{calendar-prefix-cls}:not(.@{calendar-prefix-cls}-range){
30
+ .@{calendar-prefix-cls}-selected-date .@{calendar-prefix-cls}-date{
31
+ background-color: @blue-6;
32
+ color: @white;
33
+ }
34
+ }
35
+
36
+ }
37
+ //Picker
38
+ .@{calendar-prefix-cls}-picker{
39
+ input,.@{calendar-prefix-cls}-picker-input{
40
+ border-color: @border-color-secondary;
41
+ color: @text-color;
42
+ &:focus{
43
+ border-color: @blue-5;
44
+ }
45
+ }
46
+ &:has(input:not([value=''])),&:hover {
47
+ .@{calendar-prefix-cls}-picker-icon{
48
+ color: @text-color-secondary;
49
+ }
50
+ }
51
+ &:has(input[disabled]){
52
+ .@{calendar-prefix-cls}-picker-icon{
53
+ color: @disabled-color;
54
+ }
55
+ }
56
+ .@{calendar-prefix-cls}-picker-icon{
57
+ width: auto;
58
+ height: @font-size-lg;
59
+ font-size: @font-size-lg;
60
+ }
61
+ .@{calendar-prefix-cls}-picker-clear{
62
+ color: tint(@bg-color-spotilight, 50%);
63
+ }
64
+ }
65
+ .@{datepicker-prefix-cls}{
66
+ &-fill{
67
+ .@{calendar-prefix-cls}-picker{
68
+ &-input {
69
+ &.@{ant-prefix}-input {
70
+ background-color: @fill-color-quaternary;
71
+ border-color: @fill-color-quaternary;
72
+ &-disabled {
73
+ border: none;
74
+ pointer-events: none;
75
+ background: @disabled-bg;
76
+ }
77
+ &:focus{
78
+ background-color: @white;
79
+ border-color: @blue-5;
80
+ }
81
+ }
82
+ &:not([value='']):hover {
83
+ background-color: @white;
84
+ }
85
+ }
86
+ }
87
+ }
88
+ }
89
+
90
+ //Calender
91
+ .@{calendar-prefix-cls}{
92
+ &-footer {
93
+ &-extra {
94
+ .@{ant-prefix}-tag{
95
+ color: @text-color;
96
+ border: none;
97
+ background-color: @white;
98
+ &:hover{
99
+ color: @blue-6;
100
+ }
101
+ }
102
+ }
103
+ }
104
+
105
+ thead tr{
106
+ border-bottom: none;
107
+ }
108
+ table th{
109
+ background-color: @white;
110
+ }
111
+ }
112
+
113
+ //RangePicker
114
+ .@{calendar-prefix-cls}-range{
115
+ .@{calendar-prefix-cls}-in-range-cell,
116
+ .@{calendar-prefix-cls}-selected-start-date,
117
+ .@{calendar-prefix-cls}-selected-end-date {
118
+ position: relative;
119
+ border-radius: 0;
120
+ > div {
121
+ position: relative;
122
+ z-index: 1;
123
+ }
124
+ &::before {
125
+ position: absolute;
126
+ top: 3px;
127
+ right: 0;
128
+ bottom: 3px;
129
+ left: 0;
130
+ display: block;
131
+ background: @item-active-bg;
132
+ border: 0;
133
+ border-radius: 0;
134
+ content: '';
135
+ }
136
+ }
137
+ .@{calendar-prefix-cls}-selected-start-date{
138
+ &::before{
139
+ border-radius: @border-radius-base 0 0 @border-radius-base;
140
+ }
141
+ &::after {
142
+ position: absolute;
143
+ bottom: -2px;
144
+ left: 16px;
145
+ display: block;
146
+ background: @blue-6;
147
+ border: 0;
148
+ border-radius: 50%;
149
+ width: 4px;
150
+ height: 4px;
151
+ content: '';
152
+ }
153
+ }
154
+ //ant-calendar-last-day-of-month
155
+ //ant-calendar-last-month-cell ant-calendar-last-day-of-month
156
+ .@{calendar-prefix-cls}-selected-end-date{
157
+ &::before{
158
+ border-radius: 0 @border-radius-base @border-radius-base 0;
159
+ }
160
+ }
161
+ .@{calendar-prefix-cls}-selected-start-date.@{calendar-prefix-cls}-selected-end-date{
162
+ &::before{
163
+ border-radius: @border-radius-base @border-radius-base @border-radius-base @border-radius-base;
164
+ }
165
+ }
166
+ tr .@{calendar-prefix-cls}-in-range-cell:first-child{
167
+ &::before{
168
+ border-radius: @border-radius-base 0 0 @border-radius-base;
169
+ }
170
+ }
171
+ tr .@{calendar-prefix-cls}-selected-end-date:first-child,
172
+ tr .@{calendar-prefix-cls}-selected-start-date:last-child{
173
+ &::before{
174
+ border-radius: @border-radius-base @border-radius-base @border-radius-base @border-radius-base;
175
+ }
176
+ }
177
+ tr .@{calendar-prefix-cls}-in-range-cell:last-child{
178
+ &::before{
179
+ border-radius: 0 @border-radius-base @border-radius-base 0;
180
+ }
181
+ }
182
+ .@{calendar-prefix-cls}-cell{
183
+ height: 38px;
184
+ }
185
+ }
186
+
187
+ //MonthPanel
188
+ .@{calendar-prefix-cls}-month-panel-month {
189
+ border-radius: @border-radius-base;
190
+ }
191
+
192
+ //WeekPicker
193
+ .@{calendar-prefix-cls}-week-number {
194
+ &-cell {
195
+ opacity: 1;
196
+ font-weight: normal;
197
+ color: @text-color-tertiary !important;
198
+ }
199
+ .@{calendar-prefix-cls}-body tr {
200
+ cursor: pointer;
201
+ transition: all 0.3s;
202
+ background: @white;
203
+ .@{calendar-prefix-cls}-date{
204
+ width: auto;
205
+ border-radius: 0;
206
+ font-weight: 500;
207
+ }
208
+ &:hover {
209
+ background: @white;
210
+ td:nth-child(2){
211
+ .@{calendar-prefix-cls}-date{
212
+ border-radius: @border-radius-base 0 0 @border-radius-base;
213
+ }
214
+ }
215
+ td:last-child{
216
+ .@{calendar-prefix-cls}-date{
217
+ border-radius: 0 @border-radius-base @border-radius-base 0;
218
+ }
219
+ }
220
+ .@{calendar-prefix-cls}-cell{
221
+ &::before{
222
+ top: 8px;
223
+ bottom: 8px;
224
+ }
225
+ .@{calendar-prefix-cls}-date{
226
+ background: @background-color-base;
227
+ &:hover{
228
+ background: @background-color-base;
229
+ }
230
+ }
231
+ .@{calendar-prefix-cls}-selected-day{
232
+ background: @background-color-base;
233
+ }
234
+ }
235
+ .@{calendar-prefix-cls}-week-number-cell{
236
+ background: @white;
237
+ }
238
+ }
239
+ .@{calendar-prefix-cls}-selected-day .@{calendar-prefix-cls}-date,
240
+ .@{calendar-prefix-cls}-selected-day:hover .@{calendar-prefix-cls}-date {
241
+ color: @text-color;
242
+ background: transparent;
243
+ }
244
+ &.@{calendar-prefix-cls}-active-week {
245
+ background: transparent;
246
+ td:nth-child(2){
247
+ .@{calendar-prefix-cls}-selected-day,.@{calendar-prefix-cls}-date{
248
+ border-radius: @border-radius-base 0 0 @border-radius-base;
249
+ }
250
+ }
251
+ td:last-child{
252
+ .@{calendar-prefix-cls}-selected-day,.@{calendar-prefix-cls}-date{
253
+ border-radius: 0 @border-radius-base @border-radius-base 0;
254
+ }
255
+ }
256
+ .@{calendar-prefix-cls}-cell{
257
+ font-weight: bold;
258
+ //background: @primary-color;
259
+ .@{calendar-prefix-cls}-date{
260
+ color: @text-color-inverse;
261
+ background: @primary-color;
262
+ &:hover{
263
+ color: @text-color-inverse;
264
+ background: @primary-color;
265
+ }
266
+ }
267
+ .@{calendar-prefix-cls}-selected-day{
268
+ background: @primary-color;
269
+ }
270
+ }
271
+ }
272
+ .@{calendar-prefix-cls}-today .@{calendar-prefix-cls}-date{
273
+ //color: @text-color;
274
+ //font-weight: normal;
275
+ border-color: transparent;
276
+ }
277
+ }
278
+ .@{calendar-prefix-cls}-cell{
279
+ height: 38px;
280
+ position: relative;
281
+ &::before {
282
+ position: absolute;
283
+ top: 3px;
284
+ right: 0;
285
+ bottom: 3px;
286
+ left: 0;
287
+ display: block;
288
+ border: 0;
289
+ border-radius: 0;
290
+ content: '';
291
+ }
292
+ }
293
+ }
294
+
@@ -26,11 +26,11 @@ Object.keys(_descriptions).forEach(function (key) {
26
26
  var _ellipsis2 = _interopRequireDefault(require("../ellipsis"));
27
27
  var _utils = require("../utils");
28
28
  var _prevLocale = require("../prev-locale");
29
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
29
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
30
30
  function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
31
31
  function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
32
32
  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); }
33
- function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
33
+ function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
34
34
  function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
35
35
  function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
36
36
  var __rest = void 0 && (void 0).__rest || function (s, e) {
@@ -79,19 +79,19 @@ var Descriptions = exports.Descriptions = (0, _react.forwardRef)(function (_a, r
79
79
  // 非垂直 且 同盾
80
80
  var tdDescriptions = layout !== 'vertical' && tdType;
81
81
  var tntPrefixCls = 'tnt-descriptions';
82
- var flattenChildren = function flattenChildren(children) {
82
+ var _flattenChildren = function flattenChildren(children) {
83
83
  if (!children) {
84
84
  return [];
85
85
  }
86
86
  return (0, _toArray["default"])(children).reduce(function (flatChildren, child) {
87
87
  if (child && child.type === _react["default"].Fragment) {
88
- return flatChildren.concat(flattenChildren(child.props.children));
88
+ return flatChildren.concat(_flattenChildren(child.props.children));
89
89
  }
90
90
  flatChildren.push(child);
91
91
  return flatChildren;
92
92
  }, []);
93
93
  };
94
- children = flattenChildren(children);
94
+ children = _flattenChildren(children);
95
95
  return _react["default"].createElement(_descriptions["default"], Object.assign({
96
96
  className: (0, _classnames["default"])("".concat(prefixCls, "-").concat((0, _prevLocale.getLanguage)()), _defineProperty({}, tntPrefixCls, tdDescriptions), "".concat(tntPrefixCls, "-title-theme").concat(titleType ? '-' + titleType : ''), _defineProperty({}, tntPrefixCls + '-title-weight', titleWeight), _defineProperty({}, tntPrefixCls + '-ellipsis', ellipsis), className),
97
97
  title: undoUpper ? title : (0, _utils.doUpperTitle)(title, upperCaseIgnore)
@@ -11,18 +11,18 @@ var _modal = _interopRequireDefault(require("../modal"));
11
11
  var _input = _interopRequireDefault(require("../input"));
12
12
  var _form = _interopRequireDefault(require("../form"));
13
13
  var _message = _interopRequireDefault(require("../message"));
14
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
14
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
15
15
  function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
16
16
  function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
17
- function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
17
+ function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
18
18
  function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
19
19
  function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
20
- function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
20
+ function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }
21
21
  function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
22
- function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
23
- function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
22
+ function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); 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; } }
23
+ function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
24
24
  function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
25
- function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
25
+ function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
26
26
  var cookies = new _universalCookie["default"]();
27
27
  // 默认
28
28
  var accountInfoDefault = {
@@ -6,12 +6,12 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports["default"] = void 0;
7
7
  var _react = _interopRequireWildcard(require("react"));
8
8
  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); }
9
- function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
9
+ function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }
10
10
  function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
11
- function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
12
- function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
11
+ function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); 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; } }
12
+ function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
13
13
  function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
14
- function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
14
+ function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
15
15
  function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
16
16
  function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; } /**
17
17
  * @file 本地开发登录入口
@@ -14,9 +14,9 @@ var _button = require("../button");
14
14
  require("../icon");
15
15
  function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
16
16
  function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
17
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
17
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
18
18
  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); }
19
- function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
19
+ function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
20
20
  function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
21
21
  function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
22
22
  var __rest = void 0 && (void 0).__rest || function (s, e) {
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports["default"] = void 0;
7
7
  var _react = _interopRequireDefault(require("react"));
8
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
8
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
9
9
  var _default = exports["default"] = function _default(props) {
10
10
  return _react["default"].createElement("svg", Object.assign({
11
11
  width: "16px",
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports["default"] = void 0;
7
7
  var _react = _interopRequireDefault(require("react"));
8
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
8
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
9
9
  var _default = exports["default"] = function _default(props) {
10
10
  return _react["default"].createElement("svg", Object.assign({
11
11
  width: "17px",
@@ -14,13 +14,13 @@ var _TickSVG = _interopRequireDefault(require("./Svg/TickSVG"));
14
14
  require("./index.less");
15
15
  function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
16
16
  function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
17
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
18
- function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
17
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
18
+ function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }
19
19
  function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
20
- function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
21
- function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
20
+ function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); 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; } }
21
+ function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
22
22
  function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
23
- function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; } /*
23
+ function _arrayWithHoles(r) { if (Array.isArray(r)) return r; } /*
24
24
  * @Author: 梁洪刚
25
25
  * @CreatDate: 2021-03-31 13:57:32
26
26
  * @Describe: 省略号组件
package/es/empty/empty.js CHANGED
@@ -28,9 +28,9 @@ Object.keys(_empty).forEach(function (key) {
28
28
  var _svgComponents = require("../svg-components");
29
29
  function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
30
30
  function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
31
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
31
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
32
32
  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); }
33
- function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
33
+ function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
34
34
  function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
35
35
  function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
36
36
  var __rest = void 0 && (void 0).__rest || function (s, e) {
@@ -8,8 +8,8 @@ var _react = _interopRequireDefault(require("react"));
8
8
  var _styledComponents = _interopRequireDefault(require("styled-components"));
9
9
  var _empty = require("./empty");
10
10
  var _templateObject;
11
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
12
- function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
11
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
12
+ function _taggedTemplateLiteral(e, t) { return t || (t = e.slice(0)), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } })); }
13
13
  var Container = _styledComponents["default"].div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n display: grid;\n grid-template-columns: repeat(6, 1fr);\n gap: 20px;\n"])));
14
14
  var _default = exports["default"] = {
15
15
  component: _empty.Empty,