@iankibetsh/shframework 0.2.5 → 0.3.7
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 -4
- package/dist/library.mjs +4 -4
- package/package.json +2 -2
package/dist/library.js
CHANGED
|
@@ -1777,9 +1777,9 @@ var script$5 = {
|
|
|
1777
1777
|
const selects = ['gender', 'payment_method', 'allow_view_mode', 'reasons_name', 'has_free_tier', 'payment_period', 'role', 'register_as', 'account_type'];
|
|
1778
1778
|
const numbers = ['age'];
|
|
1779
1779
|
const datePickers = ['free_tier_days', 'recurring_date', 'date', 'paid_at'];
|
|
1780
|
-
let
|
|
1781
|
-
if(this.editors){
|
|
1782
|
-
|
|
1780
|
+
let realEditors = ['html_content', 'listing_description', 'mail', 'comment'];
|
|
1781
|
+
if(this.editors && this.editors.includes(field)){
|
|
1782
|
+
return 'editor'
|
|
1783
1783
|
}
|
|
1784
1784
|
const mapLocations = ['building_location'];
|
|
1785
1785
|
const files = ['file', 'logo'];
|
|
@@ -1805,7 +1805,7 @@ var script$5 = {
|
|
|
1805
1805
|
if (mapLocations.includes(field)) {
|
|
1806
1806
|
return 'location'
|
|
1807
1807
|
}
|
|
1808
|
-
if (
|
|
1808
|
+
if (realEditors.includes(field)) {
|
|
1809
1809
|
return 'editor'
|
|
1810
1810
|
}
|
|
1811
1811
|
if (numbers.includes(field)) {
|
package/dist/library.mjs
CHANGED
|
@@ -1765,9 +1765,9 @@ var script$5 = {
|
|
|
1765
1765
|
const selects = ['gender', 'payment_method', 'allow_view_mode', 'reasons_name', 'has_free_tier', 'payment_period', 'role', 'register_as', 'account_type'];
|
|
1766
1766
|
const numbers = ['age'];
|
|
1767
1767
|
const datePickers = ['free_tier_days', 'recurring_date', 'date', 'paid_at'];
|
|
1768
|
-
let
|
|
1769
|
-
if(this.editors){
|
|
1770
|
-
|
|
1768
|
+
let realEditors = ['html_content', 'listing_description', 'mail', 'comment'];
|
|
1769
|
+
if(this.editors && this.editors.includes(field)){
|
|
1770
|
+
return 'editor'
|
|
1771
1771
|
}
|
|
1772
1772
|
const mapLocations = ['building_location'];
|
|
1773
1773
|
const files = ['file', 'logo'];
|
|
@@ -1793,7 +1793,7 @@ var script$5 = {
|
|
|
1793
1793
|
if (mapLocations.includes(field)) {
|
|
1794
1794
|
return 'location'
|
|
1795
1795
|
}
|
|
1796
|
-
if (
|
|
1796
|
+
if (realEditors.includes(field)) {
|
|
1797
1797
|
return 'editor'
|
|
1798
1798
|
}
|
|
1799
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.7",
|
|
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"
|