pxx-vue-quill 1.0.95 → 1.0.96
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/dist/vue-quill.umd.js +45 -36
- package/dist/vue-quill.umd.prod.js +2 -2
- package/package.json +1 -1
- package/dist/vue-quill.core.css +0 -391
- package/dist/vue-quill.core.prod.css +0 -1
- package/dist/vue-quill.extend.css +0 -236
- package/dist/vue-quill.extend.prod.css +0 -1
- package/dist/vue-quill.snow.css +0 -1153
- package/dist/vue-quill.snow.prod.css +0 -1
package/dist/vue-quill.umd.js
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
*
|
|
8
8
|
* Copyright (c) 2025 Pxx-Team
|
|
9
9
|
* Released under the MIT license
|
|
10
|
-
* Date: 2025-09-09T02:
|
|
10
|
+
* Date: 2025-09-09T02:28:36.927Z
|
|
11
11
|
*/
|
|
12
12
|
(function (global, factory) {
|
|
13
13
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('vue')) :
|
|
@@ -18693,44 +18693,52 @@
|
|
|
18693
18693
|
|
|
18694
18694
|
var require$$0 = /*@__PURE__*/getAugmentedNamespace(es);
|
|
18695
18695
|
|
|
18696
|
-
var Action
|
|
18696
|
+
var Action = {};
|
|
18697
18697
|
|
|
18698
|
-
|
|
18699
|
-
value: true
|
|
18700
|
-
});
|
|
18698
|
+
var hasRequiredAction;
|
|
18701
18699
|
|
|
18702
|
-
|
|
18700
|
+
function requireAction () {
|
|
18701
|
+
if (hasRequiredAction) return Action;
|
|
18702
|
+
hasRequiredAction = 1;
|
|
18703
18703
|
|
|
18704
|
-
|
|
18704
|
+
Object.defineProperty(Action, "__esModule", {
|
|
18705
|
+
value: true
|
|
18706
|
+
});
|
|
18705
18707
|
|
|
18706
|
-
|
|
18708
|
+
var _createClass = function () { 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, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
|
|
18707
18709
|
|
|
18708
|
-
|
|
18710
|
+
var _BlotFormatter = requireBlotFormatter();
|
|
18709
18711
|
|
|
18710
|
-
|
|
18712
|
+
_interopRequireDefault(_BlotFormatter);
|
|
18711
18713
|
|
|
18712
|
-
|
|
18713
|
-
function Action(formatter) {
|
|
18714
|
-
_classCallCheck$1(this, Action);
|
|
18714
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
18715
18715
|
|
|
18716
|
-
|
|
18717
|
-
}
|
|
18716
|
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
18718
18717
|
|
|
18719
|
-
|
|
18720
|
-
|
|
18721
|
-
|
|
18722
|
-
}, {
|
|
18723
|
-
key: 'onDestroy',
|
|
18724
|
-
value: function onDestroy() {}
|
|
18725
|
-
}, {
|
|
18726
|
-
key: 'onUpdate',
|
|
18727
|
-
value: function onUpdate() {}
|
|
18728
|
-
}]);
|
|
18718
|
+
var Action$1 = function () {
|
|
18719
|
+
function Action(formatter) {
|
|
18720
|
+
_classCallCheck(this, Action);
|
|
18729
18721
|
|
|
18730
|
-
|
|
18731
|
-
|
|
18722
|
+
this.formatter = formatter;
|
|
18723
|
+
}
|
|
18732
18724
|
|
|
18733
|
-
|
|
18725
|
+
_createClass(Action, [{
|
|
18726
|
+
key: 'onCreate',
|
|
18727
|
+
value: function onCreate() {}
|
|
18728
|
+
}, {
|
|
18729
|
+
key: 'onDestroy',
|
|
18730
|
+
value: function onDestroy() {}
|
|
18731
|
+
}, {
|
|
18732
|
+
key: 'onUpdate',
|
|
18733
|
+
value: function onUpdate() {}
|
|
18734
|
+
}]);
|
|
18735
|
+
|
|
18736
|
+
return Action;
|
|
18737
|
+
}();
|
|
18738
|
+
|
|
18739
|
+
Action.default = Action$1;
|
|
18740
|
+
return Action;
|
|
18741
|
+
}
|
|
18734
18742
|
|
|
18735
18743
|
var hasRequiredBlotFormatter;
|
|
18736
18744
|
|
|
@@ -18752,7 +18760,7 @@
|
|
|
18752
18760
|
|
|
18753
18761
|
var _Options2 = _interopRequireDefault(_Options);
|
|
18754
18762
|
|
|
18755
|
-
var _Action =
|
|
18763
|
+
var _Action = requireAction();
|
|
18756
18764
|
|
|
18757
18765
|
_interopRequireDefault(_Action);
|
|
18758
18766
|
|
|
@@ -19191,7 +19199,7 @@
|
|
|
19191
19199
|
|
|
19192
19200
|
var _createClass = function () { 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, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
|
|
19193
19201
|
|
|
19194
|
-
var _Action2 =
|
|
19202
|
+
var _Action2 = requireAction();
|
|
19195
19203
|
|
|
19196
19204
|
var _Action3 = _interopRequireDefault(_Action2);
|
|
19197
19205
|
|
|
@@ -19270,7 +19278,7 @@
|
|
|
19270
19278
|
|
|
19271
19279
|
var _createClass = function () { 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, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
|
|
19272
19280
|
|
|
19273
|
-
var _Action2 =
|
|
19281
|
+
var _Action2 = requireAction();
|
|
19274
19282
|
|
|
19275
19283
|
var _Action3 = _interopRequireDefault(_Action2);
|
|
19276
19284
|
|
|
@@ -19459,7 +19467,7 @@
|
|
|
19459
19467
|
|
|
19460
19468
|
var _quill2 = _interopRequireDefault(_quill);
|
|
19461
19469
|
|
|
19462
|
-
var _Action2 =
|
|
19470
|
+
var _Action2 = requireAction();
|
|
19463
19471
|
|
|
19464
19472
|
var _Action3 = _interopRequireDefault(_Action2);
|
|
19465
19473
|
|
|
@@ -19538,7 +19546,7 @@
|
|
|
19538
19546
|
|
|
19539
19547
|
_interopRequireDefault(_BlotFormatter);
|
|
19540
19548
|
|
|
19541
|
-
var _Action =
|
|
19549
|
+
var _Action = requireAction();
|
|
19542
19550
|
|
|
19543
19551
|
_interopRequireDefault(_Action);
|
|
19544
19552
|
|
|
@@ -19994,7 +20002,7 @@
|
|
|
19994
20002
|
}
|
|
19995
20003
|
});
|
|
19996
20004
|
|
|
19997
|
-
var _Action =
|
|
20005
|
+
var _Action = requireAction();
|
|
19998
20006
|
|
|
19999
20007
|
Object.defineProperty(exports, 'Action', {
|
|
20000
20008
|
enumerable: true,
|
|
@@ -20089,6 +20097,7 @@
|
|
|
20089
20097
|
|
|
20090
20098
|
var BlotFormatter = /*@__PURE__*/getDefaultExportFromCjs(dist);
|
|
20091
20099
|
|
|
20100
|
+
let isBlotFormatterRegistered = false;
|
|
20092
20101
|
function useBlotFormatter(editor, enableImageResize = true) {
|
|
20093
20102
|
const quillRef = vue.ref(null);
|
|
20094
20103
|
const removeQuillBlotFormatter = () => {
|
|
@@ -20187,13 +20196,13 @@
|
|
|
20187
20196
|
}
|
|
20188
20197
|
};
|
|
20189
20198
|
const registerBlotFormatter = () => {
|
|
20190
|
-
var _a;
|
|
20191
20199
|
if (!enableImageResize) {
|
|
20192
20200
|
return;
|
|
20193
20201
|
}
|
|
20194
20202
|
try {
|
|
20195
|
-
if (!
|
|
20203
|
+
if (!isBlotFormatterRegistered) {
|
|
20196
20204
|
Quill.register('modules/blotFormatter', BlotFormatter);
|
|
20205
|
+
isBlotFormatterRegistered = true;
|
|
20197
20206
|
}
|
|
20198
20207
|
}
|
|
20199
20208
|
catch (error) {
|