amis-ui 6.2.2 → 6.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (788) hide show
  1. package/esm/_virtual/_commonjsHelpers.js +10 -0
  2. package/esm/_virtual/pdf.worker.min.js +8 -0
  3. package/esm/components/404.js +1 -1
  4. package/esm/components/Alert.d.ts +124 -122
  5. package/esm/components/Alert.js +10 -6
  6. package/esm/components/Alert2.d.ts +20 -20
  7. package/esm/components/Alert2.js +1 -1
  8. package/esm/components/AnchorNav.d.ts +20 -20
  9. package/esm/components/AnchorNav.js +1 -1
  10. package/esm/components/ArrayInput.d.ts +40 -40
  11. package/esm/components/ArrayInput.js +1 -1
  12. package/esm/components/AsideNav.d.ts +2 -1
  13. package/esm/components/AsideNav.js +6 -3
  14. package/esm/components/AssociatedSelection.d.ts +120 -120
  15. package/esm/components/AssociatedSelection.js +4 -4
  16. package/esm/components/Avatar.d.ts +140 -140
  17. package/esm/components/Avatar.js +1 -1
  18. package/esm/components/Badge.js +1 -1
  19. package/esm/components/BaiduMapPicker.js +1 -1
  20. package/esm/components/BarCode.js +1 -1
  21. package/esm/components/Breadcrumb.d.ts +3 -0
  22. package/esm/components/Breadcrumb.js +7 -6
  23. package/esm/components/Button.d.ts +32 -31
  24. package/esm/components/Button.js +4 -4
  25. package/esm/components/CalendarMobile.d.ts +40 -40
  26. package/esm/components/CalendarMobile.js +1 -1
  27. package/esm/components/Card.d.ts +140 -140
  28. package/esm/components/Card.js +1 -1
  29. package/esm/components/Cascader.js +1 -1
  30. package/esm/components/ChainedDropdownSelection.d.ts +120 -120
  31. package/esm/components/ChainedDropdownSelection.js +1 -1
  32. package/esm/components/ChainedSelection.d.ts +120 -120
  33. package/esm/components/ChainedSelection.js +8 -6
  34. package/esm/components/Checkbox.d.ts +12 -11
  35. package/esm/components/Checkbox.js +7 -7
  36. package/esm/components/CityArea.js +1 -1
  37. package/esm/components/CityDB.js +1 -1
  38. package/esm/components/CodeMirror.d.ts +1 -0
  39. package/esm/components/CodeMirror.js +16 -5
  40. package/esm/components/Collapse.d.ts +140 -140
  41. package/esm/components/Collapse.js +1 -1
  42. package/esm/components/CollapseGroup.d.ts +30 -30
  43. package/esm/components/CollapseGroup.js +1 -1
  44. package/esm/components/ColorPicker.d.ts +80 -80
  45. package/esm/components/ColorPicker.js +1 -1
  46. package/esm/components/Combo.js +1 -1
  47. package/esm/components/ConfirmBox.d.ts +81 -80
  48. package/esm/components/ConfirmBox.js +6 -3
  49. package/esm/components/ContextMenu.d.ts +17 -3
  50. package/esm/components/ContextMenu.js +72 -20
  51. package/esm/components/DatePicker.d.ts +83 -82
  52. package/esm/components/DatePicker.js +10 -10
  53. package/esm/components/DateRangePicker.d.ts +131 -129
  54. package/esm/components/DateRangePicker.js +22 -18
  55. package/esm/components/DndContainer.js +1 -1
  56. package/esm/components/Drawer.d.ts +30 -30
  57. package/esm/components/Drawer.js +1 -1
  58. package/esm/components/DropDownSelection.d.ts +120 -120
  59. package/esm/components/DropDownSelection.js +1 -1
  60. package/esm/components/Editor.d.ts +120 -120
  61. package/esm/components/Editor.js +3 -3
  62. package/esm/components/Form.js +1 -1
  63. package/esm/components/FormField.js +1 -1
  64. package/esm/components/GaodeMapPicker.js +1 -1
  65. package/esm/components/GridNav.js +1 -1
  66. package/esm/components/GroupedSelection.d.ts +120 -120
  67. package/esm/components/GroupedSelection.js +5 -4
  68. package/esm/components/Html.js +1 -1
  69. package/esm/components/ImageGallery.d.ts +40 -40
  70. package/esm/components/ImageGallery.js +2 -1
  71. package/esm/components/Input.d.ts +3 -1
  72. package/esm/components/Input.js +3 -3
  73. package/esm/components/InputBox.d.ts +14 -13
  74. package/esm/components/InputBox.js +7 -7
  75. package/esm/components/InputBoxWithSuggestion.js +7 -7
  76. package/esm/components/InputTable.js +1 -1
  77. package/esm/components/Layout.d.ts +10 -10
  78. package/esm/components/Layout.js +1 -1
  79. package/esm/components/Link.js +1 -1
  80. package/esm/components/ListGroup.d.ts +10 -10
  81. package/esm/components/ListGroup.js +1 -1
  82. package/esm/components/ListMenu.d.ts +82 -80
  83. package/esm/components/ListMenu.js +3 -3
  84. package/esm/components/LocationPicker.d.ts +40 -40
  85. package/esm/components/LocationPicker.js +1 -1
  86. package/esm/components/Markdown.js +1 -1
  87. package/esm/components/Modal.d.ts +120 -120
  88. package/esm/components/Modal.js +1 -1
  89. package/esm/components/ModalManager.js +1 -1
  90. package/esm/components/MonthRangePicker.d.ts +120 -120
  91. package/esm/components/MultilineText.d.ts +40 -40
  92. package/esm/components/MultilineText.js +1 -1
  93. package/esm/components/NumberInput.d.ts +22 -21
  94. package/esm/components/NumberInput.js +3 -3
  95. package/esm/components/OverflowTpl.js +1 -1
  96. package/esm/components/Pagination.d.ts +200 -110
  97. package/esm/components/Pagination.js +21 -21
  98. package/esm/components/PdfViewer.d.ts +49 -0
  99. package/esm/components/PdfViewer.js +85 -0
  100. package/esm/components/Picker.js +1 -1
  101. package/esm/components/PickerColumn.js +1 -1
  102. package/esm/components/PickerContainer.d.ts +1 -2
  103. package/esm/components/PickerContainer.js +26 -16
  104. package/esm/components/PopOverContainer.d.ts +1 -0
  105. package/esm/components/PopOverContainer.js +3 -3
  106. package/esm/components/PopUp.d.ts +120 -120
  107. package/esm/components/PopUp.js +1 -1
  108. package/esm/components/Progress.d.ts +60 -60
  109. package/esm/components/Progress.js +1 -1
  110. package/esm/components/PullRefresh.js +1 -1
  111. package/esm/components/Radios.d.ts +12 -10
  112. package/esm/components/Radios.js +4 -3
  113. package/esm/components/Range.js +1 -1
  114. package/esm/components/Rating.d.ts +20 -20
  115. package/esm/components/Rating.js +1 -1
  116. package/esm/components/ResultBox.d.ts +82 -81
  117. package/esm/components/ResultBox.js +25 -21
  118. package/esm/components/ResultList.d.ts +42 -40
  119. package/esm/components/ResultList.js +5 -4
  120. package/esm/components/ResultTableList.d.ts +120 -120
  121. package/esm/components/ResultTableList.js +5 -4
  122. package/esm/components/ResultTreeList.d.ts +40 -40
  123. package/esm/components/ResultTreeList.js +3 -3
  124. package/esm/components/RichText.js +1 -1
  125. package/esm/components/SearchBox.d.ts +82 -81
  126. package/esm/components/SearchBox.js +8 -8
  127. package/esm/components/Select.d.ts +1354 -1354
  128. package/esm/components/Select.js +13 -12
  129. package/esm/components/SelectMobile.js +1 -1
  130. package/esm/components/Selection.d.ts +122 -120
  131. package/esm/components/Selection.js +1 -1
  132. package/esm/components/Signature.d.ts +280 -0
  133. package/esm/components/Signature.js +271 -0
  134. package/esm/components/SparkLine.d.ts +40 -40
  135. package/esm/components/SparkLine.js +1 -1
  136. package/esm/components/Spinner.d.ts +60 -60
  137. package/esm/components/Spinner.js +1 -1
  138. package/esm/components/Steps.js +1 -1
  139. package/esm/components/Switch.d.ts +12 -12
  140. package/esm/components/Switch.js +4 -4
  141. package/esm/components/TableSelection.d.ts +120 -120
  142. package/esm/components/TableSelection.js +6 -5
  143. package/esm/components/Tabs.d.ts +83 -81
  144. package/esm/components/Tabs.js +21 -22
  145. package/esm/components/TabsTransfer.d.ts +40 -40
  146. package/esm/components/TabsTransfer.js +16 -14
  147. package/esm/components/TabsTransferPicker.js +1 -1
  148. package/esm/components/Tag.d.ts +70 -70
  149. package/esm/components/Tag.js +1 -1
  150. package/esm/components/Textarea.d.ts +42 -42
  151. package/esm/components/Textarea.js +4 -4
  152. package/esm/components/Timeline.js +1 -1
  153. package/esm/components/TimelineItem.d.ts +1 -1
  154. package/esm/components/TimelineItem.js +1 -1
  155. package/esm/components/Tinymce.js +7 -4
  156. package/esm/components/TitleBar.d.ts +10 -10
  157. package/esm/components/TitleBar.js +1 -1
  158. package/esm/components/Toast.d.ts +120 -120
  159. package/esm/components/Toast.js +1 -1
  160. package/esm/components/Tooltip.js +1 -1
  161. package/esm/components/TooltipWrapper.d.ts +32 -32
  162. package/esm/components/TooltipWrapper.js +1 -1
  163. package/esm/components/Transfer.d.ts +174 -172
  164. package/esm/components/Transfer.js +16 -16
  165. package/esm/components/TransferDropDown.d.ts +160 -160
  166. package/esm/components/TransferDropDown.js +1 -1
  167. package/esm/components/TransferPicker.js +1 -1
  168. package/esm/components/TransferSearch.js +1 -1
  169. package/esm/components/Tree.d.ts +206 -210
  170. package/esm/components/Tree.js +30 -28
  171. package/esm/components/TreeSelection.d.ts +120 -120
  172. package/esm/components/TreeSelection.js +1 -1
  173. package/esm/components/UserSelect.d.ts +40 -40
  174. package/esm/components/UserSelect.js +1 -1
  175. package/esm/components/UserTabSelect.d.ts +40 -40
  176. package/esm/components/UserTabSelect.js +1 -1
  177. package/esm/components/WithRemoteConfig.js +1 -1
  178. package/esm/components/WithStore.js +1 -1
  179. package/esm/components/calendar/Calendar.d.ts +2 -1
  180. package/esm/components/calendar/Calendar.js +7 -6
  181. package/esm/components/calendar/CalendarContainer.js +1 -1
  182. package/esm/components/calendar/DaysView.d.ts +2 -1
  183. package/esm/components/calendar/DaysView.js +17 -15
  184. package/esm/components/calendar/MonthsView.d.ts +2 -0
  185. package/esm/components/calendar/MonthsView.js +8 -6
  186. package/esm/components/calendar/QuartersView.d.ts +2 -0
  187. package/esm/components/calendar/QuartersView.js +7 -6
  188. package/esm/components/calendar/TimeView.d.ts +2 -0
  189. package/esm/components/calendar/TimeView.js +8 -7
  190. package/esm/components/calendar/YearsView.d.ts +2 -0
  191. package/esm/components/calendar/YearsView.js +6 -5
  192. package/esm/components/condition-builder/Expression.js +1 -1
  193. package/esm/components/condition-builder/Field.js +1 -1
  194. package/esm/components/condition-builder/Func.js +1 -1
  195. package/esm/components/condition-builder/Group.js +1 -1
  196. package/esm/components/condition-builder/GroupOrItem.js +1 -1
  197. package/esm/components/condition-builder/InputSwitch.js +1 -1
  198. package/esm/components/condition-builder/Item.js +1 -1
  199. package/esm/components/condition-builder/Value.d.ts +1 -0
  200. package/esm/components/condition-builder/Value.js +30 -14
  201. package/esm/components/condition-builder/config.js +1 -1
  202. package/esm/components/condition-builder/index.js +1 -1
  203. package/esm/components/formula/CodeEditor.d.ts +87 -0
  204. package/esm/components/formula/CodeEditor.js +98 -0
  205. package/esm/components/formula/Editor.d.ts +64 -69
  206. package/esm/components/formula/Editor.js +173 -81
  207. package/esm/components/formula/FuncList.d.ts +1 -1
  208. package/esm/components/formula/FuncList.js +10 -9
  209. package/esm/components/formula/Input.d.ts +68 -54
  210. package/esm/components/formula/Input.js +45 -102
  211. package/esm/components/formula/Picker.d.ts +69 -60
  212. package/esm/components/formula/Picker.js +106 -66
  213. package/esm/components/formula/VariableList.d.ts +1 -1
  214. package/esm/components/formula/VariableList.js +26 -12
  215. package/esm/components/formula/plugin.d.ts +26 -7
  216. package/esm/components/formula/plugin.js +200 -90
  217. package/esm/components/icons.d.ts +1 -1
  218. package/esm/components/icons.js +9 -1
  219. package/esm/components/index.d.ts +4 -2
  220. package/esm/components/json-schema/Array.js +1 -1
  221. package/esm/components/json-schema/Item.js +6 -5
  222. package/esm/components/json-schema/Object.js +68 -41
  223. package/esm/components/json-schema/index.d.ts +2 -0
  224. package/esm/components/json-schema/index.js +1 -1
  225. package/esm/components/menu/MenuContext.js +1 -1
  226. package/esm/components/menu/MenuItem.d.ts +2 -1
  227. package/esm/components/menu/MenuItem.js +4 -4
  228. package/esm/components/menu/SubMenu.d.ts +2 -1
  229. package/esm/components/menu/SubMenu.js +6 -6
  230. package/esm/components/menu/index.d.ts +66 -63
  231. package/esm/components/menu/index.js +10 -7
  232. package/esm/components/schema-editor/Array.js +23 -8
  233. package/esm/components/schema-editor/Common.d.ts +17 -1
  234. package/esm/components/schema-editor/Common.js +84 -37
  235. package/esm/components/schema-editor/Item.js +2 -2
  236. package/esm/components/schema-editor/Object.d.ts +7 -1
  237. package/esm/components/schema-editor/Object.js +106 -14
  238. package/esm/components/schema-editor/SchemaVariableList.d.ts +1 -1
  239. package/esm/components/schema-editor/SchemaVariableList.js +1 -1
  240. package/esm/components/schema-editor/SchemaVariableListPicker.js +1 -1
  241. package/esm/components/schema-editor/index.d.ts +48 -40
  242. package/esm/components/schema-editor/index.js +4 -4
  243. package/esm/components/table/Cell.js +1 -1
  244. package/esm/components/table/ColGroup.js +1 -1
  245. package/esm/components/table/Head.js +1 -1
  246. package/esm/components/table/HeadCellDropDown.js +1 -1
  247. package/esm/components/table/HeadCellFilter.d.ts +40 -40
  248. package/esm/components/table/HeadCellFilter.js +1 -1
  249. package/esm/components/table/HeadCellSelect.d.ts +40 -40
  250. package/esm/components/table/HeadCellSelect.js +1 -1
  251. package/esm/components/table/HeadCellSort.js +1 -1
  252. package/esm/components/table/ItemActionsWrapper.js +1 -1
  253. package/esm/components/table/Row.js +1 -1
  254. package/esm/components/table/SummaryRow.js +1 -1
  255. package/esm/components/table/index.d.ts +160 -160
  256. package/esm/components/table/index.js +1 -1
  257. package/esm/components/table/util.d.ts +7 -7
  258. package/esm/components/table/util.js +1 -1
  259. package/esm/components/virtual-list/AutoSizer.js +1 -1
  260. package/esm/components/virtual-list/SizeAndPositionManager.js +1 -1
  261. package/esm/components/virtual-list/constants.js +1 -1
  262. package/esm/components/virtual-list/index.js +1 -1
  263. package/esm/hooks/use-set-state.js +1 -1
  264. package/esm/hooks/use-sub-form.js +1 -1
  265. package/esm/hooks/use-touch.js +1 -1
  266. package/esm/hooks/use-update-effect.js +1 -1
  267. package/esm/hooks/use-validation-resolver.js +1 -1
  268. package/esm/icons/alert-danger.svg.js +1 -1
  269. package/esm/icons/alert-info.svg.js +1 -1
  270. package/esm/icons/alert-success.svg.js +1 -1
  271. package/esm/icons/alert-warning.svg.js +1 -1
  272. package/esm/icons/arrow-double-left.svg.js +1 -1
  273. package/esm/icons/arrow-double-right.svg.js +1 -1
  274. package/esm/icons/back.svg.js +1 -1
  275. package/esm/icons/calendar.svg.js +1 -1
  276. package/esm/icons/caret.svg.js +1 -1
  277. package/esm/icons/check.svg.js +1 -1
  278. package/esm/icons/clock.svg.js +1 -1
  279. package/esm/icons/close-small.svg.js +1 -1
  280. package/esm/icons/close.svg.js +1 -1
  281. package/esm/icons/cloud-upload.svg.js +1 -1
  282. package/esm/icons/column-filter.svg.js +1 -1
  283. package/esm/icons/columns.svg.js +1 -1
  284. package/esm/icons/compress-alt.svg.js +1 -1
  285. package/esm/icons/copy.svg.js +1 -1
  286. package/esm/icons/date.svg.js +1 -1
  287. package/esm/icons/department.svg.js +1 -1
  288. package/esm/icons/desk-empty.svg.js +1 -1
  289. package/esm/icons/dot.svg.js +1 -1
  290. package/esm/icons/down-arrow-bold.svg.js +1 -1
  291. package/esm/icons/down.svg.js +1 -1
  292. package/esm/icons/download.svg.js +1 -1
  293. package/esm/icons/drag-bar.svg.js +1 -1
  294. package/esm/icons/drag.svg.js +1 -1
  295. package/esm/icons/edit.svg.js +1 -1
  296. package/esm/icons/ellipsis-v.svg.js +1 -1
  297. package/esm/icons/enter.svg.js +1 -1
  298. package/esm/icons/exchange.svg.js +1 -1
  299. package/esm/icons/expand-alt.svg.js +1 -1
  300. package/esm/icons/fail.svg.js +1 -1
  301. package/esm/icons/file.svg.js +1 -1
  302. package/esm/icons/filter.svg.js +1 -1
  303. package/esm/icons/folder.svg.js +1 -1
  304. package/esm/icons/fullscreen.svg.js +21 -0
  305. package/esm/icons/function.svg.js +1 -1
  306. package/esm/icons/home.svg.js +1 -1
  307. package/esm/icons/if.svg.js +1 -1
  308. package/esm/icons/image.svg.js +1 -1
  309. package/esm/icons/info-circle.svg.js +1 -1
  310. package/esm/icons/info.svg.js +1 -1
  311. package/esm/icons/input-clear.svg.js +1 -1
  312. package/esm/icons/invisible.svg.js +1 -1
  313. package/esm/icons/left-arrow.svg.js +1 -1
  314. package/esm/icons/loading-outline.svg.js +1 -1
  315. package/esm/icons/location.svg.js +1 -1
  316. package/esm/icons/menu.svg.js +1 -1
  317. package/esm/icons/minus.svg.js +1 -1
  318. package/esm/icons/move.svg.js +1 -1
  319. package/esm/icons/mute.svg.js +1 -1
  320. package/esm/icons/new-edit.svg.js +1 -1
  321. package/esm/icons/pause.svg.js +1 -1
  322. package/esm/icons/pencil.svg.js +1 -1
  323. package/esm/icons/play.svg.js +1 -1
  324. package/esm/icons/plus-cicle.svg.js +1 -1
  325. package/esm/icons/plus-fine.svg.js +1 -1
  326. package/esm/icons/plus.svg.js +1 -1
  327. package/esm/icons/post.svg.js +1 -1
  328. package/esm/icons/question-mark.svg.js +1 -1
  329. package/esm/icons/question.svg.js +1 -1
  330. package/esm/icons/redo.svg.js +1 -1
  331. package/esm/icons/refresh.svg.js +1 -1
  332. package/esm/icons/reload.svg.js +1 -1
  333. package/esm/icons/remove.svg.js +1 -1
  334. package/esm/icons/retry.svg.js +1 -1
  335. package/esm/icons/right-arrow-bold.svg.js +1 -1
  336. package/esm/icons/right-arrow.svg.js +1 -1
  337. package/esm/icons/right-double-arrow.svg.js +1 -1
  338. package/esm/icons/role.svg.js +1 -1
  339. package/esm/icons/rotate-left.svg.js +1 -1
  340. package/esm/icons/rotate-right.svg.js +1 -1
  341. package/esm/icons/scale-origin.svg.js +1 -1
  342. package/esm/icons/schedule.svg.js +1 -1
  343. package/esm/icons/search.svg.js +1 -1
  344. package/esm/icons/setting.svg.js +1 -1
  345. package/esm/icons/slider-handle-icon.svg.js +1 -1
  346. package/esm/icons/sort-asc.svg.js +1 -1
  347. package/esm/icons/sort-default.svg.js +1 -1
  348. package/esm/icons/sort-desc.svg.js +1 -1
  349. package/esm/icons/star.svg.js +1 -1
  350. package/esm/icons/status-close.svg.js +1 -1
  351. package/esm/icons/steps-finsh.svg.js +1 -1
  352. package/esm/icons/sub-plus.svg.js +20 -0
  353. package/esm/icons/success.svg.js +1 -1
  354. package/esm/icons/transparent.svg.js +1 -1
  355. package/esm/icons/trash.svg.js +1 -1
  356. package/esm/icons/tree-down.svg.js +1 -1
  357. package/esm/icons/undo-normal.svg.js +25 -0
  358. package/esm/icons/undo.svg.js +1 -1
  359. package/esm/icons/unfullscreen.svg.js +21 -0
  360. package/esm/icons/upload.svg.js +1 -1
  361. package/esm/icons/user-remove.svg.js +1 -1
  362. package/esm/icons/view.svg.js +1 -1
  363. package/esm/icons/volume.svg.js +1 -1
  364. package/esm/icons/warning-mark.svg.js +1 -1
  365. package/esm/icons/warning.svg.js +1 -1
  366. package/esm/icons/window-restore.svg.js +1 -1
  367. package/esm/icons/zoom-in.svg.js +1 -1
  368. package/esm/icons/zoom-out.svg.js +1 -1
  369. package/esm/index.js +3 -1
  370. package/esm/locale/de-DE.js +26 -11
  371. package/esm/locale/en-US.js +17 -2
  372. package/esm/locale/zh-CN.js +18 -3
  373. package/esm/node_modules/pdfjs-dist/build/pdf.worker.min.js +37 -0
  374. package/esm/node_modules/smooth-signature/es/index.js +504 -0
  375. package/esm/themes/ang.js +1 -1
  376. package/esm/themes/antd.js +1 -1
  377. package/esm/themes/cxd.js +1 -1
  378. package/esm/themes/dark.js +1 -1
  379. package/lib/_virtual/_commonjsHelpers.js +14 -0
  380. package/lib/_virtual/pdf.worker.min.js +12 -0
  381. package/lib/components/404.js +1 -1
  382. package/lib/components/Alert.d.ts +44 -42
  383. package/lib/components/Alert.js +10 -6
  384. package/lib/components/Alert2.d.ts +20 -20
  385. package/lib/components/Alert2.js +1 -1
  386. package/lib/components/AnchorNav.d.ts +10 -10
  387. package/lib/components/AnchorNav.js +1 -1
  388. package/lib/components/ArrayInput.d.ts +40 -40
  389. package/lib/components/ArrayInput.js +1 -1
  390. package/lib/components/AsideNav.d.ts +2 -1
  391. package/lib/components/AsideNav.js +5 -2
  392. package/lib/components/AssociatedSelection.d.ts +40 -40
  393. package/lib/components/AssociatedSelection.js +4 -4
  394. package/lib/components/Avatar.d.ts +90 -90
  395. package/lib/components/Avatar.js +1 -1
  396. package/lib/components/Badge.js +1 -1
  397. package/lib/components/BaiduMapPicker.js +1 -1
  398. package/lib/components/BarCode.js +1 -1
  399. package/lib/components/Breadcrumb.d.ts +3 -0
  400. package/lib/components/Breadcrumb.js +7 -6
  401. package/lib/components/Button.d.ts +22 -21
  402. package/lib/components/Button.js +3 -3
  403. package/lib/components/CalendarMobile.d.ts +40 -40
  404. package/lib/components/CalendarMobile.js +1 -1
  405. package/lib/components/Card.d.ts +70 -70
  406. package/lib/components/Card.js +1 -1
  407. package/lib/components/Cascader.js +1 -1
  408. package/lib/components/ChainedDropdownSelection.d.ts +40 -40
  409. package/lib/components/ChainedDropdownSelection.js +1 -1
  410. package/lib/components/ChainedSelection.d.ts +40 -40
  411. package/lib/components/ChainedSelection.js +8 -6
  412. package/lib/components/Checkbox.d.ts +12 -11
  413. package/lib/components/Checkbox.js +6 -6
  414. package/lib/components/CityArea.js +1 -1
  415. package/lib/components/CityDB.js +1 -1
  416. package/lib/components/CodeMirror.d.ts +1 -0
  417. package/lib/components/CodeMirror.js +15 -4
  418. package/lib/components/Collapse.d.ts +50 -50
  419. package/lib/components/Collapse.js +1 -1
  420. package/lib/components/CollapseGroup.d.ts +30 -30
  421. package/lib/components/CollapseGroup.js +1 -1
  422. package/lib/components/ColorPicker.d.ts +40 -40
  423. package/lib/components/ColorPicker.js +1 -1
  424. package/lib/components/Combo.js +1 -1
  425. package/lib/components/ConfirmBox.d.ts +41 -40
  426. package/lib/components/ConfirmBox.js +6 -3
  427. package/lib/components/ContextMenu.d.ts +17 -3
  428. package/lib/components/ContextMenu.js +73 -20
  429. package/lib/components/DatePicker.d.ts +42 -41
  430. package/lib/components/DatePicker.js +10 -10
  431. package/lib/components/DateRangePicker.d.ts +51 -49
  432. package/lib/components/DateRangePicker.js +22 -18
  433. package/lib/components/DndContainer.js +1 -1
  434. package/lib/components/Drawer.d.ts +30 -30
  435. package/lib/components/Drawer.js +1 -1
  436. package/lib/components/DropDownSelection.d.ts +40 -40
  437. package/lib/components/DropDownSelection.js +1 -1
  438. package/lib/components/Editor.d.ts +40 -40
  439. package/lib/components/Editor.js +3 -3
  440. package/lib/components/Form.js +1 -1
  441. package/lib/components/FormField.js +1 -1
  442. package/lib/components/GaodeMapPicker.js +1 -1
  443. package/lib/components/GridNav.js +1 -1
  444. package/lib/components/GroupedSelection.d.ts +40 -40
  445. package/lib/components/GroupedSelection.js +5 -4
  446. package/lib/components/Html.js +1 -1
  447. package/lib/components/ImageGallery.d.ts +40 -40
  448. package/lib/components/ImageGallery.js +2 -1
  449. package/lib/components/Input.d.ts +3 -1
  450. package/lib/components/Input.js +3 -3
  451. package/lib/components/InputBox.d.ts +14 -13
  452. package/lib/components/InputBox.js +6 -6
  453. package/lib/components/InputBoxWithSuggestion.js +7 -7
  454. package/lib/components/InputTable.js +1 -1
  455. package/lib/components/Layout.d.ts +10 -10
  456. package/lib/components/Layout.js +1 -1
  457. package/lib/components/Link.js +1 -1
  458. package/lib/components/ListGroup.d.ts +10 -10
  459. package/lib/components/ListGroup.js +1 -1
  460. package/lib/components/ListMenu.d.ts +42 -40
  461. package/lib/components/ListMenu.js +3 -3
  462. package/lib/components/LocationPicker.d.ts +40 -40
  463. package/lib/components/LocationPicker.js +1 -1
  464. package/lib/components/Markdown.js +1 -1
  465. package/lib/components/Modal.d.ts +120 -120
  466. package/lib/components/Modal.js +1 -1
  467. package/lib/components/ModalManager.js +1 -1
  468. package/lib/components/MonthRangePicker.d.ts +40 -40
  469. package/lib/components/MultilineText.d.ts +40 -40
  470. package/lib/components/MultilineText.js +1 -1
  471. package/lib/components/NumberInput.d.ts +12 -11
  472. package/lib/components/NumberInput.js +3 -3
  473. package/lib/components/OverflowTpl.js +1 -1
  474. package/lib/components/Pagination.d.ts +160 -70
  475. package/lib/components/Pagination.js +20 -20
  476. package/lib/components/PdfViewer.d.ts +49 -0
  477. package/lib/components/PdfViewer.js +91 -0
  478. package/lib/components/Picker.js +1 -1
  479. package/lib/components/PickerColumn.js +1 -1
  480. package/lib/components/PickerContainer.d.ts +1 -2
  481. package/lib/components/PickerContainer.js +26 -16
  482. package/lib/components/PopOverContainer.d.ts +1 -0
  483. package/lib/components/PopOverContainer.js +3 -3
  484. package/lib/components/PopUp.d.ts +120 -120
  485. package/lib/components/PopUp.js +1 -1
  486. package/lib/components/Progress.d.ts +30 -30
  487. package/lib/components/Progress.js +1 -1
  488. package/lib/components/PullRefresh.js +1 -1
  489. package/lib/components/Radios.d.ts +12 -10
  490. package/lib/components/Radios.js +4 -3
  491. package/lib/components/Range.js +1 -1
  492. package/lib/components/Rating.d.ts +20 -20
  493. package/lib/components/Rating.js +1 -1
  494. package/lib/components/ResultBox.d.ts +42 -41
  495. package/lib/components/ResultBox.js +25 -21
  496. package/lib/components/ResultList.d.ts +42 -40
  497. package/lib/components/ResultList.js +5 -4
  498. package/lib/components/ResultTableList.d.ts +40 -40
  499. package/lib/components/ResultTableList.js +5 -4
  500. package/lib/components/ResultTreeList.d.ts +40 -40
  501. package/lib/components/ResultTreeList.js +3 -3
  502. package/lib/components/RichText.js +1 -1
  503. package/lib/components/SearchBox.d.ts +82 -81
  504. package/lib/components/SearchBox.js +7 -7
  505. package/lib/components/Select.d.ts +389 -389
  506. package/lib/components/Select.js +12 -11
  507. package/lib/components/SelectMobile.js +1 -1
  508. package/lib/components/Selection.d.ts +42 -40
  509. package/lib/components/Selection.js +1 -1
  510. package/lib/components/Signature.d.ts +280 -0
  511. package/lib/components/Signature.js +275 -0
  512. package/lib/components/SparkLine.d.ts +40 -40
  513. package/lib/components/SparkLine.js +1 -1
  514. package/lib/components/Spinner.d.ts +30 -30
  515. package/lib/components/Spinner.js +1 -1
  516. package/lib/components/Steps.js +1 -1
  517. package/lib/components/Switch.d.ts +12 -12
  518. package/lib/components/Switch.js +3 -3
  519. package/lib/components/TableSelection.d.ts +40 -40
  520. package/lib/components/TableSelection.js +6 -5
  521. package/lib/components/Tabs.d.ts +43 -41
  522. package/lib/components/Tabs.js +21 -22
  523. package/lib/components/TabsTransfer.d.ts +40 -40
  524. package/lib/components/TabsTransfer.js +16 -14
  525. package/lib/components/TabsTransferPicker.js +1 -1
  526. package/lib/components/Tag.d.ts +80 -80
  527. package/lib/components/Tag.js +1 -1
  528. package/lib/components/Textarea.d.ts +42 -42
  529. package/lib/components/Textarea.js +3 -3
  530. package/lib/components/Timeline.js +1 -1
  531. package/lib/components/TimelineItem.d.ts +1 -1
  532. package/lib/components/TimelineItem.js +1 -1
  533. package/lib/components/Tinymce.js +7 -4
  534. package/lib/components/TitleBar.d.ts +10 -10
  535. package/lib/components/TitleBar.js +1 -1
  536. package/lib/components/Toast.d.ts +40 -40
  537. package/lib/components/Toast.js +1 -1
  538. package/lib/components/Tooltip.js +1 -1
  539. package/lib/components/TooltipWrapper.d.ts +32 -32
  540. package/lib/components/TooltipWrapper.js +1 -1
  541. package/lib/components/Transfer.d.ts +102 -100
  542. package/lib/components/Transfer.js +16 -16
  543. package/lib/components/TransferDropDown.d.ts +40 -40
  544. package/lib/components/TransferDropDown.js +1 -1
  545. package/lib/components/TransferPicker.js +1 -1
  546. package/lib/components/TransferSearch.js +1 -1
  547. package/lib/components/Tree.d.ts +46 -50
  548. package/lib/components/Tree.js +30 -28
  549. package/lib/components/TreeSelection.d.ts +40 -40
  550. package/lib/components/TreeSelection.js +1 -1
  551. package/lib/components/UserSelect.d.ts +40 -40
  552. package/lib/components/UserSelect.js +1 -1
  553. package/lib/components/UserTabSelect.d.ts +40 -40
  554. package/lib/components/UserTabSelect.js +1 -1
  555. package/lib/components/WithRemoteConfig.js +1 -1
  556. package/lib/components/WithStore.js +1 -1
  557. package/lib/components/calendar/Calendar.d.ts +2 -1
  558. package/lib/components/calendar/Calendar.js +6 -5
  559. package/lib/components/calendar/CalendarContainer.js +1 -1
  560. package/lib/components/calendar/DaysView.d.ts +2 -1
  561. package/lib/components/calendar/DaysView.js +17 -15
  562. package/lib/components/calendar/MonthsView.d.ts +2 -0
  563. package/lib/components/calendar/MonthsView.js +8 -6
  564. package/lib/components/calendar/QuartersView.d.ts +2 -0
  565. package/lib/components/calendar/QuartersView.js +7 -6
  566. package/lib/components/calendar/TimeView.d.ts +2 -0
  567. package/lib/components/calendar/TimeView.js +8 -7
  568. package/lib/components/calendar/YearsView.d.ts +2 -0
  569. package/lib/components/calendar/YearsView.js +6 -5
  570. package/lib/components/condition-builder/Expression.js +1 -1
  571. package/lib/components/condition-builder/Field.js +1 -1
  572. package/lib/components/condition-builder/Func.js +1 -1
  573. package/lib/components/condition-builder/Group.js +1 -1
  574. package/lib/components/condition-builder/GroupOrItem.js +1 -1
  575. package/lib/components/condition-builder/InputSwitch.js +1 -1
  576. package/lib/components/condition-builder/Item.js +1 -1
  577. package/lib/components/condition-builder/Value.d.ts +1 -0
  578. package/lib/components/condition-builder/Value.js +28 -12
  579. package/lib/components/condition-builder/config.js +1 -1
  580. package/lib/components/condition-builder/index.js +1 -1
  581. package/lib/components/formula/CodeEditor.d.ts +87 -0
  582. package/lib/components/formula/CodeEditor.js +109 -0
  583. package/lib/components/formula/Editor.d.ts +64 -69
  584. package/lib/components/formula/Editor.js +172 -78
  585. package/lib/components/formula/FuncList.d.ts +1 -1
  586. package/lib/components/formula/FuncList.js +10 -9
  587. package/lib/components/formula/Input.d.ts +68 -54
  588. package/lib/components/formula/Input.js +43 -101
  589. package/lib/components/formula/Picker.d.ts +69 -60
  590. package/lib/components/formula/Picker.js +105 -65
  591. package/lib/components/formula/VariableList.d.ts +1 -1
  592. package/lib/components/formula/VariableList.js +24 -10
  593. package/lib/components/formula/plugin.d.ts +26 -7
  594. package/lib/components/formula/plugin.js +203 -89
  595. package/lib/components/icons.d.ts +1 -1
  596. package/lib/components/icons.js +9 -1
  597. package/lib/components/index.d.ts +4 -2
  598. package/lib/components/json-schema/Array.js +1 -1
  599. package/lib/components/json-schema/Item.d.ts +2 -2
  600. package/lib/components/json-schema/Item.js +6 -5
  601. package/lib/components/json-schema/Object.js +69 -41
  602. package/lib/components/json-schema/index.d.ts +2 -0
  603. package/lib/components/json-schema/index.js +1 -1
  604. package/lib/components/menu/MenuContext.js +1 -1
  605. package/lib/components/menu/MenuItem.d.ts +2 -1
  606. package/lib/components/menu/MenuItem.js +3 -3
  607. package/lib/components/menu/SubMenu.d.ts +2 -1
  608. package/lib/components/menu/SubMenu.js +5 -5
  609. package/lib/components/menu/index.d.ts +26 -23
  610. package/lib/components/menu/index.js +10 -7
  611. package/lib/components/schema-editor/Array.js +23 -8
  612. package/lib/components/schema-editor/Common.d.ts +17 -1
  613. package/lib/components/schema-editor/Common.js +83 -36
  614. package/lib/components/schema-editor/Item.js +2 -2
  615. package/lib/components/schema-editor/Object.d.ts +7 -1
  616. package/lib/components/schema-editor/Object.js +105 -13
  617. package/lib/components/schema-editor/SchemaVariableList.d.ts +1 -1
  618. package/lib/components/schema-editor/SchemaVariableList.js +1 -1
  619. package/lib/components/schema-editor/SchemaVariableListPicker.js +1 -1
  620. package/lib/components/schema-editor/index.d.ts +48 -40
  621. package/lib/components/schema-editor/index.js +4 -4
  622. package/lib/components/table/Cell.js +1 -1
  623. package/lib/components/table/ColGroup.js +1 -1
  624. package/lib/components/table/Head.js +1 -1
  625. package/lib/components/table/HeadCellDropDown.js +1 -1
  626. package/lib/components/table/HeadCellFilter.d.ts +40 -40
  627. package/lib/components/table/HeadCellFilter.js +1 -1
  628. package/lib/components/table/HeadCellSelect.d.ts +40 -40
  629. package/lib/components/table/HeadCellSelect.js +1 -1
  630. package/lib/components/table/HeadCellSort.js +1 -1
  631. package/lib/components/table/ItemActionsWrapper.js +1 -1
  632. package/lib/components/table/Row.js +1 -1
  633. package/lib/components/table/SummaryRow.js +1 -1
  634. package/lib/components/table/index.d.ts +80 -80
  635. package/lib/components/table/index.js +1 -1
  636. package/lib/components/table/util.d.ts +1 -1
  637. package/lib/components/table/util.js +1 -1
  638. package/lib/components/virtual-list/AutoSizer.js +1 -1
  639. package/lib/components/virtual-list/SizeAndPositionManager.js +1 -1
  640. package/lib/components/virtual-list/constants.js +1 -1
  641. package/lib/components/virtual-list/index.js +1 -1
  642. package/lib/hooks/use-set-state.js +1 -1
  643. package/lib/hooks/use-sub-form.js +1 -1
  644. package/lib/hooks/use-touch.js +1 -1
  645. package/lib/hooks/use-update-effect.js +1 -1
  646. package/lib/hooks/use-validation-resolver.js +1 -1
  647. package/lib/icons/alert-danger.svg.js +1 -1
  648. package/lib/icons/alert-info.svg.js +1 -1
  649. package/lib/icons/alert-success.svg.js +1 -1
  650. package/lib/icons/alert-warning.svg.js +1 -1
  651. package/lib/icons/arrow-double-left.svg.js +1 -1
  652. package/lib/icons/arrow-double-right.svg.js +1 -1
  653. package/lib/icons/back.svg.js +1 -1
  654. package/lib/icons/calendar.svg.js +1 -1
  655. package/lib/icons/caret.svg.js +1 -1
  656. package/lib/icons/check.svg.js +1 -1
  657. package/lib/icons/clock.svg.js +1 -1
  658. package/lib/icons/close-small.svg.js +1 -1
  659. package/lib/icons/close.svg.js +1 -1
  660. package/lib/icons/cloud-upload.svg.js +1 -1
  661. package/lib/icons/column-filter.svg.js +1 -1
  662. package/lib/icons/columns.svg.js +1 -1
  663. package/lib/icons/compress-alt.svg.js +1 -1
  664. package/lib/icons/copy.svg.js +1 -1
  665. package/lib/icons/date.svg.js +1 -1
  666. package/lib/icons/department.svg.js +1 -1
  667. package/lib/icons/desk-empty.svg.js +1 -1
  668. package/lib/icons/dot.svg.js +1 -1
  669. package/lib/icons/down-arrow-bold.svg.js +1 -1
  670. package/lib/icons/down.svg.js +1 -1
  671. package/lib/icons/download.svg.js +1 -1
  672. package/lib/icons/drag-bar.svg.js +1 -1
  673. package/lib/icons/drag.svg.js +1 -1
  674. package/lib/icons/edit.svg.js +1 -1
  675. package/lib/icons/ellipsis-v.svg.js +1 -1
  676. package/lib/icons/enter.svg.js +1 -1
  677. package/lib/icons/exchange.svg.js +1 -1
  678. package/lib/icons/expand-alt.svg.js +1 -1
  679. package/lib/icons/fail.svg.js +1 -1
  680. package/lib/icons/file.svg.js +1 -1
  681. package/lib/icons/filter.svg.js +1 -1
  682. package/lib/icons/folder.svg.js +1 -1
  683. package/lib/icons/fullscreen.svg.js +28 -0
  684. package/lib/icons/function.svg.js +1 -1
  685. package/lib/icons/home.svg.js +1 -1
  686. package/lib/icons/if.svg.js +1 -1
  687. package/lib/icons/image.svg.js +1 -1
  688. package/lib/icons/info-circle.svg.js +1 -1
  689. package/lib/icons/info.svg.js +1 -1
  690. package/lib/icons/input-clear.svg.js +1 -1
  691. package/lib/icons/invisible.svg.js +1 -1
  692. package/lib/icons/left-arrow.svg.js +1 -1
  693. package/lib/icons/loading-outline.svg.js +1 -1
  694. package/lib/icons/location.svg.js +1 -1
  695. package/lib/icons/menu.svg.js +1 -1
  696. package/lib/icons/minus.svg.js +1 -1
  697. package/lib/icons/move.svg.js +1 -1
  698. package/lib/icons/mute.svg.js +1 -1
  699. package/lib/icons/new-edit.svg.js +1 -1
  700. package/lib/icons/pause.svg.js +1 -1
  701. package/lib/icons/pencil.svg.js +1 -1
  702. package/lib/icons/play.svg.js +1 -1
  703. package/lib/icons/plus-cicle.svg.js +1 -1
  704. package/lib/icons/plus-fine.svg.js +1 -1
  705. package/lib/icons/plus.svg.js +1 -1
  706. package/lib/icons/post.svg.js +1 -1
  707. package/lib/icons/question-mark.svg.js +1 -1
  708. package/lib/icons/question.svg.js +1 -1
  709. package/lib/icons/redo.svg.js +1 -1
  710. package/lib/icons/refresh.svg.js +1 -1
  711. package/lib/icons/reload.svg.js +1 -1
  712. package/lib/icons/remove.svg.js +1 -1
  713. package/lib/icons/retry.svg.js +1 -1
  714. package/lib/icons/right-arrow-bold.svg.js +1 -1
  715. package/lib/icons/right-arrow.svg.js +1 -1
  716. package/lib/icons/right-double-arrow.svg.js +1 -1
  717. package/lib/icons/role.svg.js +1 -1
  718. package/lib/icons/rotate-left.svg.js +1 -1
  719. package/lib/icons/rotate-right.svg.js +1 -1
  720. package/lib/icons/scale-origin.svg.js +1 -1
  721. package/lib/icons/schedule.svg.js +1 -1
  722. package/lib/icons/search.svg.js +1 -1
  723. package/lib/icons/setting.svg.js +1 -1
  724. package/lib/icons/slider-handle-icon.svg.js +1 -1
  725. package/lib/icons/sort-asc.svg.js +1 -1
  726. package/lib/icons/sort-default.svg.js +1 -1
  727. package/lib/icons/sort-desc.svg.js +1 -1
  728. package/lib/icons/star.svg.js +1 -1
  729. package/lib/icons/status-close.svg.js +1 -1
  730. package/lib/icons/steps-finsh.svg.js +1 -1
  731. package/lib/icons/sub-plus.svg.js +27 -0
  732. package/lib/icons/success.svg.js +1 -1
  733. package/lib/icons/transparent.svg.js +1 -1
  734. package/lib/icons/trash.svg.js +1 -1
  735. package/lib/icons/tree-down.svg.js +1 -1
  736. package/lib/icons/undo-normal.svg.js +32 -0
  737. package/lib/icons/undo.svg.js +1 -1
  738. package/lib/icons/unfullscreen.svg.js +28 -0
  739. package/lib/icons/upload.svg.js +1 -1
  740. package/lib/icons/user-remove.svg.js +1 -1
  741. package/lib/icons/view.svg.js +1 -1
  742. package/lib/icons/volume.svg.js +1 -1
  743. package/lib/icons/warning-mark.svg.js +1 -1
  744. package/lib/icons/warning.svg.js +1 -1
  745. package/lib/icons/window-restore.svg.js +1 -1
  746. package/lib/icons/zoom-in.svg.js +1 -1
  747. package/lib/icons/zoom-out.svg.js +1 -1
  748. package/lib/index.js +5 -1
  749. package/lib/locale/de-DE.js +26 -11
  750. package/lib/locale/en-US.js +17 -2
  751. package/lib/locale/zh-CN.js +18 -3
  752. package/lib/node_modules/pdfjs-dist/build/pdf.worker.min.js +41 -0
  753. package/lib/node_modules/smooth-signature/es/index.js +508 -0
  754. package/lib/{scss → packages/amis-ui/scss}/helper.scss.js +1 -1
  755. package/lib/{scss → packages/amis-ui/scss}/themes/ang.scss.js +1 -1
  756. package/lib/{scss → packages/amis-ui/scss}/themes/antd.scss.js +1 -1
  757. package/lib/{scss → packages/amis-ui/scss}/themes/cxd.scss.js +1 -1
  758. package/lib/{scss → packages/amis-ui/scss}/themes/dark.scss.js +1 -1
  759. package/lib/{scss → packages/amis-ui/scss}/themes/default.scss.js +1 -1
  760. package/lib/themes/ang.css +1011 -37
  761. package/lib/themes/ang.js +1 -1
  762. package/lib/themes/antd.css +1011 -37
  763. package/lib/themes/antd.js +1 -1
  764. package/lib/themes/cxd.css +1011 -37
  765. package/lib/themes/cxd.js +1 -1
  766. package/lib/themes/dark.css +1011 -37
  767. package/lib/themes/dark.js +1 -1
  768. package/lib/themes/default.css +1011 -37
  769. package/package.json +4 -3
  770. package/scss/_components.scss +6 -0
  771. package/scss/_mixins.scss +1 -0
  772. package/scss/_thirds.scss +3 -0
  773. package/scss/components/_condition-builder.scss +18 -0
  774. package/scss/components/_crud2.scss +4 -0
  775. package/scss/components/_formula.scss +136 -26
  776. package/scss/components/_image-gallery.scss +7 -1
  777. package/scss/components/_input-box.scss +6 -0
  778. package/scss/components/_json-schema-editor.scss +24 -3
  779. package/scss/components/_json-schema.scss +5 -0
  780. package/scss/components/_pdf_viewer.scss +47 -0
  781. package/scss/components/_signature.scss +97 -0
  782. package/scss/components/_table.scss +6 -1
  783. package/scss/components/_tabs.scss +9 -4
  784. package/scss/components/form/_combo.scss +1 -0
  785. package/scss/components/form/_form.scss +10 -0
  786. package/scss/components/form/_tag.scss +2 -1
  787. package/scss/components/form/_text.scss +4 -4
  788. package/scss/themes/_common.scss +2 -0
@@ -3873,6 +3873,10 @@
3873
3873
  --inputTime-hover-bg-color: var(--colors-neutral-fill-10);
3874
3874
  --inputTime-active-color: var(--colors-neutral-text-2);
3875
3875
  --inputTime-active-bg-color: var(--colors-brand-10);
3876
+ --signature-tool-height: 2.5rem;
3877
+ --signature-tool-margin-top: 0.5rem;
3878
+ --signature-placeholder-gap: 0.625rem;
3879
+ --signature-placeholder-color: var(--colors-neutral-line-6);
3876
3880
  --steps-base-color: var(--colors-neutral-text-2);
3877
3881
  --steps-base-fontSize: var(--fonts-size-7);
3878
3882
  --steps-base-fontWeight: var(--fonts-weight-6);
@@ -5536,6 +5540,186 @@ div.CodeMirror-dragcursors {
5536
5540
  span.CodeMirror-selectedtext {
5537
5541
  background: none;
5538
5542
  }
5543
+ /*
5544
+
5545
+ Name: Base16 Default Dark
5546
+ Author: Chris Kempson (http://chriskempson.com)
5547
+
5548
+ CodeMirror template by Jan T. Sott (https://github.com/idleberg/base16-codemirror)
5549
+ Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16)
5550
+
5551
+ */
5552
+ .cm-s-base16-dark.CodeMirror {
5553
+ background: #151515;
5554
+ color: #e0e0e0;
5555
+ }
5556
+ .cm-s-base16-dark div.CodeMirror-selected {
5557
+ background: #303030;
5558
+ }
5559
+ .cm-s-base16-dark .CodeMirror-line::-moz-selection, .cm-s-base16-dark .CodeMirror-line > span::-moz-selection, .cm-s-base16-dark .CodeMirror-line > span > span::-moz-selection {
5560
+ background: rgba(48, 48, 48, 0.99);
5561
+ }
5562
+ .cm-s-base16-dark .CodeMirror-line::selection, .cm-s-base16-dark .CodeMirror-line > span::selection, .cm-s-base16-dark .CodeMirror-line > span > span::selection {
5563
+ background: rgba(48, 48, 48, 0.99);
5564
+ }
5565
+ .cm-s-base16-dark .CodeMirror-line::-moz-selection, .cm-s-base16-dark .CodeMirror-line > span::-moz-selection, .cm-s-base16-dark .CodeMirror-line > span > span::-moz-selection {
5566
+ background: rgba(48, 48, 48, 0.99);
5567
+ }
5568
+ .cm-s-base16-dark .CodeMirror-gutters {
5569
+ background: #151515;
5570
+ border-right: 0px;
5571
+ }
5572
+ .cm-s-base16-dark .CodeMirror-guttermarker {
5573
+ color: #ac4142;
5574
+ }
5575
+ .cm-s-base16-dark .CodeMirror-guttermarker-subtle {
5576
+ color: #505050;
5577
+ }
5578
+ .cm-s-base16-dark .CodeMirror-linenumber {
5579
+ color: #505050;
5580
+ }
5581
+ .cm-s-base16-dark .CodeMirror-cursor {
5582
+ border-left: 1px solid #b0b0b0;
5583
+ }
5584
+ .cm-s-base16-dark.cm-fat-cursor .CodeMirror-cursor {
5585
+ background-color: rgba(142, 141, 136, 0.4588235294) !important;
5586
+ }
5587
+ .cm-s-base16-dark .cm-animate-fat-cursor {
5588
+ background-color: rgba(142, 141, 136, 0.4588235294) !important;
5589
+ }
5590
+ .cm-s-base16-dark span.cm-comment {
5591
+ color: #8f5536;
5592
+ }
5593
+ .cm-s-base16-dark span.cm-atom {
5594
+ color: #aa759f;
5595
+ }
5596
+ .cm-s-base16-dark span.cm-number {
5597
+ color: #aa759f;
5598
+ }
5599
+ .cm-s-base16-dark span.cm-property, .cm-s-base16-dark span.cm-attribute {
5600
+ color: #90a959;
5601
+ }
5602
+ .cm-s-base16-dark span.cm-keyword {
5603
+ color: #ac4142;
5604
+ }
5605
+ .cm-s-base16-dark span.cm-string {
5606
+ color: #f4bf75;
5607
+ }
5608
+ .cm-s-base16-dark span.cm-variable {
5609
+ color: #90a959;
5610
+ }
5611
+ .cm-s-base16-dark span.cm-variable-2 {
5612
+ color: #6a9fb5;
5613
+ }
5614
+ .cm-s-base16-dark span.cm-def {
5615
+ color: #d28445;
5616
+ }
5617
+ .cm-s-base16-dark span.cm-bracket {
5618
+ color: #e0e0e0;
5619
+ }
5620
+ .cm-s-base16-dark span.cm-tag {
5621
+ color: #ac4142;
5622
+ }
5623
+ .cm-s-base16-dark span.cm-link {
5624
+ color: #aa759f;
5625
+ }
5626
+ .cm-s-base16-dark span.cm-error {
5627
+ background: #ac4142;
5628
+ color: #b0b0b0;
5629
+ }
5630
+ .cm-s-base16-dark .CodeMirror-activeline-background {
5631
+ background: #202020;
5632
+ }
5633
+ .cm-s-base16-dark .CodeMirror-matchingbracket {
5634
+ text-decoration: underline;
5635
+ color: white !important;
5636
+ }
5637
+ /**
5638
+ Name: IDEA default theme
5639
+ From IntelliJ IDEA by JetBrains
5640
+ */
5641
+ .cm-s-idea span.cm-meta {
5642
+ color: #808000;
5643
+ }
5644
+ .cm-s-idea span.cm-number {
5645
+ color: #0000FF;
5646
+ }
5647
+ .cm-s-idea span.cm-keyword {
5648
+ line-height: 1em;
5649
+ font-weight: bold;
5650
+ color: #000080;
5651
+ }
5652
+ .cm-s-idea span.cm-atom {
5653
+ font-weight: bold;
5654
+ color: #000080;
5655
+ }
5656
+ .cm-s-idea span.cm-def {
5657
+ color: #000000;
5658
+ }
5659
+ .cm-s-idea span.cm-variable {
5660
+ color: black;
5661
+ }
5662
+ .cm-s-idea span.cm-variable-2 {
5663
+ color: black;
5664
+ }
5665
+ .cm-s-idea span.cm-variable-3, .cm-s-idea span.cm-type {
5666
+ color: black;
5667
+ }
5668
+ .cm-s-idea span.cm-property {
5669
+ color: black;
5670
+ }
5671
+ .cm-s-idea span.cm-operator {
5672
+ color: black;
5673
+ }
5674
+ .cm-s-idea span.cm-comment {
5675
+ color: #808080;
5676
+ }
5677
+ .cm-s-idea span.cm-string {
5678
+ color: #008000;
5679
+ }
5680
+ .cm-s-idea span.cm-string-2 {
5681
+ color: #008000;
5682
+ }
5683
+ .cm-s-idea span.cm-qualifier {
5684
+ color: #555;
5685
+ }
5686
+ .cm-s-idea span.cm-error {
5687
+ color: #FF0000;
5688
+ }
5689
+ .cm-s-idea span.cm-attribute {
5690
+ color: #0000FF;
5691
+ }
5692
+ .cm-s-idea span.cm-tag {
5693
+ color: #000080;
5694
+ }
5695
+ .cm-s-idea span.cm-link {
5696
+ color: #0000FF;
5697
+ }
5698
+ .cm-s-idea .CodeMirror-activeline-background {
5699
+ background: #FFFAE3;
5700
+ }
5701
+ .cm-s-idea span.cm-builtin {
5702
+ color: #30a;
5703
+ }
5704
+ .cm-s-idea span.cm-bracket {
5705
+ color: #cc7;
5706
+ }
5707
+ .cm-s-idea {
5708
+ font-family: Consolas, Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace, serif;
5709
+ }
5710
+ .cm-s-idea .CodeMirror-matchingbracket {
5711
+ outline: 1px solid grey;
5712
+ color: black !important;
5713
+ }
5714
+ .CodeMirror-hints.idea {
5715
+ font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
5716
+ color: #616569;
5717
+ background-color: #ebf3fd !important;
5718
+ }
5719
+ .CodeMirror-hints.idea .CodeMirror-hint-active {
5720
+ background-color: #a2b8c9 !important;
5721
+ color: #5c6065 !important;
5722
+ }
5539
5723
  /*!
5540
5724
  * froala_editor v3.1.0 (https://www.froala.com/wysiwyg-editor)
5541
5725
  * License https://froala.com/wysiwyg-editor/terms/
@@ -14265,6 +14449,437 @@ body.video-react-full-window .video-react-fullscreen {
14265
14449
  .cropper-disabled .cropper-point {
14266
14450
  cursor: not-allowed;
14267
14451
  }
14452
+ /* 默认 CSS 样式,目前主要是 Excel 使用 */
14453
+ .ov-excel {
14454
+ /* 从 office 365 中复制的默认字体 */
14455
+ font-family: "Aptos Narrow", "Segoe UI", "Segoe UI Web (West European)", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif;
14456
+ display: flex;
14457
+ flex-direction: column;
14458
+ --bar-bg-color: #f5f5f5;
14459
+ --bar-input-bg-color: #ffffff;
14460
+ --active-sheet-color: #217346;
14461
+ }
14462
+ .excel-button {
14463
+ height: 32px;
14464
+ color: rgb(255, 255, 255);
14465
+ padding: 0px 11px;
14466
+ box-sizing: border-box;
14467
+ border: 1px solid transparent;
14468
+ display: inline-block;
14469
+ text-decoration: none;
14470
+ text-align: center;
14471
+ cursor: pointer;
14472
+ vertical-align: top;
14473
+ border-radius: 2px;
14474
+ font-size: 14px;
14475
+ font-weight: 600;
14476
+ position: relative;
14477
+ margin-right: 4px;
14478
+ width: 64px;
14479
+ }
14480
+ .excel-button-primary {
14481
+ background-color: rgb(0, 120, 212);
14482
+ }
14483
+ /* Excel 工具栏,目前没编辑功能所以还没实现 */
14484
+ .ov-excel-toolbar {
14485
+ height: 30px;
14486
+ line-height: 30px;
14487
+ }
14488
+ .excel-checkbox-list-wrapper .excel-checkbox-list {
14489
+ margin-top: 4px;
14490
+ }
14491
+ .excel-checkbox-container label {
14492
+ cursor: pointer;
14493
+ padding: 4px 0;
14494
+ display: block;
14495
+ }
14496
+ .excel-checkbox-container label:hover {
14497
+ background-color: #f6f6f6;
14498
+ }
14499
+ .excel-checkbox-container input {
14500
+ vertical-align: middle;
14501
+ }
14502
+ .excel-checkbox-container span {
14503
+ vertical-align: middle;
14504
+ }
14505
+ .excel-divider {
14506
+ display: block;
14507
+ height: 1px;
14508
+ background-color: rgb(225, 223, 221);
14509
+ margin: 2px 12px 2px;
14510
+ color: rgb(200, 198, 196);
14511
+ border-radius: 0.5px;
14512
+ }
14513
+ .excel-input {
14514
+ display: inline-block;
14515
+ box-sizing: border-box;
14516
+ width: 100%;
14517
+ border-radius: 4px;
14518
+ padding: 4px 12px;
14519
+ border: 1px solid rgb(209, 209, 209);
14520
+ }
14521
+ .excel-input-border-less {
14522
+ display: block;
14523
+ border: none;
14524
+ width: 100%;
14525
+ height: 100%;
14526
+ padding: 0 2px;
14527
+ }
14528
+ .excel-input-border-less:focus {
14529
+ outline: none;
14530
+ }
14531
+ .excel-select {
14532
+ border-color: rgb(209, 209, 209);
14533
+ border-radius: 4px;
14534
+ }
14535
+ /* Excel 公式栏 */
14536
+ .ov-excel-formula-bar {
14537
+ height: 34px;
14538
+ display: flex;
14539
+ flex-direction: row;
14540
+ background-color: var(--bar-bg-color);
14541
+ }
14542
+ .ov-excel-formula-bar__name-box {
14543
+ text-align: center;
14544
+ width: 64px;
14545
+ margin: 4px 0 4px 4px;
14546
+ padding: 0 4px;
14547
+ line-height: 26px;
14548
+ border: 1px solid #e1dfdd;
14549
+ background-color: var(--bar-input-bg-color);
14550
+ }
14551
+ /* fx 按钮 */
14552
+ .ov-excel-formula-bar__function-button {
14553
+ width: 30px;
14554
+ }
14555
+ /* fx 按钮右边的输入框 */
14556
+ .ov-excel-formula-bar__text-box {
14557
+ margin: 4px;
14558
+ line-height: 26px;
14559
+ border: 1px solid #e1dfdd;
14560
+ flex: 1;
14561
+ padding: 0 4px;
14562
+ background-color: var(--bar-input-bg-color);
14563
+ }
14564
+ /* Excel sheet 标签页 */
14565
+ .ov-excel-sheet-tab-bar {
14566
+ height: 32px;
14567
+ line-height: 32px;
14568
+ display: flex;
14569
+ flex-direction: row;
14570
+ background-color: var(--bar-bg-color);
14571
+ }
14572
+ .ov-excel-sheet-tab-bar__nav {
14573
+ display: flex;
14574
+ }
14575
+ .ov-excel-sheet-tab-bar__nav-icon {
14576
+ height: 16px;
14577
+ padding: 4px 4px;
14578
+ }
14579
+ .ov-excel-sheet-tab-bar__nav-icon svg {
14580
+ height: 16px;
14581
+ width: 16px;
14582
+ }
14583
+ .ov-excel-sheet-tab-bar__nav-icon svg path {
14584
+ fill: #b1b1b1;
14585
+ }
14586
+ .ov-excel-sheet-tab-bar__nav-icon--enabled {
14587
+ cursor: pointer;
14588
+ }
14589
+ .ov-excel-sheet-tab-bar__nav-icon--enabled svg path {
14590
+ fill: #000000;
14591
+ }
14592
+ .ov-excel-sheet-tab-bar__menu {
14593
+ position: relative;
14594
+ }
14595
+ .ov-excel-sheet-tab-bar__menu-icon {
14596
+ cursor: pointer;
14597
+ height: 16px;
14598
+ padding: 4px 8px;
14599
+ }
14600
+ .ov-excel-sheet-tab-bar__menu-icon svg {
14601
+ height: 16px;
14602
+ width: 16px;
14603
+ }
14604
+ .ov-excel-sheet-tab-bar__menu-list {
14605
+ background-color: #fff;
14606
+ border-radius: 4px;
14607
+ border: 1px solid rgb(199, 199, 199);
14608
+ box-shadow: rgba(0, 0, 0, 0.133) 0px 3.2px 7.2px 0px, rgba(0, 0, 0, 0.11) 0px 0.6px 1.8px 0px;
14609
+ display: none;
14610
+ position: absolute;
14611
+ bottom: 32px;
14612
+ left: 0;
14613
+ max-height: 400px;
14614
+ overflow-x: hidden;
14615
+ overflow-y: auto;
14616
+ z-index: 15;
14617
+ -webkit-user-select: none;
14618
+ -moz-user-select: none;
14619
+ user-select: none;
14620
+ }
14621
+ .ov-excel-sheet-tab-bar__menu-list-item {
14622
+ padding: 4px 8px;
14623
+ cursor: pointer;
14624
+ white-space: nowrap;
14625
+ }
14626
+ .ov-excel-sheet-tab-bar__menu-list-item:hover {
14627
+ background-color: #e1dfdd;
14628
+ }
14629
+ .ov-excel-sheet-tab-bar__menu-list-item--active {
14630
+ background-color: #e1dfdd;
14631
+ }
14632
+ .ov-excel-sheet-tab-bar__list-container {
14633
+ position: relative;
14634
+ overflow: hidden;
14635
+ flex: 1 1 0;
14636
+ -webkit-user-select: none;
14637
+ -moz-user-select: none;
14638
+ user-select: none;
14639
+ }
14640
+ .ov-excel-sheet-tab-bar__list-container--enable-left-nav::before {
14641
+ content: "";
14642
+ position: absolute;
14643
+ top: 0;
14644
+ bottom: 0;
14645
+ left: 0;
14646
+ width: 30px;
14647
+ background-image: linear-gradient(to right, #dcdcdc, rgba(220, 220, 220, 0.1));
14648
+ }
14649
+ .ov-excel-sheet-tab-bar__list-container--enable-right-nav::after {
14650
+ content: "";
14651
+ position: absolute;
14652
+ top: 0;
14653
+ bottom: 0;
14654
+ right: 0;
14655
+ width: 30px;
14656
+ background-image: linear-gradient(to left, #dcdcdc, rgba(220, 220, 220, 0.1));
14657
+ }
14658
+ .ov-excel-sheet-tab-bar__list {
14659
+ width: 0;
14660
+ display: flex;
14661
+ flex-direction: row;
14662
+ }
14663
+ .ov-excel-sheet-tab-bar__list-tab {
14664
+ display: inline-block;
14665
+ position: relative;
14666
+ padding: 0 8px;
14667
+ font-size: 14px;
14668
+ margin: 4px 4px;
14669
+ border-radius: 4px;
14670
+ line-height: 24px;
14671
+ white-space: nowrap;
14672
+ }
14673
+ .ov-excel-sheet-tab-bar__list-tab:hover {
14674
+ cursor: pointer;
14675
+ background-color: #e1dfdd;
14676
+ }
14677
+ .ov-excel-sheet-tab-bar__list-tab--active {
14678
+ cursor: default;
14679
+ }
14680
+ .ov-excel-sheet-tab-bar__list-tab--active::before {
14681
+ content: "";
14682
+ position: absolute;
14683
+ display: inline-block;
14684
+ top: 0;
14685
+ bottom: -4px;
14686
+ left: 0;
14687
+ right: 0;
14688
+ color: transparent;
14689
+ border-bottom: 3px solid var(--active-sheet-color);
14690
+ padding-bottom: 5px;
14691
+ width: calc(100% - 18px);
14692
+ margin: auto;
14693
+ transition: width 0.4s cubic-bezier(0.17, 0.17, 0, 1) 0s;
14694
+ }
14695
+ .ov-excel-sheet-tab-bar__status {
14696
+ margin-left: 12px;
14697
+ margin-right: 12px;
14698
+ }
14699
+ .ov-excel-sheet-tab-bar__status-text {
14700
+ margin-right: 16px;
14701
+ }
14702
+ .ov-excel-sheet-tab-bar__zoom-level {
14703
+ display: flex;
14704
+ flex-direction: row;
14705
+ padding: 0 8px;
14706
+ }
14707
+ .ov-excel-sheet-tab-bar__zoom-value {
14708
+ margin: 0 8px;
14709
+ }
14710
+ .ov-excel-sheet-tab-bar__zoom-in,
14711
+ .ov-excel-sheet-tab-bar__zoom-out {
14712
+ cursor: pointer;
14713
+ }
14714
+ /* Excel 内容区域,这个包含表头 */
14715
+ .ov-excel-content {
14716
+ flex: 1;
14717
+ position: relative;
14718
+ overflow: hidden;
14719
+ z-index: 1;
14720
+ }
14721
+ /** Excel 数据区域,不包含表头,目前这个区域主要是给 drawing 用 */
14722
+ .ov-excel-data {
14723
+ position: absolute;
14724
+ right: 0;
14725
+ bottom: 0;
14726
+ overflow: hidden;
14727
+ -webkit-user-select: none;
14728
+ -moz-user-select: none;
14729
+ user-select: none;
14730
+ z-index: 2;
14731
+ }
14732
+ .ov-excel-canvas {
14733
+ position: absolute;
14734
+ left: 0;
14735
+ top: 0;
14736
+ }
14737
+ .ov-excel-scrollbar-y {
14738
+ position: absolute;
14739
+ top: 0;
14740
+ right: 0;
14741
+ bottom: 0;
14742
+ z-index: 3;
14743
+ }
14744
+ .ov-excel-scrollbar-x {
14745
+ position: absolute;
14746
+ left: 0;
14747
+ right: 0;
14748
+ bottom: 0;
14749
+ z-index: 3;
14750
+ }
14751
+ .ov-excel-scrollbar-content-x {
14752
+ overflow-x: auto;
14753
+ overflow-y: hidden;
14754
+ }
14755
+ .ov-excel-scrollbar-content-y {
14756
+ overflow-x: hidden;
14757
+ }
14758
+ /** 缩放的控制界面 */
14759
+ .ov-excel-resize-box {
14760
+ position: absolute;
14761
+ border: 1px solid #4af;
14762
+ z-index: 3;
14763
+ }
14764
+ .ov-excel-resize-box-control {
14765
+ position: absolute;
14766
+ width: 14px;
14767
+ height: 14px;
14768
+ border-radius: 50%;
14769
+ border: 2px solid #fff;
14770
+ box-sizing: border-box;
14771
+ background: #4af;
14772
+ border: 2px solid #fff;
14773
+ z-index: 5;
14774
+ }
14775
+ .ov-excel-auto-filter-icon-container {
14776
+ position: absolute;
14777
+ }
14778
+ .ov-excel-auto-filter-icon {
14779
+ cursor: pointer;
14780
+ position: absolute;
14781
+ right: 2px;
14782
+ top: 2px;
14783
+ bottom: 2px;
14784
+ z-index: 3;
14785
+ }
14786
+ .ov-excel-auto-filter-icon svg {
14787
+ width: 100%;
14788
+ height: 100%;
14789
+ }
14790
+ .ov-excel-auto-filter-menu {
14791
+ position: absolute;
14792
+ display: none;
14793
+ flex-direction: column;
14794
+ right: -240px;
14795
+ width: 240px;
14796
+ height: 440px;
14797
+ border-radius: 4px;
14798
+ box-shadow: rgba(0, 0, 0, 0.133) 0px 3.2px 7.2px 0px, rgba(0, 0, 0, 0.11) 0px 0.6px 1.8px 0px;
14799
+ z-index: 4;
14800
+ background-color: white;
14801
+ }
14802
+ .excel-auto-filter__menu-sort {
14803
+ display: flex;
14804
+ flex-direction: row;
14805
+ -moz-column-gap: 4px;
14806
+ column-gap: 4px;
14807
+ padding: 8px;
14808
+ }
14809
+ .ov-excel-auto-filter__sort-button {
14810
+ cursor: pointer;
14811
+ flex: 1;
14812
+ display: flex;
14813
+ flex-direction: row;
14814
+ line-height: 24px;
14815
+ height: 24px;
14816
+ padding: 2px;
14817
+ }
14818
+ .ov-excel-auto-filter__sort-button-text {
14819
+ flex: 1;
14820
+ }
14821
+ .ov-excel-auto-filter__sort-button-icon {
14822
+ height: 24px;
14823
+ width: 24px;
14824
+ }
14825
+ .ov-excel-auto-filter__sort-button-icon svg {
14826
+ height: 100%;
14827
+ width: 100%;
14828
+ }
14829
+ .ov-excel-auto-filter__sort-button:hover {
14830
+ background-color: #f5f5f5;
14831
+ }
14832
+ .ov-excel-auto-filter__sort-button-active {
14833
+ background-color: #f5f5f5;
14834
+ }
14835
+ .ov-excel-auto-filter__menu-filter-filters {
14836
+ flex-grow: 1;
14837
+ display: flex;
14838
+ flex-direction: column;
14839
+ min-height: 0;
14840
+ }
14841
+ .ov-excel-auto-filter__menu-filter-filters .excel-checkbox-list-wrapper {
14842
+ display: flex;
14843
+ flex-grow: 1;
14844
+ flex-direction: column;
14845
+ padding: 8px;
14846
+ min-height: 0;
14847
+ }
14848
+ .ov-excel-auto-filter__menu-filter-filters .excel-checkbox-list {
14849
+ flex-grow: 1;
14850
+ overflow-y: auto;
14851
+ overflow-x: hidden;
14852
+ }
14853
+ .ov-excel-auto-filter-menu__custom-filters {
14854
+ display: flex;
14855
+ flex-direction: column;
14856
+ padding: 8px;
14857
+ }
14858
+ /** 单个规则 */
14859
+ .ov-excel-auto-filter-menu__custom-filters-item-input {
14860
+ display: flex;
14861
+ flex-direction: row;
14862
+ margin-bottom: 4px;
14863
+ }
14864
+ .ov-excel-auto-filter-menu__custom-filters-item-input > select {
14865
+ margin-right: 4px;
14866
+ }
14867
+ .ov-excel-auto-filter-menu__custom-filters .excel-radio-wrapper {
14868
+ margin: 4px 0;
14869
+ text-align: center;
14870
+ }
14871
+ .excel-cell-editor {
14872
+ position: absolute;
14873
+ }
14874
+ .excel-chart {
14875
+ position: absolute;
14876
+ z-index: 10;
14877
+ }
14878
+ .excel-pic {
14879
+ position: absolute;
14880
+ z-index: 10;
14881
+ overflow: hidden;
14882
+ }
14268
14883
  /*!
14269
14884
  * https://github.com/arqex/react-datetime
14270
14885
  */
@@ -19403,7 +20018,12 @@ input[type=button].cxd-Button--block {
19403
20018
  padding: var(--Tabs-linkPadding);
19404
20019
  text-decoration: none;
19405
20020
  cursor: pointer;
19406
- display: block;
20021
+ display: flex;
20022
+ align-items: center;
20023
+ max-width: 100%;
20024
+ overflow: hidden;
20025
+ }
20026
+ .cxd-Tabs-links > .cxd-Tabs-link > a:first-child .cxd-Tabs-link-text {
19407
20027
  text-overflow: ellipsis;
19408
20028
  overflow: hidden;
19409
20029
  white-space: nowrap;
@@ -22019,6 +22639,7 @@ input[type=button].cxd-Button--block {
22019
22639
  }
22020
22640
  .cxd-CBGroup-body-wrapper {
22021
22641
  flex: 1;
22642
+ min-width: 0;
22022
22643
  }
22023
22644
  .cxd-CBGroup-body-collapse {
22024
22645
  text-align: center;
@@ -22040,6 +22661,7 @@ input[type=button].cxd-Button--block {
22040
22661
  }
22041
22662
  .cxd-CBGroup-body-wrapper {
22042
22663
  flex: 1;
22664
+ min-width: 0;
22043
22665
  }
22044
22666
  .cxd-CBGroup-toolbar {
22045
22667
  display: flex;
@@ -22179,6 +22801,8 @@ input[type=button].cxd-Button--block {
22179
22801
  display: flex;
22180
22802
  flex-direction: row;
22181
22803
  align-items: center;
22804
+ flex: 1;
22805
+ min-width: 0;
22182
22806
  }
22183
22807
  .cxd-CBGroupOrItem-body-item > .cxd-CBGroupOrItem-dragbar {
22184
22808
  left: 0.625rem;
@@ -22253,11 +22877,22 @@ input[type=button].cxd-Button--block {
22253
22877
  .cxd-CBFunc-args > div {
22254
22878
  display: inline-block;
22255
22879
  }
22880
+ .cxd-CBItem {
22881
+ display: flex;
22882
+ flex: 1;
22883
+ min-width: 0;
22884
+ flex-wrap: wrap;
22885
+ }
22886
+ .cxd-CBItem > * {
22887
+ flex-shrink: 0;
22888
+ }
22256
22889
  .cxd-CBValue {
22257
22890
  position: relative;
22258
22891
  display: inline-block;
22259
22892
  vertical-align: middle;
22260
22893
  margin: 0.1875rem;
22894
+ flex: 1;
22895
+ min-width: 6.25rem;
22261
22896
  }
22262
22897
  .cxd-CBFormula {
22263
22898
  position: relative;
@@ -22282,6 +22917,7 @@ input[type=button].cxd-Button--block {
22282
22917
  width: 20px;
22283
22918
  text-align: center;
22284
22919
  display: inline-block;
22920
+ align-self: center;
22285
22921
  -webkit-user-select: none;
22286
22922
  -moz-user-select: none;
22287
22923
  user-select: none;
@@ -22892,6 +23528,9 @@ input[type=button].cxd-Button--block {
22892
23528
  .cxd-Crud2-selection, .cxd-Crud2-toolbar, .cxd-Crud2-body {
22893
23529
  margin-bottom: var(--gap-base);
22894
23530
  }
23531
+ .cxd-Crud2 .cxd-Table-render-wrapper {
23532
+ position: relative;
23533
+ }
22895
23534
  .cxd-Crud2-selectionLabel {
22896
23535
  display: inline-block;
22897
23536
  vertical-align: top;
@@ -23719,6 +24358,11 @@ input[type=button].cxd-Button--block {
23719
24358
  .cxd-Table-table > tbody > tr > td.cxd-Table-primayCell > .cxd-Spinner {
23720
24359
  vertical-align: middle;
23721
24360
  }
24361
+ .cxd-Table-table > thead > tr > th.cxd-Table-primayCell > [data-role=form-item],
24362
+ .cxd-Table-table > tbody > tr > td.cxd-Table-primayCell > [data-role=form-item] {
24363
+ display: inline-block;
24364
+ min-width: 10rem;
24365
+ }
23722
24366
  .cxd-Table.is-mobile .cxd-Table-table > tbody > tr:hover, .cxd-Table.is-mobile .cxd-Table-table > tbody > tr.is-hovered {
23723
24367
  background: var(--Table-bg);
23724
24368
  border-color: var(--Table-borderColor);
@@ -23786,7 +24430,7 @@ input[type=button].cxd-Button--block {
23786
24430
  min-width: 20rem;
23787
24431
  max-width: 40rem;
23788
24432
  }
23789
- .cxd-TableCell-searchPopOver .cxd-Panel {
24433
+ .cxd-TableCell-searchPopOver > .cxd-Panel {
23790
24434
  margin: 0;
23791
24435
  }
23792
24436
  .cxd-TableCell-filterBtn {
@@ -27246,7 +27890,7 @@ input[type=button].cxd-Button--block {
27246
27890
  width: 1rem;
27247
27891
  height: 1rem;
27248
27892
  }
27249
- .cxd-ImageGallery-title {
27893
+ .cxd-ImageGallery-title, .cxd-ImageGallery-caption {
27250
27894
  height: 1.125rem;
27251
27895
  vertical-align: top;
27252
27896
  line-height: 1.125rem;
@@ -27255,6 +27899,10 @@ input[type=button].cxd-Button--block {
27255
27899
  text-align: center;
27256
27900
  margin-bottom: 18px;
27257
27901
  }
27902
+ .cxd-ImageGallery-caption {
27903
+ text-align: left;
27904
+ margin-bottom: 4px;
27905
+ }
27258
27906
  .cxd-ImageGallery-main {
27259
27907
  background: #000;
27260
27908
  flex-basis: 0;
@@ -27714,6 +28362,7 @@ input[type=button].cxd-Button--block {
27714
28362
  border-color: var(--Form-input-onDisabled-borderColor);
27715
28363
  }
27716
28364
  .cxd-InputBox-clear {
28365
+ visibility: hidden;
27717
28366
  padding: var(--Form-input-clearBtn-padding);
27718
28367
  cursor: pointer;
27719
28368
  display: flex;
@@ -27726,6 +28375,7 @@ input[type=button].cxd-Button--block {
27726
28375
  fill: var(--Form-input-clearBtn-color);
27727
28376
  width: var(--Form-input-clearBtn-size);
27728
28377
  height: var(--Form-input-clearBtn-size);
28378
+ top: 0;
27729
28379
  }
27730
28380
  .cxd-InputBox-clear:hover svg {
27731
28381
  fill: var(--Form-input-clearBtn-color-onHover);
@@ -27733,6 +28383,9 @@ input[type=button].cxd-Button--block {
27733
28383
  .cxd-InputBox-clear:active svg {
27734
28384
  fill: var(--Form-input-clearBtn-color-onActive);
27735
28385
  }
28386
+ .cxd-InputBox.is-focused .cxd-InputBox-clear, .cxd-InputBox:hover .cxd-InputBox-clear {
28387
+ visibility: visible;
28388
+ }
27736
28389
  .cxd-InputBox > svg {
27737
28390
  display: inline-block;
27738
28391
  width: 14px;
@@ -27798,6 +28451,7 @@ input[type=button].cxd-Button--block {
27798
28451
  min-width: 80px;
27799
28452
  max-width: 150px;
27800
28453
  flex: 1;
28454
+ display: flex;
27801
28455
  }
27802
28456
  .cxd-JSONSchemaMember-key > span {
27803
28457
  display: flex;
@@ -27812,6 +28466,9 @@ input[type=button].cxd-Button--block {
27812
28466
  align-items: center;
27813
28467
  color: var(--Form-input-color);
27814
28468
  }
28469
+ .cxd-JSONSchemaMember-key > * {
28470
+ flex: 1;
28471
+ }
27815
28472
  .cxd-JSONSchemaMember-key.is-mobile > span {
27816
28473
  border-radius: 0;
27817
28474
  border: none;
@@ -27973,10 +28630,14 @@ input[type=button].cxd-Button--block {
27973
28630
  display: flex;
27974
28631
  flex-direction: row;
27975
28632
  flex-wrap: wrap;
27976
- gap: var(--gap-sm);
28633
+ gap: var(--gap-xs);
28634
+ font-size: var(--fonts-size-8);
27977
28635
  align-items: stretch;
27978
28636
  position: relative;
27979
28637
  }
28638
+ .cxd-SchemaEditorItem--mini > button {
28639
+ padding: 0 4px;
28640
+ }
27980
28641
  .cxd-SchemaEditorItem + .cxd-SchemaEditorItem {
27981
28642
  margin-top: var(--gap-sm);
27982
28643
  }
@@ -27984,12 +28645,12 @@ input[type=button].cxd-Button--block {
27984
28645
  display: flex;
27985
28646
  flex-direction: row;
27986
28647
  flex-wrap: wrap;
27987
- gap: var(--gap-sm);
28648
+ gap: var(--gap-xs);
27988
28649
  align-items: flex-start;
27989
28650
  width: 100%;
27990
28651
  }
27991
28652
  .cxd-SchemaEditor-itemsLabel {
27992
- margin-top: calc((var(--Form-input-height) - var(--Switch-height)) / 2);
28653
+ line-height: 2rem;
27993
28654
  }
27994
28655
  .cxd-SchemaEditor-caret {
27995
28656
  display: inline-block;
@@ -28023,6 +28684,56 @@ input[type=button].cxd-Button--block {
28023
28684
  .cxd-SchemaEditor-key > input, .cxd-SchemaEditor-title > input, .cxd-SchemaEditor-description > input {
28024
28685
  flex-basis: 0;
28025
28686
  }
28687
+ .cxd-SchemaEditor-info {
28688
+ display: flex;
28689
+ background: var(--Form-input-bg);
28690
+ border: var(--Form-input-borderWidth) solid var(--Form-input-borderColor);
28691
+ border-radius: var(--Form-input-borderRadius);
28692
+ line-height: var(--Form-input-lineHeight);
28693
+ padding: var(--Form-input-paddingY) var(--Form-input-paddingX);
28694
+ font-size: var(--Form-input-fontSize);
28695
+ flex-wrap: wrap;
28696
+ justify-content: flex-start;
28697
+ flex: 1;
28698
+ display: flex;
28699
+ flex-direction: row;
28700
+ justify-content: space-between;
28701
+ align-items: center;
28702
+ }
28703
+ .cxd-SchemaEditor-info input {
28704
+ flex-basis: 1.875rem;
28705
+ flex-grow: 1;
28706
+ outline: none;
28707
+ background: transparent;
28708
+ border: none;
28709
+ color: var(--Form-input-color);
28710
+ width: 100%;
28711
+ }
28712
+ .cxd-SchemaEditor-info input::-moz-placeholder {
28713
+ color: var(--Form-input-placeholderColor);
28714
+ -moz-user-select: none;
28715
+ user-select: none;
28716
+ }
28717
+ .cxd-SchemaEditor-info input::placeholder {
28718
+ color: var(--Form-input-placeholderColor);
28719
+ -webkit-user-select: none;
28720
+ -moz-user-select: none;
28721
+ user-select: none;
28722
+ }
28723
+ .cxd-SchemaEditor-info:hover {
28724
+ border-color: var(--Form-input-onFocused-borderColor);
28725
+ }
28726
+ .cxd-SchemaEditor-info--borderHalf {
28727
+ border-left-color: transparent !important;
28728
+ border-right-color: transparent !important;
28729
+ border-top-color: transparent !important;
28730
+ }
28731
+ .cxd-SchemaEditor-info--borderNone {
28732
+ border-color: transparent !important;
28733
+ }
28734
+ .cxd-SchemaEditor-typeLabel {
28735
+ color: var(--Form-input-placeholderColor);
28736
+ }
28026
28737
  .cxd-ResultBox {
28027
28738
  display: flex;
28028
28739
  background: var(--Form-input-bg);
@@ -28180,6 +28891,7 @@ input[type=button].cxd-Button--block {
28180
28891
  fill: var(--Form-input-clearBtn-color);
28181
28892
  width: var(--Form-input-clearBtn-size);
28182
28893
  height: var(--Form-input-clearBtn-size);
28894
+ top: 0;
28183
28895
  }
28184
28896
  .cxd-ResultBox-clear:hover svg {
28185
28897
  fill: var(--Form-input-clearBtn-color-onHover);
@@ -28324,6 +29036,7 @@ input[type=button].cxd-Button--block {
28324
29036
  fill: var(--Form-input-clearBtn-color);
28325
29037
  width: var(--Form-input-clearBtn-size);
28326
29038
  height: var(--Form-input-clearBtn-size);
29039
+ top: 0;
28327
29040
  }
28328
29041
  .cxd-ResultBox.is-mobile .cxd-ResultBox-clear:hover svg {
28329
29042
  fill: var(--Form-input-clearBtn-color-onHover);
@@ -29795,6 +30508,7 @@ fieldset.cxd-Collapse .cxd-Collapse-header.is-mobile:hover {
29795
30508
  fill: var(--Form-input-clearBtn-color);
29796
30509
  width: var(--Form-input-clearBtn-size);
29797
30510
  height: var(--Form-input-clearBtn-size);
30511
+ top: 0;
29798
30512
  }
29799
30513
  .cxd-TextControl-clear:hover svg {
29800
30514
  fill: var(--Form-input-clearBtn-color-onHover);
@@ -29812,9 +30526,6 @@ fieldset.cxd-Collapse .cxd-Collapse-header.is-mobile:hover {
29812
30526
  display: inline-flex;
29813
30527
  }
29814
30528
  }
29815
- .cxd-TextControl .InputText-clear {
29816
- content: var(--input-clearable-icon);
29817
- }
29818
30529
  .cxd-TextControl-clear {
29819
30530
  padding: 0 var(--Form-input-clearBtn-padding);
29820
30531
  }
@@ -30132,6 +30843,9 @@ fieldset.cxd-Collapse .cxd-Collapse-header.is-mobile:hover {
30132
30843
  width: var(--input-password-invisible-icon-size);
30133
30844
  height: var(--input-password-invisible-icon-size);
30134
30845
  }
30846
+ .InputText-clear.icon {
30847
+ content: var(--input-clearable-icon);
30848
+ }
30135
30849
  input.cxd-TextControl-input-password {
30136
30850
  flex-basis: 0;
30137
30851
  }
@@ -30230,6 +30944,7 @@ input.cxd-TextControl-input-password {
30230
30944
  fill: var(--Form-input-clearBtn-color);
30231
30945
  width: var(--Form-input-clearBtn-size);
30232
30946
  height: var(--Form-input-clearBtn-size);
30947
+ top: 0;
30233
30948
  }
30234
30949
  .cxd-TextareaControl-clear:hover svg {
30235
30950
  fill: var(--Form-input-clearBtn-color-onHover);
@@ -30318,6 +31033,7 @@ input.cxd-TextControl-input-password {
30318
31033
  fill: var(--Form-input-clearBtn-color);
30319
31034
  width: var(--Form-input-clearBtn-size);
30320
31035
  height: var(--Form-input-clearBtn-size);
31036
+ top: 0;
30321
31037
  }
30322
31038
  .cxd-TextareaControl-clear:hover svg {
30323
31039
  fill: var(--Form-input-clearBtn-color-onHover);
@@ -32724,6 +33440,7 @@ input.cxd-TextControl-input-password {
32724
33440
  fill: var(--Form-input-clearBtn-color);
32725
33441
  width: var(--Form-input-clearBtn-size);
32726
33442
  height: var(--Form-input-clearBtn-size);
33443
+ top: 0;
32727
33444
  }
32728
33445
  .cxd-LocationPicker-clear:hover svg {
32729
33446
  fill: var(--Form-input-clearBtn-color-onHover);
@@ -32914,6 +33631,7 @@ input.cxd-TextControl-input-password {
32914
33631
  fill: var(--Form-input-clearBtn-color);
32915
33632
  width: var(--Form-input-clearBtn-size);
32916
33633
  height: var(--Form-input-clearBtn-size);
33634
+ top: 0;
32917
33635
  }
32918
33636
  .cxd-ColorPicker-clear:hover svg {
32919
33637
  fill: var(--Form-input-clearBtn-color-onHover);
@@ -33090,6 +33808,7 @@ input.cxd-TextControl-input-password {
33090
33808
  fill: var(--Form-input-clearBtn-color);
33091
33809
  width: var(--Form-input-clearBtn-size);
33092
33810
  height: var(--Form-input-clearBtn-size);
33811
+ top: 0;
33093
33812
  }
33094
33813
  .cxd-DatePicker-toggler:hover svg {
33095
33814
  fill: var(--Form-input-clearBtn-color-onHover);
@@ -33122,6 +33841,7 @@ input.cxd-TextControl-input-password {
33122
33841
  fill: var(--Form-input-clearBtn-color);
33123
33842
  width: var(--Form-input-clearBtn-size);
33124
33843
  height: var(--Form-input-clearBtn-size);
33844
+ top: 0;
33125
33845
  }
33126
33846
  .cxd-DatePicker-clear:hover svg {
33127
33847
  fill: var(--Form-input-clearBtn-color-onHover);
@@ -33868,6 +34588,7 @@ td.rdtQuarter.rdtDisabled:hover > span {
33868
34588
  fill: var(--Form-input-clearBtn-color);
33869
34589
  width: var(--Form-input-clearBtn-size);
33870
34590
  height: var(--Form-input-clearBtn-size);
34591
+ top: 0;
33871
34592
  }
33872
34593
  .cxd-DateRangePicker-toggler:hover svg {
33873
34594
  fill: var(--Form-input-clearBtn-color-onHover);
@@ -33900,6 +34621,7 @@ td.rdtQuarter.rdtDisabled:hover > span {
33900
34621
  fill: var(--Form-input-clearBtn-color);
33901
34622
  width: var(--Form-input-clearBtn-size);
33902
34623
  height: var(--Form-input-clearBtn-size);
34624
+ top: 0;
33903
34625
  }
33904
34626
  .cxd-DateRangePicker-clear:hover svg {
33905
34627
  fill: var(--Form-input-clearBtn-color-onHover);
@@ -35535,6 +36257,7 @@ td.rdtQuarter.rdtDisabled:hover > span {
35535
36257
  fill: var(--Form-input-clearBtn-color);
35536
36258
  width: var(--Form-input-clearBtn-size);
35537
36259
  height: var(--Form-input-clearBtn-size);
36260
+ top: 0;
35538
36261
  }
35539
36262
  .cxd-TreeSelect-clear:hover svg {
35540
36263
  fill: var(--Form-input-clearBtn-color-onHover);
@@ -35933,6 +36656,7 @@ td.rdtQuarter.rdtDisabled:hover > span {
35933
36656
  }
35934
36657
  .cxd-ComboTabs-addLink > a svg {
35935
36658
  margin-right: var(--gap-xs);
36659
+ top: 0;
35936
36660
  }
35937
36661
  .cxd-Combo-dragableTip {
35938
36662
  color: var(--text--muted-color);
@@ -36157,6 +36881,7 @@ td.rdtQuarter.rdtDisabled:hover > span {
36157
36881
  fill: var(--Form-input-clearBtn-color);
36158
36882
  width: var(--Form-input-clearBtn-size);
36159
36883
  height: var(--Form-input-clearBtn-size);
36884
+ top: 0;
36160
36885
  }
36161
36886
  .cxd-Picker-clear:hover svg {
36162
36887
  fill: var(--Form-input-clearBtn-color-onHover);
@@ -36325,6 +37050,7 @@ td.rdtQuarter.rdtDisabled:hover > span {
36325
37050
  fill: var(--Form-input-clearBtn-color);
36326
37051
  width: var(--Form-input-clearBtn-size);
36327
37052
  height: var(--Form-input-clearBtn-size);
37053
+ top: 0;
36328
37054
  }
36329
37055
  .cxd-Picker-clear:hover svg {
36330
37056
  fill: var(--Form-input-clearBtn-color-onHover);
@@ -36560,15 +37286,18 @@ td.rdtQuarter.rdtDisabled:hover > span {
36560
37286
  border-color: var(--Form-input-onError-borderColor);
36561
37287
  background: var(--Form-input-onError-bg);
36562
37288
  }
36563
- .cxd-TagControl-popover.cxd-PopOver--leftBottomLeftTop > .cxd-ListMenu {
37289
+ .cxd-TagControl-popover.cxd-PopOver--leftBottomLeftTop > .cxd-ListMenu,
37290
+ .cxd-ListMenu-popover.cxd-PopOver--leftBottomLeftTop > .cxd-ListMenu {
36564
37291
  border-top-left-radius: 0;
36565
37292
  border-top-right-radius: 0;
36566
37293
  }
36567
- .cxd-TagControl-popover.cxd-PopOver--leftTopLeftBottom > .cxd-ListMenu {
37294
+ .cxd-TagControl-popover.cxd-PopOver--leftTopLeftBottom > .cxd-ListMenu,
37295
+ .cxd-ListMenu-popover.cxd-PopOver--leftTopLeftBottom > .cxd-ListMenu {
36568
37296
  border-bottom-left-radius: 0;
36569
37297
  border-bottom-right-radius: 0;
36570
37298
  }
36571
- .cxd-TagControl-popover .cxd-ListMenu {
37299
+ .cxd-TagControl-popover .cxd-ListMenu,
37300
+ .cxd-ListMenu-popover .cxd-ListMenu {
36572
37301
  padding: 0.25rem 0;
36573
37302
  max-height: var(--inputTag-popover-maxHeight);
36574
37303
  overflow: auto;
@@ -36576,7 +37305,8 @@ td.rdtQuarter.rdtDisabled:hover > span {
36576
37305
  -moz-user-select: none;
36577
37306
  user-select: none;
36578
37307
  }
36579
- .cxd-TagControl-popover .cxd-ListMenu-item {
37308
+ .cxd-TagControl-popover .cxd-ListMenu-item,
37309
+ .cxd-ListMenu-popover .cxd-ListMenu-item {
36580
37310
  height: var(--inputTag-option-height);
36581
37311
  color: var(--inputTag-option-color);
36582
37312
  font-size: var(--inputTag-option-fontSize);
@@ -36585,7 +37315,8 @@ td.rdtQuarter.rdtDisabled:hover > span {
36585
37315
  padding: var(--inputTag-option-paddingTop) var(--inputTag-option-paddingRight) var(--inputTag-option-paddingBottom) var(--inputTag-option-paddingLeft);
36586
37316
  background: var(--inputTag-option-bg-color);
36587
37317
  }
36588
- .cxd-TagControl-popover .cxd-ListMenu-item:hover {
37318
+ .cxd-TagControl-popover .cxd-ListMenu-item:hover,
37319
+ .cxd-ListMenu-popover .cxd-ListMenu-item:hover {
36589
37320
  color: var(--inputTag-option-hover-color);
36590
37321
  background: var(--inputTag-option-hover-bg-color);
36591
37322
  }
@@ -37443,6 +38174,7 @@ td.rdtQuarter.rdtDisabled:hover > span {
37443
38174
  fill: var(--Form-input-clearBtn-color);
37444
38175
  width: var(--Form-input-clearBtn-size);
37445
38176
  height: var(--Form-input-clearBtn-size);
38177
+ top: 0;
37446
38178
  }
37447
38179
  .cxd-IconPickerControl-clear:hover svg {
37448
38180
  fill: var(--Form-input-clearBtn-color-onHover);
@@ -37648,6 +38380,7 @@ td.rdtQuarter.rdtDisabled:hover > span {
37648
38380
  fill: var(--Form-input-clearBtn-color);
37649
38381
  width: var(--Form-input-clearBtn-size);
37650
38382
  height: var(--Form-input-clearBtn-size);
38383
+ top: 0;
37651
38384
  }
37652
38385
  .cxd-IconSelectControl-clear:hover svg {
37653
38386
  fill: var(--Form-input-clearBtn-color-onHover);
@@ -38554,6 +39287,14 @@ td.rdtQuarter.rdtDisabled:hover > span {
38554
39287
  display: none;
38555
39288
  }
38556
39289
  }
39290
+ .cxd-Autofill-popOver {
39291
+ border: none;
39292
+ min-width: 20rem;
39293
+ max-width: 40rem;
39294
+ }
39295
+ .cxd-Autofill-popOver > .cxd-Panel {
39296
+ margin: 0;
39297
+ }
38557
39298
  .cxd-UserSelect {
38558
39299
  position: relative;
38559
39300
  }
@@ -39462,6 +40203,7 @@ td.rdtQuarter.rdtDisabled:hover > span {
39462
40203
  overflow: visible;
39463
40204
  max-width: 100%;
39464
40205
  box-sizing: content-box;
40206
+ min-height: 28.125rem;
39465
40207
  /* 变量列表 */
39466
40208
  /* 函数列表 */
39467
40209
  }
@@ -39469,8 +40211,55 @@ td.rdtQuarter.rdtDisabled:hover > span {
39469
40211
  flex: 1;
39470
40212
  height: 100%;
39471
40213
  max-width: 33.125rem;
40214
+ min-width: 0;
39472
40215
  border-top: var(--Form-input-borderWidth) solid var(--Form-input-borderColor);
39473
40216
  border-bottom: var(--Form-input-borderWidth) solid var(--Form-input-borderColor);
40217
+ display: flex;
40218
+ flex-direction: column;
40219
+ }
40220
+ .cxd-FormulaEditor-runPanel {
40221
+ height: 12.5rem;
40222
+ transition: height 0.1s ease-out;
40223
+ border-top: 1px solid var(--Form-input-borderColor);
40224
+ display: flex;
40225
+ flex-wrap: nowrap;
40226
+ flex-direction: row;
40227
+ }
40228
+ .cxd-FormulaEditor-runPanel.in {
40229
+ height: 0;
40230
+ overflow: hidden;
40231
+ }
40232
+ .cxd-FormulaEditor-runPanel-context, .cxd-FormulaEditor-runPanel-result {
40233
+ flex: 1;
40234
+ min-width: 0;
40235
+ display: flex;
40236
+ flex-direction: column;
40237
+ }
40238
+ .cxd-FormulaEditor-runPanel-context > header, .cxd-FormulaEditor-runPanel-result > header {
40239
+ width: 100%;
40240
+ height: 1.875rem;
40241
+ line-height: 1.875rem;
40242
+ padding: 0 0.625rem;
40243
+ box-sizing: border-box;
40244
+ background: var(--InputFormula-header-bgColor);
40245
+ border-radius: var(--borderRadius) var(--borderRadius) 0 0;
40246
+ border-bottom: none;
40247
+ font-weight: 500;
40248
+ margin: 0;
40249
+ }
40250
+ .cxd-FormulaEditor-runPanel-context > div, .cxd-FormulaEditor-runPanel-result > div {
40251
+ flex: 1;
40252
+ min-height: 0;
40253
+ font-size: 12px;
40254
+ }
40255
+ .cxd-FormulaEditor-runPanel-context {
40256
+ border-right: 1px solid var(--Form-input-borderColor);
40257
+ }
40258
+ .cxd-FormulaEditor-runPanel-result > div {
40259
+ padding: 0 0.625rem;
40260
+ }
40261
+ .cxd-FormulaEditor-runPanel-result.is-error {
40262
+ color: var(--Form-input-onError-borderColor);
39474
40263
  }
39475
40264
  .cxd-FormulaEditor-header {
39476
40265
  width: 100%;
@@ -39491,8 +40280,8 @@ td.rdtQuarter.rdtDisabled:hover > span {
39491
40280
  margin-right: 5px;
39492
40281
  }
39493
40282
  .cxd-FormulaEditor-editor {
39494
- min-height: 12.5rem;
39495
- height: calc(100% - 35px);
40283
+ flex: 1;
40284
+ min-height: 0;
39496
40285
  padding: 0.3125rem;
39497
40286
  padding-right: 0;
39498
40287
  }
@@ -39851,24 +40640,6 @@ td.rdtQuarter.rdtDisabled:hover > span {
39851
40640
  overflow: hidden;
39852
40641
  background: var(--InputFormula-code-bgColor);
39853
40642
  }
39854
- .cxd-FormulaEditor .cm-field,
39855
- .cxd-FormulaEditor .cm-func {
39856
- border-radius: 3px;
39857
- color: #fff;
39858
- margin: 0 1px;
39859
- padding: 0 2px;
39860
- }
39861
- .cxd-FormulaEditor .cm-field {
39862
- padding: 2px 5px;
39863
- }
39864
- .cxd-FormulaEditor .cm-field {
39865
- background: #007bff;
39866
- }
39867
- .cxd-FormulaEditor .cm-func {
39868
- color: #ae4597;
39869
- font-weight: bold;
39870
- line-height: 14px;
39871
- }
39872
40643
  .cxd-FormulaPicker {
39873
40644
  display: flex;
39874
40645
  flex-flow: row nowrap;
@@ -39885,8 +40656,9 @@ td.rdtQuarter.rdtDisabled:hover > span {
39885
40656
  }
39886
40657
  .cxd-FormulaPicker-input {
39887
40658
  flex: 1;
40659
+ min-width: 0;
39888
40660
  margin-right: 0.625rem;
39889
- padding-right: 0;
40661
+ padding-right: 0.25rem;
39890
40662
  max-width: calc(100% - 2.625rem);
39891
40663
  }
39892
40664
  .cxd-FormulaPicker-action {
@@ -39932,7 +40704,7 @@ td.rdtQuarter.rdtDisabled:hover > span {
39932
40704
  height: var(--Form-input-height);
39933
40705
  }
39934
40706
  .cxd-FormulaPicker.is-input-group.cxd-FormulaPicker--text {
39935
- padding: var(--Form-input-paddingY) var(--Form-input-paddingX);
40707
+ padding: var(--Form-input-paddingY) var(--Form-input-paddingX) var(--Form-input-paddingY) 0.3125rem;
39936
40708
  }
39937
40709
  .cxd-FormulaPicker.is-input-group .cxd-FormulaPicker-input {
39938
40710
  display: flex;
@@ -39949,13 +40721,27 @@ td.rdtQuarter.rdtDisabled:hover > span {
39949
40721
  outline: none;
39950
40722
  box-sizing: none;
39951
40723
  }
39952
- .cxd-FormulaPicker.is-input-group .cxd-FormulaPicker-input-number, .cxd-FormulaPicker.is-input-group .cxd-FormulaPicker-input-select, .cxd-FormulaPicker.is-input-group .cxd-FormulaPicker-input-boolean, .cxd-FormulaPicker.is-input-group .cxd-FormulaPicker-input-date, .cxd-FormulaPicker.is-input-group .cxd-FormulaPicker-input-time, .cxd-FormulaPicker.is-input-group .cxd-FormulaPicker-input-datetime {
40724
+ .cxd-FormulaPicker.is-input-group .cxd-FormulaPicker-input-select, .cxd-FormulaPicker.is-input-group .cxd-FormulaPicker-input-number, .cxd-FormulaPicker.is-input-group .cxd-FormulaPicker-input-boolean, .cxd-FormulaPicker.is-input-group .cxd-FormulaPicker-input-date, .cxd-FormulaPicker.is-input-group .cxd-FormulaPicker-input-time, .cxd-FormulaPicker.is-input-group .cxd-FormulaPicker-input-datetime {
39953
40725
  height: var(--InputFormula-input-schema-height);
39954
40726
  padding-left: var(--Form-input-paddingX);
39955
40727
  }
40728
+ .cxd-FormulaPicker.is-input-group .cxd-FormulaPicker-input-number {
40729
+ padding-left: 0;
40730
+ }
39956
40731
  .cxd-FormulaPicker.is-input-group .cxd-FormulaPicker-input-number .cxd-Number-handler-wrap {
39957
40732
  height: unset; /* 避免调节器超出Input框 */
39958
40733
  }
40734
+ .cxd-FormulaPicker.is-input-group .cxd-FormulaPicker-input-custom {
40735
+ border: 0;
40736
+ flex: 1;
40737
+ min-width: 0;
40738
+ }
40739
+ .cxd-FormulaPicker.is-input-group .cxd-FormulaPicker-input-custom > div {
40740
+ border: 0;
40741
+ padding: 0 0 0 var(--Form-input-paddingX);
40742
+ align-items: center;
40743
+ height: var(--InputFormula-input-schema-height);
40744
+ }
39959
40745
  .cxd-FormulaPicker.is-input-group .cxd-FormulaPicker-input-variable {
39960
40746
  border: none;
39961
40747
  min-height: unset;
@@ -39976,6 +40762,60 @@ td.rdtQuarter.rdtDisabled:hover > span {
39976
40762
  cursor: pointer;
39977
40763
  color: var(--colors-brand-5);
39978
40764
  }
40765
+ .cxd-FormulaCodeEditor .cm-field,
40766
+ .cxd-FormulaCodeEditor .cm-func {
40767
+ border-radius: 3px;
40768
+ color: #fff;
40769
+ }
40770
+ .cxd-FormulaCodeEditor .cm-field {
40771
+ padding: 2px 5px;
40772
+ }
40773
+ .cxd-FormulaCodeEditor .cm-field {
40774
+ background: #007bff;
40775
+ }
40776
+ .cxd-FormulaCodeEditor .cm-func {
40777
+ color: #ae4597;
40778
+ font-weight: bold;
40779
+ line-height: 14px;
40780
+ }
40781
+ .cxd-FormulaCodeEditor .cm-error-token {
40782
+ background-position: left bottom;
40783
+ background-repeat: repeat-x;
40784
+ background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAADCAYAAAC09K7GAAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9sJDw4cOCW1/KIAAAAZdEVYdENvbW1lbnQAQ3JlYXRlZCB3aXRoIEdJTVBXgQ4XAAAAHElEQVQI12NggIL/DAz/GdA5/xkY/qPKMDAwAADLZwf5rvm+LQAAAABJRU5ErkJggg==);
40785
+ }
40786
+ .cxd-FormulaCodeEditor .CodeMirror-placeholder {
40787
+ color: var(--Form-input-placeholderColor) !important;
40788
+ }
40789
+ .cxd-FormulaCodeEditor .lint-error {
40790
+ color: var(--Form-input-onError-borderColor);
40791
+ }
40792
+ .cxd-FormulaCodeEditor--singleLine {
40793
+ max-width: 100%;
40794
+ }
40795
+ .cxd-FormulaCodeEditor--singleLine > .CodeMirror {
40796
+ height: 21px;
40797
+ }
40798
+ .cxd-FormulaCodeEditor--singleLine > .CodeMirror .CodeMirror-hscrollbar,
40799
+ .cxd-FormulaCodeEditor--singleLine > .CodeMirror .CodeMirror-vscrollbar {
40800
+ display: none !important;
40801
+ }
40802
+ .cxd-FormulaCodeEditor--singleLine > .CodeMirror .CodeMirror-sizer {
40803
+ min-height: 21px !important;
40804
+ border-right-width: 0 !important;
40805
+ }
40806
+ .cxd-FormulaCodeEditor--singleLine > .CodeMirror .CodeMirror-scroll {
40807
+ height: 21px;
40808
+ margin: 0;
40809
+ padding: 0;
40810
+ overflow: hidden !important;
40811
+ }
40812
+ .cxd-FormulaCodeEditor--singleLine > .CodeMirror .CodeMirror-lines {
40813
+ padding: 0;
40814
+ }
40815
+ .cxd-InputBox > .cxd-FormulaCodeEditor {
40816
+ flex: 1;
40817
+ min-width: 0;
40818
+ }
39979
40819
  .cxd-Timeline-vertical {
39980
40820
  display: flex;
39981
40821
  flex-flow: column;
@@ -41325,6 +42165,140 @@ td.rdtQuarter.rdtDisabled:hover > span {
41325
42165
  overflow: hidden;
41326
42166
  white-space: nowrap;
41327
42167
  }
42168
+ .cxd-PdfViewer {
42169
+ position: relative;
42170
+ width: 100%;
42171
+ min-width: 300px;
42172
+ height: 100%;
42173
+ display: flex;
42174
+ justify-content: center;
42175
+ padding: 50px 0;
42176
+ }
42177
+ .cxd-PdfViewer-Content {
42178
+ width: -moz-max-content;
42179
+ width: max-content;
42180
+ max-width: 100%;
42181
+ }
42182
+ .cxd-PdfViewer-Content.is-loaded {
42183
+ box-shadow: rgba(0, 0, 0, 0.2) 0px 2px 4px 0px;
42184
+ }
42185
+ .cxd-PdfViewer-Loading {
42186
+ width: 100%;
42187
+ text-align: center;
42188
+ }
42189
+ .cxd-PdfViewer-Tool {
42190
+ position: absolute;
42191
+ z-index: 10;
42192
+ padding: 5px 15px;
42193
+ bottom: 60px;
42194
+ background-color: #444444;
42195
+ border-radius: 10px;
42196
+ color: #fff;
42197
+ text-align: center;
42198
+ -webkit-user-select: none;
42199
+ -moz-user-select: none;
42200
+ user-select: none;
42201
+ }
42202
+ .cxd-PdfViewer-Tool .gap {
42203
+ margin: 0 4px;
42204
+ }
42205
+ .cxd-PdfViewer-Tool .icon {
42206
+ cursor: pointer;
42207
+ width: 20px;
42208
+ margin: 0 10px;
42209
+ }
42210
+ .cxd-PdfViewer-Tool .icon:hover {
42211
+ color: var(--colors-brand-5);
42212
+ }
42213
+ .cxd-PdfViewer-Tool .page-input {
42214
+ width: 40px;
42215
+ }
42216
+ .cxd-Signature {
42217
+ position: relative;
42218
+ width: 100%;
42219
+ height: 100%;
42220
+ display: flex;
42221
+ flex-direction: column;
42222
+ justify-content: space-between;
42223
+ }
42224
+ .cxd-Signature-canvas {
42225
+ border: 1px dashed #aaa;
42226
+ }
42227
+ .cxd-Signature-Tool {
42228
+ height: var(--signature-tool-height);
42229
+ margin-top: var(--signature-tool-margin-top);
42230
+ }
42231
+ .cxd-Signature-Tool .actions {
42232
+ display: flex;
42233
+ justify-content: space-between;
42234
+ }
42235
+ .cxd-Signature-Tool .actions .left-actions button {
42236
+ margin-right: 5px;
42237
+ }
42238
+ .cxd-Signature-Tool .actions .right-actions button {
42239
+ margin-left: 5px;
42240
+ }
42241
+ .cxd-Signature-placeholder {
42242
+ position: absolute;
42243
+ top: 0;
42244
+ left: 0;
42245
+ right: 0;
42246
+ bottom: var(--signature-tool-height);
42247
+ text-align: center;
42248
+ display: flex;
42249
+ flex-direction: column;
42250
+ justify-content: center;
42251
+ align-items: center;
42252
+ gap: var(--signature-placeholder-gap);
42253
+ color: var(--signature-placeholder-color);
42254
+ }
42255
+ .cxd-Signature-Embed {
42256
+ display: flex;
42257
+ gap: 10px;
42258
+ }
42259
+ .cxd-Signature-Embed-Preview {
42260
+ display: flex;
42261
+ align-items: center;
42262
+ gap: 4px;
42263
+ margin-left: 10px;
42264
+ height: 30px;
42265
+ margin: 1px;
42266
+ padding: 2px;
42267
+ border: 1px dashed #aaa;
42268
+ }
42269
+ .cxd-Signature-Embed-Preview .preview-close {
42270
+ cursor: pointer;
42271
+ font-size: 14px;
42272
+ color: #aaa;
42273
+ }
42274
+ .cxd-Signature-Embed-Preview .preview-close:hover {
42275
+ color: #000;
42276
+ }
42277
+ .cxd-Signature-Embed-Preview img {
42278
+ height: 24px;
42279
+ }
42280
+ .cxd-Signature-Embed-Body {
42281
+ height: 100%;
42282
+ display: flex;
42283
+ flex-direction: column;
42284
+ }
42285
+ .cxd-Signature.is-fullScreen, .cxd-Signature-Embed-Body.is-fullScreen {
42286
+ flex-direction: row-reverse;
42287
+ justify-content: space-between;
42288
+ align-items: stretch;
42289
+ }
42290
+ .cxd-Signature.is-fullScreen .cxd-Signature-Tool, .cxd-Signature-Embed-Body.is-fullScreen .cxd-Signature-Tool {
42291
+ width: calc(var(--signature-tool-height) - var(--signature-tool-margin-top));
42292
+ height: auto;
42293
+ margin-top: 0;
42294
+ display: flex;
42295
+ justify-content: center;
42296
+ align-items: center;
42297
+ }
42298
+ .cxd-Signature.is-fullScreen .cxd-Signature-Tool .actions, .cxd-Signature-Embed-Body.is-fullScreen .cxd-Signature-Tool .actions {
42299
+ white-space: nowrap;
42300
+ transform: rotate(90deg);
42301
+ }
41328
42302
  @media print {
41329
42303
  .pe-no-print {
41330
42304
  display: none !important;