nwl-components 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/nwl-components.es.js +344 -27
- package/dist/nwl-components.umd.js +23 -20
- package/dist/style.css +1 -1
- package/package.json +3 -2
|
@@ -21,7 +21,7 @@ var __publicField = (obj, key, value) => {
|
|
|
21
21
|
__defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
22
22
|
return value;
|
|
23
23
|
};
|
|
24
|
-
import { openBlock, createElementBlock, mergeProps, reactive, ref, watch, onMounted, onUnmounted, unref, createVNode, withKeys, withDirectives, createElementVNode, Fragment, renderList, normalizeClass, toDisplayString, vShow, renderSlot, isRef, vModelText, getCurrentInstance, createCommentVNode, createBlock, withCtx, pushScopeId, popScopeId, createTextVNode, inject, toRefs, h, normalizeStyle, computed, setBlockTracking, withModifiers } from "vue";
|
|
24
|
+
import require$$0, { openBlock, createElementBlock, mergeProps, reactive, ref, watch, onMounted, onUnmounted, unref, createVNode, withKeys, withDirectives, createElementVNode, Fragment, renderList, normalizeClass, toDisplayString, vShow, renderSlot, isRef, vModelText, getCurrentInstance, createCommentVNode, createBlock, withCtx, pushScopeId, popScopeId, createTextVNode, inject, toRefs, h, normalizeStyle, computed, setBlockTracking, withModifiers } from "vue";
|
|
25
25
|
let nanoid = (size = 21) => {
|
|
26
26
|
let id = "";
|
|
27
27
|
let bytes = crypto.getRandomValues(new Uint8Array(size));
|
|
@@ -973,6 +973,9 @@ function renderDomElement(el, hashOrValue, config, rendererFactory) {
|
|
|
973
973
|
}
|
|
974
974
|
}
|
|
975
975
|
var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : {};
|
|
976
|
+
function getDefaultExportFromCjs(x) {
|
|
977
|
+
return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, "default") ? x["default"] : x;
|
|
978
|
+
}
|
|
976
979
|
var md5$1 = { exports: {} };
|
|
977
980
|
var crypt = { exports: {} };
|
|
978
981
|
(function() {
|
|
@@ -10081,8 +10084,307 @@ var ButtonsGroup = /* @__PURE__ */ _export_sfc$1(_sfc_main$a, [["__scopeId", "da
|
|
|
10081
10084
|
var _imports_0$2 = "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+CjxzdmcKICAgeG1sbnM6ZGM9Imh0dHA6Ly9wdXJsLm9yZy9kYy9lbGVtZW50cy8xLjEvIgogICB4bWxuczpjYz0iaHR0cDovL2NyZWF0aXZlY29tbW9ucy5vcmcvbnMjIgogICB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiCiAgIHhtbG5zOnN2Zz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciCiAgIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIKICAgeG1sbnM6c29kaXBvZGk9Imh0dHA6Ly9zb2RpcG9kaS5zb3VyY2Vmb3JnZS5uZXQvRFREL3NvZGlwb2RpLTAuZHRkIgogICB4bWxuczppbmtzY2FwZT0iaHR0cDovL3d3dy5pbmtzY2FwZS5vcmcvbmFtZXNwYWNlcy9pbmtzY2FwZSIKICAgd2lkdGg9IjE3OTIiCiAgIGhlaWdodD0iMTc5MiIKICAgdmlld0JveD0iMCAwIDE3OTIgMTc5MiIKICAgaWQ9InN2ZzIiCiAgIHZlcnNpb249IjEuMSIKICAgaW5rc2NhcGU6dmVyc2lvbj0iMC45MSByMTM3MjUiCiAgIHNvZGlwb2RpOmRvY25hbWU9ImJhcnMuc3ZnIj4KICA8bWV0YWRhdGEKICAgICBpZD0ibWV0YWRhdGExMCI+CiAgICA8cmRmOlJERj4KICAgICAgPGNjOldvcmsKICAgICAgICAgcmRmOmFib3V0PSIiPgogICAgICAgIDx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2NywtMy4xNjY3IDIyLjUsLTkuNSA2LjMzMzMsLTYuMzMzMyA5LjUyNjcsLTEzLjgzMzQgOS41LC0yMi41IHogTSAxNjY0LDQxNiBsIDAsOTYwIGMgMCw3OS4zMzMzIC0yOC4xNjY3LDE0Ny4xNjY3IC04NC41LDIwMy41IC01Ni4zMzMzLDU2LjMzMzMgLTEyNC4xNjY3LDg0LjUgLTIwMy41LDg0LjUgbCAtOTYwLDAgYyAtNzkuMzMzMzMsMCAtMTQ3LjE2NjY3LC0yOC4xNjY3IC0yMDMuNSwtODQuNSBDIDE1Ni4xNjY2NywxNTIzLjE2NjcgMTI4LDE0NTUuMzMzMyAxMjgsMTM3NiBsIDAsLTk2MCBDIDEyOCwzMzYuNjY2NjcgMTU2LjE2NjY3LDI2OC44MzMzMyAyMTIuNSwyMTIuNSAyNjguODMzMzMsMTU2LjE2NjY3IDMzNi42NjY2NywxMjggNDE2LDEyOCBsIDk2MCwwIGMgNzkuMzMzMywwIDE0Ny4xNjY3LDI4LjE2NjY3IDIwMy41LDg0LjUgNTYuMzMzMyw1Ni4zMzMzMyA4NC41LDEyNC4xNjY2NyA4NC41LDIwMy41IHoiIC8+CiAgPC9nPgo8L3N2Zz4K";
|
|
10087
|
+
var vueResizable_umd_min = { exports: {} };
|
|
10088
|
+
(function(module, exports) {
|
|
10089
|
+
(function(t, e) {
|
|
10090
|
+
module.exports = e(require$$0);
|
|
10091
|
+
})(typeof self !== "undefined" ? self : commonjsGlobal, function(t) {
|
|
10092
|
+
return function() {
|
|
10093
|
+
var e = { 294: function(t2, e2, i2) {
|
|
10094
|
+
i2.r(e2);
|
|
10095
|
+
var s2 = i2(81), n2 = i2.n(s2), r = i2(645), h2 = i2.n(r), a = h2()(n2());
|
|
10096
|
+
a.push([t2.id, ".resizable-component[data-v-8fc0f3c6]{position:relative}.resizable-component>.resizable-r[data-v-8fc0f3c6]{z-index:90;cursor:e-resize;top:0;height:100%}.resizable-component>.resizable-r[data-v-8fc0f3c6],.resizable-component>.resizable-rb[data-v-8fc0f3c6]{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-8fc0f3c6]{cursor:se-resize;height:12px;bottom:-6px;z-index:91}.resizable-component>.resizable-b[data-v-8fc0f3c6]{z-index:90;cursor:s-resize;width:100%;left:0}.resizable-component>.resizable-b[data-v-8fc0f3c6],.resizable-component>.resizable-lb[data-v-8fc0f3c6]{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-8fc0f3c6]{cursor:sw-resize;width:12px;left:-6px;z-index:91}.resizable-component>.resizable-l[data-v-8fc0f3c6]{z-index:90;cursor:w-resize;height:100%;top:0}.resizable-component>.resizable-l[data-v-8fc0f3c6],.resizable-component>.resizable-lt[data-v-8fc0f3c6]{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-8fc0f3c6]{cursor:nw-resize;height:12px;top:-6px;z-index:91}.resizable-component>.resizable-t[data-v-8fc0f3c6]{z-index:90;cursor:n-resize;width:100%;left:0}.resizable-component>.resizable-rt[data-v-8fc0f3c6],.resizable-component>.resizable-t[data-v-8fc0f3c6]{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-8fc0f3c6]{cursor:ne-resize;width:12px;right:-6px;z-index:91}", ""]), e2["default"] = a;
|
|
10097
|
+
}, 645: function(t2) {
|
|
10098
|
+
t2.exports = function(t3) {
|
|
10099
|
+
var e2 = [];
|
|
10100
|
+
return e2.toString = function() {
|
|
10101
|
+
return this.map(function(e3) {
|
|
10102
|
+
var i2 = "", s2 = typeof e3[5] !== "undefined";
|
|
10103
|
+
return e3[4] && (i2 += "@supports (".concat(e3[4], ") {")), e3[2] && (i2 += "@media ".concat(e3[2], " {")), s2 && (i2 += "@layer".concat(e3[5].length > 0 ? " ".concat(e3[5]) : "", " {")), i2 += t3(e3), s2 && (i2 += "}"), e3[2] && (i2 += "}"), e3[4] && (i2 += "}"), i2;
|
|
10104
|
+
}).join("");
|
|
10105
|
+
}, e2.i = function(t4, i2, s2, n2, r) {
|
|
10106
|
+
typeof t4 === "string" && (t4 = [[null, t4, void 0]]);
|
|
10107
|
+
var h2 = {};
|
|
10108
|
+
if (s2)
|
|
10109
|
+
for (var a = 0; a < this.length; a++) {
|
|
10110
|
+
var o = this[a][0];
|
|
10111
|
+
o != null && (h2[o] = true);
|
|
10112
|
+
}
|
|
10113
|
+
for (var l = 0; l < t4.length; l++) {
|
|
10114
|
+
var c = [].concat(t4[l]);
|
|
10115
|
+
s2 && h2[c[0]] || (typeof r !== "undefined" && (typeof c[5] === "undefined" || (c[1] = "@layer".concat(c[5].length > 0 ? " ".concat(c[5]) : "", " {").concat(c[1], "}")), c[5] = r), i2 && (c[2] ? (c[1] = "@media ".concat(c[2], " {").concat(c[1], "}"), c[2] = i2) : c[2] = i2), n2 && (c[4] ? (c[1] = "@supports (".concat(c[4], ") {").concat(c[1], "}"), c[4] = n2) : c[4] = "".concat(n2)), e2.push(c));
|
|
10116
|
+
}
|
|
10117
|
+
}, e2;
|
|
10118
|
+
};
|
|
10119
|
+
}, 81: function(t2) {
|
|
10120
|
+
t2.exports = function(t3) {
|
|
10121
|
+
return t3[1];
|
|
10122
|
+
};
|
|
10123
|
+
}, 82: function(t2, e2) {
|
|
10124
|
+
e2.Z = (t3, e3) => {
|
|
10125
|
+
const i2 = t3.__vccOpts || t3;
|
|
10126
|
+
for (const [s2, n2] of e3)
|
|
10127
|
+
i2[s2] = n2;
|
|
10128
|
+
return i2;
|
|
10129
|
+
};
|
|
10130
|
+
}, 280: function(t2, e2, i2) {
|
|
10131
|
+
var s2 = i2(294);
|
|
10132
|
+
s2.__esModule && (s2 = s2.default), typeof s2 === "string" && (s2 = [[t2.id, s2, ""]]), s2.locals && (t2.exports = s2.locals);
|
|
10133
|
+
var n2 = i2(650).Z;
|
|
10134
|
+
n2("84b5f9d4", s2, true, { sourceMap: false, shadowMode: false });
|
|
10135
|
+
}, 650: function(t2, e2, i2) {
|
|
10136
|
+
function s2(t3, e3) {
|
|
10137
|
+
for (var i3 = [], s3 = {}, n3 = 0; n3 < e3.length; n3++) {
|
|
10138
|
+
var r2 = e3[n3], h3 = r2[0], a2 = r2[1], o2 = r2[2], l2 = r2[3], c2 = { id: t3 + ":" + n3, css: a2, media: o2, sourceMap: l2 };
|
|
10139
|
+
s3[h3] ? s3[h3].parts.push(c2) : i3.push(s3[h3] = { id: h3, parts: [c2] });
|
|
10140
|
+
}
|
|
10141
|
+
return i3;
|
|
10142
|
+
}
|
|
10143
|
+
i2.d(e2, { Z: function() {
|
|
10144
|
+
return m;
|
|
10145
|
+
} });
|
|
10146
|
+
var n2 = typeof document !== "undefined";
|
|
10147
|
+
if (typeof DEBUG !== "undefined" && DEBUG && !n2)
|
|
10148
|
+
throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");
|
|
10149
|
+
var r = {}, h2 = n2 && (document.head || document.getElementsByTagName("head")[0]), a = null, o = 0, l = false, c = function() {
|
|
10150
|
+
}, d = null, u = "data-vue-ssr-id", f = typeof navigator !== "undefined" && /msie [6-9]\b/.test(navigator.userAgent.toLowerCase());
|
|
10151
|
+
function m(t3, e3, i3, n3) {
|
|
10152
|
+
l = i3, d = n3 || {};
|
|
10153
|
+
var h3 = s2(t3, e3);
|
|
10154
|
+
return p(h3), function(e4) {
|
|
10155
|
+
for (var i4 = [], n4 = 0; n4 < h3.length; n4++) {
|
|
10156
|
+
var a2 = h3[n4], o2 = r[a2.id];
|
|
10157
|
+
o2.refs--, i4.push(o2);
|
|
10158
|
+
}
|
|
10159
|
+
e4 ? (h3 = s2(t3, e4), p(h3)) : h3 = [];
|
|
10160
|
+
for (n4 = 0; n4 < i4.length; n4++) {
|
|
10161
|
+
o2 = i4[n4];
|
|
10162
|
+
if (o2.refs === 0) {
|
|
10163
|
+
for (var l2 = 0; l2 < o2.parts.length; l2++)
|
|
10164
|
+
o2.parts[l2]();
|
|
10165
|
+
delete r[o2.id];
|
|
10166
|
+
}
|
|
10167
|
+
}
|
|
10168
|
+
};
|
|
10169
|
+
}
|
|
10170
|
+
function p(t3) {
|
|
10171
|
+
for (var e3 = 0; e3 < t3.length; e3++) {
|
|
10172
|
+
var i3 = t3[e3], s3 = r[i3.id];
|
|
10173
|
+
if (s3) {
|
|
10174
|
+
s3.refs++;
|
|
10175
|
+
for (var n3 = 0; n3 < s3.parts.length; n3++)
|
|
10176
|
+
s3.parts[n3](i3.parts[n3]);
|
|
10177
|
+
for (; n3 < i3.parts.length; n3++)
|
|
10178
|
+
s3.parts.push(v(i3.parts[n3]));
|
|
10179
|
+
s3.parts.length > i3.parts.length && (s3.parts.length = i3.parts.length);
|
|
10180
|
+
} else {
|
|
10181
|
+
var h3 = [];
|
|
10182
|
+
for (n3 = 0; n3 < i3.parts.length; n3++)
|
|
10183
|
+
h3.push(v(i3.parts[n3]));
|
|
10184
|
+
r[i3.id] = { id: i3.id, refs: 1, parts: h3 };
|
|
10185
|
+
}
|
|
10186
|
+
}
|
|
10187
|
+
}
|
|
10188
|
+
function b() {
|
|
10189
|
+
var t3 = document.createElement("style");
|
|
10190
|
+
return t3.type = "text/css", h2.appendChild(t3), t3;
|
|
10191
|
+
}
|
|
10192
|
+
function v(t3) {
|
|
10193
|
+
var e3, i3, s3 = document.querySelector("style[" + u + '~="' + t3.id + '"]');
|
|
10194
|
+
if (s3) {
|
|
10195
|
+
if (l)
|
|
10196
|
+
return c;
|
|
10197
|
+
s3.parentNode.removeChild(s3);
|
|
10198
|
+
}
|
|
10199
|
+
if (f) {
|
|
10200
|
+
var n3 = o++;
|
|
10201
|
+
s3 = a || (a = b()), e3 = z.bind(null, s3, n3, false), i3 = z.bind(null, s3, n3, true);
|
|
10202
|
+
} else
|
|
10203
|
+
s3 = b(), e3 = w.bind(null, s3), i3 = function() {
|
|
10204
|
+
s3.parentNode.removeChild(s3);
|
|
10205
|
+
};
|
|
10206
|
+
return e3(t3), function(s4) {
|
|
10207
|
+
if (s4) {
|
|
10208
|
+
if (s4.css === t3.css && s4.media === t3.media && s4.sourceMap === t3.sourceMap)
|
|
10209
|
+
return;
|
|
10210
|
+
e3(t3 = s4);
|
|
10211
|
+
} else
|
|
10212
|
+
i3();
|
|
10213
|
+
};
|
|
10214
|
+
}
|
|
10215
|
+
var g = function() {
|
|
10216
|
+
var t3 = [];
|
|
10217
|
+
return function(e3, i3) {
|
|
10218
|
+
return t3[e3] = i3, t3.filter(Boolean).join("\n");
|
|
10219
|
+
};
|
|
10220
|
+
}();
|
|
10221
|
+
function z(t3, e3, i3, s3) {
|
|
10222
|
+
var n3 = i3 ? "" : s3.css;
|
|
10223
|
+
if (t3.styleSheet)
|
|
10224
|
+
t3.styleSheet.cssText = g(e3, n3);
|
|
10225
|
+
else {
|
|
10226
|
+
var r2 = document.createTextNode(n3), h3 = t3.childNodes;
|
|
10227
|
+
h3[e3] && t3.removeChild(h3[e3]), h3.length ? t3.insertBefore(r2, h3[e3]) : t3.appendChild(r2);
|
|
10228
|
+
}
|
|
10229
|
+
}
|
|
10230
|
+
function w(t3, e3) {
|
|
10231
|
+
var i3 = e3.css, s3 = e3.media, n3 = e3.sourceMap;
|
|
10232
|
+
if (s3 && t3.setAttribute("media", s3), d.ssrId && t3.setAttribute(u, e3.id), n3 && (i3 += "\n/*# sourceURL=" + n3.sources[0] + " */", i3 += "\n/*# sourceMappingURL=data:application/json;base64," + btoa(unescape(encodeURIComponent(JSON.stringify(n3)))) + " */"), t3.styleSheet)
|
|
10233
|
+
t3.styleSheet.cssText = i3;
|
|
10234
|
+
else {
|
|
10235
|
+
while (t3.firstChild)
|
|
10236
|
+
t3.removeChild(t3.firstChild);
|
|
10237
|
+
t3.appendChild(document.createTextNode(i3));
|
|
10238
|
+
}
|
|
10239
|
+
}
|
|
10240
|
+
}, 203: function(e2) {
|
|
10241
|
+
e2.exports = t;
|
|
10242
|
+
} }, i = {};
|
|
10243
|
+
function s(t2) {
|
|
10244
|
+
var n2 = i[t2];
|
|
10245
|
+
if (n2 !== void 0)
|
|
10246
|
+
return n2.exports;
|
|
10247
|
+
var r = i[t2] = { id: t2, exports: {} };
|
|
10248
|
+
return e[t2](r, r.exports, s), r.exports;
|
|
10249
|
+
}
|
|
10250
|
+
!function() {
|
|
10251
|
+
s.n = function(t2) {
|
|
10252
|
+
var e2 = t2 && t2.__esModule ? function() {
|
|
10253
|
+
return t2["default"];
|
|
10254
|
+
} : function() {
|
|
10255
|
+
return t2;
|
|
10256
|
+
};
|
|
10257
|
+
return s.d(e2, { a: e2 }), e2;
|
|
10258
|
+
};
|
|
10259
|
+
}(), function() {
|
|
10260
|
+
s.d = function(t2, e2) {
|
|
10261
|
+
for (var i2 in e2)
|
|
10262
|
+
s.o(e2, i2) && !s.o(t2, i2) && Object.defineProperty(t2, i2, { enumerable: true, get: e2[i2] });
|
|
10263
|
+
};
|
|
10264
|
+
}(), function() {
|
|
10265
|
+
s.o = function(t2, e2) {
|
|
10266
|
+
return Object.prototype.hasOwnProperty.call(t2, e2);
|
|
10267
|
+
};
|
|
10268
|
+
}(), function() {
|
|
10269
|
+
s.r = function(t2) {
|
|
10270
|
+
typeof Symbol !== "undefined" && Symbol.toStringTag && Object.defineProperty(t2, Symbol.toStringTag, { value: "Module" }), Object.defineProperty(t2, "__esModule", { value: true });
|
|
10271
|
+
};
|
|
10272
|
+
}(), function() {
|
|
10273
|
+
s.p = "";
|
|
10274
|
+
}();
|
|
10275
|
+
var n = {};
|
|
10276
|
+
return function() {
|
|
10277
|
+
if (s.r(n), s.d(n, { default: function() {
|
|
10278
|
+
return f;
|
|
10279
|
+
} }), typeof window !== "undefined") {
|
|
10280
|
+
var t2 = window.document.currentScript, e2 = t2 && t2.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);
|
|
10281
|
+
e2 && (s.p = e2[1]);
|
|
10282
|
+
}
|
|
10283
|
+
var i2 = s(203);
|
|
10284
|
+
function r(t3, e3, s2, n2, r2, h3) {
|
|
10285
|
+
return (0, i2.openBlock)(), (0, i2.createElementBlock)("div", { ref: "parent", class: "resizable-component", style: (0, i2.normalizeStyle)(h3.style) }, [(0, i2.renderSlot)(t3.$slots, "default", {}, void 0, true), ((0, i2.openBlock)(true), (0, i2.createElementBlock)(i2.Fragment, null, (0, i2.renderList)(s2.active, (t4) => (0, i2.withDirectives)(((0, i2.openBlock)(), (0, i2.createElementBlock)("div", { key: t4, class: (0, i2.normalizeClass)("resizable-" + t4) }, null, 2)), [[i2.vShow, !s2.maximize]])), 128))], 4);
|
|
10286
|
+
}
|
|
10287
|
+
const h2 = { "resizable-r": { bit: 1, cursor: "e-resize" }, "resizable-rb": { bit: 3, cursor: "se-resize" }, "resizable-b": { bit: 2, cursor: "s-resize" }, "resizable-lb": { bit: 6, cursor: "sw-resize" }, "resizable-l": { bit: 4, cursor: "w-resize" }, "resizable-lt": { bit: 12, cursor: "nw-resize" }, "resizable-t": { bit: 8, cursor: "n-resize" }, "resizable-rt": { bit: 9, cursor: "ne-resize" }, "drag-el": { bit: 15, cursor: "pointer" } }, a = { l: 1, t: 2, w: 4, h: 8 };
|
|
10288
|
+
var o = { name: "VResizable", props: { width: { default: void 0, type: [Number, String] }, minWidth: { default: 0, type: Number }, maxWidth: { default: void 0, type: Number }, height: { default: void 0, type: [Number, String] }, minHeight: { default: 0, type: Number }, maxHeight: { default: void 0, type: Number }, left: { default: 0, type: [Number, String] }, top: { default: 0, type: [Number, String] }, active: { default: () => ["r", "rb", "b", "lb", "l", "lt", "t", "rt"], validator: (t3) => ["r", "rb", "b", "lb", "l", "lt", "t", "rt"].filter((e3) => t3.indexOf(e3) !== -1).length === t3.length, type: Array }, fitParent: { default: false, type: Boolean }, dragSelector: { default: void 0, type: String }, maximize: { default: false, type: Boolean }, disableAttributes: { default: () => [], validator: (t3) => ["l", "t", "w", "h"].filter((e3) => t3.indexOf(e3) !== -1).length === t3.length, type: Array } }, emits: ["mount", "destroy", "resize:start", "resize:move", "resize:end", "drag:start", "drag:move", "drag:end", "maximize"], data() {
|
|
10289
|
+
return { w: this.width, h: this.height, minW: this.minWidth, minH: this.minHeight, maxW: this.maxWidth, maxH: this.maxHeight, l: this.left, t: this.top, mouseX: 0, mouseY: 0, offsetX: 0, offsetY: 0, parent: { width: 0, height: 0 }, resizeState: 0, dragElements: [], dragState: false, calcMap: 15 };
|
|
10290
|
+
}, computed: { style() {
|
|
10291
|
+
return __spreadValues(__spreadValues(__spreadValues(__spreadValues({}, this.calcMap & a.w && { width: typeof this.w === "number" ? this.w + "px" : this.w }), this.calcMap & a.h && { height: typeof this.h === "number" ? this.h + "px" : this.h }), this.calcMap & a.l && { left: typeof this.l === "number" ? this.l + "px" : this.l }), this.calcMap & a.t && { top: typeof this.t === "number" ? this.t + "px" : this.t });
|
|
10292
|
+
} }, watch: { maxWidth(t3) {
|
|
10293
|
+
this.maxW = t3;
|
|
10294
|
+
}, maxHeight(t3) {
|
|
10295
|
+
this.maxH = t3;
|
|
10296
|
+
}, minWidth(t3) {
|
|
10297
|
+
this.minW = t3;
|
|
10298
|
+
}, minHeight(t3) {
|
|
10299
|
+
this.minH = t3;
|
|
10300
|
+
}, width(t3) {
|
|
10301
|
+
typeof t3 === "number" && (this.w = t3);
|
|
10302
|
+
}, height(t3) {
|
|
10303
|
+
typeof t3 === "number" && (this.h = t3);
|
|
10304
|
+
}, left(t3) {
|
|
10305
|
+
typeof t3 === "number" && (this.l = t3);
|
|
10306
|
+
}, top(t3) {
|
|
10307
|
+
typeof t3 === "number" && (this.t = t3);
|
|
10308
|
+
}, dragSelector(t3) {
|
|
10309
|
+
this.setupDragElements(t3);
|
|
10310
|
+
}, maximize(t3) {
|
|
10311
|
+
this.setMaximize(t3), this.emitEvent("maximize", { state: t3 });
|
|
10312
|
+
} }, mounted() {
|
|
10313
|
+
this.width ? this.width !== "auto" && typeof this.width !== "number" && (this.w = this.$el.clientWidth) : this.w = this.$el.parentElement.clientWidth, this.height ? this.height !== "auto" && typeof this.height !== "number" && (this.h = this.$el.clientHeight) : this.h = this.$el.parentElement.clientHeight, typeof this.left !== "number" && (this.l = this.$el.offsetLeft - this.$el.parentElement.offsetLeft), typeof this.top !== "number" && (this.t = this.$el.offsetTop - this.$el.parentElement.offsetTop), this.minW && this.w < this.minW && (this.w = this.minW), this.minH && this.h < this.minH && (this.h = this.minH), this.maxW && this.w > this.maxW && (this.w = this.maxW), this.maxH && this.h > this.maxH && (this.h = this.maxH), this.setMaximize(this.maximize), this.setupDragElements(this.dragSelector), this.disableAttributes.forEach((t3) => {
|
|
10314
|
+
switch (t3) {
|
|
10315
|
+
case "l":
|
|
10316
|
+
this.calcMap &= ~a.l;
|
|
10317
|
+
break;
|
|
10318
|
+
case "t":
|
|
10319
|
+
this.calcMap &= ~a.t;
|
|
10320
|
+
break;
|
|
10321
|
+
case "w":
|
|
10322
|
+
this.calcMap &= ~a.w;
|
|
10323
|
+
break;
|
|
10324
|
+
case "h":
|
|
10325
|
+
this.calcMap &= ~a.h;
|
|
10326
|
+
}
|
|
10327
|
+
}), document.documentElement.addEventListener("mousemove", this.handleMove, true), document.documentElement.addEventListener("mousedown", this.handleDown, true), document.documentElement.addEventListener("mouseup", this.handleUp, true), document.documentElement.addEventListener("touchmove", this.handleMove, true), document.documentElement.addEventListener("touchstart", this.handleDown, true), document.documentElement.addEventListener("touchend", this.handleUp, true), this.emitEvent("mount");
|
|
10328
|
+
}, beforeUnmount() {
|
|
10329
|
+
document.documentElement.removeEventListener("mousemove", this.handleMove, true), document.documentElement.removeEventListener("mousedown", this.handleDown, true), document.documentElement.removeEventListener("mouseup", this.handleUp, true), document.documentElement.removeEventListener("touchmove", this.handleMove, true), document.documentElement.removeEventListener("touchstart", this.handleDown, true), document.documentElement.removeEventListener("touchend", this.handleUp, true), this.emitEvent("destroy");
|
|
10330
|
+
}, methods: { setMaximize(t3) {
|
|
10331
|
+
const e3 = this.$el.parentElement;
|
|
10332
|
+
t3 ? (this.prevState = { w: this.w, h: this.h, l: this.l, t: this.t }, this.t = this.l = 0, this.w = e3.clientWidth, this.h = e3.clientHeight) : this.restoreSize();
|
|
10333
|
+
}, restoreSize() {
|
|
10334
|
+
this.prevState && (this.l = this.prevState.l, this.t = this.prevState.t, this.h = this.prevState.h, this.w = this.prevState.w);
|
|
10335
|
+
}, setupDragElements(t3) {
|
|
10336
|
+
const e3 = this.$el.querySelectorAll(".drag-el");
|
|
10337
|
+
e3.forEach((t4) => {
|
|
10338
|
+
t4.classList.remove("drag-el");
|
|
10339
|
+
});
|
|
10340
|
+
const i3 = this.$el.querySelectorAll(t3);
|
|
10341
|
+
i3.forEach((t4) => {
|
|
10342
|
+
t4.classList.add("drag-el");
|
|
10343
|
+
}), this.dragElements = Array.prototype.slice.call(i3);
|
|
10344
|
+
}, emitEvent(t3, e3) {
|
|
10345
|
+
this.$emit(t3, __spreadValues({ eventName: t3, left: this.l, top: this.t, width: this.w, height: this.h }, e3));
|
|
10346
|
+
}, handleMove(t3) {
|
|
10347
|
+
if (this.resizeState !== 0) {
|
|
10348
|
+
let e3, i3;
|
|
10349
|
+
if (this.dragState || (isNaN(this.w) && (this.w = this.$el.clientWidth), isNaN(this.h) && (this.h = this.$el.clientHeight)), t3.touches && t3.touches.length >= 0 ? (e3 = t3.touches[0].clientY, i3 = t3.touches[0].clientX) : (e3 = t3.clientY, i3 = t3.clientX), this.maximize && this.prevState) {
|
|
10350
|
+
const t4 = this.parent.width, s3 = this.parent.height;
|
|
10351
|
+
this.restoreSize(), this.prevState = void 0, this.t = e3 > s3 / 2 ? s3 - this.h : 0, this.l = i3 > t4 / 2 ? t4 - this.w : 0, this.emitEvent("maximize", { state: false });
|
|
10352
|
+
}
|
|
10353
|
+
let s2 = i3 - this.mouseX + this.offsetX, n2 = e3 - this.mouseY + this.offsetY;
|
|
10354
|
+
if (this.$el.getBoundingClientRect) {
|
|
10355
|
+
const t4 = this.$el.getBoundingClientRect(), e4 = t4.width / this.$el.offsetWidth || 1, i4 = t4.height / this.$el.offsetHeight || 1;
|
|
10356
|
+
s2 /= e4, n2 /= i4;
|
|
10357
|
+
}
|
|
10358
|
+
this.offsetX = this.offsetY = 0, this.resizeState & h2["resizable-r"].bit && (!this.dragState && this.w + s2 < this.minW ? this.offsetX = s2 - (s2 = this.minW - this.w) : !this.dragState && this.maxW && this.w + s2 > this.maxW && (!this.fitParent || this.w + this.l < this.parent.width) ? this.offsetX = s2 - (s2 = this.maxW - this.w) : this.fitParent && this.l + this.w + s2 > this.parent.width && (this.offsetX = s2 - (s2 = this.parent.width - this.l - this.w)), this.calcMap & a.w && (this.w += this.dragState ? 0 : s2)), this.resizeState & h2["resizable-b"].bit && (!this.dragState && this.h + n2 < this.minH ? this.offsetY = n2 - (n2 = this.minH - this.h) : !this.dragState && this.maxH && this.h + n2 > this.maxH && (!this.fitParent || this.h + this.t < this.parent.height) ? this.offsetY = n2 - (n2 = this.maxH - this.h) : this.fitParent && this.t + this.h + n2 > this.parent.height && (this.offsetY = n2 - (n2 = this.parent.height - this.t - this.h)), this.calcMap & a.h && (this.h += this.dragState ? 0 : n2)), this.resizeState & h2["resizable-l"].bit && (!this.dragState && this.w - s2 < this.minW ? this.offsetX = s2 - (s2 = this.w - this.minW) : !this.dragState && this.maxW && this.w - s2 > this.maxW && this.l >= 0 ? this.offsetX = s2 - (s2 = this.w - this.maxW) : this.fitParent && this.l + s2 < 0 && (this.offsetX = s2 - (s2 = -this.l)), this.calcMap & a.l && (this.l += s2), this.calcMap & a.w && (this.w -= this.dragState ? 0 : s2)), this.resizeState & h2["resizable-t"].bit && (!this.dragState && this.h - n2 < this.minH ? this.offsetY = n2 - (n2 = this.h - this.minH) : !this.dragState && this.maxH && this.h - n2 > this.maxH && this.t >= 0 ? this.offsetY = n2 - (n2 = this.h - this.maxH) : this.fitParent && this.t + n2 < 0 && (this.offsetY = n2 - (n2 = -this.t)), this.calcMap & a.t && (this.t += n2), this.calcMap & a.h && (this.h -= this.dragState ? 0 : n2)), this.mouseX = i3, this.mouseY = e3;
|
|
10359
|
+
const r2 = this.dragState ? "drag:move" : "resize:move";
|
|
10360
|
+
this.emitEvent(r2);
|
|
10361
|
+
}
|
|
10362
|
+
}, handleDown(t3) {
|
|
10363
|
+
if (!t3.target.closest || t3.target.closest(".resizable-component") === this.$refs["parent"]) {
|
|
10364
|
+
for (let e3 in h2)
|
|
10365
|
+
if (this.$el.contains(t3.target) && (t3.target.closest && t3.target.closest(`.${e3}`) || t3.target.classList.contains(e3))) {
|
|
10366
|
+
e3 === "drag-el" && (this.dragState = true), document.body.style.cursor = h2[e3].cursor, t3.touches && t3.touches.length >= 1 ? (this.mouseX = t3.touches[0].clientX, this.mouseY = t3.touches[0].clientY) : (t3.preventDefault && t3.preventDefault(), this.mouseX = t3.clientX, this.mouseY = t3.clientY), this.offsetX = this.offsetY = 0, this.resizeState = h2[e3].bit, this.parent.height = this.$el.parentElement.clientHeight, this.parent.width = this.$el.parentElement.clientWidth;
|
|
10367
|
+
const i3 = this.dragState ? "drag:start" : "resize:start";
|
|
10368
|
+
this.emitEvent(i3);
|
|
10369
|
+
break;
|
|
10370
|
+
}
|
|
10371
|
+
}
|
|
10372
|
+
}, handleUp() {
|
|
10373
|
+
if (this.resizeState !== 0) {
|
|
10374
|
+
this.resizeState = 0, document.body.style.cursor = "";
|
|
10375
|
+
const t3 = this.dragState ? "drag:end" : "resize:end";
|
|
10376
|
+
this.emitEvent(t3), this.dragState = false;
|
|
10377
|
+
}
|
|
10378
|
+
} } }, l = (s(280), s(82));
|
|
10379
|
+
const c = (0, l.Z)(o, [["render", r], ["__scopeId", "data-v-8fc0f3c6"]]);
|
|
10380
|
+
var d = c, u = d, f = u;
|
|
10381
|
+
}(), n;
|
|
10382
|
+
}();
|
|
10383
|
+
});
|
|
10384
|
+
})(vueResizable_umd_min);
|
|
10385
|
+
var VueResizable = /* @__PURE__ */ getDefaultExportFromCjs(vueResizable_umd_min.exports);
|
|
10084
10386
|
var Editor_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
10085
|
-
const _withScopeId$2 = (n) => (pushScopeId("data-v-
|
|
10387
|
+
const _withScopeId$2 = (n) => (pushScopeId("data-v-ab82173a"), n = n(), popScopeId(), n);
|
|
10086
10388
|
const _hoisted_1$8 = { class: "content-wrapper" };
|
|
10087
10389
|
const _hoisted_2$4 = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ createElementVNode("img", {
|
|
10088
10390
|
src: _imports_0$2,
|
|
@@ -10149,6 +10451,11 @@ const _sfc_main$9 = {
|
|
|
10149
10451
|
return;
|
|
10150
10452
|
parseInt(position.value.left) > areaRect.width / 2 - toolsRect.value.width / 2 ? placeRight() : placeLeft();
|
|
10151
10453
|
};
|
|
10454
|
+
const onResizeEnd = () => {
|
|
10455
|
+
const resizable = area.value.querySelector(".resizable-component");
|
|
10456
|
+
const paletteRect = area.value.querySelector(".palette").getBoundingClientRect();
|
|
10457
|
+
resizable.style.height = paletteRect.height + "px";
|
|
10458
|
+
};
|
|
10152
10459
|
onMounted(() => {
|
|
10153
10460
|
document.addEventListener("mousemove", handleMove);
|
|
10154
10461
|
placeLeft();
|
|
@@ -10188,29 +10495,39 @@ const _sfc_main$9 = {
|
|
|
10188
10495
|
}, _hoisted_3$4, 512), [
|
|
10189
10496
|
[vShow, !toggled.value]
|
|
10190
10497
|
]),
|
|
10191
|
-
withDirectives(
|
|
10192
|
-
|
|
10193
|
-
|
|
10194
|
-
|
|
10195
|
-
|
|
10196
|
-
|
|
10197
|
-
|
|
10198
|
-
|
|
10199
|
-
|
|
10200
|
-
|
|
10201
|
-
|
|
10202
|
-
|
|
10203
|
-
|
|
10204
|
-
|
|
10205
|
-
|
|
10206
|
-
|
|
10207
|
-
|
|
10208
|
-
|
|
10209
|
-
|
|
10210
|
-
|
|
10211
|
-
|
|
10212
|
-
|
|
10213
|
-
|
|
10498
|
+
withDirectives(createVNode(unref(VueResizable), {
|
|
10499
|
+
active: ["rb", "b", "r"],
|
|
10500
|
+
"min-width": "275",
|
|
10501
|
+
width: 275,
|
|
10502
|
+
"onResize:end": onResizeEnd
|
|
10503
|
+
}, {
|
|
10504
|
+
default: withCtx(() => [
|
|
10505
|
+
createElementVNode("div", _hoisted_4$4, [
|
|
10506
|
+
createElementVNode("div", {
|
|
10507
|
+
class: "header",
|
|
10508
|
+
onMousedown: handleMouseDown
|
|
10509
|
+
}, [
|
|
10510
|
+
createElementVNode("button", {
|
|
10511
|
+
class: "toggle",
|
|
10512
|
+
onClick: _cache[1] || (_cache[1] = ($event) => hideTools())
|
|
10513
|
+
}, _hoisted_6$2),
|
|
10514
|
+
createElementVNode("span", _hoisted_7$2, toDisplayString(__props.title), 1),
|
|
10515
|
+
createElementVNode("button", {
|
|
10516
|
+
class: "left",
|
|
10517
|
+
onMousedown: withModifiers(placeLeft, ["stop"])
|
|
10518
|
+
}, _hoisted_10, 40, _hoisted_8$1),
|
|
10519
|
+
createElementVNode("button", {
|
|
10520
|
+
class: "right",
|
|
10521
|
+
onMousedown: withModifiers(placeRight, ["stop"])
|
|
10522
|
+
}, _hoisted_13, 40, _hoisted_11)
|
|
10523
|
+
], 32),
|
|
10524
|
+
createElementVNode("div", _hoisted_14, [
|
|
10525
|
+
renderSlot(_ctx.$slots, "tools", {}, void 0, true)
|
|
10526
|
+
])
|
|
10527
|
+
])
|
|
10528
|
+
]),
|
|
10529
|
+
_: 3
|
|
10530
|
+
}, 512), [
|
|
10214
10531
|
[vShow, toggled.value]
|
|
10215
10532
|
])
|
|
10216
10533
|
], 4)
|
|
@@ -10218,7 +10535,7 @@ const _sfc_main$9 = {
|
|
|
10218
10535
|
};
|
|
10219
10536
|
}
|
|
10220
10537
|
};
|
|
10221
|
-
var Editor = /* @__PURE__ */ _export_sfc$1(_sfc_main$9, [["__scopeId", "data-v-
|
|
10538
|
+
var Editor = /* @__PURE__ */ _export_sfc$1(_sfc_main$9, [["__scopeId", "data-v-ab82173a"]]);
|
|
10222
10539
|
var RangeSlider_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
10223
10540
|
const _hoisted_1$7 = { class: "range-slider" };
|
|
10224
10541
|
const _hoisted_2$3 = /* @__PURE__ */ createTextVNode("-");
|
|
@@ -10541,7 +10858,7 @@ const _sfc_main$2 = {
|
|
|
10541
10858
|
};
|
|
10542
10859
|
}
|
|
10543
10860
|
};
|
|
10544
|
-
var Chat = /* @__PURE__ */ _export_sfc$1(_sfc_main$2, [["__scopeId", "data-v-
|
|
10861
|
+
var Chat = /* @__PURE__ */ _export_sfc$1(_sfc_main$2, [["__scopeId", "data-v-044cce60"]]);
|
|
10545
10862
|
var _imports_0 = "data:image/svg+xml;base64,PHN2ZyBoZWlnaHQ9IjE1MzYiIHdpZHRoPSIxNTM2IiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIj48bGluZWFyR3JhZGllbnQgaWQ9ImEiIGdyYWRpZW50VHJhbnNmb3JtPSJtYXRyaXgoLjg3MDcxMjEgMCAwIC44NzQyMTU5OCAtMTQ0My4wOTc5IC0xNDQzLjk0MTMpIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9Ii01OTkuNDQ3ODEiIHgyPSIxMTcxLjU0NTIiIHkxPSI3NTcuMDAxODMiIHkyPSI3NjIuODM3NjUiPjxzdG9wIG9mZnNldD0iMCIgc3RvcC1jb2xvcj0iI2ZmZiIvPjxzdG9wIG9mZnNldD0iMSIgc3RvcC1jb2xvcj0iI2ZmZiIgc3RvcC1vcGFjaXR5PSIwIi8+PC9saW5lYXJHcmFkaWVudD48ZWxsaXBzZSBjeD0iLTc3Mi42NjcxMSIgY3k9Ii03NjkuMDI1NyIgcng9IjY1NC43NDgyOSIgcnk9IjY1Ny4zODMwNiIgc3R5bGU9InN0cm9rZT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