PATH:
home
/
letacommog
/
laindinois
/
wp-content
/
plugins
/
wiloke-listing-tools
/
admin
/
source
/
js
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([["wil-single-sidebar"],{ /***/ "./admin/source/dev/components/WilSingleSidebar.vue": /*!**********************************************************!*\ !*** ./admin/source/dev/components/WilSingleSidebar.vue ***! \**********************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _WilSingleSidebar_vue_vue_type_template_id_6b082013___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./WilSingleSidebar.vue?vue&type=template&id=6b082013& */ \"./admin/source/dev/components/WilSingleSidebar.vue?vue&type=template&id=6b082013&\");\n/* harmony import */ var _WilSingleSidebar_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./WilSingleSidebar.vue?vue&type=script&lang=js& */ \"./admin/source/dev/components/WilSingleSidebar.vue?vue&type=script&lang=js&\");\n/* empty/unused harmony star reexport *//* harmony import */ var _node_modules_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js */ \"./node_modules/vue-loader/lib/runtime/componentNormalizer.js\");\n\n\n\n\n\n/* normalize component */\n\nvar component = Object(_node_modules_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(\n _WilSingleSidebar_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__[\"default\"],\n _WilSingleSidebar_vue_vue_type_template_id_6b082013___WEBPACK_IMPORTED_MODULE_0__[\"render\"],\n _WilSingleSidebar_vue_vue_type_template_id_6b082013___WEBPACK_IMPORTED_MODULE_0__[\"staticRenderFns\"],\n false,\n null,\n null,\n null\n \n)\n\n/* hot reload */\nif (false) { var api; }\ncomponent.options.__file = \"admin/source/dev/components/WilSingleSidebar.vue\"\n/* harmony default export */ __webpack_exports__[\"default\"] = (component.exports);\n\n//# sourceURL=webpack:///./admin/source/dev/components/WilSingleSidebar.vue?"); /***/ }), /***/ "./admin/source/dev/components/WilSingleSidebar.vue?vue&type=script&lang=js&": /*!***********************************************************************************!*\ !*** ./admin/source/dev/components/WilSingleSidebar.vue?vue&type=script&lang=js& ***! \***********************************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_babel_loader_lib_index_js_node_modules_vue_loader_lib_index_js_vue_loader_options_WilSingleSidebar_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../node_modules/babel-loader/lib!../../../../node_modules/vue-loader/lib??vue-loader-options!./WilSingleSidebar.vue?vue&type=script&lang=js& */ \"./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/lib/index.js?!./admin/source/dev/components/WilSingleSidebar.vue?vue&type=script&lang=js&\");\n/* empty/unused harmony star reexport */ /* harmony default export */ __webpack_exports__[\"default\"] = (_node_modules_babel_loader_lib_index_js_node_modules_vue_loader_lib_index_js_vue_loader_options_WilSingleSidebar_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__[\"default\"]); \n\n//# sourceURL=webpack:///./admin/source/dev/components/WilSingleSidebar.vue?"); /***/ }), /***/ "./admin/source/dev/components/WilSingleSidebar.vue?vue&type=template&id=6b082013&": /*!*****************************************************************************************!*\ !*** ./admin/source/dev/components/WilSingleSidebar.vue?vue&type=template&id=6b082013& ***! \*****************************************************************************************/ /*! exports provided: render, staticRenderFns */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_WilSingleSidebar_vue_vue_type_template_id_6b082013___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../node_modules/vue-loader/lib??vue-loader-options!./WilSingleSidebar.vue?vue&type=template&id=6b082013& */ \"./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./admin/source/dev/components/WilSingleSidebar.vue?vue&type=template&id=6b082013&\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_WilSingleSidebar_vue_vue_type_template_id_6b082013___WEBPACK_IMPORTED_MODULE_0__[\"render\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"staticRenderFns\", function() { return _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_WilSingleSidebar_vue_vue_type_template_id_6b082013___WEBPACK_IMPORTED_MODULE_0__[\"staticRenderFns\"]; });\n\n\n\n//# sourceURL=webpack:///./admin/source/dev/components/WilSingleSidebar.vue?"); /***/ }), /***/ "./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/lib/index.js?!./admin/source/dev/components/WilSingleSidebar.vue?vue&type=script&lang=js&": /*!*********************************************************************************************************************************************************************!*\ !*** ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./admin/source/dev/components/WilSingleSidebar.vue?vue&type=script&lang=js& ***! \*********************************************************************************************************************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _mixins_ModifyArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./../mixins/ModifyArray */ \"./admin/source/dev/mixins/ModifyArray.js\");\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! vuex */ \"./node_modules/vuex/dist/vuex.esm.js\");\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n // import { FormHelper } from \"./../mixins/FormHelper\";\n\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n name: \"wil-single-sidebar\",\n mixins: [_mixins_ModifyArray__WEBPACK_IMPORTED_MODULE_0__[\"ModifyArray\"]],\n\n data() {\n return {\n usingFields: [],\n allFields: {},\n availableFields: {},\n styleOptions: {},\n relatedBy: [],\n orderbyOptions: [],\n oOrderFallbackBy: WILOKE_LISTING_TOOLS.aSidebar.aOrderFallbackBy,\n postType: WILOKE_LISTING_TOOLS.postType,\n ajaxAction: WILOKE_LISTING_TOOLS.aSidebar.ajaxAction,\n orderOptions: [...WILOKE_LISTING_TOOLS.orderOptions],\n msg: \"\",\n msgType: \"\"\n };\n },\n\n created() {\n this.allFields = { ...WILOKE_LISTING_TOOLS.aSidebar.aAllSections\n };\n this.usingFields = Object.values(WILOKE_LISTING_TOOLS.aSidebar.aUsedSections);\n this.availableFields = Object.values(WILOKE_LISTING_TOOLS.aSidebar.aAvailableSections);\n this.relatedBy = WILOKE_LISTING_TOOLS.aSidebar.aRelatedBy;\n this.styleOptions = WILOKE_LISTING_TOOLS.aSidebar.aStyles;\n this.orderbyOptions = WILOKE_LISTING_TOOLS.aSidebar.aOrderBy;\n },\n\n computed: { ...Object(vuex__WEBPACK_IMPORTED_MODULE_1__[\"mapGetters\"])({\n customFields: \"AddListing/getCustomSections\",\n getSectionByKey: \"AddListing/getSectionByKey\"\n }),\n\n parsePromotionOptions() {\n if (_.isEmpty(WILOKE_LISTING_TOOLS.promotions)) {\n return [];\n }\n\n const items = WILOKE_LISTING_TOOLS.promotions.filter(item => {\n return item.id && item.id.length;\n });\n\n if (!items.length) {\n return [];\n }\n\n return items.map(item => {\n return {\n heading: item.id,\n key: item.id\n };\n });\n }\n\n },\n methods: {\n generateKey() {\n return \"taxonomy-\" + new Date().getTime();\n },\n\n handleFieldEnter(key, index) {\n return val => {\n this.handleFieldChange(key, index)(val);\n };\n },\n\n handleFieldChange(key, index) {\n return val => {\n let item = this.usingFields[index] ? { ...this.usingFields[index]\n } : {};\n item = { ...item,\n [key]: val\n };\n\n if (key === \"key\") {\n const section = this.getSectionByKey(val.replace(\"wilcity_single_sidebar_\", \"\"));\n let content = \"\";\n const isCustomField = section && (section.isCustomSection === \"yes\" || section.type === \"group\");\n\n if (isCustomField) {\n switch (section.type) {\n case \"checkbox\":\n case \"checkbox2\":\n case \"multiple-checkbox\":\n case \"select\":\n content = `[wilcity_render_${section.type}_field key={{${section.key}}} wrapper_classes={{col-sm-6 col-sm-6-clear}} title={{My Title}} description={{My description}}]`;\n break;\n\n case \"group\":\n content = `[wilcity_group_properties group_key={{${section.key}}}]`;\n break;\n\n default:\n content = `[wilcity_render_${section.type}_field key={{${section.key}}}]`;\n break;\n }\n\n item = { ...item,\n content\n };\n }\n }\n\n this.usingFields = this.replaceItem(this.usingFields, index, item);\n };\n },\n\n handleAddNew(position) {\n const item = {\n key: \"\",\n icon: \"la la-image\",\n name: \"Custom Section\",\n isCustomSection: \"yes\",\n status: \"yes\"\n };\n\n if (position === \"left\") {\n this.usingFields = [...this.usingFields, item];\n } else {\n this.usingFields = [item, ...this.usingFields];\n }\n },\n\n handleResetValue() {\n let iWantToReset = confirm(\"Do you want to reset the settings?\");\n\n if (!iWantToReset) {\n return false;\n }\n\n this.isSaving = true;\n this.msg = \"\";\n jQuery.ajax({\n type: \"POST\",\n url: ajaxurl,\n data: {\n action: \"wilcity_reset_to_default_sidebar\",\n postType: this.postType\n },\n success: response => {\n this.msg = response.data.msg;\n this.msgType = response.success ? \"success\" : \"error\";\n setTimeout(() => {\n this.msgType = \"success\";\n location.reload();\n }, 40000);\n }\n }).done(() => {\n this.isSaving = false;\n });\n },\n\n handleSaveValue() {\n this.isSaving = true;\n jQuery.ajax({\n type: \"POST\",\n url: ajaxurl,\n data: {\n data: this.usingFields,\n action: this.ajaxAction,\n postType: this.postType\n },\n success: response => {\n this.msg = response.data.msg;\n this.msgType = response.success ? \"success\" : \"error\";\n setTimeout(() => {\n this.msg = \"\";\n }, 10000);\n }\n }).done(() => {\n this.isSaving = false;\n });\n },\n\n addedNewSectionToUsedArea(el) {\n if (el.removed && el.removed.element.isNotDeleteAble) {\n this.usingFields = [...this.usingFields, { ...el.removed.element\n }];\n return false;\n }\n\n if (_.isUndefined(el.added) || el.added.element.isCustomSection !== \"yes\" && el.added.element.isDefaultSidebar !== \"yes\" && el.added.element.isClone !== \"yes\" && el.added.element.isMultipleSections != \"yes\") {\n return false;\n }\n\n this.availableFields = [...this.availableFields, { ...el.added.element\n }];\n this.usingFields = this.usingFields.filter((item, order) => {\n return el.added.element.newIndex !== order;\n });\n\n if (el.added.element.isClone === \"yes\") {\n this.usingFields = this.usingFields.map((item, order) => {\n if (el.added.newIndex === order) {\n item = { ...item,\n key: this.generateKey()\n };\n }\n\n return item;\n });\n } // this.usingFields.splice(\n // el.added.element.newIndex,\n // 1,\n // JSON.parse(JSON.stringify(el.added.element))\n // );\n\n },\n\n addedNewSectionToAvailableArea(el) {\n if (el.added && el.added.element.isClone) {\n this.availableFields = [...this.availableFields, { ...el.added.element\n }];\n return false;\n }\n },\n\n removeSection(index, field) {\n this.availableFields = [...this.availableFields, { ...field\n }];\n this.usingFields = this.removeItem(this.usingFields, index);\n }\n\n }\n});\n\n//# sourceURL=webpack:///./admin/source/dev/components/WilSingleSidebar.vue?./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options"); /***/ }), /***/ "./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./admin/source/dev/components/WilSingleSidebar.vue?vue&type=template&id=6b082013&": /*!***********************************************************************************************************************************************************************************************************************!*\ !*** ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./admin/source/dev/components/WilSingleSidebar.vue?vue&type=template&id=6b082013& ***! \***********************************************************************************************************************************************************************************************************************/ /*! exports provided: render, staticRenderFns */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return render; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"staticRenderFns\", function() { return staticRenderFns; });\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\"div\", { staticClass: \"wiloke-form-has-icon\" }, [\n _c(\"div\", { staticClass: \"drag\" }, [\n _c(\"div\", { staticClass: \"ui grid\" }, [\n _c(\"div\", { staticClass: \"sixteen wide column\" }, [\n _c(\n \"div\",\n { staticClass: \"drag__block\" },\n [\n _c(\"h3\", { staticClass: \"drag__title\" }, [\n _vm._v(\"Available Fields\")\n ]),\n _vm._v(\" \"),\n _c(\n \"draggable\",\n {\n staticClass: \"dragArea drag__avai\",\n attrs: { options: { group: { name: \"addSidebarItems\" } } },\n on: { change: _vm.addedNewSectionToAvailableArea },\n model: {\n value: _vm.availableFields,\n callback: function($$v) {\n _vm.availableFields = $$v\n },\n expression: \"availableFields\"\n }\n },\n _vm._l(_vm.availableFields, function(oSection, index) {\n return _c(\n \"div\",\n { key: index, staticClass: \"dragArea__item\" },\n [\n _c(\"span\", { staticClass: \"dragArea__item-icon\" }, [\n _c(\"i\", { staticClass: \"la la-arrows-v\" })\n ]),\n _vm._v(\" \"),\n _c(\"span\", { staticClass: \"dragArea__item-text\" }, [\n _vm._v(_vm._s(oSection.name))\n ])\n ]\n )\n }),\n 0\n )\n ],\n 1\n )\n ]),\n _vm._v(\" \"),\n _c(\"div\", { staticClass: \"sixteen wide column\" }, [\n _c(\"h3\", { staticClass: \"drag__title\" }, [_vm._v(\"Used Fields\")]),\n _vm._v(\" \"),\n _c(\n \"form\",\n { class: _vm.formClasses, attrs: { action: \"#\" } },\n [\n _c(\"wil-message\", { attrs: { msg: _vm.msg, type: \"msgType\" } }),\n _vm._v(\" \"),\n _c(\"wil-btn-controller\", {\n attrs: { \"is-disable-add-new\": false },\n on: { click: _vm.handleClick }\n }),\n _vm._v(\" \"),\n _c(\n \"draggable\",\n {\n staticClass: \"dragArea drag__used\",\n attrs: {\n options: {\n group: \"addSidebarItems\",\n handle: \".dragArea__form-title--icon\"\n }\n },\n on: { change: _vm.addedNewSectionToUsedArea },\n model: {\n value: _vm.usingFields,\n callback: function($$v) {\n _vm.usingFields = $$v\n },\n expression: \"usingFields\"\n }\n },\n _vm._l(_vm.usingFields, function(usingField, index) {\n return _c(\n \"div\",\n {\n key: \"wil-sidebar-\" + index,\n staticClass: \"dragArea__block\"\n },\n [\n _c(\n \"div\",\n {\n staticClass:\n \"dragArea__form ui form field-wrapper segment\"\n },\n [\n _c(\"wil-section-heading\", {\n attrs: { section: usingField },\n on: {\n remove: function($event) {\n return _vm.removeSection(index, usingField)\n },\n toggle: function($event) {\n return _vm.toggleSection(usingField.key)\n }\n }\n }),\n _vm._v(\" \"),\n _c(\n \"div\",\n { class: _vm.settingClasses(usingField.key) },\n [\n usingField.desc\n ? _c(\"p\", [\n _c(\"i\", [_vm._v(_vm._s(usingField.desc))])\n ])\n : _vm._e(),\n _vm._v(\" \"),\n _c(\n \"wil-input\",\n _vm._g(\n {\n attrs: {\n label: \"Name\",\n std: usingField.name\n }\n },\n {\n change: _vm.handleFieldChange(\"name\", index)\n }\n )\n ),\n _vm._v(\" \"),\n _c(\n \"wil-icon\",\n _vm._g(\n {\n attrs: {\n label: \"Section Icon\",\n std: usingField.icon,\n \"wrapper-classes\":\n \"ui setting-field field\"\n }\n },\n {\n change: _vm.handleFieldChange(\"icon\", index)\n }\n )\n ),\n _vm._v(\" \"),\n usingField.key == \"promotion\"\n ? _c(\n \"wil-auto-complete\",\n _vm._g(\n {\n attrs: {\n label: \"Promotion ID\",\n items: _vm.parsePromotionOptions,\n std: usingField.promotionID\n }\n },\n {\n change: _vm.handleFieldChange(\n \"promotionID\",\n index\n )\n }\n )\n )\n : _vm._e(),\n _vm._v(\" \"),\n usingField.key === \"relatedListings\"\n ? _c(\n \"wil-select\",\n _vm._g(\n {\n attrs: {\n label: \"Get Related Listings\",\n std: usingField.conditional,\n options: _vm.relatedBy\n }\n },\n {\n change: _vm.handleFieldChange(\n \"conditional\",\n index\n )\n }\n )\n )\n : _vm._e(),\n _vm._v(\" \"),\n _c(\n \"wil-input\",\n _vm._g(\n {\n directives: [\n {\n name: \"show\",\n rawName: \"v-show\",\n value:\n usingField.key ===\n \"relatedListings\" &&\n usingField.conditional ===\n \"google_address\",\n expression:\n \"\\n usingField.key === 'relatedListings' &&\\n usingField.conditional === 'google_address'\\n \"\n }\n ],\n attrs: {\n label: \"Get Related Listings\",\n std: usingField.radius,\n options: _vm.relatedBy,\n desc: \"Enter number only\"\n }\n },\n {\n change: _vm.handleFieldChange(\n \"radius\",\n index\n )\n }\n )\n ),\n _vm._v(\" \"),\n usingField.key === \"promotion\" ||\n usingField.key == \"relatedListings\"\n ? _c(\n \"wil-select\",\n _vm._g(\n {\n attrs: {\n label: \"Style\",\n std: usingField.style,\n options: _vm.styleOptions\n }\n },\n {\n change: _vm.handleFieldChange(\n \"style\",\n index\n )\n }\n )\n )\n : _vm._e(),\n _vm._v(\" \"),\n usingField.key === \"relatedListings\"\n ? _c(\n \"wil-select\",\n _vm._g(\n {\n attrs: {\n label: \"Order By\",\n std: usingField.orderby,\n options: _vm.orderbyOptions\n }\n },\n {\n change: _vm.handleFieldChange(\n \"orderby\",\n index\n )\n }\n )\n )\n : _vm._e(),\n _vm._v(\" \"),\n _c(\n \"wil-select\",\n _vm._g(\n {\n directives: [\n {\n name: \"show\",\n rawName: \"v-show\",\n value:\n usingField.key ===\n \"relatedListings\" &&\n usingField.orderby == \"menu_order\",\n expression:\n \"\\n usingField.key === 'relatedListings' &&\\n usingField.orderby == 'menu_order'\\n \"\n }\n ],\n attrs: {\n label: \"Order By Fallback\",\n std: usingField.orderbyFallback,\n options: _vm.orderbyOptions\n }\n },\n {\n change: _vm.handleFieldChange(\n \"orderbyFallback\",\n index\n )\n }\n )\n ),\n _vm._v(\" \"),\n usingField.key == \"relatedListings\"\n ? _c(\n \"wil-select\",\n _vm._g(\n {\n directives: [\n {\n name: \"show\",\n rawName: \"v-show\",\n value:\n usingField.orderby !=\n \"best_rated\" &&\n usingField.orderby !=\n \"best_viewed\",\n expression:\n \"\\n usingField.orderby != 'best_rated' &&\\n usingField.orderby != 'best_viewed'\\n \"\n }\n ],\n attrs: {\n label: \"Order\",\n std: usingField.order,\n options: _vm.orderOptions\n }\n },\n {\n change: _vm.handleFieldChange(\n \"order\",\n index\n )\n }\n )\n )\n : _vm._e(),\n _vm._v(\" \"),\n usingField.key == \"promotion\" ||\n usingField.key == \"relatedListings\"\n ? _c(\n \"wil-input\",\n _vm._g(\n {\n attrs: {\n label:\n \"Maximum Listings Can Be Shown\",\n std: usingField.postsPerPage,\n options: _vm.orderOptions\n }\n },\n {\n change: _vm.handleFieldChange(\n \"postsPerPage\",\n index\n )\n }\n )\n )\n : _vm._e(),\n _vm._v(\" \"),\n usingField.key == \"taxonomy\" ||\n usingField.group == \"term\"\n ? _c(\n \"wil-async-search\",\n _vm._g(\n {\n attrs: {\n label: \"Taxonomy Key\",\n std: usingField.taxonomy\n }\n },\n {\n change: _vm.handleFieldChange(\n \"taxonomy\",\n index\n )\n }\n )\n )\n : _vm._e(),\n _vm._v(\" \"),\n usingField.isCustomSection &&\n usingField.isCustomSection == \"yes\"\n ? _c(\n \"div\",\n { staticClass: \"ui setting-field field\" },\n [\n _c(\n \"wil-auto-complete\",\n _vm._g(\n {\n attrs: {\n label: \"Field Key\",\n \"is-required\": true,\n \"prefix-key\":\n \"wilcity_single_sidebar_\",\n items: _vm.customFields,\n std: usingField.key\n }\n },\n {\n change: _vm.handleFieldChange(\n \"key\",\n index\n ),\n enter: _vm.handleFieldEnter(\n \"key\",\n index\n )\n }\n )\n ),\n _vm._v(\" \"),\n _c(\n \"wil-textarea\",\n _vm._g(\n {\n attrs: {\n label: \"Content\",\n std: usingField.content\n }\n },\n {\n change: _vm.handleFieldChange(\n \"content\",\n index\n )\n }\n )\n )\n ],\n 1\n )\n : _vm._e(),\n _vm._v(\" \"),\n usingField.key !== \"google_adsense\" &&\n usingField.key !== \"promotion\"\n ? _c(\n \"wil-select\",\n _vm._g(\n {\n attrs: {\n label: \"Enable This Sidebar Item\",\n std: usingField.status,\n options: [\n { name: \"No\", value: \"no\" },\n { name: \"Yes\", value: \"yes\" }\n ]\n }\n },\n {\n change: _vm.handleFieldChange(\n \"status\",\n index\n )\n }\n )\n )\n : _vm._e()\n ],\n 1\n )\n ],\n 1\n )\n ]\n )\n }),\n 0\n ),\n _vm._v(\" \"),\n _c(\"wil-message\", { attrs: { msg: _vm.msg, type: \"msgType\" } }),\n _vm._v(\" \"),\n _c(\"wil-btn-controller\", {\n attrs: { \"is-disable-add-new\": false },\n on: { click: _vm.handleClick }\n })\n ],\n 1\n ),\n _vm._v(\" \"),\n _c(\n \"div\",\n [\n _c(\"wil-import-export\", {\n attrs: {\n \"post-type\": _vm.postType,\n \"setting-type\": \"single-sidebar\"\n }\n })\n ],\n 1\n )\n ])\n ])\n ])\n ])\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\n\n\n//# sourceURL=webpack:///./admin/source/dev/components/WilSingleSidebar.vue?./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options"); /***/ }) }]);
[+]
..
[-] wil-main-search-form.wil-main-search-form.js
[edit]
[-] claim-script.js
[edit]
[-] promotion-script.js
[edit]
[-] design-single-nav.js
[edit]
[-] listing-tools.js
[edit]
[-] wil-single-nav.wil-single-nav.js
[edit]
[-] script.js
[edit]
[-] default~wil-hero-search-form~wil-main-search-form.default~wil-hero-search-form~wil-main-search-form.js
[edit]
[-] mailtpl-admin.js
[edit]
[-] design-hero-search-form.js
[edit]
[-] design-sidebar.js
[edit]
[-] wil-hero-search-form.wil-hero-search-form.js
[edit]
[-] mobile-menu.js
[edit]
[-] global.js
[edit]
[-] import-export-wiloke-tools.js
[edit]
[-] listing-card.js
[edit]
[-] contactform7.js
[edit]
[-] push-notifications.js
[edit]
[-] wiloke-submission-general.js
[edit]
[-] listing-plan.js
[edit]
[-] wil-schema-markup.wil-schema-markup.js
[edit]
[-] add-custom-posttype.js
[edit]
[-] report-script.js
[edit]
[-] event-script.js
[edit]
[-] quick-search-form-script.js
[edit]
[-] general.js
[edit]
[-] wil-single-sidebar.wil-single-sidebar.js
[edit]
[-] design-fields.js
[edit]
[-] vendors~wil-schema-markup.vendors~wil-schema-markup.js
[edit]
[-] listing-settings.js
[edit]
[-] noticeafterupdating.js
[edit]
[-] wil-listing-card.wil-listing-card.js
[edit]
[-] design-search-form.js
[edit]
[-] design-highlight-boxes.js
[edit]
[-] pw-select2.js
[edit]
[-] verify-purchase-code.js
[edit]
[-] plan-controller.js
[edit]
[-] wil-reviews.wil-reviews.js
[edit]
[-] schema-markup.js
[edit]
[-] wil-single-highlight-boxes.wil-single-highlight-boxes.js
[edit]