| @@ -1,17 +1,11 @@ | ||
| 1 | 1 | 'use strict'; |
| 2 | 2 | |
| 3 | -var _typeof2 = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; | |
| 3 | +var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; | |
| 4 | 4 | |
| 5 | -var _typeof = typeof Symbol === "function" && _typeof2(Symbol.iterator) === "symbol" ? function (obj) { | |
| 6 | - return typeof obj === "undefined" ? "undefined" : _typeof2(obj); | |
| 7 | -} : function (obj) { | |
| 8 | - return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj === "undefined" ? "undefined" : _typeof2(obj); | |
| 9 | -}; | |
| 10 | - | |
| 11 | -/*! | |
| 12 | -weForms - v1.4.6 | |
| 13 | -Generated: 2020-03-06 (1583433044699) | |
| 5 | +/*! | |
| 6 | +weForms - v1.4.6 | |
| 7 | +Generated: 2020-03-06 (1583433044699) | |
| 14 | 8 | */ |
| 15 | 9 | |
| 16 | 10 | ;(function ($) { |
| 17 | 11 | /* ./assets/spa/components/component-table/index.js */ |
| @@ -40,8 +34,9 @@ | ||
| 40 | 34 | created: function created() { |
| 41 | 35 | this.fetchData(); |
| 42 | 36 | }, |
| 43 | 37 | |
| 38 | + | |
| 44 | 39 | computed: { |
| 45 | 40 | columnLength: function columnLength() { |
| 46 | 41 | return Object.keys(this.columns).length; |
| 47 | 42 | } |
| @@ -268,11 +263,11 @@ | ||
| 268 | 263 | this.fetchForm(); |
| 269 | 264 | |
| 270 | 265 | this.$store.commit('panel_add_show_prop'); |
| 271 | 266 | |
| 272 | - /** | |
| 273 | - * This is the event hub we'll use in every | |
| 274 | - * component to communicate between them | |
| 267 | + /** | |
| 268 | + * This is the event hub we'll use in every | |
| 269 | + * component to communicate between them | |
| 275 | 270 | */ |
| 276 | 271 | wpuf_form_builder.event_hub = new Vue(); |
| 277 | 272 | }, |
| 278 | 273 | |
| @@ -1190,14 +1185,8 @@ | ||
| 1190 | 1185 | /* ./assets/spa/components/weforms-page-help/index.js */ |
| 1191 | 1186 | weForms.routeComponents.Help = { |
| 1192 | 1187 | template: '#tmpl-wpuf-weforms-page-help' |
| 1193 | 1188 | }; |
| 1194 | - | |
| 1195 | - /* ./assets/spa/components/weforms-page-privacy/index.js */ | |
| 1196 | - weForms.routeComponents.Privacy = { | |
| 1197 | - template: '#tmpl-wpuf-weforms-page-privacy' | |
| 1198 | - }; | |
| 1199 | - | |
| 1200 | 1189 | /* ./assets/spa/components/weforms-premium/index.js */ |
| 1201 | 1190 | weForms.routeComponents.Premium = { |
| 1202 | 1191 | template: '#tmpl-wpuf-weforms-premium', |
| 1203 | 1192 | data: function data() { |
| @@ -1403,10 +1392,10 @@ | ||
| 1403 | 1392 | rect.right <= (window.innerWidth || document.documentElement.clientWidth) /*or $(window).width() */ |
| 1404 | 1393 | ; |
| 1405 | 1394 | } |
| 1406 | 1395 | |
| 1407 | - /** | |
| 1408 | - * Vuex Store data | |
| 1396 | + /** | |
| 1397 | + * Vuex Store data | |
| 1409 | 1398 | */ |
| 1410 | 1399 | var wpuf_form_builder_store = new Vuex.Store({ |
| 1411 | 1400 | state: { |
| 1412 | 1401 | post: {}, |
| @@ -1740,17 +1729,17 @@ | ||
| 1740 | 1729 | weForms.routeComponents.FormEntriesHome = { |
| 1741 | 1730 | template: '<div><router-view class="grand-child"></router-view></div>' |
| 1742 | 1731 | }; |
| 1743 | 1732 | |
| 1744 | - /** | |
| 1745 | - * Parse the route array and bind required components | |
| 1746 | - * | |
| 1747 | - * This changes the weForms.routes array and changes the components | |
| 1748 | - * so we can use weForms.routeComponents.{compontent} component. | |
| 1749 | - * | |
| 1750 | - * @param {array} routes | |
| 1751 | - * | |
| 1752 | - * @return {void} | |
| 1733 | + /** | |
| 1734 | + * Parse the route array and bind required components | |
| 1735 | + * | |
| 1736 | + * This changes the weForms.routes array and changes the components | |
| 1737 | + * so we can use weForms.routeComponents.{compontent} component. | |
| 1738 | + * | |
| 1739 | + * @param {array} routes | |
| 1740 | + * | |
| 1741 | + * @return {void} | |
| 1753 | 1742 | */ |
| 1754 | 1743 | function parseRouteComponent(routes) { |
| 1755 | 1744 | |
| 1756 | 1745 | for (var i = 0; i < routes.length; i++) { |