@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,328 @@
1
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
2
+ function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
3
+ function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
4
+ function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
5
+ function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
6
+ function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; }
7
+ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
8
+ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
9
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
10
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
11
+ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
12
+ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
13
+ function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
14
+ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
15
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
16
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
17
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
18
+ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
19
+ function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
20
+ function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
21
+ function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
22
+ function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
23
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
24
+ import { Plugin, Widget, ButtonView, ContextualBalloon, Command, clickOutsideHandler, toWidget } from "../../ckeditor/ckeditor";
25
+ import OpenPanelCommand from "../OpenPanelCommand";
26
+ import FormView from "./FormView";
27
+ import "./index.less";
28
+ var Textarea = /*#__PURE__*/function (_Plugin) {
29
+ _inherits(Textarea, _Plugin);
30
+ var _super = _createSuper(Textarea);
31
+ function Textarea() {
32
+ _classCallCheck(this, Textarea);
33
+ return _super.apply(this, arguments);
34
+ }
35
+ _createClass(Textarea, null, [{
36
+ key: "requires",
37
+ get: function get() {
38
+ return [InputEditing, InputUI];
39
+ }
40
+ }]);
41
+ return Textarea;
42
+ }(Plugin);
43
+ export { Textarea as default };
44
+ var InputEditing = /*#__PURE__*/function (_Plugin2) {
45
+ _inherits(InputEditing, _Plugin2);
46
+ var _super2 = _createSuper(InputEditing);
47
+ function InputEditing() {
48
+ _classCallCheck(this, InputEditing);
49
+ return _super2.apply(this, arguments);
50
+ }
51
+ _createClass(InputEditing, [{
52
+ key: "init",
53
+ value: function init() {
54
+ console.log('自定义文本域内容被调用');
55
+ this._defineSchema();
56
+ this._defineConverters();
57
+ this.editor.commands.add('insertCustomTextarea', new InsertCustomTextareaCommand(this.editor));
58
+ this.editor.commands.add('openTextareaPanel', new OpenPanelCommand(this.editor));
59
+ }
60
+ }, {
61
+ key: "_defineSchema",
62
+ value: function _defineSchema() {
63
+ var schema = this.editor.model.schema;
64
+ schema.register('customTextarea', {
65
+ // 定义类型
66
+ inheritAllFrom: '$inlineObject',
67
+ // 定义属性
68
+ allowAttributes: ['configid']
69
+ });
70
+ }
71
+ }, {
72
+ key: "_defineConverters",
73
+ value: function _defineConverters() {
74
+ var conversion = this.editor.conversion;
75
+
76
+ // conversion.for('upcast').elementToElement({
77
+ // model: 'customTextarea',
78
+ // view: this._renderView
79
+ // });
80
+ conversion.for('upcast').elementToElement({
81
+ view: {
82
+ name: 'textarea',
83
+ classes: 'custom-textarea'
84
+ },
85
+ model: function model(modelElement, props) {
86
+ var writer = props === null || props === void 0 ? void 0 : props.writer;
87
+ var configid = modelElement._attrs.get('configid');
88
+ var element = null;
89
+ if (writer) {
90
+ element = writer.createElement('customTextarea', {
91
+ configid: configid
92
+ });
93
+ }
94
+ return element;
95
+ }
96
+ });
97
+ conversion.for('dataDowncast').elementToElement({
98
+ model: 'customTextarea',
99
+ view: this._renderView
100
+ });
101
+ conversion.for('editingDowncast').elementToElement({
102
+ model: 'customTextarea',
103
+ view: this._renderView
104
+ });
105
+ }
106
+ }, {
107
+ key: "_renderView",
108
+ value: function _renderView(modelElement, props) {
109
+ var writer = props === null || props === void 0 ? void 0 : props.writer;
110
+ var components = JSON.parse(sessionStorage.getItem('ckComponents') || '{}');
111
+ var config = components[modelElement._attrs.get('configid')] || {};
112
+ var obj = {
113
+ configid: modelElement._attrs.get('configid')
114
+ },
115
+ style = '';
116
+ for (var key in config) {
117
+ if (key == 'width') {
118
+ style += "width: ".concat(config[key], "px;");
119
+ } else {
120
+ if (key == 'label') {
121
+ obj.placeholder = "\u8BF7\u8F93\u5165".concat(config[key] || '');
122
+ }
123
+ obj[key] = config[key];
124
+ }
125
+ }
126
+ obj.style = style;
127
+ var element = '';
128
+ if (writer) {
129
+ // element = writer.createEmptyElement('textarea', { ...obj, class: 'custom-textarea', });
130
+ element = writer.createContainerElement('textarea', _objectSpread(_objectSpread({}, obj), {}, {
131
+ class: 'custom-textarea vtx_ck_widgets'
132
+ }));
133
+ }
134
+ // return element;
135
+ return toWidget(element, writer);
136
+ }
137
+ }], [{
138
+ key: "requires",
139
+ get: function get() {
140
+ // ADDED
141
+ return [Widget];
142
+ }
143
+ }]);
144
+ return InputEditing;
145
+ }(Plugin);
146
+ function renderView(modelElement, props) {
147
+ var writer = props === null || props === void 0 ? void 0 : props.writer;
148
+ var attr = modelElement.getAttributes();
149
+ var obj = {},
150
+ style = '';
151
+ var _iterator = _createForOfIteratorHelper(attr),
152
+ _step;
153
+ try {
154
+ for (_iterator.s(); !(_step = _iterator.n()).done;) {
155
+ var _step$value = _slicedToArray(_step.value, 2),
156
+ key = _step$value[0],
157
+ value = _step$value[1];
158
+ if (key == 'width') {
159
+ style += "width: ".concat(value, ";");
160
+ } else {
161
+ if (key == 'label') {
162
+ obj.placeholder = "\u8BF7\u8F93\u5165".concat(value || '');
163
+ }
164
+ obj[key] = value;
165
+ }
166
+ }
167
+ } catch (err) {
168
+ _iterator.e(err);
169
+ } finally {
170
+ _iterator.f();
171
+ }
172
+ obj.style = style;
173
+ var element = '';
174
+ if (writer) {
175
+ element = writer.createEmptyElement('textarea', _objectSpread(_objectSpread({}, obj), {}, {
176
+ class: 'custom-textarea'
177
+ }));
178
+ }
179
+ return element;
180
+ }
181
+ var InputUI = /*#__PURE__*/function (_Plugin3) {
182
+ _inherits(InputUI, _Plugin3);
183
+ var _super3 = _createSuper(InputUI);
184
+ function InputUI() {
185
+ _classCallCheck(this, InputUI);
186
+ return _super3.apply(this, arguments);
187
+ }
188
+ _createClass(InputUI, [{
189
+ key: "init",
190
+ value: function init() {
191
+ var _this = this;
192
+ console.log('自定义文本域UI被调用');
193
+ var editor = this.editor;
194
+ var t = editor.t;
195
+ this._balloon = this.editor.plugins.get(ContextualBalloon);
196
+ this.formView = this._createFormView();
197
+ editor.commands.get('openTextareaPanel').set('uiPanel', this);
198
+ editor.ui.componentFactory.add('customTextarea', function (locale) {
199
+ var buttonView = new ButtonView(locale);
200
+ buttonView.set({
201
+ label: t('文本域'),
202
+ withText: true,
203
+ tooltip: false
204
+ });
205
+
206
+ // this.listenTo(buttonView, 'execute', () => {
207
+ // editor.execute('insertCustomTextarea')
208
+ // });
209
+ _this.listenTo(buttonView, 'execute', function () {
210
+ _this._showUI();
211
+ });
212
+ return buttonView;
213
+ });
214
+ }
215
+ }, {
216
+ key: "_createFormView",
217
+ value: function _createFormView() {
218
+ var _this2 = this;
219
+ var editor = this.editor;
220
+ var formView = new FormView(editor.locale);
221
+ var _editor$config$get = editor.config.get('globalConfig'),
222
+ emit = _editor$config$get.emit;
223
+ this.listenTo(formView, 'submit', function () {
224
+ var name = formView.nameInputView.fieldView.element.value;
225
+ var label = formView.labelInputView.fieldView.element.value;
226
+ var rows = formView.rowsInputView.fieldView.element.value;
227
+ var order = formView.orderInputView.fieldView.element.value;
228
+ emit('plugingChange', {
229
+ config: {
230
+ name: name,
231
+ rows: rows,
232
+ label: label,
233
+ order: order,
234
+ type: 'textarea'
235
+ },
236
+ callback: function callback(id) {
237
+ editor.model.change(function (writer) {
238
+ editor.execute('insertCustomTextarea', {
239
+ configid: id
240
+ });
241
+ });
242
+ }
243
+ });
244
+ _this2._hideUI();
245
+ });
246
+ this.listenTo(formView, 'cancel', function () {
247
+ _this2._hideUI();
248
+ });
249
+ clickOutsideHandler({
250
+ emitter: formView,
251
+ activator: function activator() {
252
+ return _this2._balloon.visibleView === formView;
253
+ },
254
+ contextElements: [this._balloon.view.element],
255
+ callback: function callback() {
256
+ return _this2._hideUI();
257
+ }
258
+ });
259
+ return formView;
260
+ }
261
+ }, {
262
+ key: "_getBalloonPositionData",
263
+ value: function _getBalloonPositionData() {
264
+ var view = this.editor.editing.view;
265
+ var viewDocument = view.document;
266
+ var target = null;
267
+
268
+ // Set a target position by converting view selection range to DOM.
269
+ target = function target() {
270
+ return view.domConverter.viewRangeToDom(viewDocument.selection.getFirstRange());
271
+ };
272
+ return {
273
+ target: target
274
+ };
275
+ }
276
+ }, {
277
+ key: "_showUI",
278
+ value: function _showUI() {
279
+ this._balloon.add({
280
+ view: this.formView,
281
+ position: this._getBalloonPositionData()
282
+ });
283
+
284
+ // this.formView.focus();
285
+ }
286
+ }, {
287
+ key: "_hideUI",
288
+ value: function _hideUI() {
289
+ this.formView.rowsInputView.fieldView.value = '';
290
+ this.formView.nameInputView.fieldView.value = '';
291
+ this.formView.labelInputView.fieldView.value = '';
292
+ this.formView.orderInputView.fieldView.value = '';
293
+ this.formView.element.reset();
294
+ this._balloon.remove(this.formView);
295
+
296
+ // Focus the editing view after closing the form view.
297
+ this.editor.editing.view.focus();
298
+ }
299
+ }], [{
300
+ key: "requires",
301
+ get: function get() {
302
+ return [ContextualBalloon];
303
+ }
304
+ }]);
305
+ return InputUI;
306
+ }(Plugin);
307
+ var InsertCustomTextareaCommand = /*#__PURE__*/function (_Command) {
308
+ _inherits(InsertCustomTextareaCommand, _Command);
309
+ var _super4 = _createSuper(InsertCustomTextareaCommand);
310
+ function InsertCustomTextareaCommand() {
311
+ _classCallCheck(this, InsertCustomTextareaCommand);
312
+ return _super4.apply(this, arguments);
313
+ }
314
+ _createClass(InsertCustomTextareaCommand, [{
315
+ key: "execute",
316
+ value: function execute(param) {
317
+ var _this3 = this;
318
+ this.editor.model.change(function (writer) {
319
+ _this3.editor.model.insertObject(createCustomTextareaElement(writer, param));
320
+ });
321
+ }
322
+ }]);
323
+ return InsertCustomTextareaCommand;
324
+ }(Command);
325
+ function createCustomTextareaElement(writer, param) {
326
+ var element = writer.createElement('customTextarea', param);
327
+ return element;
328
+ }
@@ -0,0 +1 @@
1
+ @import url('../style.less');
@@ -0,0 +1,84 @@
1
+ function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
2
+ function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
3
+ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
4
+ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
5
+ function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
6
+ function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
7
+ import { request } from '@vtx/utils';
8
+ import { useEffect, useState } from 'react';
9
+ import { VmEmpty, VmTabs } from "../../../_components";
10
+ import ViewRichText from "../CkEditorCustom/view";
11
+ import Right from "../Right";
12
+ import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
13
+ var listInstrument = function listInstrument(params) {
14
+ return request.get('/cloud/zhzf/api/v101/case/listInstrument', {
15
+ data: params
16
+ });
17
+ };
18
+ export default (function (props) {
19
+ var id = props.id,
20
+ detail = props.detail;
21
+ var _useState = useState(''),
22
+ _useState2 = _slicedToArray(_useState, 2),
23
+ activeKey = _useState2[0],
24
+ setActiveKey = _useState2[1];
25
+ var _useState3 = useState([]),
26
+ _useState4 = _slicedToArray(_useState3, 2),
27
+ list = _useState4[0],
28
+ setList = _useState4[1];
29
+ var _useState5 = useState({}),
30
+ _useState6 = _slicedToArray(_useState5, 2),
31
+ current = _useState6[0],
32
+ setCurrent = _useState6[1];
33
+ useEffect(function () {
34
+ id && listInstrument({
35
+ caseId: id
36
+ }).then(function (res) {
37
+ if ((res === null || res === void 0 ? void 0 : res.result) === 0) {
38
+ var _res$data$;
39
+ setList(res.data || []);
40
+ setCurrent(res.data[0] || {});
41
+ setActiveKey(((_res$data$ = res.data[0]) === null || _res$data$ === void 0 ? void 0 : _res$data$.id) || '');
42
+ }
43
+ });
44
+ }, [id]);
45
+ return /*#__PURE__*/_jsxs("div", {
46
+ className: "zf-document-content",
47
+ children: [/*#__PURE__*/_jsx("div", {
48
+ className: "zf-document-left",
49
+ children: list.length ? /*#__PURE__*/_jsxs(_Fragment, {
50
+ children: [/*#__PURE__*/_jsx("div", {
51
+ style: {
52
+ paddingLeft: '16px'
53
+ },
54
+ children: /*#__PURE__*/_jsx(VmTabs, {
55
+ activeKey: activeKey,
56
+ items: list.map(function (item) {
57
+ return {
58
+ label: item.instrumentName,
59
+ key: item.id
60
+ };
61
+ }),
62
+ onChange: function onChange(key) {
63
+ setActiveKey(key);
64
+ setCurrent(list.find(function (item) {
65
+ return item.id === key;
66
+ }));
67
+ }
68
+ })
69
+ }), /*#__PURE__*/_jsx("div", {
70
+ className: "zf-document-text",
71
+ children: current.id && /*#__PURE__*/_jsx(ViewRichText, {
72
+ content: current.templateContent,
73
+ configJson: current.elementContent,
74
+ values: JSON.parse(current.instrumentValue),
75
+ viewMode: true,
76
+ configDisabled: {}
77
+ })
78
+ })]
79
+ }) : /*#__PURE__*/_jsx(VmEmpty, {})
80
+ }), /*#__PURE__*/_jsx(Right, {
81
+ detail: detail
82
+ })]
83
+ });
84
+ });
@@ -0,0 +1,47 @@
1
+ .zf-document-content {
2
+ width: 100%;
3
+ height: 100%;
4
+ display: flex;
5
+ justify-content: space-between;
6
+ .zf-document-left {
7
+ width: 866px;
8
+ height: 100%;
9
+ display: flex;
10
+ flex-direction: column;
11
+ gap: 16px;
12
+ .zf-document-text {
13
+ width: 100%;
14
+ height: calc(100% - 50px);
15
+ overflow: hidden;
16
+ overflow-y: auto;
17
+ padding: 0 16px;
18
+ box-sizing: border-box;
19
+ input,
20
+ textarea {
21
+ background: transparent !important;
22
+ }
23
+ }
24
+ }
25
+ }
26
+
27
+ .vm-modal-dark {
28
+ .zf-document-content {
29
+ color: #fff;
30
+ .zf-document-left {
31
+ border: 1px solid #1064a7;
32
+ background: rgba(0, 155, 233, 0.1);
33
+ h1,
34
+ h2,
35
+ h3,
36
+ h4 {
37
+ color: #fff;
38
+ }
39
+ }
40
+ }
41
+ }
42
+
43
+ .vm-modal-light {
44
+ .zf-document-left {
45
+ background: #fff;
46
+ }
47
+ }
@@ -0,0 +1,192 @@
1
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
2
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
3
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
4
+ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
5
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
6
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
7
+ function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
8
+ function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
9
+ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
10
+ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
11
+ function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
12
+ function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
13
+ import { getVtxToken, request } from '@vtx/utils';
14
+ import { Button, Space, Tooltip } from 'antd';
15
+ import Base64 from 'base-64';
16
+ import { useEffect, useState } from 'react';
17
+ import { VmTable } from "../../../_components";
18
+ import Right from "../Right";
19
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
20
+ var preview = function preview() {
21
+ var item = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {
22
+ id: '',
23
+ name: ''
24
+ };
25
+ window.open("/cloud/kkPreview/onlinePreview?url=".concat(Base64.encode("".concat(location.origin, "/cloudFile/common/downloadFile?token=").concat(getVtxToken('token'), "&id=").concat(item.id, "&fullfilename=").concat(encodeURIComponent(item.name))), "&token=").concat(getVtxToken('token')));
26
+ };
27
+ var renderFile = function renderFile(list) {
28
+ return list.map(function (item) {
29
+ return /*#__PURE__*/_jsx("div", {
30
+ children: /*#__PURE__*/_jsx(Tooltip, {
31
+ color: "#fff",
32
+ title: /*#__PURE__*/_jsxs(Space, {
33
+ children: [/*#__PURE__*/_jsx(Button, {
34
+ type: "primary",
35
+ onClick: function onClick() {
36
+ return preview(item);
37
+ },
38
+ children: "\u9884\u89C8"
39
+ }), /*#__PURE__*/_jsx(Button, {
40
+ onClick: function onClick() {
41
+ return window.open("/cloudFile/common/downloadFile?token=".concat(getVtxToken('token'), "&id=").concat(item.id));
42
+ },
43
+ children: "\u4E0B\u8F7D"
44
+ })]
45
+ }),
46
+ children: /*#__PURE__*/_jsx("a", {
47
+ className: "fileName",
48
+ title: item.name,
49
+ children: item.name
50
+ })
51
+ })
52
+ }, item.id);
53
+ });
54
+ };
55
+ var listAttach = function listAttach(params) {
56
+ return request.get('/cloud/zhzf/api/v101/case/listAttach', {
57
+ data: params
58
+ });
59
+ };
60
+ export default (function (props) {
61
+ var id = props.id,
62
+ detail = props.detail;
63
+ var _useState = useState([]),
64
+ _useState2 = _slicedToArray(_useState, 2),
65
+ fileList = _useState2[0],
66
+ setFileList = _useState2[1];
67
+ var _useState3 = useState([]),
68
+ _useState4 = _slicedToArray(_useState3, 2),
69
+ videoList = _useState4[0],
70
+ setVideoList = _useState4[1];
71
+ useEffect(function () {
72
+ id && listAttach({
73
+ caseId: id
74
+ }).then(function (res) {
75
+ if ((res === null || res === void 0 ? void 0 : res.result) === 0) {
76
+ setFileList((res.data || []).filter(function (item) {
77
+ return item.file;
78
+ }));
79
+ setVideoList((res.data || []).filter(function (item) {
80
+ return item.video;
81
+ }));
82
+ }
83
+ });
84
+ }, [id]);
85
+ var fileProps = {
86
+ columns: [{
87
+ title: '序号',
88
+ dataIndex: 'orderIndex',
89
+ key: 'orderIndex',
90
+ width: 40
91
+ }, {
92
+ title: '名称',
93
+ dataIndex: 'file',
94
+ key: 'file',
95
+ width: 160,
96
+ ellipsis: true,
97
+ render: function render(text) {
98
+ return renderFile(JSON.parse(text));
99
+ }
100
+ }, {
101
+ title: '上传节点',
102
+ dataIndex: 'taskName',
103
+ key: 'taskName',
104
+ width: 120,
105
+ ellipsis: true
106
+ }, {
107
+ title: '上传时间',
108
+ dataIndex: 'uploadTime',
109
+ key: 'uploadTime',
110
+ width: 100,
111
+ ellipsis: true
112
+ }, {
113
+ title: '上传人',
114
+ dataIndex: 'updateStaffName',
115
+ key: 'updateStaffName',
116
+ width: 120,
117
+ ellipsis: true
118
+ }],
119
+ height: 200,
120
+ isIndex: false,
121
+ pagination: false,
122
+ dataSource: fileList.map(function (item, index) {
123
+ return _objectSpread(_objectSpread({}, item), {}, {
124
+ orderIndex: index + 1
125
+ });
126
+ })
127
+ };
128
+ var videoProps = {
129
+ columns: [{
130
+ title: '序号',
131
+ dataIndex: 'orderIndex',
132
+ key: 'orderIndex',
133
+ width: 60
134
+ }, {
135
+ title: '名称',
136
+ dataIndex: 'video',
137
+ key: 'video',
138
+ width: 160,
139
+ ellipsis: true,
140
+ render: function render(text) {
141
+ return renderFile(JSON.parse(text));
142
+ }
143
+ }, {
144
+ title: '上传节点',
145
+ dataIndex: 'taskName',
146
+ key: 'taskName',
147
+ width: 120,
148
+ ellipsis: true
149
+ }, {
150
+ title: '上传时间',
151
+ dataIndex: 'uploadTime',
152
+ key: 'uploadTime',
153
+ width: 100,
154
+ ellipsis: true
155
+ }, {
156
+ title: '上传人',
157
+ dataIndex: 'updateStaffName',
158
+ key: 'updateStaffName',
159
+ width: 120,
160
+ ellipsis: true
161
+ }],
162
+ height: 200,
163
+ isIndex: false,
164
+ pagination: false,
165
+ dataSource: videoList.map(function (item, index) {
166
+ return _objectSpread(_objectSpread({}, item), {}, {
167
+ orderIndex: index + 1
168
+ });
169
+ })
170
+ };
171
+ return /*#__PURE__*/_jsxs("div", {
172
+ className: "zf-file-content",
173
+ children: [/*#__PURE__*/_jsxs("div", {
174
+ className: "zf-file-left",
175
+ children: [/*#__PURE__*/_jsxs("div", {
176
+ className: "zf-left-panel",
177
+ children: [/*#__PURE__*/_jsx("div", {
178
+ className: "zf-file-title",
179
+ children: "\u9644\u4EF6"
180
+ }), /*#__PURE__*/_jsx(VmTable, _objectSpread({}, fileProps))]
181
+ }), /*#__PURE__*/_jsxs("div", {
182
+ className: "zf-left-panel",
183
+ children: [/*#__PURE__*/_jsx("div", {
184
+ className: "zf-file-title",
185
+ children: "\u5173\u8054\u89C6\u9891"
186
+ }), /*#__PURE__*/_jsx(VmTable, _objectSpread({}, videoProps))]
187
+ })]
188
+ }), /*#__PURE__*/_jsx(Right, {
189
+ detail: detail
190
+ })]
191
+ });
192
+ });