tntd 3.0.27-beta.4 → 3.0.28-beta.1

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 (327) hide show
  1. package/CHANGELOG.json +1034 -0
  2. package/CHANGELOG.md +605 -0
  3. package/es/checkbox/checkbox-group.js +5 -0
  4. package/es/checkbox/checkbox-group.js.map +1 -0
  5. package/es/radio/radio-group.js +5 -0
  6. package/es/radio/radio-group.js.map +1 -0
  7. package/es/steps/stepStyle/small.less +5 -0
  8. package/es/table/resizableTable/index.less +18 -0
  9. package/es/tntd-cascader/rc-cascader/OptionList/Column.js +1 -1
  10. package/es/tntd-cascader/rc-cascader/OptionList/Column.js.map +1 -1
  11. package/es/tntd-virtual-tree-select/index.less +13 -0
  12. package/es/upload/svg/UploadSVG.js +37 -0
  13. package/es/upload/svg/UploadSVG.js.map +1 -0
  14. package/es/upload/upload.less +108 -0
  15. package/lib/_util/context.js +1 -1
  16. package/lib/_util/defaultRenderEmpty.js +1 -1
  17. package/lib/_util/hooks/useFlexGapSupport.js +4 -4
  18. package/lib/_util/hooks/useForceUpdate.js +4 -4
  19. package/lib/_util/responsiveObserve.js +1 -1
  20. package/lib/_util/styleChecker.js +1 -1
  21. package/lib/actions/index.js +1 -1
  22. package/lib/alert/alert.js +2 -2
  23. package/lib/alert/index.js +1 -1
  24. package/lib/array-input/index.js +9 -9
  25. package/lib/button/button.js +2 -2
  26. package/lib/cascader/cascader.js +1 -1
  27. package/lib/check-card/group.js +8 -8
  28. package/lib/check-card/index.js +6 -6
  29. package/lib/checkbox/checkbox-group.d.ts +8 -0
  30. package/lib/checkbox/checkbox-group.d.ts.map +1 -0
  31. package/lib/checkbox/checkbox-group.js +12 -0
  32. package/lib/checkbox/checkbox-group.js.map +1 -0
  33. package/lib/checkbox/checkbox.js +1 -1
  34. package/lib/color-picker/ColorPicker.js +6 -6
  35. package/lib/color-picker/index.js +1 -1
  36. package/lib/columns/index.js +1 -1
  37. package/lib/config-provider/config-provider.js +1 -1
  38. package/lib/date-picker/DatePicker.js +1 -1
  39. package/lib/descriptions/descriptions.js +5 -5
  40. package/lib/development-login/LoginModal.js +6 -6
  41. package/lib/development-login/index.js +4 -4
  42. package/lib/drawer/drawer.js +2 -2
  43. package/lib/ellipsis/Svg/CopySVG.js +1 -1
  44. package/lib/ellipsis/Svg/TickSVG.js +1 -1
  45. package/lib/ellipsis/index.js +5 -5
  46. package/lib/empty/empty.js +2 -2
  47. package/lib/empty/empty.stories.js +2 -2
  48. package/lib/exception/exception.js +1 -1
  49. package/lib/form/form.js +2 -2
  50. package/lib/grid-v4/col.js +2 -2
  51. package/lib/grid-v4/hooks/useBreakpoint.js +1 -1
  52. package/lib/grid-v4/index.js +1 -1
  53. package/lib/grid-v4/row.js +6 -6
  54. package/lib/handle/index.js +1 -1
  55. package/lib/handle-icon/index.js +11 -11
  56. package/lib/icon/IconFont.js +1 -1
  57. package/lib/icon/components/Icon.js +9 -9
  58. package/lib/icon/components/index.js +1 -1
  59. package/lib/icon/components/utils.js +3 -3
  60. package/lib/icon/index.js +7 -7
  61. package/lib/icon/twoTonePrimaryColor.js +1 -1
  62. package/lib/icon/utils.js +1 -1
  63. package/lib/img/Contain.js +1 -1
  64. package/lib/img/Cover.js +5 -5
  65. package/lib/img/index.js +5 -5
  66. package/lib/index.js +1 -1
  67. package/lib/input/input.js +2 -2
  68. package/lib/input-number/inputNumber.js +1 -1
  69. package/lib/label/index.js +2 -2
  70. package/lib/loading-button/index.js +5 -5
  71. package/lib/locale/default.js +1 -1
  72. package/lib/locale/en_US.js +1 -1
  73. package/lib/locale/zh_CN.js +1 -1
  74. package/lib/modal/modal.js +1 -1
  75. package/lib/notification/assets/index.js +1 -1
  76. package/lib/notification/index.js +1 -1
  77. package/lib/notification/notification.js +1 -1
  78. package/lib/page/Box.js +1 -1
  79. package/lib/page/index.js +7 -7
  80. package/lib/page-container/index.js +1 -1
  81. package/lib/page-loading/index.js +1 -1
  82. package/lib/popconfirm/popconfirm.js +1 -1
  83. package/lib/popover/popover.js +1 -1
  84. package/lib/preview-text/index.js +7 -7
  85. package/lib/progress/progress.js +2 -2
  86. package/lib/query-form/Field/Checkbox.js +1 -1
  87. package/lib/query-form/Field/Composition/FieldPopover.js +5 -5
  88. package/lib/query-form/Field/Composition/Select.js +6 -6
  89. package/lib/query-form/Field/Composition/ValueTag.js +5 -5
  90. package/lib/query-form/Field/Composition/index.js +9 -9
  91. package/lib/query-form/Field/Composition/utils.js +1 -1
  92. package/lib/query-form/Field/Select.js +6 -6
  93. package/lib/query-form/Field/SelectInput.js +6 -6
  94. package/lib/query-form/Field/fieldsMap.js +1 -1
  95. package/lib/query-form/Field/index.js +10 -10
  96. package/lib/query-form/createActions.js +1 -1
  97. package/lib/query-form/index.js +6 -6
  98. package/lib/query-form/useForm.js +1 -1
  99. package/lib/query-list-scene/List.js +13 -13
  100. package/lib/query-list-scene/QueryForm.js +9 -9
  101. package/lib/query-list-scene/QueryListScene.js +10 -10
  102. package/lib/query-list-scene/Title.js +1 -1
  103. package/lib/query-list-scene/Toolbar.js +2 -2
  104. package/lib/query-list-scene/createActions.js +1 -1
  105. package/lib/query-list-scene/index.js +1 -1
  106. package/lib/query-list-scene/useActions.js +1 -1
  107. package/lib/radio/radio-group.d.ts +8 -0
  108. package/lib/radio/radio-group.d.ts.map +1 -0
  109. package/lib/radio/radio-group.js +12 -0
  110. package/lib/radio/radio-group.js.map +1 -0
  111. package/lib/radio/radio.js +1 -1
  112. package/lib/render-empty/render-empty.js +1 -1
  113. package/lib/scroll-bar/Bar.js +5 -5
  114. package/lib/scroll-bar/Context.js +1 -1
  115. package/lib/scroll-bar/ScrollBar.js +1 -1
  116. package/lib/scroll-bar/Thumb.js +5 -5
  117. package/lib/scroll-bar/index.js +1 -1
  118. package/lib/scroll-bar/util.js +1 -1
  119. package/lib/segmented/index.js +2 -2
  120. package/lib/select/select.js +2 -2
  121. package/lib/spin/spin.js +1 -1
  122. package/lib/steps/stepStyle/small.less +5 -0
  123. package/lib/steps/steps.js +2 -2
  124. package/lib/svg-components/index.js +1 -1
  125. package/lib/table/hooks/use-column-setting.js +4 -4
  126. package/lib/table/hooks/use-expand-fixed.js +6 -6
  127. package/lib/table/resizableTable/index.js +6 -6
  128. package/lib/table/resizableTable/index.less +18 -0
  129. package/lib/table/table-hoc.js +1 -1
  130. package/lib/table/table.js +9 -9
  131. package/lib/table/table.stories.js +2 -2
  132. package/lib/table/total-shower.js +1 -1
  133. package/lib/table/utils.js +1 -1
  134. package/lib/table-container/index.js +1 -1
  135. package/lib/tabs/tabs.js +2 -2
  136. package/lib/tabs-container/index.js +1 -1
  137. package/lib/tag/tag.js +2 -2
  138. package/lib/time-picker/TimePicker.js +1 -1
  139. package/lib/time-picker/index.js +1 -1
  140. package/lib/title/index.js +1 -1
  141. package/lib/tntd-action/Action.js +9 -9
  142. package/lib/tntd-action/index.js +8 -8
  143. package/lib/tntd-cascader/AntdCascader/component/context.js +1 -1
  144. package/lib/tntd-cascader/AntdCascader/component/defaultRenderEmpty.js +1 -1
  145. package/lib/tntd-cascader/AntdCascader/component/getIcons.js +1 -1
  146. package/lib/tntd-cascader/AntdCascader/component/useCompactItemContext.js +2 -2
  147. package/lib/tntd-cascader/AntdCascader/config/utils.js +2 -2
  148. package/lib/tntd-cascader/AntdCascader/index.js +7 -7
  149. package/lib/tntd-cascader/index.js +1 -1
  150. package/lib/tntd-cascader/rc-cascader/Cascader.js +8 -8
  151. package/lib/tntd-cascader/rc-cascader/OptionList/Checkbox.js +2 -2
  152. package/lib/tntd-cascader/rc-cascader/OptionList/Column.js +8 -8
  153. package/lib/tntd-cascader/rc-cascader/OptionList/Column.js.map +1 -1
  154. package/lib/tntd-cascader/rc-cascader/OptionList/index.js +9 -9
  155. package/lib/tntd-cascader/rc-cascader/OptionList/useActive.js +5 -5
  156. package/lib/tntd-cascader/rc-cascader/OptionList/useKeyboard.js +8 -8
  157. package/lib/tntd-cascader/rc-cascader/hooks/useDisplayValues.js +5 -5
  158. package/lib/tntd-cascader/rc-cascader/hooks/useSearchConfig.js +1 -1
  159. package/lib/tntd-cascader/rc-cascader/hooks/useSearchOptions.js +6 -6
  160. package/lib/tntd-cascader/rc-cascader/index.js +1 -1
  161. package/lib/tntd-cascader/rc-cascader/utils/warningPropsUtil.js +4 -4
  162. package/lib/tntd-form/ErrorList.js +7 -7
  163. package/lib/tntd-form/Form.js +6 -6
  164. package/lib/tntd-form/FormItem/ItemHolder.js +6 -6
  165. package/lib/tntd-form/FormItem/index.js +8 -8
  166. package/lib/tntd-form/FormItemInput.js +1 -1
  167. package/lib/tntd-form/FormItemLabel.js +2 -2
  168. package/lib/tntd-form/FormList.js +1 -1
  169. package/lib/tntd-form/context.js +1 -1
  170. package/lib/tntd-form/hooks/useDebounce.js +4 -4
  171. package/lib/tntd-form/hooks/useForm.js +5 -5
  172. package/lib/tntd-form/hooks/useFormItemStatus.js +1 -1
  173. package/lib/tntd-form/hooks/useFrameState.js +5 -5
  174. package/lib/tntd-form/index.js +1 -1
  175. package/lib/tntd-icon/index.js +1 -1
  176. package/lib/tntd-layout/AppList.js +6 -6
  177. package/lib/tntd-layout/Application.js +6 -6
  178. package/lib/tntd-layout/Avatar.js +2 -2
  179. package/lib/tntd-layout/CompatibleLanguage.js +6 -6
  180. package/lib/tntd-layout/EnterpriseLayout/Avatar.js +2 -2
  181. package/lib/tntd-layout/EnterpriseLayout/Language.js +6 -6
  182. package/lib/tntd-layout/EnterpriseLayout/Theme.js +6 -6
  183. package/lib/tntd-layout/EnterpriseLayout/index.js +1 -1
  184. package/lib/tntd-layout/GlobalNavigation/NavigationPopup.js +6 -6
  185. package/lib/tntd-layout/GlobalNavigation/index.js +9 -9
  186. package/lib/tntd-layout/Header.js +2 -2
  187. package/lib/tntd-layout/HeaderActions.js +2 -2
  188. package/lib/tntd-layout/HeaderNavs.js +6 -6
  189. package/lib/tntd-layout/HeaderTabs.js +7 -7
  190. package/lib/tntd-layout/Iconfont.js +1 -1
  191. package/lib/tntd-layout/Language.js +6 -6
  192. package/lib/tntd-layout/Layout.js +6 -6
  193. package/lib/tntd-layout/Logo.js +2 -2
  194. package/lib/tntd-layout/OrgAppList.js +6 -6
  195. package/lib/tntd-layout/SideMenu.js +6 -6
  196. package/lib/tntd-layout/Theme.js +6 -6
  197. package/lib/tntd-layout/createActions.js +1 -1
  198. package/lib/tntd-layout/images/index.js +1 -1
  199. package/lib/tntd-layout/index.js +1 -1
  200. package/lib/tntd-layout/paaslayout/CompactSideMenu.js +6 -6
  201. package/lib/tntd-layout/paaslayout/Header.js +2 -2
  202. package/lib/tntd-layout/paaslayout/Logo.js +2 -2
  203. package/lib/tntd-layout/paaslayout/SideMenu.js +6 -6
  204. package/lib/tntd-layout/paaslayout/index.js +6 -6
  205. package/lib/tntd-layout/storage.js +1 -1
  206. package/lib/tntd-modal/index.js +6 -6
  207. package/lib/tntd-rc-select/_util/PurePanel.js +5 -5
  208. package/lib/tntd-rc-select/_util/context.js +1 -1
  209. package/lib/tntd-rc-select/_util/defaultRenderEmpty.js +1 -1
  210. package/lib/tntd-rc-select/_util/getIcons.js +1 -1
  211. package/lib/tntd-rc-select/_util/useCompactItemContext.js +2 -2
  212. package/lib/tntd-rc-select/index.js +2 -2
  213. package/lib/tntd-reference/AHref/index.js +1 -1
  214. package/lib/tntd-reference/ReferenceBatchCheck/index.js +1 -1
  215. package/lib/tntd-reference/ReferenceBatchDrawer/index.js +5 -5
  216. package/lib/tntd-reference/ReferenceCheck/index.js +1 -1
  217. package/lib/tntd-reference/ReferenceDrawer/index.js +5 -5
  218. package/lib/tntd-reference/ReferenceInfo/index.js +1 -1
  219. package/lib/tntd-reference/index.js +1 -1
  220. package/lib/tntd-second-page/index.js +1 -1
  221. package/lib/tntd-select/DropDownWrap.js +8 -8
  222. package/lib/tntd-select/index.js +9 -10
  223. package/lib/tntd-virtual-tree/index.js +8 -8
  224. package/lib/tntd-virtual-tree/utils.js +28 -28
  225. package/lib/tntd-virtual-tree-select/index.js +10 -10
  226. package/lib/tntd-virtual-tree-select/index.less +13 -0
  227. package/lib/tntd-virtual-tree-select/utils.js +9 -9
  228. package/lib/tooltip/tooltip.js +1 -1
  229. package/lib/upload/index.js +1 -1
  230. package/lib/{query-form-v3/Field/Composition/Select.d.ts → upload/svg/UploadSVG.d.ts} +1 -1
  231. package/lib/upload/svg/UploadSVG.d.ts.map +1 -0
  232. package/lib/upload/svg/UploadSVG.js +44 -0
  233. package/lib/upload/svg/UploadSVG.js.map +1 -0
  234. package/lib/upload/upload.less +108 -0
  235. package/lib/utils/checkAuth.js +4 -4
  236. package/lib/utils/index.js +9 -9
  237. package/lib/utils/lang.js +3 -3
  238. package/lib/water-mark/index.js +5 -5
  239. package/package.json +2 -2
  240. package/es/query-form-backup/Field/Composition/FieldPopover.less +0 -35
  241. package/es/query-form-backup/Field/Composition/index.less +0 -114
  242. package/es/query-form-backup/index.less +0 -90
  243. package/lib/query-form-backup/Field/Composition/FieldPopover.less +0 -35
  244. package/lib/query-form-backup/Field/Composition/index.less +0 -114
  245. package/lib/query-form-backup/index.less +0 -90
  246. package/lib/query-form-v2/Field/Checkbox.d.ts +0 -8
  247. package/lib/query-form-v2/Field/Checkbox.d.ts.map +0 -1
  248. package/lib/query-form-v2/Field/Checkbox.js +0 -28
  249. package/lib/query-form-v2/Field/Checkbox.js.map +0 -1
  250. package/lib/query-form-v2/Field/Select.d.ts +0 -4
  251. package/lib/query-form-v2/Field/Select.d.ts.map +0 -1
  252. package/lib/query-form-v2/Field/Select.js +0 -80
  253. package/lib/query-form-v2/Field/Select.js.map +0 -1
  254. package/lib/query-form-v2/Field/SelectInput.d.ts +0 -4
  255. package/lib/query-form-v2/Field/SelectInput.d.ts.map +0 -1
  256. package/lib/query-form-v2/Field/SelectInput.js +0 -88
  257. package/lib/query-form-v2/Field/SelectInput.js.map +0 -1
  258. package/lib/query-form-v2/Field/fieldsMap.d.ts +0 -24
  259. package/lib/query-form-v2/Field/fieldsMap.d.ts.map +0 -1
  260. package/lib/query-form-v2/Field/fieldsMap.js +0 -35
  261. package/lib/query-form-v2/Field/fieldsMap.js.map +0 -1
  262. package/lib/query-form-v2/Field/index.d.ts +0 -14
  263. package/lib/query-form-v2/Field/index.d.ts.map +0 -1
  264. package/lib/query-form-v2/Field/index.js +0 -146
  265. package/lib/query-form-v2/Field/index.js.map +0 -1
  266. package/lib/query-form-v2/createActions.d.ts +0 -14
  267. package/lib/query-form-v2/createActions.d.ts.map +0 -1
  268. package/lib/query-form-v2/createActions.js +0 -54
  269. package/lib/query-form-v2/createActions.js.map +0 -1
  270. package/lib/query-form-v2/index.d.ts +0 -39
  271. package/lib/query-form-v2/index.d.ts.map +0 -1
  272. package/lib/query-form-v2/index.js +0 -391
  273. package/lib/query-form-v2/index.js.map +0 -1
  274. package/lib/query-form-v2/useForm.d.ts +0 -13
  275. package/lib/query-form-v2/useForm.d.ts.map +0 -1
  276. package/lib/query-form-v2/useForm.js +0 -13
  277. package/lib/query-form-v2/useForm.js.map +0 -1
  278. package/lib/query-form-v3/Field/Checkbox.d.ts +0 -8
  279. package/lib/query-form-v3/Field/Checkbox.d.ts.map +0 -1
  280. package/lib/query-form-v3/Field/Checkbox.js +0 -28
  281. package/lib/query-form-v3/Field/Checkbox.js.map +0 -1
  282. package/lib/query-form-v3/Field/Composition/FieldPopover.d.ts +0 -19
  283. package/lib/query-form-v3/Field/Composition/FieldPopover.d.ts.map +0 -1
  284. package/lib/query-form-v3/Field/Composition/FieldPopover.js +0 -381
  285. package/lib/query-form-v3/Field/Composition/FieldPopover.js.map +0 -1
  286. package/lib/query-form-v3/Field/Composition/FieldPopover.less +0 -35
  287. package/lib/query-form-v3/Field/Composition/Select.d.ts.map +0 -1
  288. package/lib/query-form-v3/Field/Composition/Select.js +0 -131
  289. package/lib/query-form-v3/Field/Composition/Select.js.map +0 -1
  290. package/lib/query-form-v3/Field/Composition/index.d.ts +0 -10
  291. package/lib/query-form-v3/Field/Composition/index.d.ts.map +0 -1
  292. package/lib/query-form-v3/Field/Composition/index.js +0 -255
  293. package/lib/query-form-v3/Field/Composition/index.js.map +0 -1
  294. package/lib/query-form-v3/Field/Composition/index.less +0 -118
  295. package/lib/query-form-v3/Field/Composition/utils.d.ts +0 -22
  296. package/lib/query-form-v3/Field/Composition/utils.d.ts.map +0 -1
  297. package/lib/query-form-v3/Field/Composition/utils.js +0 -147
  298. package/lib/query-form-v3/Field/Composition/utils.js.map +0 -1
  299. package/lib/query-form-v3/Field/Select.d.ts +0 -4
  300. package/lib/query-form-v3/Field/Select.d.ts.map +0 -1
  301. package/lib/query-form-v3/Field/Select.js +0 -80
  302. package/lib/query-form-v3/Field/Select.js.map +0 -1
  303. package/lib/query-form-v3/Field/SelectInput.d.ts +0 -4
  304. package/lib/query-form-v3/Field/SelectInput.d.ts.map +0 -1
  305. package/lib/query-form-v3/Field/SelectInput.js +0 -100
  306. package/lib/query-form-v3/Field/SelectInput.js.map +0 -1
  307. package/lib/query-form-v3/Field/fieldsMap.d.ts +0 -27
  308. package/lib/query-form-v3/Field/fieldsMap.d.ts.map +0 -1
  309. package/lib/query-form-v3/Field/fieldsMap.js +0 -35
  310. package/lib/query-form-v3/Field/fieldsMap.js.map +0 -1
  311. package/lib/query-form-v3/Field/index.d.ts +0 -14
  312. package/lib/query-form-v3/Field/index.d.ts.map +0 -1
  313. package/lib/query-form-v3/Field/index.js +0 -147
  314. package/lib/query-form-v3/Field/index.js.map +0 -1
  315. package/lib/query-form-v3/createActions.d.ts +0 -14
  316. package/lib/query-form-v3/createActions.d.ts.map +0 -1
  317. package/lib/query-form-v3/createActions.js +0 -54
  318. package/lib/query-form-v3/createActions.js.map +0 -1
  319. package/lib/query-form-v3/index.d.ts +0 -27
  320. package/lib/query-form-v3/index.d.ts.map +0 -1
  321. package/lib/query-form-v3/index.js +0 -206
  322. package/lib/query-form-v3/index.js.map +0 -1
  323. package/lib/query-form-v3/index.less +0 -91
  324. package/lib/query-form-v3/useForm.d.ts +0 -13
  325. package/lib/query-form-v3/useForm.d.ts.map +0 -1
  326. package/lib/query-form-v3/useForm.js +0 -13
  327. package/lib/query-form-v3/useForm.js.map +0 -1
@@ -0,0 +1,108 @@
1
+ //拖拽上传
2
+ .tntd-upload-dragger-body{
3
+ display: flex;
4
+ flex-direction: column;
5
+ justify-content: center;
6
+ align-items: center;
7
+ .tntd-upload-dragger-text{
8
+ margin-top: 16px;
9
+ font-family: PingFang SC;
10
+ font-size: 14px;
11
+ font-weight: 400;
12
+ line-height: 22px;
13
+ }
14
+ .tntd-upload-dragger-hint{
15
+ //styleName: Body1-12/Regular;
16
+ font-family: PingFang SC;
17
+ font-size: 12px;
18
+ font-weight: 400;
19
+ line-height: 20px;
20
+ text-align: left;
21
+ color: #8B919E
22
+ }
23
+ }
24
+
25
+ //照片墙
26
+ .tntd-upload-wrapper-picture-card{
27
+ .ant-upload-list-picture-card-container{
28
+ height: auto;
29
+ .ant-upload-list-item-error{
30
+ background-color: #F8F9FB;
31
+ .anticon-picture{
32
+ svg{
33
+ margin: 20px;
34
+ }
35
+ path:nth-child(1){
36
+ fill: #17233D;
37
+ }
38
+ path:nth-child(2){
39
+ fill: transparent;
40
+ }
41
+ path:nth-child(3){
42
+ fill: transparent;
43
+ }
44
+ path:nth-child(4){
45
+ fill: transparent;
46
+ }
47
+ path:nth-child(5){
48
+ fill: #17233D;
49
+ }
50
+ }
51
+ }
52
+ }
53
+ }
54
+
55
+ //头像
56
+ .tntd-upload-wrapper-avatar{
57
+ .ant-upload-picture-card-wrapper{
58
+ // width: 52px;
59
+ // height: 52px;
60
+ // border-radius: 50%;
61
+ width: auto;
62
+ height: auto;
63
+ // background-color: red;
64
+ .ant-upload.ant-upload-select-picture-card{
65
+ margin: 0;
66
+ width: auto;
67
+ height: auto;
68
+ border: transparent;
69
+ background-color: #fff;
70
+ .ant-upload{
71
+ padding: 0;
72
+ }
73
+ .avatar-uploader-btn{
74
+ width: 52px;
75
+ height: 52px;
76
+ border-radius: 50%;
77
+ background-size: cover;
78
+ position: relative;
79
+ }
80
+ .avatar-uploader-btn:hover .avatar-uploader-btn-mask{
81
+ display: flex;
82
+ }
83
+ .avatar-uploader-btn-mask{
84
+ width: calc(100% + 4px);
85
+ height: calc(100% + 4px);
86
+ background-color: rgba(0, 0, 0, 0.2);
87
+ position: absolute;
88
+ border-radius: 50%;
89
+ top: 0;
90
+ display: flex;
91
+ justify-content: center;
92
+ align-items: center;
93
+ color: white;
94
+ display: none;
95
+ }
96
+ }
97
+ }
98
+ }
99
+
100
+ .tntd-upload-list-Ellipsis.min-width-0{
101
+ text-align: center;
102
+ min-width: 1px;
103
+ }
104
+ .ant-upload-list-item-error{
105
+ .anticon.anticon-paper-clip{
106
+ color: #17233D;
107
+ }
108
+ }
@@ -5,9 +5,9 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.getCheckAuth = exports["default"] = void 0;
7
7
  var _get2 = _interopRequireDefault(require("lodash/get"));
8
- function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
8
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
9
9
  var getCheckAuth = exports.getCheckAuth = function getCheckAuth(menus) {
10
- var _getAuthMap = function getAuthMap() {
10
+ var getAuthMap = function getAuthMap() {
11
11
  var menus = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
12
12
  var authMap = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
13
13
  return menus.reduce(function (acc, _ref) {
@@ -16,7 +16,7 @@ var getCheckAuth = exports.getCheckAuth = function getCheckAuth(menus) {
16
16
  functionList = _ref.functionList,
17
17
  children = _ref.children;
18
18
  if (groupName) {
19
- return _getAuthMap(children, acc);
19
+ return getAuthMap(children, acc);
20
20
  } else {
21
21
  acc[code] = acc[code] || {};
22
22
  acc[code] = (functionList || []).reduce(function (acc, curFunc) {
@@ -27,7 +27,7 @@ var getCheckAuth = exports.getCheckAuth = function getCheckAuth(menus) {
27
27
  }
28
28
  }, authMap);
29
29
  };
30
- var authMap = _getAuthMap(menus);
30
+ var authMap = getAuthMap(menus);
31
31
  return function (menuCode, funCode) {
32
32
  return !!(0, _get2["default"])(authMap, "".concat(menuCode).concat(funCode ? ".".concat(funCode) : ''));
33
33
  };
@@ -51,12 +51,12 @@ Object.keys(_lang).forEach(function (key) {
51
51
  });
52
52
  });
53
53
  var _prevLocale = require("../prev-locale");
54
- function _toConsumableArray(r) { return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread(); }
54
+ function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
55
55
  function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
56
- 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; } }
57
- function _iterableToArray(r) { if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r); }
58
- function _arrayWithoutHoles(r) { if (Array.isArray(r)) return _arrayLikeToArray(r); }
59
- 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; }
56
+ 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); }
57
+ function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }
58
+ function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }
59
+ 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; }
60
60
  var isGroupMenu = exports.isGroupMenu = function isGroupMenu(menu) {
61
61
  return (menu === null || menu === void 0 ? void 0 : menu.children) && !(menu === null || menu === void 0 ? void 0 : menu.path);
62
62
  };
@@ -66,7 +66,7 @@ var getSelectedMenuInfo = exports.getSelectedMenuInfo = function getSelectedMenu
66
66
  var menu;
67
67
  var parentMenus = [];
68
68
  if (selectedKey) {
69
- _traverseTree(menus, function (node, pnode, pnodes) {
69
+ traverseTree(menus, function (node, pnode, pnodes) {
70
70
  if (!isGroupMenu(node) && node.code === selectedKey) {
71
71
  subMenu = node;
72
72
  menu = pnode;
@@ -76,7 +76,7 @@ var getSelectedMenuInfo = exports.getSelectedMenuInfo = function getSelectedMenu
76
76
  });
77
77
  } else {
78
78
  // 默认找到第一个菜单项
79
- _traverseTree(menus, function (node, pnode, pnodes) {
79
+ traverseTree(menus, function (node, pnode, pnodes) {
80
80
  if (!isGroupMenu(node)) {
81
81
  subMenu = node;
82
82
  menu = pnode;
@@ -109,7 +109,7 @@ var isNewTabMenu = exports.isNewTabMenu = function isNewTabMenu(menu) {
109
109
  var openInNewTab = exports.openInNewTab = function openInNewTab(path) {
110
110
  window.open(path, '_blank');
111
111
  };
112
- var _traverseTree = exports.traverseTree = function traverseTree(treeData, callback, pnode) {
112
+ var traverseTree = exports.traverseTree = function traverseTree(treeData, callback, pnode) {
113
113
  var pnodes = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : [];
114
114
  ;
115
115
  (treeData || []).every(function (node, index) {
@@ -121,7 +121,7 @@ var _traverseTree = exports.traverseTree = function traverseTree(treeData, callb
121
121
  }
122
122
  // 回调函数返回false则终止遍历
123
123
  if (result !== false) {
124
- node && _traverseTree(node.children || [], callback, node, [node].concat(_toConsumableArray(pnodes)));
124
+ node && traverseTree(node.children || [], callback, node, [node].concat(_toConsumableArray(pnodes)));
125
125
  }
126
126
  return result !== false;
127
127
  });
package/lib/utils/lang.js CHANGED
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports.titleHandle = exports.titleCaseUpper = exports.prepositions = exports.doUpperTitle = exports.articles = void 0;
7
7
  var _react = _interopRequireDefault(require("react"));
8
8
  var _prevLocale = require("../prev-locale");
9
- function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
9
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
10
10
  var prepositions = exports.prepositions = ['about', 'above', 'across', 'after', 'against', 'along', 'among', 'around', 'as', 'at', 'before', 'behind', 'below', 'beneath', 'beside', 'between', 'beyond', 'by', 'down', 'during', 'except', 'for', 'from', 'in', 'inside', 'into', 'like', 'near', 'of', 'off', 'on', 'onto', 'out', 'outside', 'over', 'past', 'round', 'since', 'through', 'throughout', 'to', 'toward', 'under', 'underneath', 'until', 'up', 'upon', 'with', 'within', 'without', 'or'];
11
11
  var articles = exports.articles = ['the', 'a', 'an'];
12
12
  var titleHandle = exports.titleHandle = function titleHandle(str) {
@@ -50,7 +50,7 @@ var titleCaseUpper = exports.titleCaseUpper = function titleCaseUpper(str) {
50
50
  }
51
51
  return str;
52
52
  };
53
- var _doUpperTitle = exports.doUpperTitle = function doUpperTitle(label) {
53
+ var doUpperTitle = exports.doUpperTitle = function doUpperTitle(label) {
54
54
  var upperCaseIgnore = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];
55
55
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
56
56
  if ((0, _prevLocale.getLanguage)() === 'cn') {
@@ -67,7 +67,7 @@ var _doUpperTitle = exports.doUpperTitle = function doUpperTitle(label) {
67
67
  return Object.assign(Object.assign({}, label), {
68
68
  props: Object.assign(Object.assign({}, label.props), {
69
69
  children: (_d = (_c = label === null || label === void 0 ? void 0 : label.props) === null || _c === void 0 ? void 0 : _c.children) === null || _d === void 0 ? void 0 : _d.map(function (subLabel) {
70
- return _doUpperTitle(subLabel, upperCaseIgnore);
70
+ return doUpperTitle(subLabel, upperCaseIgnore);
71
71
  })
72
72
  })
73
73
  });
@@ -9,13 +9,13 @@ var _classnames = _interopRequireDefault(require("classnames"));
9
9
  var _react = _interopRequireWildcard(require("react"));
10
10
  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); }
11
11
  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; }
12
- function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
13
- function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }
12
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
13
+ function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
14
14
  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."); }
15
- 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; } }
16
- 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; }
15
+ 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); }
16
+ 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; }
17
17
  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; } }
18
- function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
18
+ function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
19
19
  /**
20
20
  * 返回当前显示设备的物理像素分辨率与CSS像素分辨率之比
21
21
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tntd",
3
- "version": "3.0.27-beta.4",
3
+ "version": "3.0.28-beta.1",
4
4
  "license": "MIT",
5
5
  "scripts": {
6
6
  "start": "heft start --storybook",
@@ -114,4 +114,4 @@
114
114
  "main": "lib/index.js",
115
115
  "module": "es/index.js",
116
116
  "typings": "lib/index.d.ts"
117
- }
117
+ }
@@ -1,35 +0,0 @@
1
- .tnt-queryform-field-popover {
2
- min-width: 280px;
3
- .ant-popover-inner-content {
4
- padding: @padding-sm 0;
5
- }
6
- .ant-calendar-picker {
7
- margin: @margin-xxs 0;
8
- }
9
- label {
10
- color: tint(@text-color, 50%);
11
- margin-bottom: @margin-xs;
12
- display: block;
13
- padding: 0 @padding-sm;
14
- }
15
- .ant-select-dropdown-menu {
16
- &-item {
17
- padding: @padding-xxs @padding-sm;
18
- &:hover {
19
- background-color: @bg-color-quaternary;
20
- }
21
- }
22
- }
23
- &-content {
24
- padding: @padding-xxs @padding-sm;
25
- }
26
- .ant-select-selected-icon {
27
- position: absolute;
28
- right: @margin-base;
29
- top: @margin-xs;
30
- color: @blue-6;
31
- }
32
- .tnt-highlight {
33
- color: @blue-6;
34
- }
35
- }
@@ -1,114 +0,0 @@
1
- @import '../../../style/themes/index';
2
- @import '../../../style/mixins/index';
3
- @import '../../../input/style/mixin';
4
-
5
- .tnt-queryform-composition-input {
6
- // width: 100%;
7
- max-height: 162px;
8
- overflow-x: hidden;
9
- cursor: text;
10
- padding: 2px @padding-xl;
11
- position: relative;
12
- box-sizing: border-box;
13
- background-color: @select-background;
14
- border: @border-width-base @border-style-base @select-border-color;
15
- border-top-width: calc(@border-width-base + 0.02px);
16
- border-radius: @border-radius-base;
17
- outline: none;
18
- transition: all 0.3s @ease-in-out;
19
- user-select: none;
20
- margin-bottom: @margin-sm;
21
-
22
- &-prefix {
23
- position: absolute;
24
- left: @padding-sm;
25
- top: 50%;
26
- transform: translateY(-50%);
27
- i.anticon {
28
- color: tint(@bg-color-spotilight, 50%);
29
- }
30
- }
31
-
32
- &-width {
33
- height: 0;
34
- opacity: 0;
35
- width: auto;
36
- position: absolute;
37
- max-width: 100%;
38
- }
39
-
40
- &-items {
41
- float: left;
42
- padding: 0;
43
- list-style: none;
44
- margin: 0;
45
- width: 100%;
46
- &-item {
47
- padding: 3px 0;
48
- }
49
- li {
50
- float: left;
51
- line-height: 1;
52
- }
53
- &-input {
54
- .inputClass {
55
- background: none;
56
- border: none !important;
57
- outline: none;
58
- box-shadow: none !important;
59
- width: 150px !important;
60
- height: 26px;
61
- line-height: 26px;
62
- padding: 0;
63
- input {
64
- border: none !important;
65
- outline: none !important;
66
- box-shadow: none !important;
67
- height: 26px;
68
- line-height: 26px;
69
- padding: 0;
70
- }
71
- textarea {
72
- padding: 0;
73
- }
74
- }
75
- .inputClass-with-placeholder {
76
- min-width: 398px !important;
77
- }
78
- }
79
- }
80
- &-clear {
81
- position: absolute;
82
- right: @margin-sm;
83
- top: 50%;
84
- transform: translateY(-50%);
85
- display: none;
86
- i.anticon {
87
- color: tint(@bg-color-spotilight, 50%);
88
- }
89
- &:hover {
90
- .anticon {
91
- color: @text-color-secondary !important;
92
- }
93
- }
94
- }
95
- &:hover {
96
- border-color: @blue-6;
97
- outline: 0;
98
- .tnt-queryform-composition-input-clear {
99
- display: block;
100
- }
101
- // box-shadow: 0 0 0 2px rgb(18 107 251 / 20%);
102
- }
103
- &:focus,
104
- &:active {
105
- border-color: @blue-5;
106
- outline: 0;
107
- // box-shadow: 0 0 0 2px rgb(18 107 251 / 20%);
108
- }
109
- .ant-tag {
110
- padding: 0 @padding-xs;
111
- border: none;
112
- background: @fill-color-tertiary;
113
- }
114
- }
@@ -1,90 +0,0 @@
1
- .tnt-queryform {
2
- &-top {
3
- display: flex;
4
- &-body {
5
- flex: 1;
6
- .ant-btn {
7
- margin-right: 10px;
8
- }
9
- }
10
- }
11
-
12
- &-extra {
13
- & > * {
14
- margin-left: 10px;
15
- }
16
- }
17
-
18
- .ant-form {
19
- // margin-bottom: @margin-sm;
20
- &.ant-form-inline {
21
- flex-wrap: unset;
22
- position: relative;
23
- }
24
-
25
- &.ant-form-inline .ant-form-item {
26
- margin-right: 10px;
27
- margin-bottom: @margin-sm;
28
- display: inline-block;
29
- }
30
-
31
- .ant-form-item-control {
32
- // min-width: 160px;
33
- line-height: unset;
34
- .ant-calendar-picker-input {
35
- padding: 0 @padding-sm;
36
- }
37
- .ant-form-item-children {
38
- & > .ant-input,
39
- & > .ant-input-affix-wrapper {
40
- width: 160px;
41
- // width: 200px;
42
- }
43
- }
44
- }
45
- }
46
-
47
- &-drawer {
48
- margin-top: @margin-xxl;
49
- &.large-size {
50
- margin-top: 60px;
51
- }
52
-
53
- &.ant-drawer.ant-drawer-open {
54
- .ant-drawer-mask {
55
- opacity: 0;
56
- background: unset;
57
- }
58
- }
59
- .ant-drawer-body {
60
- .ant-form-item {
61
- display: block;
62
- margin-right: 0;
63
- margin-bottom: @margin-md;
64
- width: 100%;
65
- }
66
- .ant-form-item-label {
67
- display: block;
68
- text-align: left;
69
- line-height: 22px;
70
- margin-bottom: 10px;
71
- }
72
- .ant-form-item-control-wrapper,
73
- .ant-form-item-control,
74
- .ant-calendar-picker,
75
- .ant-input {
76
- min-width: 100%;
77
- width: 100%;
78
- }
79
-
80
- & > .ant-btn {
81
- display: block;
82
- width: 100%;
83
- margin-bottom: 10px;
84
- &.ant-btn-primary {
85
- margin-top: @margin-md;
86
- }
87
- }
88
- }
89
- }
90
- }
@@ -1,35 +0,0 @@
1
- .tnt-queryform-field-popover {
2
- min-width: 280px;
3
- .ant-popover-inner-content {
4
- padding: @padding-sm 0;
5
- }
6
- .ant-calendar-picker {
7
- margin: @margin-xxs 0;
8
- }
9
- label {
10
- color: tint(@text-color, 50%);
11
- margin-bottom: @margin-xs;
12
- display: block;
13
- padding: 0 @padding-sm;
14
- }
15
- .ant-select-dropdown-menu {
16
- &-item {
17
- padding: @padding-xxs @padding-sm;
18
- &:hover {
19
- background-color: @bg-color-quaternary;
20
- }
21
- }
22
- }
23
- &-content {
24
- padding: @padding-xxs @padding-sm;
25
- }
26
- .ant-select-selected-icon {
27
- position: absolute;
28
- right: @margin-base;
29
- top: @margin-xs;
30
- color: @blue-6;
31
- }
32
- .tnt-highlight {
33
- color: @blue-6;
34
- }
35
- }
@@ -1,114 +0,0 @@
1
- @import '../../../style/themes/index';
2
- @import '../../../style/mixins/index';
3
- @import '../../../input/style/mixin';
4
-
5
- .tnt-queryform-composition-input {
6
- // width: 100%;
7
- max-height: 162px;
8
- overflow-x: hidden;
9
- cursor: text;
10
- padding: 2px @padding-xl;
11
- position: relative;
12
- box-sizing: border-box;
13
- background-color: @select-background;
14
- border: @border-width-base @border-style-base @select-border-color;
15
- border-top-width: calc(@border-width-base + 0.02px);
16
- border-radius: @border-radius-base;
17
- outline: none;
18
- transition: all 0.3s @ease-in-out;
19
- user-select: none;
20
- margin-bottom: @margin-sm;
21
-
22
- &-prefix {
23
- position: absolute;
24
- left: @padding-sm;
25
- top: 50%;
26
- transform: translateY(-50%);
27
- i.anticon {
28
- color: tint(@bg-color-spotilight, 50%);
29
- }
30
- }
31
-
32
- &-width {
33
- height: 0;
34
- opacity: 0;
35
- width: auto;
36
- position: absolute;
37
- max-width: 100%;
38
- }
39
-
40
- &-items {
41
- float: left;
42
- padding: 0;
43
- list-style: none;
44
- margin: 0;
45
- width: 100%;
46
- &-item {
47
- padding: 3px 0;
48
- }
49
- li {
50
- float: left;
51
- line-height: 1;
52
- }
53
- &-input {
54
- .inputClass {
55
- background: none;
56
- border: none !important;
57
- outline: none;
58
- box-shadow: none !important;
59
- width: 150px !important;
60
- height: 26px;
61
- line-height: 26px;
62
- padding: 0;
63
- input {
64
- border: none !important;
65
- outline: none !important;
66
- box-shadow: none !important;
67
- height: 26px;
68
- line-height: 26px;
69
- padding: 0;
70
- }
71
- textarea {
72
- padding: 0;
73
- }
74
- }
75
- .inputClass-with-placeholder {
76
- min-width: 398px !important;
77
- }
78
- }
79
- }
80
- &-clear {
81
- position: absolute;
82
- right: @margin-sm;
83
- top: 50%;
84
- transform: translateY(-50%);
85
- display: none;
86
- i.anticon {
87
- color: tint(@bg-color-spotilight, 50%);
88
- }
89
- &:hover {
90
- .anticon {
91
- color: @text-color-secondary !important;
92
- }
93
- }
94
- }
95
- &:hover {
96
- border-color: @blue-6;
97
- outline: 0;
98
- .tnt-queryform-composition-input-clear {
99
- display: block;
100
- }
101
- // box-shadow: 0 0 0 2px rgb(18 107 251 / 20%);
102
- }
103
- &:focus,
104
- &:active {
105
- border-color: @blue-5;
106
- outline: 0;
107
- // box-shadow: 0 0 0 2px rgb(18 107 251 / 20%);
108
- }
109
- .ant-tag {
110
- padding: 0 @padding-xs;
111
- border: none;
112
- background: @fill-color-tertiary;
113
- }
114
- }