@vtx/modals2 5.0.12 → 5.0.14

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 (144) hide show
  1. package/lib/_components/vm-card-statistics/index.less +27 -27
  2. package/lib/_components/vm-extra-tab/index.js +8 -0
  3. package/lib/_components/vm-extra-tab/style/index.less +1 -0
  4. package/lib/_components/vm-factor-list/index.less +11 -11
  5. package/lib/_components/vm-table/index.js +4 -4
  6. package/lib/_util/http.js +6 -0
  7. package/lib/index.js +2 -1
  8. package/lib/vtx-base-modal/Header/index.less +98 -98
  9. package/lib/vtx-base-modal/Tabs/index.less +31 -31
  10. package/lib/vtx-car-modal/components/Info/index.less +6 -6
  11. package/lib/vtx-car-modal/content/Common/OilConsumption/index.less +6 -6
  12. package/lib/vtx-car-modal/content/Common/WaterConsumption/index.less +6 -6
  13. package/lib/vtx-cc-unit-modal/components/BaseInfo/index.less +6 -6
  14. package/lib/vtx-cp-modal/components/ExeceptionInfo/AlarmRecord.js +5 -5
  15. package/lib/vtx-cp-modal/components/SyInfo/index.js +3 -0
  16. package/lib/vtx-device-modal/components/DataAnalysis/index.less +66 -66
  17. package/lib/vtx-restaurant-modal/components/Basic/index.less +16 -16
  18. package/lib/vtx-restaurant-modal/config.js +52 -52
  19. package/lib/vtx-road-modal/components/BaseInfo/index.less +34 -31
  20. package/lib/vtx-road-modal/components/Statistical/index.less +32 -32
  21. package/lib/vtx-wr-modal/components/Base/Ptss.js +0 -6
  22. package/lib/vtx-wr-modal/components/Base/Sjjg.js +2 -5
  23. package/lib/vtx-wr-modal/components/Base/index.less +5 -10
  24. package/lib/vtx-wr-modal/components/Build/index.js +3 -2
  25. package/lib/vtx-wr-modal/components/Score/index.js +4 -4
  26. package/lib/vtx-wr-modal/index.js +15 -2
  27. package/lib/vtx-zf-modal/components/Base/index.js +244 -0
  28. package/lib/vtx-zf-modal/components/Base/index.less +105 -0
  29. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/ckeditor.d.ts +109 -0
  30. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/ckeditor.js +5 -0
  31. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/ckeditor.js.map +1 -0
  32. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/af.js +33 -0
  33. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/ar.js +222 -0
  34. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/ast.js +109 -0
  35. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/az.js +221 -0
  36. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/bg.js +222 -0
  37. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/bn.js +222 -0
  38. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/bs.js +80 -0
  39. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/ca.js +222 -0
  40. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/cs.js +222 -0
  41. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/da.js +222 -0
  42. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/de-ch.js +220 -0
  43. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/de.js +222 -0
  44. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/el.js +222 -0
  45. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/en-au.js +222 -0
  46. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/en-gb.js +215 -0
  47. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/en.js +92 -0
  48. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/eo.js +120 -0
  49. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/es-co.js +36 -0
  50. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/es.js +222 -0
  51. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/et.js +222 -0
  52. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/eu.js +121 -0
  53. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/fa.js +222 -0
  54. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/fi.js +222 -0
  55. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/fr.js +222 -0
  56. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/gl.js +222 -0
  57. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/gu.js +22 -0
  58. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/he.js +222 -0
  59. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/hi.js +222 -0
  60. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/hr.js +222 -0
  61. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/hu.js +222 -0
  62. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/id.js +222 -0
  63. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/it.js +222 -0
  64. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/ja.js +222 -0
  65. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/jv.js +106 -0
  66. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/kk.js +13 -0
  67. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/km.js +127 -0
  68. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/kn.js +121 -0
  69. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/ko.js +222 -0
  70. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/ku.js +219 -0
  71. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/lt.js +222 -0
  72. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/lv.js +222 -0
  73. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/ms.js +222 -0
  74. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/nb.js +199 -0
  75. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/ne.js +215 -0
  76. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/nl.js +222 -0
  77. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/no.js +222 -0
  78. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/oc.js +21 -0
  79. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/pl.js +222 -0
  80. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/pt-br.js +222 -0
  81. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/pt.js +222 -0
  82. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/ro.js +222 -0
  83. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/ru.js +222 -0
  84. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/si.js +76 -0
  85. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/sk.js +222 -0
  86. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/sl.js +78 -0
  87. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/sq.js +208 -0
  88. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/sr-latn.js +222 -0
  89. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/sr.js +222 -0
  90. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/sv.js +222 -0
  91. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/th.js +222 -0
  92. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/tk.js +220 -0
  93. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/tr.js +222 -0
  94. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/tt.js +170 -0
  95. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/ug.js +205 -0
  96. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/uk.js +222 -0
  97. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/ur.js +222 -0
  98. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/uz.js +220 -0
  99. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/vi.js +222 -0
  100. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/zh-cn.js +222 -0
  101. package/lib/vtx-zf-modal/components/CkEditorCustom/ckeditor/translations/zh.js +222 -0
  102. package/lib/vtx-zf-modal/components/CkEditorCustom/context/Event.js +42 -0
  103. package/lib/vtx-zf-modal/components/CkEditorCustom/context/context.js +98 -0
  104. package/lib/vtx-zf-modal/components/CkEditorCustom/context/index.js +3 -0
  105. package/lib/vtx-zf-modal/components/CkEditorCustom/context/useContextComponent.js +16 -0
  106. package/lib/vtx-zf-modal/components/CkEditorCustom/index.js +294 -0
  107. package/lib/vtx-zf-modal/components/CkEditorCustom/index.less +133 -0
  108. package/lib/vtx-zf-modal/components/CkEditorCustom/utils/util.js +67 -0
  109. package/lib/vtx-zf-modal/components/CkEditorCustom/view.js +216 -0
  110. package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/CKModal.js +77 -0
  111. package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/OpenPanelCommand.js +31 -0
  112. package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/config.js +146 -0
  113. package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/editableDiv/FormView.js +92 -0
  114. package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/editableDiv/index.js +341 -0
  115. package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/editableDiv/index.less +1 -0
  116. package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/input/FormView.js +94 -0
  117. package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/input/date.js +334 -0
  118. package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/input/index.js +330 -0
  119. package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/input/index.less +36 -0
  120. package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/radio/FormView.js +93 -0
  121. package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/radio/checkbox.js +335 -0
  122. package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/radio/index.js +335 -0
  123. package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/radio/index.less +35 -0
  124. package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/sign/FormView.js +94 -0
  125. package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/sign/index.js +338 -0
  126. package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/sign/index.less +1 -0
  127. package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/style.less +92 -0
  128. package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/textarea/FormView.js +94 -0
  129. package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/textarea/index.js +328 -0
  130. package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/textarea/index.less +1 -0
  131. package/lib/vtx-zf-modal/components/Document/index.js +84 -0
  132. package/lib/vtx-zf-modal/components/Document/index.less +47 -0
  133. package/lib/vtx-zf-modal/components/File/index.js +192 -0
  134. package/lib/vtx-zf-modal/components/File/index.less +43 -0
  135. package/lib/vtx-zf-modal/components/Process/index.js +196 -0
  136. package/lib/vtx-zf-modal/components/Process/index.less +107 -0
  137. package/lib/vtx-zf-modal/components/Record/index.js +108 -0
  138. package/lib/vtx-zf-modal/components/Record/index.less +34 -0
  139. package/lib/vtx-zf-modal/components/Right/index.js +45 -0
  140. package/lib/vtx-zf-modal/components/index.js +6 -0
  141. package/lib/vtx-zf-modal/index.js +125 -0
  142. package/lib/vtx-zf-modal/style/index.js +7 -0
  143. package/lib/vtx-zf-modal/style/index.less +1 -0
  144. package/package.json +2 -1
@@ -0,0 +1,244 @@
1
+ import { VmMap } from "../../../_components";
2
+ import Right from "../Right";
3
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
4
+ export default (function (props) {
5
+ var _detail$location, _detail$location2, _detail$location3, _detail$location4;
6
+ var detail = props.detail;
7
+ var base = [{
8
+ name: '案件来源',
9
+ key: 'caseFromStr'
10
+ }, {
11
+ name: '受案机关',
12
+ key: 'acceptDepartment'
13
+ }, {
14
+ name: '受案时间',
15
+ key: 'acceptTime'
16
+ }, {
17
+ name: '案发时间',
18
+ key: 'accidentTime'
19
+ }, {
20
+ name: '登记时间',
21
+ key: 'registrationTime'
22
+ }, {
23
+ name: '登记人',
24
+ key: 'undertakeUserName'
25
+ }, {
26
+ name: '案情概述',
27
+ key: 'caseDescription',
28
+ weights: 2
29
+ }, {
30
+ name: '案发地点',
31
+ key: 'accidentAddress',
32
+ weights: 2
33
+ }];
34
+ var dsrUnit = [{
35
+ name: '当事人类型',
36
+ key: 'casePartyTypeName'
37
+ }, {
38
+ name: '单位名称',
39
+ key: 'partyName'
40
+ }, {
41
+ name: '法定代表人',
42
+ key: 'corporate'
43
+ }, {
44
+ name: '统一社会信用代码',
45
+ key: 'socialCode'
46
+ }, {
47
+ name: '联系电话',
48
+ key: 'phone'
49
+ }, {
50
+ name: '身份证号',
51
+ key: 'identityCode'
52
+ }, {
53
+ name: '住所地址',
54
+ key: 'liveAddress',
55
+ weights: 2
56
+ }];
57
+ var dsrPerson = [{
58
+ name: '当事人类型',
59
+ key: 'casePartyTypeName'
60
+ }, {
61
+ name: '姓名',
62
+ key: 'partyName'
63
+ }, {
64
+ name: '联系电话',
65
+ key: 'phone'
66
+ }, {
67
+ name: '身份证号',
68
+ key: 'identityCode'
69
+ }, {
70
+ name: '住所地址',
71
+ key: 'liveAddress',
72
+ weights: 2
73
+ }, {
74
+ name: '工作单位及职务',
75
+ key: 'job',
76
+ weights: 2
77
+ }];
78
+ var cbxx = [{
79
+ name: '承办单位',
80
+ key: 'undertakeOrgName'
81
+ }, {
82
+ name: '主办人',
83
+ key: 'undertakeUserName'
84
+ }, {
85
+ name: '协办人',
86
+ key: 'assistUserName'
87
+ }];
88
+ var laxx = [{
89
+ name: '案件流程',
90
+ key: 'caseTypeName'
91
+ }, {
92
+ name: '案件编号',
93
+ key: 'caseCode'
94
+ }, {
95
+ name: '卷宗编号',
96
+ key: 'fileCode'
97
+ }, {
98
+ name: '立案时间',
99
+ key: 'lianTime'
100
+ }, {
101
+ name: '案件案由',
102
+ key: 'caseCauseManageName',
103
+ weights: 2
104
+ }, {
105
+ name: '违反条款',
106
+ key: 'breakContent',
107
+ weights: 2
108
+ }, {
109
+ name: '处罚条款',
110
+ key: 'punishContent',
111
+ weights: 2
112
+ }];
113
+ return /*#__PURE__*/_jsxs("div", {
114
+ className: "zf-base-content",
115
+ children: [/*#__PURE__*/_jsxs("div", {
116
+ className: "zf-base-left",
117
+ children: [/*#__PURE__*/_jsxs("div", {
118
+ className: "zf-left-top",
119
+ children: [/*#__PURE__*/_jsxs("div", {
120
+ className: "zf-base-title",
121
+ children: ["\u6848\u4EF6\u4FE1\u606F", detail.caseTypeName && /*#__PURE__*/_jsx("span", {
122
+ className: "zf-base-subTitle",
123
+ children: "\u3010".concat(detail.caseTypeName, "-").concat(detail.currentTask, "\u3011")
124
+ })]
125
+ }), /*#__PURE__*/_jsxs("div", {
126
+ className: "zf-base-info",
127
+ children: [/*#__PURE__*/_jsx("div", {
128
+ className: "zf-base-list",
129
+ children: base.map(function (item) {
130
+ return /*#__PURE__*/_jsxs("div", {
131
+ className: "zf-base-item",
132
+ style: {
133
+ width: item.weights === 2 ? '100%' : '45%'
134
+ },
135
+ children: [/*#__PURE__*/_jsxs("span", {
136
+ className: "zf-base-label",
137
+ children: [item.name, "\uFF1A"]
138
+ }), /*#__PURE__*/_jsx("span", {
139
+ children: detail[item.key] || '--'
140
+ })]
141
+ }, item.key);
142
+ })
143
+ }), ((_detail$location = detail.location) === null || _detail$location === void 0 ? void 0 : _detail$location.lngLats) && /*#__PURE__*/_jsx("div", {
144
+ className: "zf-base-map",
145
+ children: /*#__PURE__*/_jsx(VmMap, {
146
+ mapCenter: (_detail$location2 = detail.location) === null || _detail$location2 === void 0 ? void 0 : _detail$location2.lngLats.split(','),
147
+ mapPoints: [{
148
+ lng: (_detail$location3 = detail.location) === null || _detail$location3 === void 0 ? void 0 : _detail$location3.lngLats.split(',')[0],
149
+ lat: (_detail$location4 = detail.location) === null || _detail$location4 === void 0 ? void 0 : _detail$location4.lngLats.split(',')[1],
150
+ icon: 'GD'
151
+ }]
152
+ })
153
+ })]
154
+ })]
155
+ }), /*#__PURE__*/_jsxs("div", {
156
+ className: "zf-left-bottom",
157
+ children: [/*#__PURE__*/_jsx("div", {
158
+ className: "zf-base-title",
159
+ children: "\u5F53\u4E8B\u4EBA\u4FE1\u606F"
160
+ }), /*#__PURE__*/_jsx("div", {
161
+ className: "zf-base-info",
162
+ style: {
163
+ height: 'auto'
164
+ },
165
+ children: /*#__PURE__*/_jsx("div", {
166
+ className: "zf-base-list",
167
+ children: (detail.casePartyType == 'unit' ? dsrUnit : dsrPerson).map(function (item) {
168
+ return /*#__PURE__*/_jsxs("div", {
169
+ className: "zf-base-item",
170
+ style: {
171
+ width: item.weights === 2 ? '100%' : '45%'
172
+ },
173
+ children: [/*#__PURE__*/_jsxs("span", {
174
+ className: "zf-base-label",
175
+ children: [item.name, "\uFF1A"]
176
+ }), /*#__PURE__*/_jsx("span", {
177
+ children: detail[item.key] || '--'
178
+ })]
179
+ }, item.key);
180
+ })
181
+ })
182
+ })]
183
+ }), /*#__PURE__*/_jsxs("div", {
184
+ className: "zf-left-bottom",
185
+ children: [/*#__PURE__*/_jsx("div", {
186
+ className: "zf-base-title",
187
+ children: "\u627F\u529E\u4FE1\u606F"
188
+ }), /*#__PURE__*/_jsx("div", {
189
+ className: "zf-base-info",
190
+ style: {
191
+ height: 'auto'
192
+ },
193
+ children: /*#__PURE__*/_jsx("div", {
194
+ className: "zf-base-list",
195
+ children: cbxx.map(function (item) {
196
+ return /*#__PURE__*/_jsxs("div", {
197
+ className: "zf-base-item",
198
+ style: {
199
+ width: item.weights === 2 ? '100%' : '45%'
200
+ },
201
+ children: [/*#__PURE__*/_jsxs("span", {
202
+ className: "zf-base-label",
203
+ children: [item.name, "\uFF1A"]
204
+ }), /*#__PURE__*/_jsx("span", {
205
+ children: detail[item.key] || '--'
206
+ })]
207
+ }, item.key);
208
+ })
209
+ })
210
+ })]
211
+ }), /*#__PURE__*/_jsxs("div", {
212
+ className: "zf-left-bottom",
213
+ children: [/*#__PURE__*/_jsx("div", {
214
+ className: "zf-base-title",
215
+ children: "\u7ACB\u6848\u4FE1\u606F"
216
+ }), /*#__PURE__*/_jsx("div", {
217
+ className: "zf-base-info",
218
+ style: {
219
+ height: 'auto'
220
+ },
221
+ children: /*#__PURE__*/_jsx("div", {
222
+ className: "zf-base-list",
223
+ children: laxx.map(function (item) {
224
+ return /*#__PURE__*/_jsxs("div", {
225
+ className: "zf-base-item",
226
+ style: {
227
+ width: item.weights === 2 ? '100%' : '45%'
228
+ },
229
+ children: [/*#__PURE__*/_jsxs("span", {
230
+ className: "zf-base-label",
231
+ children: [item.name, "\uFF1A"]
232
+ }), /*#__PURE__*/_jsx("span", {
233
+ children: detail[item.key] || '--'
234
+ })]
235
+ }, item.key);
236
+ })
237
+ })
238
+ })]
239
+ })]
240
+ }), /*#__PURE__*/_jsx(Right, {
241
+ detail: detail
242
+ })]
243
+ });
244
+ });
@@ -0,0 +1,105 @@
1
+ .zf-base-content {
2
+ width: 100%;
3
+ height: 100%;
4
+ display: flex;
5
+ justify-content: space-between;
6
+ .zf-base-left {
7
+ width: 866px;
8
+ height: 100%;
9
+ overflow: hidden;
10
+ overflow-y: auto;
11
+ & > div {
12
+ width: 100%;
13
+ overflow: hidden;
14
+ overflow-y: auto;
15
+ border-radius: 8px;
16
+ box-sizing: border-box;
17
+ margin-bottom: 16px;
18
+ }
19
+ .zf-left-top {
20
+ height: 60%;
21
+ }
22
+ .zf-left-bottom {
23
+ height: auto;
24
+ flex-shrink: 0;
25
+ }
26
+ }
27
+ }
28
+
29
+ .zf-base-info {
30
+ width: 100%;
31
+ height: calc(100% - 51px);
32
+ padding: 16px 18px;
33
+ overflow: hidden;
34
+ overflow-y: auto;
35
+ .zf-base-list {
36
+ display: flex;
37
+ flex-wrap: wrap;
38
+ }
39
+ .zf-base-map {
40
+ width: 100%;
41
+ height: calc(100% - 120px);
42
+ margin-top: 10px;
43
+ }
44
+ }
45
+
46
+ .zf-base-title {
47
+ padding: 12px 16px;
48
+ font-size: 16px;
49
+ box-sizing: border-box;
50
+ .zf-base-subTitle {
51
+ color: #2facff;
52
+ margin-left: 10px;
53
+ }
54
+ }
55
+
56
+ .zf-base-right {
57
+ width: calc(100% - 882px);
58
+ height: 100%;
59
+ overflow: hidden;
60
+ overflow-y: auto;
61
+ border-radius: 8px;
62
+ box-sizing: border-box;
63
+ }
64
+
65
+ .vm-modal-dark {
66
+ .zf-base-content {
67
+ color: #fff;
68
+
69
+ .zf-base-left {
70
+ & > div {
71
+ border: 1px solid #1064a7;
72
+ background: rgba(0, 155, 233, 0.1);
73
+ }
74
+ }
75
+ }
76
+ .zf-base-title {
77
+ border-bottom: 1px solid rgba(12, 154, 255, 0.15);
78
+ }
79
+ .zf-base-label {
80
+ color: #2facff;
81
+ }
82
+ .zf-base-right {
83
+ border: 1px solid #1064a7;
84
+ background: rgba(0, 155, 233, 0.1);
85
+ }
86
+ }
87
+
88
+ .vm-modal-light {
89
+ .zf-base-content {
90
+ .zf-base-left {
91
+ & > div {
92
+ background: #fff;
93
+ }
94
+ }
95
+ }
96
+ .zf-base-title {
97
+ border-bottom: 1px solid #f1f0f0;
98
+ }
99
+ .zf-base-label {
100
+ color: #8c8c8c;
101
+ }
102
+ .zf-base-right {
103
+ background: #fff;
104
+ }
105
+ }
@@ -0,0 +1,109 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+ import ClassicEditorBase from '@ckeditor/ckeditor5-editor-classic/src/classiceditor';
6
+ import { Essentials } from '@ckeditor/ckeditor5-essentials';
7
+ import { UploadAdapter } from '@ckeditor/ckeditor5-adapter-ckfinder';
8
+ import { Autoformat } from '@ckeditor/ckeditor5-autoformat';
9
+ import { Bold, Italic, Underline } from '@ckeditor/ckeditor5-basic-styles';
10
+ import { BlockQuote } from '@ckeditor/ckeditor5-block-quote';
11
+ import { CKBox } from '@ckeditor/ckeditor5-ckbox';
12
+ import { CKFinder } from '@ckeditor/ckeditor5-ckfinder';
13
+ import { EasyImage } from '@ckeditor/ckeditor5-easy-image';
14
+ import { Heading } from '@ckeditor/ckeditor5-heading';
15
+ import { Image, ImageCaption, ImageStyle, ImageToolbar, ImageUpload, PictureEditing } from '@ckeditor/ckeditor5-image';
16
+ import { Indent } from '@ckeditor/ckeditor5-indent';
17
+ import { Link } from '@ckeditor/ckeditor5-link';
18
+ import { List } from '@ckeditor/ckeditor5-list';
19
+ import { MediaEmbed } from '@ckeditor/ckeditor5-media-embed';
20
+ import { Paragraph } from '@ckeditor/ckeditor5-paragraph';
21
+ import { PasteFromOffice } from '@ckeditor/ckeditor5-paste-from-office';
22
+ import { Table, TableCaption, TableCellProperties, TableColumnResize, TableProperties, TableToolbar } from '@ckeditor/ckeditor5-table';
23
+ import { TextTransformation } from '@ckeditor/ckeditor5-typing';
24
+ import { CloudServices } from '@ckeditor/ckeditor5-cloud-services';
25
+ import { FontSize, FontFamily, FontColor, FontBackgroundColor } from '@ckeditor/ckeditor5-font';
26
+ import { Alignment } from '@ckeditor/ckeditor5-alignment';
27
+ import Plugin from '@ckeditor/ckeditor5-core/src/plugin';
28
+ import ButtonView from '@ckeditor/ckeditor5-ui/src/button/buttonview';
29
+ import { toWidget, viewToModelPositionOutsideModelElement } from '@ckeditor/ckeditor5-widget/src/utils';
30
+ import { addListToDropdown, createDropdown } from '@ckeditor/ckeditor5-ui/src/dropdown/utils';
31
+ import Widget from '@ckeditor/ckeditor5-widget/src/widget';
32
+ import Command from '@ckeditor/ckeditor5-core/src/command';
33
+ import Collection from '@ckeditor/ckeditor5-utils/src/collection';
34
+ import Model from '@ckeditor/ckeditor5-ui/src/model';
35
+ import { LabeledFieldView, View, clickOutsideHandler, createLabeledInputText, submitHandler, LabelView } from '@ckeditor/ckeditor5-ui';
36
+ import { ContextualBalloon } from '@ckeditor/ckeditor5-ui';
37
+ import { Strikethrough } from '@ckeditor/ckeditor5-basic-styles';
38
+ declare class ClassicEditor extends ClassicEditorBase {
39
+ static builtinPlugins: (typeof Essentials | typeof UploadAdapter | typeof Autoformat | typeof Bold | typeof Italic | typeof BlockQuote | typeof CKBox | typeof CKFinder | typeof CloudServices | typeof EasyImage | typeof Heading | typeof Image | typeof ImageCaption | typeof ImageStyle | typeof ImageToolbar | typeof ImageUpload | typeof Indent | typeof Link | typeof List | typeof MediaEmbed | typeof Paragraph | typeof PasteFromOffice | typeof PictureEditing | typeof Table | typeof TableColumnResize | typeof TableCaption | typeof TableToolbar | typeof TableCellProperties | typeof TableProperties | typeof TextTransformation | typeof Underline | typeof Strikethrough | typeof FontSize | typeof FontFamily | typeof FontColor | typeof FontBackgroundColor | typeof Alignment)[];
40
+ static defaultConfig: {
41
+ toolbar: {
42
+ items: string[];
43
+ };
44
+ image: {
45
+ toolbar: string[];
46
+ };
47
+ table: {
48
+ contentToolbar: string[];
49
+ };
50
+ language: string;
51
+ };
52
+ }
53
+ declare const _default: {
54
+ ClassicEditor: typeof ClassicEditor;
55
+ Plugin: typeof Plugin;
56
+ ButtonView: typeof ButtonView;
57
+ toWidget: typeof toWidget;
58
+ viewToModelPositionOutsideModelElement: typeof viewToModelPositionOutsideModelElement;
59
+ addListToDropdown: typeof addListToDropdown;
60
+ createDropdown: typeof createDropdown;
61
+ Widget: typeof Widget;
62
+ Command: typeof Command;
63
+ Collection: typeof Collection;
64
+ Model: typeof Model;
65
+ View: typeof View;
66
+ LabeledFieldView: typeof LabeledFieldView;
67
+ createLabeledInputText: typeof createLabeledInputText;
68
+ icons: {
69
+ bold: string;
70
+ cancel: string;
71
+ caption: string;
72
+ check: string;
73
+ cog: string;
74
+ eraser: string;
75
+ image: string;
76
+ lowVision: string;
77
+ importExport: string;
78
+ paragraph: string;
79
+ plus: string;
80
+ text: string;
81
+ alignBottom: string;
82
+ alignMiddle: string;
83
+ alignTop: string;
84
+ alignLeft: string;
85
+ alignCenter: string;
86
+ alignRight: string;
87
+ alignJustify: string;
88
+ objectLeft: string;
89
+ objectCenter: string;
90
+ objectRight: string;
91
+ objectFullWidth: string;
92
+ objectInline: string;
93
+ objectBlockLeft: string;
94
+ objectBlockRight: string;
95
+ objectSizeFull: string;
96
+ objectSizeLarge: string;
97
+ objectSizeSmall: string;
98
+ objectSizeMedium: string;
99
+ pencil: string;
100
+ pilcrow: string;
101
+ quote: string;
102
+ threeVerticalDots: string;
103
+ };
104
+ submitHandler: typeof submitHandler;
105
+ ContextualBalloon: typeof ContextualBalloon;
106
+ clickOutsideHandler: typeof clickOutsideHandler;
107
+ LabelView: typeof LabelView;
108
+ };
109
+ export default _default;