@evolvere/sgp-ui 1.6.7 → 1.6.9

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 (203) hide show
  1. package/lib/alert.js +2 -2
  2. package/lib/aside.js +2 -2
  3. package/lib/autocomplete.js +2 -2
  4. package/lib/avatar.js +2 -2
  5. package/lib/backtop.js +2 -2
  6. package/lib/badge.js +2 -2
  7. package/lib/breadcrumb-item.js +2 -2
  8. package/lib/breadcrumb.js +2 -2
  9. package/lib/button-group.js +2 -2
  10. package/lib/button.js +2 -2
  11. package/lib/calendar.js +2 -2
  12. package/lib/card.js +2 -2
  13. package/lib/carousel-item.js +2 -2
  14. package/lib/carousel.js +2 -2
  15. package/lib/cascader-panel.js +2 -2
  16. package/lib/cascader.js +2 -2
  17. package/lib/checkbox-button.js +2 -2
  18. package/lib/checkbox-group.js +2 -2
  19. package/lib/checkbox.js +2 -2
  20. package/lib/col.js +2 -2
  21. package/lib/collapse-item.js +2 -2
  22. package/lib/collapse.js +2 -2
  23. package/lib/color-picker.js +2 -2
  24. package/lib/container.js +2 -2
  25. package/lib/date-picker.js +69 -94
  26. package/lib/descriptions-item.js +2 -2
  27. package/lib/descriptions.js +2 -2
  28. package/lib/dialog.js +2 -2
  29. package/lib/divider.js +2 -2
  30. package/lib/drawer.js +2 -2
  31. package/lib/dropdown-item.js +2 -2
  32. package/lib/dropdown-menu.js +2 -2
  33. package/lib/dropdown.js +2 -2
  34. package/lib/editor.js +76 -12
  35. package/lib/empty.js +2 -2
  36. package/lib/footer.js +2 -2
  37. package/lib/form-item.js +2 -2
  38. package/lib/form.js +2 -2
  39. package/lib/header.js +2 -2
  40. package/lib/icon.js +2 -2
  41. package/lib/image.js +2 -2
  42. package/lib/index.js +1 -1
  43. package/lib/infinite-scroll.js +2 -2
  44. package/lib/input-number.js +2 -2
  45. package/lib/input.js +2 -2
  46. package/lib/link.js +2 -2
  47. package/lib/loading.js +2 -2
  48. package/lib/main.js +2 -2
  49. package/lib/menu-item-group.js +2 -2
  50. package/lib/menu-item.js +2 -2
  51. package/lib/menu.js +2 -2
  52. package/lib/message-box.js +2 -2
  53. package/lib/message.js +2 -2
  54. package/lib/notification.js +2 -2
  55. package/lib/option-group.js +2 -2
  56. package/lib/option.js +2 -2
  57. package/lib/page-header.js +2 -2
  58. package/lib/pagination.js +2 -2
  59. package/lib/popconfirm.js +2 -2
  60. package/lib/popover.js +2 -2
  61. package/lib/progress.js +2 -2
  62. package/lib/radio-button.js +2 -2
  63. package/lib/radio-group.js +2 -2
  64. package/lib/radio.js +2 -2
  65. package/lib/rate.js +2 -2
  66. package/lib/rdc-sgp-ui.common.js +82 -19
  67. package/lib/result.js +2 -2
  68. package/lib/row.js +2 -2
  69. package/lib/scrollbar.js +2 -2
  70. package/lib/select.js +2 -2
  71. package/lib/skeleton-item.js +2 -2
  72. package/lib/skeleton.js +2 -2
  73. package/lib/slider.js +2 -2
  74. package/lib/spinner.js +2 -2
  75. package/lib/step.js +2 -2
  76. package/lib/steps.js +2 -2
  77. package/lib/submenu.js +2 -2
  78. package/lib/switch.js +23 -23
  79. package/lib/tab-pane.js +2 -2
  80. package/lib/table-column.js +2 -2
  81. package/lib/table.js +3 -2
  82. package/lib/tabs.js +2 -2
  83. package/lib/tag.js +2 -2
  84. package/lib/time-picker.js +2 -2
  85. package/lib/time-select.js +2 -2
  86. package/lib/timeline-item.js +2 -2
  87. package/lib/timeline.js +2 -2
  88. package/lib/tooltip.js +2 -2
  89. package/lib/transfer.js +2 -2
  90. package/lib/tree.js +2 -2
  91. package/lib/upload.js +2 -2
  92. package/package.json +3 -3
  93. package/packages/editor/src/index.vue +13 -0
  94. package/packages/editor/src/video-security.js +56 -0
  95. package/packages/theme-chalk/gulpfile.js +25 -0
  96. package/packages/theme-chalk/package.json +1 -1
  97. package/src/index.js +1 -1
  98. package/CHANGELOG.en-US.md +0 -1577
  99. package/CHANGELOG.es.md +0 -1585
  100. package/CHANGELOG.fr-FR.md +0 -1576
  101. package/CHANGELOG.zh-CN.md +0 -1577
  102. package/packages/.DS_Store +0 -0
  103. package/packages/theme-chalk/lib/alert.css +0 -1
  104. package/packages/theme-chalk/lib/aside.css +0 -1
  105. package/packages/theme-chalk/lib/autocomplete.css +0 -1
  106. package/packages/theme-chalk/lib/avatar.css +0 -1
  107. package/packages/theme-chalk/lib/backtop.css +0 -1
  108. package/packages/theme-chalk/lib/badge.css +0 -1
  109. package/packages/theme-chalk/lib/base.css +0 -1
  110. package/packages/theme-chalk/lib/breadcrumb-item.css +0 -0
  111. package/packages/theme-chalk/lib/breadcrumb.css +0 -1
  112. package/packages/theme-chalk/lib/button-group.css +0 -0
  113. package/packages/theme-chalk/lib/button.css +0 -1
  114. package/packages/theme-chalk/lib/calendar.css +0 -1
  115. package/packages/theme-chalk/lib/card.css +0 -1
  116. package/packages/theme-chalk/lib/carousel-item.css +0 -1
  117. package/packages/theme-chalk/lib/carousel.css +0 -1
  118. package/packages/theme-chalk/lib/cascader-panel.css +0 -1
  119. package/packages/theme-chalk/lib/cascader.css +0 -1
  120. package/packages/theme-chalk/lib/checkbox-button.css +0 -0
  121. package/packages/theme-chalk/lib/checkbox-group.css +0 -0
  122. package/packages/theme-chalk/lib/checkbox.css +0 -1
  123. package/packages/theme-chalk/lib/col.css +0 -1
  124. package/packages/theme-chalk/lib/collapse-item.css +0 -0
  125. package/packages/theme-chalk/lib/collapse.css +0 -1
  126. package/packages/theme-chalk/lib/color-picker.css +0 -1
  127. package/packages/theme-chalk/lib/container.css +0 -1
  128. package/packages/theme-chalk/lib/date-picker.css +0 -1
  129. package/packages/theme-chalk/lib/descriptions-item.css +0 -1
  130. package/packages/theme-chalk/lib/descriptions.css +0 -1
  131. package/packages/theme-chalk/lib/dialog.css +0 -1
  132. package/packages/theme-chalk/lib/display.css +0 -1
  133. package/packages/theme-chalk/lib/divider.css +0 -1
  134. package/packages/theme-chalk/lib/drawer.css +0 -1
  135. package/packages/theme-chalk/lib/dropdown-item.css +0 -0
  136. package/packages/theme-chalk/lib/dropdown-menu.css +0 -0
  137. package/packages/theme-chalk/lib/dropdown.css +0 -1
  138. package/packages/theme-chalk/lib/editor.css +0 -1
  139. package/packages/theme-chalk/lib/empty.css +0 -1
  140. package/packages/theme-chalk/lib/fonts/element-icons.ttf +0 -0
  141. package/packages/theme-chalk/lib/fonts/element-icons.woff +0 -0
  142. package/packages/theme-chalk/lib/fonts/w-e-icon.woff +0 -0
  143. package/packages/theme-chalk/lib/footer.css +0 -1
  144. package/packages/theme-chalk/lib/form-item.css +0 -0
  145. package/packages/theme-chalk/lib/form.css +0 -1
  146. package/packages/theme-chalk/lib/header.css +0 -1
  147. package/packages/theme-chalk/lib/icon.css +0 -1
  148. package/packages/theme-chalk/lib/image.css +0 -1
  149. package/packages/theme-chalk/lib/index.css +0 -1
  150. package/packages/theme-chalk/lib/infinite-scroll.css +0 -0
  151. package/packages/theme-chalk/lib/infiniteScroll.css +0 -0
  152. package/packages/theme-chalk/lib/input-number.css +0 -1
  153. package/packages/theme-chalk/lib/input.css +0 -1
  154. package/packages/theme-chalk/lib/link.css +0 -1
  155. package/packages/theme-chalk/lib/loading.css +0 -1
  156. package/packages/theme-chalk/lib/main.css +0 -1
  157. package/packages/theme-chalk/lib/menu-item-group.css +0 -0
  158. package/packages/theme-chalk/lib/menu-item.css +0 -0
  159. package/packages/theme-chalk/lib/menu.css +0 -1
  160. package/packages/theme-chalk/lib/message-box.css +0 -1
  161. package/packages/theme-chalk/lib/message.css +0 -1
  162. package/packages/theme-chalk/lib/notification.css +0 -1
  163. package/packages/theme-chalk/lib/option-group.css +0 -1
  164. package/packages/theme-chalk/lib/option.css +0 -1
  165. package/packages/theme-chalk/lib/page-header.css +0 -1
  166. package/packages/theme-chalk/lib/pagination.css +0 -1
  167. package/packages/theme-chalk/lib/popconfirm.css +0 -1
  168. package/packages/theme-chalk/lib/popover.css +0 -1
  169. package/packages/theme-chalk/lib/popper.css +0 -1
  170. package/packages/theme-chalk/lib/progress.css +0 -1
  171. package/packages/theme-chalk/lib/radio-button.css +0 -1
  172. package/packages/theme-chalk/lib/radio-group.css +0 -1
  173. package/packages/theme-chalk/lib/radio.css +0 -1
  174. package/packages/theme-chalk/lib/rate.css +0 -1
  175. package/packages/theme-chalk/lib/reset.css +0 -1
  176. package/packages/theme-chalk/lib/result.css +0 -1
  177. package/packages/theme-chalk/lib/row.css +0 -1
  178. package/packages/theme-chalk/lib/scrollbar.css +0 -1
  179. package/packages/theme-chalk/lib/select-dropdown.css +0 -1
  180. package/packages/theme-chalk/lib/select.css +0 -1
  181. package/packages/theme-chalk/lib/skeleton-item.css +0 -1
  182. package/packages/theme-chalk/lib/skeleton.css +0 -1
  183. package/packages/theme-chalk/lib/slider.css +0 -1
  184. package/packages/theme-chalk/lib/spinner.css +0 -1
  185. package/packages/theme-chalk/lib/step.css +0 -1
  186. package/packages/theme-chalk/lib/steps.css +0 -1
  187. package/packages/theme-chalk/lib/submenu.css +0 -0
  188. package/packages/theme-chalk/lib/switch.css +0 -1
  189. package/packages/theme-chalk/lib/tab-pane.css +0 -0
  190. package/packages/theme-chalk/lib/table-column.css +0 -1
  191. package/packages/theme-chalk/lib/table.css +0 -1
  192. package/packages/theme-chalk/lib/tabs.css +0 -1
  193. package/packages/theme-chalk/lib/tag.css +0 -1
  194. package/packages/theme-chalk/lib/time-picker.css +0 -1
  195. package/packages/theme-chalk/lib/time-select.css +0 -1
  196. package/packages/theme-chalk/lib/timeline-item.css +0 -1
  197. package/packages/theme-chalk/lib/timeline.css +0 -1
  198. package/packages/theme-chalk/lib/tooltip.css +0 -1
  199. package/packages/theme-chalk/lib/transfer.css +0 -1
  200. package/packages/theme-chalk/lib/tree.css +0 -1
  201. package/packages/theme-chalk/lib/upload.css +0 -1
  202. package/src/.DS_Store +0 -0
  203. package/src/utils/.DS_Store +0 -0
@@ -82,11 +82,12 @@ module.exports =
82
82
  /******/
83
83
  /******/
84
84
  /******/ // Load entry module and return exports
85
- /******/ return __webpack_require__(__webpack_require__.s = 61);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 62);
86
86
  /******/ })
87
87
  /************************************************************************/
88
- /******/ ([
89
- /* 0 */
88
+ /******/ ({
89
+
90
+ /***/ 0:
90
91
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
91
92
 
92
93
  "use strict";
@@ -190,94 +191,50 @@ function normalizeComponent(
190
191
 
191
192
 
192
193
  /***/ }),
193
- /* 1 */
194
+
195
+ /***/ 1:
194
196
  /***/ (function(module, exports) {
195
197
 
196
198
  module.exports = require("@evolvere/sgp-ui/lib/utils/date-util");
197
199
 
198
200
  /***/ }),
199
- /* 2 */
200
- /***/ (function(module, exports) {
201
-
202
- module.exports = require("@evolvere/sgp-ui/lib/utils/dom");
203
201
 
204
- /***/ }),
205
- /* 3 */
202
+ /***/ 10:
206
203
  /***/ (function(module, exports) {
207
204
 
208
- module.exports = require("@evolvere/sgp-ui/lib/utils/util");
205
+ module.exports = require("@evolvere/sgp-ui/lib/input");
209
206
 
210
207
  /***/ }),
211
- /* 4 */
212
- /***/ (function(module, exports) {
213
-
214
- module.exports = require("@evolvere/sgp-ui/lib/mixins/emitter");
215
208
 
216
- /***/ }),
217
- /* 5 */
209
+ /***/ 12:
218
210
  /***/ (function(module, exports) {
219
211
 
220
- module.exports = require("@evolvere/sgp-ui/lib/utils/vue-popper");
212
+ module.exports = require("@evolvere/sgp-ui/lib/utils/clickoutside");
221
213
 
222
214
  /***/ }),
223
- /* 6 */
224
- /***/ (function(module, exports) {
225
215
 
226
- module.exports = require("@evolvere/sgp-ui/lib/mixins/locale");
227
-
228
- /***/ }),
229
- /* 7 */
216
+ /***/ 14:
230
217
  /***/ (function(module, exports) {
231
218
 
232
- module.exports = require("vue");
219
+ module.exports = require("@evolvere/sgp-ui/lib/button");
233
220
 
234
221
  /***/ }),
235
- /* 8 */,
236
- /* 9 */
237
- /***/ (function(module, exports) {
238
-
239
- module.exports = require("@evolvere/sgp-ui/lib/utils/merge");
240
222
 
241
- /***/ }),
242
- /* 10 */
223
+ /***/ 15:
243
224
  /***/ (function(module, exports) {
244
225
 
245
- module.exports = require("@evolvere/sgp-ui/lib/input");
226
+ module.exports = require("@evolvere/sgp-ui/lib/scrollbar");
246
227
 
247
228
  /***/ }),
248
- /* 11 */,
249
- /* 12 */
250
- /***/ (function(module, exports) {
251
229
 
252
- module.exports = require("@evolvere/sgp-ui/lib/utils/clickoutside");
253
-
254
- /***/ }),
255
- /* 13 */,
256
- /* 14 */
230
+ /***/ 2:
257
231
  /***/ (function(module, exports) {
258
232
 
259
- module.exports = require("@evolvere/sgp-ui/lib/button");
233
+ module.exports = require("@evolvere/sgp-ui/lib/utils/dom");
260
234
 
261
235
  /***/ }),
262
- /* 15 */
263
- /***/ (function(module, exports) {
264
-
265
- module.exports = require("@evolvere/sgp-ui/lib/scrollbar");
266
236
 
267
- /***/ }),
268
- /* 16 */,
269
- /* 17 */,
270
- /* 18 */,
271
- /* 19 */,
272
- /* 20 */,
273
- /* 21 */,
274
- /* 22 */,
275
- /* 23 */,
276
- /* 24 */,
277
- /* 25 */,
278
- /* 26 */,
279
- /* 27 */,
280
- /* 28 */
237
+ /***/ 28:
281
238
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
282
239
 
283
240
  "use strict";
@@ -601,9 +558,15 @@ var component = Object(componentNormalizer["a" /* default */])(
601
558
  /* harmony default export */ var time = __webpack_exports__["a"] = (component.exports);
602
559
 
603
560
  /***/ }),
604
- /* 29 */,
605
- /* 30 */,
606
- /* 31 */
561
+
562
+ /***/ 3:
563
+ /***/ (function(module, exports) {
564
+
565
+ module.exports = require("@evolvere/sgp-ui/lib/utils/util");
566
+
567
+ /***/ }),
568
+
569
+ /***/ 31:
607
570
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
608
571
 
609
572
  "use strict";
@@ -637,8 +600,8 @@ var component = Object(componentNormalizer["a" /* default */])(
637
600
  });
638
601
 
639
602
  /***/ }),
640
- /* 32 */,
641
- /* 33 */
603
+
604
+ /***/ 33:
642
605
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
643
606
 
644
607
  "use strict";
@@ -1768,8 +1731,8 @@ var component = Object(componentNormalizer["a" /* default */])(
1768
1731
  /* harmony default export */ var picker = __webpack_exports__["a"] = (component.exports);
1769
1732
 
1770
1733
  /***/ }),
1771
- /* 34 */,
1772
- /* 35 */
1734
+
1735
+ /***/ 35:
1773
1736
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
1774
1737
 
1775
1738
  "use strict";
@@ -2466,32 +2429,29 @@ var component = Object(componentNormalizer["a" /* default */])(
2466
2429
  /* harmony default export */ var time_spinner = __webpack_exports__["a"] = (component.exports);
2467
2430
 
2468
2431
  /***/ }),
2469
- /* 36 */,
2470
- /* 37 */,
2471
- /* 38 */,
2472
- /* 39 */,
2473
- /* 40 */,
2474
- /* 41 */,
2475
- /* 42 */,
2476
- /* 43 */,
2477
- /* 44 */,
2478
- /* 45 */,
2479
- /* 46 */,
2480
- /* 47 */,
2481
- /* 48 */,
2482
- /* 49 */,
2483
- /* 50 */,
2484
- /* 51 */,
2485
- /* 52 */,
2486
- /* 53 */,
2487
- /* 54 */,
2488
- /* 55 */,
2489
- /* 56 */,
2490
- /* 57 */,
2491
- /* 58 */,
2492
- /* 59 */,
2493
- /* 60 */,
2494
- /* 61 */
2432
+
2433
+ /***/ 4:
2434
+ /***/ (function(module, exports) {
2435
+
2436
+ module.exports = require("@evolvere/sgp-ui/lib/mixins/emitter");
2437
+
2438
+ /***/ }),
2439
+
2440
+ /***/ 5:
2441
+ /***/ (function(module, exports) {
2442
+
2443
+ module.exports = require("@evolvere/sgp-ui/lib/utils/vue-popper");
2444
+
2445
+ /***/ }),
2446
+
2447
+ /***/ 6:
2448
+ /***/ (function(module, exports) {
2449
+
2450
+ module.exports = require("@evolvere/sgp-ui/lib/mixins/locale");
2451
+
2452
+ /***/ }),
2453
+
2454
+ /***/ 62:
2495
2455
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
2496
2456
 
2497
2457
  "use strict";
@@ -6249,5 +6209,20 @@ date_picker.install = function install(Vue) {
6249
6209
 
6250
6210
  /* harmony default export */ var packages_date_picker = __webpack_exports__["default"] = (date_picker);
6251
6211
 
6212
+ /***/ }),
6213
+
6214
+ /***/ 7:
6215
+ /***/ (function(module, exports) {
6216
+
6217
+ module.exports = require("vue");
6218
+
6219
+ /***/ }),
6220
+
6221
+ /***/ 9:
6222
+ /***/ (function(module, exports) {
6223
+
6224
+ module.exports = require("@evolvere/sgp-ui/lib/utils/merge");
6225
+
6252
6226
  /***/ })
6253
- /******/ ]);
6227
+
6228
+ /******/ });
@@ -82,12 +82,12 @@ module.exports =
82
82
  /******/
83
83
  /******/
84
84
  /******/ // Load entry module and return exports
85
- /******/ return __webpack_require__(__webpack_require__.s = 148);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 149);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
89
89
 
90
- /***/ 148:
90
+ /***/ 149:
91
91
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
92
92
 
93
93
  "use strict";
@@ -82,12 +82,12 @@ module.exports =
82
82
  /******/
83
83
  /******/
84
84
  /******/ // Load entry module and return exports
85
- /******/ return __webpack_require__(__webpack_require__.s = 143);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 144);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
89
89
 
90
- /***/ 143:
90
+ /***/ 144:
91
91
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
92
92
 
93
93
  "use strict";
package/lib/dialog.js CHANGED
@@ -82,7 +82,7 @@ module.exports =
82
82
  /******/
83
83
  /******/
84
84
  /******/ // Load entry module and return exports
85
- /******/ return __webpack_require__(__webpack_require__.s = 87);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 88);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
@@ -213,7 +213,7 @@ module.exports = require("@evolvere/sgp-ui/lib/mixins/emitter");
213
213
 
214
214
  /***/ }),
215
215
 
216
- /***/ 87:
216
+ /***/ 88:
217
217
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
218
218
 
219
219
  "use strict";
package/lib/divider.js CHANGED
@@ -82,7 +82,7 @@ module.exports =
82
82
  /******/
83
83
  /******/
84
84
  /******/ // Load entry module and return exports
85
- /******/ return __webpack_require__(__webpack_require__.s = 128);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 129);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
@@ -192,7 +192,7 @@ function normalizeComponent(
192
192
 
193
193
  /***/ }),
194
194
 
195
- /***/ 128:
195
+ /***/ 129:
196
196
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
197
197
 
198
198
  "use strict";
package/lib/drawer.js CHANGED
@@ -82,7 +82,7 @@ module.exports =
82
82
  /******/
83
83
  /******/
84
84
  /******/ // Load entry module and return exports
85
- /******/ return __webpack_require__(__webpack_require__.s = 131);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 132);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
@@ -199,7 +199,7 @@ module.exports = require("@evolvere/sgp-ui/lib/utils/popup");
199
199
 
200
200
  /***/ }),
201
201
 
202
- /***/ 131:
202
+ /***/ 132:
203
203
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
204
204
 
205
205
  "use strict";
@@ -82,7 +82,7 @@ module.exports =
82
82
  /******/
83
83
  /******/
84
84
  /******/ // Load entry module and return exports
85
- /******/ return __webpack_require__(__webpack_require__.s = 89);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 90);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
@@ -199,7 +199,7 @@ module.exports = require("@evolvere/sgp-ui/lib/mixins/emitter");
199
199
 
200
200
  /***/ }),
201
201
 
202
- /***/ 89:
202
+ /***/ 90:
203
203
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
204
204
 
205
205
  "use strict";
@@ -82,7 +82,7 @@ module.exports =
82
82
  /******/
83
83
  /******/
84
84
  /******/ // Load entry module and return exports
85
- /******/ return __webpack_require__(__webpack_require__.s = 88);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 89);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
@@ -199,7 +199,7 @@ module.exports = require("@evolvere/sgp-ui/lib/utils/vue-popper");
199
199
 
200
200
  /***/ }),
201
201
 
202
- /***/ 88:
202
+ /***/ 89:
203
203
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
204
204
 
205
205
  "use strict";
package/lib/dropdown.js CHANGED
@@ -82,7 +82,7 @@ module.exports =
82
82
  /******/
83
83
  /******/
84
84
  /******/ // Load entry module and return exports
85
- /******/ return __webpack_require__(__webpack_require__.s = 135);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 136);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
@@ -206,7 +206,7 @@ module.exports = require("@evolvere/sgp-ui/lib/utils/clickoutside");
206
206
 
207
207
  /***/ }),
208
208
 
209
- /***/ 135:
209
+ /***/ 136:
210
210
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
211
211
 
212
212
  "use strict";
package/lib/editor.js CHANGED
@@ -82,7 +82,7 @@ module.exports =
82
82
  /******/
83
83
  /******/
84
84
  /******/ // Load entry module and return exports
85
- /******/ return __webpack_require__(__webpack_require__.s = 134);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 135);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
@@ -192,14 +192,14 @@ function normalizeComponent(
192
192
 
193
193
  /***/ }),
194
194
 
195
- /***/ 134:
195
+ /***/ 135:
196
196
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
197
197
 
198
198
  "use strict";
199
199
  // ESM COMPAT FLAG
200
200
  __webpack_require__.r(__webpack_exports__);
201
201
 
202
- // CONCATENATED MODULE: ./node_modules/_vue-loader@15.10.0@vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/_vue-loader@15.10.0@vue-loader/lib??vue-loader-options!./packages/editor/src/index.vue?vue&type=template&id=3695aade&scoped=true&
202
+ // CONCATENATED MODULE: ./node_modules/_vue-loader@15.10.0@vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/_vue-loader@15.10.0@vue-loader/lib??vue-loader-options!./packages/editor/src/index.vue?vue&type=template&id=a1662642&scoped=true&
203
203
  var render = function () {
204
204
  var _vm = this
205
205
  var _h = _vm.$createElement
@@ -210,7 +210,7 @@ var staticRenderFns = []
210
210
  render._withStripped = true
211
211
 
212
212
 
213
- // CONCATENATED MODULE: ./packages/editor/src/index.vue?vue&type=template&id=3695aade&scoped=true&
213
+ // CONCATENATED MODULE: ./packages/editor/src/index.vue?vue&type=template&id=a1662642&scoped=true&
214
214
 
215
215
  // EXTERNAL MODULE: ./node_modules/_babel-loader@7.1.5@babel-loader/lib!./node_modules/_vue-loader@15.10.0@vue-loader/lib??vue-loader-options!./packages/editor/src/index.vue?vue&type=script&lang=js&
216
216
  var srcvue_type_script_lang_js_ = __webpack_require__(44);
@@ -234,7 +234,7 @@ var component = Object(componentNormalizer["a" /* default */])(
234
234
  staticRenderFns,
235
235
  false,
236
236
  null,
237
- "3695aade",
237
+ "a1662642",
238
238
  null
239
239
 
240
240
  )
@@ -252,7 +252,7 @@ src.install = function (Vue) {
252
252
 
253
253
  /***/ }),
254
254
 
255
- /***/ 141:
255
+ /***/ 142:
256
256
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
257
257
 
258
258
  "use strict";
@@ -504,13 +504,16 @@ function _inherits(subClass, superClass) { if (typeof superClass !== "function"
504
504
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
505
505
 
506
506
  "use strict";
507
- /* WEBPACK VAR INJECTION */(function(global) {var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
507
+ /* WEBPACK VAR INJECTION */(function(global) {/* harmony import */ var _video_security__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(57);
508
+ var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
508
509
 
509
510
  //
510
511
  //
511
512
  //
512
513
  //
513
514
 
515
+
516
+
514
517
  var signIsEditorChange = true;
515
518
  /* harmony default export */ __webpack_exports__["a"] = ({
516
519
  name: 'ElEditor',
@@ -539,11 +542,11 @@ var signIsEditorChange = true;
539
542
  mounted: function mounted() {
540
543
  var _this = this;
541
544
 
542
- var E = __webpack_require__(59);
545
+ var E = __webpack_require__(60);
543
546
  var editor = new E(this.$refs.wangEditor);
544
547
 
545
548
  // 自定义按钮 text-indent
546
- var textIndentDef = __webpack_require__(141);
549
+ var textIndentDef = __webpack_require__(142);
547
550
  var textIndent = textIndentDef.default(E);
548
551
  var textIndentKey = 'textIndent';
549
552
  editor.menus.extend('indent', textIndent);
@@ -567,6 +570,15 @@ var signIsEditorChange = true;
567
570
 
568
571
  editor.config = _extends({}, editor.config, this.options);
569
572
 
573
+ // wangEditor 4 inserts online-video markup with insertHTML. Always run the
574
+ // built-in security check before an optional consumer-provided validator.
575
+ var customOnlineVideoCheck = editor.config.onlineVideoCheck;
576
+ editor.config.onlineVideoCheck = function (video) {
577
+ var securityCheck = Object(_video_security__WEBPACK_IMPORTED_MODULE_0__[/* validateOnlineVideo */ "a"])(video);
578
+ if (securityCheck !== true) return securityCheck;
579
+ return typeof customOnlineVideoCheck === 'function' ? customOnlineVideoCheck(video) : true;
580
+ };
581
+
570
582
  editor.config.onchange = function (newHtml) {
571
583
  // this.editorData = newHtml;
572
584
  signIsEditorChange = false;
@@ -615,11 +627,63 @@ var signIsEditorChange = true;
615
627
  }
616
628
  }
617
629
  });
618
- /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(58)))
630
+ /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(59)))
619
631
 
620
632
  /***/ }),
621
633
 
622
- /***/ 58:
634
+ /***/ 57:
635
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
636
+
637
+ "use strict";
638
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return validateOnlineVideo; });
639
+ var ALLOWED_IFRAME_ATTRIBUTES = ['allow', 'allowfullscreen', 'frameborder', 'height', 'loading', 'mozallowfullscreen', 'referrerpolicy', 'src', 'title', 'webkitallowfullscreen', 'width'];
640
+
641
+ var INVALID_VIDEO_MESSAGE = '视频代码不安全,仅支持使用 http/https 地址的 iframe';
642
+
643
+ function hasSafeSource(element) {
644
+ var source = (element.getAttribute('src') || '').trim();
645
+ if (!source) return false;
646
+
647
+ var parser = document.createElement('a');
648
+ parser.href = source;
649
+ return parser.protocol === 'http:' || parser.protocol === 'https:';
650
+ }
651
+
652
+ /**
653
+ * wangEditor 4 treats the online-video input as HTML rather than as a URL.
654
+ * Accept one tightly constrained iframe so attributes such as srcdoc/onload
655
+ * and sibling script elements cannot reach insertHTML.
656
+ */
657
+ function validateOnlineVideo(video) {
658
+ if (typeof video !== 'string') return INVALID_VIDEO_MESSAGE;
659
+
660
+ var container = document.createElement('div');
661
+ container.innerHTML = video.trim();
662
+
663
+ if (container.children.length !== 1 || container.childNodes.length !== 1) {
664
+ return INVALID_VIDEO_MESSAGE;
665
+ }
666
+
667
+ var iframe = container.firstElementChild;
668
+ if (!iframe || iframe.tagName !== 'IFRAME' || !hasSafeSource(iframe)) {
669
+ return INVALID_VIDEO_MESSAGE;
670
+ }
671
+
672
+ var attributes = Array.prototype.slice.call(iframe.attributes);
673
+ var hasUnsafeAttribute = attributes.some(function (attribute) {
674
+ return ALLOWED_IFRAME_ATTRIBUTES.indexOf(attribute.name.toLowerCase()) === -1;
675
+ });
676
+
677
+ if (hasUnsafeAttribute || iframe.children.length > 0) {
678
+ return INVALID_VIDEO_MESSAGE;
679
+ }
680
+
681
+ return true;
682
+ }
683
+
684
+ /***/ }),
685
+
686
+ /***/ 59:
623
687
  /***/ (function(module, exports) {
624
688
 
625
689
  var g;
@@ -646,7 +710,7 @@ module.exports = g;
646
710
 
647
711
  /***/ }),
648
712
 
649
- /***/ 59:
713
+ /***/ 60:
650
714
  /***/ (function(module, exports) {
651
715
 
652
716
  module.exports = require("wangeditor");
package/lib/empty.js CHANGED
@@ -82,7 +82,7 @@ module.exports =
82
82
  /******/
83
83
  /******/
84
84
  /******/ // Load entry module and return exports
85
- /******/ return __webpack_require__(__webpack_require__.s = 74);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 75);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
@@ -199,7 +199,7 @@ module.exports = require("@evolvere/sgp-ui/lib/locale");
199
199
 
200
200
  /***/ }),
201
201
 
202
- /***/ 74:
202
+ /***/ 75:
203
203
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
204
204
 
205
205
  "use strict";
package/lib/footer.js CHANGED
@@ -82,7 +82,7 @@ module.exports =
82
82
  /******/
83
83
  /******/
84
84
  /******/ // Load entry module and return exports
85
- /******/ return __webpack_require__(__webpack_require__.s = 125);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 126);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
@@ -192,7 +192,7 @@ function normalizeComponent(
192
192
 
193
193
  /***/ }),
194
194
 
195
- /***/ 125:
195
+ /***/ 126:
196
196
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
197
197
 
198
198
  "use strict";
package/lib/form-item.js CHANGED
@@ -82,7 +82,7 @@ module.exports =
82
82
  /******/
83
83
  /******/
84
84
  /******/ // Load entry module and return exports
85
- /******/ return __webpack_require__(__webpack_require__.s = 75);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 76);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
@@ -213,7 +213,7 @@ module.exports = require("async-validator");
213
213
 
214
214
  /***/ }),
215
215
 
216
- /***/ 75:
216
+ /***/ 76:
217
217
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
218
218
 
219
219
  "use strict";
package/lib/form.js CHANGED
@@ -82,7 +82,7 @@ module.exports =
82
82
  /******/
83
83
  /******/
84
84
  /******/ // Load entry module and return exports
85
- /******/ return __webpack_require__(__webpack_require__.s = 105);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 106);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
@@ -192,7 +192,7 @@ function normalizeComponent(
192
192
 
193
193
  /***/ }),
194
194
 
195
- /***/ 105:
195
+ /***/ 106:
196
196
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
197
197
 
198
198
  "use strict";
package/lib/header.js CHANGED
@@ -82,7 +82,7 @@ module.exports =
82
82
  /******/
83
83
  /******/
84
84
  /******/ // Load entry module and return exports
85
- /******/ return __webpack_require__(__webpack_require__.s = 122);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 123);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
@@ -192,7 +192,7 @@ function normalizeComponent(
192
192
 
193
193
  /***/ }),
194
194
 
195
- /***/ 122:
195
+ /***/ 123:
196
196
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
197
197
 
198
198
  "use strict";
package/lib/icon.js CHANGED
@@ -82,7 +82,7 @@ module.exports =
82
82
  /******/
83
83
  /******/
84
84
  /******/ // Load entry module and return exports
85
- /******/ return __webpack_require__(__webpack_require__.s = 108);
85
+ /******/ return __webpack_require__(__webpack_require__.s = 109);
86
86
  /******/ })
87
87
  /************************************************************************/
88
88
  /******/ ({
@@ -192,7 +192,7 @@ function normalizeComponent(
192
192
 
193
193
  /***/ }),
194
194
 
195
- /***/ 108:
195
+ /***/ 109:
196
196
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
197
197
 
198
198
  "use strict";