d2coreui 21.0.34 → 23.0.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 (295) hide show
  1. package/components/clipboard/clipboardUtils.d.ts +4 -3
  2. package/components/clipboard/clipboardUtils.js +47 -22
  3. package/components/clipboard/clipboardUtils.js.map +1 -1
  4. package/components/codemirror/SyntaxHighlighter.d.ts +21 -21
  5. package/components/codemirror/SyntaxHighlighter.js +45 -44
  6. package/components/codemirror/SyntaxHighlighter.js.map +1 -1
  7. package/components/collapse/expandable.d.ts +13 -12
  8. package/components/collapse/expandable.js +20 -20
  9. package/components/collapse/expandable.js.map +1 -1
  10. package/components/color/colorPicker.d.ts +20 -20
  11. package/components/color/colorPicker.js +53 -53
  12. package/components/color/colorPicker.js.map +1 -1
  13. package/components/color/colorSwatch.d.ts +13 -12
  14. package/components/color/colorSwatch.js +62 -62
  15. package/components/color/colorSwatch.js.map +1 -1
  16. package/components/color/colorUtils.d.ts +7 -7
  17. package/components/color/colorUtils.js +43 -43
  18. package/components/color/colorUtils.js.map +1 -1
  19. package/components/date/dateRangeInput.d.ts +66 -64
  20. package/components/date/dateRangeInput.js +292 -297
  21. package/components/date/dateRangeInput.js.map +1 -1
  22. package/components/date/dateRangeInputAdvancedPanel.d.ts +27 -26
  23. package/components/date/dateRangeInputAdvancedPanel.js +130 -115
  24. package/components/date/dateRangeInputAdvancedPanel.js.map +1 -1
  25. package/components/date/dateRangeInputConfirm.d.ts +31 -29
  26. package/components/date/dateRangeInputConfirm.js +132 -121
  27. package/components/date/dateRangeInputConfirm.js.map +1 -1
  28. package/components/date/dateTimeInput.d.ts +72 -69
  29. package/components/date/dateTimeInput.js +440 -412
  30. package/components/date/dateTimeInput.js.map +1 -1
  31. package/components/date/durationInput.d.ts +59 -56
  32. package/components/date/durationInput.js +269 -280
  33. package/components/date/durationInput.js.map +1 -1
  34. package/components/form/NiceFormItem.d.ts +14 -14
  35. package/components/form/NiceFormItem.js +28 -31
  36. package/components/form/NiceFormItem.js.map +1 -1
  37. package/components/grid/cell/beanAccessor.d.ts +9 -0
  38. package/components/grid/cell/beanAccessor.js +13 -0
  39. package/components/grid/cell/beanAccessor.js.map +1 -0
  40. package/components/grid/cell/cellEditorUtils.d.ts +4 -4
  41. package/components/grid/cell/cellEditorUtils.js +8 -8
  42. package/components/grid/cell/customEnumCellEditor.d.ts +4 -27
  43. package/components/grid/cell/customEnumCellEditor.js +82 -91
  44. package/components/grid/cell/customEnumCellEditor.js.map +1 -1
  45. package/components/grid/cell/dataGridCellEditorComponent.d.ts +14 -0
  46. package/components/grid/cell/dataGridCellEditorComponent.js +49 -0
  47. package/components/grid/cell/dataGridCellEditorComponent.js.map +1 -0
  48. package/components/grid/cell/dateCellEditor.d.ts +4 -25
  49. package/components/grid/cell/dateCellEditor.js +53 -72
  50. package/components/grid/cell/dateCellEditor.js.map +1 -1
  51. package/components/grid/cell/durationCellEditor.d.ts +4 -24
  52. package/components/grid/cell/durationCellEditor.js +74 -97
  53. package/components/grid/cell/durationCellEditor.js.map +1 -1
  54. package/components/grid/cell/hexaOctetStringCellEditor.d.ts +4 -24
  55. package/components/grid/cell/hexaOctetStringCellEditor.js +70 -94
  56. package/components/grid/cell/hexaOctetStringCellEditor.js.map +1 -1
  57. package/components/grid/cell/hexaValueCellEditor.d.ts +4 -24
  58. package/components/grid/cell/hexaValueCellEditor.js +65 -89
  59. package/components/grid/cell/hexaValueCellEditor.js.map +1 -1
  60. package/components/grid/cell/numberCellEditor.d.ts +4 -27
  61. package/components/grid/cell/numberCellEditor.js +73 -95
  62. package/components/grid/cell/numberCellEditor.js.map +1 -1
  63. package/components/grid/cell/rangeSelector.d.ts +78 -78
  64. package/components/grid/cell/rangeSelector.js +526 -518
  65. package/components/grid/cell/rangeSelector.js.map +1 -1
  66. package/components/grid/cell/simpleStatusTextCellEditor.d.ts +4 -32
  67. package/components/grid/cell/simpleStatusTextCellEditor.js +106 -116
  68. package/components/grid/cell/simpleStatusTextCellEditor.js.map +1 -1
  69. package/components/grid/cell/statusTextCellEditor.d.ts +4 -32
  70. package/components/grid/cell/statusTextCellEditor.js +136 -159
  71. package/components/grid/cell/statusTextCellEditor.js.map +1 -1
  72. package/components/grid/cell/tableDefaultRowStyleRules.d.ts +20 -20
  73. package/components/grid/cell/tableDefaultRowStyleRules.js +29 -18
  74. package/components/grid/cell/tableDefaultRowStyleRules.js.map +1 -1
  75. package/components/grid/cell/textCellEditor.d.ts +4 -21
  76. package/components/grid/cell/textCellEditor.js +63 -85
  77. package/components/grid/cell/textCellEditor.js.map +1 -1
  78. package/components/grid/cell/withAgGridHooks.d.ts +3 -0
  79. package/components/grid/cell/withAgGridHooks.js +15 -0
  80. package/components/grid/cell/withAgGridHooks.js.map +1 -0
  81. package/components/grid/columnUtils.d.ts +5 -5
  82. package/components/grid/columnUtils.js +26 -26
  83. package/components/grid/columnUtils.js.map +1 -1
  84. package/components/grid/config/columnTransfer.d.ts +21 -22
  85. package/components/grid/config/columnTransfer.js +205 -201
  86. package/components/grid/config/columnTransfer.js.map +1 -1
  87. package/components/grid/config/dataGridEditor.d.ts +41 -41
  88. package/components/grid/config/dataGridEditor.js +181 -160
  89. package/components/grid/config/dataGridEditor.js.map +1 -1
  90. package/components/grid/config/rowHeightCalculator.d.ts +8 -0
  91. package/components/grid/config/rowHeightCalculator.js +20 -0
  92. package/components/grid/config/rowHeightCalculator.js.map +1 -0
  93. package/components/grid/config/rowStylePicker.d.ts +27 -25
  94. package/components/grid/config/rowStylePicker.js +127 -109
  95. package/components/grid/config/rowStylePicker.js.map +1 -1
  96. package/components/grid/dataGrid.d.ts +217 -206
  97. package/components/grid/dataGrid.js +1629 -1538
  98. package/components/grid/dataGrid.js.map +1 -1
  99. package/components/grid/detail/detailHeaderPanel.d.ts +13 -13
  100. package/components/grid/detail/detailHeaderPanel.js +25 -25
  101. package/components/grid/detail/detailHeaderPanel.js.map +1 -1
  102. package/components/grid/export/contextMenu.d.ts +18 -24
  103. package/components/grid/export/contextMenu.js +116 -113
  104. package/components/grid/export/contextMenu.js.map +1 -1
  105. package/components/grid/export/progressPopup.d.ts +29 -29
  106. package/components/grid/export/progressPopup.js +93 -93
  107. package/components/grid/export/progressPopup.js.map +1 -1
  108. package/components/grid/export/worker/clipboardExport.d.ts +1 -1
  109. package/components/grid/export/worker/clipboardExport.js +8 -8
  110. package/components/grid/export/worker/csvExport.d.ts +1 -1
  111. package/components/grid/export/worker/csvExport.js +8 -8
  112. package/components/grid/export/worker/pdfExport.d.ts +1 -1
  113. package/components/grid/export/worker/pdfExport.js +81 -81
  114. package/components/grid/export/worker/pdfExport.js.map +1 -1
  115. package/components/grid/export/worker/txtExport.d.ts +1 -1
  116. package/components/grid/export/worker/txtExport.js +19 -19
  117. package/components/grid/extendedDataGrid.d.ts +140 -140
  118. package/components/grid/extendedDataGrid.js +703 -695
  119. package/components/grid/extendedDataGrid.js.map +1 -1
  120. package/components/grid/filter/customColumnFilter.d.ts +5 -21
  121. package/components/grid/filter/customColumnFilter.js +11 -82
  122. package/components/grid/filter/customColumnFilter.js.map +1 -1
  123. package/components/grid/filter/dataGridColumnFilter.d.ts +17 -0
  124. package/components/grid/filter/dataGridColumnFilter.js +49 -0
  125. package/components/grid/filter/dataGridColumnFilter.js.map +1 -0
  126. package/components/grid/filter/dateColumnFilter.d.ts +7 -11
  127. package/components/grid/filter/dateColumnFilter.js +22 -56
  128. package/components/grid/filter/dateColumnFilter.js.map +1 -1
  129. package/components/grid/filter/textColumnFilter.d.ts +8 -20
  130. package/components/grid/filter/textColumnFilter.js +24 -76
  131. package/components/grid/filter/textColumnFilter.js.map +1 -1
  132. package/components/grid/filter/wildcardQuickFilterEngine.d.ts +7 -0
  133. package/components/grid/filter/wildcardQuickFilterEngine.js +48 -0
  134. package/components/grid/filter/wildcardQuickFilterEngine.js.map +1 -0
  135. package/components/grid/header/simpleHeader.d.ts +17 -16
  136. package/components/grid/header/simpleHeader.js +230 -186
  137. package/components/grid/header/simpleHeader.js.map +1 -1
  138. package/components/grid/panel/dataGridPagination.d.ts +16 -16
  139. package/components/grid/panel/dataGridPagination.js +58 -58
  140. package/components/grid/panel/dataGridPagination.js.map +1 -1
  141. package/components/grid/panel/loadingOverlay.d.ts +6 -6
  142. package/components/grid/panel/loadingOverlay.js +10 -10
  143. package/components/grid/panel/loadingOverlay.js.map +1 -1
  144. package/components/grid/panel/noRecordsOverlay.d.ts +6 -6
  145. package/components/grid/panel/noRecordsOverlay.js +10 -10
  146. package/components/grid/panel/noRecordsOverlay.js.map +1 -1
  147. package/components/grid/panel/tablePagination.d.ts +10 -10
  148. package/components/grid/panel/tablePagination.js +45 -45
  149. package/components/grid/panel/tablePagination.js.map +1 -1
  150. package/components/icons/dropdownArrow.d.ts +8 -0
  151. package/components/icons/dropdownArrow.js +59 -0
  152. package/components/icons/dropdownArrow.js.map +1 -0
  153. package/components/icons/undoIcon.d.ts +8 -8
  154. package/components/icons/undoIcon.js +6 -6
  155. package/components/input/autoCompleteInput.d.ts +34 -35
  156. package/components/input/autoCompleteInput.js +122 -121
  157. package/components/input/autoCompleteInput.js.map +1 -1
  158. package/components/input/draftUtils.d.ts +4 -4
  159. package/components/input/draftUtils.js +48 -48
  160. package/components/input/draftUtils.js.map +1 -1
  161. package/components/input/draftail.d.ts +1 -1
  162. package/components/input/draftail.js +1 -1
  163. package/components/input/hexaFormattedInput.d.ts +16 -16
  164. package/components/input/hexaFormattedInput.js +54 -54
  165. package/components/input/hexaFormattedInput.js.map +1 -1
  166. package/components/input/mask/helpers.d.ts +28 -28
  167. package/components/input/mask/helpers.js +112 -112
  168. package/components/input/mask/helpers.js.map +1 -1
  169. package/components/input/mask/inputMaskCore.d.ts +46 -46
  170. package/components/input/mask/inputMaskCore.js +278 -278
  171. package/components/input/mask/inputMaskCore.js.map +1 -1
  172. package/components/input/mask/pattern.d.ts +20 -20
  173. package/components/input/mask/pattern.js +78 -78
  174. package/components/input/mask/pattern.js.map +1 -1
  175. package/components/input/maskedInput.d.ts +373 -351
  176. package/components/input/maskedInput.js +224 -224
  177. package/components/input/maskedInput.js.map +1 -1
  178. package/components/input/passwordInput.d.ts +9 -9
  179. package/components/input/passwordInput.js +55 -55
  180. package/components/input/passwordInput.js.map +1 -1
  181. package/components/input/simpleAutoComplete.d.ts +12 -12
  182. package/components/input/simpleAutoComplete.js +41 -43
  183. package/components/input/simpleAutoComplete.js.map +1 -1
  184. package/components/input/textarea/extractSpansOfClasses.d.ts +15 -15
  185. package/components/input/textarea/extractSpansOfClasses.js +96 -96
  186. package/components/input/textarea/extractSpansOfClasses.js.map +1 -1
  187. package/components/input/textarea/getRanges.d.ts +1 -1
  188. package/components/input/textarea/getRanges.js +73 -73
  189. package/components/input/textarea/getRanges.js.map +1 -1
  190. package/components/input/textarea/getType.d.ts +1 -1
  191. package/components/input/textarea/getType.js +26 -26
  192. package/components/input/textarea/getType.js.map +1 -1
  193. package/components/input/textarea/highlighedContents.d.ts +6 -6
  194. package/components/input/textarea/highlighedContents.js +10 -10
  195. package/components/input/textarea/mentionsWithHighlighting.d.ts +27 -27
  196. package/components/input/textarea/mentionsWithHighlighting.js +60 -60
  197. package/components/input/textarea/mentionsWithHighlighting.js.map +1 -1
  198. package/components/keyboard/keyboardUtils.d.ts +5 -5
  199. package/components/keyboard/keyboardUtils.js +32 -32
  200. package/components/modal/draggableModalProvider.d.ts +4 -4
  201. package/components/modal/draggableModalProvider.js +21 -21
  202. package/components/modal/draggableModalProvider.js.map +1 -1
  203. package/components/modal/impl/clamp.d.ts +1 -1
  204. package/components/modal/impl/clamp.js +1 -1
  205. package/components/modal/impl/clamp.js.map +1 -1
  206. package/components/modal/impl/draggableModal.d.ts +12 -12
  207. package/components/modal/impl/draggableModal.js +17 -17
  208. package/components/modal/impl/draggableModal.js.map +1 -1
  209. package/components/modal/impl/draggableModalContext.d.ts +9 -9
  210. package/components/modal/impl/draggableModalContext.js +2 -2
  211. package/components/modal/impl/draggableModalContext.js.map +1 -1
  212. package/components/modal/impl/draggableModalInner.d.ts +15 -13
  213. package/components/modal/impl/draggableModalInner.js +57 -55
  214. package/components/modal/impl/draggableModalInner.js.map +1 -1
  215. package/components/modal/impl/draggableModalReducer.d.ts +66 -62
  216. package/components/modal/impl/draggableModalReducer.js +77 -78
  217. package/components/modal/impl/draggableModalReducer.js.map +1 -1
  218. package/components/modal/impl/getWindowSize.d.ts +4 -4
  219. package/components/modal/impl/getWindowSize.js +4 -4
  220. package/components/modal/impl/getWindowSize.js.map +1 -1
  221. package/components/modal/impl/index.d.ts +3 -3
  222. package/components/modal/impl/index.js +3 -3
  223. package/components/modal/impl/index.js.map +1 -1
  224. package/components/modal/impl/resizeHandle.d.ts +3 -3
  225. package/components/modal/impl/resizeHandle.js +4 -4
  226. package/components/modal/impl/resizeHandle.js.map +1 -1
  227. package/components/modal/impl/useDrag.d.ts +5 -5
  228. package/components/modal/impl/useDrag.js +42 -42
  229. package/components/modal/impl/useDrag.js.map +1 -1
  230. package/components/modal/impl/usePrevious.d.ts +1 -1
  231. package/components/modal/impl/usePrevious.js +8 -8
  232. package/components/modal/impl/usePrevious.js.map +1 -1
  233. package/components/modal/impl/useResize.d.ts +7 -7
  234. package/components/modal/impl/useResize.js +46 -46
  235. package/components/modal/impl/useResize.js.map +1 -1
  236. package/components/modal/modalDialog.d.ts +49 -49
  237. package/components/modal/modalDialog.js +152 -152
  238. package/components/modal/modalDialog.js.map +1 -1
  239. package/components/picker/enumValuePicker.d.ts +16 -16
  240. package/components/picker/enumValuePicker.js +34 -34
  241. package/components/picker/enumValuePicker.js.map +1 -1
  242. package/components/platformSpecific.d.ts +10 -10
  243. package/components/platformSpecific.js +27 -27
  244. package/components/scrollTo/onlyText.d.ts +4 -4
  245. package/components/scrollTo/onlyText.js +30 -30
  246. package/components/scrollTo/onlyText.js.map +1 -1
  247. package/components/scrollTo/scrollTo.d.ts +41 -39
  248. package/components/scrollTo/scrollTo.js +264 -264
  249. package/components/scrollTo/scrollTo.js.map +1 -1
  250. package/components/style/withCss.d.ts +9 -0
  251. package/components/style/withCss.js +6 -0
  252. package/components/style/withCss.js.map +1 -0
  253. package/components/style/withInputNumberCss.d.ts +6 -0
  254. package/components/style/withInputNumberCss.js +13 -0
  255. package/components/style/withInputNumberCss.js.map +1 -0
  256. package/components/table/dragSortingTable.d.ts +13 -14
  257. package/components/table/dragSortingTable.js +96 -82
  258. package/components/table/dragSortingTable.js.map +1 -1
  259. package/components/text/impl/innerSize.d.ts +2 -2
  260. package/components/text/impl/innerSize.js +12 -12
  261. package/components/text/impl/series.d.ts +1 -1
  262. package/components/text/impl/series.js +28 -28
  263. package/components/text/impl/shallowEqual.d.ts +1 -1
  264. package/components/text/impl/shallowEqual.js +18 -18
  265. package/components/text/impl/shallowEqual.js.map +1 -1
  266. package/components/text/impl/uniqueId.d.ts +1 -1
  267. package/components/text/impl/uniqueId.js +4 -4
  268. package/components/text/impl/whilst.d.ts +1 -1
  269. package/components/text/impl/whilst.js +19 -19
  270. package/components/text/impl/whilst.js.map +1 -1
  271. package/components/text/textFit.d.ts +38 -38
  272. package/components/text/textFit.js +165 -168
  273. package/components/text/textFit.js.map +1 -1
  274. package/i18n/components.cs.json +101 -100
  275. package/i18n/components.sk.json +101 -100
  276. package/i18n/components.uk.json +101 -100
  277. package/i18n/componentsLocaleHolder.d.ts +3 -3
  278. package/i18n/componentsLocaleHolder.js +28 -28
  279. package/i18n/componentsLocaleHolder.js.map +1 -1
  280. package/package.json +70 -70
  281. package/style/index.less +245 -298
  282. package/style/modal/DraggableModal.css +43 -40
  283. package/style/modal/ResizeHandle.css +27 -19
  284. package/tsconfig.build.json +24 -24
  285. package/tsconfig.json +11 -11
  286. package/components/grid/cell/wildcardQuickFilter.d.ts +0 -11
  287. package/components/grid/cell/wildcardQuickFilter.js +0 -61
  288. package/components/grid/cell/wildcardQuickFilter.js.map +0 -1
  289. package/components/table/dataTable.d.ts +0 -17
  290. package/components/table/dataTable.js +0 -79
  291. package/components/table/dataTable.js.map +0 -1
  292. package/style/antd/antd-tree-showline.css +0 -25
  293. package/style/antd/full-height-tabs.scss +0 -63
  294. package/style/draftail/draftail-editor.css +0 -179
  295. package/style/table/dragSortingTable.css +0 -7
package/style/index.less CHANGED
@@ -1,299 +1,246 @@
1
- @import "antd/dist/antd.less";
2
-
3
- //@primary-color: #5B83AD;
4
- @tree-node-padding: 2px;
5
- @page-header-padding: 12px;
6
-
7
- @pageheader-prefix-cls: ~'@{ant-prefix}-page-header';
8
- .@{pageheader-prefix-cls} {
9
- &-heading {
10
- &-title {
11
- font-size: @heading-4-size;
12
- }
13
- }
14
- }
15
-
16
- .ant-tree .ant-tree-switcher {
17
- height: 26px;
18
- }
19
-
20
- .stronger-divider-with-text.ant-divider-horizontal.ant-divider-with-text-center::before,
21
- .stronger-divider-with-text.ant-divider-horizontal.ant-divider-with-text-center::after {
22
- border-top: 1px solid #bbb;
23
- }
24
-
25
- .stronger-divider.ant-divider-horizontal {
26
- border-top: 1px solid #bbb;
27
- }
28
-
29
- .dictionary-autocomplete > textarea {
30
- width: calc(100% - 2rem);
31
- }
32
-
33
- .autocomplete-open {
34
- .dropdown-arrow {
35
- &-icon svg {
36
- transform: rotate(180deg);
37
- }
38
- }
39
- }
40
-
41
- .ant-tabs-content-left, .ant-tabs-tabpane-active {
42
- height: 100% !important;
43
- }
44
-
45
- .dropdown-arrow {
46
- .iconfont-mixin();
47
- transform-origin: 50% 50%;
48
- margin-left: @control-padding-horizontal-sm;
49
-
50
- &-icon {
51
- color: @disabled-color;
52
- font-size: @font-size-sm;
53
- vertical-align: center;
54
- cursor: pointer;
55
- transition: color 0.3s;
56
-
57
- &:hover {
58
- color: @text-color-secondary;
59
- }
60
-
61
- &:active {
62
- color: @text-color;
63
- }
64
-
65
- + i {
66
- margin-left: 6px;
67
- }
68
- }
69
-
70
- & &-icon svg {
71
- transition: transform 0.3s;
72
- }
73
- }
74
-
75
- // fixing input group button selection
76
- .ant-input-group > .ant-btn:hover {
77
- z-index: 2;
78
- }
79
-
80
- .ant-collapse-borderless {
81
- background-color: white;
82
- }
83
-
84
- // special tooltips
85
- .control-panel-popover .ant-popover-arrow {
86
- border-top-color: #fafafa !important;
87
- border-left-color: #fafafa !important;
88
- }
89
-
90
- .control-panel-popover .ant-popover-inner {
91
- background-color: #fafafa;
92
- }
93
-
94
- // table
95
- .react-resizable {
96
- position: relative;
97
- background-clip: padding-box;
98
- }
99
-
100
- .react-resizable-handle {
101
- position: absolute;
102
- width: 10px;
103
- height: 100%;
104
- bottom: 0;
105
- right: -5px;
106
- cursor: col-resize;
107
- z-index: 1;
108
- }
109
-
110
- .ant-table th {
111
- white-space: nowrap;
112
- }
113
-
114
- .ant-table-body {
115
- overflow-x: auto !important;
116
- }
117
-
118
- @table-padding-vertical-xsm: @table-padding-vertical / 4;
119
- @table-padding-horizontal-xsm: @table-padding-horizontal / 4;
120
- .datatable-xsm {
121
- thead > tr > th,
122
- tbody > tr > td {
123
- padding: @table-padding-vertical-xsm @table-padding-horizontal-xsm !important;
124
- }
125
- }
126
-
127
- .ant-transfer-list-header {
128
- text-align: right;
129
- }
130
-
131
- .ant-transfer-list-header-title {
132
- left: 12px;
133
- right: unset !important;
134
- }
135
-
136
- .ant-modal-content {
137
- resize: both;
138
- }
139
-
140
- .ant-descriptions-view {
141
- overflow: auto;
142
- }
143
-
144
- .selected:focus {
145
- outline: none;
146
- }
147
-
148
- .search-string-not-found .ant-tooltip-inner {
149
- color: #ff4d4f;
150
- }
151
-
152
- .disabled .ant-input-disabled {
153
- color: rgba(0, 0, 0, 0.65);
154
- }
155
-
156
- .disabled .ant-input-number-input {
157
- color: rgba(0, 0, 0, 0.65);
158
- }
159
-
160
- .ant-descriptions-item-label {
161
- white-space: nowrap;
162
- }
163
-
164
- .readonly {
165
- background-color: @disabled-bg;
166
- cursor: not-allowed;
167
- }
168
-
169
- .readonly:hover {
170
- background-color: @disabled-bg;
171
- }
172
-
173
- .readonly span {
174
- background-color: @disabled-bg;
175
- }
176
-
177
- .readonly input {
178
- color: rgba(0, 0, 0, 0.65);
179
- background-color: @disabled-bg;
180
- }
181
-
182
- .select-with-one-item .ant-select-selector {
183
- height: 28px;
184
- overflow: auto;
185
- }
186
-
187
- .ant-select-selection-item {
188
- max-width: calc(100% - 16px);
189
- }
190
-
191
- .public-DraftEditor-content {
192
- max-height: 100px !important;
193
- overflow: auto !important;
194
- }
195
-
196
- .Draftail-Editor .public-DraftEditorPlaceholder-inner {
197
- color: #cccccc !important;
198
- }
199
-
200
- .Draftail-Editor .public-DraftEditorPlaceholder:focus {
201
- color: #525760 !important;
202
- }
203
-
204
- .invalid input {
205
- color: red;
206
- }
207
-
208
- .custom-date-time-picker .ant-input-affix-wrapper {
209
- padding-right: 26px;
210
- }
211
-
212
- .custom-date-time-picker .ant-input-affix-wrapper {
213
- padding-right: 26px;
214
- }
215
-
216
- .date-range-picker-popup .ant-tooltip-inner {
217
- width: 538px;
218
- }
219
-
220
-
221
- // adaptations of date-picker calendar styles
222
- .ant-picker-cell-in-view.ant-picker-cell-selected .ant-picker-cell-inner:not(.date-picker-item-marked) {
223
- color: inherit;
224
- background: inherit;
225
- }
226
-
227
- //.ant-picker-cell-in-view.ant-picker-cell-selected .ant-picker-cell-inner.date-picker-item-marked {
228
- // border: 1px solid #595959;
229
- //}
230
-
231
- .ant-picker-panel:focus > .ant-picker-date-panel .ant-picker-cell-in-view.ant-picker-cell-selected .ant-picker-cell-inner:before {
232
- position: absolute;
233
- top: 0;
234
- right: 0;
235
- bottom: 0;
236
- left: 0;
237
- z-index: 1;
238
- border: 1px solid #096dd9;
239
- border-radius: 2px;
240
- content: '';
241
- }
242
-
243
- .ant-picker-content thead {
244
- user-select: none;
245
- }
246
-
247
- .date-picker-item-marked {
248
- color: #fff;
249
- background: #1890ff;
250
- }
251
-
252
- .ant-picker-cell-in-view.ant-picker-cell-today .ant-picker-cell-inner::before {
253
- border: 1px solid #13c2c2;
254
- }
255
-
256
- .ant-picker-cell:hover:not(.ant-picker-cell-in-view) .ant-picker-cell-inner, .ant-picker-cell:hover:not(.ant-picker-cell-selected):not(.ant-picker-cell-range-start):not(.ant-picker-cell-range-end):not(.ant-picker-cell-range-hover-start):not(.ant-picker-cell-range-hover-end) .ant-picker-cell-inner {
257
- background: #1890ff;
258
- color: rgba(0, 0, 0, 0.85);
259
- }
260
-
261
- .react-codemirror2.ant-input {
262
- padding: 0;
263
- }
264
-
265
- .CodeMirror {
266
- height: auto !important;
267
- max-height: 90px;
268
- }
269
-
270
- .CodeMirror-scroll {
271
- height: auto;
272
- max-height: 90px;
273
- }
274
-
275
- .CodeMirror-line {
276
- padding-right: 28px !important;
277
- }
278
-
279
- .code-disabled .CodeMirror {
280
- background-color: #f5f5f5;
281
- }
282
-
283
- .ReactCollapse--collapse {
284
- transition: height 500ms;
285
- }
286
-
287
- .hoverable-primary-ghost-button:hover {
288
- color: #fff !important;
289
- background-color: #1890ff !important;
290
- transform: scale(1.08);
291
- }
292
-
293
- .ant-drawer-close {
294
- box-shadow: none;
295
- }
296
-
297
- .ant-drawer-close {
298
- box-shadow: none;
1
+ // @tree-node-padding: 2px;
2
+ @import '~antd/dist/reset.css';
3
+
4
+ body {
5
+ font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,
6
+ 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
7
+ 'Noto Color Emoji';
8
+ }
9
+
10
+ .ant-tree .ant-tree-switcher {
11
+ height: 26px;
12
+ }
13
+
14
+ .stronger-divider-with-text.ant-divider-horizontal.ant-divider-with-text-center::before,
15
+ .stronger-divider-with-text.ant-divider-horizontal.ant-divider-with-text-center::after {
16
+ border-top: 1px solid #bbb;
17
+ }
18
+
19
+ .stronger-divider.ant-divider-horizontal {
20
+ border-top: 1px solid #bbb;
21
+ }
22
+
23
+ .dictionary-autocomplete > textarea {
24
+ width: calc(100% - 2rem);
25
+ }
26
+
27
+ .ant-tabs-content-left, .ant-tabs-tabpane-active {
28
+ height: 100% !important;
29
+ }
30
+
31
+
32
+ // fixing input group button selection
33
+ .ant-input-group > .ant-btn:hover {
34
+ z-index: 2;
35
+ }
36
+
37
+ .ant-collapse-borderless {
38
+ background-color: white;
39
+ }
40
+
41
+ // special tooltips
42
+ .control-panel-popover .ant-popover-arrow {
43
+ border-top-color: #fafafa !important;
44
+ border-left-color: #fafafa !important;
45
+ }
46
+
47
+ .control-panel-popover .ant-popover-inner {
48
+ background-color: #fafafa;
49
+ }
50
+
51
+ // table
52
+ .react-resizable {
53
+ position: relative;
54
+ background-clip: padding-box;
55
+ }
56
+
57
+ .react-resizable-handle {
58
+ position: absolute;
59
+ width: 10px;
60
+ height: 100%;
61
+ bottom: 0;
62
+ right: -5px;
63
+ cursor: col-resize;
64
+ z-index: 1;
65
+ }
66
+
67
+ .ant-table th {
68
+ white-space: nowrap;
69
+ }
70
+
71
+ .ant-table-body {
72
+ overflow-x: auto !important;
73
+ }
74
+
75
+ .ant-transfer-list-header {
76
+ text-align: right;
77
+ }
78
+
79
+ .ant-transfer-list-header-title {
80
+ left: 12px;
81
+ right: unset !important;
82
+ }
83
+
84
+ .ant-descriptions-view {
85
+ overflow: auto;
86
+ }
87
+
88
+ .selected:focus {
89
+ outline: none;
90
+ }
91
+
92
+ .search-string-not-found .ant-tooltip-inner {
93
+ color: #ff4d4f;
94
+ }
95
+
96
+ .disabled .ant-input-disabled {
97
+ color: rgba(0, 0, 0, 0.65);
98
+ }
99
+
100
+ .disabled .ant-input-number-input, .disabled .d2-input-number-input {
101
+ color: rgba(0, 0, 0, 0.65);
102
+ }
103
+
104
+ .ant-descriptions-item-label {
105
+ white-space: nowrap;
106
+ }
107
+
108
+ .select-with-one-item .ant-select-selector {
109
+ height: 28px;
110
+ overflow: auto;
111
+ }
112
+
113
+ .ant-select-selection-item {
114
+ max-width: calc(100% - 16px);
115
+ }
116
+
117
+ .invalid input {
118
+ color: red;
119
+ }
120
+
121
+ .custom-date-time-picker .ant-input-affix-wrapper {
122
+ padding-right: 26px;
123
+ }
124
+
125
+ .custom-date-time-picker .ant-input-affix-wrapper {
126
+ padding-right: 26px;
127
+ }
128
+
129
+ .date-range-picker-popup .ant-tooltip-inner {
130
+ width: 538px;
131
+ }
132
+
133
+ .ReactCollapse--collapse {
134
+ transition: height 500ms;
135
+ }
136
+
137
+ .ant-drawer-close {
138
+ box-shadow: none;
139
+ background: transparent;
140
+ border: 0;
141
+ color: rgba(0,0,0,.45);
142
+ cursor: pointer;
143
+ display: block;
144
+ font-size: 16px;
145
+ font-style: normal;
146
+ font-weight: 700;
147
+ line-height: 1;
148
+ outline: 0;
149
+ padding: 20px;
150
+ position: absolute;
151
+ right: 0;
152
+ text-align: center;
153
+ text-decoration: none;
154
+ text-rendering: auto;
155
+ text-transform: none;
156
+ top: 0;
157
+ transition: color .3s;
158
+ z-index: 10;
159
+ }
160
+
161
+ // oprava pozicie title textu vo filter paneloch
162
+ .d2-drawer-header {
163
+ position: relative;
164
+ padding: 16px 24px;
165
+ color: rgba(0, 0, 0, 0.85);
166
+ background: #fff;
167
+ border-bottom: 1px solid #f0f0f0;
168
+ border-radius: 2px 2px 0 0;
169
+ }
170
+
171
+ .d2-drawer-title {
172
+ margin: 0;
173
+ color: rgba(0, 0, 0, 0.85);
174
+ font-weight: 500;
175
+ font-size: 16px;
176
+ line-height: 22px;
177
+ }
178
+
179
+ // oprava nevyraznej farby srafovania dividera
180
+ .ant-divider-with-text.ant-divider-dashed:before, .ant-divider-with-text.ant-divider-dashed:after {
181
+ border-block-start-color: rgba(0, 0, 0, 0.85);
182
+ }
183
+
184
+ // oprava page heading
185
+ .d2-page-header-heading-left {
186
+ display: flex;
187
+ align-items: center;
188
+ margin: 4px 0;
189
+ overflow: hidden;
190
+ }
191
+
192
+ .d2-page-header-compact .d2-page-header-heading {
193
+ flex-wrap: wrap;
194
+ }
195
+
196
+ .d2-page-header-heading {
197
+ display: flex;
198
+ justify-content: space-between;
199
+ }
200
+
201
+ .d2-page-header {
202
+ box-sizing: border-box;
203
+ margin: 0;
204
+ padding: 0;
205
+ color: rgba(0, 0, 0, 0.85);
206
+ font-size: 14px;
207
+ font-variant: tabular-nums;
208
+ line-height: 1.5715;
209
+ list-style: none;
210
+ font-feature-settings: 'tnum';
211
+ position: relative;
212
+ padding: 16px 12px;
213
+ background-color: #fff;
214
+ }
215
+
216
+ .d2-page-header-back {
217
+ margin-right: 16px;
218
+ font-size: 16px;
219
+ line-height: 1;
220
+ }
221
+
222
+ .d2-page-header-heading-title {
223
+ margin-right: 12px;
224
+ margin-bottom: 0;
225
+ color: rgba(0, 0, 0, 0.85);
226
+ font-weight: 600;
227
+ font-size: 20px;
228
+ line-height: 32px;
229
+ overflow: hidden;
230
+ white-space: nowrap;
231
+ text-overflow: ellipsis;
232
+ }
233
+
234
+ .d2-page-header-heading-left .ant-input-borderless {
235
+ font-size: 18px !important;
236
+ }
237
+
238
+ .d2-page-header-heading-extra {
239
+ margin: 4px 0;
240
+ white-space: nowrap;
241
+ }
242
+
243
+ .d2-page-header-heading-extra > * {
244
+ margin-left: 12px;
245
+ white-space: unset;
299
246
  }
@@ -1,40 +1,43 @@
1
- .ant-design-draggable-modal {
2
- overflow: hidden !important;
3
- }
4
-
5
- .ant-design-draggable-modal .ant-modal {
6
- display: flex;
7
- max-width: none;
8
- transform-origin: 50% 50% !important;
9
- }
10
-
11
- .ant-design-draggable-modal .ant-modal-content {
12
- flex: 1;
13
- display: flex;
14
- flex-direction: column;
15
- }
16
-
17
- .ant-design-draggable-modal .ant-modal-header {
18
- flex: 0;
19
- padding: 0;
20
- }
21
-
22
- .ant-design-draggable-modal .ant-modal-footer {
23
- flex: 0;
24
- padding: 16px;
25
- }
26
-
27
- .ant-design-draggable-modal .ant-design-draggable-modal-title {
28
- cursor: move;
29
- padding: 16px;
30
- }
31
-
32
- .ant-design-draggable-modal .ant-design-draggable-modal-title::before {
33
- content: '\00a0';
34
- }
35
-
36
- .ant-design-draggable-modal .ant-modal-body {
37
- flex: 1;
38
- overflow-y: auto;
39
- padding: 16px;
40
- }
1
+ .ant-design-draggable-modal {
2
+ pointer-events: none;
3
+ overflow: hidden !important;
4
+ }
5
+
6
+ .ant-design-draggable-modal .ant-modal {
7
+ display: flex;
8
+ max-width: none;
9
+ transform-origin: 50% 50% !important;
10
+ }
11
+
12
+ .ant-design-draggable-modal .ant-modal-content {
13
+ flex: 1;
14
+ display: flex;
15
+ flex-direction: column;
16
+ height: 100%;
17
+ width: 100%;
18
+ }
19
+
20
+ .ant-design-draggable-modal .ant-modal-header {
21
+ flex: 0;
22
+ padding: 0;
23
+ }
24
+
25
+ .ant-design-draggable-modal .ant-modal-footer {
26
+ flex: 0;
27
+ padding: 16px;
28
+ }
29
+
30
+ .ant-design-draggable-modal .ant-design-draggable-modal-title {
31
+ cursor: move;
32
+ padding: 16px;
33
+ }
34
+
35
+ .ant-design-draggable-modal .ant-design-draggable-modal-title::before {
36
+ content: '\00a0';
37
+ }
38
+
39
+ .ant-design-draggable-modal .ant-modal-body {
40
+ flex: 1;
41
+ overflow-y: auto;
42
+ padding: 16px;
43
+ }
@@ -1,19 +1,27 @@
1
- .ant-design-draggable-modal-resize-handle-inner {
2
- width: 12px;
3
- right: 14px;
4
- border: 2px solid grey;
5
- height: 12px;
6
- bottom: 14px;
7
- position: absolute;
8
- border-top: 0;
9
- border-left: 0;
10
- }
11
-
12
- .ant-design-draggable-modal-resize-handle {
13
- right: -10px;
14
- width: 44px;
15
- bottom: -10px;
16
- cursor: se-resize;
17
- height: 44px;
18
- position: absolute;
19
- }
1
+ .ant-design-draggable-modal-resize-handle-inner {
2
+ width: 12px;
3
+ right: 14px;
4
+ border: 2px solid grey;
5
+ height: 12px;
6
+ bottom: 14px;
7
+ position: absolute;
8
+ border-top: 0;
9
+ border-left: 0;
10
+ }
11
+
12
+ .ant-design-draggable-modal-resize-handle {
13
+ right: -10px;
14
+ width: 44px;
15
+ bottom: -10px;
16
+ cursor: se-resize;
17
+ height: 44px;
18
+ position: absolute;
19
+ }
20
+
21
+ .ant-modal > div{
22
+ width: 100%;
23
+ }
24
+
25
+ .ant-modal-content {
26
+ resize: both;
27
+ }