pxx-vue-quill 1.0.129 → 1.0.130

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-09-10T08:10:26.296Z
10
+ * Date: 2025-09-10T08:15:09.446Z
11
11
  */
12
12
  (function (global, factory) {
13
13
  typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('vue')) :
@@ -18769,44 +18769,52 @@
18769
18769
 
18770
18770
  var require$$0 = /*@__PURE__*/getAugmentedNamespace(es);
18771
18771
 
18772
- var Action$1 = {};
18772
+ var Action = {};
18773
18773
 
18774
- Object.defineProperty(Action$1, "__esModule", {
18775
- value: true
18776
- });
18774
+ var hasRequiredAction;
18777
18775
 
18778
- 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; }; }();
18776
+ function requireAction () {
18777
+ if (hasRequiredAction) return Action;
18778
+ hasRequiredAction = 1;
18779
18779
 
18780
- var _BlotFormatter = requireBlotFormatter();
18780
+ Object.defineProperty(Action, "__esModule", {
18781
+ value: true
18782
+ });
18781
18783
 
18782
- _interopRequireDefault(_BlotFormatter);
18784
+ 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; }; }();
18783
18785
 
18784
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
18786
+ var _BlotFormatter = requireBlotFormatter();
18785
18787
 
18786
- function _classCallCheck$1(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
18788
+ _interopRequireDefault(_BlotFormatter);
18787
18789
 
18788
- var Action = function () {
18789
- function Action(formatter) {
18790
- _classCallCheck$1(this, Action);
18790
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
18791
18791
 
18792
- this.formatter = formatter;
18793
- }
18792
+ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
18794
18793
 
18795
- _createClass$1(Action, [{
18796
- key: 'onCreate',
18797
- value: function onCreate() {}
18798
- }, {
18799
- key: 'onDestroy',
18800
- value: function onDestroy() {}
18801
- }, {
18802
- key: 'onUpdate',
18803
- value: function onUpdate() {}
18804
- }]);
18794
+ var Action$1 = function () {
18795
+ function Action(formatter) {
18796
+ _classCallCheck(this, Action);
18805
18797
 
18806
- return Action;
18807
- }();
18798
+ this.formatter = formatter;
18799
+ }
18800
+
18801
+ _createClass(Action, [{
18802
+ key: 'onCreate',
18803
+ value: function onCreate() {}
18804
+ }, {
18805
+ key: 'onDestroy',
18806
+ value: function onDestroy() {}
18807
+ }, {
18808
+ key: 'onUpdate',
18809
+ value: function onUpdate() {}
18810
+ }]);
18808
18811
 
18809
- Action$1.default = Action;
18812
+ return Action;
18813
+ }();
18814
+
18815
+ Action.default = Action$1;
18816
+ return Action;
18817
+ }
18810
18818
 
18811
18819
  var hasRequiredBlotFormatter;
18812
18820
 
@@ -18828,7 +18836,7 @@
18828
18836
 
18829
18837
  var _Options2 = _interopRequireDefault(_Options);
18830
18838
 
18831
- var _Action = Action$1;
18839
+ var _Action = requireAction();
18832
18840
 
18833
18841
  _interopRequireDefault(_Action);
18834
18842
 
@@ -18986,11 +18994,11 @@
18986
18994
  value: true
18987
18995
  });
18988
18996
 
18989
- 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; }; }();
18997
+ 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; }; }();
18990
18998
 
18991
18999
  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; }
18992
19000
 
18993
- function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
19001
+ function _classCallCheck$1(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
18994
19002
 
18995
19003
  var LEFT_ALIGN = 'left';
18996
19004
  var CENTER_ALIGN = 'center';
@@ -19001,7 +19009,7 @@
19001
19009
  var _this = this,
19002
19010
  _alignments;
19003
19011
 
19004
- _classCallCheck(this, DefaultAligner);
19012
+ _classCallCheck$1(this, DefaultAligner);
19005
19013
 
19006
19014
  this.applyStyle = options.aligner.applyStyle;
19007
19015
  this.alignAttribute = options.attribute;
@@ -19029,7 +19037,7 @@
19029
19037
  }), _alignments);
19030
19038
  }
19031
19039
 
19032
- _createClass(DefaultAligner, [{
19040
+ _createClass$1(DefaultAligner, [{
19033
19041
  key: 'getAlignments',
19034
19042
  value: function getAlignments() {
19035
19043
  var _this2 = this;
@@ -19267,7 +19275,7 @@
19267
19275
 
19268
19276
  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; }; }();
19269
19277
 
19270
- var _Action2 = Action$1;
19278
+ var _Action2 = requireAction();
19271
19279
 
19272
19280
  var _Action3 = _interopRequireDefault(_Action2);
19273
19281
 
@@ -19332,190 +19340,182 @@
19332
19340
  return AlignAction;
19333
19341
  }
19334
19342
 
19335
- var ResizeAction = {};
19336
-
19337
- var hasRequiredResizeAction;
19338
-
19339
- function requireResizeAction () {
19340
- if (hasRequiredResizeAction) return ResizeAction;
19341
- hasRequiredResizeAction = 1;
19343
+ var ResizeAction$1 = {};
19342
19344
 
19343
- Object.defineProperty(ResizeAction, "__esModule", {
19344
- value: true
19345
- });
19345
+ Object.defineProperty(ResizeAction$1, "__esModule", {
19346
+ value: true
19347
+ });
19346
19348
 
19347
- 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; }; }();
19349
+ 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; }; }();
19348
19350
 
19349
- var _Action2 = Action$1;
19351
+ var _Action2 = requireAction();
19350
19352
 
19351
- var _Action3 = _interopRequireDefault(_Action2);
19353
+ var _Action3 = _interopRequireDefault(_Action2);
19352
19354
 
19353
- var _BlotFormatter = requireBlotFormatter();
19355
+ var _BlotFormatter = requireBlotFormatter();
19354
19356
 
19355
- _interopRequireDefault(_BlotFormatter);
19357
+ _interopRequireDefault(_BlotFormatter);
19356
19358
 
19357
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
19359
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
19358
19360
 
19359
- function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
19361
+ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
19360
19362
 
19361
- 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; }
19363
+ 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; }
19362
19364
 
19363
- 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; }
19365
+ 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; }
19364
19366
 
19365
- var ResizeAction$1 = function (_Action) {
19366
- _inherits(ResizeAction, _Action);
19367
+ var ResizeAction = function (_Action) {
19368
+ _inherits(ResizeAction, _Action);
19367
19369
 
19368
- function ResizeAction(formatter) {
19369
- _classCallCheck(this, ResizeAction);
19370
+ function ResizeAction(formatter) {
19371
+ _classCallCheck(this, ResizeAction);
19370
19372
 
19371
- var _this = _possibleConstructorReturn(this, (ResizeAction.__proto__ || Object.getPrototypeOf(ResizeAction)).call(this, formatter));
19373
+ var _this = _possibleConstructorReturn(this, (ResizeAction.__proto__ || Object.getPrototypeOf(ResizeAction)).call(this, formatter));
19372
19374
 
19373
- _this.onMouseDown = function (event) {
19374
- if (!(event.target instanceof HTMLElement)) {
19375
- return;
19376
- }
19377
- _this.dragHandle = event.target;
19378
- _this.setCursor(_this.dragHandle.style.cursor);
19375
+ _this.onMouseDown = function (event) {
19376
+ if (!(event.target instanceof HTMLElement)) {
19377
+ return;
19378
+ }
19379
+ _this.dragHandle = event.target;
19380
+ _this.setCursor(_this.dragHandle.style.cursor);
19379
19381
 
19380
- if (!_this.formatter.currentSpec) {
19381
- return;
19382
- }
19382
+ if (!_this.formatter.currentSpec) {
19383
+ return;
19384
+ }
19383
19385
 
19384
- var target = _this.formatter.currentSpec.getTargetElement();
19385
- if (!target) {
19386
- return;
19387
- }
19386
+ var target = _this.formatter.currentSpec.getTargetElement();
19387
+ if (!target) {
19388
+ return;
19389
+ }
19388
19390
 
19389
- var rect = target.getBoundingClientRect();
19391
+ var rect = target.getBoundingClientRect();
19390
19392
 
19391
- _this.dragStartX = event.clientX;
19392
- _this.preDragWidth = rect.width;
19393
- _this.targetRatio = rect.height / rect.width;
19393
+ _this.dragStartX = event.clientX;
19394
+ _this.preDragWidth = rect.width;
19395
+ _this.targetRatio = rect.height / rect.width;
19394
19396
 
19395
- document.addEventListener('mousemove', _this.onDrag);
19396
- document.addEventListener('mouseup', _this.onMouseUp);
19397
- };
19397
+ document.addEventListener('mousemove', _this.onDrag);
19398
+ document.addEventListener('mouseup', _this.onMouseUp);
19399
+ };
19398
19400
 
19399
- _this.onDrag = function (event) {
19400
- if (!_this.formatter.currentSpec) {
19401
- return;
19402
- }
19401
+ _this.onDrag = function (event) {
19402
+ if (!_this.formatter.currentSpec) {
19403
+ return;
19404
+ }
19403
19405
 
19404
- var target = _this.formatter.currentSpec.getTargetElement();
19405
- if (!target) {
19406
- return;
19407
- }
19406
+ var target = _this.formatter.currentSpec.getTargetElement();
19407
+ if (!target) {
19408
+ return;
19409
+ }
19408
19410
 
19409
- var deltaX = event.clientX - _this.dragStartX;
19410
- var newWidth = 0;
19411
+ var deltaX = event.clientX - _this.dragStartX;
19412
+ var newWidth = 0;
19411
19413
 
19412
- if (_this.dragHandle === _this.topLeftHandle || _this.dragHandle === _this.bottomLeftHandle) {
19413
- newWidth = Math.round(_this.preDragWidth - deltaX);
19414
- } else {
19415
- newWidth = Math.round(_this.preDragWidth + deltaX);
19416
- }
19414
+ if (_this.dragHandle === _this.topLeftHandle || _this.dragHandle === _this.bottomLeftHandle) {
19415
+ newWidth = Math.round(_this.preDragWidth - deltaX);
19416
+ } else {
19417
+ newWidth = Math.round(_this.preDragWidth + deltaX);
19418
+ }
19417
19419
 
19418
- var newHeight = _this.targetRatio * newWidth;
19420
+ var newHeight = _this.targetRatio * newWidth;
19419
19421
 
19420
- target.setAttribute('width', '' + newWidth);
19421
- target.setAttribute('height', '' + newHeight);
19422
+ target.setAttribute('width', '' + newWidth);
19423
+ target.setAttribute('height', '' + newHeight);
19422
19424
 
19423
- _this.formatter.update();
19424
- };
19425
+ _this.formatter.update();
19426
+ };
19425
19427
 
19426
- _this.onMouseUp = function () {
19427
- _this.setCursor('');
19428
- document.removeEventListener('mousemove', _this.onDrag);
19429
- document.removeEventListener('mouseup', _this.onMouseUp);
19430
- };
19428
+ _this.onMouseUp = function () {
19429
+ _this.setCursor('');
19430
+ document.removeEventListener('mousemove', _this.onDrag);
19431
+ document.removeEventListener('mouseup', _this.onMouseUp);
19432
+ };
19431
19433
 
19432
- _this.topLeftHandle = _this.createHandle('top-left', 'nwse-resize');
19433
- _this.topRightHandle = _this.createHandle('top-right', 'nesw-resize');
19434
- _this.bottomRightHandle = _this.createHandle('bottom-right', 'nwse-resize');
19435
- _this.bottomLeftHandle = _this.createHandle('bottom-left', 'nesw-resize');
19436
- _this.dragHandle = null;
19437
- _this.dragStartX = 0;
19438
- _this.preDragWidth = 0;
19439
- _this.targetRatio = 0;
19440
- return _this;
19441
- }
19434
+ _this.topLeftHandle = _this.createHandle('top-left', 'nwse-resize');
19435
+ _this.topRightHandle = _this.createHandle('top-right', 'nesw-resize');
19436
+ _this.bottomRightHandle = _this.createHandle('bottom-right', 'nwse-resize');
19437
+ _this.bottomLeftHandle = _this.createHandle('bottom-left', 'nesw-resize');
19438
+ _this.dragHandle = null;
19439
+ _this.dragStartX = 0;
19440
+ _this.preDragWidth = 0;
19441
+ _this.targetRatio = 0;
19442
+ return _this;
19443
+ }
19442
19444
 
19443
- _createClass(ResizeAction, [{
19444
- key: 'onCreate',
19445
- value: function onCreate() {
19446
- this.formatter.overlay.appendChild(this.topLeftHandle);
19447
- this.formatter.overlay.appendChild(this.topRightHandle);
19448
- this.formatter.overlay.appendChild(this.bottomRightHandle);
19449
- this.formatter.overlay.appendChild(this.bottomLeftHandle);
19445
+ _createClass(ResizeAction, [{
19446
+ key: 'onCreate',
19447
+ value: function onCreate() {
19448
+ this.formatter.overlay.appendChild(this.topLeftHandle);
19449
+ this.formatter.overlay.appendChild(this.topRightHandle);
19450
+ this.formatter.overlay.appendChild(this.bottomRightHandle);
19451
+ this.formatter.overlay.appendChild(this.bottomLeftHandle);
19450
19452
 
19451
- this.repositionHandles(this.formatter.options.resize.handleStyle);
19452
- }
19453
- }, {
19454
- key: 'onDestroy',
19455
- value: function onDestroy() {
19456
- this.setCursor('');
19457
- this.formatter.overlay.removeChild(this.topLeftHandle);
19458
- this.formatter.overlay.removeChild(this.topRightHandle);
19459
- this.formatter.overlay.removeChild(this.bottomRightHandle);
19460
- this.formatter.overlay.removeChild(this.bottomLeftHandle);
19461
- }
19462
- }, {
19463
- key: 'createHandle',
19464
- value: function createHandle(position, cursor) {
19465
- var box = document.createElement('div');
19466
- box.classList.add(this.formatter.options.resize.handleClassName);
19467
- box.setAttribute('data-position', position);
19468
- box.style.cursor = cursor;
19469
-
19470
- if (this.formatter.options.resize.handleStyle) {
19471
- Object.assign(box.style, this.formatter.options.resize.handleStyle);
19472
- }
19453
+ this.repositionHandles(this.formatter.options.resize.handleStyle);
19454
+ }
19455
+ }, {
19456
+ key: 'onDestroy',
19457
+ value: function onDestroy() {
19458
+ this.setCursor('');
19459
+ this.formatter.overlay.removeChild(this.topLeftHandle);
19460
+ this.formatter.overlay.removeChild(this.topRightHandle);
19461
+ this.formatter.overlay.removeChild(this.bottomRightHandle);
19462
+ this.formatter.overlay.removeChild(this.bottomLeftHandle);
19463
+ }
19464
+ }, {
19465
+ key: 'createHandle',
19466
+ value: function createHandle(position, cursor) {
19467
+ var box = document.createElement('div');
19468
+ box.classList.add(this.formatter.options.resize.handleClassName);
19469
+ box.setAttribute('data-position', position);
19470
+ box.style.cursor = cursor;
19471
+
19472
+ if (this.formatter.options.resize.handleStyle) {
19473
+ Object.assign(box.style, this.formatter.options.resize.handleStyle);
19474
+ }
19473
19475
 
19474
- box.addEventListener('mousedown', this.onMouseDown);
19476
+ box.addEventListener('mousedown', this.onMouseDown);
19475
19477
 
19476
- return box;
19477
- }
19478
- }, {
19479
- key: 'repositionHandles',
19480
- value: function repositionHandles(handleStyle) {
19481
- var handleXOffset = '0px';
19482
- var handleYOffset = '0px';
19483
- if (handleStyle) {
19484
- if (handleStyle.width) {
19485
- handleXOffset = -parseFloat(handleStyle.width) / 2 + 'px';
19486
- }
19487
- if (handleStyle.height) {
19488
- handleYOffset = -parseFloat(handleStyle.height) / 2 + 'px';
19489
- }
19490
- }
19478
+ return box;
19479
+ }
19480
+ }, {
19481
+ key: 'repositionHandles',
19482
+ value: function repositionHandles(handleStyle) {
19483
+ var handleXOffset = '0px';
19484
+ var handleYOffset = '0px';
19485
+ if (handleStyle) {
19486
+ if (handleStyle.width) {
19487
+ handleXOffset = -parseFloat(handleStyle.width) / 2 + 'px';
19488
+ }
19489
+ if (handleStyle.height) {
19490
+ handleYOffset = -parseFloat(handleStyle.height) / 2 + 'px';
19491
+ }
19492
+ }
19491
19493
 
19492
- Object.assign(this.topLeftHandle.style, { left: handleXOffset, top: handleYOffset });
19493
- Object.assign(this.topRightHandle.style, { right: handleXOffset, top: handleYOffset });
19494
- Object.assign(this.bottomRightHandle.style, { right: handleXOffset, bottom: handleYOffset });
19495
- Object.assign(this.bottomLeftHandle.style, { left: handleXOffset, bottom: handleYOffset });
19496
- }
19497
- }, {
19498
- key: 'setCursor',
19499
- value: function setCursor(value) {
19500
- if (document.body) {
19501
- document.body.style.cursor = value;
19502
- }
19494
+ Object.assign(this.topLeftHandle.style, { left: handleXOffset, top: handleYOffset });
19495
+ Object.assign(this.topRightHandle.style, { right: handleXOffset, top: handleYOffset });
19496
+ Object.assign(this.bottomRightHandle.style, { right: handleXOffset, bottom: handleYOffset });
19497
+ Object.assign(this.bottomLeftHandle.style, { left: handleXOffset, bottom: handleYOffset });
19498
+ }
19499
+ }, {
19500
+ key: 'setCursor',
19501
+ value: function setCursor(value) {
19502
+ if (document.body) {
19503
+ document.body.style.cursor = value;
19504
+ }
19503
19505
 
19504
- if (this.formatter.currentSpec) {
19505
- var target = this.formatter.currentSpec.getOverlayElement();
19506
- if (target) {
19507
- target.style.cursor = value;
19508
- }
19509
- }
19510
- }
19511
- }]);
19506
+ if (this.formatter.currentSpec) {
19507
+ var target = this.formatter.currentSpec.getOverlayElement();
19508
+ if (target) {
19509
+ target.style.cursor = value;
19510
+ }
19511
+ }
19512
+ }
19513
+ }]);
19512
19514
 
19513
- return ResizeAction;
19514
- }(_Action3.default);
19515
+ return ResizeAction;
19516
+ }(_Action3.default);
19515
19517
 
19516
- ResizeAction.default = ResizeAction$1;
19517
- return ResizeAction;
19518
- }
19518
+ ResizeAction$1.default = ResizeAction;
19519
19519
 
19520
19520
  var DeleteAction = {};
19521
19521
 
@@ -19535,7 +19535,7 @@
19535
19535
 
19536
19536
  var _quill2 = _interopRequireDefault(_quill);
19537
19537
 
19538
- var _Action2 = Action$1;
19538
+ var _Action2 = requireAction();
19539
19539
 
19540
19540
  var _Action3 = _interopRequireDefault(_Action2);
19541
19541
 
@@ -19614,7 +19614,7 @@
19614
19614
 
19615
19615
  _interopRequireDefault(_BlotFormatter);
19616
19616
 
19617
- var _Action = Action$1;
19617
+ var _Action = requireAction();
19618
19618
 
19619
19619
  _interopRequireDefault(_Action);
19620
19620
 
@@ -19622,7 +19622,7 @@
19622
19622
 
19623
19623
  var _AlignAction2 = _interopRequireDefault(_AlignAction);
19624
19624
 
19625
- var _ResizeAction = requireResizeAction();
19625
+ var _ResizeAction = ResizeAction$1;
19626
19626
 
19627
19627
  var _ResizeAction2 = _interopRequireDefault(_ResizeAction);
19628
19628
 
@@ -20070,7 +20070,7 @@
20070
20070
  }
20071
20071
  });
20072
20072
 
20073
- var _Action = Action$1;
20073
+ var _Action = requireAction();
20074
20074
 
20075
20075
  Object.defineProperty(exports, 'Action', {
20076
20076
  enumerable: true,
@@ -20115,7 +20115,7 @@
20115
20115
  }
20116
20116
  });
20117
20117
 
20118
- var _ResizeAction = requireResizeAction();
20118
+ var _ResizeAction = ResizeAction$1;
20119
20119
 
20120
20120
  Object.defineProperty(exports, 'ResizeAction', {
20121
20121
  enumerable: true,
@@ -20343,12 +20343,10 @@
20343
20343
  clickHandlers.value = [];
20344
20344
  };
20345
20345
  vue.onMounted(() => {
20346
- var _a;
20347
- (_a = document.getElementById("#questionDrawer")) === null || _a === void 0 ? void 0 : _a.addEventListener('click', handleGlobalClick, true);
20346
+ window.addEventListener('click', handleGlobalClick, true);
20348
20347
  });
20349
20348
  vue.onBeforeUnmount(() => {
20350
- var _a;
20351
- (_a = document.getElementById("#questionDrawer")) === null || _a === void 0 ? void 0 : _a.removeEventListener('click', handleGlobalClick, true);
20349
+ window.removeEventListener('click', handleGlobalClick, true);
20352
20350
  clearClickHandlers();
20353
20351
  });
20354
20352
  return {