@iankibetsh/shframework 0.2.4 → 0.3.6
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/library.js +4 -6
- package/dist/library.mjs +4 -6
- package/package.json +2 -2
package/dist/library.js
CHANGED
|
@@ -1701,13 +1701,11 @@ function render$6(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1701
1701
|
const _component_editor = vue.resolveComponent("editor");
|
|
1702
1702
|
|
|
1703
1703
|
return (vue.openBlock(), vue.createElementBlock(vue.Fragment, null, [
|
|
1704
|
-
vue.createCommentVNode(" <ckeditor @input=\"updateValue\" :editor=\"editor\" v-model=\"editorData\" :config=\"editorConfig\"></ckeditor>"),
|
|
1705
1704
|
_hoisted_1$6,
|
|
1706
1705
|
vue.createElementVNode("div", {
|
|
1707
1706
|
onFocusin: _cache[1] || (_cache[1] = vue.withModifiers(() => {}, ["stop"])),
|
|
1708
1707
|
class: "sh-editor w-100"
|
|
1709
1708
|
}, [
|
|
1710
|
-
vue.createCommentVNode(" MCE editor placed here "),
|
|
1711
1709
|
vue.createVNode(_component_editor, {
|
|
1712
1710
|
class: "tinyEditor",
|
|
1713
1711
|
"api-key": "v5otxmculqf59xfg2bqr2ucw56cbqgbqo4x9gym2kwbv1rvi",
|
|
@@ -1779,9 +1777,9 @@ var script$5 = {
|
|
|
1779
1777
|
const selects = ['gender', 'payment_method', 'allow_view_mode', 'reasons_name', 'has_free_tier', 'payment_period', 'role', 'register_as', 'account_type'];
|
|
1780
1778
|
const numbers = ['age'];
|
|
1781
1779
|
const datePickers = ['free_tier_days', 'recurring_date', 'date', 'paid_at'];
|
|
1782
|
-
let
|
|
1783
|
-
if(this.editors){
|
|
1784
|
-
|
|
1780
|
+
let realEditors = ['html_content', 'listing_description', 'mail', 'comment'];
|
|
1781
|
+
if(this.editors && this.editors.include(field)){
|
|
1782
|
+
return 'editor'
|
|
1785
1783
|
}
|
|
1786
1784
|
const mapLocations = ['building_location'];
|
|
1787
1785
|
const files = ['file', 'logo'];
|
|
@@ -1807,7 +1805,7 @@ var script$5 = {
|
|
|
1807
1805
|
if (mapLocations.includes(field)) {
|
|
1808
1806
|
return 'location'
|
|
1809
1807
|
}
|
|
1810
|
-
if (
|
|
1808
|
+
if (realEditors.includes(field)) {
|
|
1811
1809
|
return 'editor'
|
|
1812
1810
|
}
|
|
1813
1811
|
if (numbers.includes(field)) {
|
package/dist/library.mjs
CHANGED
|
@@ -1689,13 +1689,11 @@ function render$6(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1689
1689
|
const _component_editor = resolveComponent("editor");
|
|
1690
1690
|
|
|
1691
1691
|
return (openBlock(), createElementBlock(Fragment, null, [
|
|
1692
|
-
createCommentVNode(" <ckeditor @input=\"updateValue\" :editor=\"editor\" v-model=\"editorData\" :config=\"editorConfig\"></ckeditor>"),
|
|
1693
1692
|
_hoisted_1$6,
|
|
1694
1693
|
createElementVNode("div", {
|
|
1695
1694
|
onFocusin: _cache[1] || (_cache[1] = withModifiers(() => {}, ["stop"])),
|
|
1696
1695
|
class: "sh-editor w-100"
|
|
1697
1696
|
}, [
|
|
1698
|
-
createCommentVNode(" MCE editor placed here "),
|
|
1699
1697
|
createVNode(_component_editor, {
|
|
1700
1698
|
class: "tinyEditor",
|
|
1701
1699
|
"api-key": "v5otxmculqf59xfg2bqr2ucw56cbqgbqo4x9gym2kwbv1rvi",
|
|
@@ -1767,9 +1765,9 @@ var script$5 = {
|
|
|
1767
1765
|
const selects = ['gender', 'payment_method', 'allow_view_mode', 'reasons_name', 'has_free_tier', 'payment_period', 'role', 'register_as', 'account_type'];
|
|
1768
1766
|
const numbers = ['age'];
|
|
1769
1767
|
const datePickers = ['free_tier_days', 'recurring_date', 'date', 'paid_at'];
|
|
1770
|
-
let
|
|
1771
|
-
if(this.editors){
|
|
1772
|
-
|
|
1768
|
+
let realEditors = ['html_content', 'listing_description', 'mail', 'comment'];
|
|
1769
|
+
if(this.editors && this.editors.include(field)){
|
|
1770
|
+
return 'editor'
|
|
1773
1771
|
}
|
|
1774
1772
|
const mapLocations = ['building_location'];
|
|
1775
1773
|
const files = ['file', 'logo'];
|
|
@@ -1795,7 +1793,7 @@ var script$5 = {
|
|
|
1795
1793
|
if (mapLocations.includes(field)) {
|
|
1796
1794
|
return 'location'
|
|
1797
1795
|
}
|
|
1798
|
-
if (
|
|
1796
|
+
if (realEditors.includes(field)) {
|
|
1799
1797
|
return 'editor'
|
|
1800
1798
|
}
|
|
1801
1799
|
if (numbers.includes(field)) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@iankibetsh/shframework",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.6",
|
|
4
4
|
"description": "Vue library for handling laravel backend",
|
|
5
5
|
"main": "dist/library.js",
|
|
6
6
|
"module": "dist/library.mjs",
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"dist/*"
|
|
9
9
|
],
|
|
10
10
|
"scripts": {
|
|
11
|
-
"test": "echo \"Error: no test
|
|
11
|
+
"test": "echo \"Error: no test specifieds\" && exit 1",
|
|
12
12
|
"build": "rollup -c",
|
|
13
13
|
"docs:dev": "vuepress dev docs",
|
|
14
14
|
"docs:build": "vuepress build docs"
|