pxx-vue-quill 1.0.4 → 1.0.5

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.
@@ -7,7 +7,7 @@
7
7
  *
8
8
  * Copyright (c) 2025 Pxx-Team
9
9
  * Released under the MIT license
10
- * Date: 2025-08-21T01:58:08.326Z
10
+ * Date: 2025-08-21T03:23:56.124Z
11
11
  */
12
12
  (function (global, factory) {
13
13
  typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('vue')) :
@@ -18559,44 +18559,52 @@
18559
18559
 
18560
18560
  var require$$0 = /*@__PURE__*/getAugmentedNamespace(es);
18561
18561
 
18562
- var Action$1 = {};
18562
+ var Action = {};
18563
18563
 
18564
- Object.defineProperty(Action$1, "__esModule", {
18565
- value: true
18566
- });
18564
+ var hasRequiredAction;
18567
18565
 
18568
- var _createClass$1 = 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; }; }();
18566
+ function requireAction () {
18567
+ if (hasRequiredAction) return Action;
18568
+ hasRequiredAction = 1;
18569
18569
 
18570
- var _BlotFormatter = requireBlotFormatter();
18570
+ Object.defineProperty(Action, "__esModule", {
18571
+ value: true
18572
+ });
18571
18573
 
18572
- _interopRequireDefault(_BlotFormatter);
18574
+ 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; }; }();
18573
18575
 
18574
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
18576
+ var _BlotFormatter = requireBlotFormatter();
18575
18577
 
18576
- function _classCallCheck$1(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
18578
+ _interopRequireDefault(_BlotFormatter);
18577
18579
 
18578
- var Action = function () {
18579
- function Action(formatter) {
18580
- _classCallCheck$1(this, Action);
18580
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
18581
18581
 
18582
- this.formatter = formatter;
18583
- }
18582
+ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
18584
18583
 
18585
- _createClass$1(Action, [{
18586
- key: 'onCreate',
18587
- value: function onCreate() {}
18588
- }, {
18589
- key: 'onDestroy',
18590
- value: function onDestroy() {}
18591
- }, {
18592
- key: 'onUpdate',
18593
- value: function onUpdate() {}
18594
- }]);
18584
+ var Action$1 = function () {
18585
+ function Action(formatter) {
18586
+ _classCallCheck(this, Action);
18595
18587
 
18596
- return Action;
18597
- }();
18588
+ this.formatter = formatter;
18589
+ }
18598
18590
 
18599
- Action$1.default = Action;
18591
+ _createClass(Action, [{
18592
+ key: 'onCreate',
18593
+ value: function onCreate() {}
18594
+ }, {
18595
+ key: 'onDestroy',
18596
+ value: function onDestroy() {}
18597
+ }, {
18598
+ key: 'onUpdate',
18599
+ value: function onUpdate() {}
18600
+ }]);
18601
+
18602
+ return Action;
18603
+ }();
18604
+
18605
+ Action.default = Action$1;
18606
+ return Action;
18607
+ }
18600
18608
 
18601
18609
  var hasRequiredBlotFormatter;
18602
18610
 
@@ -18618,7 +18626,7 @@
18618
18626
 
18619
18627
  var _Options2 = _interopRequireDefault(_Options);
18620
18628
 
18621
- var _Action = Action$1;
18629
+ var _Action = requireAction();
18622
18630
 
18623
18631
  _interopRequireDefault(_Action);
18624
18632
 
@@ -18776,11 +18784,11 @@
18776
18784
  value: true
18777
18785
  });
18778
18786
 
18779
- 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; }; }();
18787
+ var _createClass$1 = 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; }; }();
18780
18788
 
18781
18789
  function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
18782
18790
 
18783
- function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
18791
+ function _classCallCheck$1(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
18784
18792
 
18785
18793
  var LEFT_ALIGN = 'left';
18786
18794
  var CENTER_ALIGN = 'center';
@@ -18791,7 +18799,7 @@
18791
18799
  var _this = this,
18792
18800
  _alignments;
18793
18801
 
18794
- _classCallCheck(this, DefaultAligner);
18802
+ _classCallCheck$1(this, DefaultAligner);
18795
18803
 
18796
18804
  this.applyStyle = options.aligner.applyStyle;
18797
18805
  this.alignAttribute = options.attribute;
@@ -18819,7 +18827,7 @@
18819
18827
  }), _alignments);
18820
18828
  }
18821
18829
 
18822
- _createClass(DefaultAligner, [{
18830
+ _createClass$1(DefaultAligner, [{
18823
18831
  key: 'getAlignments',
18824
18832
  value: function getAlignments() {
18825
18833
  var _this2 = this;
@@ -19057,7 +19065,7 @@
19057
19065
 
19058
19066
  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; }; }();
19059
19067
 
19060
- var _Action2 = Action$1;
19068
+ var _Action2 = requireAction();
19061
19069
 
19062
19070
  var _Action3 = _interopRequireDefault(_Action2);
19063
19071
 
@@ -19122,190 +19130,182 @@
19122
19130
  return AlignAction;
19123
19131
  }
19124
19132
 
19125
- var ResizeAction = {};
19126
-
19127
- var hasRequiredResizeAction;
19133
+ var ResizeAction$1 = {};
19128
19134
 
19129
- function requireResizeAction () {
19130
- if (hasRequiredResizeAction) return ResizeAction;
19131
- hasRequiredResizeAction = 1;
19132
-
19133
- Object.defineProperty(ResizeAction, "__esModule", {
19134
- value: true
19135
- });
19135
+ Object.defineProperty(ResizeAction$1, "__esModule", {
19136
+ value: true
19137
+ });
19136
19138
 
19137
- 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; }; }();
19139
+ 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; }; }();
19138
19140
 
19139
- var _Action2 = Action$1;
19141
+ var _Action2 = requireAction();
19140
19142
 
19141
- var _Action3 = _interopRequireDefault(_Action2);
19143
+ var _Action3 = _interopRequireDefault(_Action2);
19142
19144
 
19143
- var _BlotFormatter = requireBlotFormatter();
19145
+ var _BlotFormatter = requireBlotFormatter();
19144
19146
 
19145
- _interopRequireDefault(_BlotFormatter);
19147
+ _interopRequireDefault(_BlotFormatter);
19146
19148
 
19147
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
19149
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
19148
19150
 
19149
- function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
19151
+ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
19150
19152
 
19151
- function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
19153
+ function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
19152
19154
 
19153
- function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
19155
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
19154
19156
 
19155
- var ResizeAction$1 = function (_Action) {
19156
- _inherits(ResizeAction, _Action);
19157
+ var ResizeAction = function (_Action) {
19158
+ _inherits(ResizeAction, _Action);
19157
19159
 
19158
- function ResizeAction(formatter) {
19159
- _classCallCheck(this, ResizeAction);
19160
+ function ResizeAction(formatter) {
19161
+ _classCallCheck(this, ResizeAction);
19160
19162
 
19161
- var _this = _possibleConstructorReturn(this, (ResizeAction.__proto__ || Object.getPrototypeOf(ResizeAction)).call(this, formatter));
19163
+ var _this = _possibleConstructorReturn(this, (ResizeAction.__proto__ || Object.getPrototypeOf(ResizeAction)).call(this, formatter));
19162
19164
 
19163
- _this.onMouseDown = function (event) {
19164
- if (!(event.target instanceof HTMLElement)) {
19165
- return;
19166
- }
19167
- _this.dragHandle = event.target;
19168
- _this.setCursor(_this.dragHandle.style.cursor);
19165
+ _this.onMouseDown = function (event) {
19166
+ if (!(event.target instanceof HTMLElement)) {
19167
+ return;
19168
+ }
19169
+ _this.dragHandle = event.target;
19170
+ _this.setCursor(_this.dragHandle.style.cursor);
19169
19171
 
19170
- if (!_this.formatter.currentSpec) {
19171
- return;
19172
- }
19172
+ if (!_this.formatter.currentSpec) {
19173
+ return;
19174
+ }
19173
19175
 
19174
- var target = _this.formatter.currentSpec.getTargetElement();
19175
- if (!target) {
19176
- return;
19177
- }
19176
+ var target = _this.formatter.currentSpec.getTargetElement();
19177
+ if (!target) {
19178
+ return;
19179
+ }
19178
19180
 
19179
- var rect = target.getBoundingClientRect();
19181
+ var rect = target.getBoundingClientRect();
19180
19182
 
19181
- _this.dragStartX = event.clientX;
19182
- _this.preDragWidth = rect.width;
19183
- _this.targetRatio = rect.height / rect.width;
19183
+ _this.dragStartX = event.clientX;
19184
+ _this.preDragWidth = rect.width;
19185
+ _this.targetRatio = rect.height / rect.width;
19184
19186
 
19185
- document.addEventListener('mousemove', _this.onDrag);
19186
- document.addEventListener('mouseup', _this.onMouseUp);
19187
- };
19187
+ document.addEventListener('mousemove', _this.onDrag);
19188
+ document.addEventListener('mouseup', _this.onMouseUp);
19189
+ };
19188
19190
 
19189
- _this.onDrag = function (event) {
19190
- if (!_this.formatter.currentSpec) {
19191
- return;
19192
- }
19191
+ _this.onDrag = function (event) {
19192
+ if (!_this.formatter.currentSpec) {
19193
+ return;
19194
+ }
19193
19195
 
19194
- var target = _this.formatter.currentSpec.getTargetElement();
19195
- if (!target) {
19196
- return;
19197
- }
19196
+ var target = _this.formatter.currentSpec.getTargetElement();
19197
+ if (!target) {
19198
+ return;
19199
+ }
19198
19200
 
19199
- var deltaX = event.clientX - _this.dragStartX;
19200
- var newWidth = 0;
19201
+ var deltaX = event.clientX - _this.dragStartX;
19202
+ var newWidth = 0;
19201
19203
 
19202
- if (_this.dragHandle === _this.topLeftHandle || _this.dragHandle === _this.bottomLeftHandle) {
19203
- newWidth = Math.round(_this.preDragWidth - deltaX);
19204
- } else {
19205
- newWidth = Math.round(_this.preDragWidth + deltaX);
19206
- }
19204
+ if (_this.dragHandle === _this.topLeftHandle || _this.dragHandle === _this.bottomLeftHandle) {
19205
+ newWidth = Math.round(_this.preDragWidth - deltaX);
19206
+ } else {
19207
+ newWidth = Math.round(_this.preDragWidth + deltaX);
19208
+ }
19207
19209
 
19208
- var newHeight = _this.targetRatio * newWidth;
19210
+ var newHeight = _this.targetRatio * newWidth;
19209
19211
 
19210
- target.setAttribute('width', '' + newWidth);
19211
- target.setAttribute('height', '' + newHeight);
19212
+ target.setAttribute('width', '' + newWidth);
19213
+ target.setAttribute('height', '' + newHeight);
19212
19214
 
19213
- _this.formatter.update();
19214
- };
19215
+ _this.formatter.update();
19216
+ };
19215
19217
 
19216
- _this.onMouseUp = function () {
19217
- _this.setCursor('');
19218
- document.removeEventListener('mousemove', _this.onDrag);
19219
- document.removeEventListener('mouseup', _this.onMouseUp);
19220
- };
19218
+ _this.onMouseUp = function () {
19219
+ _this.setCursor('');
19220
+ document.removeEventListener('mousemove', _this.onDrag);
19221
+ document.removeEventListener('mouseup', _this.onMouseUp);
19222
+ };
19221
19223
 
19222
- _this.topLeftHandle = _this.createHandle('top-left', 'nwse-resize');
19223
- _this.topRightHandle = _this.createHandle('top-right', 'nesw-resize');
19224
- _this.bottomRightHandle = _this.createHandle('bottom-right', 'nwse-resize');
19225
- _this.bottomLeftHandle = _this.createHandle('bottom-left', 'nesw-resize');
19226
- _this.dragHandle = null;
19227
- _this.dragStartX = 0;
19228
- _this.preDragWidth = 0;
19229
- _this.targetRatio = 0;
19230
- return _this;
19231
- }
19224
+ _this.topLeftHandle = _this.createHandle('top-left', 'nwse-resize');
19225
+ _this.topRightHandle = _this.createHandle('top-right', 'nesw-resize');
19226
+ _this.bottomRightHandle = _this.createHandle('bottom-right', 'nwse-resize');
19227
+ _this.bottomLeftHandle = _this.createHandle('bottom-left', 'nesw-resize');
19228
+ _this.dragHandle = null;
19229
+ _this.dragStartX = 0;
19230
+ _this.preDragWidth = 0;
19231
+ _this.targetRatio = 0;
19232
+ return _this;
19233
+ }
19232
19234
 
19233
- _createClass(ResizeAction, [{
19234
- key: 'onCreate',
19235
- value: function onCreate() {
19236
- this.formatter.overlay.appendChild(this.topLeftHandle);
19237
- this.formatter.overlay.appendChild(this.topRightHandle);
19238
- this.formatter.overlay.appendChild(this.bottomRightHandle);
19239
- this.formatter.overlay.appendChild(this.bottomLeftHandle);
19235
+ _createClass(ResizeAction, [{
19236
+ key: 'onCreate',
19237
+ value: function onCreate() {
19238
+ this.formatter.overlay.appendChild(this.topLeftHandle);
19239
+ this.formatter.overlay.appendChild(this.topRightHandle);
19240
+ this.formatter.overlay.appendChild(this.bottomRightHandle);
19241
+ this.formatter.overlay.appendChild(this.bottomLeftHandle);
19240
19242
 
19241
- this.repositionHandles(this.formatter.options.resize.handleStyle);
19242
- }
19243
- }, {
19244
- key: 'onDestroy',
19245
- value: function onDestroy() {
19246
- this.setCursor('');
19247
- this.formatter.overlay.removeChild(this.topLeftHandle);
19248
- this.formatter.overlay.removeChild(this.topRightHandle);
19249
- this.formatter.overlay.removeChild(this.bottomRightHandle);
19250
- this.formatter.overlay.removeChild(this.bottomLeftHandle);
19251
- }
19252
- }, {
19253
- key: 'createHandle',
19254
- value: function createHandle(position, cursor) {
19255
- var box = document.createElement('div');
19256
- box.classList.add(this.formatter.options.resize.handleClassName);
19257
- box.setAttribute('data-position', position);
19258
- box.style.cursor = cursor;
19259
-
19260
- if (this.formatter.options.resize.handleStyle) {
19261
- Object.assign(box.style, this.formatter.options.resize.handleStyle);
19262
- }
19243
+ this.repositionHandles(this.formatter.options.resize.handleStyle);
19244
+ }
19245
+ }, {
19246
+ key: 'onDestroy',
19247
+ value: function onDestroy() {
19248
+ this.setCursor('');
19249
+ this.formatter.overlay.removeChild(this.topLeftHandle);
19250
+ this.formatter.overlay.removeChild(this.topRightHandle);
19251
+ this.formatter.overlay.removeChild(this.bottomRightHandle);
19252
+ this.formatter.overlay.removeChild(this.bottomLeftHandle);
19253
+ }
19254
+ }, {
19255
+ key: 'createHandle',
19256
+ value: function createHandle(position, cursor) {
19257
+ var box = document.createElement('div');
19258
+ box.classList.add(this.formatter.options.resize.handleClassName);
19259
+ box.setAttribute('data-position', position);
19260
+ box.style.cursor = cursor;
19261
+
19262
+ if (this.formatter.options.resize.handleStyle) {
19263
+ Object.assign(box.style, this.formatter.options.resize.handleStyle);
19264
+ }
19263
19265
 
19264
- box.addEventListener('mousedown', this.onMouseDown);
19266
+ box.addEventListener('mousedown', this.onMouseDown);
19265
19267
 
19266
- return box;
19267
- }
19268
- }, {
19269
- key: 'repositionHandles',
19270
- value: function repositionHandles(handleStyle) {
19271
- var handleXOffset = '0px';
19272
- var handleYOffset = '0px';
19273
- if (handleStyle) {
19274
- if (handleStyle.width) {
19275
- handleXOffset = -parseFloat(handleStyle.width) / 2 + 'px';
19276
- }
19277
- if (handleStyle.height) {
19278
- handleYOffset = -parseFloat(handleStyle.height) / 2 + 'px';
19279
- }
19280
- }
19268
+ return box;
19269
+ }
19270
+ }, {
19271
+ key: 'repositionHandles',
19272
+ value: function repositionHandles(handleStyle) {
19273
+ var handleXOffset = '0px';
19274
+ var handleYOffset = '0px';
19275
+ if (handleStyle) {
19276
+ if (handleStyle.width) {
19277
+ handleXOffset = -parseFloat(handleStyle.width) / 2 + 'px';
19278
+ }
19279
+ if (handleStyle.height) {
19280
+ handleYOffset = -parseFloat(handleStyle.height) / 2 + 'px';
19281
+ }
19282
+ }
19281
19283
 
19282
- Object.assign(this.topLeftHandle.style, { left: handleXOffset, top: handleYOffset });
19283
- Object.assign(this.topRightHandle.style, { right: handleXOffset, top: handleYOffset });
19284
- Object.assign(this.bottomRightHandle.style, { right: handleXOffset, bottom: handleYOffset });
19285
- Object.assign(this.bottomLeftHandle.style, { left: handleXOffset, bottom: handleYOffset });
19286
- }
19287
- }, {
19288
- key: 'setCursor',
19289
- value: function setCursor(value) {
19290
- if (document.body) {
19291
- document.body.style.cursor = value;
19292
- }
19284
+ Object.assign(this.topLeftHandle.style, { left: handleXOffset, top: handleYOffset });
19285
+ Object.assign(this.topRightHandle.style, { right: handleXOffset, top: handleYOffset });
19286
+ Object.assign(this.bottomRightHandle.style, { right: handleXOffset, bottom: handleYOffset });
19287
+ Object.assign(this.bottomLeftHandle.style, { left: handleXOffset, bottom: handleYOffset });
19288
+ }
19289
+ }, {
19290
+ key: 'setCursor',
19291
+ value: function setCursor(value) {
19292
+ if (document.body) {
19293
+ document.body.style.cursor = value;
19294
+ }
19293
19295
 
19294
- if (this.formatter.currentSpec) {
19295
- var target = this.formatter.currentSpec.getOverlayElement();
19296
- if (target) {
19297
- target.style.cursor = value;
19298
- }
19299
- }
19300
- }
19301
- }]);
19296
+ if (this.formatter.currentSpec) {
19297
+ var target = this.formatter.currentSpec.getOverlayElement();
19298
+ if (target) {
19299
+ target.style.cursor = value;
19300
+ }
19301
+ }
19302
+ }
19303
+ }]);
19302
19304
 
19303
- return ResizeAction;
19304
- }(_Action3.default);
19305
+ return ResizeAction;
19306
+ }(_Action3.default);
19305
19307
 
19306
- ResizeAction.default = ResizeAction$1;
19307
- return ResizeAction;
19308
- }
19308
+ ResizeAction$1.default = ResizeAction;
19309
19309
 
19310
19310
  var DeleteAction = {};
19311
19311
 
@@ -19325,7 +19325,7 @@
19325
19325
 
19326
19326
  var _quill2 = _interopRequireDefault(_quill);
19327
19327
 
19328
- var _Action2 = Action$1;
19328
+ var _Action2 = requireAction();
19329
19329
 
19330
19330
  var _Action3 = _interopRequireDefault(_Action2);
19331
19331
 
@@ -19404,7 +19404,7 @@
19404
19404
 
19405
19405
  _interopRequireDefault(_BlotFormatter);
19406
19406
 
19407
- var _Action = Action$1;
19407
+ var _Action = requireAction();
19408
19408
 
19409
19409
  _interopRequireDefault(_Action);
19410
19410
 
@@ -19412,7 +19412,7 @@
19412
19412
 
19413
19413
  var _AlignAction2 = _interopRequireDefault(_AlignAction);
19414
19414
 
19415
- var _ResizeAction = requireResizeAction();
19415
+ var _ResizeAction = ResizeAction$1;
19416
19416
 
19417
19417
  var _ResizeAction2 = _interopRequireDefault(_ResizeAction);
19418
19418
 
@@ -19860,7 +19860,7 @@
19860
19860
  }
19861
19861
  });
19862
19862
 
19863
- var _Action = Action$1;
19863
+ var _Action = requireAction();
19864
19864
 
19865
19865
  Object.defineProperty(exports, 'Action', {
19866
19866
  enumerable: true,
@@ -19905,7 +19905,7 @@
19905
19905
  }
19906
19906
  });
19907
19907
 
19908
- var _ResizeAction = requireResizeAction();
19908
+ var _ResizeAction = ResizeAction$1;
19909
19909
 
19910
19910
  Object.defineProperty(exports, 'ResizeAction', {
19911
19911
  enumerable: true,
@@ -19985,7 +19985,11 @@
19985
19985
  minHeight: {
19986
19986
  type: Number,
19987
19987
  required: false,
19988
- default: 90,
19988
+ default: 40,
19989
+ },
19990
+ needBorder: {
19991
+ type: Boolean,
19992
+ default: true,
19989
19993
  },
19990
19994
  theme: {
19991
19995
  type: String,
@@ -20048,6 +20052,11 @@
20048
20052
  let quill;
20049
20053
  let options;
20050
20054
  const editor = vue.ref();
20055
+ const editorStyleFilter = vue.computed(() => {
20056
+ return {
20057
+ minHeight: `${props.minHeight}px`,
20058
+ };
20059
+ });
20051
20060
  // Register Module if not already registered
20052
20061
  const registerModule = (moduleName, module) => {
20053
20062
  // For Quill 1.x, we can't check if module is already registered
@@ -20321,12 +20330,13 @@
20321
20330
  getText,
20322
20331
  setText,
20323
20332
  reinit,
20333
+ editorStyleFilter,
20324
20334
  };
20325
20335
  },
20326
20336
  render() {
20327
20337
  var _a, _b;
20328
20338
  return [
20329
- vue.h('div', { class: 'quill-editor-container', style: { minHeight: `${this.$props.minHeight}px` } }, [
20339
+ vue.h('div', { class: `quill-editor-container ${this.$props.needBorder ? 'need-border' : ''}`, style: this.editorStyleFilter }, [
20330
20340
  (_b = (_a = this.$slots).toolbar) === null || _b === void 0 ? void 0 : _b.call(_a),
20331
20341
  vue.h('div', { ref: 'editor', ...this.$attrs }),
20332
20342
  ]),