pxx-vue-quill 1.0.174 → 1.0.176

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.
@@ -0,0 +1 @@
1
+ .ql-container{box-sizing:border-box;font-family:Helvetica,Arial,sans-serif;font-size:13px;height:100%;margin:0;position:relative}.ql-container.ql-disabled .ql-tooltip{visibility:hidden}.ql-container.ql-disabled .ql-editor ul[data-checked] > li::before{pointer-events:none}.ql-clipboard{left:-100000px;height:1px;overflow-y:hidden;position:absolute;top:50%}.ql-clipboard p{margin:0;padding:0}.ql-editor{box-sizing:border-box;line-height:1.42;height:100%;outline:none;overflow-y:auto;padding:12px 15px;tab-size:4;-moz-tab-size:4;text-align:left;white-space:pre-wrap;word-wrap:break-word}.ql-editor > *{cursor:text}.ql-editor p,.ql-editor ol,.ql-editor ul,.ql-editor pre,.ql-editor blockquote,.ql-editor h1,.ql-editor h2,.ql-editor h3,.ql-editor h4,.ql-editor h5,.ql-editor h6{margin:0;padding:0;counter-reset:list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol,.ql-editor ul{padding-left:1.5em}.ql-editor ol > li,.ql-editor ul > li{list-style-type:none}.ql-editor ul > li::before{content:'\2022'}.ql-editor ul[data-checked=true],.ql-editor ul[data-checked=false]{pointer-events:none}.ql-editor ul[data-checked=true] > li *,.ql-editor ul[data-checked=false] > li *{pointer-events:all}.ql-editor ul[data-checked=true] > li::before,.ql-editor ul[data-checked=false] > li::before{color:#777;cursor:pointer;pointer-events:all}.ql-editor ul[data-checked=true] > li::before{content:'\2611'}.ql-editor ul[data-checked=false] > li::before{content:'\2610'}.ql-editor li::before{display:inline-block;white-space:nowrap;width:1.2em}.ql-editor li:not(.ql-direction-rtl)::before{margin-left:-1.5em;margin-right:.3em;text-align:right}.ql-editor li.ql-direction-rtl::before{margin-left:.3em;margin-right:-1.5em}.ql-editor ol li:not(.ql-direction-rtl),.ql-editor ul li:not(.ql-direction-rtl){padding-left:1.5em}.ql-editor ol li.ql-direction-rtl,.ql-editor ul li.ql-direction-rtl{padding-right:1.5em}.ql-editor ol li{counter-reset:list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;counter-increment:list-0}.ql-editor ol li:before{content:counter(list-0, decimal) '. '}.ql-editor ol li.ql-indent-1{counter-increment:list-1}.ql-editor ol li.ql-indent-1:before{content:counter(list-1, lower-alpha) '. '}.ql-editor ol li.ql-indent-1{counter-reset:list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-2{counter-increment:list-2}.ql-editor ol li.ql-indent-2:before{content:counter(list-2, lower-roman) '. '}.ql-editor ol li.ql-indent-2{counter-reset:list-3 list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-3{counter-increment:list-3}.ql-editor ol li.ql-indent-3:before{content:counter(list-3, decimal) '. '}.ql-editor ol li.ql-indent-3{counter-reset:list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-4{counter-increment:list-4}.ql-editor ol li.ql-indent-4:before{content:counter(list-4, lower-alpha) '. '}.ql-editor ol li.ql-indent-4{counter-reset:list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-5{counter-increment:list-5}.ql-editor ol li.ql-indent-5:before{content:counter(list-5, lower-roman) '. '}.ql-editor ol li.ql-indent-5{counter-reset:list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-6{counter-increment:list-6}.ql-editor ol li.ql-indent-6:before{content:counter(list-6, decimal) '. '}.ql-editor ol li.ql-indent-6{counter-reset:list-7 list-8 list-9}.ql-editor ol li.ql-indent-7{counter-increment:list-7}.ql-editor ol li.ql-indent-7:before{content:counter(list-7, lower-alpha) '. '}.ql-editor ol li.ql-indent-7{counter-reset:list-8 list-9}.ql-editor ol li.ql-indent-8{counter-increment:list-8}.ql-editor ol li.ql-indent-8:before{content:counter(list-8, lower-roman) '. '}.ql-editor ol li.ql-indent-8{counter-reset:list-9}.ql-editor ol li.ql-indent-9{counter-increment:list-9}.ql-editor ol li.ql-indent-9:before{content:counter(list-9, decimal) '. '}.ql-editor .ql-indent-1:not(.ql-direction-rtl){padding-left:3em}.ql-editor li.ql-indent-1:not(.ql-direction-rtl){padding-left:4.5em}.ql-editor .ql-indent-1.ql-direction-rtl.ql-align-right{padding-right:3em}.ql-editor li.ql-indent-1.ql-direction-rtl.ql-align-right{padding-right:4.5em}.ql-editor .ql-indent-2:not(.ql-direction-rtl){padding-left:6em}.ql-editor li.ql-indent-2:not(.ql-direction-rtl){padding-left:7.5em}.ql-editor .ql-indent-2.ql-direction-rtl.ql-align-right{padding-right:6em}.ql-editor li.ql-indent-2.ql-direction-rtl.ql-align-right{padding-right:7.5em}.ql-editor .ql-indent-3:not(.ql-direction-rtl){padding-left:9em}.ql-editor li.ql-indent-3:not(.ql-direction-rtl){padding-left:10.5em}.ql-editor .ql-indent-3.ql-direction-rtl.ql-align-right{padding-right:9em}.ql-editor li.ql-indent-3.ql-direction-rtl.ql-align-right{padding-right:10.5em}.ql-editor .ql-indent-4:not(.ql-direction-rtl){padding-left:12em}.ql-editor li.ql-indent-4:not(.ql-direction-rtl){padding-left:13.5em}.ql-editor .ql-indent-4.ql-direction-rtl.ql-align-right{padding-right:12em}.ql-editor li.ql-indent-4.ql-direction-rtl.ql-align-right{padding-right:13.5em}.ql-editor .ql-indent-5:not(.ql-direction-rtl){padding-left:15em}.ql-editor li.ql-indent-5:not(.ql-direction-rtl){padding-left:16.5em}.ql-editor .ql-indent-5.ql-direction-rtl.ql-align-right{padding-right:15em}.ql-editor li.ql-indent-5.ql-direction-rtl.ql-align-right{padding-right:16.5em}.ql-editor .ql-indent-6:not(.ql-direction-rtl){padding-left:18em}.ql-editor li.ql-indent-6:not(.ql-direction-rtl){padding-left:19.5em}.ql-editor .ql-indent-6.ql-direction-rtl.ql-align-right{padding-right:18em}.ql-editor li.ql-indent-6.ql-direction-rtl.ql-align-right{padding-right:19.5em}.ql-editor .ql-indent-7:not(.ql-direction-rtl){padding-left:21em}.ql-editor li.ql-indent-7:not(.ql-direction-rtl){padding-left:22.5em}.ql-editor .ql-indent-7.ql-direction-rtl.ql-align-right{padding-right:21em}.ql-editor li.ql-indent-7.ql-direction-rtl.ql-align-right{padding-right:22.5em}.ql-editor .ql-indent-8:not(.ql-direction-rtl){padding-left:24em}.ql-editor li.ql-indent-8:not(.ql-direction-rtl){padding-left:25.5em}.ql-editor .ql-indent-8.ql-direction-rtl.ql-align-right{padding-right:24em}.ql-editor li.ql-indent-8.ql-direction-rtl.ql-align-right{padding-right:25.5em}.ql-editor .ql-indent-9:not(.ql-direction-rtl){padding-left:27em}.ql-editor li.ql-indent-9:not(.ql-direction-rtl){padding-left:28.5em}.ql-editor .ql-indent-9.ql-direction-rtl.ql-align-right{padding-right:27em}.ql-editor li.ql-indent-9.ql-direction-rtl.ql-align-right{padding-right:28.5em}.ql-editor .ql-video{display:block;max-width:100%}.ql-editor .ql-video.ql-align-center{margin:0 auto}.ql-editor .ql-video.ql-align-right{margin:0 0 0 auto}.ql-editor .ql-bg-black{background-color:#000}.ql-editor .ql-bg-red{background-color:#e60000}.ql-editor .ql-bg-orange{background-color:#f90}.ql-editor .ql-bg-yellow{background-color:#ff0}.ql-editor .ql-bg-green{background-color:#008a00}.ql-editor .ql-bg-blue{background-color:#06c}.ql-editor .ql-bg-purple{background-color:#93f}.ql-editor .ql-color-white{color:#fff}.ql-editor .ql-color-red{color:#e60000}.ql-editor .ql-color-orange{color:#f90}.ql-editor .ql-color-yellow{color:#ff0}.ql-editor .ql-color-green{color:#008a00}.ql-editor .ql-color-blue{color:#06c}.ql-editor .ql-color-purple{color:#93f}.ql-editor .ql-font-serif{font-family:Georgia,Times New Roman,serif}.ql-editor .ql-font-monospace{font-family:Monaco,Courier New,monospace}.ql-editor .ql-size-small{font-size:.75em}.ql-editor .ql-size-large{font-size:1.5em}.ql-editor .ql-size-huge{font-size:2.5em}.ql-editor .ql-direction-rtl{direction:rtl;text-align:inherit}.ql-editor .ql-align-center{text-align:center}.ql-editor .ql-align-justify{text-align:justify}.ql-editor .ql-align-right{text-align:right}.ql-editor.ql-blank::before{color:rgba(0,0,0,0.6);content:attr(data-placeholder);font-style:italic;left:15px;pointer-events:none;position:absolute;right:15px}.ql-snow.ql-toolbar:after,.ql-snow .ql-toolbar:after{clear:both;content:'';display:table}.ql-snow.ql-toolbar button,.ql-snow .ql-toolbar button{background:none;border:none;cursor:pointer;display:inline-block;float:left;height:24px;padding:3px 5px;width:28px;margin-left:1px;margin-right:1px}.ql-snow.ql-toolbar button svg,.ql-snow .ql-toolbar button svg{float:left;height:100%}.ql-snow.ql-toolbar button:active:hover,.ql-snow .ql-toolbar button:active:hover{outline:none}.ql-snow.ql-toolbar input.ql-image[type=file],.ql-snow .ql-toolbar input.ql-image[type=file]{display:none}.ql-snow.ql-toolbar button:hover,.ql-snow .ql-toolbar button:hover,.ql-snow.ql-toolbar button:focus,.ql-snow .ql-toolbar button:focus,.ql-snow.ql-toolbar .ql-picker-label:hover,.ql-snow .ql-toolbar .ql-picker-label:hover,.ql-snow.ql-toolbar .ql-picker-item:hover,.ql-snow .ql-toolbar .ql-picker-item:hover{background-color:#f3f4f6}.ql-snow.ql-toolbar button.ql-active,.ql-snow .ql-toolbar button.ql-active,.ql-snow.ql-toolbar .ql-picker-label.ql-active,.ql-snow .ql-toolbar .ql-picker-label.ql-active,.ql-snow.ql-toolbar .ql-picker-item.ql-selected,.ql-snow .ql-toolbar .ql-picker-item.ql-selected{background-color:#dbeafe;color:#2563eb}.ql-snow.ql-toolbar button.ql-active .ql-fill,.ql-snow .ql-toolbar button.ql-active .ql-fill,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-fill,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-fill,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-fill,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-fill,.ql-snow.ql-toolbar button.ql-active .ql-stroke.ql-fill,.ql-snow .ql-toolbar button.ql-active .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke.ql-fill{fill:#2563eb}.ql-snow.ql-toolbar button.ql-active .ql-stroke,.ql-snow .ql-toolbar button.ql-active .ql-stroke,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke,.ql-snow.ql-toolbar button.ql-active .ql-stroke-miter,.ql-snow .ql-toolbar button.ql-active .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke-miter{stroke:#2563eb}@media (pointer:coarse){.ql-snow.ql-toolbar button:hover:not(.ql-active),.ql-snow .ql-toolbar button:hover:not(.ql-active){color:#4b5563}.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-fill,.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-fill,.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke.ql-fill,.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke.ql-fill{fill:#4b5563}.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke,.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke,.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke-miter,.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke-miter{stroke:#4b5563}}.ql-snow{box-sizing:border-box}.ql-snow *{box-sizing:border-box}.ql-snow .ql-hidden{display:none}.ql-snow .ql-out-bottom,.ql-snow .ql-out-top{visibility:hidden}.ql-snow .ql-tooltip{position:absolute;transform:translateY(10px)}.ql-snow .ql-tooltip a{cursor:pointer;text-decoration:none}.ql-snow .ql-tooltip.ql-flip{transform:translateY(-10px)}.ql-snow .ql-formats{display:inline-block;vertical-align:middle}.ql-snow .ql-formats:after{clear:both;content:'';display:table}.ql-snow .ql-stroke{fill:none;stroke:#4b5563;stroke-linecap:round;stroke-linejoin:round;stroke-width:2}.ql-snow .ql-stroke-miter{fill:none;stroke:#4b5563;stroke-miterlimit:10;stroke-width:2}.ql-snow .ql-fill,.ql-snow .ql-stroke.ql-fill{fill:#4b5563}.ql-snow .ql-empty{fill:none}.ql-snow .ql-even{fill-rule:evenodd}.ql-snow .ql-thin,.ql-snow .ql-stroke.ql-thin{stroke-width:1}.ql-snow .ql-transparent{opacity:.4}.ql-snow .ql-direction svg:last-child{display:none}.ql-snow .ql-direction.ql-active svg:last-child{display:inline}.ql-snow .ql-direction.ql-active svg:first-child{display:none}.ql-snow .ql-editor h1{font-size:2em}.ql-snow .ql-editor h2{font-size:1.5em}.ql-snow .ql-editor h3{font-size:1.17em}.ql-snow .ql-editor h4{font-size:1em}.ql-snow .ql-editor h5{font-size:.83em}.ql-snow .ql-editor h6{font-size:.67em}.ql-snow .ql-editor a{text-decoration:underline}.ql-snow .ql-editor blockquote{border-left:4px solid #ccc;margin-bottom:5px;margin-top:5px;padding-left:16px}.ql-snow .ql-editor code,.ql-snow .ql-editor pre{background-color:#f0f0f0;border-radius:3px}.ql-snow .ql-editor pre{white-space:pre-wrap;margin-bottom:5px;margin-top:5px;padding:5px 10px}.ql-snow .ql-editor code{font-size:85%;padding:2px 4px}.ql-snow .ql-editor pre.ql-syntax{background-color:#23241f;color:#f8f8f2;overflow:visible}.ql-snow .ql-editor img{max-width:100%}.ql-snow .ql-picker{color:#4b5563;display:inline-block;float:left;font-size:14px;font-weight:500;height:24px;position:relative;vertical-align:middle;margin-right:1px;margin-left:1px}.ql-snow .ql-picker-label{cursor:pointer;display:flex;height:100%;padding-left:8px;padding-right:2px;position:relative;width:100%}.ql-snow .ql-picker-label::before{display:inline-block;line-height:22px}.ql-snow .ql-picker-options{background-color:#fff;display:none;min-width:100%;position:absolute;white-space:nowrap}.ql-snow .ql-picker-options .ql-picker-item{cursor:pointer;display:block;padding:5px 8px}.ql-snow .ql-picker.ql-expanded .ql-picker-label{color:#d1d5db;z-index:2}.ql-snow .ql-picker.ql-expanded .ql-picker-label .ql-fill{fill:#d1d5db}.ql-snow .ql-picker.ql-expanded .ql-picker-label .ql-stroke{stroke:#d1d5db}.ql-snow .ql-picker.ql-expanded .ql-picker-options{display:block;margin-top:-1px;top:100%;z-index:1}.ql-snow .ql-color-picker,.ql-snow .ql-icon-picker{width:28px}.ql-snow .ql-color-picker .ql-picker-label,.ql-snow .ql-icon-picker .ql-picker-label{padding:2px 4px}.ql-snow .ql-color-picker .ql-picker-label svg,.ql-snow .ql-icon-picker .ql-picker-label svg{right:4px}.ql-snow .ql-icon-picker .ql-picker-options{padding:3px}.ql-snow .ql-icon-picker .ql-picker-item{height:24px;width:24px;padding:2px 4px;margin:2px}.ql-snow .ql-color-picker .ql-picker-options{padding:3px 5px;width:152px}.ql-snow .ql-color-picker .ql-picker-item{border:1px solid transparent;float:left;height:16px;margin:2px;padding:0;width:16px}.ql-snow .ql-picker:not(.ql-color-picker):not(.ql-icon-picker) svg{position:absolute;margin-top:-9px;right:0;top:50%;width:18px}.ql-snow .ql-picker.ql-header .ql-picker-label[data-label]:not([data-label=''])::before,.ql-snow .ql-picker.ql-font .ql-picker-label[data-label]:not([data-label=''])::before,.ql-snow .ql-picker.ql-size .ql-picker-label[data-label]:not([data-label=''])::before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-label]:not([data-label=''])::before,.ql-snow .ql-picker.ql-font .ql-picker-item[data-label]:not([data-label=''])::before,.ql-snow .ql-picker.ql-size .ql-picker-item[data-label]:not([data-label=''])::before{content:attr(data-label)}.ql-snow .ql-picker.ql-header{width:98px}.ql-snow .ql-picker.ql-header .ql-picker-label::before,.ql-snow .ql-picker.ql-header .ql-picker-item::before{content:'Normal'}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="1"]::before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="1"]::before{content:'Heading 1'}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="2"]::before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="2"]::before{content:'Heading 2'}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="3"]::before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="3"]::before{content:'Heading 3'}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="4"]::before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="4"]::before{content:'Heading 4'}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="5"]::before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="5"]::before{content:'Heading 5'}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="6"]::before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="6"]::before{content:'Heading 6'}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="1"]::before{font-size:2em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="2"]::before{font-size:1.5em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="3"]::before{font-size:1.17em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="4"]::before{font-size:1em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="5"]::before{font-size:.83em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="6"]::before{font-size:.67em}.ql-snow .ql-picker.ql-font{width:108px}.ql-snow .ql-picker.ql-font .ql-picker-label::before,.ql-snow .ql-picker.ql-font .ql-picker-item::before{content:'Sans Serif'}.ql-snow .ql-picker.ql-font .ql-picker-label[data-value=serif]::before,.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=serif]::before{content:'Serif'}.ql-snow .ql-picker.ql-font .ql-picker-label[data-value=monospace]::before,.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=monospace]::before{content:'Monospace'}.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=serif]::before{font-family:Georgia,Times New Roman,serif}.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=monospace]::before{font-family:Monaco,Courier New,monospace}.ql-snow .ql-picker.ql-size{width:98px}.ql-snow .ql-picker.ql-size .ql-picker-label::before,.ql-snow .ql-picker.ql-size .ql-picker-item::before{content:'Normal'}.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=small]::before,.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=small]::before{content:'Small'}.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=large]::before,.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=large]::before{content:'Large'}.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=huge]::before,.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=huge]::before{content:'Huge'}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=small]::before{font-size:10px}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=large]::before{font-size:18px}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=huge]::before{font-size:32px}.ql-snow .ql-color-picker.ql-background .ql-picker-item{background-color:#fff}.ql-snow .ql-color-picker.ql-color .ql-picker-item{background-color:#000}.quill-editor-container{width:100%;display:flex;flex-direction:column;position:relative}.quill-editor-container .hover-status,.quill-editor-container .ql-toolbar.ql-snow .ql-formats .ql-color-picker .ql-picker-label:hover,.quill-editor-container .ql-toolbar.ql-snow .ql-formats button:hover{color:#333;border-radius:6px;border-color:transparent;background-color:rgba(0,0,0,0.05)}.quill-editor-container .active-status,.quill-editor-container .ql-toolbar.ql-snow .ql-formats .ql-active,.quill-editor-container .ql-toolbar.ql-snow .ql-formats .ql-color-picker.ql-expanded .ql-picker-label{color:#333;border-radius:6px;border-color:transparent;background-color:rgba(0,0,0,0.08)}.quill-editor-container.embedded .ql-toolbar.ql-snow{padding:7px 15px}.quill-editor-container.fixed-top{position:relative}.quill-editor-container.fixed-top.no-collapse .ql-toolbar.ql-snow{min-height:0;padding:8px 15px}.quill-editor-container.fixed-top .ql-toolbar.ql-snow{width:max-content;position:absolute;border:0;z-index:2;top:-44px;display:none;background-color:#f7f7f7;border-radius:8px;box-shadow:0 0 6px 0 rgba(0,0,0,0.1)}.quill-editor-container.fixed-top .ql-toolbar.ql-snow .short-tools{padding:7px 15px;border-radius:8px;border:1px solid #eee}.quill-editor-container.fixed-top .ql-toolbar.ql-snow .short-tools.collapse{border-radius:8px 8px 0 0}.quill-editor-container.fixed-top .ql-toolbar.ql-snow .more-tools{padding:8px 15px;border-radius:0 0 8px 8px;border:1px solid #eee;border-top:0}.quill-editor-container.fixed-top .ql-toolbar.ql-snow .more-tools .more-tools-item{margin-bottom:8px}.quill-editor-container .ql-toolbar.ql-snow{border:0;display:none;padding:0;min-height:40px;line-height:1;border:1px solid #eee;background-color:#f7f7f7}.quill-editor-container .ql-toolbar.ql-snow .ql-formats{margin-right:0}.quill-editor-container .ql-toolbar.ql-snow .ql-formats .ql-undo.ql-disabled,.quill-editor-container .ql-toolbar.ql-snow .ql-formats .ql-redo.ql-disabled,.quill-editor-container .ql-toolbar.ql-snow .ql-formats .ql-customLink.ql-disabled{color:#d8d8d8 !important;cursor:not-allowed !important;opacity:.5 !important;pointer-events:none !important}.quill-editor-container .ql-toolbar.ql-snow .ql-formats .ql-active .ql-stroke{stroke:#333}.quill-editor-container .ql-toolbar.ql-snow .ql-formats .ql-color-picker{margin-left:0;margin-right:12px;width:24px}.quill-editor-container .ql-toolbar.ql-snow .ql-formats .ql-color-picker .ql-picker-label{padding:1px}.quill-editor-container .ql-toolbar.ql-snow .ql-formats .ql-color-picker .ql-picker-options{z-index:3}.quill-editor-container .ql-toolbar.ql-snow .ql-formats button{width:24px;margin-right:12px;margin-left:0;padding:3px}.quill-editor-container .ql-toolbar.ql-snow .ql-formats button.ql-math,.quill-editor-container .ql-toolbar.ql-snow .ql-formats button.ql-ocr{padding:3px 4px}.quill-editor-container .ql-toolbar.ql-snow .ql-formats .mr-0{margin-right:0}.quill-editor-container .ql-toolbar.ql-snow .ql-formats .ql-more{cursor:pointer;border-radius:6px}.quill-editor-container .ql-toolbar.ql-snow + .ql-container.ql-container{border:0;flex:1}.quill-editor-container .ql-custom-link{position:absolute;z-index:5;height:50px;border:1px solid #eee;background-color:#fff;border-radius:8px;display:flex;align-items:center;box-shadow:rgba(0,0,0,0.2) 0 2px 8px;padding:0 8px}.quill-editor-container .ql-custom-link .custom-link-input{height:34px;width:190px;border:0;background-color:#f9f9f9;border-radius:8px;padding:0 8px;display:inline-block;box-sizing:border-box}.quill-editor-container .ql-custom-link .custom-link-input::placeholder{color:#b6b6b6}.quill-editor-container .ql-custom-link .custom-link-input:focus-visible{outline:0;border-color:transparent}.quill-editor-container .ql-custom-link .custom-link-btn{width:94px;height:34px;background-color:#383b50;display:flex;align-items:center;justify-content:center;margin-left:8px;border-radius:8px;color:#fff;cursor:pointer;font-size:14px}.quill-editor-container .ql-container .ql-editor{padding:12px 16px;line-height:22px;word-break:break-all}.quill-editor-container .ql-container .ql-editor ul,.quill-editor-container .ql-container .ql-editor ol{padding-left:0}.quill-editor-container .ql-container .ql-editor ul li::before,.quill-editor-container .ql-container .ql-editor ol li::before{width:8px;text-align:left}.quill-editor-container .ql-container .ql-editor ul li:not(.ql-direction-rtl),.quill-editor-container .ql-container .ql-editor ol li:not(.ql-direction-rtl){padding-left:18px}.quill-editor-container .ql-container .ql-editor img{display:block}.quill-editor-container .ql-container .ql-editor.ql-blank::before{color:#b6b6b6;font-style:normal;font-size:14px;left:15px}.quill-editor-container .ql-container.ql-snow .ql-tooltip{display:none}.quill-editor-container .ql-container .blot-formatter__overlay .blot-formatter__toolbar{display:none}.ql-toolbar.ql-snow{border:1px solid #d1d5db;box-sizing:border-box;font-family:'Helvetica Neue','Helvetica','Arial',sans-serif;padding:8px}.ql-toolbar.ql-snow .ql-formats{margin-right:10px}.ql-toolbar.ql-snow .ql-picker-label{border:1px solid transparent}.ql-toolbar.ql-snow .ql-picker-options{border:1px solid transparent;box-shadow:rgba(0,0,0,0.2) 0 2px 8px}.ql-toolbar.ql-snow .ql-picker.ql-expanded .ql-picker-label{border-color:#d1d5db}.ql-toolbar.ql-snow .ql-picker.ql-expanded .ql-picker-options{border-color:#d1d5db}.ql-toolbar.ql-snow .ql-color-picker .ql-picker-item.ql-selected,.ql-toolbar.ql-snow .ql-color-picker .ql-picker-item:hover{border-color:#000}.ql-toolbar.ql-snow + .ql-container.ql-snow{border-top:0}.ql-snow .ql-tooltip{background-color:#fff;border:1px solid #d1d5db;box-shadow:0 0 5px #d1d5db;color:#4b5563;padding:5px 12px;white-space:nowrap}.ql-snow .ql-tooltip::before{content:"访问链接:";line-height:26px;margin-right:8px}.ql-snow .ql-tooltip input[type=text]{display:none;border:1px solid #d1d5db;font-size:13px;height:26px;margin:0;padding:3px 5px;width:170px}.ql-snow .ql-tooltip input[type=text]::placeholder{color:#b6b6b6;font-style:italic}.ql-snow .ql-tooltip a.ql-preview{display:inline-block;max-width:200px;overflow-x:hidden;text-overflow:ellipsis;vertical-align:top}.ql-snow .ql-tooltip a.ql-action::after{border-right:1px solid #d1d5db;content:'编辑';margin-left:16px;padding-right:8px}.ql-snow .ql-tooltip a.ql-remove::before{content:'删除';margin-left:8px}.ql-snow .ql-tooltip a{line-height:26px}.ql-snow .ql-tooltip.ql-editing a.ql-preview,.ql-snow .ql-tooltip.ql-editing a.ql-remove{display:none}.ql-snow .ql-tooltip.ql-editing input[type=text]{display:inline-block}.ql-snow .ql-tooltip.ql-editing a.ql-action::after{border-right:0;content:'保存';padding-right:0}.ql-snow .ql-tooltip[data-mode=link]::before{content:"输入链接:"}.ql-snow .ql-tooltip[data-mode=formula]::before{content:"输入公式:"}.ql-snow .ql-tooltip[data-mode=video]::before{content:"输入视频:"}.ql-snow a{color:#2563eb}.ql-container.ql-snow{border:1px solid #d1d5db}
@@ -7,7 +7,7 @@
7
7
  *
8
8
  * Copyright (c) 2025 Pxx-Team
9
9
  * Released under the MIT license
10
- * Date: 2025-12-22T10:53:32.390Z
10
+ * Date: 2025-12-22T11:06:20.195Z
11
11
  */
12
12
  (function (global, factory) {
13
13
  typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('vue')) :
@@ -18994,11 +18994,11 @@
18994
18994
  value: true
18995
18995
  });
18996
18996
 
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; }; }();
18997
+ 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; }; }();
18998
18998
 
18999
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; }
19000
19000
 
19001
- function _classCallCheck$1(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
19001
+ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
19002
19002
 
19003
19003
  var LEFT_ALIGN = 'left';
19004
19004
  var CENTER_ALIGN = 'center';
@@ -19009,7 +19009,7 @@
19009
19009
  var _this = this,
19010
19010
  _alignments;
19011
19011
 
19012
- _classCallCheck$1(this, DefaultAligner);
19012
+ _classCallCheck(this, DefaultAligner);
19013
19013
 
19014
19014
  this.applyStyle = options.aligner.applyStyle;
19015
19015
  this.alignAttribute = options.attribute;
@@ -19037,7 +19037,7 @@
19037
19037
  }), _alignments);
19038
19038
  }
19039
19039
 
19040
- _createClass$1(DefaultAligner, [{
19040
+ _createClass(DefaultAligner, [{
19041
19041
  key: 'getAlignments',
19042
19042
  value: function getAlignments() {
19043
19043
  var _this2 = this;
@@ -19340,182 +19340,190 @@
19340
19340
  return AlignAction;
19341
19341
  }
19342
19342
 
19343
- var ResizeAction$1 = {};
19343
+ var ResizeAction = {};
19344
19344
 
19345
- Object.defineProperty(ResizeAction$1, "__esModule", {
19346
- value: true
19347
- });
19345
+ var hasRequiredResizeAction;
19348
19346
 
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; }; }();
19347
+ function requireResizeAction () {
19348
+ if (hasRequiredResizeAction) return ResizeAction;
19349
+ hasRequiredResizeAction = 1;
19350
19350
 
19351
- var _Action2 = requireAction();
19351
+ Object.defineProperty(ResizeAction, "__esModule", {
19352
+ value: true
19353
+ });
19352
19354
 
19353
- var _Action3 = _interopRequireDefault(_Action2);
19355
+ 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; }; }();
19354
19356
 
19355
- var _BlotFormatter = requireBlotFormatter();
19357
+ var _Action2 = requireAction();
19356
19358
 
19357
- _interopRequireDefault(_BlotFormatter);
19359
+ var _Action3 = _interopRequireDefault(_Action2);
19358
19360
 
19359
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
19361
+ var _BlotFormatter = requireBlotFormatter();
19360
19362
 
19361
- function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
19363
+ _interopRequireDefault(_BlotFormatter);
19362
19364
 
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; }
19365
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
19364
19366
 
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; }
19367
+ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
19366
19368
 
19367
- var ResizeAction = function (_Action) {
19368
- _inherits(ResizeAction, _Action);
19369
+ 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; }
19369
19370
 
19370
- function ResizeAction(formatter) {
19371
- _classCallCheck(this, ResizeAction);
19371
+ 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; }
19372
19372
 
19373
- var _this = _possibleConstructorReturn(this, (ResizeAction.__proto__ || Object.getPrototypeOf(ResizeAction)).call(this, formatter));
19373
+ var ResizeAction$1 = function (_Action) {
19374
+ _inherits(ResizeAction, _Action);
19374
19375
 
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);
19376
+ function ResizeAction(formatter) {
19377
+ _classCallCheck(this, ResizeAction);
19381
19378
 
19382
- if (!_this.formatter.currentSpec) {
19383
- return;
19384
- }
19379
+ var _this = _possibleConstructorReturn(this, (ResizeAction.__proto__ || Object.getPrototypeOf(ResizeAction)).call(this, formatter));
19385
19380
 
19386
- var target = _this.formatter.currentSpec.getTargetElement();
19387
- if (!target) {
19388
- return;
19389
- }
19381
+ _this.onMouseDown = function (event) {
19382
+ if (!(event.target instanceof HTMLElement)) {
19383
+ return;
19384
+ }
19385
+ _this.dragHandle = event.target;
19386
+ _this.setCursor(_this.dragHandle.style.cursor);
19390
19387
 
19391
- var rect = target.getBoundingClientRect();
19388
+ if (!_this.formatter.currentSpec) {
19389
+ return;
19390
+ }
19392
19391
 
19393
- _this.dragStartX = event.clientX;
19394
- _this.preDragWidth = rect.width;
19395
- _this.targetRatio = rect.height / rect.width;
19392
+ var target = _this.formatter.currentSpec.getTargetElement();
19393
+ if (!target) {
19394
+ return;
19395
+ }
19396
19396
 
19397
- document.addEventListener('mousemove', _this.onDrag);
19398
- document.addEventListener('mouseup', _this.onMouseUp);
19399
- };
19397
+ var rect = target.getBoundingClientRect();
19400
19398
 
19401
- _this.onDrag = function (event) {
19402
- if (!_this.formatter.currentSpec) {
19403
- return;
19404
- }
19399
+ _this.dragStartX = event.clientX;
19400
+ _this.preDragWidth = rect.width;
19401
+ _this.targetRatio = rect.height / rect.width;
19405
19402
 
19406
- var target = _this.formatter.currentSpec.getTargetElement();
19407
- if (!target) {
19408
- return;
19409
- }
19403
+ document.addEventListener('mousemove', _this.onDrag);
19404
+ document.addEventListener('mouseup', _this.onMouseUp);
19405
+ };
19410
19406
 
19411
- var deltaX = event.clientX - _this.dragStartX;
19412
- var newWidth = 0;
19407
+ _this.onDrag = function (event) {
19408
+ if (!_this.formatter.currentSpec) {
19409
+ return;
19410
+ }
19413
19411
 
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
- }
19412
+ var target = _this.formatter.currentSpec.getTargetElement();
19413
+ if (!target) {
19414
+ return;
19415
+ }
19419
19416
 
19420
- var newHeight = _this.targetRatio * newWidth;
19417
+ var deltaX = event.clientX - _this.dragStartX;
19418
+ var newWidth = 0;
19421
19419
 
19422
- target.setAttribute('width', '' + newWidth);
19423
- target.setAttribute('height', '' + newHeight);
19420
+ if (_this.dragHandle === _this.topLeftHandle || _this.dragHandle === _this.bottomLeftHandle) {
19421
+ newWidth = Math.round(_this.preDragWidth - deltaX);
19422
+ } else {
19423
+ newWidth = Math.round(_this.preDragWidth + deltaX);
19424
+ }
19424
19425
 
19425
- _this.formatter.update();
19426
- };
19426
+ var newHeight = _this.targetRatio * newWidth;
19427
19427
 
19428
- _this.onMouseUp = function () {
19429
- _this.setCursor('');
19430
- document.removeEventListener('mousemove', _this.onDrag);
19431
- document.removeEventListener('mouseup', _this.onMouseUp);
19432
- };
19428
+ target.setAttribute('width', '' + newWidth);
19429
+ target.setAttribute('height', '' + newHeight);
19433
19430
 
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
- }
19431
+ _this.formatter.update();
19432
+ };
19444
19433
 
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);
19434
+ _this.onMouseUp = function () {
19435
+ _this.setCursor('');
19436
+ document.removeEventListener('mousemove', _this.onDrag);
19437
+ document.removeEventListener('mouseup', _this.onMouseUp);
19438
+ };
19452
19439
 
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
- }
19440
+ _this.topLeftHandle = _this.createHandle('top-left', 'nwse-resize');
19441
+ _this.topRightHandle = _this.createHandle('top-right', 'nesw-resize');
19442
+ _this.bottomRightHandle = _this.createHandle('bottom-right', 'nwse-resize');
19443
+ _this.bottomLeftHandle = _this.createHandle('bottom-left', 'nesw-resize');
19444
+ _this.dragHandle = null;
19445
+ _this.dragStartX = 0;
19446
+ _this.preDragWidth = 0;
19447
+ _this.targetRatio = 0;
19448
+ return _this;
19449
+ }
19475
19450
 
19476
- box.addEventListener('mousedown', this.onMouseDown);
19451
+ _createClass(ResizeAction, [{
19452
+ key: 'onCreate',
19453
+ value: function onCreate() {
19454
+ this.formatter.overlay.appendChild(this.topLeftHandle);
19455
+ this.formatter.overlay.appendChild(this.topRightHandle);
19456
+ this.formatter.overlay.appendChild(this.bottomRightHandle);
19457
+ this.formatter.overlay.appendChild(this.bottomLeftHandle);
19477
19458
 
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
- }
19459
+ this.repositionHandles(this.formatter.options.resize.handleStyle);
19460
+ }
19461
+ }, {
19462
+ key: 'onDestroy',
19463
+ value: function onDestroy() {
19464
+ this.setCursor('');
19465
+ this.formatter.overlay.removeChild(this.topLeftHandle);
19466
+ this.formatter.overlay.removeChild(this.topRightHandle);
19467
+ this.formatter.overlay.removeChild(this.bottomRightHandle);
19468
+ this.formatter.overlay.removeChild(this.bottomLeftHandle);
19469
+ }
19470
+ }, {
19471
+ key: 'createHandle',
19472
+ value: function createHandle(position, cursor) {
19473
+ var box = document.createElement('div');
19474
+ box.classList.add(this.formatter.options.resize.handleClassName);
19475
+ box.setAttribute('data-position', position);
19476
+ box.style.cursor = cursor;
19477
+
19478
+ if (this.formatter.options.resize.handleStyle) {
19479
+ Object.assign(box.style, this.formatter.options.resize.handleStyle);
19480
+ }
19493
19481
 
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
- }
19482
+ box.addEventListener('mousedown', this.onMouseDown);
19505
19483
 
19506
- if (this.formatter.currentSpec) {
19507
- var target = this.formatter.currentSpec.getOverlayElement();
19508
- if (target) {
19509
- target.style.cursor = value;
19510
- }
19511
- }
19512
- }
19513
- }]);
19484
+ return box;
19485
+ }
19486
+ }, {
19487
+ key: 'repositionHandles',
19488
+ value: function repositionHandles(handleStyle) {
19489
+ var handleXOffset = '0px';
19490
+ var handleYOffset = '0px';
19491
+ if (handleStyle) {
19492
+ if (handleStyle.width) {
19493
+ handleXOffset = -parseFloat(handleStyle.width) / 2 + 'px';
19494
+ }
19495
+ if (handleStyle.height) {
19496
+ handleYOffset = -parseFloat(handleStyle.height) / 2 + 'px';
19497
+ }
19498
+ }
19514
19499
 
19515
- return ResizeAction;
19516
- }(_Action3.default);
19500
+ Object.assign(this.topLeftHandle.style, { left: handleXOffset, top: handleYOffset });
19501
+ Object.assign(this.topRightHandle.style, { right: handleXOffset, top: handleYOffset });
19502
+ Object.assign(this.bottomRightHandle.style, { right: handleXOffset, bottom: handleYOffset });
19503
+ Object.assign(this.bottomLeftHandle.style, { left: handleXOffset, bottom: handleYOffset });
19504
+ }
19505
+ }, {
19506
+ key: 'setCursor',
19507
+ value: function setCursor(value) {
19508
+ if (document.body) {
19509
+ document.body.style.cursor = value;
19510
+ }
19517
19511
 
19518
- ResizeAction$1.default = ResizeAction;
19512
+ if (this.formatter.currentSpec) {
19513
+ var target = this.formatter.currentSpec.getOverlayElement();
19514
+ if (target) {
19515
+ target.style.cursor = value;
19516
+ }
19517
+ }
19518
+ }
19519
+ }]);
19520
+
19521
+ return ResizeAction;
19522
+ }(_Action3.default);
19523
+
19524
+ ResizeAction.default = ResizeAction$1;
19525
+ return ResizeAction;
19526
+ }
19519
19527
 
19520
19528
  var DeleteAction = {};
19521
19529
 
@@ -19622,7 +19630,7 @@
19622
19630
 
19623
19631
  var _AlignAction2 = _interopRequireDefault(_AlignAction);
19624
19632
 
19625
- var _ResizeAction = ResizeAction$1;
19633
+ var _ResizeAction = requireResizeAction();
19626
19634
 
19627
19635
  var _ResizeAction2 = _interopRequireDefault(_ResizeAction);
19628
19636
 
@@ -20115,7 +20123,7 @@
20115
20123
  }
20116
20124
  });
20117
20125
 
20118
- var _ResizeAction = ResizeAction$1;
20126
+ var _ResizeAction = requireResizeAction();
20119
20127
 
20120
20128
  Object.defineProperty(exports, 'ResizeAction', {
20121
20129
  enumerable: true,