@vtx/modals2 5.0.13 → 5.0.15

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 (160) hide show
  1. package/lib/_components/vm-extra-tab/style/index.less +1 -1
  2. package/lib/_components/vm-factor/index.js +1 -1
  3. package/lib/_components/vm-factor-list/index.js +4 -1
  4. package/lib/_components/vm-filter/style/index.less +4 -3
  5. package/lib/_components/vm-pie-charts/index.js +3 -0
  6. package/lib/_components/vm-wrapper/style/index.less +1 -1
  7. package/lib/_util/iconSvgHtml.js +653 -224
  8. package/lib/index.js +4 -1
  9. package/lib/style/index.less +1 -6
  10. package/lib/vtx-base-modal/Tabs/index.js +28 -3
  11. package/lib/vtx-base-modal/index.js +2 -2
  12. package/lib/vtx-base-modal/style/index.less +3 -1
  13. package/lib/vtx-car-modal/index.js +29 -29
  14. package/lib/vtx-cc-cp-modal/index.js +6 -6
  15. package/lib/vtx-cc-unit-modal/index.js +6 -6
  16. package/lib/vtx-cp-modal/index.js +10 -14
  17. package/lib/vtx-default-modal/components/BaseInfo/index.less +1 -0
  18. package/lib/vtx-default-modal/index.js +3 -3
  19. package/lib/vtx-device-modal/index.js +5 -5
  20. package/lib/vtx-df-modal/index.js +5 -6
  21. package/lib/vtx-housing-estate-modal/index.js +1 -1
  22. package/lib/vtx-jzlj-gcxm-modal/components/Base/index.js +20 -0
  23. package/lib/vtx-jzlj-gcxm-modal/components/index.js +2 -0
  24. package/lib/vtx-jzlj-gcxm-modal/index.js +77 -0
  25. package/lib/vtx-jzlj-gcxm-modal/style/index.js +1 -0
  26. package/lib/vtx-jzlj-gcxm-modal/style/index.less +1 -0
  27. package/lib/vtx-qyry-modal/index.js +6 -6
  28. package/lib/vtx-restaurant-modal/index.js +6 -6
  29. package/lib/vtx-road-modal/components/BaseInfo/index.less +34 -31
  30. package/lib/vtx-road-modal/index.js +3 -3
  31. package/lib/vtx-shxq-modal/components/BaseInfo/index.js +1 -1
  32. package/lib/vtx-shxq-modal/components/Tfd/index.js +1 -1
  33. package/lib/vtx-shxq-modal/components/Tfd/index.less +6 -0
  34. package/lib/vtx-shxq-modal/components/ThrowRecord/index.js +1 -1
  35. package/lib/vtx-shxq-modal/index.js +2 -2
  36. package/lib/vtx-staff-modal/index.js +5 -9
  37. package/lib/vtx-tfd-modal/index.js +2 -2
  38. package/lib/vtx-wr-modal/components/Base/Ptss.js +71 -31
  39. package/lib/vtx-wr-modal/components/Base/assets/alert.png +0 -0
  40. package/lib/vtx-wr-modal/components/Base/index.js +15 -3
  41. package/lib/vtx-wr-modal/components/Base/index.less +14 -1
  42. package/lib/vtx-wr-modal/index.js +3 -1
  43. package/lib/vtx-zf-modal/components/Base/index.js +64 -40
  44. package/lib/vtx-zf-modal/components/Base/index.less +0 -1
  45. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/ckeditor.d.ts +109 -0
  46. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/ckeditor.js +5 -0
  47. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/ckeditor.js.map +1 -0
  48. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/af.js +33 -0
  49. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/ar.js +222 -0
  50. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/ast.js +109 -0
  51. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/az.js +221 -0
  52. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/bg.js +222 -0
  53. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/bn.js +222 -0
  54. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/bs.js +80 -0
  55. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/ca.js +222 -0
  56. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/cs.js +222 -0
  57. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/da.js +222 -0
  58. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/de-ch.js +220 -0
  59. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/de.js +222 -0
  60. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/el.js +222 -0
  61. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/en-au.js +222 -0
  62. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/en-gb.js +215 -0
  63. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/en.js +92 -0
  64. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/eo.js +120 -0
  65. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/es-co.js +36 -0
  66. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/es.js +222 -0
  67. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/et.js +222 -0
  68. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/eu.js +121 -0
  69. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/fa.js +222 -0
  70. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/fi.js +222 -0
  71. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/fr.js +222 -0
  72. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/gl.js +222 -0
  73. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/gu.js +22 -0
  74. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/he.js +222 -0
  75. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/hi.js +222 -0
  76. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/hr.js +222 -0
  77. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/hu.js +222 -0
  78. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/id.js +222 -0
  79. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/it.js +222 -0
  80. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/ja.js +222 -0
  81. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/jv.js +106 -0
  82. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/kk.js +13 -0
  83. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/km.js +127 -0
  84. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/kn.js +121 -0
  85. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/ko.js +222 -0
  86. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/ku.js +219 -0
  87. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/lt.js +222 -0
  88. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/lv.js +222 -0
  89. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/ms.js +222 -0
  90. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/nb.js +199 -0
  91. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/ne.js +215 -0
  92. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/nl.js +222 -0
  93. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/no.js +222 -0
  94. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/oc.js +21 -0
  95. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/pl.js +222 -0
  96. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/pt-br.js +222 -0
  97. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/pt.js +222 -0
  98. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/ro.js +222 -0
  99. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/ru.js +222 -0
  100. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/si.js +76 -0
  101. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/sk.js +222 -0
  102. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/sl.js +78 -0
  103. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/sq.js +208 -0
  104. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/sr-latn.js +222 -0
  105. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/sr.js +222 -0
  106. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/sv.js +222 -0
  107. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/th.js +222 -0
  108. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/tk.js +220 -0
  109. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/tr.js +222 -0
  110. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/tt.js +170 -0
  111. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/ug.js +205 -0
  112. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/uk.js +222 -0
  113. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/ur.js +222 -0
  114. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/uz.js +220 -0
  115. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/vi.js +222 -0
  116. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/zh-cn.js +222 -0
  117. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/zh.js +222 -0
  118. package/lib/vtx-zf-modal/components/CkEditorCustom/context/Event.js +42 -0
  119. package/lib/vtx-zf-modal/components/CkEditorCustom/context/context.js +98 -0
  120. package/lib/vtx-zf-modal/components/CkEditorCustom/context/index.js +3 -0
  121. package/lib/vtx-zf-modal/components/CkEditorCustom/context/useContextComponent.js +16 -0
  122. package/lib/vtx-zf-modal/components/CkEditorCustom/index.js +294 -0
  123. package/lib/vtx-zf-modal/components/CkEditorCustom/index.less +133 -0
  124. package/lib/vtx-zf-modal/components/CkEditorCustom/utils/util.js +67 -0
  125. package/lib/vtx-zf-modal/components/CkEditorCustom/view.js +216 -0
  126. package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/CKModal.js +77 -0
  127. package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/OpenPanelCommand.js +31 -0
  128. package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/config.js +146 -0
  129. package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/editableDiv/FormView.js +92 -0
  130. package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/editableDiv/index.js +341 -0
  131. package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/editableDiv/index.less +1 -0
  132. package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/input/FormView.js +94 -0
  133. package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/input/date.js +334 -0
  134. package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/input/index.js +330 -0
  135. package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/input/index.less +36 -0
  136. package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/radio/FormView.js +93 -0
  137. package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/radio/checkbox.js +335 -0
  138. package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/radio/index.js +335 -0
  139. package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/radio/index.less +35 -0
  140. package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/sign/FormView.js +94 -0
  141. package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/sign/index.js +338 -0
  142. package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/sign/index.less +1 -0
  143. package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/style.less +92 -0
  144. package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/textarea/FormView.js +94 -0
  145. package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/textarea/index.js +328 -0
  146. package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/textarea/index.less +1 -0
  147. package/lib/vtx-zf-modal/components/Document/index.js +84 -0
  148. package/lib/vtx-zf-modal/components/Document/index.less +47 -0
  149. package/lib/vtx-zf-modal/components/File/index.js +192 -0
  150. package/lib/vtx-zf-modal/components/File/index.less +43 -0
  151. package/lib/vtx-zf-modal/components/Process/index.js +189 -5
  152. package/lib/vtx-zf-modal/components/Process/index.less +69 -15
  153. package/lib/vtx-zf-modal/components/Record/index.js +116 -0
  154. package/lib/vtx-zf-modal/components/Record/index.less +34 -0
  155. package/lib/vtx-zf-modal/components/Right/index.js +6 -7
  156. package/lib/vtx-zf-modal/components/index.js +4 -1
  157. package/lib/vtx-zf-modal/index.js +28 -10
  158. package/lib/vtx-zf-modal/style/index.js +4 -0
  159. package/lib/vtx-zzz-modal/style/index.js +1 -0
  160. package/package.json +2 -1
@@ -24,7 +24,7 @@
24
24
  white-space: nowrap;
25
25
  &-item {
26
26
  height: 28px;
27
- width: 28px;
27
+ min-width: 28px;
28
28
  text-align: center;
29
29
  &:first-child {
30
30
  border-top-left-radius: 6px;
@@ -42,7 +42,7 @@ export default function VmFactor(_ref) {
42
42
  return /*#__PURE__*/_jsxs("div", {
43
43
  className: "".concat(prefix, " ").concat(isDark ? 'isDark' : ''),
44
44
  style: style,
45
- children: [/*#__PURE__*/_jsx("div", {
45
+ children: [img && /*#__PURE__*/_jsx("div", {
46
46
  children: /*#__PURE__*/_jsx("img", {
47
47
  src: img
48
48
  })
@@ -12,13 +12,16 @@ import { createElement as _createElement } from "react";
12
12
  import { jsx as _jsx } from "react/jsx-runtime";
13
13
  var VmFactorList = function VmFactorList(_ref) {
14
14
  var _ref$list = _ref.list,
15
- list = _ref$list === void 0 ? [] : _ref$list;
15
+ list = _ref$list === void 0 ? [] : _ref$list,
16
+ _ref$style = _ref.style,
17
+ style = _ref$style === void 0 ? {} : _ref$style;
16
18
  var _useSettings = useSettings(),
17
19
  isDark = _useSettings.isDark;
18
20
  return /*#__PURE__*/_jsx("div", {
19
21
  className: classNames('vm-factor-list-wrap', {
20
22
  dark: isDark
21
23
  }),
24
+ style: style,
22
25
  children: list.map(function (item) {
23
26
  return /*#__PURE__*/_createElement(VmFactor, _objectSpread(_objectSpread({}, item), {}, {
24
27
  key: item.name
@@ -18,6 +18,7 @@
18
18
  }
19
19
  background-color: var(--bg-color) !important;
20
20
  border: var(--border) !important;
21
+ border-radius: 6px;
21
22
 
22
23
  .ant-picker-suffix {
23
24
  color: var(--color);
@@ -59,7 +60,7 @@
59
60
 
60
61
  .ant-select-selector {
61
62
  background: var(--bg-color) !important;
62
- border-radius: 8px !important;
63
+ border-radius: 6px !important;
63
64
  border: 1px solid var(--border-color) !important;
64
65
  }
65
66
  .ant-select-selection-placeholder {
@@ -87,7 +88,7 @@
87
88
  .vm-input {
88
89
  color: var(--color);
89
90
  background: var(--bg-color);
90
- border-radius: 8px;
91
+ border-radius: 6px;
91
92
  border: 1px solid var(--bg-color);
92
93
  &:hover {
93
94
  border: 1px solid var(--hover-color);
@@ -95,7 +96,7 @@
95
96
  .ant-input {
96
97
  color: var(--color);
97
98
  background: var(--bg-color);
98
- border-radius: 8px;
99
+ border-radius: 6px;
99
100
  border: 1px solid var(--bg-color);
100
101
  }
101
102
  }
@@ -155,6 +155,9 @@ var PieCharts = function PieCharts(_ref) {
155
155
  children: loading ? /*#__PURE__*/_jsx(Spin, {}) : /*#__PURE__*/_jsxs(_Fragment, {
156
156
  children: [/*#__PURE__*/_jsxs("div", {
157
157
  className: 'vtx-car-pie-charts-title-wrap',
158
+ style: {
159
+ left: (center === null || center === void 0 ? void 0 : center[0]) || '25%'
160
+ },
158
161
  children: [/*#__PURE__*/_jsx("div", {
159
162
  className: 'vtx-car-pie-charts-total',
160
163
  style: {
@@ -53,7 +53,7 @@
53
53
  display: flex;
54
54
  flex-direction: column;
55
55
  &-head {
56
- padding: 12px 16px;
56
+ padding: 11px 16px;
57
57
  border-bottom: 1px solid var(--wborder-color);
58
58
  }
59
59