@widgetic/editor 3.10.55 → 3.11.2
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.
- package/lib/control.js +1 -1
- package/lib/controls.js +1 -1
- package/lib/core.js +1 -1
- package/lib/dev/control.js +8 -8
- package/lib/dev/controls.js +123 -99
- package/lib/dev/core.js +20 -20
- package/lib/dev/editor.js +5814 -666
- package/lib/editor.js +26 -4
- package/package.json +4 -3
- package/src/core/services/uploads.js +76 -18
- package/src/editor/content/browser/dropzone.html +96 -8
- package/src/editor/content/browser/file.html +2 -0
- package/src/editor/content/browser/upload.html +216 -195
package/lib/dev/core.js
CHANGED
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
/******/ __webpack_require__.p = "";
|
|
61
61
|
/******/
|
|
62
62
|
/******/ // Load entry module and return exports
|
|
63
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
63
|
+
/******/ return __webpack_require__(__webpack_require__.s = 124);
|
|
64
64
|
/******/ })
|
|
65
65
|
/************************************************************************/
|
|
66
66
|
/******/ ({
|
|
@@ -365,7 +365,7 @@ module.exports = Content;
|
|
|
365
365
|
|
|
366
366
|
/***/ }),
|
|
367
367
|
|
|
368
|
-
/***/
|
|
368
|
+
/***/ 124:
|
|
369
369
|
/***/ (function(module, exports, __webpack_require__) {
|
|
370
370
|
|
|
371
371
|
var define = function define(m) {
|
|
@@ -377,18 +377,18 @@ window.require.define({
|
|
|
377
377
|
// models
|
|
378
378
|
'core/models/content': define(__webpack_require__(105)),
|
|
379
379
|
'core/models/composition': define(__webpack_require__(44)),
|
|
380
|
-
'core/models/widget': define(__webpack_require__(
|
|
380
|
+
'core/models/widget': define(__webpack_require__(38)),
|
|
381
381
|
'core/models/skin': define(__webpack_require__(45)),
|
|
382
|
-
'core/models/user': define(__webpack_require__(
|
|
382
|
+
'core/models/user': define(__webpack_require__(126)),
|
|
383
383
|
// widget stuff
|
|
384
|
-
'core/widget': define(__webpack_require__(
|
|
385
|
-
'core/controller/overlay': define(__webpack_require__(
|
|
384
|
+
'core/widget': define(__webpack_require__(127)),
|
|
385
|
+
'core/controller/overlay': define(__webpack_require__(128)),
|
|
386
386
|
'core/controller/font-loader': define(__webpack_require__(10))
|
|
387
387
|
});
|
|
388
388
|
|
|
389
389
|
/***/ }),
|
|
390
390
|
|
|
391
|
-
/***/
|
|
391
|
+
/***/ 125:
|
|
392
392
|
/***/ (function(module, exports) {
|
|
393
393
|
|
|
394
394
|
var Api;
|
|
@@ -426,7 +426,7 @@ module.exports = Api;
|
|
|
426
426
|
|
|
427
427
|
/***/ }),
|
|
428
428
|
|
|
429
|
-
/***/
|
|
429
|
+
/***/ 126:
|
|
430
430
|
/***/ (function(module, exports, __webpack_require__) {
|
|
431
431
|
|
|
432
432
|
var AjaxMixin, Model, User,
|
|
@@ -435,7 +435,7 @@ var AjaxMixin, Model, User,
|
|
|
435
435
|
|
|
436
436
|
Model = window.require('spine/model');
|
|
437
437
|
|
|
438
|
-
AjaxMixin = __webpack_require__(
|
|
438
|
+
AjaxMixin = __webpack_require__(37);
|
|
439
439
|
|
|
440
440
|
User = (function(superClass) {
|
|
441
441
|
extend(User, superClass);
|
|
@@ -457,7 +457,7 @@ module.exports = User;
|
|
|
457
457
|
|
|
458
458
|
/***/ }),
|
|
459
459
|
|
|
460
|
-
/***/
|
|
460
|
+
/***/ 127:
|
|
461
461
|
/***/ (function(module, exports) {
|
|
462
462
|
|
|
463
463
|
var Container, Controller, Widget,
|
|
@@ -573,7 +573,7 @@ module.exports = Widget;
|
|
|
573
573
|
|
|
574
574
|
/***/ }),
|
|
575
575
|
|
|
576
|
-
/***/
|
|
576
|
+
/***/ 128:
|
|
577
577
|
/***/ (function(module, exports) {
|
|
578
578
|
|
|
579
579
|
var Controller, Overlay,
|
|
@@ -729,7 +729,7 @@ module.exports = Overlay;
|
|
|
729
729
|
|
|
730
730
|
/***/ }),
|
|
731
731
|
|
|
732
|
-
/***/
|
|
732
|
+
/***/ 37:
|
|
733
733
|
/***/ (function(module, exports, __webpack_require__) {
|
|
734
734
|
|
|
735
735
|
var Api, Base, Collection, Extend, Helper, Include, Mixin, Singleton, stringify, url,
|
|
@@ -737,7 +737,7 @@ var Api, Base, Collection, Extend, Helper, Include, Mixin, Singleton, stringify,
|
|
|
737
737
|
extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; },
|
|
738
738
|
hasProp = {}.hasOwnProperty;
|
|
739
739
|
|
|
740
|
-
Api = __webpack_require__(
|
|
740
|
+
Api = __webpack_require__(125);
|
|
741
741
|
|
|
742
742
|
stringify = Widgetic.JSON.stringify;
|
|
743
743
|
|
|
@@ -942,7 +942,7 @@ module.exports = Mixin;
|
|
|
942
942
|
|
|
943
943
|
/***/ }),
|
|
944
944
|
|
|
945
|
-
/***/
|
|
945
|
+
/***/ 38:
|
|
946
946
|
/***/ (function(module, exports, __webpack_require__) {
|
|
947
947
|
|
|
948
948
|
var AjaxMixin, Model, Skin, Widget, _loadSkins, hasRequiredFields,
|
|
@@ -953,7 +953,7 @@ Model = window.require('spine/model');
|
|
|
953
953
|
|
|
954
954
|
Skin = __webpack_require__(45);
|
|
955
955
|
|
|
956
|
-
AjaxMixin = __webpack_require__(
|
|
956
|
+
AjaxMixin = __webpack_require__(37);
|
|
957
957
|
|
|
958
958
|
_loadSkins = function(widget) {
|
|
959
959
|
if (widget.hasAllSkins) {
|
|
@@ -1041,11 +1041,11 @@ var AjaxMixin, Composition, Content, Model, Skin, Widget, _loadWidget,
|
|
|
1041
1041
|
|
|
1042
1042
|
Model = window.require('spine/model');
|
|
1043
1043
|
|
|
1044
|
-
AjaxMixin = __webpack_require__(
|
|
1044
|
+
AjaxMixin = __webpack_require__(37);
|
|
1045
1045
|
|
|
1046
1046
|
Skin = __webpack_require__(45);
|
|
1047
1047
|
|
|
1048
|
-
Widget = __webpack_require__(
|
|
1048
|
+
Widget = __webpack_require__(38);
|
|
1049
1049
|
|
|
1050
1050
|
Content = __webpack_require__(105);
|
|
1051
1051
|
|
|
@@ -1148,7 +1148,7 @@ Composition = (function(superClass) {
|
|
|
1148
1148
|
throw new Error('This composition is missing the widget_id.');
|
|
1149
1149
|
}
|
|
1150
1150
|
try {
|
|
1151
|
-
return (__webpack_require__(
|
|
1151
|
+
return (__webpack_require__(38)).find(this.widget_id);
|
|
1152
1152
|
} catch (error1) {
|
|
1153
1153
|
e = error1;
|
|
1154
1154
|
throw new Error("The widget " + this.widget_id + " is not loaded");
|
|
@@ -1330,7 +1330,7 @@ var AjaxMixin, Helper, Model, Skin, defaultAtts, isArray,
|
|
|
1330
1330
|
|
|
1331
1331
|
Model = window.require('spine/model');
|
|
1332
1332
|
|
|
1333
|
-
AjaxMixin = __webpack_require__(
|
|
1333
|
+
AjaxMixin = __webpack_require__(37);
|
|
1334
1334
|
|
|
1335
1335
|
Helper = window.require('spine/utils/helper');
|
|
1336
1336
|
|
|
@@ -1348,7 +1348,7 @@ Skin = (function(superClass) {
|
|
|
1348
1348
|
Skin.change(AjaxMixin.ajaxChange);
|
|
1349
1349
|
|
|
1350
1350
|
Skin.meta = function(widget_id) {
|
|
1351
|
-
return (__webpack_require__(
|
|
1351
|
+
return (__webpack_require__(38)).find(widget_id).skinMeta;
|
|
1352
1352
|
};
|
|
1353
1353
|
|
|
1354
1354
|
function Skin(atts) {
|