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;AAETI,MAAAA,GAAG,EAAEA,GAFI;AAGTC,MAAAA,KAAK,EAAEA,KAHE;AAITC,MAAAA,SAAS,EAAEA;AAJF,KAAX;;AAMA,QAAI,CAACP,SAAS,CAACI,EAAD,CAAd,EAAoB;AAClBL,MAAAA,MAAM,CAACU,IAAP,CAAYT,SAAS,CAACI,EAAD,CAAT,GAAgB;AAAEA,QAAAA,EAAE,EAAEA,EAAN;AAAUM,QAAAA,KAAK,EAAE,CAACF,IAAD;AAAjB,OAA5B;AACD,KAFD,MAEO;AACLR,MAAAA,SAAS,CAACI,EAAD,CAAT,CAAcM,KAAd,CAAoBD,IAApB,CAAyBD,IAAzB;AACD;AACF;;AACD,SAAOT,MAAP;AACD;;AC1BD;AACA;AACA;AACA;AACA;;AAEyC;;AAEzC;;AAEA;AACA;AACA;AACA;AACA,WAAW,iBAAiB;AAC5B;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA,mBAAmB;AACnB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEe;AACf;;AAEA;;AAEA,eAAe,YAAY;AAC3B;;AAEA;AACA;AACA,oBAAoB,mBAAmB;AACvC;AACA;AACA;AACA;AACA;AACA;AACA,eAAe,YAAY;AAC3B;AACA,MAAM;AACN;AACA;AACA,oBAAoB,sBAAsB;AAC1C;AACA;AACA,wBAAwB,2BAA2B;AACnD;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,kBAAkB,mBAAmB;AACrC;AACA;AACA;AACA;AACA,sBAAsB,2BAA2B;AACjD;AACA;AACA,aAAa,uBAAuB;AACpC;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA,sBAAsB,uBAAuB;AAC7C;AACA;AACA,+BAA+B;AAC/B;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;;AAEA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,yDAAyD;AACzD;;AAEA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA;AACA;AACA;;;;;;;UC7NA;UACA;;UAEA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;;UAEA;UACA;;UAEA;UACA;UACA;;;;;WCtBA;WACA;WACA;WACA,eAAe,4BAA4B;WAC3C,eAAe;WACf,iCAAiC,WAAW;WAC5C;WACA;;;;;WCPA;WACA;WACA;WACA;WACA,yCAAyC,wCAAwC;WACjF;WACA;WACA;;;;;WCPA,8CAA8C;;;;;WCA9C;WACA;WACA;WACA,uDAAuD,iBAAiB;WACxE;WACA,gDAAgD,aAAa;WAC7D;;;;;WCNA;;;;;;;;;;;;;;;;;ACAA;AACA;;AAEA;AACA;AACA,MAAM,KAAuC,EAAE,yBAQ5C;;AAEH;AACA;AACA,IAAI,qBAAuB;AAC3B;AACA;;AAEA;AACA,kDAAe,IAAI;;;ACtBnB,IAAI,4DAA4B;;;;uFCC9BY,mFAAAA,CAQM,KARN,EAQM;AARDC,OAAG,EAAC,QAQH;AARYC,SAAK,EAAC,qBAQlB;AARyCC,SAAK,kFAAEC,cAAF;AAQ9C,GARN,GACEC,2EAAAA,CAAQC,WAAR,EAAQ,SAAR,EAAQ,EAAR,EAAQC,SAAR,EAAQ,IAAR,sFAC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AcpH,KAAd,CAAoBW,MAApB,GAA6B,EAA7B;AACA,cAAMgF,SAAQ,GAAI,CAAC,KAAKvC,SAAN,GAAkB,YAAlB,GAAiC,UAAnD;AACA,aAAKO,SAAL,CAAegC,SAAf;AACA,aAAKvC,SAAL,GAAiB,KAAjB;AACF;AACD;;AArMM;AApPI,CAAf;;AEhC0P;;;;;;;;AEApK;AACtB;AACL;;AAE3D,CAAoF;;AAEmB;AACvG,iCAAiC,+BAAe,CAAC,oCAAM,aAAa,MAAM;;AAE1E,kDAAe;;ACTf;AAEA,yCAAekE,aAAf;;ACFwB;AACA;AACxB,8CAAe,IAAG;AACI","sources":["webpack://vue-resizable/./src/components/vue-resizable.vue?5ea0","webpack://vue-resizable/./node_modules/css-loader/dist/runtime/api.js","webpack://vue-resizable/./node_modules/css-loader/dist/runtime/noSourceMaps.js","webpack://vue-resizable/./node_modules/vue-loader/dist/exportHelper.js","webpack://vue-resizable/./src/components/vue-resizable.vue?4709","webpack://vue-resizable/./node_modules/vue-style-loader/lib/listToStyles.js","webpack://vue-resizable/./node_modules/vue-style-loader/lib/addStylesClient.js","webpack://vue-resizable/webpack/bootstrap","webpack://vue-resizable/webpack/runtime/compat get default export","webpack://vue-resizable/webpack/runtime/define property getters","webpack://vue-resizable/webpack/runtime/hasOwnProperty shorthand","webpack://vue-resizable/webpack/runtime/make namespace object","webpack://vue-resizable/webpack/runtime/publicPath","webpack://vue-resizable/./node_modules/@vue/cli-service/lib/commands/build/setPublicPath.js","webpack://vue-resizable/external commonjs2 {\"commonjs\":\"vue\",\"commonjs2\":\"vue\",\"root\":\"Vue\"}","webpack://vue-resizable/./src/components/vue-resizable.vue","webpack://vue-resizable/./src/components/vue-resizable.vue?8cd2","webpack://vue-resizable/./src/components/vue-resizable.vue?454a","webpack://vue-resizable/./src/components/vue-resizable.vue?cef6","webpack://vue-resizable/./src/components/vue-resizable.vue?9f89","webpack://vue-resizable/./src/main.js","webpack://vue-resizable/./node_modules/@vue/cli-service/lib/commands/build/entry-lib.js"],"sourcesContent":["// Imports\nimport ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from \"../../node_modules/css-loader/dist/runtime/noSourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \".resizable-component[data-v-3de5149f]{position:relative}.resizable-component>.resizable-r[data-v-3de5149f]{z-index:90;cursor:e-resize;top:0;height:100%}.resizable-component>.resizable-r[data-v-3de5149f],.resizable-component>.resizable-rb[data-v-3de5149f]{display:block;position:absolute;touch-action:none;user-select:none;-moz-user-select:none;-webkit-user-select:none;width:12px;right:-6px}.resizable-component>.resizable-rb[data-v-3de5149f]{cursor:se-resize;height:12px;bottom:-6px;z-index:91}.resizable-component>.resizable-b[data-v-3de5149f]{z-index:90;cursor:s-resize;width:100%;left:0}.resizable-component>.resizable-b[data-v-3de5149f],.resizable-component>.resizable-lb[data-v-3de5149f]{display:block;position:absolute;touch-action:none;user-select:none;-moz-user-select:none;-webkit-user-select:none;height:12px;bottom:-6px}.resizable-component>.resizable-lb[data-v-3de5149f]{cursor:sw-resize;width:12px;left:-6px;z-index:91}.resizable-component>.resizable-l[data-v-3de5149f]{z-index:90;cursor:w-resize;height:100%;top:0}.resizable-component>.resizable-l[data-v-3de5149f],.resizable-component>.resizable-lt[data-v-3de5149f]{display:block;position:absolute;touch-action:none;user-select:none;-moz-user-select:none;-webkit-user-select:none;width:12px;left:-6px}.resizable-component>.resizable-lt[data-v-3de5149f]{cursor:nw-resize;height:12px;top:-6px;z-index:91}.resizable-component>.resizable-t[data-v-3de5149f]{z-index:90;cursor:n-resize;width:100%;left:0}.resizable-component>.resizable-rt[data-v-3de5149f],.resizable-component>.resizable-t[data-v-3de5149f]{display:block;position:absolute;touch-action:none;user-select:none;-moz-user-select:none;-webkit-user-select:none;height:12px;top:-6px}.resizable-component>.resizable-rt[data-v-3de5149f]{cursor:ne-resize;width:12px;right:-6px;z-index:91}\", \"\"]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","\"use strict\";\n\n/*\n MIT License http://www.opensource.org/licenses/mit-license.php\n Author Tobias Koppers @sokra\n*/\nmodule.exports = function (cssWithMappingToString) {\n var list = []; // return the list of modules as css string\n\n list.toString = function toString() {\n return this.map(function (item) {\n var content = \"\";\n var needLayer = typeof item[5] !== \"undefined\";\n\n if (item[4]) {\n content += \"@supports (\".concat(item[4], \") {\");\n }\n\n if (item[2]) {\n content += \"@media \".concat(item[2], \" {\");\n }\n\n if (needLayer) {\n content += \"@layer\".concat(item[5].length > 0 ? \" \".concat(item[5]) : \"\", \" {\");\n }\n\n content += cssWithMappingToString(item);\n\n if (needLayer) {\n content += \"}\";\n }\n\n if (item[2]) {\n content += \"}\";\n }\n\n if (item[4]) {\n content += \"}\";\n }\n\n return content;\n }).join(\"\");\n }; // import a list of modules into the list\n\n\n list.i = function i(modules, media, dedupe, supports, layer) {\n if (typeof modules === \"string\") {\n modules = [[null, modules, undefined]];\n }\n\n var alreadyImportedModules = {};\n\n if (dedupe) {\n for (var k = 0; k < this.length; k++) {\n var id = this[k][0];\n\n if (id != null) {\n alreadyImportedModules[id] = true;\n }\n }\n }\n\n for (var _k = 0; _k < modules.length; _k++) {\n var item = [].concat(modules[_k]);\n\n if (dedupe && alreadyImportedModules[item[0]]) {\n continue;\n }\n\n if (typeof layer !== \"undefined\") {\n if (typeof item[5] === \"undefined\") {\n item[5] = layer;\n } else {\n item[1] = \"@layer\".concat(item[5].length > 0 ? \" \".concat(item[5]) : \"\", \" {\").concat(item[1], \"}\");\n item[5] = layer;\n }\n }\n\n if (media) {\n if (!item[2]) {\n item[2] = media;\n } else {\n item[1] = \"@media \".concat(item[2], \" {\").concat(item[1], \"}\");\n item[2] = media;\n }\n }\n\n if (supports) {\n if (!item[4]) {\n item[4] = \"\".concat(supports);\n } else {\n item[1] = \"@supports (\".concat(item[4], \") {\").concat(item[1], \"}\");\n item[4] = supports;\n }\n }\n\n list.push(item);\n }\n };\n\n return list;\n};","\"use strict\";\n\nmodule.exports = function (i) {\n return i[1];\n};","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n// runtime helper for setting properties on components\n// in a tree-shakable way\nexports.default = (sfc, props) => {\n const target = sfc.__vccOpts || sfc;\n for (const [key, val] of props) {\n target[key] = val;\n }\n return target;\n};\n","// style-loader: Adds some css to the DOM by adding a <style> tag\n\n// load the styles\nvar content = require(\"!!../../node_modules/css-loader/dist/cjs.js??clonedRuleSet-12.use[1]!../../node_modules/vue-loader/dist/stylePostLoader.js!../../node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.use[2]!../../node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.use[3]!../../node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./vue-resizable.vue?vue&type=style&index=0&id=3de5149f&scoped=true&lang=css\");\nif(content.__esModule) content = content.default;\nif(typeof content === 'string') content = [[module.id, content, '']];\nif(content.locals) module.exports = content.locals;\n// add the styles to the DOM\nvar add = require(\"!../../node_modules/vue-style-loader/lib/addStylesClient.js\").default\nvar update = add(\"5aabc128\", content, true, {\"sourceMap\":false,\"shadowMode\":false});","/**\n * Translates the list format produced by css-loader into something\n * easier to manipulate.\n */\nexport default function listToStyles (parentId, list) {\n var styles = []\n var newStyles = {}\n for (var i = 0; i < list.length; i++) {\n var item = list[i]\n var id = item[0]\n var css = item[1]\n var media = item[2]\n var sourceMap = item[3]\n var part = {\n id: parentId + ':' + i,\n css: css,\n media: media,\n sourceMap: sourceMap\n }\n if (!newStyles[id]) {\n styles.push(newStyles[id] = { id: id, parts: [part] })\n } else {\n newStyles[id].parts.push(part)\n }\n }\n return styles\n}\n","/*\n MIT License http://www.opensource.org/licenses/mit-license.php\n Author Tobias Koppers @sokra\n Modified by Evan You @yyx990803\n*/\n\nimport listToStyles from './listToStyles'\n\nvar hasDocument = typeof document !== 'undefined'\n\nif (typeof DEBUG !== 'undefined' && DEBUG) {\n if (!hasDocument) {\n throw new Error(\n 'vue-style-loader cannot be used in a non-browser environment. ' +\n \"Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.\"\n ) }\n}\n\n/*\ntype StyleObject = {\n id: number;\n parts: Array<StyleObjectPart>\n}\n\ntype StyleObjectPart = {\n css: string;\n media: string;\n sourceMap: ?string\n}\n*/\n\nvar stylesInDom = {/*\n [id: number]: {\n id: number,\n refs: number,\n parts: Array<(obj?: StyleObjectPart) => void>\n }\n*/}\n\nvar head = hasDocument && (document.head || document.getElementsByTagName('head')[0])\nvar singletonElement = null\nvar singletonCounter = 0\nvar isProduction = false\nvar noop = function () {}\nvar options = null\nvar ssrIdKey = 'data-vue-ssr-id'\n\n// Force single-tag solution on IE6-9, which has a hard limit on the # of <style>\n// tags it will allow on a page\nvar isOldIE = typeof navigator !== 'undefined' && /msie [6-9]\\b/.test(navigator.userAgent.toLowerCase())\n\nexport default function addStylesClient (parentId, list, _isProduction, _options) {\n isProduction = _isProduction\n\n options = _options || {}\n\n var styles = listToStyles(parentId, list)\n addStylesToDom(styles)\n\n return function update (newList) {\n var mayRemove = []\n for (var i = 0; i < styles.length; i++) {\n var item = styles[i]\n var domStyle = stylesInDom[item.id]\n domStyle.refs--\n mayRemove.push(domStyle)\n }\n if (newList) {\n styles = listToStyles(parentId, newList)\n addStylesToDom(styles)\n } else {\n styles = []\n }\n for (var i = 0; i < mayRemove.length; i++) {\n var domStyle = mayRemove[i]\n if (domStyle.refs === 0) {\n for (var j = 0; j < domStyle.parts.length; j++) {\n domStyle.parts[j]()\n }\n delete stylesInDom[domStyle.id]\n }\n }\n }\n}\n\nfunction addStylesToDom (styles /* Array<StyleObject> */) {\n for (var i = 0; i < styles.length; i++) {\n var item = styles[i]\n var domStyle = stylesInDom[item.id]\n if (domStyle) {\n domStyle.refs++\n for (var j = 0; j < domStyle.parts.length; j++) {\n domStyle.parts[j](item.parts[j])\n }\n for (; j < item.parts.length; j++) {\n domStyle.parts.push(addStyle(item.parts[j]))\n }\n if (domStyle.parts.length > item.parts.length) {\n domStyle.parts.length = item.parts.length\n }\n } else {\n var parts = []\n for (var j = 0; j < item.parts.length; j++) {\n parts.push(addStyle(item.parts[j]))\n }\n stylesInDom[item.id] = { id: item.id, refs: 1, parts: parts }\n }\n }\n}\n\nfunction createStyleElement () {\n var styleElement = document.createElement('style')\n styleElement.type = 'text/css'\n head.appendChild(styleElement)\n return styleElement\n}\n\nfunction addStyle (obj /* StyleObjectPart */) {\n var update, remove\n var styleElement = document.querySelector('style[' + ssrIdKey + '~=\"' + obj.id + '\"]')\n\n if (styleElement) {\n if (isProduction) {\n // has SSR styles and in production mode.\n // simply do nothing.\n return noop\n } else {\n // has SSR styles but in dev mode.\n // for some reason Chrome can't handle source map in server-rendered\n // style tags - source maps in <style> only works if the style tag is\n // created and inserted dynamically. So we remove the server rendered\n // styles and inject new ones.\n styleElement.parentNode.removeChild(styleElement)\n }\n }\n\n if (isOldIE) {\n // use singleton mode for IE9.\n var styleIndex = singletonCounter++\n styleElement = singletonElement || (singletonElement = createStyleElement())\n update = applyToSingletonTag.bind(null, styleElement, styleIndex, false)\n remove = applyToSingletonTag.bind(null, styleElement, styleIndex, true)\n } else {\n // use multi-style-tag mode in all other cases\n styleElement = createStyleElement()\n update = applyToTag.bind(null, styleElement)\n remove = function () {\n styleElement.parentNode.removeChild(styleElement)\n }\n }\n\n update(obj)\n\n return function updateStyle (newObj /* StyleObjectPart */) {\n if (newObj) {\n if (newObj.css === obj.css &&\n newObj.media === obj.media &&\n newObj.sourceMap === obj.sourceMap) {\n return\n }\n update(obj = newObj)\n } else {\n remove()\n }\n }\n}\n\nvar replaceText = (function () {\n var textStore = []\n\n return function (index, replacement) {\n textStore[index] = replacement\n return textStore.filter(Boolean).join('\\n')\n }\n})()\n\nfunction applyToSingletonTag (styleElement, index, remove, obj) {\n var css = remove ? '' : obj.css\n\n if (styleElement.styleSheet) {\n styleElement.styleSheet.cssText = replaceText(index, css)\n } else {\n var cssNode = document.createTextNode(css)\n var childNodes = styleElement.childNodes\n if (childNodes[index]) styleElement.removeChild(childNodes[index])\n if (childNodes.length) {\n styleElement.insertBefore(cssNode, childNodes[index])\n } else {\n styleElement.appendChild(cssNode)\n }\n }\n}\n\nfunction applyToTag (styleElement, obj) {\n var css = obj.css\n var media = obj.media\n var sourceMap = obj.sourceMap\n\n if (media) {\n styleElement.setAttribute('media', media)\n }\n if (options.ssrId) {\n styleElement.setAttribute(ssrIdKey, obj.id)\n }\n\n if (sourceMap) {\n // https://developer.chrome.com/devtools/docs/javascript-debugging\n // this makes source maps inside style tags work properly in Chrome\n css += '\\n/*# sourceURL=' + sourceMap.sources[0] + ' */'\n // http://stackoverflow.com/a/26603875\n css += '\\n/*# sourceMappingURL=data:application/json;base64,' + btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap)))) + ' */'\n }\n\n if (styleElement.styleSheet) {\n styleElement.styleSheet.cssText = css\n } else {\n while (styleElement.firstChild) {\n styleElement.removeChild(styleElement.firstChild)\n }\n styleElement.appendChild(document.createTextNode(css))\n }\n}\n","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\tid: moduleId,\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = function(module) {\n\tvar getter = module && module.__esModule ?\n\t\tfunction() { return module['default']; } :\n\t\tfunction() { return module; };\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = function(exports, definition) {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }","// define __esModule on exports\n__webpack_require__.r = function(exports) {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","__webpack_require__.p = \"\";","/* eslint-disable no-var */\n// This file is imported into lib/wc client bundles.\n\nif (typeof window !== 'undefined') {\n var currentScript = window.document.currentScript\n if (process.env.NEED_CURRENTSCRIPT_POLYFILL) {\n var getCurrentScript = require('@soda/get-current-script')\n currentScript = getCurrentScript()\n\n // for backward compatibility, because previously we directly included the polyfill\n if (!('currentScript' in document)) {\n Object.defineProperty(document, 'currentScript', { get: getCurrentScript })\n }\n }\n\n var src = currentScript && currentScript.src.match(/(.+\\/)[^/]+\\.js(\\?.*)?$/)\n if (src) {\n __webpack_public_path__ = src[1] // eslint-disable-line\n }\n}\n\n// Indicate to webpack that this file can be concatenated\nexport default null\n","var __WEBPACK_NAMESPACE_OBJECT__ = require(\"vue\");","<template>\r\n <div ref=\"parent\" class=\"resizable-component\" :style=\"style\">\r\n <slot />\r\n <div\r\n v-for=\"el in active\"\r\n v-show=\"!maximize\"\r\n :key=\"el\"\r\n :class=\"'resizable-' + el\"\r\n />\r\n </div>\r\n</template>\r\n\r\n<script>\r\nconst ELEMENT_MASK = {\r\n \"resizable-r\": { bit: 0b0001, cursor: \"e-resize\" },\r\n \"resizable-rb\": { bit: 0b0011, cursor: \"se-resize\" },\r\n \"resizable-b\": { bit: 0b0010, cursor: \"s-resize\" },\r\n \"resizable-lb\": { bit: 0b0110, cursor: \"sw-resize\" },\r\n \"resizable-l\": { bit: 0b0100, cursor: \"w-resize\" },\r\n \"resizable-lt\": { bit: 0b1100, cursor: \"nw-resize\" },\r\n \"resizable-t\": { bit: 0b1000, cursor: \"n-resize\" },\r\n \"resizable-rt\": { bit: 0b1001, cursor: \"ne-resize\" },\r\n \"drag-el\": { bit: 0b1111, cursor: \"pointer\" },\r\n};\r\n\r\nconst CALC_MASK = {\r\n l: 0b0001,\r\n t: 0b0010,\r\n w: 0b0100,\r\n h: 0b1000,\r\n};\r\n\r\nexport default {\r\n name: \"VResizable\",\r\n props: {\r\n width: {\r\n default: undefined,\r\n type: [Number, String],\r\n },\r\n minWidth: {\r\n default: 0,\r\n type: Number,\r\n },\r\n maxWidth: {\r\n default: undefined,\r\n type: Number,\r\n },\r\n height: {\r\n default: undefined,\r\n type: [Number, String],\r\n },\r\n minHeight: {\r\n default: 0,\r\n type: Number,\r\n },\r\n maxHeight: {\r\n default: undefined,\r\n type: Number,\r\n },\r\n left: {\r\n default: 0,\r\n type: [Number, String],\r\n },\r\n top: {\r\n default: 0,\r\n type: [Number, String],\r\n },\r\n active: {\r\n default: () => [\"r\", \"rb\", \"b\", \"lb\", \"l\", \"lt\", \"t\", \"rt\"],\r\n validator: (val) =>\r\n [\"r\", \"rb\", \"b\", \"lb\", \"l\", \"lt\", \"t\", \"rt\"].filter(\r\n (value) => val.indexOf(value) !== -1\r\n ).length === val.length,\r\n type: Array,\r\n },\r\n fitParent: {\r\n default: false,\r\n type: Boolean,\r\n },\r\n dragSelector: {\r\n default: undefined,\r\n type: String,\r\n },\r\n maximize: {\r\n default: false,\r\n type: Boolean,\r\n },\r\n disableAttributes: {\r\n default: () => [],\r\n validator: (val) =>\r\n [\"l\", \"t\", \"w\", \"h\"].filter((value) => val.indexOf(value) !== -1)\r\n .length === val.length,\r\n type: Array,\r\n },\r\n },\r\n emits: [\r\n \"mount\",\r\n \"destroy\",\r\n \"resize:start\",\r\n \"resize:move\",\r\n \"resize:end\",\r\n \"drag:start\",\r\n \"drag:move\",\r\n \"drag:end\",\r\n \"maximize\",\r\n ],\r\n data() {\r\n return {\r\n w: this.width,\r\n h: this.height,\r\n minW: this.minWidth,\r\n minH: this.minHeight,\r\n maxW: this.maxWidth,\r\n maxH: this.maxHeight,\r\n l: this.left,\r\n t: this.top,\r\n mouseX: 0,\r\n mouseY: 0,\r\n offsetX: 0,\r\n offsetY: 0,\r\n parent: { width: 0, height: 0 },\r\n resizeState: 0,\r\n dragElements: [],\r\n dragState: false,\r\n calcMap: 0b1111,\r\n };\r\n },\r\n computed: {\r\n style() {\r\n return {\r\n ...(this.calcMap & CALC_MASK.w && {\r\n width: typeof this.w === \"number\" ? this.w + \"px\" : this.w,\r\n }),\r\n ...(this.calcMap & CALC_MASK.h && {\r\n height: typeof this.h === \"number\" ? this.h + \"px\" : this.h,\r\n }),\r\n ...(this.calcMap & CALC_MASK.l && {\r\n left: typeof this.l === \"number\" ? this.l + \"px\" : this.l,\r\n }),\r\n ...(this.calcMap & CALC_MASK.t && {\r\n top: typeof this.t === \"number\" ? this.t + \"px\" : this.t,\r\n }),\r\n };\r\n },\r\n },\r\n watch: {\r\n maxWidth(value) {\r\n this.maxW = value;\r\n },\r\n maxHeight(value) {\r\n this.maxH = value;\r\n },\r\n minWidth(value) {\r\n this.minW = value;\r\n },\r\n minHeight(value) {\r\n this.minH = value;\r\n },\r\n width(value) {\r\n typeof value === \"number\" && (this.w = value);\r\n },\r\n height(value) {\r\n typeof value === \"number\" && (this.h = value);\r\n },\r\n left(value) {\r\n typeof value === \"number\" && (this.l = value);\r\n },\r\n top(value) {\r\n typeof value === \"number\" && (this.t = value);\r\n },\r\n dragSelector(selector) {\r\n this.setupDragElements(selector);\r\n },\r\n maximize(value) {\r\n this.setMaximize(value);\r\n this.emitEvent(\"maximize\", { state: value });\r\n },\r\n },\r\n mounted() {\r\n if (!this.width) {\r\n this.w = this.$el.parentElement.clientWidth;\r\n } else if (this.width !== \"auto\") {\r\n typeof this.width !== \"number\" && (this.w = this.$el.clientWidth);\r\n }\r\n if (!this.height) {\r\n this.h = this.$el.parentElement.clientHeight;\r\n } else if (this.height !== \"auto\") {\r\n typeof this.height !== \"number\" && (this.h = this.$el.clientHeight);\r\n }\r\n typeof this.left !== \"number\" &&\r\n (this.l = this.$el.offsetLeft - this.$el.parentElement.offsetLeft);\r\n typeof this.top !== \"number\" &&\r\n (this.t = this.$el.offsetTop - this.$el.parentElement.offsetTop);\r\n this.minW && this.w < this.minW && (this.w = this.minW);\r\n this.minH && this.h < this.minH && (this.h = this.minH);\r\n this.maxW && this.w > this.maxW && (this.w = this.maxW);\r\n this.maxH && this.h > this.maxH && (this.h = this.maxH);\r\n\r\n this.setMaximize(this.maximize);\r\n this.setupDragElements(this.dragSelector);\r\n\r\n this.disableAttributes.forEach((attr) => {\r\n switch (attr) {\r\n case \"l\":\r\n this.calcMap &= ~CALC_MASK.l;\r\n break;\r\n case \"t\":\r\n this.calcMap &= ~CALC_MASK.t;\r\n break;\r\n case \"w\":\r\n this.calcMap &= ~CALC_MASK.w;\r\n break;\r\n case \"h\":\r\n this.calcMap &= ~CALC_MASK.h;\r\n }\r\n });\r\n\r\n document.documentElement.addEventListener(\r\n \"mousemove\",\r\n this.handleMove,\r\n true\r\n );\r\n document.documentElement.addEventListener(\r\n \"mousedown\",\r\n this.handleDown,\r\n true\r\n );\r\n document.documentElement.addEventListener(\"mouseup\", this.handleUp, true);\r\n\r\n document.documentElement.addEventListener(\r\n \"touchmove\",\r\n this.handleMove,\r\n true\r\n );\r\n document.documentElement.addEventListener(\r\n \"touchstart\",\r\n this.handleDown,\r\n true\r\n );\r\n document.documentElement.addEventListener(\"touchend\", this.handleUp, true);\r\n this.emitEvent(\"mount\");\r\n },\r\n beforeUnmount() {\r\n document.documentElement.removeEventListener(\r\n \"mousemove\",\r\n this.handleMove,\r\n true\r\n );\r\n document.documentElement.removeEventListener(\r\n \"mousedown\",\r\n this.handleDown,\r\n true\r\n );\r\n document.documentElement.removeEventListener(\r\n \"mouseup\",\r\n this.handleUp,\r\n true\r\n );\r\n\r\n document.documentElement.removeEventListener(\r\n \"touchmove\",\r\n this.handleMove,\r\n true\r\n );\r\n document.documentElement.removeEventListener(\r\n \"touchstart\",\r\n this.handleDown,\r\n true\r\n );\r\n document.documentElement.removeEventListener(\r\n \"touchend\",\r\n this.handleUp,\r\n true\r\n );\r\n this.emitEvent(\"destroy\");\r\n },\r\n methods: {\r\n setMaximize(value) {\r\n const parentEl = this.$el.parentElement;\r\n if (value) {\r\n this.prevState = { w: this.w, h: this.h, l: this.l, t: this.t };\r\n this.t = this.l = 0;\r\n this.w = parentEl.clientWidth;\r\n this.h = parentEl.clientHeight;\r\n } else {\r\n this.restoreSize();\r\n }\r\n },\r\n restoreSize() {\r\n if (this.prevState) {\r\n this.l = this.prevState.l;\r\n this.t = this.prevState.t;\r\n this.h = this.prevState.h;\r\n this.w = this.prevState.w;\r\n }\r\n },\r\n\r\n setupDragElements(selector) {\r\n const oldList = this.$el.querySelectorAll(\".drag-el\");\r\n oldList.forEach((el) => {\r\n el.classList.remove(\"drag-el\");\r\n });\r\n\r\n const nodeList = this.$el.querySelectorAll(selector);\r\n nodeList.forEach((el) => {\r\n el.classList.add(\"drag-el\");\r\n });\r\n this.dragElements = Array.prototype.slice.call(nodeList);\r\n },\r\n emitEvent(eventName, additionalOptions) {\r\n this.$emit(eventName, {\r\n eventName,\r\n left: this.l,\r\n top: this.t,\r\n width: this.w,\r\n height: this.h,\r\n cmp: this,\r\n ...additionalOptions,\r\n });\r\n },\r\n handleMove(event) {\r\n if (this.resizeState !== 0) {\r\n if (!this.dragState) {\r\n if (isNaN(this.w)) {\r\n this.w = this.$el.clientWidth;\r\n }\r\n if (isNaN(this.h)) {\r\n this.h = this.$el.clientHeight;\r\n }\r\n }\r\n let eventY, eventX;\r\n if (event.touches && event.touches.length >= 0) {\r\n eventY = event.touches[0].clientY;\r\n eventX = event.touches[0].clientX;\r\n } else {\r\n eventY = event.clientY;\r\n eventX = event.clientX;\r\n }\r\n if (this.maximize && this.prevState) {\r\n const parentWidth = this.parent.width;\r\n const parentHeight = this.parent.height;\r\n this.restoreSize();\r\n this.prevState = undefined;\r\n this.t = eventY > parentHeight / 2 ? parentHeight - this.h : 0;\r\n this.l = eventX > parentWidth / 2 ? parentWidth - this.w : 0;\r\n this.emitEvent(\"maximize\", { state: false });\r\n }\r\n let diffX = eventX - this.mouseX + this.offsetX,\r\n diffY = eventY - this.mouseY + this.offsetY;\r\n if (this.$el.getBoundingClientRect) {\r\n const rect = this.$el.getBoundingClientRect();\r\n const scaleX = rect.width / this.$el.offsetWidth || 1;\r\n const scaleY = rect.height / this.$el.offsetHeight || 1;\r\n diffX /= scaleX;\r\n diffY /= scaleY;\r\n }\r\n this.offsetX = this.offsetY = 0;\r\n if (this.resizeState & ELEMENT_MASK[\"resizable-r\"].bit) {\r\n if (!this.dragState && this.w + diffX < this.minW)\r\n this.offsetX = diffX - (diffX = this.minW - this.w);\r\n else if (\r\n !this.dragState &&\r\n this.maxW &&\r\n this.w + diffX > this.maxW &&\r\n (!this.fitParent || this.w + this.l < this.parent.width)\r\n )\r\n this.offsetX = diffX - (diffX = this.maxW - this.w);\r\n else if (\r\n this.fitParent &&\r\n this.l + this.w + diffX > this.parent.width\r\n )\r\n this.offsetX =\r\n diffX - (diffX = this.parent.width - this.l - this.w);\r\n\r\n this.calcMap & CALC_MASK.w && (this.w += this.dragState ? 0 : diffX);\r\n }\r\n if (this.resizeState & ELEMENT_MASK[\"resizable-b\"].bit) {\r\n if (!this.dragState && this.h + diffY < this.minH)\r\n this.offsetY = diffY - (diffY = this.minH - this.h);\r\n else if (\r\n !this.dragState &&\r\n this.maxH &&\r\n this.h + diffY > this.maxH &&\r\n (!this.fitParent || this.h + this.t < this.parent.height)\r\n )\r\n this.offsetY = diffY - (diffY = this.maxH - this.h);\r\n else if (\r\n this.fitParent &&\r\n this.t + this.h + diffY > this.parent.height\r\n )\r\n this.offsetY =\r\n diffY - (diffY = this.parent.height - this.t - this.h);\r\n\r\n this.calcMap & CALC_MASK.h && (this.h += this.dragState ? 0 : diffY);\r\n }\r\n if (this.resizeState & ELEMENT_MASK[\"resizable-l\"].bit) {\r\n if (!this.dragState && this.w - diffX < this.minW)\r\n this.offsetX = diffX - (diffX = this.w - this.minW);\r\n else if (\r\n !this.dragState &&\r\n this.maxW &&\r\n this.w - diffX > this.maxW &&\r\n this.l >= 0\r\n )\r\n this.offsetX = diffX - (diffX = this.w - this.maxW);\r\n else if (this.fitParent && this.l + diffX < 0)\r\n this.offsetX = diffX - (diffX = -this.l);\r\n\r\n this.calcMap & CALC_MASK.l && (this.l += diffX);\r\n this.calcMap & CALC_MASK.w && (this.w -= this.dragState ? 0 : diffX);\r\n }\r\n if (this.resizeState & ELEMENT_MASK[\"resizable-t\"].bit) {\r\n if (!this.dragState && this.h - diffY < this.minH)\r\n this.offsetY = diffY - (diffY = this.h - this.minH);\r\n else if (\r\n !this.dragState &&\r\n this.maxH &&\r\n this.h - diffY > this.maxH &&\r\n this.t >= 0\r\n )\r\n this.offsetY = diffY - (diffY = this.h - this.maxH);\r\n else if (this.fitParent && this.t + diffY < 0)\r\n this.offsetY = diffY - (diffY = -this.t);\r\n\r\n this.calcMap & CALC_MASK.t && (this.t += diffY);\r\n this.calcMap & CALC_MASK.h && (this.h -= this.dragState ? 0 : diffY);\r\n }\r\n this.mouseX = eventX;\r\n this.mouseY = eventY;\r\n const eventName = !this.dragState ? \"resize:move\" : \"drag:move\";\r\n this.emitEvent(eventName);\r\n }\r\n },\r\n handleDown(event) {\r\n if (\r\n event.target.closest &&\r\n event.target.closest(\".resizable-component\") !== this.$refs[\"parent\"]\r\n )\r\n return;\r\n for (let elClass in ELEMENT_MASK) {\r\n if (\r\n this.$el.contains(event.target) &&\r\n ((event.target.closest && event.target.closest(`.${elClass}`)) ||\r\n event.target.classList.contains(elClass))\r\n ) {\r\n elClass === \"drag-el\" && (this.dragState = true);\r\n document.body.style.cursor = ELEMENT_MASK[elClass].cursor;\r\n if (event.touches && event.touches.length >= 1) {\r\n this.mouseX = event.touches[0].clientX;\r\n this.mouseY = event.touches[0].clientY;\r\n } else {\r\n event.preventDefault && event.preventDefault();\r\n this.mouseX = event.clientX;\r\n this.mouseY = event.clientY;\r\n }\r\n this.offsetX = this.offsetY = 0;\r\n this.resizeState = ELEMENT_MASK[elClass].bit;\r\n this.parent.height = this.$el.parentElement.clientHeight;\r\n this.parent.width = this.$el.parentElement.clientWidth;\r\n const eventName = !this.dragState ? \"resize:start\" : \"drag:start\";\r\n this.emitEvent(eventName);\r\n break;\r\n }\r\n }\r\n },\r\n handleUp() {\r\n if (this.resizeState !== 0) {\r\n this.resizeState = 0;\r\n document.body.style.cursor = \"\";\r\n const eventName = !this.dragState ? \"resize:end\" : \"drag:end\";\r\n this.emitEvent(eventName);\r\n this.dragState = false;\r\n }\r\n },\r\n },\r\n};\r\n</script>\r\n\r\n<style scoped>\r\n.resizable-component {\r\n position: relative;\r\n}\r\n\r\n.resizable-component > .resizable-r {\r\n display: block;\r\n position: absolute;\r\n z-index: 90;\r\n touch-action: none;\r\n user-select: none;\r\n -moz-user-select: none;\r\n -webkit-user-select: none;\r\n cursor: e-resize;\r\n width: 12px;\r\n right: -6px;\r\n top: 0;\r\n height: 100%;\r\n}\r\n\r\n.resizable-component > .resizable-rb {\r\n display: block;\r\n position: absolute;\r\n touch-action: none;\r\n user-select: none;\r\n -moz-user-select: none;\r\n -webkit-user-select: none;\r\n cursor: se-resize;\r\n width: 12px;\r\n height: 12px;\r\n right: -6px;\r\n bottom: -6px;\r\n z-index: 91;\r\n}\r\n\r\n.resizable-component > .resizable-b {\r\n display: block;\r\n position: absolute;\r\n z-index: 90;\r\n touch-action: none;\r\n user-select: none;\r\n -moz-user-select: none;\r\n -webkit-user-select: none;\r\n cursor: s-resize;\r\n height: 12px;\r\n bottom: -6px;\r\n width: 100%;\r\n left: 0;\r\n}\r\n\r\n.resizable-component > .resizable-lb {\r\n display: block;\r\n position: absolute;\r\n touch-action: none;\r\n user-select: none;\r\n -moz-user-select: none;\r\n -webkit-user-select: none;\r\n cursor: sw-resize;\r\n width: 12px;\r\n height: 12px;\r\n left: -6px;\r\n bottom: -6px;\r\n z-index: 91;\r\n}\r\n\r\n.resizable-component > .resizable-l {\r\n display: block;\r\n position: absolute;\r\n z-index: 90;\r\n touch-action: none;\r\n user-select: none;\r\n -moz-user-select: none;\r\n -webkit-user-select: none;\r\n cursor: w-resize;\r\n width: 12px;\r\n left: -6px;\r\n height: 100%;\r\n top: 0;\r\n}\r\n\r\n.resizable-component > .resizable-lt {\r\n display: block;\r\n position: absolute;\r\n touch-action: none;\r\n user-select: none;\r\n -moz-user-select: none;\r\n -webkit-user-select: none;\r\n cursor: nw-resize;\r\n width: 12px;\r\n height: 12px;\r\n left: -6px;\r\n top: -6px;\r\n z-index: 91;\r\n}\r\n\r\n.resizable-component > .resizable-t {\r\n display: block;\r\n position: absolute;\r\n z-index: 90;\r\n touch-action: none;\r\n user-select: none;\r\n -moz-user-select: none;\r\n -webkit-user-select: none;\r\n cursor: n-resize;\r\n height: 12px;\r\n top: -6px;\r\n width: 100%;\r\n left: 0;\r\n}\r\n\r\n.resizable-component > .resizable-rt {\r\n display: block;\r\n position: absolute;\r\n touch-action: none;\r\n user-select: none;\r\n -moz-user-select: none;\r\n -webkit-user-select: none;\r\n cursor: ne-resize;\r\n width: 12px;\r\n height: 12px;\r\n right: -6px;\r\n top: -6px;\r\n z-index: 91;\r\n}\r\n</style>\r\n","export * from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[3]!../../node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./vue-resizable.vue?vue&type=template&id=3de5149f&scoped=true\"","export { default } from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./vue-resizable.vue?vue&type=script&lang=js\"; export * from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./vue-resizable.vue?vue&type=script&lang=js\"","export * from \"-!../../node_modules/vue-style-loader/index.js??clonedRuleSet-12.use[0]!../../node_modules/css-loader/dist/cjs.js??clonedRuleSet-12.use[1]!../../node_modules/vue-loader/dist/stylePostLoader.js!../../node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.use[2]!../../node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.use[3]!../../node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./vue-resizable.vue?vue&type=style&index=0&id=3de5149f&scoped=true&lang=css\"","import { render } from \"./vue-resizable.vue?vue&type=template&id=3de5149f&scoped=true\"\nimport script from \"./vue-resizable.vue?vue&type=script&lang=js\"\nexport * from \"./vue-resizable.vue?vue&type=script&lang=js\"\n\nimport \"./vue-resizable.vue?vue&type=style&index=0&id=3de5149f&scoped=true&lang=css\"\n\nimport exportComponent from \"C:\\\\Projects\\\\resizable2\\\\node_modules\\\\vue-loader\\\\dist\\\\exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-3de5149f\"]])\n\nexport default __exports__","import VueResizable from \"./components/vue-resizable\";\n\nexport default VueResizable;\n","import './setPublicPath'\nimport mod from '~entry'\nexport default mod\nexport * from '~entry'\n"],"names":["Object","defineProperty","exports","value","default","sfc","props","target","__vccOpts","key","val","listToStyles","parentId","list","styles","newStyles","i","length","item","id","css","media","sourceMap","part","push","parts","_createElementBlock","ref","class","style","$options","_renderSlot","_ctx","undefined","_Fragment","_renderList","$props","el","ELEMENT_MASK","bit","cursor","CALC_MASK","l","t","w","h","name","width","type","Number","String","minWidth","maxWidth","height","minHeight","maxHeight","left","top","active","validator","filter","indexOf","Array","fitParent","Boolean","dragSelector","maximize","disableAttributes","emits","data","minW","minH","maxW","maxH","mouseX","mouseY","offsetX","offsetY","parent","resizeState","dragElements","dragState","calcMap","computed","watch","selector","setupDragElements","setMaximize","emitEvent","state","mounted","$el","parentElement","clientWidth","clientHeight","offsetLeft","offsetTop","forEach","attr","document","documentElement","addEventListener","handleMove","handleDown","handleUp","beforeUnmount","removeEventListener","methods","parentEl","prevState","restoreSize","oldList","querySelectorAll","classList","remove","nodeList","add","prototype","slice","call","eventName","additionalOptions","$emit","cmp","event","isNaN","eventY","eventX","touches","clientY","clientX","parentWidth","parentHeight","diffX","diffY","getBoundingClientRect","rect","scaleX","offsetWidth","scaleY","offsetHeight","closest","$refs","elClass","contains","body","preventDefault","VueResizable"],"sourceRoot":""}
|