lib-pajakio-v2 1.0.30 → 1.0.31
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/lib-pajakio-v2.common.js +80 -68
- package/dist/lib-pajakio-v2.common.js.map +1 -1
- package/dist/lib-pajakio-v2.css +1 -1
- package/dist/lib-pajakio-v2.umd.js +80 -68
- package/dist/lib-pajakio-v2.umd.js.map +1 -1
- package/dist/lib-pajakio-v2.umd.min.js +1 -1
- package/dist/lib-pajakio-v2.umd.min.js.map +1 -1
- package/package.json +1 -1
- package/src/components/Form/FormWysiwyg.vue +21 -3
|
@@ -1013,13 +1013,6 @@ module.exports = function (input, pref) {
|
|
|
1013
1013
|
|
|
1014
1014
|
/***/ }),
|
|
1015
1015
|
|
|
1016
|
-
/***/ "4a4f":
|
|
1017
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
1018
|
-
|
|
1019
|
-
// extracted by mini-css-extract-plugin
|
|
1020
|
-
|
|
1021
|
-
/***/ }),
|
|
1022
|
-
|
|
1023
1016
|
/***/ "4aee":
|
|
1024
1017
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1025
1018
|
|
|
@@ -2129,6 +2122,13 @@ module.exports = DESCRIPTORS ? function (object, key, value) {
|
|
|
2129
2122
|
/* unused harmony reexport * */
|
|
2130
2123
|
|
|
2131
2124
|
|
|
2125
|
+
/***/ }),
|
|
2126
|
+
|
|
2127
|
+
/***/ "926f":
|
|
2128
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
2129
|
+
|
|
2130
|
+
// extracted by mini-css-extract-plugin
|
|
2131
|
+
|
|
2132
2132
|
/***/ }),
|
|
2133
2133
|
|
|
2134
2134
|
/***/ "9310":
|
|
@@ -2206,17 +2206,6 @@ module.exports = function intersection(other) {
|
|
|
2206
2206
|
};
|
|
2207
2207
|
|
|
2208
2208
|
|
|
2209
|
-
/***/ }),
|
|
2210
|
-
|
|
2211
|
-
/***/ "9684":
|
|
2212
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
2213
|
-
|
|
2214
|
-
"use strict";
|
|
2215
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_v16_dist_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_v16_dist_index_js_ref_1_1_FormWysiwyg_vue_vue_type_style_index_0_id_cb711f9e_lang_scss__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("4a4f");
|
|
2216
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_v16_dist_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_v16_dist_index_js_ref_1_1_FormWysiwyg_vue_vue_type_style_index_0_id_cb711f9e_lang_scss__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_v16_dist_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_v16_dist_index_js_ref_1_1_FormWysiwyg_vue_vue_type_style_index_0_id_cb711f9e_lang_scss__WEBPACK_IMPORTED_MODULE_0__);
|
|
2217
|
-
/* unused harmony reexport * */
|
|
2218
|
-
|
|
2219
|
-
|
|
2220
2209
|
/***/ }),
|
|
2221
2210
|
|
|
2222
2211
|
/***/ "9961":
|
|
@@ -2944,6 +2933,17 @@ module.exports = isCallable(WeakMap) && /native code/.test(String(WeakMap));
|
|
|
2944
2933
|
|
|
2945
2934
|
// extracted by mini-css-extract-plugin
|
|
2946
2935
|
|
|
2936
|
+
/***/ }),
|
|
2937
|
+
|
|
2938
|
+
/***/ "cfe2":
|
|
2939
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
2940
|
+
|
|
2941
|
+
"use strict";
|
|
2942
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_v16_dist_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_v16_dist_index_js_ref_1_1_FormWysiwyg_vue_vue_type_style_index_0_id_accc697c_lang_scss__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("926f");
|
|
2943
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_v16_dist_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_v16_dist_index_js_ref_1_1_FormWysiwyg_vue_vue_type_style_index_0_id_accc697c_lang_scss__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_v16_dist_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_v16_dist_index_js_ref_1_1_FormWysiwyg_vue_vue_type_style_index_0_id_accc697c_lang_scss__WEBPACK_IMPORTED_MODULE_0__);
|
|
2944
|
+
/* unused harmony reexport * */
|
|
2945
|
+
|
|
2946
|
+
|
|
2947
2947
|
/***/ }),
|
|
2948
2948
|
|
|
2949
2949
|
/***/ "cfe9":
|
|
@@ -43041,74 +43041,74 @@ var FormTextareavue_type_style_index_0_id_4b6a6dc5_lang_scss = __webpack_require
|
|
|
43041
43041
|
const FormTextarea_exports_ = /*#__PURE__*/exportHelper_default()(FormTextareavue_type_script_lang_js, [['render',FormTextareavue_type_template_id_4b6a6dc5_render]])
|
|
43042
43042
|
|
|
43043
43043
|
/* harmony default export */ var FormTextarea = (FormTextarea_exports_);
|
|
43044
|
-
// 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/vue-loader-v16/dist/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader-v16/dist??ref--1-1!./src/components/Form/FormWysiwyg.vue?vue&type=template&id=
|
|
43044
|
+
// 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/vue-loader-v16/dist/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader-v16/dist??ref--1-1!./src/components/Form/FormWysiwyg.vue?vue&type=template&id=accc697c
|
|
43045
43045
|
|
|
43046
|
-
const
|
|
43046
|
+
const FormWysiwygvue_type_template_id_accc697c_hoisted_1 = {
|
|
43047
43047
|
class: "form-wysiwyg flex flex-col"
|
|
43048
43048
|
};
|
|
43049
|
-
const
|
|
43049
|
+
const FormWysiwygvue_type_template_id_accc697c_hoisted_2 = {
|
|
43050
43050
|
class: "w-full"
|
|
43051
43051
|
};
|
|
43052
|
-
const
|
|
43052
|
+
const FormWysiwygvue_type_template_id_accc697c_hoisted_3 = {
|
|
43053
43053
|
key: 0,
|
|
43054
43054
|
class: "toolbar"
|
|
43055
43055
|
};
|
|
43056
|
-
const
|
|
43056
|
+
const FormWysiwygvue_type_template_id_accc697c_hoisted_4 = {
|
|
43057
43057
|
key: 0,
|
|
43058
43058
|
class: "toolbar-divider"
|
|
43059
43059
|
};
|
|
43060
|
-
const
|
|
43061
|
-
const
|
|
43060
|
+
const FormWysiwygvue_type_template_id_accc697c_hoisted_5 = ["disabled", "title"];
|
|
43061
|
+
const FormWysiwygvue_type_template_id_accc697c_hoisted_6 = {
|
|
43062
43062
|
class: "icon-picker-tabs"
|
|
43063
43063
|
};
|
|
43064
|
-
const
|
|
43065
|
-
const
|
|
43064
|
+
const FormWysiwygvue_type_template_id_accc697c_hoisted_7 = ["title", "onClick"];
|
|
43065
|
+
const FormWysiwygvue_type_template_id_accc697c_hoisted_8 = {
|
|
43066
43066
|
class: "icon-picker-search"
|
|
43067
43067
|
};
|
|
43068
|
-
const
|
|
43068
|
+
const FormWysiwygvue_type_template_id_accc697c_hoisted_9 = {
|
|
43069
43069
|
class: "icon-picker-color"
|
|
43070
43070
|
};
|
|
43071
|
-
const
|
|
43072
|
-
const
|
|
43071
|
+
const FormWysiwygvue_type_template_id_accc697c_hoisted_10 = ["title", "onClick"];
|
|
43072
|
+
const FormWysiwygvue_type_template_id_accc697c_hoisted_11 = {
|
|
43073
43073
|
class: "icon-picker-color-custom"
|
|
43074
43074
|
};
|
|
43075
|
-
const
|
|
43075
|
+
const FormWysiwygvue_type_template_id_accc697c_hoisted_12 = {
|
|
43076
43076
|
class: "icon-picker-list"
|
|
43077
43077
|
};
|
|
43078
|
-
const
|
|
43078
|
+
const FormWysiwygvue_type_template_id_accc697c_hoisted_13 = {
|
|
43079
43079
|
class: "icon-picker-section-title"
|
|
43080
43080
|
};
|
|
43081
|
-
const
|
|
43081
|
+
const FormWysiwygvue_type_template_id_accc697c_hoisted_14 = {
|
|
43082
43082
|
class: "icon-picker-grid"
|
|
43083
43083
|
};
|
|
43084
|
-
const
|
|
43085
|
-
const
|
|
43084
|
+
const FormWysiwygvue_type_template_id_accc697c_hoisted_15 = ["title", "onClick"];
|
|
43085
|
+
const FormWysiwygvue_type_template_id_accc697c_hoisted_16 = {
|
|
43086
43086
|
key: 0,
|
|
43087
43087
|
class: "icon-picker-empty"
|
|
43088
43088
|
};
|
|
43089
|
-
const
|
|
43090
|
-
const
|
|
43091
|
-
const
|
|
43092
|
-
const
|
|
43089
|
+
const FormWysiwygvue_type_template_id_accc697c_hoisted_17 = ["disabled", "title", "value", "onChange"];
|
|
43090
|
+
const FormWysiwygvue_type_template_id_accc697c_hoisted_18 = ["value"];
|
|
43091
|
+
const FormWysiwygvue_type_template_id_accc697c_hoisted_19 = ["disabled", "title", "onClick"];
|
|
43092
|
+
const FormWysiwygvue_type_template_id_accc697c_hoisted_20 = {
|
|
43093
43093
|
key: 1,
|
|
43094
43094
|
class: "toolbar-text"
|
|
43095
43095
|
};
|
|
43096
|
-
const
|
|
43097
|
-
const
|
|
43098
|
-
function
|
|
43096
|
+
const FormWysiwygvue_type_template_id_accc697c_hoisted_21 = ["contenteditable", "data-placeholder"];
|
|
43097
|
+
const FormWysiwygvue_type_template_id_accc697c_hoisted_22 = ["innerHTML"];
|
|
43098
|
+
function FormWysiwygvue_type_template_id_accc697c_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
43099
43099
|
const _component_base_icon = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["resolveComponent"])("base-icon");
|
|
43100
|
-
return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("div",
|
|
43100
|
+
return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("div", FormWysiwygvue_type_template_id_accc697c_hoisted_1, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", {
|
|
43101
43101
|
class: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["normalizeClass"])(`label-${$props.labelPosition}`)
|
|
43102
|
-
}, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["renderSlot"])(_ctx.$slots, "label"), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div",
|
|
43102
|
+
}, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["renderSlot"])(_ctx.$slots, "label"), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", FormWysiwygvue_type_template_id_accc697c_hoisted_2, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", {
|
|
43103
43103
|
class: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["normalizeClass"])(["editor-group", {
|
|
43104
43104
|
error: $props.error,
|
|
43105
43105
|
disabled: $props.disabled,
|
|
43106
43106
|
readonly: $props.readonly && !$props.disabled
|
|
43107
43107
|
}])
|
|
43108
|
-
}, [$props.showToolbar ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("div",
|
|
43108
|
+
}, [$props.showToolbar ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("div", FormWysiwygvue_type_template_id_accc697c_hoisted_3, [(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(true), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])(external_commonjs_vue_commonjs2_vue_root_Vue_["Fragment"], null, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["renderList"])($options.resolvedToolbar, (item, index) => {
|
|
43109
43109
|
return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])(external_commonjs_vue_commonjs2_vue_root_Vue_["Fragment"], {
|
|
43110
43110
|
key: `${item.action}-${index}`
|
|
43111
|
-
}, [item.action === 'divider' ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("div",
|
|
43111
|
+
}, [item.action === 'divider' ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("div", FormWysiwygvue_type_template_id_accc697c_hoisted_4)) : item.action === 'insertIcon' ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("div", {
|
|
43112
43112
|
key: 1,
|
|
43113
43113
|
ref_for: true,
|
|
43114
43114
|
ref: "iconPickerRef",
|
|
@@ -43127,12 +43127,12 @@ function FormWysiwygvue_type_template_id_cb711f9e_render(_ctx, _cache, $props, $
|
|
|
43127
43127
|
width: "18",
|
|
43128
43128
|
height: "18",
|
|
43129
43129
|
color: $data.isIconPickerOpen ? '#3e7dc0' : '#59636E'
|
|
43130
|
-
}, null, 8, ["color"])], 42,
|
|
43130
|
+
}, null, 8, ["color"])], 42, FormWysiwygvue_type_template_id_accc697c_hoisted_5), $data.isIconPickerOpen ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("div", {
|
|
43131
43131
|
key: 0,
|
|
43132
43132
|
class: "icon-picker-popover",
|
|
43133
43133
|
onMousedown: _cache[5] || (_cache[5] = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withModifiers"])(() => {}, ["stop"])),
|
|
43134
43134
|
onClick: _cache[6] || (_cache[6] = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withModifiers"])(() => {}, ["stop"]))
|
|
43135
|
-
}, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div",
|
|
43135
|
+
}, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", FormWysiwygvue_type_template_id_accc697c_hoisted_6, [(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(true), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])(external_commonjs_vue_commonjs2_vue_root_Vue_["Fragment"], null, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["renderList"])($options.iconPickerTabs, category => {
|
|
43136
43136
|
return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("button", {
|
|
43137
43137
|
key: category.key,
|
|
43138
43138
|
type: "button",
|
|
@@ -43146,8 +43146,8 @@ function FormWysiwygvue_type_template_id_cb711f9e_render(_ctx, _cache, $props, $
|
|
|
43146
43146
|
width: "22",
|
|
43147
43147
|
height: "22",
|
|
43148
43148
|
color: $data.activeIconCategory === category.key ? '#20242C' : '#666D75'
|
|
43149
|
-
}, null, 8, ["iconName", "color"])], 10,
|
|
43150
|
-
}), 128))]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div",
|
|
43149
|
+
}, null, 8, ["iconName", "color"])], 10, FormWysiwygvue_type_template_id_accc697c_hoisted_7);
|
|
43150
|
+
}), 128))]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", FormWysiwygvue_type_template_id_accc697c_hoisted_8, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createVNode"])(_component_base_icon, {
|
|
43151
43151
|
iconName: "search",
|
|
43152
43152
|
width: "20",
|
|
43153
43153
|
height: "20",
|
|
@@ -43159,7 +43159,7 @@ function FormWysiwygvue_type_template_id_cb711f9e_render(_ctx, _cache, $props, $
|
|
|
43159
43159
|
type: "text",
|
|
43160
43160
|
placeholder: "Cari Icon",
|
|
43161
43161
|
onKeydown: _cache[3] || (_cache[3] = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["withKeys"])((...args) => $options.closeIconPicker && $options.closeIconPicker(...args), ["esc"]))
|
|
43162
|
-
}, null, 544), [[external_commonjs_vue_commonjs2_vue_root_Vue_["vModelText"], $data.iconSearch]])]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div",
|
|
43162
|
+
}, null, 544), [[external_commonjs_vue_commonjs2_vue_root_Vue_["vModelText"], $data.iconSearch]])]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", FormWysiwygvue_type_template_id_accc697c_hoisted_9, [_cache[19] || (_cache[19] = Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("span", {
|
|
43163
43163
|
class: "icon-picker-color-label"
|
|
43164
43164
|
}, "Warna Icon", -1)), (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(true), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])(external_commonjs_vue_commonjs2_vue_root_Vue_["Fragment"], null, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["renderList"])($props.iconColorOptions, color => {
|
|
43165
43165
|
return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("button", {
|
|
@@ -43173,8 +43173,8 @@ function FormWysiwygvue_type_template_id_cb711f9e_render(_ctx, _cache, $props, $
|
|
|
43173
43173
|
}),
|
|
43174
43174
|
title: color,
|
|
43175
43175
|
onClick: $event => $options.setSelectedIconColor(color)
|
|
43176
|
-
}, null, 14,
|
|
43177
|
-
}), 128)), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("label",
|
|
43176
|
+
}, null, 14, FormWysiwygvue_type_template_id_accc697c_hoisted_10);
|
|
43177
|
+
}), 128)), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("label", FormWysiwygvue_type_template_id_accc697c_hoisted_11, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("span", {
|
|
43178
43178
|
style: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["normalizeStyle"])({
|
|
43179
43179
|
backgroundColor: $data.selectedIconColor
|
|
43180
43180
|
})
|
|
@@ -43182,11 +43182,11 @@ function FormWysiwygvue_type_template_id_cb711f9e_render(_ctx, _cache, $props, $
|
|
|
43182
43182
|
"onUpdate:modelValue": _cache[4] || (_cache[4] = $event => $data.selectedIconColor = $event),
|
|
43183
43183
|
type: "color",
|
|
43184
43184
|
title: "Custom color"
|
|
43185
|
-
}, null, 512), [[external_commonjs_vue_commonjs2_vue_root_Vue_["vModelText"], $data.selectedIconColor]])])]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div",
|
|
43185
|
+
}, null, 512), [[external_commonjs_vue_commonjs2_vue_root_Vue_["vModelText"], $data.selectedIconColor]])])]), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", FormWysiwygvue_type_template_id_accc697c_hoisted_12, [(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(true), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])(external_commonjs_vue_commonjs2_vue_root_Vue_["Fragment"], null, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["renderList"])($options.visibleIconSections, section => {
|
|
43186
43186
|
return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("div", {
|
|
43187
43187
|
key: section.key,
|
|
43188
43188
|
class: "icon-picker-section"
|
|
43189
|
-
}, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div",
|
|
43189
|
+
}, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", FormWysiwygvue_type_template_id_accc697c_hoisted_13, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(section.label), 1), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("div", FormWysiwygvue_type_template_id_accc697c_hoisted_14, [(Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(true), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])(external_commonjs_vue_commonjs2_vue_root_Vue_["Fragment"], null, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["renderList"])(section.icons, iconName => {
|
|
43190
43190
|
return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("button", {
|
|
43191
43191
|
key: `${section.key}-${iconName}`,
|
|
43192
43192
|
type: "button",
|
|
@@ -43198,9 +43198,9 @@ function FormWysiwygvue_type_template_id_cb711f9e_render(_ctx, _cache, $props, $
|
|
|
43198
43198
|
width: "20",
|
|
43199
43199
|
height: "20",
|
|
43200
43200
|
color: $data.selectedIconColor
|
|
43201
|
-
}, null, 8, ["iconName", "color"])], 8,
|
|
43201
|
+
}, null, 8, ["iconName", "color"])], 8, FormWysiwygvue_type_template_id_accc697c_hoisted_15);
|
|
43202
43202
|
}), 128))])]);
|
|
43203
|
-
}), 128)), !$options.visibleIconSections.length ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("div",
|
|
43203
|
+
}), 128)), !$options.visibleIconSections.length ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("div", FormWysiwygvue_type_template_id_accc697c_hoisted_16, " Icon tidak ditemukan ")) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true)])], 32)) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true)], 512)) : item.type === 'select' ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("select", {
|
|
43204
43204
|
key: 2,
|
|
43205
43205
|
class: "toolbar-select",
|
|
43206
43206
|
disabled: $options.isActionDisabled(item),
|
|
@@ -43212,8 +43212,8 @@ function FormWysiwygvue_type_template_id_cb711f9e_render(_ctx, _cache, $props, $
|
|
|
43212
43212
|
return Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("option", {
|
|
43213
43213
|
key: option.value,
|
|
43214
43214
|
value: option.value
|
|
43215
|
-
}, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(option.label), 9,
|
|
43216
|
-
}), 128))], 40,
|
|
43215
|
+
}, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(option.label), 9, FormWysiwygvue_type_template_id_accc697c_hoisted_18);
|
|
43216
|
+
}), 128))], 40, FormWysiwygvue_type_template_id_accc697c_hoisted_17)) : (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("button", {
|
|
43217
43217
|
key: 3,
|
|
43218
43218
|
type: "button",
|
|
43219
43219
|
class: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["normalizeClass"])(["toolbar-button", {
|
|
@@ -43229,7 +43229,7 @@ function FormWysiwygvue_type_template_id_cb711f9e_render(_ctx, _cache, $props, $
|
|
|
43229
43229
|
width: "18",
|
|
43230
43230
|
height: "18",
|
|
43231
43231
|
color: $options.isActionActive(item) ? '#3e7dc0' : '#59636E'
|
|
43232
|
-
}, null, 8, ["iconName", "color"])) : (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("span",
|
|
43232
|
+
}, null, 8, ["iconName", "color"])) : (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("span", FormWysiwygvue_type_template_id_accc697c_hoisted_20, Object(external_commonjs_vue_commonjs2_vue_root_Vue_["toDisplayString"])(item.label), 1))], 42, FormWysiwygvue_type_template_id_accc697c_hoisted_19))], 64);
|
|
43233
43233
|
}), 128))])) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("input", {
|
|
43234
43234
|
ref: "imageInputRef",
|
|
43235
43235
|
type: "file",
|
|
@@ -43255,16 +43255,16 @@ function FormWysiwygvue_type_template_id_cb711f9e_render(_ctx, _cache, $props, $
|
|
|
43255
43255
|
onMousedown: _cache[16] || (_cache[16] = (...args) => $options.handleEditorMouseDown && $options.handleEditorMouseDown(...args)),
|
|
43256
43256
|
onMousemove: _cache[17] || (_cache[17] = (...args) => $options.handleEditorMouseMove && $options.handleEditorMouseMove(...args)),
|
|
43257
43257
|
onMouseleave: _cache[18] || (_cache[18] = (...args) => $options.handleEditorMouseLeave && $options.handleEditorMouseLeave(...args))
|
|
43258
|
-
}, null, 42,
|
|
43258
|
+
}, null, 42, FormWysiwygvue_type_template_id_accc697c_hoisted_21)], 4)], 2), $props.message ? (Object(external_commonjs_vue_commonjs2_vue_root_Vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementBlock"])("div", {
|
|
43259
43259
|
key: 0,
|
|
43260
43260
|
class: Object(external_commonjs_vue_commonjs2_vue_root_Vue_["normalizeClass"])(["helper-text", {
|
|
43261
43261
|
'error-helper': $props.error
|
|
43262
43262
|
}])
|
|
43263
43263
|
}, [Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createElementVNode"])("span", {
|
|
43264
43264
|
innerHTML: $props.message
|
|
43265
|
-
}, null, 8,
|
|
43265
|
+
}, null, 8, FormWysiwygvue_type_template_id_accc697c_hoisted_22)], 2)) : Object(external_commonjs_vue_commonjs2_vue_root_Vue_["createCommentVNode"])("", true)])], 2)]);
|
|
43266
43266
|
}
|
|
43267
|
-
// CONCATENATED MODULE: ./src/components/Form/FormWysiwyg.vue?vue&type=template&id=
|
|
43267
|
+
// CONCATENATED MODULE: ./src/components/Form/FormWysiwyg.vue?vue&type=template&id=accc697c
|
|
43268
43268
|
|
|
43269
43269
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.reduce.js
|
|
43270
43270
|
var es_array_reduce = __webpack_require__("13d5");
|
|
@@ -44358,7 +44358,12 @@ const SVG_SHAPE_SELECTOR = "path, rect, circle, ellipse, line, polyline, polygon
|
|
|
44358
44358
|
svg.setAttribute("focusable", "false");
|
|
44359
44359
|
svg.setAttribute("width", String(iconSize));
|
|
44360
44360
|
svg.setAttribute("height", String(iconSize));
|
|
44361
|
-
const
|
|
44361
|
+
const iconWrapper = document.createElement("span");
|
|
44362
|
+
iconWrapper.className = "wysiwyg-inline-icon";
|
|
44363
|
+
iconWrapper.setAttribute("data-icon-name", iconName);
|
|
44364
|
+
iconWrapper.setAttribute("contenteditable", "false");
|
|
44365
|
+
iconWrapper.appendChild(svg);
|
|
44366
|
+
const iconHtml = iconWrapper.outerHTML;
|
|
44362
44367
|
iconApp.unmount();
|
|
44363
44368
|
return this.sanitizeHtml(iconHtml);
|
|
44364
44369
|
},
|
|
@@ -44931,6 +44936,13 @@ const SVG_SHAPE_SELECTOR = "path, rect, circle, ellipse, line, polyline, polygon
|
|
|
44931
44936
|
if (className) {
|
|
44932
44937
|
element.setAttribute("class", className);
|
|
44933
44938
|
}
|
|
44939
|
+
if (tagName === "SPAN" && className.split(/\s+/).includes("wysiwyg-inline-icon")) {
|
|
44940
|
+
element.setAttribute("contenteditable", "false");
|
|
44941
|
+
const iconName = this.normalizeIconName(node.getAttribute("data-icon-name"));
|
|
44942
|
+
if (iconName) {
|
|
44943
|
+
element.setAttribute("data-icon-name", iconName);
|
|
44944
|
+
}
|
|
44945
|
+
}
|
|
44934
44946
|
const styleRules = [];
|
|
44935
44947
|
const textAlign = this.extractAllowedTextAlign(node.getAttribute("style"));
|
|
44936
44948
|
if (textAlign && ALIGNABLE_TAGS.includes(tagName)) {
|
|
@@ -45096,7 +45108,7 @@ const SVG_SHAPE_SELECTOR = "path, rect, circle, ellipse, line, polyline, polygon
|
|
|
45096
45108
|
const textContent = (inspector.textContent || "").replace(/\u200B/g, "").trim();
|
|
45097
45109
|
const hasImage = Boolean(inspector.querySelector("img"));
|
|
45098
45110
|
const hasHorizontalRule = Boolean(inspector.querySelector("hr"));
|
|
45099
|
-
const hasInlineIcon = Boolean(inspector.querySelector("
|
|
45111
|
+
const hasInlineIcon = Boolean(inspector.querySelector(".wysiwyg-inline-icon"));
|
|
45100
45112
|
if (hasImage || hasHorizontalRule || hasInlineIcon) {
|
|
45101
45113
|
return false;
|
|
45102
45114
|
}
|
|
@@ -45116,8 +45128,8 @@ const SVG_SHAPE_SELECTOR = "path, rect, circle, ellipse, line, polyline, polygon
|
|
|
45116
45128
|
});
|
|
45117
45129
|
// CONCATENATED MODULE: ./src/components/Form/FormWysiwyg.vue?vue&type=script&lang=js
|
|
45118
45130
|
|
|
45119
|
-
// EXTERNAL MODULE: ./src/components/Form/FormWysiwyg.vue?vue&type=style&index=0&id=
|
|
45120
|
-
var
|
|
45131
|
+
// EXTERNAL MODULE: ./src/components/Form/FormWysiwyg.vue?vue&type=style&index=0&id=accc697c&lang=scss
|
|
45132
|
+
var FormWysiwygvue_type_style_index_0_id_accc697c_lang_scss = __webpack_require__("cfe2");
|
|
45121
45133
|
|
|
45122
45134
|
// CONCATENATED MODULE: ./src/components/Form/FormWysiwyg.vue
|
|
45123
45135
|
|
|
@@ -45127,7 +45139,7 @@ var FormWysiwygvue_type_style_index_0_id_cb711f9e_lang_scss = __webpack_require_
|
|
|
45127
45139
|
|
|
45128
45140
|
|
|
45129
45141
|
|
|
45130
|
-
const FormWysiwyg_exports_ = /*#__PURE__*/exportHelper_default()(FormWysiwygvue_type_script_lang_js, [['render',
|
|
45142
|
+
const FormWysiwyg_exports_ = /*#__PURE__*/exportHelper_default()(FormWysiwygvue_type_script_lang_js, [['render',FormWysiwygvue_type_template_id_accc697c_render]])
|
|
45131
45143
|
|
|
45132
45144
|
/* harmony default export */ var FormWysiwyg = (FormWysiwyg_exports_);
|
|
45133
45145
|
// 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/vue-loader-v16/dist/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader-v16/dist??ref--1-1!./src/components/ExpansionPanel/index.vue?vue&type=template&id=01544323
|