vue2-bbl-editor 1.5.2 → 1.5.3
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/vue2-bbl-editor.common.js +1225 -317
- package/dist/vue2-bbl-editor.css +1 -1
- package/dist/vue2-bbl-editor.umd.js +1225 -317
- package/dist/vue2-bbl-editor.umd.min.js +1225 -317
- package/package.json +1 -1
|
@@ -96,13 +96,6 @@ module.exports =
|
|
|
96
96
|
/* unused harmony reexport * */
|
|
97
97
|
|
|
98
98
|
|
|
99
|
-
/***/ }),
|
|
100
|
-
|
|
101
|
-
/***/ "014e":
|
|
102
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
103
|
-
|
|
104
|
-
// extracted by mini-css-extract-plugin
|
|
105
|
-
|
|
106
99
|
/***/ }),
|
|
107
100
|
|
|
108
101
|
/***/ "0450":
|
|
@@ -160,32 +153,17 @@ var component = Object(componentNormalizer["a" /* default */])(
|
|
|
160
153
|
|
|
161
154
|
/***/ }),
|
|
162
155
|
|
|
163
|
-
/***/ "
|
|
156
|
+
/***/ "0bfc":
|
|
164
157
|
/***/ (function(module, exports, __webpack_require__) {
|
|
165
158
|
|
|
166
159
|
// extracted by mini-css-extract-plugin
|
|
167
160
|
|
|
168
161
|
/***/ }),
|
|
169
162
|
|
|
170
|
-
/***/ "
|
|
171
|
-
/***/ (function(module,
|
|
172
|
-
|
|
173
|
-
"use strict";
|
|
174
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_LinkModal_vue_vue_type_style_index_0_id_744289fc_prod_scoped_true_lang_css__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("52d7");
|
|
175
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_LinkModal_vue_vue_type_style_index_0_id_744289fc_prod_scoped_true_lang_css__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_LinkModal_vue_vue_type_style_index_0_id_744289fc_prod_scoped_true_lang_css__WEBPACK_IMPORTED_MODULE_0__);
|
|
176
|
-
/* unused harmony reexport * */
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
/***/ }),
|
|
180
|
-
|
|
181
|
-
/***/ "1508":
|
|
182
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
183
|
-
|
|
184
|
-
"use strict";
|
|
185
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_BubbleMenu_vue_vue_type_style_index_0_id_d228d170_prod_scoped_true_lang_css__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("a49f");
|
|
186
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_BubbleMenu_vue_vue_type_style_index_0_id_d228d170_prod_scoped_true_lang_css__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_BubbleMenu_vue_vue_type_style_index_0_id_d228d170_prod_scoped_true_lang_css__WEBPACK_IMPORTED_MODULE_0__);
|
|
187
|
-
/* unused harmony reexport * */
|
|
163
|
+
/***/ "0c93":
|
|
164
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
188
165
|
|
|
166
|
+
// extracted by mini-css-extract-plugin
|
|
189
167
|
|
|
190
168
|
/***/ }),
|
|
191
169
|
|
|
@@ -894,49 +872,502 @@ function _objectWithoutPropertiesLoose(r, e) {
|
|
|
894
872
|
var _videoId = embedSrc.split('youtu.be/')[1].split('?')[0];
|
|
895
873
|
embedSrc = "https://www.youtube.com/embed/".concat(_videoId);
|
|
896
874
|
}
|
|
897
|
-
return commands.insertContent({
|
|
898
|
-
type: _this.name,
|
|
899
|
-
attrs: _objectSpread(_objectSpread({
|
|
900
|
-
display: 'inline',
|
|
901
|
-
// Changed default to inline
|
|
902
|
-
align: 'left',
|
|
903
|
-
caption: '',
|
|
904
|
-
captionPosition: 'none',
|
|
905
|
-
spacing: 'medium'
|
|
906
|
-
}, options), {}, {
|
|
907
|
-
src: embedSrc
|
|
908
|
-
})
|
|
909
|
-
});
|
|
910
|
-
};
|
|
875
|
+
return commands.insertContent({
|
|
876
|
+
type: _this.name,
|
|
877
|
+
attrs: _objectSpread(_objectSpread({
|
|
878
|
+
display: 'inline',
|
|
879
|
+
// Changed default to inline
|
|
880
|
+
align: 'left',
|
|
881
|
+
caption: '',
|
|
882
|
+
captionPosition: 'none',
|
|
883
|
+
spacing: 'medium'
|
|
884
|
+
}, options), {}, {
|
|
885
|
+
src: embedSrc
|
|
886
|
+
})
|
|
887
|
+
});
|
|
888
|
+
};
|
|
889
|
+
}
|
|
890
|
+
};
|
|
891
|
+
},
|
|
892
|
+
// Add a method to update the node's inline/block behavior
|
|
893
|
+
addStorage: function addStorage() {
|
|
894
|
+
var _this2 = this;
|
|
895
|
+
return {
|
|
896
|
+
updateInlineMode: function updateInlineMode(editor, display) {
|
|
897
|
+
// This will be used by the bubble menu to switch modes
|
|
898
|
+
var isInline = display === 'inline';
|
|
899
|
+
|
|
900
|
+
// Update the extension options
|
|
901
|
+
_this2.options.inline = isInline;
|
|
902
|
+
|
|
903
|
+
// Force re-render by recreating the node
|
|
904
|
+
return true;
|
|
905
|
+
}
|
|
906
|
+
};
|
|
907
|
+
}
|
|
908
|
+
}));
|
|
909
|
+
|
|
910
|
+
/***/ }),
|
|
911
|
+
|
|
912
|
+
/***/ "215c":
|
|
913
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
914
|
+
|
|
915
|
+
"use strict";
|
|
916
|
+
|
|
917
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"1a638e0e-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/Menus/LinkBubbleMenu.vue?vue&type=template&id=b9dcc6ea&scoped=true
|
|
918
|
+
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.showMenu && _vm.editor && _vm.isLinkActive)?_c('div',{staticClass:"link-bubble-menu",style:(_vm.menuStyle)},[_c('div',{staticClass:"bubble-menu-content"},[_c('button',{staticClass:"menu-btn",attrs:{"title":"Edit Link"},on:{"click":_vm.editLink}},[_c('Edit')],1),_c('div',{staticClass:"bbl-menu-divider"}),_c('button',{staticClass:"menu-btn",attrs:{"title":"Remove Link"},on:{"click":_vm.removeLink}},[_c('Unlink')],1),_c('div',{staticClass:"bbl-menu-divider"}),_c('button',{staticClass:"menu-btn",attrs:{"title":"Open in New Tab"},on:{"click":_vm.openInNewTab}},[_c('NewTab')],1),_c('div',{staticClass:"bbl-menu-divider"}),_c('button',{staticClass:"menu-btn",attrs:{"title":"Copy Link"},on:{"click":_vm.copyLink}},[_c('Copy')],1)])]):_vm._e()}
|
|
919
|
+
var staticRenderFns = []
|
|
920
|
+
|
|
921
|
+
|
|
922
|
+
// CONCATENATED MODULE: ./src/components/Menus/LinkBubbleMenu.vue?vue&type=template&id=b9dcc6ea&scoped=true
|
|
923
|
+
|
|
924
|
+
// EXTERNAL MODULE: ./src/components/svg/index.js + 207 modules
|
|
925
|
+
var svg = __webpack_require__("9f9d");
|
|
926
|
+
|
|
927
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/babel-loader/lib??ref--15!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/Menus/LinkBubbleMenu.vue?vue&type=script&lang=js
|
|
928
|
+
function _regenerator() {
|
|
929
|
+
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */var e,
|
|
930
|
+
t,
|
|
931
|
+
r = "function" == typeof Symbol ? Symbol : {},
|
|
932
|
+
n = r.iterator || "@@iterator",
|
|
933
|
+
o = r.toStringTag || "@@toStringTag";
|
|
934
|
+
function i(r, n, o, i) {
|
|
935
|
+
var c = n && n.prototype instanceof Generator ? n : Generator,
|
|
936
|
+
u = Object.create(c.prototype);
|
|
937
|
+
return _regeneratorDefine2(u, "_invoke", function (r, n, o) {
|
|
938
|
+
var i,
|
|
939
|
+
c,
|
|
940
|
+
u,
|
|
941
|
+
f = 0,
|
|
942
|
+
p = o || [],
|
|
943
|
+
y = !1,
|
|
944
|
+
G = {
|
|
945
|
+
p: 0,
|
|
946
|
+
n: 0,
|
|
947
|
+
v: e,
|
|
948
|
+
a: d,
|
|
949
|
+
f: d.bind(e, 4),
|
|
950
|
+
d: function d(t, r) {
|
|
951
|
+
return i = t, c = 0, u = e, G.n = r, a;
|
|
952
|
+
}
|
|
953
|
+
};
|
|
954
|
+
function d(r, n) {
|
|
955
|
+
for (c = r, u = n, t = 0; !y && f && !o && t < p.length; t++) {
|
|
956
|
+
var o,
|
|
957
|
+
i = p[t],
|
|
958
|
+
d = G.p,
|
|
959
|
+
l = i[2];
|
|
960
|
+
r > 3 ? (o = l === n) && (u = i[(c = i[4]) ? 5 : (c = 3, 3)], i[4] = i[5] = e) : i[0] <= d && ((o = r < 2 && d < i[1]) ? (c = 0, G.v = n, G.n = i[1]) : d < l && (o = r < 3 || i[0] > n || n > l) && (i[4] = r, i[5] = n, G.n = l, c = 0));
|
|
961
|
+
}
|
|
962
|
+
if (o || r > 1) return a;
|
|
963
|
+
throw y = !0, n;
|
|
964
|
+
}
|
|
965
|
+
return function (o, p, l) {
|
|
966
|
+
if (f > 1) throw TypeError("Generator is already running");
|
|
967
|
+
for (y && 1 === p && d(p, l), c = p, u = l; (t = c < 2 ? e : u) || !y;) {
|
|
968
|
+
i || (c ? c < 3 ? (c > 1 && (G.n = -1), d(c, u)) : G.n = u : G.v = u);
|
|
969
|
+
try {
|
|
970
|
+
if (f = 2, i) {
|
|
971
|
+
if (c || (o = "next"), t = i[o]) {
|
|
972
|
+
if (!(t = t.call(i, u))) throw TypeError("iterator result is not an object");
|
|
973
|
+
if (!t.done) return t;
|
|
974
|
+
u = t.value, c < 2 && (c = 0);
|
|
975
|
+
} else 1 === c && (t = i.return) && t.call(i), c < 2 && (u = TypeError("The iterator does not provide a '" + o + "' method"), c = 1);
|
|
976
|
+
i = e;
|
|
977
|
+
} else if ((t = (y = G.n < 0) ? u : r.call(n, G)) !== a) break;
|
|
978
|
+
} catch (t) {
|
|
979
|
+
i = e, c = 1, u = t;
|
|
980
|
+
} finally {
|
|
981
|
+
f = 1;
|
|
982
|
+
}
|
|
983
|
+
}
|
|
984
|
+
return {
|
|
985
|
+
value: t,
|
|
986
|
+
done: y
|
|
987
|
+
};
|
|
988
|
+
};
|
|
989
|
+
}(r, o, i), !0), u;
|
|
990
|
+
}
|
|
991
|
+
var a = {};
|
|
992
|
+
function Generator() {}
|
|
993
|
+
function GeneratorFunction() {}
|
|
994
|
+
function GeneratorFunctionPrototype() {}
|
|
995
|
+
t = Object.getPrototypeOf;
|
|
996
|
+
var c = [][n] ? t(t([][n]())) : (_regeneratorDefine2(t = {}, n, function () {
|
|
997
|
+
return this;
|
|
998
|
+
}), t),
|
|
999
|
+
u = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(c);
|
|
1000
|
+
function f(e) {
|
|
1001
|
+
return Object.setPrototypeOf ? Object.setPrototypeOf(e, GeneratorFunctionPrototype) : (e.__proto__ = GeneratorFunctionPrototype, _regeneratorDefine2(e, o, "GeneratorFunction")), e.prototype = Object.create(u), e;
|
|
1002
|
+
}
|
|
1003
|
+
return GeneratorFunction.prototype = GeneratorFunctionPrototype, _regeneratorDefine2(u, "constructor", GeneratorFunctionPrototype), _regeneratorDefine2(GeneratorFunctionPrototype, "constructor", GeneratorFunction), GeneratorFunction.displayName = "GeneratorFunction", _regeneratorDefine2(GeneratorFunctionPrototype, o, "GeneratorFunction"), _regeneratorDefine2(u), _regeneratorDefine2(u, o, "Generator"), _regeneratorDefine2(u, n, function () {
|
|
1004
|
+
return this;
|
|
1005
|
+
}), _regeneratorDefine2(u, "toString", function () {
|
|
1006
|
+
return "[object Generator]";
|
|
1007
|
+
}), (_regenerator = function _regenerator() {
|
|
1008
|
+
return {
|
|
1009
|
+
w: i,
|
|
1010
|
+
m: f
|
|
1011
|
+
};
|
|
1012
|
+
})();
|
|
1013
|
+
}
|
|
1014
|
+
function _regeneratorDefine2(e, r, n, t) {
|
|
1015
|
+
var i = Object.defineProperty;
|
|
1016
|
+
try {
|
|
1017
|
+
i({}, "", {});
|
|
1018
|
+
} catch (e) {
|
|
1019
|
+
i = 0;
|
|
1020
|
+
}
|
|
1021
|
+
_regeneratorDefine2 = function _regeneratorDefine(e, r, n, t) {
|
|
1022
|
+
function o(r, n) {
|
|
1023
|
+
_regeneratorDefine2(e, r, function (e) {
|
|
1024
|
+
return this._invoke(r, n, e);
|
|
1025
|
+
});
|
|
1026
|
+
}
|
|
1027
|
+
r ? i ? i(e, r, {
|
|
1028
|
+
value: n,
|
|
1029
|
+
enumerable: !t,
|
|
1030
|
+
configurable: !t,
|
|
1031
|
+
writable: !t
|
|
1032
|
+
}) : e[r] = n : (o("next", 0), o("throw", 1), o("return", 2));
|
|
1033
|
+
}, _regeneratorDefine2(e, r, n, t);
|
|
1034
|
+
}
|
|
1035
|
+
function asyncGeneratorStep(n, t, e, r, o, a, c) {
|
|
1036
|
+
try {
|
|
1037
|
+
var i = n[a](c),
|
|
1038
|
+
u = i.value;
|
|
1039
|
+
} catch (n) {
|
|
1040
|
+
return void e(n);
|
|
1041
|
+
}
|
|
1042
|
+
i.done ? t(u) : Promise.resolve(u).then(r, o);
|
|
1043
|
+
}
|
|
1044
|
+
function _asyncToGenerator(n) {
|
|
1045
|
+
return function () {
|
|
1046
|
+
var t = this,
|
|
1047
|
+
e = arguments;
|
|
1048
|
+
return new Promise(function (r, o) {
|
|
1049
|
+
var a = n.apply(t, e);
|
|
1050
|
+
function _next(n) {
|
|
1051
|
+
asyncGeneratorStep(a, r, o, _next, _throw, "next", n);
|
|
1052
|
+
}
|
|
1053
|
+
function _throw(n) {
|
|
1054
|
+
asyncGeneratorStep(a, r, o, _next, _throw, "throw", n);
|
|
1055
|
+
}
|
|
1056
|
+
_next(void 0);
|
|
1057
|
+
});
|
|
1058
|
+
};
|
|
1059
|
+
}
|
|
1060
|
+
//
|
|
1061
|
+
//
|
|
1062
|
+
//
|
|
1063
|
+
//
|
|
1064
|
+
//
|
|
1065
|
+
//
|
|
1066
|
+
//
|
|
1067
|
+
//
|
|
1068
|
+
//
|
|
1069
|
+
//
|
|
1070
|
+
//
|
|
1071
|
+
//
|
|
1072
|
+
//
|
|
1073
|
+
//
|
|
1074
|
+
//
|
|
1075
|
+
//
|
|
1076
|
+
//
|
|
1077
|
+
//
|
|
1078
|
+
//
|
|
1079
|
+
//
|
|
1080
|
+
//
|
|
1081
|
+
//
|
|
1082
|
+
//
|
|
1083
|
+
//
|
|
1084
|
+
//
|
|
1085
|
+
//
|
|
1086
|
+
//
|
|
1087
|
+
//
|
|
1088
|
+
//
|
|
1089
|
+
//
|
|
1090
|
+
//
|
|
1091
|
+
//
|
|
1092
|
+
//
|
|
1093
|
+
//
|
|
1094
|
+
//
|
|
1095
|
+
//
|
|
1096
|
+
//
|
|
1097
|
+
//
|
|
1098
|
+
//
|
|
1099
|
+
//
|
|
1100
|
+
//
|
|
1101
|
+
//
|
|
1102
|
+
//
|
|
1103
|
+
//
|
|
1104
|
+
//
|
|
1105
|
+
//
|
|
1106
|
+
//
|
|
1107
|
+
//
|
|
1108
|
+
//
|
|
1109
|
+
|
|
1110
|
+
|
|
1111
|
+
/* harmony default export */ var LinkBubbleMenuvue_type_script_lang_js = ({
|
|
1112
|
+
name: 'LinkBubbleMenu',
|
|
1113
|
+
components: {
|
|
1114
|
+
Edit: svg["x" /* Edit */],
|
|
1115
|
+
Unlink: svg["S" /* Unlink */],
|
|
1116
|
+
NewTab: svg["G" /* NewTab */],
|
|
1117
|
+
Copy: svg["u" /* Copy */]
|
|
1118
|
+
},
|
|
1119
|
+
props: {
|
|
1120
|
+
editor: {
|
|
1121
|
+
type: Object,
|
|
1122
|
+
required: true
|
|
1123
|
+
}
|
|
1124
|
+
},
|
|
1125
|
+
data: function data() {
|
|
1126
|
+
return {
|
|
1127
|
+
showMenu: false,
|
|
1128
|
+
menuStyle: {
|
|
1129
|
+
position: 'fixed',
|
|
1130
|
+
top: '0px',
|
|
1131
|
+
left: '0px',
|
|
1132
|
+
zIndex: 1000
|
|
1133
|
+
},
|
|
1134
|
+
hideTimeout: null,
|
|
1135
|
+
copyFeedback: false
|
|
1136
|
+
};
|
|
1137
|
+
},
|
|
1138
|
+
mounted: function mounted() {
|
|
1139
|
+
this.attachSelectionListeners();
|
|
1140
|
+
},
|
|
1141
|
+
beforeDestroy: function beforeDestroy() {
|
|
1142
|
+
this.removeSelectionListeners();
|
|
1143
|
+
if (this.hideTimeout) {
|
|
1144
|
+
clearTimeout(this.hideTimeout);
|
|
1145
|
+
}
|
|
1146
|
+
},
|
|
1147
|
+
computed: {
|
|
1148
|
+
isLinkActive: function isLinkActive() {
|
|
1149
|
+
if (!this.editor) return false;
|
|
1150
|
+
return this.editor.isActive('link');
|
|
1151
|
+
},
|
|
1152
|
+
currentLinkUrl: function currentLinkUrl() {
|
|
1153
|
+
if (!this.editor) return '';
|
|
1154
|
+
var attrs = this.editor.getAttributes('link');
|
|
1155
|
+
return attrs.href || '';
|
|
1156
|
+
},
|
|
1157
|
+
displayUrl: function displayUrl() {
|
|
1158
|
+
var url = this.currentLinkUrl;
|
|
1159
|
+
if (!url) return '';
|
|
1160
|
+
|
|
1161
|
+
// Truncate long URLs for display
|
|
1162
|
+
if (url.length > 40) {
|
|
1163
|
+
return url.substring(0, 37) + '...';
|
|
1164
|
+
}
|
|
1165
|
+
return url;
|
|
1166
|
+
}
|
|
1167
|
+
},
|
|
1168
|
+
methods: {
|
|
1169
|
+
attachSelectionListeners: function attachSelectionListeners() {
|
|
1170
|
+
if (!this.editor) return;
|
|
1171
|
+
this.editor.on('selectionUpdate', this.handleSelectionUpdate);
|
|
1172
|
+
this.editor.on('transaction', this.handleTransaction);
|
|
1173
|
+
},
|
|
1174
|
+
removeSelectionListeners: function removeSelectionListeners() {
|
|
1175
|
+
if (!this.editor) return;
|
|
1176
|
+
this.editor.off('selectionUpdate', this.handleSelectionUpdate);
|
|
1177
|
+
this.editor.off('transaction', this.handleTransaction);
|
|
1178
|
+
},
|
|
1179
|
+
handleSelectionUpdate: function handleSelectionUpdate() {
|
|
1180
|
+
this.updateMenuVisibility();
|
|
1181
|
+
},
|
|
1182
|
+
handleTransaction: function handleTransaction() {
|
|
1183
|
+
this.updateMenuVisibility();
|
|
1184
|
+
},
|
|
1185
|
+
updateMenuVisibility: function updateMenuVisibility() {
|
|
1186
|
+
var _this = this;
|
|
1187
|
+
if (this.hideTimeout) {
|
|
1188
|
+
clearTimeout(this.hideTimeout);
|
|
1189
|
+
this.hideTimeout = null;
|
|
1190
|
+
}
|
|
1191
|
+
if (this.isLinkActive && this.editor.view.hasFocus()) {
|
|
1192
|
+
this.showMenu = true;
|
|
1193
|
+
this.positionMenu();
|
|
1194
|
+
} else {
|
|
1195
|
+
// Delay hiding to prevent flicker when moving between link elements
|
|
1196
|
+
this.hideTimeout = setTimeout(function () {
|
|
1197
|
+
_this.showMenu = false;
|
|
1198
|
+
}, 100);
|
|
1199
|
+
}
|
|
1200
|
+
},
|
|
1201
|
+
positionMenu: function positionMenu() {
|
|
1202
|
+
if (!this.editor || !this.editor.view) return;
|
|
1203
|
+
var view = this.editor.view;
|
|
1204
|
+
var _view$state$selection = view.state.selection,
|
|
1205
|
+
from = _view$state$selection.from,
|
|
1206
|
+
to = _view$state$selection.to;
|
|
1207
|
+
|
|
1208
|
+
// Get the DOM coordinates of the selection
|
|
1209
|
+
var start = view.coordsAtPos(from);
|
|
1210
|
+
var end = view.coordsAtPos(to);
|
|
1211
|
+
|
|
1212
|
+
// Position menu above the selection
|
|
1213
|
+
var left = (start.left + end.left) / 2;
|
|
1214
|
+
var top = start.top - 10; // 10px above the selection
|
|
1215
|
+
|
|
1216
|
+
this.menuStyle = {
|
|
1217
|
+
position: 'fixed',
|
|
1218
|
+
top: "".concat(top + 40, "px"),
|
|
1219
|
+
left: "".concat(left, "px"),
|
|
1220
|
+
transform: 'translateX(-50%)',
|
|
1221
|
+
zIndex: 1000
|
|
1222
|
+
};
|
|
1223
|
+
},
|
|
1224
|
+
editLink: function editLink() {
|
|
1225
|
+
// Select all the link text before opening modal
|
|
1226
|
+
if (this.editor) {
|
|
1227
|
+
this.editor.chain().focus().extendMarkRange('link').run();
|
|
1228
|
+
}
|
|
1229
|
+
this.$emit('edit-link');
|
|
1230
|
+
},
|
|
1231
|
+
openInNewTab: function openInNewTab() {
|
|
1232
|
+
var url = this.currentLinkUrl;
|
|
1233
|
+
if (url) {
|
|
1234
|
+
window.open(url, '_blank', 'noopener,noreferrer');
|
|
1235
|
+
this.showFeedback('Link opened in new tab');
|
|
1236
|
+
}
|
|
1237
|
+
},
|
|
1238
|
+
copyLink: function copyLink() {
|
|
1239
|
+
var _this2 = this;
|
|
1240
|
+
return _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee() {
|
|
1241
|
+
var url, textArea, _t;
|
|
1242
|
+
return _regenerator().w(function (_context) {
|
|
1243
|
+
while (1) switch (_context.p = _context.n) {
|
|
1244
|
+
case 0:
|
|
1245
|
+
url = _this2.currentLinkUrl;
|
|
1246
|
+
if (url) {
|
|
1247
|
+
_context.n = 1;
|
|
1248
|
+
break;
|
|
1249
|
+
}
|
|
1250
|
+
return _context.a(2);
|
|
1251
|
+
case 1:
|
|
1252
|
+
_context.p = 1;
|
|
1253
|
+
if (!(navigator.clipboard && window.isSecureContext)) {
|
|
1254
|
+
_context.n = 3;
|
|
1255
|
+
break;
|
|
1256
|
+
}
|
|
1257
|
+
_context.n = 2;
|
|
1258
|
+
return navigator.clipboard.writeText(url);
|
|
1259
|
+
case 2:
|
|
1260
|
+
_context.n = 4;
|
|
1261
|
+
break;
|
|
1262
|
+
case 3:
|
|
1263
|
+
// Fallback for older browsers
|
|
1264
|
+
textArea = document.createElement('textarea');
|
|
1265
|
+
textArea.value = url;
|
|
1266
|
+
textArea.style.position = 'fixed';
|
|
1267
|
+
textArea.style.left = '-999999px';
|
|
1268
|
+
textArea.style.top = '-999999px';
|
|
1269
|
+
document.body.appendChild(textArea);
|
|
1270
|
+
textArea.focus();
|
|
1271
|
+
textArea.select();
|
|
1272
|
+
document.execCommand('copy');
|
|
1273
|
+
textArea.remove();
|
|
1274
|
+
case 4:
|
|
1275
|
+
_this2.showFeedback('Link copied to clipboard!');
|
|
1276
|
+
_context.n = 6;
|
|
1277
|
+
break;
|
|
1278
|
+
case 5:
|
|
1279
|
+
_context.p = 5;
|
|
1280
|
+
_t = _context.v;
|
|
1281
|
+
console.error('Failed to copy link:', _t);
|
|
1282
|
+
_this2.showFeedback('Failed to copy link', 'error');
|
|
1283
|
+
case 6:
|
|
1284
|
+
return _context.a(2);
|
|
1285
|
+
}
|
|
1286
|
+
}, _callee, null, [[1, 5]]);
|
|
1287
|
+
}))();
|
|
1288
|
+
},
|
|
1289
|
+
removeLink: function removeLink() {
|
|
1290
|
+
this.editor.chain().focus().extendMarkRange('link').unsetLink().run();
|
|
1291
|
+
this.showFeedback('Link removed');
|
|
1292
|
+
this.showMenu = false;
|
|
1293
|
+
},
|
|
1294
|
+
ensureProtocol: function ensureProtocol(url) {
|
|
1295
|
+
if (url.match(/^https?:\/\//)) {
|
|
1296
|
+
return url;
|
|
911
1297
|
}
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
1298
|
+
if (url.match(/^mailto:/)) {
|
|
1299
|
+
return url;
|
|
1300
|
+
}
|
|
1301
|
+
if (url.match(/^tel:/)) {
|
|
1302
|
+
return url;
|
|
1303
|
+
}
|
|
1304
|
+
// Default to https for web URLs
|
|
1305
|
+
return "https://".concat(url);
|
|
1306
|
+
},
|
|
1307
|
+
showFeedback: function showFeedback(message) {
|
|
1308
|
+
var type = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'success';
|
|
1309
|
+
// Create a temporary feedback element
|
|
1310
|
+
var feedback = document.createElement('div');
|
|
1311
|
+
feedback.textContent = message;
|
|
1312
|
+
feedback.className = "link-feedback link-feedback-".concat(type);
|
|
1313
|
+
feedback.style.cssText = "\n position: fixed;\n top: ".concat(parseInt(this.menuStyle.top) - 40, "px;\n left: ").concat(this.menuStyle.left, ";\n transform: translateX(-50%);\n background: ").concat(type === 'error' ? '#ef4444' : '#000', ";\n color: white;\n padding: 6px 12px;\n border-radius: 4px;\n font-size: 12px;\n font-weight: 500;\n z-index: 1001;\n pointer-events: none;\n opacity: 0;\n transition: opacity 0.2s ease;\n ");
|
|
1314
|
+
document.body.appendChild(feedback);
|
|
921
1315
|
|
|
922
|
-
|
|
923
|
-
|
|
1316
|
+
// Animate in
|
|
1317
|
+
requestAnimationFrame(function () {
|
|
1318
|
+
feedback.style.opacity = '1';
|
|
1319
|
+
});
|
|
924
1320
|
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
1321
|
+
// Remove after delay
|
|
1322
|
+
setTimeout(function () {
|
|
1323
|
+
feedback.style.opacity = '0';
|
|
1324
|
+
setTimeout(function () {
|
|
1325
|
+
if (feedback.parentNode) {
|
|
1326
|
+
feedback.parentNode.removeChild(feedback);
|
|
1327
|
+
}
|
|
1328
|
+
}, 200);
|
|
1329
|
+
}, 2000);
|
|
1330
|
+
}
|
|
929
1331
|
}
|
|
930
|
-
})
|
|
1332
|
+
});
|
|
1333
|
+
// CONCATENATED MODULE: ./src/components/Menus/LinkBubbleMenu.vue?vue&type=script&lang=js
|
|
1334
|
+
/* harmony default export */ var Menus_LinkBubbleMenuvue_type_script_lang_js = (LinkBubbleMenuvue_type_script_lang_js);
|
|
1335
|
+
// EXTERNAL MODULE: ./src/components/Menus/LinkBubbleMenu.vue?vue&type=style&index=0&id=b9dcc6ea&prod&scoped=true&lang=css
|
|
1336
|
+
var LinkBubbleMenuvue_type_style_index_0_id_b9dcc6ea_prod_scoped_true_lang_css = __webpack_require__("532a");
|
|
1337
|
+
|
|
1338
|
+
// EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
|
|
1339
|
+
var componentNormalizer = __webpack_require__("2877");
|
|
1340
|
+
|
|
1341
|
+
// CONCATENATED MODULE: ./src/components/Menus/LinkBubbleMenu.vue
|
|
1342
|
+
|
|
1343
|
+
|
|
1344
|
+
|
|
1345
|
+
|
|
1346
|
+
|
|
1347
|
+
|
|
1348
|
+
/* normalize component */
|
|
1349
|
+
|
|
1350
|
+
var component = Object(componentNormalizer["a" /* default */])(
|
|
1351
|
+
Menus_LinkBubbleMenuvue_type_script_lang_js,
|
|
1352
|
+
render,
|
|
1353
|
+
staticRenderFns,
|
|
1354
|
+
false,
|
|
1355
|
+
null,
|
|
1356
|
+
"b9dcc6ea",
|
|
1357
|
+
null
|
|
1358
|
+
|
|
1359
|
+
)
|
|
1360
|
+
|
|
1361
|
+
/* harmony default export */ var LinkBubbleMenu = __webpack_exports__["a"] = (component.exports);
|
|
931
1362
|
|
|
932
1363
|
/***/ }),
|
|
933
1364
|
|
|
934
|
-
/***/ "
|
|
1365
|
+
/***/ "2196":
|
|
935
1366
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
936
1367
|
|
|
937
1368
|
"use strict";
|
|
938
|
-
/* harmony import */ var
|
|
939
|
-
/* harmony import */ var
|
|
1369
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_TableBubbleMenu_vue_vue_type_style_index_0_id_12a75bc7_prod_scoped_true_lang_css__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("0bfc");
|
|
1370
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_TableBubbleMenu_vue_vue_type_style_index_0_id_12a75bc7_prod_scoped_true_lang_css__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_TableBubbleMenu_vue_vue_type_style_index_0_id_12a75bc7_prod_scoped_true_lang_css__WEBPACK_IMPORTED_MODULE_0__);
|
|
940
1371
|
/* unused harmony reexport * */
|
|
941
1372
|
|
|
942
1373
|
|
|
@@ -954,12 +1385,12 @@ function _objectWithoutPropertiesLoose(r, e) {
|
|
|
954
1385
|
|
|
955
1386
|
"use strict";
|
|
956
1387
|
|
|
957
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"1a638e0e-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/Modals/VideoModal.vue?vue&type=template&id=
|
|
958
|
-
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.visible)?_c('div',{staticClass:"bbl-upload-modal-overlay",on:{"click":_vm.handleOverlayClick}},[_c('div',{staticClass:"bbl-upload-modal",on:{"click":function($event){$event.stopPropagation();}}},[_c('div',{staticClass:"bbl-modal-header"},[_c('h3',[_vm._v("Insert Video")]),_c('button',{staticClass:"close-btn",on:{"click":_vm.close}},[_vm._v("×")])]),_c('div',{staticClass:"bbl-modal-body"},[(_vm.activeTab === 'url')?_c('div',{staticClass:"bbl-tab-content"},[_c('input',{directives:[{name:"model",rawName:"v-model",value:(_vm.videoUrl),expression:"videoUrl"}],staticClass:"url-input",attrs:{"type":"url","placeholder":"https://youtube.com/watch?v=... or video file URL"},domProps:{"value":(_vm.videoUrl)},on:{"input":function($event){if($event.target.composing){ return; }_vm.videoUrl=$event.target.value}}}),_c('div',{staticClass:"url-help"},[_vm._v("Supports: YouTube, Vimeo, or direct video links (MP4, WebM)")])]):_vm._e(),(_vm.activeTab === 'upload')?_c('div',{staticClass:"bbl-tab-content"},[(!_vm.previewUrl)?_c('div',{staticClass:"drop-zone",class:{ 'drag-over': _vm.isDragOver },on:{"click":function($event){return _vm.$refs.fileInput.click()},"dragover":function($event){$event.preventDefault();_vm.isDragOver = true},"dragleave":function($event){_vm.isDragOver = false},"drop":function($event){$event.preventDefault();return _vm.handleDrop.apply(null, arguments)}}},[_c('div',{staticClass:"drop-zone-icon"},[_vm._v("🎥")]),_c('div',{staticClass:"drop-zone-title"},[_vm._v("Drop video here or click to browse")]),_c('div',{staticClass:"drop-zone-subtitle"},[_vm._v("Supports: MP4, WebM, MOV (max "+_vm._s(Math.round(_vm.maxFileSize / (1024 * 1024)))+"MB)")]),_c('input',{ref:"fileInput",staticStyle:{"display":"none"},attrs:{"type":"file","accept":"video/*"},on:{"change":_vm.handleFileSelect}})]):_c('div',{staticClass:"preview-container"},[_c('video',{staticClass:"preview-video",attrs:{"src":_vm.previewUrl,"controls":""}}),_c('div',{staticClass:"preview-info"},[_c('div',{staticClass:"preview-filename"},[_vm._v(_vm._s(_vm.selectedFile && _vm.selectedFile.name))]),_c('div',{staticClass:"preview-size"},[_vm._v(_vm._s(_vm.formatFileSize(_vm.selectedFile && _vm.selectedFile.size)))])]),(!_vm.isUploading && !_vm.uploadError && _vm.uploadedUrl)?_c('div',{staticClass:"upload-success"},[_vm.
|
|
959
|
-
var staticRenderFns = [
|
|
1388
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"1a638e0e-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/Modals/VideoModal.vue?vue&type=template&id=25f2dd7d&scoped=true
|
|
1389
|
+
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('transition',{attrs:{"name":"modal","appear":""}},[(_vm.visible)?_c('div',{staticClass:"bbl-upload-modal-overlay",on:{"click":_vm.handleOverlayClick}},[_c('transition',{attrs:{"name":"modal-content","appear":""}},[_c('div',{staticClass:"bbl-upload-modal",on:{"click":function($event){$event.stopPropagation();}}},[_c('div',{staticClass:"bbl-modal-header"},[_c('h3',[_vm._v("Insert Video")]),_c('button',{staticClass:"close-btn",on:{"click":_vm.close}},[_vm._v("×")])]),_c('div',{staticClass:"bbl-modal-body"},[(_vm.activeTab === 'url')?_c('div',{staticClass:"bbl-tab-content"},[_c('input',{directives:[{name:"model",rawName:"v-model",value:(_vm.videoUrl),expression:"videoUrl"}],staticClass:"url-input",attrs:{"type":"url","placeholder":"https://youtube.com/watch?v=... or video file URL"},domProps:{"value":(_vm.videoUrl)},on:{"input":function($event){if($event.target.composing){ return; }_vm.videoUrl=$event.target.value}}}),_c('div',{staticClass:"url-help"},[_vm._v("Supports: YouTube, Vimeo, or direct video links (MP4, WebM)")])]):_vm._e(),(_vm.activeTab === 'upload')?_c('div',{staticClass:"bbl-tab-content"},[(!_vm.previewUrl)?_c('div',{staticClass:"drop-zone",class:{ 'drag-over': _vm.isDragOver },on:{"click":function($event){return _vm.$refs.fileInput.click()},"dragover":function($event){$event.preventDefault();_vm.isDragOver = true},"dragleave":function($event){_vm.isDragOver = false},"drop":function($event){$event.preventDefault();return _vm.handleDrop.apply(null, arguments)}}},[_c('div',{staticClass:"drop-zone-icon"},[_vm._v("🎥")]),_c('div',{staticClass:"drop-zone-title"},[_vm._v("Drop video here or click to browse")]),_c('div',{staticClass:"drop-zone-subtitle"},[_vm._v("Supports: MP4, WebM, MOV (max "+_vm._s(Math.round(_vm.maxFileSize / (1024 * 1024)))+"MB)")]),_c('input',{ref:"fileInput",staticStyle:{"display":"none"},attrs:{"type":"file","accept":"video/*"},on:{"change":_vm.handleFileSelect}})]):_c('div',{staticClass:"preview-container"},[_c('video',{staticClass:"preview-video",attrs:{"src":_vm.previewUrl,"controls":""}}),_c('div',{staticClass:"preview-info"},[_c('div',{staticClass:"preview-filename"},[_vm._v(_vm._s(_vm.selectedFile && _vm.selectedFile.name))]),_c('div',{staticClass:"preview-size"},[_vm._v(_vm._s(_vm.formatFileSize(_vm.selectedFile && _vm.selectedFile.size)))])]),(!_vm.isUploading && !_vm.uploadError && _vm.uploadedUrl)?_c('div',{staticClass:"upload-success"},[_c('div',{staticClass:"success-message"},[_c('span',{staticClass:"success-icon"},[_vm._v("✅")]),_vm._v(" Upload complete! Ready to insert. ")])]):_vm._e(),(_vm.isUploading)?_c('div',{staticClass:"upload-progress"},[_c('div',{staticClass:"progress-bar"},[_c('div',{staticClass:"progress-fill",style:({ width: _vm.uploadProgress + '%' })})]),_c('div',{staticClass:"progress-text"},[_vm._v("Uploading... "+_vm._s(_vm.uploadProgress)+"%")])]):_vm._e(),(_vm.uploadError)?_c('div',{staticClass:"upload-error"},[_c('div',{staticClass:"error-message"},[_c('span',{staticClass:"error-icon"},[_vm._v("⚠️")]),_vm._v(" "+_vm._s(_vm.uploadError)+" ")]),_c('div',{staticClass:"error-actions"},[_c('button',{staticClass:"retry-btn",on:{"click":function($event){return _vm.retryUpload(_vm.selectedFile)}}},[_vm._v("Try Again")]),_c('button',{staticClass:"local-btn",on:{"click":_vm.insertLocalVideo}},[_vm._v("Use Local File")])])]):_vm._e(),(!_vm.isUploading && !_vm.uploadError)?_c('button',{staticClass:"change-btn",on:{"click":_vm.changeFile}},[_vm._v("Change Video")]):_vm._e()])]):_vm._e()]),_c('div',{staticClass:"bbl-modal-footer"},[_c('button',{staticClass:"cancel-btn",on:{"click":_vm.close}},[_vm._v("Cancel")]),_c('button',{staticClass:"insert-btn",attrs:{"disabled":_vm.isUploading || (_vm.activeTab === 'upload' && !_vm.selectedFile) || (_vm.activeTab === 'url' && !_vm.videoUrl.trim())},on:{"click":_vm.insertVideo}},[(_vm.isUploading)?_c('span',[_vm._v("Uploading...")]):_c('span',[_vm._v("Insert Video")])])])])])],1):_vm._e()])}
|
|
1390
|
+
var staticRenderFns = []
|
|
960
1391
|
|
|
961
1392
|
|
|
962
|
-
// CONCATENATED MODULE: ./src/components/Modals/VideoModal.vue?vue&type=template&id=
|
|
1393
|
+
// CONCATENATED MODULE: ./src/components/Modals/VideoModal.vue?vue&type=template&id=25f2dd7d&scoped=true
|
|
963
1394
|
|
|
964
1395
|
// EXTERNAL MODULE: ./src/mixins/uploadMixin.js
|
|
965
1396
|
var uploadMixin = __webpack_require__("d86d");
|
|
@@ -1214,6 +1645,10 @@ function _asyncToGenerator(n) {
|
|
|
1214
1645
|
//
|
|
1215
1646
|
//
|
|
1216
1647
|
//
|
|
1648
|
+
//
|
|
1649
|
+
//
|
|
1650
|
+
//
|
|
1651
|
+
//
|
|
1217
1652
|
|
|
1218
1653
|
|
|
1219
1654
|
/* harmony default export */ var VideoModalvue_type_script_lang_js = ({
|
|
@@ -1407,8 +1842,8 @@ function _asyncToGenerator(n) {
|
|
|
1407
1842
|
});
|
|
1408
1843
|
// CONCATENATED MODULE: ./src/components/Modals/VideoModal.vue?vue&type=script&lang=js
|
|
1409
1844
|
/* harmony default export */ var Modals_VideoModalvue_type_script_lang_js = (VideoModalvue_type_script_lang_js);
|
|
1410
|
-
// EXTERNAL MODULE: ./src/components/Modals/VideoModal.vue?vue&type=style&index=0&id=
|
|
1411
|
-
var
|
|
1845
|
+
// EXTERNAL MODULE: ./src/components/Modals/VideoModal.vue?vue&type=style&index=0&id=25f2dd7d&prod&scoped=true&lang=css
|
|
1846
|
+
var VideoModalvue_type_style_index_0_id_25f2dd7d_prod_scoped_true_lang_css = __webpack_require__("d5e3");
|
|
1412
1847
|
|
|
1413
1848
|
// EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
|
|
1414
1849
|
var componentNormalizer = __webpack_require__("2877");
|
|
@@ -1428,7 +1863,7 @@ var component = Object(componentNormalizer["a" /* default */])(
|
|
|
1428
1863
|
staticRenderFns,
|
|
1429
1864
|
false,
|
|
1430
1865
|
null,
|
|
1431
|
-
"
|
|
1866
|
+
"25f2dd7d",
|
|
1432
1867
|
null
|
|
1433
1868
|
|
|
1434
1869
|
)
|
|
@@ -1446,6 +1881,17 @@ var component = Object(componentNormalizer["a" /* default */])(
|
|
|
1446
1881
|
/* unused harmony reexport * */
|
|
1447
1882
|
|
|
1448
1883
|
|
|
1884
|
+
/***/ }),
|
|
1885
|
+
|
|
1886
|
+
/***/ "2725":
|
|
1887
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1888
|
+
|
|
1889
|
+
"use strict";
|
|
1890
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ImageModal_vue_vue_type_style_index_0_id_a6f3fcaa_prod_scoped_true_lang_css__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("5b6b");
|
|
1891
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ImageModal_vue_vue_type_style_index_0_id_a6f3fcaa_prod_scoped_true_lang_css__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_ImageModal_vue_vue_type_style_index_0_id_a6f3fcaa_prod_scoped_true_lang_css__WEBPACK_IMPORTED_MODULE_0__);
|
|
1892
|
+
/* unused harmony reexport * */
|
|
1893
|
+
|
|
1894
|
+
|
|
1449
1895
|
/***/ }),
|
|
1450
1896
|
|
|
1451
1897
|
/***/ "2877":
|
|
@@ -1558,15 +2004,15 @@ function normalizeComponent(
|
|
|
1558
2004
|
|
|
1559
2005
|
"use strict";
|
|
1560
2006
|
|
|
1561
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"1a638e0e-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/PremiumBblEditor.vue?vue&type=template&id=
|
|
2007
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"1a638e0e-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/PremiumBblEditor.vue?vue&type=template&id=aef207de&scoped=true
|
|
1562
2008
|
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"premium-editor-container",class:[
|
|
1563
2009
|
("theme-" + _vm.theme),
|
|
1564
2010
|
_vm.editorClass
|
|
1565
|
-
]},[(!_vm.isEditorReady && !_vm.editorError)?_c('div',{staticClass:"editor-loading"},[_c('div',{staticClass:"loading-spinner"}),_c('p',[_vm._v("Loading Premium Editor...")])]):_vm._e(),(_vm.editorError)?_c('div',{staticClass:"editor-error"},[_c('div',{staticClass:"error-icon"},[_vm._v("⚠️")]),_c('div',{staticClass:"error-content"},[_c('h3',[_vm._v("Editor Failed to Load")]),(_vm.missingDependencies.length > 0)?_c('div',{staticClass:"missing-deps"},[_vm._m(0),_c('ul',_vm._l((_vm.missingDependencies),function(dep){return _c('li',{key:dep},[_vm._v(_vm._s(dep))])}),0),_vm._m(1)]):_c('div',{staticClass:"generic-error"},[_c('p',[_vm._v(_vm._s(_vm.editorError))]),_c('p',[_vm._v("Please check the browser console for more details.")])]),_vm._m(2)])]):_vm._e(),_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.isEditorReady && !_vm.editorError),expression:"isEditorReady && !editorError"}],staticClass:"premium-editor-wrapper"},[(_vm.showToolbar)?_c('div',{staticClass:"premium-toolbar-container",class:_vm.toolbarClass},[(_vm.editor)?_c('ToolbarMain',{attrs:{"editor":_vm.editor,"config":_vm.toolbarConfig,"font-families":_vm.fontFamilies,"font-sizes":_vm.fontSizes,"line-heights":_vm.lineHeights,"allowed-headings":_vm.allowedHeadings,"source-code-mode":_vm.isSourceCodeMode},on:{"execute-command":_vm.executeCommand,"insert-link":_vm.openLinkModal,"insert-image":function($event){_vm.showImageModal = true},"insert-video":function($event){_vm.showVideoModal = true},"clear-formatting":_vm.clearFormatting,"toggle-source-code":_vm.toggleSourceCode}}):_c('div',{staticClass:"toolbar-loading"},[_c('div',{staticClass:"toolbar-loading-content"},[_c('div',{staticClass:"loading-spinner-small"}),_c('span',[_vm._v("Loading toolbar...")])])])],1):_vm._e(),_c('div',{staticClass:"premium-editor-content",class:_vm.contentClass,style:(_vm.contentStyles)},[_c('editor-content',{directives:[{name:"show",rawName:"v-show",value:(!_vm.isSourceCodeMode),expression:"!isSourceCodeMode"}],staticClass:"bbl-editor-area",style:(_vm.editorStyles),attrs:{"editor":_vm.editor}}),_c('textarea',{directives:[{name:"show",rawName:"v-show",value:(_vm.isSourceCodeMode),expression:"isSourceCodeMode"},{name:"model",rawName:"v-model",value:(_vm.sourceCode),expression:"sourceCode"}],staticClass:"source-code-editor",style:(_vm.editorStyles),attrs:{"spellcheck":_vm.spellcheck},domProps:{"value":(_vm.sourceCode)},on:{"input":[function($event){if($event.target.composing){ return; }_vm.sourceCode=$event.target.value},_vm.updateFromSourceCode]}})],1),(_vm.showBubbleMenu && _vm.editor)?_c('EditorBubbleMenu',{attrs:{"editor":_vm.editor,"config":_vm.toolbarConfig},on:{"execute-command":_vm.executeCommand}}):_vm._e(),(_vm.showTableBubbleMenu && _vm.editor)?_c('TableBubbleMenu',{attrs:{"editor":_vm.editor}}):_vm._e(),(_vm.showImageBubbleMenu && _vm.editor)?_c('ImageBubbleMenu',{attrs:{"editor":_vm.editor}}):_vm._e(),(_vm.showVideoBubbleMenu && _vm.editor)?_c('VideoBubbleMenu',{attrs:{"editor":_vm.editor}}):_vm._e()],1),_c('LinkModal',{attrs:{"visible":_vm.showLinkModal,"initial-text":_vm.linkModalData.text,"initial-url":_vm.linkModalData.url,"initial-target":_vm.linkModalData.target},on:{"close":function($event){_vm.showLinkModal = false},"insert":_vm.insertLink,"remove":_vm.removeLink}}),_c('ImageModal',{attrs:{"visible":_vm.showImageModal,"upload-handler":_vm.uploadHandler || _vm.defaultImageUpload,"upload-manager":_vm.uploadManager,"max-file-size":_vm.maxFileSize,"allowed-types":_vm.allowedImageTypes},on:{"close":function($event){_vm.showImageModal = false},"insert":_vm.insertImage}}),_c('VideoModal',{attrs:{"visible":_vm.showVideoModal,"upload-handler":_vm.uploadHandler || _vm.defaultVideoUpload,"upload-manager":_vm.uploadManager,"max-file-size":_vm.maxFileSize,"allowed-types":_vm.allowedVideoTypes},on:{"close":function($event){_vm.showVideoModal = false},"insert":_vm.insertVideo}})],1)}
|
|
2011
|
+
]},[(!_vm.isEditorReady && !_vm.editorError)?_c('div',{staticClass:"editor-loading"},[_c('div',{staticClass:"loading-spinner"}),_c('p',[_vm._v("Loading Premium Editor...")])]):_vm._e(),(_vm.editorError)?_c('div',{staticClass:"editor-error"},[_c('div',{staticClass:"error-icon"},[_vm._v("⚠️")]),_c('div',{staticClass:"error-content"},[_c('h3',[_vm._v("Editor Failed to Load")]),(_vm.missingDependencies.length > 0)?_c('div',{staticClass:"missing-deps"},[_vm._m(0),_c('ul',_vm._l((_vm.missingDependencies),function(dep){return _c('li',{key:dep},[_vm._v(_vm._s(dep))])}),0),_vm._m(1)]):_c('div',{staticClass:"generic-error"},[_c('p',[_vm._v(_vm._s(_vm.editorError))]),_c('p',[_vm._v("Please check the browser console for more details.")])]),_vm._m(2)])]):_vm._e(),_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.isEditorReady && !_vm.editorError),expression:"isEditorReady && !editorError"}],staticClass:"premium-editor-wrapper"},[(_vm.showToolbar)?_c('div',{staticClass:"premium-toolbar-container",class:_vm.toolbarClass},[(_vm.editor)?_c('ToolbarMain',{attrs:{"editor":_vm.editor,"config":_vm.toolbarConfig,"font-families":_vm.fontFamilies,"font-sizes":_vm.fontSizes,"line-heights":_vm.lineHeights,"allowed-headings":_vm.allowedHeadings,"source-code-mode":_vm.isSourceCodeMode},on:{"execute-command":_vm.executeCommand,"insert-link":_vm.openLinkModal,"insert-image":function($event){_vm.showImageModal = true},"insert-video":function($event){_vm.showVideoModal = true},"clear-formatting":_vm.clearFormatting,"toggle-source-code":_vm.toggleSourceCode}}):_c('div',{staticClass:"toolbar-loading"},[_c('div',{staticClass:"toolbar-loading-content"},[_c('div',{staticClass:"loading-spinner-small"}),_c('span',[_vm._v("Loading toolbar...")])])])],1):_vm._e(),_c('div',{staticClass:"premium-editor-content",class:_vm.contentClass,style:(_vm.contentStyles)},[_c('editor-content',{directives:[{name:"show",rawName:"v-show",value:(!_vm.isSourceCodeMode),expression:"!isSourceCodeMode"}],staticClass:"bbl-editor-area",style:(_vm.editorStyles),attrs:{"editor":_vm.editor}}),_c('textarea',{directives:[{name:"show",rawName:"v-show",value:(_vm.isSourceCodeMode),expression:"isSourceCodeMode"},{name:"model",rawName:"v-model",value:(_vm.sourceCode),expression:"sourceCode"}],staticClass:"source-code-editor",style:(_vm.editorStyles),attrs:{"spellcheck":_vm.spellcheck},domProps:{"value":(_vm.sourceCode)},on:{"input":[function($event){if($event.target.composing){ return; }_vm.sourceCode=$event.target.value},_vm.updateFromSourceCode]}})],1),(_vm.showBubbleMenu && _vm.editor)?_c('EditorBubbleMenu',{attrs:{"editor":_vm.editor,"config":_vm.toolbarConfig},on:{"execute-command":_vm.executeCommand,"insert-link":_vm.openLinkModal}}):_vm._e(),(_vm.showTableBubbleMenu && _vm.editor)?_c('TableBubbleMenu',{attrs:{"editor":_vm.editor}}):_vm._e(),(_vm.showImageBubbleMenu && _vm.editor)?_c('ImageBubbleMenu',{attrs:{"editor":_vm.editor}}):_vm._e(),(_vm.showLinkBubbleMenu && _vm.editor)?_c('LinkBubbleMenu',{attrs:{"editor":_vm.editor},on:{"edit-link":_vm.openLinkModal}}):_vm._e(),(_vm.showVideoBubbleMenu && _vm.editor)?_c('VideoBubbleMenu',{attrs:{"editor":_vm.editor}}):_vm._e()],1),_c('LinkModal',{attrs:{"visible":_vm.showLinkModal,"initial-text":_vm.linkModalData.text,"initial-url":_vm.linkModalData.url,"initial-target":_vm.linkModalData.target},on:{"close":function($event){_vm.showLinkModal = false},"insert":_vm.insertLink,"remove":_vm.removeLink}}),_c('ImageModal',{attrs:{"visible":_vm.showImageModal,"upload-handler":_vm.uploadHandler || _vm.defaultImageUpload,"upload-manager":_vm.uploadManager,"max-file-size":_vm.maxFileSize,"allowed-types":_vm.allowedImageTypes},on:{"close":function($event){_vm.showImageModal = false},"insert":_vm.insertImage}}),_c('VideoModal',{attrs:{"visible":_vm.showVideoModal,"upload-handler":_vm.uploadHandler || _vm.defaultVideoUpload,"upload-manager":_vm.uploadManager,"max-file-size":_vm.maxFileSize,"allowed-types":_vm.allowedVideoTypes},on:{"close":function($event){_vm.showVideoModal = false},"insert":_vm.insertVideo}})],1)}
|
|
1566
2012
|
var staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('p',[_c('strong',[_vm._v("Missing Dependencies:")])])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"install-command"},[_c('p',[_c('strong',[_vm._v("Quick Fix:")])]),_c('code',[_vm._v("npm install @vue/composition-api @tiptap/core @tiptap/vue-2 @tiptap/starter-kit @tiptap/extension-text-style @tiptap/extension-color @tiptap/extension-highlight @tiptap/extension-underline @tiptap/extension-text-align @tiptap/extension-link @tiptap/extension-font-family @tiptap/extension-code @tiptap/extension-code-block @tiptap/extension-table @tiptap/extension-table-row @tiptap/extension-table-cell @tiptap/extension-table-header @tiptap/extension-task-list @tiptap/extension-task-item @tiptap/extension-placeholder")])])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"help-links"},[_c('a',{attrs:{"href":"https://github.com/kazi-shahin/vue2-bbl-editor#quick-setup","target":"_blank"}},[_vm._v("📖 Setup Guide")]),_c('a',{attrs:{"href":"https://github.com/kazi-shahin/vue2-bbl-editor/blob/main/TROUBLESHOOTING.md","target":"_blank"}},[_vm._v("🔧 Troubleshooting")])])}]
|
|
1567
2013
|
|
|
1568
2014
|
|
|
1569
|
-
// CONCATENATED MODULE: ./src/components/PremiumBblEditor.vue?vue&type=template&id=
|
|
2015
|
+
// CONCATENATED MODULE: ./src/components/PremiumBblEditor.vue?vue&type=template&id=aef207de&scoped=true
|
|
1570
2016
|
|
|
1571
2017
|
// EXTERNAL MODULE: external "@tiptap/vue-2"
|
|
1572
2018
|
var vue_2_ = __webpack_require__("9637");
|
|
@@ -1586,6 +2032,9 @@ var TableBubbleMenu = __webpack_require__("521c");
|
|
|
1586
2032
|
// EXTERNAL MODULE: ./src/components/Menus/ImageBubbleMenu.vue + 4 modules
|
|
1587
2033
|
var ImageBubbleMenu = __webpack_require__("af21");
|
|
1588
2034
|
|
|
2035
|
+
// EXTERNAL MODULE: ./src/components/Menus/LinkBubbleMenu.vue + 4 modules
|
|
2036
|
+
var LinkBubbleMenu = __webpack_require__("215c");
|
|
2037
|
+
|
|
1589
2038
|
// EXTERNAL MODULE: ./src/components/Menus/VideoBubbleMenu.vue + 4 modules
|
|
1590
2039
|
var VideoBubbleMenu = __webpack_require__("85d2");
|
|
1591
2040
|
|
|
@@ -1762,6 +2211,14 @@ var tables = __webpack_require__("e6b9");
|
|
|
1762
2211
|
//
|
|
1763
2212
|
//
|
|
1764
2213
|
//
|
|
2214
|
+
//
|
|
2215
|
+
//
|
|
2216
|
+
//
|
|
2217
|
+
//
|
|
2218
|
+
//
|
|
2219
|
+
//
|
|
2220
|
+
//
|
|
2221
|
+
|
|
1765
2222
|
|
|
1766
2223
|
|
|
1767
2224
|
|
|
@@ -1786,6 +2243,7 @@ var tables = __webpack_require__("e6b9");
|
|
|
1786
2243
|
EditorBubbleMenu: BubbleMenu["a" /* default */],
|
|
1787
2244
|
TableBubbleMenu: TableBubbleMenu["a" /* default */],
|
|
1788
2245
|
ImageBubbleMenu: ImageBubbleMenu["a" /* default */],
|
|
2246
|
+
LinkBubbleMenu: LinkBubbleMenu["a" /* default */],
|
|
1789
2247
|
VideoBubbleMenu: VideoBubbleMenu["a" /* default */],
|
|
1790
2248
|
ImageModal: ImageModal["a" /* default */],
|
|
1791
2249
|
VideoModal: VideoModal["a" /* default */],
|
|
@@ -1845,6 +2303,10 @@ var tables = __webpack_require__("e6b9");
|
|
|
1845
2303
|
type: Boolean,
|
|
1846
2304
|
default: true
|
|
1847
2305
|
},
|
|
2306
|
+
showLinkBubbleMenu: {
|
|
2307
|
+
type: Boolean,
|
|
2308
|
+
default: true
|
|
2309
|
+
},
|
|
1848
2310
|
showVideoBubbleMenu: {
|
|
1849
2311
|
type: Boolean,
|
|
1850
2312
|
default: true
|
|
@@ -2590,8 +3052,8 @@ var tables = __webpack_require__("e6b9");
|
|
|
2590
3052
|
});
|
|
2591
3053
|
// CONCATENATED MODULE: ./src/components/PremiumBblEditor.vue?vue&type=script&lang=js
|
|
2592
3054
|
/* harmony default export */ var components_PremiumBblEditorvue_type_script_lang_js = (PremiumBblEditorvue_type_script_lang_js);
|
|
2593
|
-
// EXTERNAL MODULE: ./src/components/PremiumBblEditor.vue?vue&type=style&index=0&id=
|
|
2594
|
-
var
|
|
3055
|
+
// EXTERNAL MODULE: ./src/components/PremiumBblEditor.vue?vue&type=style&index=0&id=aef207de&prod&scoped=true&lang=css
|
|
3056
|
+
var PremiumBblEditorvue_type_style_index_0_id_aef207de_prod_scoped_true_lang_css = __webpack_require__("f17e");
|
|
2595
3057
|
|
|
2596
3058
|
// EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
|
|
2597
3059
|
var componentNormalizer = __webpack_require__("2877");
|
|
@@ -2611,7 +3073,7 @@ var component = Object(componentNormalizer["a" /* default */])(
|
|
|
2611
3073
|
staticRenderFns,
|
|
2612
3074
|
false,
|
|
2613
3075
|
null,
|
|
2614
|
-
"
|
|
3076
|
+
"aef207de",
|
|
2615
3077
|
null
|
|
2616
3078
|
|
|
2617
3079
|
)
|
|
@@ -2629,17 +3091,6 @@ var component = Object(componentNormalizer["a" /* default */])(
|
|
|
2629
3091
|
/* unused harmony reexport * */
|
|
2630
3092
|
|
|
2631
3093
|
|
|
2632
|
-
/***/ }),
|
|
2633
|
-
|
|
2634
|
-
/***/ "3990":
|
|
2635
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
2636
|
-
|
|
2637
|
-
"use strict";
|
|
2638
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_VideoModal_vue_vue_type_style_index_0_id_7d7d2578_prod_scoped_true_lang_css__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("014e");
|
|
2639
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_VideoModal_vue_vue_type_style_index_0_id_7d7d2578_prod_scoped_true_lang_css__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_VideoModal_vue_vue_type_style_index_0_id_7d7d2578_prod_scoped_true_lang_css__WEBPACK_IMPORTED_MODULE_0__);
|
|
2640
|
-
/* unused harmony reexport * */
|
|
2641
|
-
|
|
2642
|
-
|
|
2643
3094
|
/***/ }),
|
|
2644
3095
|
|
|
2645
3096
|
/***/ "3b9d":
|
|
@@ -3061,17 +3512,6 @@ module.exports = require("@tiptap/extension-table-header");
|
|
|
3061
3512
|
/* unused harmony reexport * */
|
|
3062
3513
|
|
|
3063
3514
|
|
|
3064
|
-
/***/ }),
|
|
3065
|
-
|
|
3066
|
-
/***/ "4ddd":
|
|
3067
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
3068
|
-
|
|
3069
|
-
"use strict";
|
|
3070
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_PremiumBblEditorOptionsAPI_vue_vue_type_style_index_0_id_cc6a3522_prod_scoped_true_lang_css__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("785c");
|
|
3071
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_PremiumBblEditorOptionsAPI_vue_vue_type_style_index_0_id_cc6a3522_prod_scoped_true_lang_css__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_PremiumBblEditorOptionsAPI_vue_vue_type_style_index_0_id_cc6a3522_prod_scoped_true_lang_css__WEBPACK_IMPORTED_MODULE_0__);
|
|
3072
|
-
/* unused harmony reexport * */
|
|
3073
|
-
|
|
3074
|
-
|
|
3075
3515
|
/***/ }),
|
|
3076
3516
|
|
|
3077
3517
|
/***/ "521c":
|
|
@@ -3079,12 +3519,12 @@ module.exports = require("@tiptap/extension-table-header");
|
|
|
3079
3519
|
|
|
3080
3520
|
"use strict";
|
|
3081
3521
|
|
|
3082
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"1a638e0e-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/Menus/TableBubbleMenu.vue?vue&type=template&id=
|
|
3083
|
-
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.editor)?_c('bubble-menu',{staticClass:"table-bubble-menu",attrs:{"editor":_vm.editor,"tippy-options":_vm.tippyOptions,"should-show":_vm.shouldShow}},[_c('div',{staticClass:"bubble-menu-content"},[_c('BubbleMenuDropdown',{attrs:{"items":_vm.rowItems,"direction":"top"},scopedSlots:_vm._u([{key:"trigger",fn:function(){return [_c('RowIcon',{attrs:{"width":20,"height":20}})]},proxy:true}],null,false,1514853362)}),_c('div',{staticClass:"bbl-menu-divider"}),_c('BubbleMenuDropdown',{attrs:{"items":_vm.columnItems,"direction":"top"},scopedSlots:_vm._u([{key:"trigger",fn:function(){return [_c('ColumnIcon',{attrs:{"width":20,"height":20}})]},proxy:true}],null,false,2749318126)}),_c('div',{staticClass:"bbl-menu-divider"}),_c('BubbleMenuDropdown',{attrs:{"items":_vm.cellItems,"direction":"top"},scopedSlots:_vm._u([{key:"trigger",fn:function(){return [_c('CellIcon',{attrs:{"width":18,"height":18}})]},proxy:true}],null,false,1604387166)}),_c('div',{staticClass:"bbl-menu-divider"}),_c('BubbleMenuDropdown',{attrs:{"items":_vm.alignmentItems,"direction":"top"},scopedSlots:_vm._u([{key:"trigger",fn:function(){return [_c('AlignIcon',{attrs:{"width":18,"height":18}})]},proxy:true}],null,false,1132556629)}),_c('div',{staticClass:"bbl-menu-divider"}),_c('div',{ref:"colorPicker",staticClass:"color-picker-wrapper"},[_c('button',{staticClass:"menu-btn",attrs:{"title":"Cell Background Color"},on:{"click":_vm.toggleColorPicker}},[_c('ColorPalette')],1),(_vm.showColorPicker)?_c('div',{staticClass:"color-picker-dropdown"},[_c('div',{staticClass:"color-section"},[_c('button',{staticClass:"color-action-button",attrs:{"type":"button"},on:{"click":function($event){return _vm.setCellBackground('')}}},[_c('span',{staticClass:"remove-icon"},[_vm._v("✕")]),_vm._v(" Clear Background ")])]),_c('div',{staticClass:"color-section"},[_c('div',{staticClass:"section-label"},[_vm._v("Background Colors")]),_c('div',{staticClass:"color-grid"},_vm._l((_vm.colorOptions),function(color){return _c('button',{key:color.value,staticClass:"color-option",style:({ backgroundColor: color.value }),attrs:{"title":color.name,"type":"button"},on:{"click":function($event){return _vm.setCellBackground(color.value)}}})}),0)]),_c('div',{staticClass:"color-section"},[_c('div',{staticClass:"section-label"},[_vm._v("Custom Color")]),_c('div',{staticClass:"custom-color-picker"},[_c('input',{directives:[{name:"model",rawName:"v-model",value:(_vm.customColor),expression:"customColor"}],staticClass:"color-input",attrs:{"type":"color"},domProps:{"value":(_vm.customColor)},on:{"change":_vm.applyCustomColor,"input":function($event){if($event.target.composing){ return; }_vm.customColor=$event.target.value}}}),_c('input',{directives:[{name:"model",rawName:"v-model",value:(_vm.customColor),expression:"customColor"}],staticClass:"color-text-input",attrs:{"type":"text","placeholder":"#ffffff","maxlength":"7"},domProps:{"value":(_vm.customColor)},on:{"keyup":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"enter",13,$event.key,"Enter")){ return null; }return _vm.applyCustomColor.apply(null, arguments)},"blur":_vm.validateCustomColor,"input":function($event){if($event.target.composing){ return; }_vm.customColor=$event.target.value}}})])])]):_vm._e()]),_c('div',{staticClass:"bbl-menu-divider"}),_c('button',{staticClass:"menu-btn delete-btn",attrs:{"title":"Delete Table"},on:{"click":_vm.deleteTable}},[_c('Delete')],1)],1)]):_vm._e()}
|
|
3522
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"1a638e0e-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/Menus/TableBubbleMenu.vue?vue&type=template&id=12a75bc7&scoped=true
|
|
3523
|
+
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.editor)?_c('bubble-menu',{staticClass:"table-bubble-menu",attrs:{"editor":_vm.editor,"tippy-options":_vm.tippyOptions,"should-show":_vm.shouldShow}},[_c('div',{staticClass:"bubble-menu-content"},[_c('BubbleMenuDropdown',{attrs:{"items":_vm.rowItems,"direction":"top"},scopedSlots:_vm._u([{key:"trigger",fn:function(){return [_c('RowIcon',{attrs:{"width":20,"height":20}})]},proxy:true}],null,false,1514853362)}),_c('div',{staticClass:"bbl-menu-divider"}),_c('BubbleMenuDropdown',{attrs:{"items":_vm.columnItems,"direction":"top"},scopedSlots:_vm._u([{key:"trigger",fn:function(){return [_c('ColumnIcon',{attrs:{"width":20,"height":20}})]},proxy:true}],null,false,2749318126)}),_c('div',{staticClass:"bbl-menu-divider"}),_c('BubbleMenuDropdown',{attrs:{"items":_vm.cellItems,"direction":"top"},scopedSlots:_vm._u([{key:"trigger",fn:function(){return [_c('CellIcon',{attrs:{"width":18,"height":18}})]},proxy:true}],null,false,1604387166)}),_c('div',{staticClass:"bbl-menu-divider"}),_c('BubbleMenuDropdown',{attrs:{"items":_vm.alignmentItems,"direction":"top"},scopedSlots:_vm._u([{key:"trigger",fn:function(){return [_c('AlignIcon',{attrs:{"width":18,"height":18}})]},proxy:true}],null,false,1132556629)}),_c('div',{staticClass:"bbl-menu-divider"}),_c('BubbleMenuDropdown',{attrs:{"items":_vm.verticalAlignmentItems,"direction":"top"},scopedSlots:_vm._u([{key:"trigger",fn:function(){return [_c(_vm.currentVerticalAlignmentIcon,{tag:"component",attrs:{"width":18,"height":18}})]},proxy:true}],null,false,1393754231)}),_c('div',{staticClass:"bbl-menu-divider"}),_c('div',{ref:"colorPicker",staticClass:"color-picker-wrapper"},[_c('button',{staticClass:"menu-btn",attrs:{"title":"Cell Background Color"},on:{"click":_vm.toggleColorPicker}},[_c('ColorPalette')],1),(_vm.showColorPicker)?_c('div',{staticClass:"color-picker-dropdown"},[_c('div',{staticClass:"color-section"},[_c('button',{staticClass:"color-action-button",attrs:{"type":"button"},on:{"click":function($event){return _vm.setCellBackground('')}}},[_c('span',{staticClass:"remove-icon"},[_vm._v("✕")]),_vm._v(" Clear Background ")])]),_c('div',{staticClass:"color-section"},[_c('div',{staticClass:"section-label"},[_vm._v("Background Colors")]),_c('div',{staticClass:"color-grid"},_vm._l((_vm.colorOptions),function(color){return _c('button',{key:color.value,staticClass:"color-option",style:({ backgroundColor: color.value }),attrs:{"title":color.name,"type":"button"},on:{"click":function($event){return _vm.setCellBackground(color.value)}}})}),0)]),_c('div',{staticClass:"color-section"},[_c('div',{staticClass:"section-label"},[_vm._v("Custom Color")]),_c('div',{staticClass:"custom-color-picker"},[_c('input',{directives:[{name:"model",rawName:"v-model",value:(_vm.customColor),expression:"customColor"}],staticClass:"color-input",attrs:{"type":"color"},domProps:{"value":(_vm.customColor)},on:{"change":_vm.applyCustomColor,"input":function($event){if($event.target.composing){ return; }_vm.customColor=$event.target.value}}}),_c('input',{directives:[{name:"model",rawName:"v-model",value:(_vm.customColor),expression:"customColor"}],staticClass:"color-text-input",attrs:{"type":"text","placeholder":"#ffffff","maxlength":"7"},domProps:{"value":(_vm.customColor)},on:{"keyup":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"enter",13,$event.key,"Enter")){ return null; }return _vm.applyCustomColor.apply(null, arguments)},"blur":_vm.validateCustomColor,"input":function($event){if($event.target.composing){ return; }_vm.customColor=$event.target.value}}})])])]):_vm._e()]),_c('div',{staticClass:"bbl-menu-divider"}),_c('button',{staticClass:"menu-btn delete-btn",attrs:{"title":"Delete Table"},on:{"click":_vm.deleteTable}},[_c('Delete')],1)],1)]):_vm._e()}
|
|
3084
3524
|
var staticRenderFns = []
|
|
3085
3525
|
|
|
3086
3526
|
|
|
3087
|
-
// CONCATENATED MODULE: ./src/components/Menus/TableBubbleMenu.vue?vue&type=template&id=
|
|
3527
|
+
// CONCATENATED MODULE: ./src/components/Menus/TableBubbleMenu.vue?vue&type=template&id=12a75bc7&scoped=true
|
|
3088
3528
|
|
|
3089
3529
|
// EXTERNAL MODULE: external "@tiptap/vue-2"
|
|
3090
3530
|
var vue_2_ = __webpack_require__("9637");
|
|
@@ -3092,7 +3532,7 @@ var vue_2_ = __webpack_require__("9637");
|
|
|
3092
3532
|
// EXTERNAL MODULE: ./src/components/Toolbar/BubbleMenuDropdown.vue + 4 modules
|
|
3093
3533
|
var BubbleMenuDropdown = __webpack_require__("690e");
|
|
3094
3534
|
|
|
3095
|
-
// EXTERNAL MODULE: ./src/components/svg/index.js +
|
|
3535
|
+
// EXTERNAL MODULE: ./src/components/svg/index.js + 207 modules
|
|
3096
3536
|
var svg = __webpack_require__("9f9d");
|
|
3097
3537
|
|
|
3098
3538
|
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/babel-loader/lib??ref--15!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/Menus/TableBubbleMenu.vue?vue&type=script&lang=js
|
|
@@ -3265,6 +3705,15 @@ function _toPrimitive(t, r) {
|
|
|
3265
3705
|
//
|
|
3266
3706
|
//
|
|
3267
3707
|
//
|
|
3708
|
+
//
|
|
3709
|
+
//
|
|
3710
|
+
//
|
|
3711
|
+
//
|
|
3712
|
+
//
|
|
3713
|
+
//
|
|
3714
|
+
//
|
|
3715
|
+
//
|
|
3716
|
+
//
|
|
3268
3717
|
|
|
3269
3718
|
|
|
3270
3719
|
|
|
@@ -3274,12 +3723,15 @@ function _toPrimitive(t, r) {
|
|
|
3274
3723
|
components: {
|
|
3275
3724
|
BubbleMenu: vue_2_["BubbleMenu"],
|
|
3276
3725
|
BubbleMenuDropdown: BubbleMenuDropdown["a" /* default */],
|
|
3277
|
-
Delete: svg["
|
|
3278
|
-
ColorPalette: svg["
|
|
3279
|
-
RowIcon: svg["
|
|
3280
|
-
ColumnIcon: svg["
|
|
3281
|
-
CellIcon: svg["
|
|
3282
|
-
AlignIcon: svg["
|
|
3726
|
+
Delete: svg["v" /* Delete */],
|
|
3727
|
+
ColorPalette: svg["s" /* ColorPalette */],
|
|
3728
|
+
RowIcon: svg["N" /* RowIcon */],
|
|
3729
|
+
ColumnIcon: svg["t" /* ColumnIcon */],
|
|
3730
|
+
CellIcon: svg["n" /* CellIcon */],
|
|
3731
|
+
AlignIcon: svg["d" /* AlignIcon */],
|
|
3732
|
+
AlignTop: svg["f" /* AlignTop */],
|
|
3733
|
+
AlignMiddle: svg["e" /* AlignMiddle */],
|
|
3734
|
+
AlignBottom: svg["c" /* AlignBottom */]
|
|
3283
3735
|
},
|
|
3284
3736
|
props: {
|
|
3285
3737
|
editor: {
|
|
@@ -3439,31 +3891,31 @@ function _toPrimitive(t, r) {
|
|
|
3439
3891
|
}
|
|
3440
3892
|
}, {
|
|
3441
3893
|
label: 'Insert Row Below',
|
|
3442
|
-
icon: svg["
|
|
3894
|
+
icon: svg["h" /* BelowRow */],
|
|
3443
3895
|
action: function action() {
|
|
3444
3896
|
return _this2.editor.chain().focus().addRowAfter().run();
|
|
3445
3897
|
}
|
|
3446
3898
|
}, {
|
|
3447
3899
|
label: 'Move Row Up',
|
|
3448
|
-
icon: svg["
|
|
3900
|
+
icon: svg["F" /* MoveUp */],
|
|
3449
3901
|
action: function action() {
|
|
3450
3902
|
return _this2.moveRowUp();
|
|
3451
3903
|
}
|
|
3452
3904
|
}, {
|
|
3453
3905
|
label: 'Move Row Down',
|
|
3454
|
-
icon: svg["
|
|
3906
|
+
icon: svg["E" /* MoveDown */],
|
|
3455
3907
|
action: function action() {
|
|
3456
3908
|
return _this2.moveRowDown();
|
|
3457
3909
|
}
|
|
3458
3910
|
}, {
|
|
3459
3911
|
label: 'Duplicate Row',
|
|
3460
|
-
icon: svg["
|
|
3912
|
+
icon: svg["w" /* Duplicate */],
|
|
3461
3913
|
action: function action() {
|
|
3462
3914
|
return _this2.duplicateRow();
|
|
3463
3915
|
}
|
|
3464
3916
|
}, {
|
|
3465
3917
|
label: 'Delete Row',
|
|
3466
|
-
icon: svg["
|
|
3918
|
+
icon: svg["v" /* Delete */],
|
|
3467
3919
|
action: function action() {
|
|
3468
3920
|
return _this2.editor.chain().focus().deleteRow().run();
|
|
3469
3921
|
}
|
|
@@ -3479,7 +3931,7 @@ function _toPrimitive(t, r) {
|
|
|
3479
3931
|
}
|
|
3480
3932
|
}, {
|
|
3481
3933
|
label: 'Insert Column Right',
|
|
3482
|
-
icon: svg["
|
|
3934
|
+
icon: svg["g" /* BelowColumn */],
|
|
3483
3935
|
action: function action() {
|
|
3484
3936
|
return _this3.editor.chain().focus().addColumnAfter().run();
|
|
3485
3937
|
}
|
|
@@ -3501,7 +3953,7 @@ function _toPrimitive(t, r) {
|
|
|
3501
3953
|
// },
|
|
3502
3954
|
{
|
|
3503
3955
|
label: 'Delete Column',
|
|
3504
|
-
icon: svg["
|
|
3956
|
+
icon: svg["v" /* Delete */],
|
|
3505
3957
|
action: function action() {
|
|
3506
3958
|
return _this3.editor.chain().focus().deleteColumn().run();
|
|
3507
3959
|
}
|
|
@@ -3511,14 +3963,14 @@ function _toPrimitive(t, r) {
|
|
|
3511
3963
|
var _this4 = this;
|
|
3512
3964
|
return [{
|
|
3513
3965
|
label: 'Merge Cells',
|
|
3514
|
-
icon: svg["
|
|
3966
|
+
icon: svg["D" /* MergeCells */],
|
|
3515
3967
|
action: function action() {
|
|
3516
3968
|
return _this4.editor.chain().focus().mergeCells().run();
|
|
3517
3969
|
},
|
|
3518
3970
|
disabled: !this.editor.can().mergeCells()
|
|
3519
3971
|
}, {
|
|
3520
3972
|
label: 'Split Cell',
|
|
3521
|
-
icon: svg["
|
|
3973
|
+
icon: svg["R" /* SplitCell */],
|
|
3522
3974
|
action: function action() {
|
|
3523
3975
|
return _this4.editor.chain().focus().splitCell().run();
|
|
3524
3976
|
},
|
|
@@ -3529,29 +3981,66 @@ function _toPrimitive(t, r) {
|
|
|
3529
3981
|
var _this5 = this;
|
|
3530
3982
|
return [{
|
|
3531
3983
|
label: 'Align Left',
|
|
3532
|
-
icon: svg["
|
|
3984
|
+
icon: svg["B" /* LeftAlign */],
|
|
3533
3985
|
action: function action() {
|
|
3534
3986
|
return _this5.setCellAlignment('left');
|
|
3535
3987
|
}
|
|
3536
3988
|
}, {
|
|
3537
3989
|
label: 'Align Center',
|
|
3538
|
-
icon: svg["
|
|
3990
|
+
icon: svg["o" /* CenterAlign */],
|
|
3539
3991
|
action: function action() {
|
|
3540
3992
|
return _this5.setCellAlignment('center');
|
|
3541
3993
|
}
|
|
3542
3994
|
}, {
|
|
3543
3995
|
label: 'Align Right',
|
|
3544
|
-
icon: svg["
|
|
3996
|
+
icon: svg["M" /* RightAlign */],
|
|
3545
3997
|
action: function action() {
|
|
3546
3998
|
return _this5.setCellAlignment('right');
|
|
3547
3999
|
}
|
|
3548
4000
|
}, {
|
|
3549
4001
|
label: 'Justify',
|
|
3550
|
-
icon: svg["
|
|
4002
|
+
icon: svg["A" /* JustifyAlign */],
|
|
3551
4003
|
action: function action() {
|
|
3552
4004
|
return _this5.setCellAlignment('justify');
|
|
3553
4005
|
}
|
|
3554
4006
|
}];
|
|
4007
|
+
},
|
|
4008
|
+
verticalAlignmentItems: function verticalAlignmentItems() {
|
|
4009
|
+
var _this6 = this;
|
|
4010
|
+
var currentAlignment = this.getCurrentVerticalAlignment();
|
|
4011
|
+
return [{
|
|
4012
|
+
label: 'Align Top',
|
|
4013
|
+
icon: svg["f" /* AlignTop */],
|
|
4014
|
+
action: function action() {
|
|
4015
|
+
return _this6.setCellVerticalAlignment('top');
|
|
4016
|
+
},
|
|
4017
|
+
active: currentAlignment === 'top'
|
|
4018
|
+
}, {
|
|
4019
|
+
label: 'Align Middle',
|
|
4020
|
+
icon: svg["e" /* AlignMiddle */],
|
|
4021
|
+
action: function action() {
|
|
4022
|
+
return _this6.setCellVerticalAlignment('middle');
|
|
4023
|
+
},
|
|
4024
|
+
active: currentAlignment === 'middle'
|
|
4025
|
+
}, {
|
|
4026
|
+
label: 'Align Bottom',
|
|
4027
|
+
icon: svg["c" /* AlignBottom */],
|
|
4028
|
+
action: function action() {
|
|
4029
|
+
return _this6.setCellVerticalAlignment('bottom');
|
|
4030
|
+
},
|
|
4031
|
+
active: currentAlignment === 'bottom'
|
|
4032
|
+
}];
|
|
4033
|
+
},
|
|
4034
|
+
currentVerticalAlignmentIcon: function currentVerticalAlignmentIcon() {
|
|
4035
|
+
var alignment = this.getCurrentVerticalAlignment();
|
|
4036
|
+
switch (alignment) {
|
|
4037
|
+
case 'top':
|
|
4038
|
+
return svg["f" /* AlignTop */];
|
|
4039
|
+
case 'bottom':
|
|
4040
|
+
return svg["c" /* AlignBottom */];
|
|
4041
|
+
default:
|
|
4042
|
+
return svg["e" /* AlignMiddle */];
|
|
4043
|
+
}
|
|
3555
4044
|
}
|
|
3556
4045
|
},
|
|
3557
4046
|
methods: {
|
|
@@ -3619,7 +4108,36 @@ function _toPrimitive(t, r) {
|
|
|
3619
4108
|
}
|
|
3620
4109
|
}
|
|
3621
4110
|
},
|
|
3622
|
-
|
|
4111
|
+
getCurrentVerticalAlignment: function getCurrentVerticalAlignment() {
|
|
4112
|
+
if (!this.editor) return 'middle';
|
|
4113
|
+
var state = this.editor.state;
|
|
4114
|
+
var selection = state.selection;
|
|
4115
|
+
var $anchor = selection.$anchor;
|
|
4116
|
+
var cellDepth = null;
|
|
4117
|
+
for (var d = $anchor.depth; d > 0; d--) {
|
|
4118
|
+
var node = $anchor.node(d);
|
|
4119
|
+
if (node.type.name === 'tableCell' || node.type.name === 'tableHeader') {
|
|
4120
|
+
cellDepth = d;
|
|
4121
|
+
break;
|
|
4122
|
+
}
|
|
4123
|
+
}
|
|
4124
|
+
if (cellDepth !== null) {
|
|
4125
|
+
var cellPos = $anchor.before(cellDepth);
|
|
4126
|
+
var cell = state.doc.nodeAt(cellPos);
|
|
4127
|
+
if (cell && cell.attrs && cell.attrs.style) {
|
|
4128
|
+
var style = cell.attrs.style;
|
|
4129
|
+
var verticalAlignMatch = style.match(/vertical-align:\s*([^;]+)/);
|
|
4130
|
+
if (verticalAlignMatch) {
|
|
4131
|
+
var alignment = verticalAlignMatch[1].trim();
|
|
4132
|
+
if (['top', 'middle', 'bottom'].includes(alignment)) {
|
|
4133
|
+
return alignment;
|
|
4134
|
+
}
|
|
4135
|
+
}
|
|
4136
|
+
}
|
|
4137
|
+
}
|
|
4138
|
+
return 'middle'; // Default to middle
|
|
4139
|
+
},
|
|
4140
|
+
setCellVerticalAlignment: function setCellVerticalAlignment(alignment) {
|
|
3623
4141
|
if (!this.editor) return;
|
|
3624
4142
|
var _this$editor2 = this.editor,
|
|
3625
4143
|
state = _this$editor2.state,
|
|
@@ -3634,6 +4152,40 @@ function _toPrimitive(t, r) {
|
|
|
3634
4152
|
break;
|
|
3635
4153
|
}
|
|
3636
4154
|
}
|
|
4155
|
+
if (cellDepth !== null) {
|
|
4156
|
+
var cellPos = $anchor.before(cellDepth);
|
|
4157
|
+
var cell = state.doc.nodeAt(cellPos);
|
|
4158
|
+
if (cell) {
|
|
4159
|
+
var tr = state.tr;
|
|
4160
|
+
var existingAttrs = cell.attrs || {};
|
|
4161
|
+
var existingStyle = existingAttrs.style || '';
|
|
4162
|
+
var cleanedStyle = existingStyle.split(';').filter(function (s) {
|
|
4163
|
+
return s.trim() && !s.trim().startsWith('vertical-align');
|
|
4164
|
+
}).join(';');
|
|
4165
|
+
var newStyle = cleanedStyle ? "".concat(cleanedStyle, "; vertical-align: ").concat(alignment) : "vertical-align: ".concat(alignment);
|
|
4166
|
+
tr.setNodeMarkup(cellPos, null, _objectSpread(_objectSpread({}, existingAttrs), {}, {
|
|
4167
|
+
style: newStyle
|
|
4168
|
+
}));
|
|
4169
|
+
view.dispatch(tr);
|
|
4170
|
+
this.editor.commands.focus();
|
|
4171
|
+
}
|
|
4172
|
+
}
|
|
4173
|
+
},
|
|
4174
|
+
setCellBackground: function setCellBackground(color) {
|
|
4175
|
+
if (!this.editor) return;
|
|
4176
|
+
var _this$editor3 = this.editor,
|
|
4177
|
+
state = _this$editor3.state,
|
|
4178
|
+
view = _this$editor3.view;
|
|
4179
|
+
var selection = state.selection;
|
|
4180
|
+
var $anchor = selection.$anchor;
|
|
4181
|
+
var cellDepth = null;
|
|
4182
|
+
for (var d = $anchor.depth; d > 0; d--) {
|
|
4183
|
+
var node = $anchor.node(d);
|
|
4184
|
+
if (node.type.name === 'tableCell' || node.type.name === 'tableHeader') {
|
|
4185
|
+
cellDepth = d;
|
|
4186
|
+
break;
|
|
4187
|
+
}
|
|
4188
|
+
}
|
|
3637
4189
|
if (cellDepth !== null) {
|
|
3638
4190
|
var cellPos = $anchor.before(cellDepth);
|
|
3639
4191
|
var cell = state.doc.nodeAt(cellPos);
|
|
@@ -3680,7 +4232,7 @@ function _toPrimitive(t, r) {
|
|
|
3680
4232
|
}
|
|
3681
4233
|
},
|
|
3682
4234
|
duplicateColumn: function duplicateColumn() {
|
|
3683
|
-
var
|
|
4235
|
+
var _this7 = this;
|
|
3684
4236
|
if (!this.editor) return;
|
|
3685
4237
|
var state = this.editor.state;
|
|
3686
4238
|
var selection = state.selection;
|
|
@@ -3812,7 +4364,7 @@ function _toPrimitive(t, r) {
|
|
|
3812
4364
|
} catch (error) {
|
|
3813
4365
|
console.error('Column duplication content restoration failed:', error);
|
|
3814
4366
|
}
|
|
3815
|
-
|
|
4367
|
+
_this7.editor.commands.focus();
|
|
3816
4368
|
}, 200);
|
|
3817
4369
|
}
|
|
3818
4370
|
},
|
|
@@ -3922,7 +4474,7 @@ function _toPrimitive(t, r) {
|
|
|
3922
4474
|
}
|
|
3923
4475
|
},
|
|
3924
4476
|
moveColumnLeft: function moveColumnLeft() {
|
|
3925
|
-
var
|
|
4477
|
+
var _this8 = this;
|
|
3926
4478
|
if (!this.editor) return;
|
|
3927
4479
|
|
|
3928
4480
|
// Simple approach: use built-in TipTap commands
|
|
@@ -3999,12 +4551,12 @@ function _toPrimitive(t, r) {
|
|
|
3999
4551
|
|
|
4000
4552
|
// Add column at previous position
|
|
4001
4553
|
setTimeout(function () {
|
|
4002
|
-
|
|
4554
|
+
_this8.editor.chain().focus().addColumnBefore().run();
|
|
4003
4555
|
|
|
4004
4556
|
// Populate with stored data
|
|
4005
4557
|
setTimeout(function () {
|
|
4006
4558
|
try {
|
|
4007
|
-
var newState =
|
|
4559
|
+
var newState = _this8.editor.state;
|
|
4008
4560
|
var tr = newState.tr;
|
|
4009
4561
|
var modified = false;
|
|
4010
4562
|
var newCellDepth = null;
|
|
@@ -4043,19 +4595,19 @@ function _toPrimitive(t, r) {
|
|
|
4043
4595
|
currentRowPos += row.nodeSize;
|
|
4044
4596
|
});
|
|
4045
4597
|
if (modified) {
|
|
4046
|
-
|
|
4598
|
+
_this8.editor.view.dispatch(tr);
|
|
4047
4599
|
}
|
|
4048
4600
|
}
|
|
4049
4601
|
} catch (error) {
|
|
4050
4602
|
console.warn('Column move failed:', error);
|
|
4051
4603
|
}
|
|
4052
|
-
|
|
4604
|
+
_this8.editor.commands.focus();
|
|
4053
4605
|
}, 50);
|
|
4054
4606
|
}, 50);
|
|
4055
4607
|
}
|
|
4056
4608
|
},
|
|
4057
4609
|
moveColumnRight: function moveColumnRight() {
|
|
4058
|
-
var
|
|
4610
|
+
var _this9 = this;
|
|
4059
4611
|
if (!this.editor) return;
|
|
4060
4612
|
|
|
4061
4613
|
// Simple approach: use built-in TipTap commands
|
|
@@ -4133,12 +4685,12 @@ function _toPrimitive(t, r) {
|
|
|
4133
4685
|
|
|
4134
4686
|
// Add column at next position
|
|
4135
4687
|
setTimeout(function () {
|
|
4136
|
-
|
|
4688
|
+
_this9.editor.chain().focus().addColumnAfter().run();
|
|
4137
4689
|
|
|
4138
4690
|
// Populate with stored data
|
|
4139
4691
|
setTimeout(function () {
|
|
4140
4692
|
try {
|
|
4141
|
-
var newState =
|
|
4693
|
+
var newState = _this9.editor.state;
|
|
4142
4694
|
var tr = newState.tr;
|
|
4143
4695
|
var modified = false;
|
|
4144
4696
|
var newCellDepth = null;
|
|
@@ -4177,13 +4729,13 @@ function _toPrimitive(t, r) {
|
|
|
4177
4729
|
currentRowPos += row.nodeSize;
|
|
4178
4730
|
});
|
|
4179
4731
|
if (modified) {
|
|
4180
|
-
|
|
4732
|
+
_this9.editor.view.dispatch(tr);
|
|
4181
4733
|
}
|
|
4182
4734
|
}
|
|
4183
4735
|
} catch (error) {
|
|
4184
4736
|
console.warn('Column move failed:', error);
|
|
4185
4737
|
}
|
|
4186
|
-
|
|
4738
|
+
_this9.editor.commands.focus();
|
|
4187
4739
|
}, 50);
|
|
4188
4740
|
}, 50);
|
|
4189
4741
|
}
|
|
@@ -4192,8 +4744,8 @@ function _toPrimitive(t, r) {
|
|
|
4192
4744
|
});
|
|
4193
4745
|
// CONCATENATED MODULE: ./src/components/Menus/TableBubbleMenu.vue?vue&type=script&lang=js
|
|
4194
4746
|
/* harmony default export */ var Menus_TableBubbleMenuvue_type_script_lang_js = (TableBubbleMenuvue_type_script_lang_js);
|
|
4195
|
-
// EXTERNAL MODULE: ./src/components/Menus/TableBubbleMenu.vue?vue&type=style&index=0&id=
|
|
4196
|
-
var
|
|
4747
|
+
// EXTERNAL MODULE: ./src/components/Menus/TableBubbleMenu.vue?vue&type=style&index=0&id=12a75bc7&prod&scoped=true&lang=css
|
|
4748
|
+
var TableBubbleMenuvue_type_style_index_0_id_12a75bc7_prod_scoped_true_lang_css = __webpack_require__("2196");
|
|
4197
4749
|
|
|
4198
4750
|
// EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
|
|
4199
4751
|
var componentNormalizer = __webpack_require__("2877");
|
|
@@ -4213,7 +4765,7 @@ var component = Object(componentNormalizer["a" /* default */])(
|
|
|
4213
4765
|
staticRenderFns,
|
|
4214
4766
|
false,
|
|
4215
4767
|
null,
|
|
4216
|
-
"
|
|
4768
|
+
"12a75bc7",
|
|
4217
4769
|
null
|
|
4218
4770
|
|
|
4219
4771
|
)
|
|
@@ -4229,10 +4781,14 @@ module.exports = require("@tiptap/extension-table");
|
|
|
4229
4781
|
|
|
4230
4782
|
/***/ }),
|
|
4231
4783
|
|
|
4232
|
-
/***/ "
|
|
4233
|
-
/***/ (function(module,
|
|
4784
|
+
/***/ "532a":
|
|
4785
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
4786
|
+
|
|
4787
|
+
"use strict";
|
|
4788
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_LinkBubbleMenu_vue_vue_type_style_index_0_id_b9dcc6ea_prod_scoped_true_lang_css__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("9c4e");
|
|
4789
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_LinkBubbleMenu_vue_vue_type_style_index_0_id_b9dcc6ea_prod_scoped_true_lang_css__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_LinkBubbleMenu_vue_vue_type_style_index_0_id_b9dcc6ea_prod_scoped_true_lang_css__WEBPACK_IMPORTED_MODULE_0__);
|
|
4790
|
+
/* unused harmony reexport * */
|
|
4234
4791
|
|
|
4235
|
-
// extracted by mini-css-extract-plugin
|
|
4236
4792
|
|
|
4237
4793
|
/***/ }),
|
|
4238
4794
|
|
|
@@ -4272,6 +4828,13 @@ module.exports = require("@tiptap/core");
|
|
|
4272
4828
|
|
|
4273
4829
|
/***/ }),
|
|
4274
4830
|
|
|
4831
|
+
/***/ "5b6b":
|
|
4832
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
4833
|
+
|
|
4834
|
+
// extracted by mini-css-extract-plugin
|
|
4835
|
+
|
|
4836
|
+
/***/ }),
|
|
4837
|
+
|
|
4275
4838
|
/***/ "5eb2":
|
|
4276
4839
|
/***/ (function(module, exports, __webpack_require__) {
|
|
4277
4840
|
|
|
@@ -4569,6 +5132,17 @@ var component = Object(componentNormalizer["a" /* default */])(
|
|
|
4569
5132
|
|
|
4570
5133
|
/* harmony default export */ var BubbleMenuDropdown = __webpack_exports__["a"] = (component.exports);
|
|
4571
5134
|
|
|
5135
|
+
/***/ }),
|
|
5136
|
+
|
|
5137
|
+
/***/ "693d":
|
|
5138
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
5139
|
+
|
|
5140
|
+
"use strict";
|
|
5141
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_PremiumBblEditorOptionsAPI_vue_vue_type_style_index_0_id_014f2470_prod_scoped_true_lang_css__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("8c62");
|
|
5142
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_PremiumBblEditorOptionsAPI_vue_vue_type_style_index_0_id_014f2470_prod_scoped_true_lang_css__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_PremiumBblEditorOptionsAPI_vue_vue_type_style_index_0_id_014f2470_prod_scoped_true_lang_css__WEBPACK_IMPORTED_MODULE_0__);
|
|
5143
|
+
/* unused harmony reexport * */
|
|
5144
|
+
|
|
5145
|
+
|
|
4572
5146
|
/***/ }),
|
|
4573
5147
|
|
|
4574
5148
|
/***/ "696f":
|
|
@@ -10307,24 +10881,17 @@ module.exports = require("@tiptap/extension-font-family");
|
|
|
10307
10881
|
|
|
10308
10882
|
/***/ }),
|
|
10309
10883
|
|
|
10310
|
-
/***/ "785c":
|
|
10311
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
10312
|
-
|
|
10313
|
-
// extracted by mini-css-extract-plugin
|
|
10314
|
-
|
|
10315
|
-
/***/ }),
|
|
10316
|
-
|
|
10317
10884
|
/***/ "7a7e":
|
|
10318
10885
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
10319
10886
|
|
|
10320
10887
|
"use strict";
|
|
10321
10888
|
|
|
10322
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"1a638e0e-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/Menus/BubbleMenu.vue?vue&type=template&id=
|
|
10889
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"1a638e0e-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/Menus/BubbleMenu.vue?vue&type=template&id=6bbf66c1&scoped=true
|
|
10323
10890
|
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.editor)?_c('bubble-menu',{staticClass:"bubble-menu",attrs:{"editor":_vm.editor,"tippy-options":{ duration: 100 }}},[_c('div',{staticClass:"bubble-menu-content"},[_c('button',{staticClass:"bubble-btn",class:{ active: _vm.isActive('bold') },attrs:{"title":"Bold"},on:{"click":function($event){return _vm.executeCommand('toggleBold')}}},[_c('strong',[_vm._v("B")])]),_c('button',{staticClass:"bubble-btn",class:{ active: _vm.isActive('italic') },attrs:{"title":"Italic"},on:{"click":function($event){return _vm.executeCommand('toggleItalic')}}},[_c('em',[_vm._v("I")])]),_c('button',{staticClass:"bubble-btn",class:{ active: _vm.isActive('underline') },attrs:{"title":"Underline"},on:{"click":function($event){return _vm.executeCommand('toggleUnderline')}}},[_c('u',[_vm._v("U")])]),_c('div',{staticClass:"bubble-separator"}),_c('button',{staticClass:"bubble-btn",class:{ active: _vm.isActive('link') },attrs:{"title":"Link"},on:{"click":_vm.setLink}},[_vm._v(" 🔗 ")]),_c('button',{staticClass:"bubble-btn",class:{ active: _vm.isActive('code') },attrs:{"title":"Code"},on:{"click":function($event){return _vm.executeCommand('toggleCode')}}},[_vm._v(" </> ")])])]):_vm._e()}
|
|
10324
10891
|
var staticRenderFns = []
|
|
10325
10892
|
|
|
10326
10893
|
|
|
10327
|
-
// CONCATENATED MODULE: ./src/components/Menus/BubbleMenu.vue?vue&type=template&id=
|
|
10894
|
+
// CONCATENATED MODULE: ./src/components/Menus/BubbleMenu.vue?vue&type=template&id=6bbf66c1&scoped=true
|
|
10328
10895
|
|
|
10329
10896
|
// EXTERNAL MODULE: external "@tiptap/vue-2"
|
|
10330
10897
|
var vue_2_ = __webpack_require__("9637");
|
|
@@ -10407,25 +10974,14 @@ var vue_2_ = __webpack_require__("9637");
|
|
|
10407
10974
|
return this.editor.isActive(name, attributes);
|
|
10408
10975
|
},
|
|
10409
10976
|
setLink: function setLink() {
|
|
10410
|
-
|
|
10411
|
-
var url = window.prompt('URL', previousUrl);
|
|
10412
|
-
if (url === null) {
|
|
10413
|
-
return;
|
|
10414
|
-
}
|
|
10415
|
-
if (url === '') {
|
|
10416
|
-
this.editor.chain().focus().extendMarkRange('link').unsetLink().run();
|
|
10417
|
-
return;
|
|
10418
|
-
}
|
|
10419
|
-
this.editor.chain().focus().extendMarkRange('link').setLink({
|
|
10420
|
-
href: url
|
|
10421
|
-
}).run();
|
|
10977
|
+
this.$emit('insert-link');
|
|
10422
10978
|
}
|
|
10423
10979
|
}
|
|
10424
10980
|
});
|
|
10425
10981
|
// CONCATENATED MODULE: ./src/components/Menus/BubbleMenu.vue?vue&type=script&lang=js
|
|
10426
10982
|
/* harmony default export */ var Menus_BubbleMenuvue_type_script_lang_js = (BubbleMenuvue_type_script_lang_js);
|
|
10427
|
-
// EXTERNAL MODULE: ./src/components/Menus/BubbleMenu.vue?vue&type=style&index=0&id=
|
|
10428
|
-
var
|
|
10983
|
+
// EXTERNAL MODULE: ./src/components/Menus/BubbleMenu.vue?vue&type=style&index=0&id=6bbf66c1&prod&scoped=true&lang=css
|
|
10984
|
+
var BubbleMenuvue_type_style_index_0_id_6bbf66c1_prod_scoped_true_lang_css = __webpack_require__("9a90");
|
|
10429
10985
|
|
|
10430
10986
|
// EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
|
|
10431
10987
|
var componentNormalizer = __webpack_require__("2877");
|
|
@@ -10445,7 +11001,7 @@ var component = Object(componentNormalizer["a" /* default */])(
|
|
|
10445
11001
|
staticRenderFns,
|
|
10446
11002
|
false,
|
|
10447
11003
|
null,
|
|
10448
|
-
"
|
|
11004
|
+
"6bbf66c1",
|
|
10449
11005
|
null
|
|
10450
11006
|
|
|
10451
11007
|
)
|
|
@@ -20831,7 +21387,7 @@ var staticRenderFns = []
|
|
|
20831
21387
|
|
|
20832
21388
|
// CONCATENATED MODULE: ./src/components/Menus/VideoBubbleMenu.vue?vue&type=template&id=3c88fea6&scoped=true
|
|
20833
21389
|
|
|
20834
|
-
// EXTERNAL MODULE: ./src/components/svg/index.js +
|
|
21390
|
+
// EXTERNAL MODULE: ./src/components/svg/index.js + 207 modules
|
|
20835
21391
|
var svg = __webpack_require__("9f9d");
|
|
20836
21392
|
|
|
20837
21393
|
// EXTERNAL MODULE: ./src/components/Toolbar/BubbleMenuDropdown.vue + 4 modules
|
|
@@ -20910,18 +21466,18 @@ var BubbleMenuDropdown = __webpack_require__("690e");
|
|
|
20910
21466
|
/* harmony default export */ var VideoBubbleMenuvue_type_script_lang_js = ({
|
|
20911
21467
|
name: 'VideoBubbleMenu',
|
|
20912
21468
|
components: {
|
|
20913
|
-
LeftAlign: svg["
|
|
20914
|
-
CenterAlign: svg["
|
|
20915
|
-
RightAlign: svg["
|
|
20916
|
-
BlockDisplay: svg["
|
|
20917
|
-
InlineDisplay: svg["
|
|
20918
|
-
CaptionTop: svg["
|
|
20919
|
-
CaptionBottom: svg["
|
|
20920
|
-
NoCaption: svg["
|
|
20921
|
-
Delete: svg["
|
|
20922
|
-
SpacingSmall: svg["
|
|
20923
|
-
SpacingMedium: svg["
|
|
20924
|
-
SpacingLarge: svg["
|
|
21469
|
+
LeftAlign: svg["B" /* LeftAlign */],
|
|
21470
|
+
CenterAlign: svg["o" /* CenterAlign */],
|
|
21471
|
+
RightAlign: svg["M" /* RightAlign */],
|
|
21472
|
+
BlockDisplay: svg["i" /* BlockDisplay */],
|
|
21473
|
+
InlineDisplay: svg["z" /* InlineDisplay */],
|
|
21474
|
+
CaptionTop: svg["m" /* CaptionTop */],
|
|
21475
|
+
CaptionBottom: svg["l" /* CaptionBottom */],
|
|
21476
|
+
NoCaption: svg["I" /* NoCaption */],
|
|
21477
|
+
Delete: svg["v" /* Delete */],
|
|
21478
|
+
SpacingSmall: svg["Q" /* SpacingSmall */],
|
|
21479
|
+
SpacingMedium: svg["P" /* SpacingMedium */],
|
|
21480
|
+
SpacingLarge: svg["O" /* SpacingLarge */],
|
|
20925
21481
|
BubbleMenuDropdown: BubbleMenuDropdown["a" /* default */]
|
|
20926
21482
|
},
|
|
20927
21483
|
props: {
|
|
@@ -20964,35 +21520,35 @@ var BubbleMenuDropdown = __webpack_require__("690e");
|
|
|
20964
21520
|
},
|
|
20965
21521
|
currentAlignIcon: function currentAlignIcon() {
|
|
20966
21522
|
var align = this.editor.getAttributes('resizableVideo').align || 'left';
|
|
20967
|
-
return align === 'center' ? svg["
|
|
21523
|
+
return align === 'center' ? svg["o" /* CenterAlign */] : align === 'right' ? svg["M" /* RightAlign */] : svg["B" /* LeftAlign */];
|
|
20968
21524
|
},
|
|
20969
21525
|
currentSpacingIcon: function currentSpacingIcon() {
|
|
20970
21526
|
var spacing = this.editor.getAttributes('resizableVideo').spacing || 'medium';
|
|
20971
|
-
return spacing === 'small' ? svg["
|
|
21527
|
+
return spacing === 'small' ? svg["Q" /* SpacingSmall */] : spacing === 'large' ? svg["O" /* SpacingLarge */] : svg["P" /* SpacingMedium */];
|
|
20972
21528
|
},
|
|
20973
21529
|
currentCaptionIcon: function currentCaptionIcon() {
|
|
20974
21530
|
var position = this.editor.getAttributes('resizableVideo').captionPosition || 'none';
|
|
20975
|
-
return position === 'top' ? svg["
|
|
21531
|
+
return position === 'top' ? svg["m" /* CaptionTop */] : position === 'bottom' ? svg["l" /* CaptionBottom */] : svg["I" /* NoCaption */];
|
|
20976
21532
|
},
|
|
20977
21533
|
alignmentItems: function alignmentItems() {
|
|
20978
21534
|
var _this = this;
|
|
20979
21535
|
return [{
|
|
20980
21536
|
label: 'Align Left',
|
|
20981
|
-
icon: svg["
|
|
21537
|
+
icon: svg["B" /* LeftAlign */],
|
|
20982
21538
|
action: function action() {
|
|
20983
21539
|
return _this.setAlign('left');
|
|
20984
21540
|
},
|
|
20985
21541
|
active: this.isAlign('left')
|
|
20986
21542
|
}, {
|
|
20987
21543
|
label: 'Align Center',
|
|
20988
|
-
icon: svg["
|
|
21544
|
+
icon: svg["o" /* CenterAlign */],
|
|
20989
21545
|
action: function action() {
|
|
20990
21546
|
return _this.setAlign('center');
|
|
20991
21547
|
},
|
|
20992
21548
|
active: this.isAlign('center')
|
|
20993
21549
|
}, {
|
|
20994
21550
|
label: 'Align Right',
|
|
20995
|
-
icon: svg["
|
|
21551
|
+
icon: svg["M" /* RightAlign */],
|
|
20996
21552
|
action: function action() {
|
|
20997
21553
|
return _this.setAlign('right');
|
|
20998
21554
|
},
|
|
@@ -21003,21 +21559,21 @@ var BubbleMenuDropdown = __webpack_require__("690e");
|
|
|
21003
21559
|
var _this2 = this;
|
|
21004
21560
|
return [{
|
|
21005
21561
|
label: 'Small Spacing',
|
|
21006
|
-
icon: svg["
|
|
21562
|
+
icon: svg["Q" /* SpacingSmall */],
|
|
21007
21563
|
action: function action() {
|
|
21008
21564
|
return _this2.setSpacing('small');
|
|
21009
21565
|
},
|
|
21010
21566
|
active: this.isSpacing('small')
|
|
21011
21567
|
}, {
|
|
21012
21568
|
label: 'Medium Spacing',
|
|
21013
|
-
icon: svg["
|
|
21569
|
+
icon: svg["P" /* SpacingMedium */],
|
|
21014
21570
|
action: function action() {
|
|
21015
21571
|
return _this2.setSpacing('medium');
|
|
21016
21572
|
},
|
|
21017
21573
|
active: this.isSpacing('medium')
|
|
21018
21574
|
}, {
|
|
21019
21575
|
label: 'Large Spacing',
|
|
21020
|
-
icon: svg["
|
|
21576
|
+
icon: svg["O" /* SpacingLarge */],
|
|
21021
21577
|
action: function action() {
|
|
21022
21578
|
return _this2.setSpacing('large');
|
|
21023
21579
|
},
|
|
@@ -21028,21 +21584,21 @@ var BubbleMenuDropdown = __webpack_require__("690e");
|
|
|
21028
21584
|
var _this3 = this;
|
|
21029
21585
|
return [{
|
|
21030
21586
|
label: 'No Caption',
|
|
21031
|
-
icon: svg["
|
|
21587
|
+
icon: svg["I" /* NoCaption */],
|
|
21032
21588
|
action: function action() {
|
|
21033
21589
|
return _this3.setCaptionPosition('none');
|
|
21034
21590
|
},
|
|
21035
21591
|
active: this.isCaptionPosition('none')
|
|
21036
21592
|
}, {
|
|
21037
21593
|
label: 'Caption Top',
|
|
21038
|
-
icon: svg["
|
|
21594
|
+
icon: svg["m" /* CaptionTop */],
|
|
21039
21595
|
action: function action() {
|
|
21040
21596
|
return _this3.setCaptionPosition('top');
|
|
21041
21597
|
},
|
|
21042
21598
|
active: this.isCaptionPosition('top')
|
|
21043
21599
|
}, {
|
|
21044
21600
|
label: 'Caption Bottom',
|
|
21045
|
-
icon: svg["
|
|
21601
|
+
icon: svg["l" /* CaptionBottom */],
|
|
21046
21602
|
action: function action() {
|
|
21047
21603
|
return _this3.setCaptionPosition('bottom');
|
|
21048
21604
|
},
|
|
@@ -21219,6 +21775,13 @@ module.exports = require("vue");
|
|
|
21219
21775
|
|
|
21220
21776
|
/***/ }),
|
|
21221
21777
|
|
|
21778
|
+
/***/ "8c62":
|
|
21779
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
21780
|
+
|
|
21781
|
+
// extracted by mini-css-extract-plugin
|
|
21782
|
+
|
|
21783
|
+
/***/ }),
|
|
21784
|
+
|
|
21222
21785
|
/***/ "8d48":
|
|
21223
21786
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
21224
21787
|
|
|
@@ -21410,24 +21973,35 @@ function _toPrimitive(t, r) {
|
|
|
21410
21973
|
|
|
21411
21974
|
/***/ }),
|
|
21412
21975
|
|
|
21413
|
-
/***/ "
|
|
21976
|
+
/***/ "9590":
|
|
21977
|
+
/***/ (function(module, exports) {
|
|
21978
|
+
|
|
21979
|
+
module.exports = require("@tiptap/extension-color");
|
|
21980
|
+
|
|
21981
|
+
/***/ }),
|
|
21982
|
+
|
|
21983
|
+
/***/ "9610":
|
|
21414
21984
|
/***/ (function(module, exports, __webpack_require__) {
|
|
21415
21985
|
|
|
21416
21986
|
// extracted by mini-css-extract-plugin
|
|
21417
21987
|
|
|
21418
21988
|
/***/ }),
|
|
21419
21989
|
|
|
21420
|
-
/***/ "
|
|
21990
|
+
/***/ "9637":
|
|
21421
21991
|
/***/ (function(module, exports) {
|
|
21422
21992
|
|
|
21423
|
-
module.exports = require("@tiptap/
|
|
21993
|
+
module.exports = require("@tiptap/vue-2");
|
|
21424
21994
|
|
|
21425
21995
|
/***/ }),
|
|
21426
21996
|
|
|
21427
|
-
/***/ "
|
|
21428
|
-
/***/ (function(module,
|
|
21997
|
+
/***/ "9a90":
|
|
21998
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
21999
|
+
|
|
22000
|
+
"use strict";
|
|
22001
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_BubbleMenu_vue_vue_type_style_index_0_id_6bbf66c1_prod_scoped_true_lang_css__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("a0bc");
|
|
22002
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_BubbleMenu_vue_vue_type_style_index_0_id_6bbf66c1_prod_scoped_true_lang_css__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_BubbleMenu_vue_vue_type_style_index_0_id_6bbf66c1_prod_scoped_true_lang_css__WEBPACK_IMPORTED_MODULE_0__);
|
|
22003
|
+
/* unused harmony reexport * */
|
|
21429
22004
|
|
|
21430
|
-
module.exports = require("@tiptap/vue-2");
|
|
21431
22005
|
|
|
21432
22006
|
/***/ }),
|
|
21433
22007
|
|
|
@@ -21438,6 +22012,13 @@ module.exports = require("@tiptap/extension-table-cell");
|
|
|
21438
22012
|
|
|
21439
22013
|
/***/ }),
|
|
21440
22014
|
|
|
22015
|
+
/***/ "9c4e":
|
|
22016
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
22017
|
+
|
|
22018
|
+
// extracted by mini-css-extract-plugin
|
|
22019
|
+
|
|
22020
|
+
/***/ }),
|
|
22021
|
+
|
|
21441
22022
|
/***/ "9d3b":
|
|
21442
22023
|
/***/ (function(module, exports) {
|
|
21443
22024
|
|
|
@@ -21451,45 +22032,52 @@ module.exports = require("@tiptap/extension-task-item");
|
|
|
21451
22032
|
"use strict";
|
|
21452
22033
|
|
|
21453
22034
|
// EXPORTS
|
|
21454
|
-
__webpack_require__.d(__webpack_exports__, "
|
|
21455
|
-
__webpack_require__.d(__webpack_exports__, "
|
|
21456
|
-
__webpack_require__.d(__webpack_exports__, "
|
|
21457
|
-
__webpack_require__.d(__webpack_exports__, "
|
|
21458
|
-
__webpack_require__.d(__webpack_exports__, "
|
|
21459
|
-
__webpack_require__.d(__webpack_exports__, "
|
|
21460
|
-
__webpack_require__.d(__webpack_exports__, "
|
|
21461
|
-
__webpack_require__.d(__webpack_exports__, "
|
|
21462
|
-
__webpack_require__.d(__webpack_exports__, "
|
|
21463
|
-
__webpack_require__.d(__webpack_exports__, "
|
|
21464
|
-
__webpack_require__.d(__webpack_exports__, "
|
|
21465
|
-
__webpack_require__.d(__webpack_exports__, "
|
|
21466
|
-
__webpack_require__.d(__webpack_exports__, "
|
|
21467
|
-
__webpack_require__.d(__webpack_exports__, "
|
|
21468
|
-
__webpack_require__.d(__webpack_exports__, "
|
|
21469
|
-
__webpack_require__.d(__webpack_exports__, "
|
|
21470
|
-
__webpack_require__.d(__webpack_exports__, "
|
|
21471
|
-
__webpack_require__.d(__webpack_exports__, "
|
|
21472
|
-
__webpack_require__.d(__webpack_exports__, "
|
|
21473
|
-
__webpack_require__.d(__webpack_exports__, "
|
|
21474
|
-
__webpack_require__.d(__webpack_exports__, "
|
|
21475
|
-
__webpack_require__.d(__webpack_exports__, "
|
|
21476
|
-
__webpack_require__.d(__webpack_exports__, "
|
|
22035
|
+
__webpack_require__.d(__webpack_exports__, "B", function() { return /* reexport */ LeftAlign; });
|
|
22036
|
+
__webpack_require__.d(__webpack_exports__, "M", function() { return /* reexport */ RightAlign; });
|
|
22037
|
+
__webpack_require__.d(__webpack_exports__, "o", function() { return /* reexport */ CenterAlign; });
|
|
22038
|
+
__webpack_require__.d(__webpack_exports__, "A", function() { return /* reexport */ JustifyAlign; });
|
|
22039
|
+
__webpack_require__.d(__webpack_exports__, "i", function() { return /* reexport */ BlockDisplay; });
|
|
22040
|
+
__webpack_require__.d(__webpack_exports__, "z", function() { return /* reexport */ InlineDisplay; });
|
|
22041
|
+
__webpack_require__.d(__webpack_exports__, "m", function() { return /* reexport */ CaptionTop; });
|
|
22042
|
+
__webpack_require__.d(__webpack_exports__, "l", function() { return /* reexport */ CaptionBottom; });
|
|
22043
|
+
__webpack_require__.d(__webpack_exports__, "I", function() { return /* reexport */ NoCaption; });
|
|
22044
|
+
__webpack_require__.d(__webpack_exports__, "v", function() { return /* reexport */ Delete; });
|
|
22045
|
+
__webpack_require__.d(__webpack_exports__, "Q", function() { return /* reexport */ SpacingSmall; });
|
|
22046
|
+
__webpack_require__.d(__webpack_exports__, "P", function() { return /* reexport */ SpacingMedium; });
|
|
22047
|
+
__webpack_require__.d(__webpack_exports__, "O", function() { return /* reexport */ SpacingLarge; });
|
|
22048
|
+
__webpack_require__.d(__webpack_exports__, "J", function() { return /* reexport */ NumberList; });
|
|
22049
|
+
__webpack_require__.d(__webpack_exports__, "k", function() { return /* reexport */ BulletList; });
|
|
22050
|
+
__webpack_require__.d(__webpack_exports__, "j", function() { return /* reexport */ BoxList; });
|
|
22051
|
+
__webpack_require__.d(__webpack_exports__, "C", function() { return /* reexport */ Link; });
|
|
22052
|
+
__webpack_require__.d(__webpack_exports__, "x", function() { return /* reexport */ Edit; });
|
|
22053
|
+
__webpack_require__.d(__webpack_exports__, "S", function() { return /* reexport */ Unlink; });
|
|
22054
|
+
__webpack_require__.d(__webpack_exports__, "G", function() { return /* reexport */ NewTab; });
|
|
22055
|
+
__webpack_require__.d(__webpack_exports__, "u", function() { return /* reexport */ Copy; });
|
|
22056
|
+
__webpack_require__.d(__webpack_exports__, "y", function() { return /* reexport */ ImageSvg; });
|
|
22057
|
+
__webpack_require__.d(__webpack_exports__, "T", function() { return /* reexport */ Video; });
|
|
22058
|
+
__webpack_require__.d(__webpack_exports__, "K", function() { return /* reexport */ Previous; });
|
|
22059
|
+
__webpack_require__.d(__webpack_exports__, "H", function() { return /* reexport */ Next; });
|
|
22060
|
+
__webpack_require__.d(__webpack_exports__, "L", function() { return /* reexport */ Quote; });
|
|
22061
|
+
__webpack_require__.d(__webpack_exports__, "q", function() { return /* reexport */ Code; });
|
|
21477
22062
|
__webpack_require__.d(__webpack_exports__, "b", function() { return /* reexport */ AboveRow; });
|
|
21478
|
-
__webpack_require__.d(__webpack_exports__, "
|
|
22063
|
+
__webpack_require__.d(__webpack_exports__, "h", function() { return /* reexport */ BelowRow; });
|
|
21479
22064
|
__webpack_require__.d(__webpack_exports__, "a", function() { return /* reexport */ AboveColumn; });
|
|
21480
|
-
__webpack_require__.d(__webpack_exports__, "
|
|
21481
|
-
__webpack_require__.d(__webpack_exports__, "
|
|
21482
|
-
__webpack_require__.d(__webpack_exports__, "
|
|
21483
|
-
__webpack_require__.d(__webpack_exports__, "
|
|
21484
|
-
__webpack_require__.d(__webpack_exports__, "
|
|
21485
|
-
__webpack_require__.d(__webpack_exports__, "
|
|
21486
|
-
__webpack_require__.d(__webpack_exports__, "
|
|
21487
|
-
__webpack_require__.d(__webpack_exports__, "
|
|
21488
|
-
__webpack_require__.d(__webpack_exports__, "
|
|
21489
|
-
__webpack_require__.d(__webpack_exports__, "
|
|
21490
|
-
__webpack_require__.d(__webpack_exports__, "
|
|
21491
|
-
__webpack_require__.d(__webpack_exports__, "
|
|
21492
|
-
__webpack_require__.d(__webpack_exports__, "
|
|
22065
|
+
__webpack_require__.d(__webpack_exports__, "g", function() { return /* reexport */ BelowColumn; });
|
|
22066
|
+
__webpack_require__.d(__webpack_exports__, "F", function() { return /* reexport */ MoveUp; });
|
|
22067
|
+
__webpack_require__.d(__webpack_exports__, "E", function() { return /* reexport */ MoveDown; });
|
|
22068
|
+
__webpack_require__.d(__webpack_exports__, "w", function() { return /* reexport */ Duplicate; });
|
|
22069
|
+
__webpack_require__.d(__webpack_exports__, "s", function() { return /* reexport */ ColorPalette; });
|
|
22070
|
+
__webpack_require__.d(__webpack_exports__, "p", function() { return /* reexport */ ClearFormatting; });
|
|
22071
|
+
__webpack_require__.d(__webpack_exports__, "r", function() { return /* reexport */ CodeBlock; });
|
|
22072
|
+
__webpack_require__.d(__webpack_exports__, "N", function() { return /* reexport */ RowIcon; });
|
|
22073
|
+
__webpack_require__.d(__webpack_exports__, "t", function() { return /* reexport */ ColumnIcon; });
|
|
22074
|
+
__webpack_require__.d(__webpack_exports__, "n", function() { return /* reexport */ CellIcon; });
|
|
22075
|
+
__webpack_require__.d(__webpack_exports__, "d", function() { return /* reexport */ AlignIcon; });
|
|
22076
|
+
__webpack_require__.d(__webpack_exports__, "f", function() { return /* reexport */ AlignTop; });
|
|
22077
|
+
__webpack_require__.d(__webpack_exports__, "e", function() { return /* reexport */ AlignMiddle; });
|
|
22078
|
+
__webpack_require__.d(__webpack_exports__, "c", function() { return /* reexport */ AlignBottom; });
|
|
22079
|
+
__webpack_require__.d(__webpack_exports__, "D", function() { return /* reexport */ MergeCells; });
|
|
22080
|
+
__webpack_require__.d(__webpack_exports__, "R", function() { return /* reexport */ SplitCell; });
|
|
21493
22081
|
|
|
21494
22082
|
// UNUSED EXPORTS: Table, DeleteTable, MoveLeft, MoveRight
|
|
21495
22083
|
|
|
@@ -22157,6 +22745,110 @@ var Link_component = Object(componentNormalizer["a" /* default */])(
|
|
|
22157
22745
|
)
|
|
22158
22746
|
|
|
22159
22747
|
/* harmony default export */ var Link = (Link_component.exports);
|
|
22748
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"1a638e0e-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/svg/Edit.vue?vue&type=template&id=508824bc
|
|
22749
|
+
var Editvue_type_template_id_508824bc_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('svg',{attrs:{"fill":"none","viewBox":"0 0 16 16","role":"presentation"}},[_c('path',{attrs:{"fill":"currentcolor","fill-rule":"evenodd","d":"M11.586.854a2 2 0 0 1 2.828 0l.732.732a2 2 0 0 1 0 2.828L10.01 9.551a2 2 0 0 1-.864.51l-3.189.91a.75.75 0 0 1-.927-.927l.91-3.189a2 2 0 0 1 .51-.864zm1.768 1.06a.5.5 0 0 0-.708 0l-.585.586L13.5 3.94l.586-.586a.5.5 0 0 0 0-.708zM12.439 5 11 3.56 7.51 7.052a.5.5 0 0 0-.128.216l-.54 1.891 1.89-.54a.5.5 0 0 0 .217-.127zM3 2.501a.5.5 0 0 0-.5.5v10a.5.5 0 0 0 .5.5h10a.5.5 0 0 0 .5-.5V10H15v3.001a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2v-10a2 2 0 0 1 2-2h3v1.5z","clip-rule":"evenodd"}})])}
|
|
22750
|
+
var Editvue_type_template_id_508824bc_staticRenderFns = []
|
|
22751
|
+
|
|
22752
|
+
|
|
22753
|
+
// CONCATENATED MODULE: ./src/components/svg/Edit.vue?vue&type=template&id=508824bc
|
|
22754
|
+
|
|
22755
|
+
// CONCATENATED MODULE: ./src/components/svg/Edit.vue
|
|
22756
|
+
|
|
22757
|
+
var Edit_script = {}
|
|
22758
|
+
|
|
22759
|
+
|
|
22760
|
+
/* normalize component */
|
|
22761
|
+
|
|
22762
|
+
var Edit_component = Object(componentNormalizer["a" /* default */])(
|
|
22763
|
+
Edit_script,
|
|
22764
|
+
Editvue_type_template_id_508824bc_render,
|
|
22765
|
+
Editvue_type_template_id_508824bc_staticRenderFns,
|
|
22766
|
+
false,
|
|
22767
|
+
null,
|
|
22768
|
+
null,
|
|
22769
|
+
null
|
|
22770
|
+
|
|
22771
|
+
)
|
|
22772
|
+
|
|
22773
|
+
/* harmony default export */ var Edit = (Edit_component.exports);
|
|
22774
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"1a638e0e-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/svg/Unlink.vue?vue&type=template&id=243416c6
|
|
22775
|
+
var Unlinkvue_type_template_id_243416c6_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('svg',{attrs:{"fill":"none","viewBox":"-4 -4 24 24","role":"presentation"}},[_c('path',{attrs:{"fill":"currentcolor","fill-rule":"evenodd","d":"M6 1v3H4.5V1zm2.22 1.22a3.932 3.932 0 1 1 5.56 5.56l-.75.75-1.06-1.06.75-.75a2.432 2.432 0 0 0-3.44-3.44l-.75.75-1.06-1.06zM1 4.5h3V6H1zm1.22 3.72.75-.75 1.06 1.06-.75.75a2.432 2.432 0 0 0 3.44 3.44l.75-.75 1.06 1.06-.75.75a3.932 3.932 0 1 1-5.56-5.56M15 11.5h-3V10h3zM10 15v-3h1.5v3z","clip-rule":"evenodd"}})])}
|
|
22776
|
+
var Unlinkvue_type_template_id_243416c6_staticRenderFns = []
|
|
22777
|
+
|
|
22778
|
+
|
|
22779
|
+
// CONCATENATED MODULE: ./src/components/svg/Unlink.vue?vue&type=template&id=243416c6
|
|
22780
|
+
|
|
22781
|
+
// CONCATENATED MODULE: ./src/components/svg/Unlink.vue
|
|
22782
|
+
|
|
22783
|
+
var Unlink_script = {}
|
|
22784
|
+
|
|
22785
|
+
|
|
22786
|
+
/* normalize component */
|
|
22787
|
+
|
|
22788
|
+
var Unlink_component = Object(componentNormalizer["a" /* default */])(
|
|
22789
|
+
Unlink_script,
|
|
22790
|
+
Unlinkvue_type_template_id_243416c6_render,
|
|
22791
|
+
Unlinkvue_type_template_id_243416c6_staticRenderFns,
|
|
22792
|
+
false,
|
|
22793
|
+
null,
|
|
22794
|
+
null,
|
|
22795
|
+
null
|
|
22796
|
+
|
|
22797
|
+
)
|
|
22798
|
+
|
|
22799
|
+
/* harmony default export */ var Unlink = (Unlink_component.exports);
|
|
22800
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"1a638e0e-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/svg/NewTab.vue?vue&type=template&id=0c7f37a6
|
|
22801
|
+
var NewTabvue_type_template_id_0c7f37a6_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('svg',{attrs:{"width":"24","height":"24","focusable":"false","viewBox":"0 0 24 24"}},[_c('path',{attrs:{"d":"M19 19H5V5h7V3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2v-7h-2v7zM14 3v2h3.59l-9.83 9.83 1.41 1.41L19 6.41V10h2V3h-7z","fill":"currentColor"}})])}
|
|
22802
|
+
var NewTabvue_type_template_id_0c7f37a6_staticRenderFns = []
|
|
22803
|
+
|
|
22804
|
+
|
|
22805
|
+
// CONCATENATED MODULE: ./src/components/svg/NewTab.vue?vue&type=template&id=0c7f37a6
|
|
22806
|
+
|
|
22807
|
+
// CONCATENATED MODULE: ./src/components/svg/NewTab.vue
|
|
22808
|
+
|
|
22809
|
+
var NewTab_script = {}
|
|
22810
|
+
|
|
22811
|
+
|
|
22812
|
+
/* normalize component */
|
|
22813
|
+
|
|
22814
|
+
var NewTab_component = Object(componentNormalizer["a" /* default */])(
|
|
22815
|
+
NewTab_script,
|
|
22816
|
+
NewTabvue_type_template_id_0c7f37a6_render,
|
|
22817
|
+
NewTabvue_type_template_id_0c7f37a6_staticRenderFns,
|
|
22818
|
+
false,
|
|
22819
|
+
null,
|
|
22820
|
+
null,
|
|
22821
|
+
null
|
|
22822
|
+
|
|
22823
|
+
)
|
|
22824
|
+
|
|
22825
|
+
/* harmony default export */ var NewTab = (NewTab_component.exports);
|
|
22826
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"1a638e0e-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/svg/Copy.vue?vue&type=template&id=91be3a12
|
|
22827
|
+
var Copyvue_type_template_id_91be3a12_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('svg',{attrs:{"width":"24","height":"24","focusable":"false","viewBox":"0 0 24 24"}},[_c('path',{attrs:{"d":"M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12V1zm3 4H8c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h11c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm0 16H8V7h11v14z","fill":"currentColor"}})])}
|
|
22828
|
+
var Copyvue_type_template_id_91be3a12_staticRenderFns = []
|
|
22829
|
+
|
|
22830
|
+
|
|
22831
|
+
// CONCATENATED MODULE: ./src/components/svg/Copy.vue?vue&type=template&id=91be3a12
|
|
22832
|
+
|
|
22833
|
+
// CONCATENATED MODULE: ./src/components/svg/Copy.vue
|
|
22834
|
+
|
|
22835
|
+
var Copy_script = {}
|
|
22836
|
+
|
|
22837
|
+
|
|
22838
|
+
/* normalize component */
|
|
22839
|
+
|
|
22840
|
+
var Copy_component = Object(componentNormalizer["a" /* default */])(
|
|
22841
|
+
Copy_script,
|
|
22842
|
+
Copyvue_type_template_id_91be3a12_render,
|
|
22843
|
+
Copyvue_type_template_id_91be3a12_staticRenderFns,
|
|
22844
|
+
false,
|
|
22845
|
+
null,
|
|
22846
|
+
null,
|
|
22847
|
+
null
|
|
22848
|
+
|
|
22849
|
+
)
|
|
22850
|
+
|
|
22851
|
+
/* harmony default export */ var Copy = (Copy_component.exports);
|
|
22160
22852
|
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"1a638e0e-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/svg/ImageSvg.vue?vue&type=template&id=5a7279cf
|
|
22161
22853
|
var ImageSvgvue_type_template_id_5a7279cf_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('svg',{attrs:{"width":"24","height":"24","focusable":"false"}},[_c('path',{attrs:{"d":"m5 15.7 3.3-3.2c.3-.3.7-.3 1 0L12 15l4.1-4c.3-.4.8-.4 1 0l2 1.9V5H5v10.7ZM5 18V19h3l2.8-2.9-2-2L5 17.9Zm14-3-2.5-2.4-6.4 6.5H19v-4ZM4 3h16c.6 0 1 .4 1 1v16c0 .6-.4 1-1 1H4a1 1 0 0 1-1-1V4c0-.6.4-1 1-1Zm6 8a2 2 0 1 0 0-4 2 2 0 0 0 0 4Z","fill-rule":"nonzero"}})])}
|
|
22162
22854
|
var ImageSvgvue_type_template_id_5a7279cf_staticRenderFns = []
|
|
@@ -23030,6 +23722,150 @@ var AlignIcon_component = Object(componentNormalizer["a" /* default */])(
|
|
|
23030
23722
|
)
|
|
23031
23723
|
|
|
23032
23724
|
/* harmony default export */ var AlignIcon = (AlignIcon_component.exports);
|
|
23725
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"1a638e0e-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/svg/AlignTop.vue?vue&type=template&id=d52f1fa8
|
|
23726
|
+
var AlignTopvue_type_template_id_d52f1fa8_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('svg',{attrs:{"width":_vm.width,"height":_vm.height,"viewBox":"0 0 24 24","fill":"currentColor","xmlns":"http://www.w3.org/2000/svg"}},[_c('path',{attrs:{"d":"M2 4C2 3.44772 2.44772 3 3 3H21C21.5523 3 22 3.44772 22 4C22 4.55228 21.5523 5 21 5H3C2.44772 5 2 4.55228 2 4Z","fill":"currentColor"}}),_c('path',{attrs:{"d":"M13 10.4142L14.2929 11.7071C14.6834 12.0976 15.3166 12.0976 15.7071 11.7071C16.0976 11.3166 16.0976 10.6834 15.7071 10.2929L12.7071 7.29289C12.3166 6.90237 11.6834 6.90237 11.2929 7.29289L8.29289 10.2929C7.90237 10.6834 7.90237 11.3166 8.29289 11.7071C8.68342 12.0976 9.31658 12.0976 9.70711 11.7071L11 10.4142L11 20C11 20.5523 11.4477 21 12 21C12.5523 21 13 20.5523 13 20L13 10.4142Z","fill":"currentColor"}})])}
|
|
23727
|
+
var AlignTopvue_type_template_id_d52f1fa8_staticRenderFns = []
|
|
23728
|
+
|
|
23729
|
+
|
|
23730
|
+
// CONCATENATED MODULE: ./src/components/svg/AlignTop.vue?vue&type=template&id=d52f1fa8
|
|
23731
|
+
|
|
23732
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/babel-loader/lib??ref--15!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/svg/AlignTop.vue?vue&type=script&lang=js
|
|
23733
|
+
//
|
|
23734
|
+
//
|
|
23735
|
+
//
|
|
23736
|
+
//
|
|
23737
|
+
|
|
23738
|
+
/* harmony default export */ var AlignTopvue_type_script_lang_js = ({
|
|
23739
|
+
name: 'AlignTop',
|
|
23740
|
+
props: {
|
|
23741
|
+
width: {
|
|
23742
|
+
type: [String, Number],
|
|
23743
|
+
default: 20
|
|
23744
|
+
},
|
|
23745
|
+
height: {
|
|
23746
|
+
type: [String, Number],
|
|
23747
|
+
default: 20
|
|
23748
|
+
}
|
|
23749
|
+
}
|
|
23750
|
+
});
|
|
23751
|
+
// CONCATENATED MODULE: ./src/components/svg/AlignTop.vue?vue&type=script&lang=js
|
|
23752
|
+
/* harmony default export */ var svg_AlignTopvue_type_script_lang_js = (AlignTopvue_type_script_lang_js);
|
|
23753
|
+
// CONCATENATED MODULE: ./src/components/svg/AlignTop.vue
|
|
23754
|
+
|
|
23755
|
+
|
|
23756
|
+
|
|
23757
|
+
|
|
23758
|
+
|
|
23759
|
+
/* normalize component */
|
|
23760
|
+
|
|
23761
|
+
var AlignTop_component = Object(componentNormalizer["a" /* default */])(
|
|
23762
|
+
svg_AlignTopvue_type_script_lang_js,
|
|
23763
|
+
AlignTopvue_type_template_id_d52f1fa8_render,
|
|
23764
|
+
AlignTopvue_type_template_id_d52f1fa8_staticRenderFns,
|
|
23765
|
+
false,
|
|
23766
|
+
null,
|
|
23767
|
+
null,
|
|
23768
|
+
null
|
|
23769
|
+
|
|
23770
|
+
)
|
|
23771
|
+
|
|
23772
|
+
/* harmony default export */ var AlignTop = (AlignTop_component.exports);
|
|
23773
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"1a638e0e-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/svg/AlignMiddle.vue?vue&type=template&id=ae9afae4
|
|
23774
|
+
var AlignMiddlevue_type_template_id_ae9afae4_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('svg',{attrs:{"width":_vm.width,"height":_vm.height,"viewBox":"0 0 24 24","fill":"currentColor","xmlns":"http://www.w3.org/2000/svg"}},[_c('path',{attrs:{"d":"M3 12H21","stroke":"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}}),_c('path',{attrs:{"d":"M12 22V16","stroke":"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}}),_c('path',{attrs:{"d":"M12 2L12 8","stroke":"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}}),_c('path',{attrs:{"d":"M15 19L12 16L9 19","stroke":"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}}),_c('path',{attrs:{"d":"M9 5L12 8L15 5","stroke":"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}})])}
|
|
23775
|
+
var AlignMiddlevue_type_template_id_ae9afae4_staticRenderFns = []
|
|
23776
|
+
|
|
23777
|
+
|
|
23778
|
+
// CONCATENATED MODULE: ./src/components/svg/AlignMiddle.vue?vue&type=template&id=ae9afae4
|
|
23779
|
+
|
|
23780
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/babel-loader/lib??ref--15!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/svg/AlignMiddle.vue?vue&type=script&lang=js
|
|
23781
|
+
//
|
|
23782
|
+
//
|
|
23783
|
+
//
|
|
23784
|
+
//
|
|
23785
|
+
|
|
23786
|
+
/* harmony default export */ var AlignMiddlevue_type_script_lang_js = ({
|
|
23787
|
+
name: 'AlignMiddle',
|
|
23788
|
+
props: {
|
|
23789
|
+
width: {
|
|
23790
|
+
type: [String, Number],
|
|
23791
|
+
default: 20
|
|
23792
|
+
},
|
|
23793
|
+
height: {
|
|
23794
|
+
type: [String, Number],
|
|
23795
|
+
default: 20
|
|
23796
|
+
}
|
|
23797
|
+
}
|
|
23798
|
+
});
|
|
23799
|
+
// CONCATENATED MODULE: ./src/components/svg/AlignMiddle.vue?vue&type=script&lang=js
|
|
23800
|
+
/* harmony default export */ var svg_AlignMiddlevue_type_script_lang_js = (AlignMiddlevue_type_script_lang_js);
|
|
23801
|
+
// CONCATENATED MODULE: ./src/components/svg/AlignMiddle.vue
|
|
23802
|
+
|
|
23803
|
+
|
|
23804
|
+
|
|
23805
|
+
|
|
23806
|
+
|
|
23807
|
+
/* normalize component */
|
|
23808
|
+
|
|
23809
|
+
var AlignMiddle_component = Object(componentNormalizer["a" /* default */])(
|
|
23810
|
+
svg_AlignMiddlevue_type_script_lang_js,
|
|
23811
|
+
AlignMiddlevue_type_template_id_ae9afae4_render,
|
|
23812
|
+
AlignMiddlevue_type_template_id_ae9afae4_staticRenderFns,
|
|
23813
|
+
false,
|
|
23814
|
+
null,
|
|
23815
|
+
null,
|
|
23816
|
+
null
|
|
23817
|
+
|
|
23818
|
+
)
|
|
23819
|
+
|
|
23820
|
+
/* harmony default export */ var AlignMiddle = (AlignMiddle_component.exports);
|
|
23821
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"1a638e0e-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/svg/AlignBottom.vue?vue&type=template&id=5e8def55
|
|
23822
|
+
var AlignBottomvue_type_template_id_5e8def55_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('svg',{attrs:{"width":_vm.width,"height":_vm.height,"viewBox":"0 0 24 24","fill":"currentColor","xmlns":"http://www.w3.org/2000/svg"}},[_c('path',{attrs:{"d":"M11 11.5858L9.70711 10.2929C9.31658 9.90237 8.68342 9.90237 8.29289 10.2929C7.90237 10.6834 7.90237 11.3166 8.29289 11.7071L11.2929 14.7071C11.6834 15.0976 12.3166 15.0976 12.7071 14.7071L15.7071 11.7071C16.0976 11.3166 16.0976 10.6834 15.7071 10.2929C15.3166 9.90237 14.6834 9.90237 14.2929 10.2929L13 11.5858V4C13 3.44771 12.5523 3 12 3C11.4477 3 11 3.44771 11 4V11.5858Z","fill":"currentColor"}}),_c('path',{attrs:{"d":"M2 18C2 17.4477 2.44772 17 3 17H21C21.5523 17 22 17.4477 22 18C22 18.5523 21.5523 19 21 19H3C2.44772 19 2 18.5523 2 18Z","fill":"currentColor"}})])}
|
|
23823
|
+
var AlignBottomvue_type_template_id_5e8def55_staticRenderFns = []
|
|
23824
|
+
|
|
23825
|
+
|
|
23826
|
+
// CONCATENATED MODULE: ./src/components/svg/AlignBottom.vue?vue&type=template&id=5e8def55
|
|
23827
|
+
|
|
23828
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/babel-loader/lib??ref--15!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/svg/AlignBottom.vue?vue&type=script&lang=js
|
|
23829
|
+
//
|
|
23830
|
+
//
|
|
23831
|
+
//
|
|
23832
|
+
//
|
|
23833
|
+
|
|
23834
|
+
/* harmony default export */ var AlignBottomvue_type_script_lang_js = ({
|
|
23835
|
+
name: 'AlignBottom',
|
|
23836
|
+
props: {
|
|
23837
|
+
width: {
|
|
23838
|
+
type: [String, Number],
|
|
23839
|
+
default: 20
|
|
23840
|
+
},
|
|
23841
|
+
height: {
|
|
23842
|
+
type: [String, Number],
|
|
23843
|
+
default: 20
|
|
23844
|
+
}
|
|
23845
|
+
}
|
|
23846
|
+
});
|
|
23847
|
+
// CONCATENATED MODULE: ./src/components/svg/AlignBottom.vue?vue&type=script&lang=js
|
|
23848
|
+
/* harmony default export */ var svg_AlignBottomvue_type_script_lang_js = (AlignBottomvue_type_script_lang_js);
|
|
23849
|
+
// CONCATENATED MODULE: ./src/components/svg/AlignBottom.vue
|
|
23850
|
+
|
|
23851
|
+
|
|
23852
|
+
|
|
23853
|
+
|
|
23854
|
+
|
|
23855
|
+
/* normalize component */
|
|
23856
|
+
|
|
23857
|
+
var AlignBottom_component = Object(componentNormalizer["a" /* default */])(
|
|
23858
|
+
svg_AlignBottomvue_type_script_lang_js,
|
|
23859
|
+
AlignBottomvue_type_template_id_5e8def55_render,
|
|
23860
|
+
AlignBottomvue_type_template_id_5e8def55_staticRenderFns,
|
|
23861
|
+
false,
|
|
23862
|
+
null,
|
|
23863
|
+
null,
|
|
23864
|
+
null
|
|
23865
|
+
|
|
23866
|
+
)
|
|
23867
|
+
|
|
23868
|
+
/* harmony default export */ var AlignBottom = (AlignBottom_component.exports);
|
|
23033
23869
|
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"1a638e0e-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/svg/MergeCells.vue?vue&type=template&id=557c4f86
|
|
23034
23870
|
var MergeCellsvue_type_template_id_557c4f86_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('svg',{attrs:{"width":_vm.width,"height":_vm.height,"viewBox":"0 0 20 20","fill":"currentColor","aria-hidden":"true"}},[_c('path',{attrs:{"d":"M2 3h7v5H2V3zm0 6h7v5H2V9zm9-6h7v5h-7V3zm0 6h7v5h-7V9z","opacity":"0.3"}}),_c('path',{attrs:{"d":"M2 14h16v3H2v-3z"}}),_c('path',{attrs:{"d":"M9 15.5l-2-1.5v1H4v1h3v1l2-1.5zm7 0l-2-1.5v1h-3v1h3v1l2-1.5z"}})])}
|
|
23035
23871
|
var MergeCellsvue_type_template_id_557c4f86_staticRenderFns = []
|
|
@@ -23179,16 +24015,16 @@ var SplitCell_component = Object(componentNormalizer["a" /* default */])(
|
|
|
23179
24015
|
|
|
23180
24016
|
|
|
23181
24017
|
|
|
23182
|
-
/***/ }),
|
|
23183
24018
|
|
|
23184
|
-
/***/ "a49f":
|
|
23185
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
23186
24019
|
|
|
23187
|
-
|
|
24020
|
+
|
|
24021
|
+
|
|
24022
|
+
|
|
24023
|
+
|
|
23188
24024
|
|
|
23189
24025
|
/***/ }),
|
|
23190
24026
|
|
|
23191
|
-
/***/ "
|
|
24027
|
+
/***/ "a0bc":
|
|
23192
24028
|
/***/ (function(module, exports, __webpack_require__) {
|
|
23193
24029
|
|
|
23194
24030
|
// extracted by mini-css-extract-plugin
|
|
@@ -23200,12 +24036,12 @@ var SplitCell_component = Object(componentNormalizer["a" /* default */])(
|
|
|
23200
24036
|
|
|
23201
24037
|
"use strict";
|
|
23202
24038
|
|
|
23203
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"1a638e0e-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/Modals/ImageModal.vue?vue&type=template&id=
|
|
23204
|
-
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.visible)?_c('div',{staticClass:"bbl-upload-modal-overlay",on:{"click":_vm.handleOverlayClick}},[_c('div',{staticClass:"bbl-upload-modal",on:{"click":function($event){$event.stopPropagation();}}},[_c('div',{staticClass:"bbl-modal-header"},[_c('h3',[_vm._v("Insert Image")]),_c('button',{staticClass:"close-btn",on:{"click":_vm.close}},[_vm._v("×")])]),_c('div',{staticClass:"bbl-modal-body"},[_c('div',{staticClass:"tab-buttons"},[_c('button',{class:['tab-btn', { active: _vm.activeTab === 'upload' }],on:{"click":function($event){_vm.activeTab = 'upload'}}},[_vm._v(" Upload File ")]),_c('button',{class:['tab-btn', { active: _vm.activeTab === 'url' }],on:{"click":function($event){_vm.activeTab = 'url'}}},[_vm._v(" From URL ")])]),(_vm.activeTab === 'upload')?_c('div',{staticClass:"bbl-tab-content"},[(!_vm.previewUrl)?_c('div',{staticClass:"drop-zone",class:{ 'drag-over': _vm.isDragOver },on:{"click":function($event){return _vm.$refs.fileInput.click()},"dragover":function($event){$event.preventDefault();_vm.isDragOver = true},"dragleave":function($event){_vm.isDragOver = false},"drop":function($event){$event.preventDefault();return _vm.handleDrop.apply(null, arguments)}}},[_c('div',{staticClass:"drop-zone-icon"},[_vm._v("📁")]),_c('div',{staticClass:"drop-zone-title"},[_vm._v("Drop image here or click to browse")]),_c('div',{staticClass:"drop-zone-subtitle"},[_vm._v("Supports: JPG, PNG, GIF, WebP (max "+_vm._s(Math.round(_vm.maxFileSize / (1024 * 1024)))+"MB)")]),_c('input',{ref:"fileInput",staticStyle:{"display":"none"},attrs:{"type":"file","accept":"image/*"},on:{"change":_vm.handleFileSelect}})]):_c('div',{staticClass:"preview-container"},[_c('img',{staticClass:"preview-image",attrs:{"src":_vm.previewUrl,"alt":"Preview"}}),_c('div',{staticClass:"preview-info"},[_c('div',{staticClass:"preview-filename"},[_vm._v(_vm._s(_vm.selectedFile && _vm.selectedFile.name))]),_c('div',{staticClass:"preview-size"},[_vm._v(_vm._s(_vm.formatFileSize(_vm.selectedFile && _vm.selectedFile.size)))])]),(!_vm.isUploading && !_vm.uploadError && _vm.uploadedUrl)?_c('div',{staticClass:"upload-success"},[_vm.
|
|
23205
|
-
var staticRenderFns = [
|
|
24039
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"1a638e0e-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/Modals/ImageModal.vue?vue&type=template&id=a6f3fcaa&scoped=true
|
|
24040
|
+
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('transition',{attrs:{"name":"modal","appear":""}},[(_vm.visible)?_c('div',{staticClass:"bbl-upload-modal-overlay",on:{"click":_vm.handleOverlayClick}},[_c('transition',{attrs:{"name":"modal-content","appear":""}},[_c('div',{staticClass:"bbl-upload-modal",on:{"click":function($event){$event.stopPropagation();}}},[_c('div',{staticClass:"bbl-modal-header"},[_c('h3',[_vm._v("Insert Image")]),_c('button',{staticClass:"close-btn",on:{"click":_vm.close}},[_vm._v("×")])]),_c('div',{staticClass:"bbl-modal-body"},[_c('div',{staticClass:"tab-buttons"},[_c('button',{class:['tab-btn', { active: _vm.activeTab === 'upload' }],on:{"click":function($event){_vm.activeTab = 'upload'}}},[_vm._v(" Upload File ")]),_c('button',{class:['tab-btn', { active: _vm.activeTab === 'url' }],on:{"click":function($event){_vm.activeTab = 'url'}}},[_vm._v(" From URL ")])]),(_vm.activeTab === 'upload')?_c('div',{staticClass:"bbl-tab-content"},[(!_vm.previewUrl)?_c('div',{staticClass:"drop-zone",class:{ 'drag-over': _vm.isDragOver },on:{"click":function($event){return _vm.$refs.fileInput.click()},"dragover":function($event){$event.preventDefault();_vm.isDragOver = true},"dragleave":function($event){_vm.isDragOver = false},"drop":function($event){$event.preventDefault();return _vm.handleDrop.apply(null, arguments)}}},[_c('div',{staticClass:"drop-zone-icon"},[_vm._v("📁")]),_c('div',{staticClass:"drop-zone-title"},[_vm._v("Drop image here or click to browse")]),_c('div',{staticClass:"drop-zone-subtitle"},[_vm._v("Supports: JPG, PNG, GIF, WebP (max "+_vm._s(Math.round(_vm.maxFileSize / (1024 * 1024)))+"MB)")]),_c('input',{ref:"fileInput",staticStyle:{"display":"none"},attrs:{"type":"file","accept":"image/*"},on:{"change":_vm.handleFileSelect}})]):_c('div',{staticClass:"preview-container"},[_c('img',{staticClass:"preview-image",attrs:{"src":_vm.previewUrl,"alt":"Preview"}}),_c('div',{staticClass:"preview-info"},[_c('div',{staticClass:"preview-filename"},[_vm._v(_vm._s(_vm.selectedFile && _vm.selectedFile.name))]),_c('div',{staticClass:"preview-size"},[_vm._v(_vm._s(_vm.formatFileSize(_vm.selectedFile && _vm.selectedFile.size)))])]),(!_vm.isUploading && !_vm.uploadError && _vm.uploadedUrl)?_c('div',{staticClass:"upload-success"},[_c('div',{staticClass:"success-message"},[_c('span',{staticClass:"success-icon"},[_vm._v("✅")]),_vm._v(" Upload complete! Ready to insert. ")])]):_vm._e(),(_vm.isUploading)?_c('div',{staticClass:"upload-progress"},[_c('div',{staticClass:"progress-bar"},[_c('div',{staticClass:"progress-fill",style:({ width: _vm.uploadProgress + '%' })})]),_c('div',{staticClass:"progress-text"},[_vm._v("Uploading... "+_vm._s(_vm.uploadProgress)+"%")])]):_vm._e(),(_vm.uploadError)?_c('div',{staticClass:"upload-error"},[_c('div',{staticClass:"error-message"},[_c('span',{staticClass:"error-icon"},[_vm._v("⚠️")]),_vm._v(" "+_vm._s(_vm.uploadError)+" ")]),_c('div',{staticClass:"error-actions"},[_c('button',{staticClass:"retry-btn",on:{"click":function($event){return _vm.retryUpload(_vm.selectedFile)}}},[_vm._v("Try Again")]),_c('button',{staticClass:"local-btn",on:{"click":_vm.insertLocalImage}},[_vm._v("Use Local File")])])]):_vm._e(),(!_vm.isUploading && !_vm.uploadError)?_c('button',{staticClass:"change-btn",on:{"click":_vm.changeFile}},[_vm._v("Change Image")]):_vm._e()])]):_vm._e(),(_vm.activeTab === 'url')?_c('div',{staticClass:"bbl-tab-content"},[_c('input',{directives:[{name:"model",rawName:"v-model",value:(_vm.imageUrl),expression:"imageUrl"}],staticClass:"url-input",attrs:{"type":"url","placeholder":"https://example.com/image.jpg"},domProps:{"value":(_vm.imageUrl)},on:{"input":function($event){if($event.target.composing){ return; }_vm.imageUrl=$event.target.value}}}),_c('div',{staticClass:"url-help"},[_vm._v("Enter a direct link to an image file")])]):_vm._e()]),_c('div',{staticClass:"bbl-modal-footer"},[_c('button',{staticClass:"cancel-btn",on:{"click":_vm.close}},[_vm._v("Cancel")]),_c('button',{staticClass:"insert-btn",attrs:{"disabled":_vm.isUploading || (_vm.activeTab === 'upload' && !_vm.selectedFile) || (_vm.activeTab === 'url' && !_vm.imageUrl.trim())},on:{"click":_vm.insertImage}},[(_vm.isUploading)?_c('span',[_vm._v("Uploading...")]):_c('span',[_vm._v("Insert Image")])])])])])],1):_vm._e()])}
|
|
24041
|
+
var staticRenderFns = []
|
|
23206
24042
|
|
|
23207
24043
|
|
|
23208
|
-
// CONCATENATED MODULE: ./src/components/Modals/ImageModal.vue?vue&type=template&id=
|
|
24044
|
+
// CONCATENATED MODULE: ./src/components/Modals/ImageModal.vue?vue&type=template&id=a6f3fcaa&scoped=true
|
|
23209
24045
|
|
|
23210
24046
|
// EXTERNAL MODULE: ./src/mixins/uploadMixin.js
|
|
23211
24047
|
var uploadMixin = __webpack_require__("d86d");
|
|
@@ -23454,6 +24290,10 @@ function _asyncToGenerator(n) {
|
|
|
23454
24290
|
//
|
|
23455
24291
|
//
|
|
23456
24292
|
//
|
|
24293
|
+
//
|
|
24294
|
+
//
|
|
24295
|
+
//
|
|
24296
|
+
//
|
|
23457
24297
|
|
|
23458
24298
|
|
|
23459
24299
|
/* harmony default export */ var ImageModalvue_type_script_lang_js = ({
|
|
@@ -23643,8 +24483,8 @@ function _asyncToGenerator(n) {
|
|
|
23643
24483
|
});
|
|
23644
24484
|
// CONCATENATED MODULE: ./src/components/Modals/ImageModal.vue?vue&type=script&lang=js
|
|
23645
24485
|
/* harmony default export */ var Modals_ImageModalvue_type_script_lang_js = (ImageModalvue_type_script_lang_js);
|
|
23646
|
-
// EXTERNAL MODULE: ./src/components/Modals/ImageModal.vue?vue&type=style&index=0&id=
|
|
23647
|
-
var
|
|
24486
|
+
// EXTERNAL MODULE: ./src/components/Modals/ImageModal.vue?vue&type=style&index=0&id=a6f3fcaa&prod&scoped=true&lang=css
|
|
24487
|
+
var ImageModalvue_type_style_index_0_id_a6f3fcaa_prod_scoped_true_lang_css = __webpack_require__("2725");
|
|
23648
24488
|
|
|
23649
24489
|
// EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
|
|
23650
24490
|
var componentNormalizer = __webpack_require__("2877");
|
|
@@ -23664,7 +24504,7 @@ var component = Object(componentNormalizer["a" /* default */])(
|
|
|
23664
24504
|
staticRenderFns,
|
|
23665
24505
|
false,
|
|
23666
24506
|
null,
|
|
23667
|
-
"
|
|
24507
|
+
"a6f3fcaa",
|
|
23668
24508
|
null
|
|
23669
24509
|
|
|
23670
24510
|
)
|
|
@@ -23685,7 +24525,7 @@ var staticRenderFns = []
|
|
|
23685
24525
|
|
|
23686
24526
|
// CONCATENATED MODULE: ./src/components/Menus/ImageBubbleMenu.vue?vue&type=template&id=ba273c7c&scoped=true
|
|
23687
24527
|
|
|
23688
|
-
// EXTERNAL MODULE: ./src/components/svg/index.js +
|
|
24528
|
+
// EXTERNAL MODULE: ./src/components/svg/index.js + 207 modules
|
|
23689
24529
|
var svg = __webpack_require__("9f9d");
|
|
23690
24530
|
|
|
23691
24531
|
// EXTERNAL MODULE: ./src/components/Toolbar/BubbleMenuDropdown.vue + 4 modules
|
|
@@ -23764,18 +24604,18 @@ var BubbleMenuDropdown = __webpack_require__("690e");
|
|
|
23764
24604
|
/* harmony default export */ var ImageBubbleMenuvue_type_script_lang_js = ({
|
|
23765
24605
|
name: 'ImageBubbleMenu',
|
|
23766
24606
|
components: {
|
|
23767
|
-
LeftAlign: svg["
|
|
23768
|
-
CenterAlign: svg["
|
|
23769
|
-
RightAlign: svg["
|
|
23770
|
-
BlockDisplay: svg["
|
|
23771
|
-
InlineDisplay: svg["
|
|
23772
|
-
CaptionTop: svg["
|
|
23773
|
-
CaptionBottom: svg["
|
|
23774
|
-
NoCaption: svg["
|
|
23775
|
-
Delete: svg["
|
|
23776
|
-
SpacingSmall: svg["
|
|
23777
|
-
SpacingMedium: svg["
|
|
23778
|
-
SpacingLarge: svg["
|
|
24607
|
+
LeftAlign: svg["B" /* LeftAlign */],
|
|
24608
|
+
CenterAlign: svg["o" /* CenterAlign */],
|
|
24609
|
+
RightAlign: svg["M" /* RightAlign */],
|
|
24610
|
+
BlockDisplay: svg["i" /* BlockDisplay */],
|
|
24611
|
+
InlineDisplay: svg["z" /* InlineDisplay */],
|
|
24612
|
+
CaptionTop: svg["m" /* CaptionTop */],
|
|
24613
|
+
CaptionBottom: svg["l" /* CaptionBottom */],
|
|
24614
|
+
NoCaption: svg["I" /* NoCaption */],
|
|
24615
|
+
Delete: svg["v" /* Delete */],
|
|
24616
|
+
SpacingSmall: svg["Q" /* SpacingSmall */],
|
|
24617
|
+
SpacingMedium: svg["P" /* SpacingMedium */],
|
|
24618
|
+
SpacingLarge: svg["O" /* SpacingLarge */],
|
|
23779
24619
|
BubbleMenuDropdown: BubbleMenuDropdown["a" /* default */]
|
|
23780
24620
|
},
|
|
23781
24621
|
props: {
|
|
@@ -23818,35 +24658,35 @@ var BubbleMenuDropdown = __webpack_require__("690e");
|
|
|
23818
24658
|
},
|
|
23819
24659
|
currentAlignIcon: function currentAlignIcon() {
|
|
23820
24660
|
var align = this.editor.getAttributes('resizableImage').align || 'left';
|
|
23821
|
-
return align === 'center' ? svg["
|
|
24661
|
+
return align === 'center' ? svg["o" /* CenterAlign */] : align === 'right' ? svg["M" /* RightAlign */] : svg["B" /* LeftAlign */];
|
|
23822
24662
|
},
|
|
23823
24663
|
currentSpacingIcon: function currentSpacingIcon() {
|
|
23824
24664
|
var spacing = this.editor.getAttributes('resizableImage').spacing || 'medium';
|
|
23825
|
-
return spacing === 'small' ? svg["
|
|
24665
|
+
return spacing === 'small' ? svg["Q" /* SpacingSmall */] : spacing === 'large' ? svg["O" /* SpacingLarge */] : svg["P" /* SpacingMedium */];
|
|
23826
24666
|
},
|
|
23827
24667
|
currentCaptionIcon: function currentCaptionIcon() {
|
|
23828
24668
|
var position = this.editor.getAttributes('resizableImage').captionPosition || 'none';
|
|
23829
|
-
return position === 'top' ? svg["
|
|
24669
|
+
return position === 'top' ? svg["m" /* CaptionTop */] : position === 'bottom' ? svg["l" /* CaptionBottom */] : svg["I" /* NoCaption */];
|
|
23830
24670
|
},
|
|
23831
24671
|
alignmentItems: function alignmentItems() {
|
|
23832
24672
|
var _this = this;
|
|
23833
24673
|
return [{
|
|
23834
24674
|
label: 'Align Left',
|
|
23835
|
-
icon: svg["
|
|
24675
|
+
icon: svg["B" /* LeftAlign */],
|
|
23836
24676
|
action: function action() {
|
|
23837
24677
|
return _this.setAlign('left');
|
|
23838
24678
|
},
|
|
23839
24679
|
active: this.isAlign('left')
|
|
23840
24680
|
}, {
|
|
23841
24681
|
label: 'Align Center',
|
|
23842
|
-
icon: svg["
|
|
24682
|
+
icon: svg["o" /* CenterAlign */],
|
|
23843
24683
|
action: function action() {
|
|
23844
24684
|
return _this.setAlign('center');
|
|
23845
24685
|
},
|
|
23846
24686
|
active: this.isAlign('center')
|
|
23847
24687
|
}, {
|
|
23848
24688
|
label: 'Align Right',
|
|
23849
|
-
icon: svg["
|
|
24689
|
+
icon: svg["M" /* RightAlign */],
|
|
23850
24690
|
action: function action() {
|
|
23851
24691
|
return _this.setAlign('right');
|
|
23852
24692
|
},
|
|
@@ -23857,21 +24697,21 @@ var BubbleMenuDropdown = __webpack_require__("690e");
|
|
|
23857
24697
|
var _this2 = this;
|
|
23858
24698
|
return [{
|
|
23859
24699
|
label: 'Small Spacing',
|
|
23860
|
-
icon: svg["
|
|
24700
|
+
icon: svg["Q" /* SpacingSmall */],
|
|
23861
24701
|
action: function action() {
|
|
23862
24702
|
return _this2.setSpacing('small');
|
|
23863
24703
|
},
|
|
23864
24704
|
active: this.isSpacing('small')
|
|
23865
24705
|
}, {
|
|
23866
24706
|
label: 'Medium Spacing',
|
|
23867
|
-
icon: svg["
|
|
24707
|
+
icon: svg["P" /* SpacingMedium */],
|
|
23868
24708
|
action: function action() {
|
|
23869
24709
|
return _this2.setSpacing('medium');
|
|
23870
24710
|
},
|
|
23871
24711
|
active: this.isSpacing('medium')
|
|
23872
24712
|
}, {
|
|
23873
24713
|
label: 'Large Spacing',
|
|
23874
|
-
icon: svg["
|
|
24714
|
+
icon: svg["O" /* SpacingLarge */],
|
|
23875
24715
|
action: function action() {
|
|
23876
24716
|
return _this2.setSpacing('large');
|
|
23877
24717
|
},
|
|
@@ -23882,21 +24722,21 @@ var BubbleMenuDropdown = __webpack_require__("690e");
|
|
|
23882
24722
|
var _this3 = this;
|
|
23883
24723
|
return [{
|
|
23884
24724
|
label: 'No Caption',
|
|
23885
|
-
icon: svg["
|
|
24725
|
+
icon: svg["I" /* NoCaption */],
|
|
23886
24726
|
action: function action() {
|
|
23887
24727
|
return _this3.setCaptionPosition('none');
|
|
23888
24728
|
},
|
|
23889
24729
|
active: this.isCaptionPosition('none')
|
|
23890
24730
|
}, {
|
|
23891
24731
|
label: 'Caption Top',
|
|
23892
|
-
icon: svg["
|
|
24732
|
+
icon: svg["m" /* CaptionTop */],
|
|
23893
24733
|
action: function action() {
|
|
23894
24734
|
return _this3.setCaptionPosition('top');
|
|
23895
24735
|
},
|
|
23896
24736
|
active: this.isCaptionPosition('top')
|
|
23897
24737
|
}, {
|
|
23898
24738
|
label: 'Caption Bottom',
|
|
23899
|
-
icon: svg["
|
|
24739
|
+
icon: svg["l" /* CaptionBottom */],
|
|
23900
24740
|
action: function action() {
|
|
23901
24741
|
return _this3.setCaptionPosition('bottom');
|
|
23902
24742
|
},
|
|
@@ -24066,13 +24906,6 @@ var component = Object(componentNormalizer["a" /* default */])(
|
|
|
24066
24906
|
|
|
24067
24907
|
/***/ }),
|
|
24068
24908
|
|
|
24069
|
-
/***/ "b177":
|
|
24070
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
24071
|
-
|
|
24072
|
-
// extracted by mini-css-extract-plugin
|
|
24073
|
-
|
|
24074
|
-
/***/ }),
|
|
24075
|
-
|
|
24076
24909
|
/***/ "b40f":
|
|
24077
24910
|
/***/ (function(module, exports, __webpack_require__) {
|
|
24078
24911
|
|
|
@@ -26858,17 +27691,6 @@ function _toPrimitive(t, r) {
|
|
|
26858
27691
|
|
|
26859
27692
|
module.exports = require("@tiptap/starter-kit");
|
|
26860
27693
|
|
|
26861
|
-
/***/ }),
|
|
26862
|
-
|
|
26863
|
-
/***/ "c283":
|
|
26864
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
26865
|
-
|
|
26866
|
-
"use strict";
|
|
26867
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_TableBubbleMenu_vue_vue_type_style_index_0_id_4ef80ae4_prod_scoped_true_lang_css__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("9534");
|
|
26868
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_TableBubbleMenu_vue_vue_type_style_index_0_id_4ef80ae4_prod_scoped_true_lang_css__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_TableBubbleMenu_vue_vue_type_style_index_0_id_4ef80ae4_prod_scoped_true_lang_css__WEBPACK_IMPORTED_MODULE_0__);
|
|
26869
|
-
/* unused harmony reexport * */
|
|
26870
|
-
|
|
26871
|
-
|
|
26872
27694
|
/***/ }),
|
|
26873
27695
|
|
|
26874
27696
|
/***/ "c449":
|
|
@@ -26876,12 +27698,12 @@ module.exports = require("@tiptap/starter-kit");
|
|
|
26876
27698
|
|
|
26877
27699
|
"use strict";
|
|
26878
27700
|
|
|
26879
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"1a638e0e-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/Modals/LinkModal.vue?vue&type=template&id=
|
|
26880
|
-
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.visible)?_c('div',{staticClass:"bbl-upload-modal-overlay",on:{"click":_vm.handleOverlayClick}},[_c('div',{staticClass:"bbl-upload-modal",on:{"click":function($event){$event.stopPropagation();}}},[_c('div',{staticClass:"bbl-modal-header"},[_c('h3',[_vm._v(_vm._s(_vm.
|
|
27701
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"1a638e0e-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/Modals/LinkModal.vue?vue&type=template&id=4ce720b0&scoped=true
|
|
27702
|
+
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('transition',{attrs:{"name":"modal","appear":""}},[(_vm.visible)?_c('div',{staticClass:"bbl-upload-modal-overlay",on:{"click":_vm.handleOverlayClick}},[_c('transition',{attrs:{"name":"modal-content","appear":""}},[_c('div',{staticClass:"bbl-upload-modal",on:{"click":function($event){$event.stopPropagation();}}},[_c('div',{staticClass:"bbl-modal-header"},[_c('h3',[_vm._v(_vm._s(_vm.modalTitle))]),_c('button',{staticClass:"close-btn",on:{"click":_vm.close}},[_vm._v("×")])]),_c('div',{staticClass:"bbl-modal-body"},[_c('div',{staticClass:"bbl-form-group"},[_c('label',{attrs:{"for":"link-text"}},[_vm._v("Link Text")]),_c('input',{directives:[{name:"model",rawName:"v-model",value:(_vm.linkText),expression:"linkText"}],staticClass:"form-input",attrs:{"id":"link-text","type":"text","placeholder":"Enter link text"},domProps:{"value":(_vm.linkText)},on:{"input":function($event){if($event.target.composing){ return; }_vm.linkText=$event.target.value}}})]),_c('div',{staticClass:"bbl-form-group"},[_c('label',{attrs:{"for":"link-url"}},[_vm._v("URL")]),_c('input',{directives:[{name:"model",rawName:"v-model",value:(_vm.linkUrl),expression:"linkUrl"}],staticClass:"form-input",attrs:{"id":"link-url","type":"url","placeholder":"https://example.com"},domProps:{"value":(_vm.linkUrl)},on:{"input":function($event){if($event.target.composing){ return; }_vm.linkUrl=$event.target.value}}})]),_c('div',{staticClass:"bbl-form-group"},[_c('label',{staticClass:"checkbox-label"},[_c('input',{directives:[{name:"model",rawName:"v-model",value:(_vm.openInNewTab),expression:"openInNewTab"}],staticClass:"checkbox-input",attrs:{"type":"checkbox"},domProps:{"checked":Array.isArray(_vm.openInNewTab)?_vm._i(_vm.openInNewTab,null)>-1:(_vm.openInNewTab)},on:{"change":function($event){var $$a=_vm.openInNewTab,$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=null,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.openInNewTab=$$a.concat([$$v]))}else{$$i>-1&&(_vm.openInNewTab=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{_vm.openInNewTab=$$c}}}}),_vm._v(" Open in new tab ")])])]),_c('div',{staticClass:"bbl-modal-footer"},[_c('button',{staticClass:"cancel-btn",on:{"click":_vm.close}},[_vm._v("Cancel")]),(_vm.isEditing)?_c('button',{staticClass:"remove-btn",on:{"click":_vm.removeLink}},[_vm._v("Remove Link")]):_vm._e(),_c('button',{staticClass:"insert-btn",on:{"click":_vm.insertLink}},[_vm._v(" "+_vm._s(_vm.isEditing ? 'Update Link' : 'Add Link')+" ")])])])])],1):_vm._e()])}
|
|
26881
27703
|
var staticRenderFns = []
|
|
26882
27704
|
|
|
26883
27705
|
|
|
26884
|
-
// CONCATENATED MODULE: ./src/components/Modals/LinkModal.vue?vue&type=template&id=
|
|
27706
|
+
// CONCATENATED MODULE: ./src/components/Modals/LinkModal.vue?vue&type=template&id=4ce720b0&scoped=true
|
|
26885
27707
|
|
|
26886
27708
|
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/babel-loader/lib??ref--15!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/Modals/LinkModal.vue?vue&type=script&lang=js
|
|
26887
27709
|
//
|
|
@@ -26938,6 +27760,10 @@ var staticRenderFns = []
|
|
|
26938
27760
|
//
|
|
26939
27761
|
//
|
|
26940
27762
|
//
|
|
27763
|
+
//
|
|
27764
|
+
//
|
|
27765
|
+
//
|
|
27766
|
+
//
|
|
26941
27767
|
|
|
26942
27768
|
/* harmony default export */ var LinkModalvue_type_script_lang_js = ({
|
|
26943
27769
|
name: 'LinkModal',
|
|
@@ -26970,19 +27796,46 @@ var staticRenderFns = []
|
|
|
26970
27796
|
computed: {
|
|
26971
27797
|
isEditing: function isEditing() {
|
|
26972
27798
|
return !!this.initialUrl;
|
|
27799
|
+
},
|
|
27800
|
+
modalTitle: function modalTitle() {
|
|
27801
|
+
return this.isEditing ? 'Edit Link' : 'Add Link';
|
|
26973
27802
|
}
|
|
26974
27803
|
},
|
|
26975
27804
|
watch: {
|
|
26976
27805
|
visible: function visible(newValue) {
|
|
27806
|
+
var _this = this;
|
|
26977
27807
|
if (newValue) {
|
|
26978
|
-
|
|
26979
|
-
this.
|
|
27808
|
+
// When opening modal, set values from props
|
|
27809
|
+
this.linkText = this.initialText || '';
|
|
27810
|
+
this.linkUrl = this.initialUrl || '';
|
|
26980
27811
|
this.openInNewTab = this.initialTarget === '_blank';
|
|
27812
|
+
|
|
27813
|
+
// Focus on appropriate field after modal opens
|
|
27814
|
+
this.$nextTick(function () {
|
|
27815
|
+
if (!_this.isEditing) {
|
|
27816
|
+
// For new links, focus on text field if empty, otherwise URL field
|
|
27817
|
+
var textInput = document.getElementById('link-text');
|
|
27818
|
+
var urlInput = document.getElementById('link-url');
|
|
27819
|
+
if (!_this.linkText && textInput) {
|
|
27820
|
+
textInput.focus();
|
|
27821
|
+
} else if (urlInput) {
|
|
27822
|
+
urlInput.focus();
|
|
27823
|
+
}
|
|
27824
|
+
} else {
|
|
27825
|
+
// For editing, focus on URL field
|
|
27826
|
+
var _urlInput = document.getElementById('link-url');
|
|
27827
|
+
if (_urlInput) {
|
|
27828
|
+
_urlInput.focus();
|
|
27829
|
+
_urlInput.select(); // Select all text in URL field
|
|
27830
|
+
}
|
|
27831
|
+
}
|
|
27832
|
+
});
|
|
26981
27833
|
}
|
|
26982
27834
|
}
|
|
26983
27835
|
},
|
|
26984
27836
|
methods: {
|
|
26985
27837
|
close: function close() {
|
|
27838
|
+
// Clear all fields when closing
|
|
26986
27839
|
this.linkText = '';
|
|
26987
27840
|
this.linkUrl = '';
|
|
26988
27841
|
this.openInNewTab = false;
|
|
@@ -27016,8 +27869,8 @@ var staticRenderFns = []
|
|
|
27016
27869
|
});
|
|
27017
27870
|
// CONCATENATED MODULE: ./src/components/Modals/LinkModal.vue?vue&type=script&lang=js
|
|
27018
27871
|
/* harmony default export */ var Modals_LinkModalvue_type_script_lang_js = (LinkModalvue_type_script_lang_js);
|
|
27019
|
-
// EXTERNAL MODULE: ./src/components/Modals/LinkModal.vue?vue&type=style&index=0&id=
|
|
27020
|
-
var
|
|
27872
|
+
// EXTERNAL MODULE: ./src/components/Modals/LinkModal.vue?vue&type=style&index=0&id=4ce720b0&prod&scoped=true&lang=css
|
|
27873
|
+
var LinkModalvue_type_style_index_0_id_4ce720b0_prod_scoped_true_lang_css = __webpack_require__("edb1");
|
|
27021
27874
|
|
|
27022
27875
|
// EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
|
|
27023
27876
|
var componentNormalizer = __webpack_require__("2877");
|
|
@@ -27037,7 +27890,7 @@ var component = Object(componentNormalizer["a" /* default */])(
|
|
|
27037
27890
|
staticRenderFns,
|
|
27038
27891
|
false,
|
|
27039
27892
|
null,
|
|
27040
|
-
"
|
|
27893
|
+
"4ce720b0",
|
|
27041
27894
|
null
|
|
27042
27895
|
|
|
27043
27896
|
)
|
|
@@ -27980,7 +28833,7 @@ var AlignmentDropdownvue_type_template_id_5acb8492_scoped_true_staticRenderFns =
|
|
|
27980
28833
|
|
|
27981
28834
|
// CONCATENATED MODULE: ./src/components/Toolbar/AlignmentDropdown.vue?vue&type=template&id=5acb8492&scoped=true
|
|
27982
28835
|
|
|
27983
|
-
// EXTERNAL MODULE: ./src/components/svg/index.js +
|
|
28836
|
+
// EXTERNAL MODULE: ./src/components/svg/index.js + 207 modules
|
|
27984
28837
|
var svg = __webpack_require__("9f9d");
|
|
27985
28838
|
|
|
27986
28839
|
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/babel-loader/lib??ref--15!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/Toolbar/AlignmentDropdown.vue?vue&type=script&lang=js
|
|
@@ -28025,10 +28878,10 @@ var svg = __webpack_require__("9f9d");
|
|
|
28025
28878
|
/* harmony default export */ var AlignmentDropdownvue_type_script_lang_js = ({
|
|
28026
28879
|
name: 'AlignmentDropdown',
|
|
28027
28880
|
components: {
|
|
28028
|
-
LeftAlign: svg["
|
|
28029
|
-
CenterAlign: svg["
|
|
28030
|
-
RightAlign: svg["
|
|
28031
|
-
JustifyAlign: svg["
|
|
28881
|
+
LeftAlign: svg["B" /* LeftAlign */],
|
|
28882
|
+
CenterAlign: svg["o" /* CenterAlign */],
|
|
28883
|
+
RightAlign: svg["M" /* RightAlign */],
|
|
28884
|
+
JustifyAlign: svg["A" /* JustifyAlign */]
|
|
28032
28885
|
},
|
|
28033
28886
|
props: {
|
|
28034
28887
|
modelValue: {
|
|
@@ -28172,9 +29025,9 @@ var ListDropdownvue_type_template_id_43bc54c8_scoped_true_staticRenderFns = []
|
|
|
28172
29025
|
/* harmony default export */ var ListDropdownvue_type_script_lang_js = ({
|
|
28173
29026
|
name: 'ListDropdown',
|
|
28174
29027
|
components: {
|
|
28175
|
-
BulletList: svg["
|
|
28176
|
-
NumberList: svg["
|
|
28177
|
-
BoxList: svg["
|
|
29028
|
+
BulletList: svg["k" /* BulletList */],
|
|
29029
|
+
NumberList: svg["J" /* NumberList */],
|
|
29030
|
+
BoxList: svg["j" /* BoxList */]
|
|
28178
29031
|
},
|
|
28179
29032
|
props: {
|
|
28180
29033
|
modelValue: {
|
|
@@ -29079,15 +29932,15 @@ var HighlightPickerDropdown_component = Object(componentNormalizer["a" /* defaul
|
|
|
29079
29932
|
TableDropdown: TableDropdown,
|
|
29080
29933
|
ColorPickerDropdown: ColorPickerDropdown,
|
|
29081
29934
|
HighlightPickerDropdown: HighlightPickerDropdown,
|
|
29082
|
-
Link: svg["
|
|
29083
|
-
ImageSvg: svg["
|
|
29084
|
-
Video: svg["
|
|
29085
|
-
Previous: svg["
|
|
29086
|
-
Next: svg["
|
|
29087
|
-
Code: svg["
|
|
29088
|
-
Quote: svg["
|
|
29089
|
-
ClearFormatting: svg["
|
|
29090
|
-
CodeBlock: svg["
|
|
29935
|
+
Link: svg["C" /* Link */],
|
|
29936
|
+
ImageSvg: svg["y" /* ImageSvg */],
|
|
29937
|
+
Video: svg["T" /* Video */],
|
|
29938
|
+
Previous: svg["K" /* Previous */],
|
|
29939
|
+
Next: svg["H" /* Next */],
|
|
29940
|
+
Code: svg["q" /* Code */],
|
|
29941
|
+
Quote: svg["L" /* Quote */],
|
|
29942
|
+
ClearFormatting: svg["p" /* ClearFormatting */],
|
|
29943
|
+
CodeBlock: svg["r" /* CodeBlock */]
|
|
29091
29944
|
},
|
|
29092
29945
|
props: {
|
|
29093
29946
|
editor: {
|
|
@@ -30165,6 +31018,17 @@ function _objectWithoutPropertiesLoose(r, e) {
|
|
|
30165
31018
|
}
|
|
30166
31019
|
}));
|
|
30167
31020
|
|
|
31021
|
+
/***/ }),
|
|
31022
|
+
|
|
31023
|
+
/***/ "d5e3":
|
|
31024
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
31025
|
+
|
|
31026
|
+
"use strict";
|
|
31027
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_VideoModal_vue_vue_type_style_index_0_id_25f2dd7d_prod_scoped_true_lang_css__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("e509");
|
|
31028
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_VideoModal_vue_vue_type_style_index_0_id_25f2dd7d_prod_scoped_true_lang_css__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_VideoModal_vue_vue_type_style_index_0_id_25f2dd7d_prod_scoped_true_lang_css__WEBPACK_IMPORTED_MODULE_0__);
|
|
31029
|
+
/* unused harmony reexport * */
|
|
31030
|
+
|
|
31031
|
+
|
|
30168
31032
|
/***/ }),
|
|
30169
31033
|
|
|
30170
31034
|
/***/ "d741":
|
|
@@ -30174,6 +31038,13 @@ module.exports = require("@tiptap/extension-highlight");
|
|
|
30174
31038
|
|
|
30175
31039
|
/***/ }),
|
|
30176
31040
|
|
|
31041
|
+
/***/ "d85f":
|
|
31042
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
31043
|
+
|
|
31044
|
+
// extracted by mini-css-extract-plugin
|
|
31045
|
+
|
|
31046
|
+
/***/ }),
|
|
31047
|
+
|
|
30177
31048
|
/***/ "d86d":
|
|
30178
31049
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
30179
31050
|
|
|
@@ -30592,6 +31463,13 @@ var uploadMixin = {
|
|
|
30592
31463
|
/* unused harmony reexport * */
|
|
30593
31464
|
|
|
30594
31465
|
|
|
31466
|
+
/***/ }),
|
|
31467
|
+
|
|
31468
|
+
/***/ "e509":
|
|
31469
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
31470
|
+
|
|
31471
|
+
// extracted by mini-css-extract-plugin
|
|
31472
|
+
|
|
30595
31473
|
/***/ }),
|
|
30596
31474
|
|
|
30597
31475
|
/***/ "e6b9":
|
|
@@ -30612,12 +31490,23 @@ var uploadMixin = {
|
|
|
30612
31490
|
|
|
30613
31491
|
/***/ }),
|
|
30614
31492
|
|
|
30615
|
-
/***/ "
|
|
31493
|
+
/***/ "edb1":
|
|
31494
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
31495
|
+
|
|
31496
|
+
"use strict";
|
|
31497
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_LinkModal_vue_vue_type_style_index_0_id_4ce720b0_prod_scoped_true_lang_css__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("d85f");
|
|
31498
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_LinkModal_vue_vue_type_style_index_0_id_4ce720b0_prod_scoped_true_lang_css__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_LinkModal_vue_vue_type_style_index_0_id_4ce720b0_prod_scoped_true_lang_css__WEBPACK_IMPORTED_MODULE_0__);
|
|
31499
|
+
/* unused harmony reexport * */
|
|
31500
|
+
|
|
31501
|
+
|
|
31502
|
+
/***/ }),
|
|
31503
|
+
|
|
31504
|
+
/***/ "f17e":
|
|
30616
31505
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
30617
31506
|
|
|
30618
31507
|
"use strict";
|
|
30619
|
-
/* harmony import */ var
|
|
30620
|
-
/* harmony import */ var
|
|
31508
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_PremiumBblEditor_vue_vue_type_style_index_0_id_aef207de_prod_scoped_true_lang_css__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("9610");
|
|
31509
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_PremiumBblEditor_vue_vue_type_style_index_0_id_aef207de_prod_scoped_true_lang_css__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_PremiumBblEditor_vue_vue_type_style_index_0_id_aef207de_prod_scoped_true_lang_css__WEBPACK_IMPORTED_MODULE_0__);
|
|
30621
31510
|
/* unused harmony reexport * */
|
|
30622
31511
|
|
|
30623
31512
|
|
|
@@ -30950,15 +31839,15 @@ if (typeof window !== 'undefined') {
|
|
|
30950
31839
|
// EXTERNAL MODULE: ./src/components/PremiumBblEditor.vue + 4 modules
|
|
30951
31840
|
var PremiumBblEditor = __webpack_require__("2cce");
|
|
30952
31841
|
|
|
30953
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"1a638e0e-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/PremiumBblEditorOptionsAPI.vue?vue&type=template&id=
|
|
31842
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"1a638e0e-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/PremiumBblEditorOptionsAPI.vue?vue&type=template&id=014f2470&scoped=true
|
|
30954
31843
|
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"premium-editor-container",class:[
|
|
30955
31844
|
("theme-" + _vm.theme),
|
|
30956
31845
|
_vm.editorClass
|
|
30957
|
-
]},[(!_vm.isEditorReady && !_vm.editorError)?_c('div',{staticClass:"editor-loading"},[_c('div',{staticClass:"loading-spinner"}),_c('p',[_vm._v("Loading Premium Editor...")])]):_vm._e(),(_vm.editorError)?_c('div',{staticClass:"editor-error"},[_c('div',{staticClass:"error-icon"},[_vm._v("⚠️")]),_c('div',{staticClass:"error-content"},[_c('h3',[_vm._v("Editor Failed to Load")]),(_vm.missingDependencies.length > 0)?_c('div',{staticClass:"missing-deps"},[_vm._m(0),_c('ul',_vm._l((_vm.missingDependencies),function(dep){return _c('li',{key:dep},[_vm._v(_vm._s(dep))])}),0),_vm._m(1)]):_c('div',{staticClass:"generic-error"},[_c('p',[_vm._v(_vm._s(_vm.editorError))]),_c('p',[_vm._v("Please check the browser console for more details.")])]),_vm._m(2)])]):_vm._e(),_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.isEditorReady && !_vm.editorError),expression:"isEditorReady && !editorError"}],staticClass:"premium-editor-wrapper"},[(_vm.showToolbar)?_c('div',{staticClass:"premium-toolbar-container",class:_vm.toolbarClass},[(_vm.editor)?_c('ToolbarMain',{attrs:{"editor":_vm.editor,"config":_vm.toolbarConfig,"font-families":_vm.fontFamilies,"font-sizes":_vm.fontSizes,"line-heights":_vm.lineHeights,"allowed-headings":_vm.allowedHeadings,"source-code-mode":_vm.isSourceCodeMode},on:{"execute-command":_vm.executeCommand,"insert-link":_vm.openLinkModal,"insert-image":function($event){_vm.showImageModal = true},"insert-video":function($event){_vm.showVideoModal = true},"clear-formatting":_vm.clearFormatting,"toggle-source-code":_vm.toggleSourceCode}}):_c('div',{staticClass:"toolbar-loading"},[_c('div',{staticClass:"toolbar-loading-content"},[_c('div',{staticClass:"loading-spinner-small"}),_c('span',[_vm._v("Loading toolbar...")])])])],1):_vm._e(),_c('div',{staticClass:"premium-editor-content",class:_vm.contentClass,style:(_vm.contentStyles)},[_c('editor-content',{directives:[{name:"show",rawName:"v-show",value:(!_vm.isSourceCodeMode),expression:"!isSourceCodeMode"}],staticClass:"bbl-editor-area",style:(_vm.editorStyles),attrs:{"editor":_vm.editor}}),_c('textarea',{directives:[{name:"show",rawName:"v-show",value:(_vm.isSourceCodeMode),expression:"isSourceCodeMode"},{name:"model",rawName:"v-model",value:(_vm.sourceCode),expression:"sourceCode"}],staticClass:"source-code-editor",style:(_vm.editorStyles),attrs:{"spellcheck":_vm.spellcheck},domProps:{"value":(_vm.sourceCode)},on:{"input":[function($event){if($event.target.composing){ return; }_vm.sourceCode=$event.target.value},_vm.updateFromSourceCode]}})],1),(_vm.
|
|
31846
|
+
]},[(!_vm.isEditorReady && !_vm.editorError)?_c('div',{staticClass:"editor-loading"},[_c('div',{staticClass:"loading-spinner"}),_c('p',[_vm._v("Loading Premium Editor...")])]):_vm._e(),(_vm.editorError)?_c('div',{staticClass:"editor-error"},[_c('div',{staticClass:"error-icon"},[_vm._v("⚠️")]),_c('div',{staticClass:"error-content"},[_c('h3',[_vm._v("Editor Failed to Load")]),(_vm.missingDependencies.length > 0)?_c('div',{staticClass:"missing-deps"},[_vm._m(0),_c('ul',_vm._l((_vm.missingDependencies),function(dep){return _c('li',{key:dep},[_vm._v(_vm._s(dep))])}),0),_vm._m(1)]):_c('div',{staticClass:"generic-error"},[_c('p',[_vm._v(_vm._s(_vm.editorError))]),_c('p',[_vm._v("Please check the browser console for more details.")])]),_vm._m(2)])]):_vm._e(),_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.isEditorReady && !_vm.editorError),expression:"isEditorReady && !editorError"}],staticClass:"premium-editor-wrapper"},[(_vm.showToolbar)?_c('div',{staticClass:"premium-toolbar-container",class:_vm.toolbarClass},[(_vm.editor)?_c('ToolbarMain',{attrs:{"editor":_vm.editor,"config":_vm.toolbarConfig,"font-families":_vm.fontFamilies,"font-sizes":_vm.fontSizes,"line-heights":_vm.lineHeights,"allowed-headings":_vm.allowedHeadings,"source-code-mode":_vm.isSourceCodeMode},on:{"execute-command":_vm.executeCommand,"insert-link":_vm.openLinkModal,"insert-image":function($event){_vm.showImageModal = true},"insert-video":function($event){_vm.showVideoModal = true},"clear-formatting":_vm.clearFormatting,"toggle-source-code":_vm.toggleSourceCode}}):_c('div',{staticClass:"toolbar-loading"},[_c('div',{staticClass:"toolbar-loading-content"},[_c('div',{staticClass:"loading-spinner-small"}),_c('span',[_vm._v("Loading toolbar...")])])])],1):_vm._e(),_c('div',{staticClass:"premium-editor-content",class:_vm.contentClass,style:(_vm.contentStyles)},[_c('editor-content',{directives:[{name:"show",rawName:"v-show",value:(!_vm.isSourceCodeMode),expression:"!isSourceCodeMode"}],staticClass:"bbl-editor-area",style:(_vm.editorStyles),attrs:{"editor":_vm.editor}}),_c('textarea',{directives:[{name:"show",rawName:"v-show",value:(_vm.isSourceCodeMode),expression:"isSourceCodeMode"},{name:"model",rawName:"v-model",value:(_vm.sourceCode),expression:"sourceCode"}],staticClass:"source-code-editor",style:(_vm.editorStyles),attrs:{"spellcheck":_vm.spellcheck},domProps:{"value":(_vm.sourceCode)},on:{"input":[function($event){if($event.target.composing){ return; }_vm.sourceCode=$event.target.value},_vm.updateFromSourceCode]}})],1),(_vm.shouldShowBubbleMenu && _vm.editor)?_c('EditorBubbleMenu',{attrs:{"editor":_vm.editor,"config":_vm.toolbarConfig},on:{"execute-command":_vm.executeCommand,"insert-link":_vm.openLinkModal}}):_vm._e(),(_vm.showTableBubbleMenu && _vm.editor)?_c('TableBubbleMenu',{attrs:{"editor":_vm.editor}}):_vm._e(),(_vm.showImageBubbleMenu && _vm.editor)?_c('ImageBubbleMenu',{attrs:{"editor":_vm.editor}}):_vm._e(),(_vm.showLinkBubbleMenu && _vm.editor)?_c('LinkBubbleMenu',{attrs:{"editor":_vm.editor},on:{"edit-link":_vm.openLinkModal}}):_vm._e(),(_vm.showVideoBubbleMenu && _vm.editor)?_c('VideoBubbleMenu',{attrs:{"editor":_vm.editor}}):_vm._e()],1),_c('LinkModal',{attrs:{"visible":_vm.showLinkModal,"initial-text":_vm.linkModalData.text,"initial-url":_vm.linkModalData.url,"initial-target":_vm.linkModalData.target},on:{"close":function($event){_vm.showLinkModal = false},"insert":_vm.insertLink,"remove":_vm.removeLink}}),_c('ImageModal',{attrs:{"visible":_vm.showImageModal,"upload-handler":_vm.uploadHandler || _vm.defaultImageUpload,"upload-manager":_vm.uploadManager,"max-file-size":_vm.maxFileSize,"allowed-types":_vm.allowedImageTypes},on:{"close":function($event){_vm.showImageModal = false},"insert":_vm.insertImage}}),_c('VideoModal',{attrs:{"visible":_vm.showVideoModal,"upload-handler":_vm.uploadHandler || _vm.defaultVideoUpload,"upload-manager":_vm.uploadManager,"max-file-size":_vm.maxFileSize,"allowed-types":_vm.allowedVideoTypes},on:{"close":function($event){_vm.showVideoModal = false},"insert":_vm.insertVideo}})],1)}
|
|
30958
31847
|
var staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('p',[_c('strong',[_vm._v("Missing Dependencies:")])])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"install-command"},[_c('p',[_c('strong',[_vm._v("Quick Fix:")])]),_c('code',[_vm._v("npm install @vue/composition-api @tiptap/core @tiptap/vue-2 @tiptap/starter-kit @tiptap/extension-text-style @tiptap/extension-color @tiptap/extension-highlight @tiptap/extension-underline @tiptap/extension-text-align @tiptap/extension-link @tiptap/extension-font-family @tiptap/extension-code @tiptap/extension-code-block @tiptap/extension-table @tiptap/extension-table-row @tiptap/extension-table-cell @tiptap/extension-table-header @tiptap/extension-task-list @tiptap/extension-task-item @tiptap/extension-placeholder")])])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"help-links"},[_c('a',{attrs:{"href":"https://github.com/kazi-shahin/vue2-bbl-editor#quick-setup","target":"_blank"}},[_vm._v("📖 Setup Guide")]),_c('a',{attrs:{"href":"https://github.com/kazi-shahin/vue2-bbl-editor/blob/main/TROUBLESHOOTING.md","target":"_blank"}},[_vm._v("🔧 Troubleshooting")])])}]
|
|
30959
31848
|
|
|
30960
31849
|
|
|
30961
|
-
// CONCATENATED MODULE: ./src/components/PremiumBblEditorOptionsAPI.vue?vue&type=template&id=
|
|
31850
|
+
// CONCATENATED MODULE: ./src/components/PremiumBblEditorOptionsAPI.vue?vue&type=template&id=014f2470&scoped=true
|
|
30962
31851
|
|
|
30963
31852
|
// EXTERNAL MODULE: external "@tiptap/vue-2"
|
|
30964
31853
|
var vue_2_ = __webpack_require__("9637");
|
|
@@ -31054,6 +31943,9 @@ var TableBubbleMenu = __webpack_require__("521c");
|
|
|
31054
31943
|
// EXTERNAL MODULE: ./src/components/Menus/ImageBubbleMenu.vue + 4 modules
|
|
31055
31944
|
var ImageBubbleMenu = __webpack_require__("af21");
|
|
31056
31945
|
|
|
31946
|
+
// EXTERNAL MODULE: ./src/components/Menus/LinkBubbleMenu.vue + 4 modules
|
|
31947
|
+
var LinkBubbleMenu = __webpack_require__("215c");
|
|
31948
|
+
|
|
31057
31949
|
// EXTERNAL MODULE: ./src/components/Menus/VideoBubbleMenu.vue + 4 modules
|
|
31058
31950
|
var VideoBubbleMenu = __webpack_require__("85d2");
|
|
31059
31951
|
|
|
@@ -31281,6 +32173,14 @@ function _toPrimitive(t, r) {
|
|
|
31281
32173
|
//
|
|
31282
32174
|
//
|
|
31283
32175
|
//
|
|
32176
|
+
//
|
|
32177
|
+
//
|
|
32178
|
+
//
|
|
32179
|
+
//
|
|
32180
|
+
//
|
|
32181
|
+
//
|
|
32182
|
+
//
|
|
32183
|
+
|
|
31284
32184
|
|
|
31285
32185
|
|
|
31286
32186
|
|
|
@@ -31453,6 +32353,7 @@ var LineHeight = core_["Extension"].create({
|
|
|
31453
32353
|
EditorBubbleMenu: BubbleMenu["a" /* default */],
|
|
31454
32354
|
TableBubbleMenu: TableBubbleMenu["a" /* default */],
|
|
31455
32355
|
ImageBubbleMenu: ImageBubbleMenu["a" /* default */],
|
|
32356
|
+
LinkBubbleMenu: LinkBubbleMenu["a" /* default */],
|
|
31456
32357
|
VideoBubbleMenu: VideoBubbleMenu["a" /* default */],
|
|
31457
32358
|
ImageModal: ImageModal["a" /* default */],
|
|
31458
32359
|
VideoModal: VideoModal["a" /* default */],
|
|
@@ -31512,6 +32413,10 @@ var LineHeight = core_["Extension"].create({
|
|
|
31512
32413
|
type: Boolean,
|
|
31513
32414
|
default: true
|
|
31514
32415
|
},
|
|
32416
|
+
showLinkBubbleMenu: {
|
|
32417
|
+
type: Boolean,
|
|
32418
|
+
default: true
|
|
32419
|
+
},
|
|
31515
32420
|
showVideoBubbleMenu: {
|
|
31516
32421
|
type: Boolean,
|
|
31517
32422
|
default: true
|
|
@@ -31749,6 +32654,9 @@ var LineHeight = core_["Extension"].create({
|
|
|
31749
32654
|
};
|
|
31750
32655
|
},
|
|
31751
32656
|
computed: {
|
|
32657
|
+
shouldShowBubbleMenu: function shouldShowBubbleMenu() {
|
|
32658
|
+
return this.showBubbleMenu && !this.showLinkModal;
|
|
32659
|
+
},
|
|
31752
32660
|
currentContent: function currentContent() {
|
|
31753
32661
|
if (!this.editor) return '';
|
|
31754
32662
|
var outputFormat = this.outputFormat || 'html';
|
|
@@ -32687,8 +33595,8 @@ var LineHeight = core_["Extension"].create({
|
|
|
32687
33595
|
});
|
|
32688
33596
|
// CONCATENATED MODULE: ./src/components/PremiumBblEditorOptionsAPI.vue?vue&type=script&lang=js
|
|
32689
33597
|
/* harmony default export */ var components_PremiumBblEditorOptionsAPIvue_type_script_lang_js = (PremiumBblEditorOptionsAPIvue_type_script_lang_js);
|
|
32690
|
-
// EXTERNAL MODULE: ./src/components/PremiumBblEditorOptionsAPI.vue?vue&type=style&index=0&id=
|
|
32691
|
-
var
|
|
33598
|
+
// EXTERNAL MODULE: ./src/components/PremiumBblEditorOptionsAPI.vue?vue&type=style&index=0&id=014f2470&prod&scoped=true&lang=css
|
|
33599
|
+
var PremiumBblEditorOptionsAPIvue_type_style_index_0_id_014f2470_prod_scoped_true_lang_css = __webpack_require__("693d");
|
|
32692
33600
|
|
|
32693
33601
|
// EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
|
|
32694
33602
|
var componentNormalizer = __webpack_require__("2877");
|
|
@@ -32708,7 +33616,7 @@ var component = Object(componentNormalizer["a" /* default */])(
|
|
|
32708
33616
|
staticRenderFns,
|
|
32709
33617
|
false,
|
|
32710
33618
|
null,
|
|
32711
|
-
"
|
|
33619
|
+
"014f2470",
|
|
32712
33620
|
null
|
|
32713
33621
|
|
|
32714
33622
|
)
|