Changeset 2486647
- Timestamp:
- 03/04/2021 10:26:21 AM (5 years ago)
- Location:
- schema-integration
- Files:
-
- 18 edited
- 10 copied
-
tags/1.2.1 (copied) (copied from schema-integration/trunk)
-
tags/1.2.1/LISENSE.txt (copied) (copied from schema-integration/trunk/LISENSE.txt)
-
tags/1.2.1/README.txt (copied) (copied from schema-integration/trunk/README.txt) (2 diffs)
-
tags/1.2.1/admin (copied) (copied from schema-integration/trunk/admin)
-
tags/1.2.1/admin/class-admin.php (modified) (3 diffs)
-
tags/1.2.1/admin/src/js/schema/dist/css/app.css (modified) (1 diff)
-
tags/1.2.1/admin/src/js/schema/dist/js/app.js (modified) (1 diff)
-
tags/1.2.1/admin/src/js/schema/dist/js/app.js.map (modified) (1 diff)
-
tags/1.2.1/core (copied) (copied from schema-integration/trunk/core)
-
tags/1.2.1/core/schema/class-schema.php (modified) (1 diff)
-
tags/1.2.1/front (copied) (copied from schema-integration/trunk/front)
-
tags/1.2.1/index.php (copied) (copied from schema-integration/trunk/index.php)
-
tags/1.2.1/languages (copied) (copied from schema-integration/trunk/languages)
-
tags/1.2.1/schema-integration.php (copied) (copied from schema-integration/trunk/schema-integration.php) (2 diffs)
-
tags/1.2.1/vendor (copied) (copied from schema-integration/trunk/vendor)
-
tags/1.2.1/vendor/autoload.php (modified) (1 diff)
-
tags/1.2.1/vendor/composer/autoload_real.php (modified) (5 diffs)
-
tags/1.2.1/vendor/composer/autoload_static.php (modified) (2 diffs)
-
trunk/README.txt (modified) (2 diffs)
-
trunk/admin/class-admin.php (modified) (3 diffs)
-
trunk/admin/src/js/schema/dist/css/app.css (modified) (1 diff)
-
trunk/admin/src/js/schema/dist/js/app.js (modified) (1 diff)
-
trunk/admin/src/js/schema/dist/js/app.js.map (modified) (1 diff)
-
trunk/core/schema/class-schema.php (modified) (1 diff)
-
trunk/schema-integration.php (modified) (2 diffs)
-
trunk/vendor/autoload.php (modified) (1 diff)
-
trunk/vendor/composer/autoload_real.php (modified) (5 diffs)
-
trunk/vendor/composer/autoload_static.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
schema-integration/tags/1.2.1/README.txt
r2471739 r2486647 4 4 Requires at least: 5.0.0 5 5 Tested up to: 5.5.3 6 Stable tag: 1.2. 06 Stable tag: 1.2.1 7 7 Requires PHP: 5.6.4 8 8 License: GPLv2 or later … … 45 45 == Changelog == 46 46 47 = 1.2.1 48 * Fix bugs with the output schema on website 49 47 50 = 1.2.0 48 51 * Added new feature: Creating custom schema -
schema-integration/tags/1.2.1/admin/class-admin.php
r2471803 r2486647 145 145 } 146 146 } 147 148 147 149 148 /** … … 385 384 * 386 385 * @param int $post_id Current post_id. 387 /**388 * Save metabox389 *390 * @param int $post_id Current post_id.391 386 */ 392 387 public function save_schema_meta( $post_id ) { … … 402 397 } 403 398 if ( ! empty( $_POST['conditions'] ) ) { 404 $conditions = json_decode( wp_unslash( $_POST['conditions'] ) );399 $conditions = json_decode( wp_unslash( $_POST['conditions'] ), true ); 405 400 $conditions = Vo3da_Functions::recursive_sanitize_text_field( $conditions ); 406 401 update_post_meta( $post_id, 'schema_integration_conditions', $conditions ); -
schema-integration/tags/1.2.1/admin/src/js/schema/dist/css/app.css
r2471803 r2486647 1 .ptb-0[data-v-a9df98ac]{padding-top:0;padding-bottom:0}.repeater-item[data-v-2226b39c],.repeater-item[data-v-71953de0]{display:inline-block;width:100%;margin-left:20px}.node-tree[data-v-516b3065]{list-style-type:none}div[data-v-516b3065]{margin-left:10px}pre[data-v-2c4f9021]{white-space:pre-wrap}.json-wrapper[data-v- 1367810e]{font-size:13px;line-height:1.4;font-family:Menlo,Monaco,Consolas,Courier New,monospace;color:grey;text-align:left}.tree-list[data-v-1367810e]{list-style-type:none}.schema_integration-tag{color:#881280}.schema_integration-attr{color:#994500}.schema_integration-attr-value{color:#1a1aa6}.schema_integration-str{background-color:rgba(255,193,7,.5019607843137255);font-weight:700}.schema_integration-str__updated{color:#f44336}#app{font-family:Avenir,Helvetica,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-align:center;color:#2c3e50}pre{text-align:left}.test{margin-top:50px}.json-row{height:15px}.inner{margin-left:5px}.tag{color:#881280}.attr{color:#994500}.val{color:#1a1aa6}#app input[readonly],#app input[type=checkbox],#app input[type=checkbox]:focus,#app input[type=color],#app input[type=color]:focus,#app input[type=date],#app input[type=date]:focus,#app input[type=datetime-local],#app input[type=datetime-local]:focus,#app input[type=datetime],#app input[type=datetime]:focus,#app input[type=email],#app input[type=email]:focus,#app input[type=month],#app input[type=month]:focus,#app input[type=number],#app input[type=number]:focus,#app input[type=password],#app input[type=password]:focus,#app input[type=radio],#app input[type=radio]:focus,#app input[type=search],#app input[type=search]:focus,#app input[type=tel],#app input[type=tel]:focus,#app input[type=text],#app input[type=text]:focus,#app input[type=time],#app input[type=time]:focus,#app input[type=url],#app input[type=url]:focus,#app input[type=week],#app input[type=week]:focus,#app select,#app select:focus,#app textarea,#app textarea.readonly,#app textarea:focus,#app textarea[readonly]{border:none;box-shadow:none;outline:none;transition:inherit;background-color:transparent}#app input[readonly]{display:none}1 .ptb-0[data-v-a9df98ac]{padding-top:0;padding-bottom:0}.repeater-item[data-v-2226b39c],.repeater-item[data-v-71953de0]{display:inline-block;width:100%;margin-left:20px}.node-tree[data-v-516b3065]{list-style-type:none}div[data-v-516b3065]{margin-left:10px}pre[data-v-2c4f9021]{white-space:pre-wrap}.json-wrapper[data-v-67395d6c]{font-size:13px;line-height:1.4;font-family:Menlo,Monaco,Consolas,Courier New,monospace;color:grey;text-align:left}.tree-list[data-v-67395d6c]{list-style-type:none}.schema_integration-tag{color:#881280}.schema_integration-attr{color:#994500}.schema_integration-attr-value{color:#1a1aa6}.schema_integration-str{background-color:rgba(255,193,7,.5019607843137255);font-weight:700}.schema_integration-str__updated{color:#f44336}#app{font-family:Avenir,Helvetica,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-align:center;color:#2c3e50}pre{text-align:left}.test{margin-top:50px}.json-row{height:15px}.inner{margin-left:5px}.tag{color:#881280}.attr{color:#994500}.val{color:#1a1aa6}#app input[readonly],#app input[type=checkbox],#app input[type=checkbox]:focus,#app input[type=color],#app input[type=color]:focus,#app input[type=date],#app input[type=date]:focus,#app input[type=datetime-local],#app input[type=datetime-local]:focus,#app input[type=datetime],#app input[type=datetime]:focus,#app input[type=email],#app input[type=email]:focus,#app input[type=month],#app input[type=month]:focus,#app input[type=number],#app input[type=number]:focus,#app input[type=password],#app input[type=password]:focus,#app input[type=radio],#app input[type=radio]:focus,#app input[type=search],#app input[type=search]:focus,#app input[type=tel],#app input[type=tel]:focus,#app input[type=text],#app input[type=text]:focus,#app input[type=time],#app input[type=time]:focus,#app input[type=url],#app input[type=url]:focus,#app input[type=week],#app input[type=week]:focus,#app select,#app select:focus,#app textarea,#app textarea.readonly,#app textarea:focus,#app textarea[readonly]{border:none;box-shadow:none;outline:none;transition:inherit;background-color:transparent}#app input[readonly]{display:none} -
schema-integration/tags/1.2.1/admin/src/js/schema/dist/js/app.js
r2471803 r2486647 1 (function(e){function t(t){for(var r,o,s=t[0],l=t[1],u=t[2],d=0,p=[];d<s.length;d++)o=s[d],Object.prototype.hasOwnProperty.call(a,o)&&a[o]&&p.push(a[o][0]),a[o]=0;for(r in l)Object.prototype.hasOwnProperty.call(l,r)&&(e[r]=l[r]);c&&c(t);while(p.length)p.shift()();return i.push.apply(i,u||[]),n()}function n(){for(var e,t=0;t<i.length;t++){for(var n=i[t],r=!0,s=1;s<n.length;s++){var l=n[s];0!==a[l]&&(r=!1)}r&&(i.splice(t--,1),e=o(o.s=n[0]))}return e}var r={},a={app:0},i=[];function o(t){if(r[t])return r[t].exports;var n=r[t]={i:t,l:!1,exports:{}};return e[t].call(n.exports,n,n.exports,o),n.l=!0,n.exports}o.m=e,o.c=r,o.d=function(e,t,n){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},o.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(e,t){if(1&t&&(e=o(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(o.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)o.d(n,r,function(t){return e[t]}.bind(null,r));return n},o.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="/";var s=window["webpackJsonp"]=window["webpackJsonp"]||[],l=s.push.bind(s);s.push=t,s=s.slice();for(var u=0;u<s.length;u++)t(s[u]);var c=l;i.push([0,"chunk-vendors"]),n()})({0:function(e,t,n){e.exports=n("56d7")},"003d":function(e,t,n){"use strict";n.r(t);var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.node.render?n("v-col",{class:e.classes,attrs:{cols:e.cols}},[e.node.children&&"object"===typeof e.node.children?n("v-row",e._l(e.node.children,(function(e,t,r){return n("node",{key:t,attrs:{index:r,type:t,node:e}})})),1):n("div",[e.node.render?n(e.node.formComponent,{tag:"component",attrs:{name:e.type,updateKey:e.type,vuetifyProps:e.getCustomProps(e.node),componentProps:e.node}}):e._e()],1)],1):e._e()},a=[],i=(n("a9e3"),n("ac1f"),n("1276"),function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[e.componentProps.render?n("v-text-field",e._b({attrs:{label:e.componentProps.placeholder,counter:e.counter,"counter-value":e.printCounterValue,"error-messages":e.displayErrors(e.componentProps.validation,e.$v.getCurrentValue)},on:{blur:function(t){return e.validateInput(e.$v)},input:function(t){return e.updateField(e.updateKey,t)}},model:{value:e.getCurrentValue,callback:function(t){e.getCurrentValue=t},expression:"getCurrentValue"}},"v-text-field",e.vuetifyProps,!1)):e._e()],1)}),o=[],s=(n("4160"),n("b64b"),n("159b"),n("5530")),l=(n("4fad"),n("3835")),u=n("a026"),c=n("1dce"),d=n.n(c),p=n("b5ae");u["a"].use(d.a);var m={data:function(){return{messages:{required:"This field is required",maxLength:"Too long field",url:"Invalid URL",minValue:"",maxValue:"",numeric:"Number is required",isJson:"The input value not in json format"},counter:""}},methods:{printCounterValue:function(){if(""!==this.counter)return this.currentValue.length},displayErrors:function(e,t){var n=[];if(void 0!==e)for(var r=0,a=Object.entries(e);r<a.length;r++){var i=Object(l["a"])(a[r],2),o=i[0];i[1];t.$dirty&&t.$invalid&&!t[o]&&n.push(this.messages[o])}return n},validateInput:function(e){e.$touch()},createValidatorsObject:function(e){var t={};return void 0===e||0===Object.keys(e).length||(e.required&&(t["required"]=p["required"]),e.maxLength>0&&(t["maxLength"]=Object(p["maxLength"])(e["maxLength"])),e.url&&(t["url"]=p["url"]),e.minValue>0&&(t["minValue"]=Object(p["minValue"])(e["minValue"])),e.maxValue>0&&(t["maxValue"]=Object(p["maxValue"])(e["maxValue"])),e.numeric&&(t["numeric"]=p["numeric"]),e.isJson&&(t["isJson"]=isJsone)),t}},mounted:function(){void 0!==this.validation&&void 0!==this.validation.maxLength&&(this.counter=this.validation.maxLength)}},f={props:{componentProps:{type:Object,default:function(){return{placeholder:"",validation:{},value:""}}},name:{type:[String,Number],required:!1},vuetifyProps:{type:Object,default:function(){return{}}}}},v=n("aa03"),h=n("2f62"),g={mixins:[v["a"]],data:function(){return{rating:{type:Object,default:function(){return{ratingValue:null,ratingCount:null,reviewCount:null,worstResult:null,bestResult:null}}}}},methods:Object(s["a"])(Object(s["a"])(Object(s["a"])({},Object(h["b"])(["setRatingResult","setWorstResult","setBestResult"])),Object(h["c"])(["getRating"])),{},{calculateRating:function(e,t){switch(""!==t&&(t=parseInt(t)),e){case"aggregateRating.ratingValue":this.setRating(t);break;case"aggregateRating.worstRating":this.setWorst(t);break;case"aggregateRating.bestRating":this.setBest(t);break;default:break}},setRating:function(e){this.setRatingResult(e)},setWorst:function(e){this.setWorstResult(e)},setBest:function(e){this.setBestResult(e)}}),mounted:function(){this.rating=this.getRating()}},y=n("56d7"),b={mixins:[m,f,g],props:{updateKey:{type:[String,Array,Number],required:!0}},data:function(){return{currentValue:""}},methods:Object(s["a"])(Object(s["a"])({},Object(h["c"])(["getSchemaType","getReviews"])),{},{updateField:function(e,t){this.validateInput(this.$v),this.calculateRating(e,t),y["schemaEmitter"].$emit("input",e,t),this.setRatingValues(e,t),this.calculateValue(),this.duplicateValues(t)},setRatingValues:function(e,t){var n=Object.keys(this.getReviews());n.forEach((function(n){"aggregateRating.bestRating"===e&&(y["schemaEmitter"].$emit("input","review.".concat(n,".reviewRating.bestRating"),t),y["schemaEmitter"].$emit("input","review.".concat(n,".reviewRating.ratingValue"),{validation:{maxValue:t}})),"aggregateRating.worstRating"===e&&(y["schemaEmitter"].$emit("input","review.".concat(n,".reviewRating.worstRating"),t),y["schemaEmitter"].$emit("input","review.".concat(n,".reviewRating.ratingValue"),{validation:{minValue:t}}))}))},calculateValue:function(){if(this.componentProps.hasOwnProperty("calculateValue")){var e=0,t=this.getSchemaType(),n=this.componentProps.calculateValue;for(var r in n.from){if(n.from.hasOwnProperty(r)){var a=this.findVal(t,n.from[r]);""!==a.value&&(e+=parseInt(a.value))}for(var i in n.to)if(n.to.hasOwnProperty(i)){var o=e>0?e:"";y["schemaEmitter"].$emit("input",n.to[i],o)}}}}}),mounted:function(){this.calculateRating(this.updateKey,this.getCurrentValue)},validations:function(){return{getCurrentValue:this.validators}},computed:{validators:{get:function(){return this.createValidatorsObject(this.componentProps.validation)},set:function(e){return e}},getCurrentValue:{get:function(){var e;return null!==(e=this.componentProps.value)&&void 0!==e?e:"adasdasd"},set:function(e){return e}}}},C=b,w=n("2877"),O=n("6544"),_=n.n(O),S=n("8654"), P=Object(w["a"])(C,i,o,!1,null,"53a66dd1",null),R=P.exports;_()(P,{VTextField:S["a"]});var I=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",e._l(e.getCurrentValue,(function(t,r){return n("div",{key:r,staticClass:"repeater-items row"},[e._l(t,(function(t,a){return e.componentProps.hide?e._e():n("form-tree",{key:a,attrs:{index:r,type:a,node:t}})})),n("v-row",[n("v-col",{attrs:{cols:"6"}},[n("v-btn",{attrs:{small:"",color:"primary"},on:{click:function(t){return e.addItem(r,e.componentProps.name)}}},[n("v-icon",{attrs:{small:""}},[e._v(" mdi-plus ")]),e._v(" "+e._s(e.componentProps.buttonTitle)+" ")],1)],1),n("v-col",{attrs:{cols:"6"}},[n("v-btn",{attrs:{small:"",color:"error",disabled:e.disableButton},on:{click:function(t){return e.deleteItem(r)}}},[e._v("Delete")])],1)],1)],2)})),0)},V=[],j=(n("99af"),n("4de4"),n("a15b"),n("fb6a"),n("a434"),n("b0c0"),n("d3b7"),n("4d63"),n("25f0"),n("8a79"),n("5319"),{mixins:[m,f,v["a"]],data:function(){return{currentValue:String}},components:{FormTree:function(){return Promise.resolve().then(n.bind(null,"003d"))}},methods:Object(s["a"])(Object(s["a"])(Object(s["a"])({},Object(h["b"])(["setReviewRating","updateReviewRating"])),Object(h["c"])(["getReviews","getRating","getDefaultData"])),{},{addItem:function(e,t){var n={};if(1===this.componentProps.value.length&&this.componentProps.hide)n["hide"]=!1,"review"!==this.name&&"recipeInstructions"!==this.name||(n["renderJson"]=!0),y["schemaEmitter"].$emit("input",this.name,n);else{var r=JSON.parse(JSON.stringify(this.findVal(this.getDefaultData(),this.componentProps.name))),a=r.value.shift(),i=this.changeItemKey(a,e,t);this.componentProps.value.push(i),y["schemaEmitter"].$emit("input",this.name,{value:this.componentProps.value})}this.updateReviews(),this.updateBreadcrumbs(this.componentProps.value),this.duplicateValues(this.componentProps.value)},deleteItem:function(e){var t={};1===this.componentProps.value.length&&!1===this.componentProps.hide&&(t["hide"]=!0,"review"!==this.name&&"recipeInstructions"!==this.name||(t["renderJson"]=!1),y["schemaEmitter"].$emit("input",this.name,t),y["schemaEmitter"].$emit("input","review.0.reviewRating.ratingValue",""),this.setReviewRating({0:""}),this.updateRatingValues("")),this.componentProps.value.length>1&&(this.componentProps.value.splice(e,1),y["schemaEmitter"].$emit("input",this.name,{value:this.componentProps.value})),this.updateReviews(),this.updateBreadcrumbs(this.componentProps.value),this.duplicateValues(this.componentProps.value)},changeItemKey:function(e,t,n){var r=Object.keys(e).shift().split(".");r.splice(-1,1);var a=r.join("."),i=Math.random().toString(16).slice(2),o="".concat(n,".").concat(i),s=JSON.stringify(e),l=new RegExp('"'.concat(a),"g"),u=s.replace(l,'"'.concat(o));return u=u.replace(/"uuid":"(.+?)",/gm,'"uuid":"'.concat(i,'",')),JSON.parse(u)},updateReviews:function(){var e=this;if("review"===this.name&&void 0!==this.getCurrentValue){var t={};this.getCurrentValue.forEach((function(n,r){var a=new RegExp(".reviewRating.ratingValue$","g"),i=e.findVal(n,a,!0);t[i.uuid]=i.value})),this.setReviewRating(t);var n=this.getRating();y["schemaEmitter"].$emit("input","aggregateRating.ratingValue",n.ratingValue),y["schemaEmitter"].$emit("input","aggregateRating.ratingCount",n.ratingCount),y["schemaEmitter"].$emit("input","aggregateRating.reviewCount",n.reviewCount)}},updateBreadcrumbs:function(e){"itemListElement"===this.name&&e.forEach((function(e,t){var n=Object.keys(e),r=n.filter((function(e){return e.endsWith(".position")})).shift(),a=t+1;y["schemaEmitter"].$emit("input",r,a)}))}}),validations:function(){return{getCurrentValue:this.validators}},mounted:function(){this.updateReviews()},computed:{validators:{get:function(){return this.createValidatorsObject(this.componentProps.validation)},set:function(e){return e}},getCurrentValue:{get:function(){return this.validateInput(this.$v),this.duplicateValues(this.componentProps.value),this.componentProps.value},set:function(e){return e}},disableButton:function(){return this.componentProps.hasOwnProperty("hide")?!(1!==this.componentProps.value.length||!this.componentProps.hide):this.componentProps.value.length<=1}}}),x=j,T=n("8336"),J=n("62ad"),E=n("132d"),$=n("0fd9"),k=Object(w["a"])(x,I,V,!1,null,"f1bcc2e0",null),D=k.exports;_()(k,{VBtn:T["a"],VCol:J["a"],VIcon:E["a"],VRow:$["a"]});var N=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("v-select",e._b({attrs:{items:e.componentProps.value,"item-text":"value","item-value":"value",attach:"",label:e.componentProps.placeholder},on:{change:function(t){e.updateField(e.updateKey,e.getSelectedObject(t,e.componentProps.value))}},model:{value:e.selected,callback:function(t){e.selected=t},expression:"selected"}},"v-select",e.vuetifyProps,!1))],1)},A=[],L=(n("c740"),n("d81d"),n("ddb0"),n("b85c")),F=n("fad7"),U={mixins:[f,v["a"]],props:["name","placeholder","fieldValues","validation","updateKey","schemas_type"],components:{Schema:F["a"]},data:function(){return{selected:"",dropdown_texts:[],dropdown_values:[],schemas:this.schemas_type,result:""}},methods:Object(s["a"])(Object(s["a"])(Object(s["a"])({},Object(h["b"])(["run"])),Object(h["d"])(["updateProperty"])),{},{updateField:function(e,t){y["schemaEmitter"].$emit("input",e,{value:t}),this.changeView()},changeView:function(){if(this.getSchemaType.hasOwnProperty("offers")&&"undefined"!==typeof this.componentProps.changeView&&!1!==this.componentProps.changeView){var e=this.getSchemaType.offers.children;for(var t in this.getSchemaType.offers.children)for(var n in e[t])"showOnSelect"===n&&(this.selected===e[t][n]["value"]?y["schemaEmitter"].$emit("input",t,{render:!0,renderJson:e[t][n]["show"]["renderJson"]}):y["schemaEmitter"].$emit("input",t,{render:!1,renderJson:e[t][n]["hide"]["renderJson"],value:this.setEmptyValue(e[t]["value"])}));this.updateProperty(["schemaType",this.getSchemaType])}},getSelectedObject:function(e,t){var n=t.findIndex((function(t){return e===t.value}));for(var r in t)parseInt(r)===n?t[r].selected=!0:t[r].selected=!1;return t},getSelectedValue:function(){var e=this.componentProps.value.findIndex((function(e){return e.selected}));return this.componentProps.value[e]},getDropDownText:function(){return this.componentProps.value.map((function(e){return e.value}))},getDropDownValues:function(){var e,t=[],n=this.componentProps.value.keys(),r=Object(L["a"])(n);try{for(r.s();!(e=r.n()).done;){var a=e.value;t.push(a)}}catch(i){r.e(i)}finally{r.f()}return t}}),validations:function(){return{selected:this.validators}},mounted:function(){this.selected=this.getSelectedValue()},computed:Object(s["a"])(Object(s["a"])({},Object(h["c"])(["getJsonType","getSchemaType","getSourceType"])),{},{getSelectedItem:function(){return this.componentProps.value.findIndex((function(e){return e.selected}))}})},B=U,q=n("b974"),K=Object(w["a"])(B,N,A,!1,null,"567bb4d8",null),M=K.exports;_()(K,{VSelect:q["a"]});var W=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("v-menu",{attrs:{"close-on-content-click":!1,"nudge-right":40,transition:"scale-transition","offset-y":"",attach:"","min-width":"290px"},scopedSlots:e._u([{key:"activator",fn:function(t){var r=t.on,a=t.attrs;return[n("v-text-field",e._g(e._b({attrs:{label:e.componentProps.placeholder,"prepend-icon":"event",vuetifyProps:e.vuetifyProps},model:{value:e.getCurrentValue,callback:function(t){e.getCurrentValue=t},expression:"getCurrentValue"}},"v-text-field",a,!1),r))]}}]),model:{value:e.menu2,callback:function(t){e.menu2=t},expression:"menu2"}},[n("v-date-picker",{on:{change:function(t){e.menu2=!1},input:function(t){return e.updateField(e.updateKey,t)}},model:{value:e.getCurrentValue,callback:function(t){e.getCurrentValue=t},expression:"getCurrentValue"}})],1)],1)},z=[],Q={mixins:[f,v["a"]],props:{updateKey:{type:[String,Array],required:!0}},data:function(){return{currentValue:(new Date).toISOString().substr(0,10),menu:!1,modal:!1,menu2:!1,validators:{}}},methods:{updateField:function(e,t){y["schemaEmitter"].$emit("input",e,t),this.duplicateValues(t)}},mounted:function(){this.updateField(this.updateKey,this.getCurrentValue)},computed:{getCurrentValue:{get:function(){var e;return null!==(e=this.componentProps.value)&&void 0!==e?e:(new Date).toISOString().substr(0,10)},set:function(e){return e}}}},G=Q,H=n("2e4b"),Y=n("e449"),X=Object(w["a"])(G,W,z,!1,null,"f3321252",null),Z=X.exports;_()(X,{VDatePicker:H["a"],VMenu:Y["a"],VTextField:S["a"]});var ee=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("v-textarea",{attrs:{label:e.componentProps.placeholder,"full-width":e.fullWidth,counter:e.counter,"counter-value":e.printCounterValue,"error-messages":e.displayErrors(e.componentProps.validation,e.$v.currentValue)},on:{input:function(t){return e.updateField(e.updateKey,t)},change:function(t){return e.validateInput(e.$v)}},model:{value:e.currentValue,callback:function(t){e.currentValue=t},expression:"currentValue"}})],1)},te=[],ne={mixins:[m,f,v["a"]],props:{updateKey:{type:[String,Array],required:!0}},data:function(){return{currentValue:"",validators:{},fullWidth:!0}},methods:{updateField:function(e,t){y["schemaEmitter"].$emit("input",e,t),this.duplicateValues(t)}},validations:function(){return{currentValue:this.validators}},mounted:function(){this.validators=this.createValidatorsObject(this.componentProps.validation),this.currentValue=this.componentProps.value}},re=ne,ae=n("a844"),ie=Object(w["a"])(re,ee,te,!1,null,"2841bf26",null),oe=ie.exports;_()(ie,{VTextarea:ae["a"]});var se=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("v-text-field",e._b({attrs:{label:e.componentProps.placeholder,counter:e.counter,"counter-value":e.printCounterValue,"error-messages":e.displayErrors(e.componentProps.validation,e.$v.getCurrentValue)},on:{input:function(t){return e.updateField(e.updateKey,t)}},model:{value:e.getCurrentValue,callback:function(t){e.getCurrentValue=t},expression:"getCurrentValue"}},"v-text-field",e.vuetifyProps,!1))],1)},le=[],ue={mixins:[m,f,g],props:{updateKey:{type:[String,Array],required:!0}},methods:Object(s["a"])(Object(s["a"])(Object(s["a"])({},Object(h["c"])(["getRating","getReviews"])),Object(h["b"])(["updateReviewRating"])),{},{updateField:function(e,t){var n=e.split(".")[1];void 0!==n&&this.updateReviewRating({number:n,value:t}),y["schemaEmitter"].$emit("input",e,t),this.updateRatingValues(t)}}),validations:function(){return{getCurrentValue:this.validators}},computed:{validators:{get:function(){return this.createValidatorsObject(this.componentProps.validation)},set:function(e){return e}},getCurrentValue:{get:function(){var e;return this.validateInput(this.$v),null!==(e=this.componentProps.value)&&void 0!==e?e:parseInt(this.componentProps.value)},set:function(e){return e}}}},ce=ue,de=Object(w["a"])(ce,se,le,!1,null,"36e7678f",null),pe=de.exports;_()(de,{VTextField:S["a"]});var me=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("v-textarea",{attrs:{label:e.componentProps.placeholder,"full-width":e.fullWidth,counter:e.counter,"counter-value":e.printCounterValue,"error-messages":e.displayErrors(e.componentProps.validation,e.$v.currentValue)},on:{input:function(t){return e.updateField(e.updateKey,t)},change:function(t){return e.validateInput(e.$v)}},model:{value:e.currentValue,callback:function(t){e.currentValue=t},expression:"currentValue"}})],1)},fe=[],ve={mixins:[m,f,v["a"]],props:{updateKey:{type:[String,Array],required:!0}},data:function(){return{currentValue:"",validators:{},fullWidth:!0}},methods:{updateField:function(e,t){y["schemaEmitter"].$emit("input",e,t)}},validations:function(){return{currentValue:this.validators}},mounted:function(){this.validators=this.createValidatorsObject(this.componentProps.validation),this.componentProps.value&&(this.currentValue=JSON.stringify(this.componentProps.value))}},he=ve,ge=Object(w["a"])(he,me,fe,!1,null,"530dda9f",null),ye=ge.exports;_()(ge,{VTextarea:ae["a"]});var be={data:function(){return{cols:12,classes:""}},mounted:function(){void 0!==this.node.styles.cols&&(this.cols=this.node.styles.cols),void 0!==this.node.styles.classes&&(this.classes=this.node.styles.classes)}},Ce={mixins:[be],name:"node",props:{node:Object,type:[String,Number],index:Number},components:{Input:R,Selector:M,Repeater:D,DatePicker:Z,TextArea:oe,ReviewRating:pe,Custom:ye},methods:{getCustomProps:function(e){return void 0!==e.vuetifyProps?e.vuetifyProps:{}}},computed:{changeChildType:function(){return this.type.split(".").pop()}},mounted:function(){}},we=Ce,Oe=(n("260e"),Object(w["a"])(we,r,a,!1,null,"a9df98ac",null));t["default"]=Oe.exports;_()(Oe,{VCol:J["a"],VRow:$["a"]})},"017c":function(e,t,n){"use strict";n("99af"),n("4160"),n("159b");t["a"]={filters:{beforeText:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return"".concat(t).concat(e)},afterText:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return"".concat(e).concat(t)},toMinutes:function(e){return"PT".concat(e,"M")},clearSymbols:function(e,t){return t.forEach((function(t){e=e.replaceAll(t,"")})),e},prettyJSON:function(e){if(!e)return"";try{return JSON.stringify(e,null,4)}catch(t){return""}}}}},"034f":function(e,t,n){"use strict";n("85ec")},"0a9f":function(e){e.exports=JSON.parse('{"@context":{"formComponent":"Input","value":"https://schema.org","placeholder":"","name":"@context","render":false,"validation":{},"styles":{}},"@type":{"formComponent":"Input","value":"Product","placeholder":"","name":"@type","render":false,"validation":{},"styles":{}},"productName":{"formComponent":"Input","value":"","placeholder":"Name","name":"name","render":true,"validation":{"required":true},"styles":{"cols":6}},"image":{"formComponent":"Input","value":"","name":"image","placeholder":"Image URL","render":true,"validation":{"url":true},"styles":{"cols":6}},"brand":{"formComponent":"Input","render":true,"renderJson":false,"showOnChange":"brand","name":"brand","value":"","placeholder":"Brand","validation":{},"styles":{"cols":6}},"description":{"formComponent":"TextArea","render":true,"renderJson":false,"name":"description","showOnChange":"description","value":"","placeholder":"Product\'s description","validation":{},"styles":{"cols":6}},"sku":{"formComponent":"Input","render":true,"renderJson":false,"showOnChange":"sku","name":"sku","value":"","placeholder":"Sku","validation":{},"styles":{}},"gtin14":{"formComponent":"Input","render":true,"renderJson":false,"name":"gtin14","value":"","showOnChange":"gtin14","placeholder":"gtin14 (optional)","validation":{},"styles":{"cols":6}},"gtin13":{"formComponent":"Input","render":true,"renderJson":false,"value":"","name":"gtin13","showOnChange":"gtin13","placeholder":"gtin13 (optional)","validation":{},"styles":{"cols":6}},"gtin8":{"formComponent":"Input","render":true,"renderJson":false,"value":"","name":"gtin8","showOnChange":"gtin8","placeholder":"gtin8 (optional)","validation":{},"styles":{"cols":6}},"mpn":{"formComponent":"Input","render":true,"renderJson":false,"value":"","showOnChange":"mpn","name":"mpn","placeholder":"mpn (optional)","validation":{},"styles":{"cols":6}},"offers":{"formComponent":false,"render":true,"renderJson":false,"hasChild":true,"name":"offers","styles":{},"children":{"offers.@type":{"formComponent":"Selector","placeholder":"Offer @type","renderJson":true,"showOnChange":"offers","name":"@type","render":true,"changeView":true,"value":[{"selected":false,"value":"Offer"},{"selected":false,"value":"Aggregate Offer"}],"validation":{},"styles":{"cols":6},"filters":{"clearSymbols":[" "]}},"offers.url":{"formComponent":"Input","value":"","placeholder":"Url","render":true,"name":"url","validation":{"url":true},"styles":{"cols":6}},"offers.priceCurrency":{"formComponent":"Input","placeholder":"Price Currency","value":"","name":"priceCurrency","render":true,"styles":{"cols":6}},"offers.price":{"formComponent":"Input","placeholder":"Price","value":"","name":"price","render":false,"showOnSelect":{"value":"Offer","show":{"renderJson":true},"hide":{"renderJson":false}},"validation":{"numeric":true},"vuetifyProps":{"type":"number"},"styles":{"cols":6}},"offers.priceValidUntil":{"formComponent":"DatePicker","placeholder":"Price Valid Until","renderJson":false,"render":false,"value":"","name":"priceValidUntil","showOnChange":"offers.priceValidUntil","showOnSelect":{"value":"Offer","show":{"renderJson":false},"hide":{"renderJson":false}},"validation":{},"styles":{"cols":6}},"offers.availability":{"formComponent":"Selector","placeholder":"Availability","renderJson":false,"name":"availability","showOnChange":"offers.availability","render":false,"showOnSelect":{"value":"Offer","show":{"renderJson":false},"hide":{"renderJson":false}},"value":[{"selected":false,"value":"In Stock"},{"selected":false,"value":"Out of Stock"},{"selected":false,"value":"Online only"},{"selected":false,"value":"In store only"},{"selected":false,"value":"Pre-order"},{"selected":false,"value":"Pre-sale"},{"selected":false,"value":"Limited availability"},{"selected":false,"value":"Sold out"},{"selected":false,"value":"Discontinued"},{"selected":false,"value":"In Stock"}],"validation":{},"styles":{"cols":6},"filters":{"beforeText":"https://schema.org/","clearSymbols":[" "]}},"offers.condition":{"formComponent":"Selector","placeholder":"Item Condition","renderJson":false,"name":"itemCondition","showOnChange":"offers.condition","showOnSelect":{"value":"Offer","show":{"renderJson":false},"hide":{"renderJson":false}},"render":false,"value":[{"selected":false,"value":"NewCondition"},{"selected":false,"value":"UsedCondition"},{"selected":false,"value":"RefurbishedCondition"},{"selected":false,"value":"DamagedCondition"}],"filters":{"beforeText":"https://schema.org/"},"validation":{},"styles":{"cols":6}},"offers.lowPrice":{"formComponent":"Input","placeholder":"Low Price","value":"","render":false,"renderJson":true,"name":"lowPrice","showOnSelect":{"value":"Aggregate Offer","show":{"renderJson":true},"hide":{"renderJson":false}},"validation":{"number":true},"vuetifyProps":{"type":"number"},"styles":{"cols":6}},"offers.highPrice":{"formComponent":"Input","placeholder":"High Price","value":"","name":"highPrice","render":false,"renderJson":false,"showOnChange":"offers.highPrice","showOnSelect":{"value":"Aggregate Offer","show":{"renderJson":false},"hide":{"renderJson":false}},"vuetifyProps":{"type":"number"},"validation":{"number":true},"styles":{"cols":6}},"offers.offerCount":{"formComponent":"Input","placeholder":"Number of offers","value":"","name":"offerCount","render":false,"renderJson":false,"showOnChange":"offers.offerCount","showOnSelect":{"value":"Aggregate Offer","show":{"renderJson":false},"hide":{"renderJson":false}},"vuetifyProps":{"type":"number"},"validation":{"numeric":true},"styles":{"cols":6}}}},"review":{"formComponent":"Repeater","repeaterType":"object","render":true,"hide":true,"renderJson":false,"name":"review","value":[{"review.0.@type":{"formComponent":"Input","uuid":"0","value":"Review","render":false,"name":"@type","styles":{},"validation":{}},"review.0.name":{"formComponent":"Input","uuid":"0","placeholder":"Review\'s name","render":true,"name":"name","value":"","styles":{"cols":6},"validation":{}},"review.0.reviewBody":{"formComponent":"TextArea","uuid":"0","placeholder":"Review\'s body","name":"reviewBody","render":true,"value":"","styles":{"cols":6},"validation":{}},"review.0.reviewRating":{"formComponent":false,"render":true,"renderJson":false,"name":"reviewRating","styles":{},"validation":{},"hasChild":true,"children":{"review.0.reviewRating.@type":{"formComponent":"Input","uuid":"0","render":false,"name":"@type","value":"Rating","styles":{},"validation":{}},"review.0.reviewRating.ratingValue":{"formComponent":"ReviewRating","uuid":"0","render":true,"value":"","showOnChange":"review.0.reviewRating","placeholder":"Rating","name":"ratingValue","styles":{},"validation":{"maxValue":0,"minValue":0},"vuetifyProps":{"type":"number"}}}},"review.0.datePublished":{"formComponent":"DatePicker","uuid":"0","placeholder":"Date","render":true,"renderJson":false,"showOnChange":"review.0.datePublished","name":"datePublished","value":"","styles":{},"validation":{}},"review.0.author":{"formComponent":false,"uuid":"0","hasChild":true,"render":true,"name":"author","validation":{},"styles":{"cols":6},"children":{"review.0.author.0.@type":{"uuid":"0","formComponent":"Input","render":false,"value":"Person","name":"@type","styles":{},"validation":{}},"review.0.author.0.name":{"formComponent":"Input","uuid":"0","placeholder":"Author","render":true,"name":"name","value":"","styles":{},"validation":{}}}},"review.0.publisher":{"formComponent":false,"uuid":"0","hasChild":true,"renderJson":false,"render":true,"name":"publisher","validation":{},"styles":{"cols":6},"children":{"review.0.publisher.@type":{"formComponent":"Input","uuid":"0","render":false,"value":"Organization","name":"@type","styles":{},"validation":{}},"review.0.publisher.name":{"uuid":"0","formComponent":"Input","placeholder":"Publisher","showOnChange":"review.0.publisher","render":true,"name":"name","value":"","styles":{},"validation":{}}}}}],"validation":{},"styles":{},"buttonTitle":"ADD REVIEW"}}')},"0c0e":function(e,t,n){"use strict";n("e182")},"22c9":function(e,t,n){"use strict";n("fbd5")},"260e":function(e,t,n){"use strict";n("de0a")},"330a":function(e,t,n){},"56d7":function(e,t,n){"use strict";n.r(t),n.d(t,"schemaEmitter",(function(){return O}));n("e260"),n("e6cf"),n("cca6"),n("a79d");var r=n("a026"),a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("v-app",{attrs:{id:"schema"}},[n("div",{attrs:{id:"app"}},[n("Schema",{attrs:{schemas_type:e.schemasType}})],1)])},i=[],o=n("fad7"),s={name:"App",data:function(){return{schemasType:[{title:"Article",description:"- NewsArticle, BlogPosting",icon:"mdi-newspaper"},{title:"Breadcrumbs",description:"",icon:"mdi-chevron-double-right"},{title:"FAQPage",description:"",icon:"mdi-help-circle-outline"},{title:"Product",description:"- Offer, AggregateRating, Reviews",icon:"mdi-tag-outline"},{title:"Recipe",description:"",icon:"mdi-chef-hat"},{title:"Custom",description:"- Insert your own schema",icon:"mdi-border-color"}]}},components:{Schema:o["a"]}},l=s,u=(n("034f"),n("2877")),c=n("6544"),d=n.n(c),p=n("7496"),m=Object(u["a"])(l,a,i,!1,null,null,null),f=m.exports;d()(m,{VApp:p["a"]});var v=n("f309");r["a"].use(v["a"]);var h=new v["a"]({}),g=(n("d1e78"),n("2f62")),y={state:{default:{},schemaType:{},jsonType:{},sourceType:{}},mutations:{updateDefault:function(e,t){e["default"]=t},updateProperty:function(e,t){e[t[0]]=t[1]}},actions:{setDefaultData:function(e,t){var n=e.commit,r=JSON.parse(t.jsonString);n("updateDefault",r[t.key])},run:function(e,t){var n=e.commit;t&&(n("updateProperty",["schemaType",t]),n("updateProperty",["jsonType",JSON.parse(JSON.stringify(t))]),n("updateProperty",["sourceType",JSON.parse(JSON.stringify(t))]))}},getters:{getJsonType:function(e){return e.jsonType},getSchemaType:function(e){return e.schemaType},getSourceType:function(e){return e.sourceType},getDefaultData:function(e){return e.default}}},b=(n("b64b"),{state:{rating:{ratingValue:null,ratingCount:null,reviewCount:null,worstResult:null,bestResult:null},reviews:{}},mutations:{updateReview:function(e,t){e["reviews"][t.number]=t.value},setReview:function(e,t){e["reviews"]=t},updateRating:function(e,t){e["rating"]=t}},actions:{updateReviewRating:function(e,t){var n=e.commit,r=e.dispatch;n("updateReview",t),r("calculateRating")},setReviewRating:function(e,t){var n=e.commit,r=e.dispatch;n("setReview",t),r("calculateRating")},calculateRating:function(e){var t=e.commit,n=e.getters,r=n.getRating,a=null,i={ratingValue:null,ratingCount:null,reviewCount:null,worstResult:r.worstResult,bestResult:r.bestResult},o=null,s=n.getReviews,l=Object.keys(s).length;for(var u in s)s.hasOwnProperty(u)&&""!==s[u]&&(o+=1,a+=parseInt(s[u]));null!==o&&(i.ratingCount=o),null!==a&&(i.ratingValue=a/o),i.reviewCount=l,t("updateRating",i)},setRatingResult:function(e,t){e.commit},setBestResult:function(e,t){var n=e.commit,r=e.getters,a=r.getRating;n("updateRating",{ratingValue:a.ratingValue,ratingCount:a.ratingCount,reviewCount:a.reviewCount,bestResult:t,worstResult:a.worstResult})},setWorstResult:function(e,t){var n=e.commit,r=e.getters,a=r.getRating;r.getReviews;n("updateRating",{ratingValue:a.ratingValue,ratingCount:a.ratingCount,reviewCount:a.reviewCount,bestResult:a.bestResult,worstResult:t})}},getters:{getRating:function(e){return e.rating},getReviews:function(e){return e.reviews}}}),C={state:{currentSchema:{},schemasList:{}},mutations:{updateCurrentSchema:function(e,t){e.currentSchema=t},updateSchemasList:function(e,t){e.schemasList=t}},actions:{setCurrentSchema:function(e,t){var n=e.commit;n("updateCurrentSchema",t)},setSchemasList:function(e,t){var n=e.commit;n("updateSchemasList",t)}},getters:{getCurrentSchema:function(e){return e.currentSchema},getSchemasList:function(e){return e.schemasList}}};r["a"].use(g["a"]);var w=new g["a"].Store({modules:{schema:y,rating:b,currentSchema:C}});r["a"].config.productionTip=!1;var O=new r["a"];new r["a"]({vuetify:h,store:w,render:function(e){return e(f)},created:function(){"undefined"!==typeof schema_integration&&schema_integration.hasOwnProperty("i18n")&&this.setLocaleData(schema_integration.i18n["schema_integration"])}}).$mount("#app")},"6bdd":function(e,t,n){"use strict";n("c22a")},"7bc67":function(e,t,n){},"7ebc":function(e){e.exports=JSON.parse('{"@context":{"formComponent":"Input","value":"https://schema.org","name":"@context","placeholder":"","render":false,"validation":{},"styles":{}},"@type":{"formComponent":"Input","value":"Recipe","name":"@type","placeholder":"","render":false,"validation":{},"styles":{}},"recipeName":{"formComponent":"Input","value":"","placeholder":"Name","name":"name","render":true,"validation":{"required":true},"styles":{"cols":6},"duplicateFor":["video.@name"]},"keywords":{"formComponent":"Input","value":"","placeholder":"Keywords","render":true,"name":"keywords","validation":{},"styles":{"cols":6}},"description":{"formComponent":"TextArea","value":"","placeholder":"Recipe\'s description","name":"description","render":true,"validation":{},"styles":{},"duplicateFor":["video.description"]},"image":{"formComponent":"Repeater","repeaterType":"array","render":true,"name":"image","value":[{"image.0.url":{"formComponent":"Input","placeholder":"Image URL #","uuid":"0","render":true,"name":"url","value":"","styles":{},"validation":{"url":true}}}],"validation":{"required":true},"styles":{},"buttonTitle":"IMAGE","duplicateFor":["video.thumbnailUrl"]},"video":{"formComponent":false,"hasChild":true,"render":true,"name":"video","renderJson":false,"validation":{},"styles":{},"children":{"video.@type":{"formComponent":"Input","render":false,"value":"VideoObject","name":"@type","renderJson":true,"validation":{},"styles":{}},"video.@name":{"formComponent":"Input","render":false,"renderJson":true,"name":"name","value":"","validation":{},"styles":{}},"video.description":{"formComponent":"TextArea","render":false,"showOnChange":"description","name":"description","value":"","validation":{},"styles":{}},"video.thumbnailUrl":{"formComponent":"Repeater","repeaterType":"array","value":[{"video.0.thumbnailUrl":{"formComponent":"Input","placeholder":"Image URL #","uuid":"0","render":true,"name":"url","value":"","styles":{},"validation":{"url":true}}}],"render":false,"name":"thumbnailUrl","validation":{},"styles":{}},"video.uploadDate":{"formComponent":"DatePicker","value":"","name":"uploadDate","render":false,"renderJson":false,"showOnChange":"video.uploadDate","validation":{},"styles":{}},"video.contentUrl":{"formComponent":"Input","showOnChange":"video","render":true,"value":"","name":"contentUrl","placeholder":"Video: Content URL","validation":{"url":true},"styles":{"cols":6}},"video.embedUrl":{"formComponent":"Input","showOnChange":"video","render":true,"value":"","name":"embedUrl","placeholder":"Video: Embed URL","validation":{"url":true},"styles":{"cols":6}}}},"author":{"formComponent":false,"hasChild":true,"render":true,"name":"author","children":{"author.@type":{"formComponent":"Input","value":"Person","name":"@type","placeholder":"","render":false,"validation":{},"styles":{}},"author.name":{"formComponent":"Input","value":"","name":"name","placeholder":"Creator","render":true,"validation":{},"styles":{}}},"styles":{},"validation":{}},"datePublished":{"formComponent":"DatePicker","value":"","name":"datePublished","placeholder":"Date publisher","render":true,"validation":{},"styles":{"cols":4},"duplicateFor":["video.uploadDate"]},"prepTime":{"formComponent":"Input","vuetifyProps":{"type":"number"},"name":"prepTime","showOnChange":"prepTime","render":true,"value":"","placeholder":"Preparation (min)","calculateValue":{"from":["cookTime","prepTime"],"to":["totalTime"]},"styles":{"cols":4},"filters":{"toMinutes":true}},"cookTime":{"formComponent":"Input","vuetifyProps":{"type":"number"},"name":"cookTime","showOnChange":"cookTime","render":true,"value":"","placeholder":"Cooking (min)","calculateValue":{"from":["cookTime","prepTime"],"to":["totalTime"]},"styles":{"cols":4},"filters":{"toMinutes":true}},"totalTime":{"formComponent":"Input","vuetifyProps":{"type":"number"},"name":"totalTime","render":false,"renderJson":true,"value":"","placeholder":"Total (min)","styles":{"cols":4},"filters":{"toMinutes":true}},"recipeCategory":{"formComponent":"Selector","renderJson":false,"name":"recipeCategory","showOnChange":"recipeCategory","value":[{"selected":true,"value":""},{"selected":false,"value":"Appetizer"},{"selected":false,"value":"Entree"},{"selected":false,"value":"Dessert"}],"placeholder":"Category","render":true,"validation":{},"styles":{"cols":4}},"recipeCuisine":{"formComponent":"Input","renderJson":false,"showOnChange":"recipeCuisine","render":true,"value":"","name":"recipeCuisine","placeholder":"Cuisine","styles":{"cols":4}},"recipeYield":{"formComponent":"Input","vuetifyProps":{"type":"number"},"renderJson":false,"name":"recipeYield","showOnChange":"recipeYield","render":true,"value":"","placeholder":"Servings","styles":{"cols":4}},"recipeIngredient":{"formComponent":"Repeater","repeaterType":"array","render":true,"renderJson":false,"name":"recipeIngredient","value":[{"recipeIngredient.0.ingredient":{"formComponent":"Input","uuid":"0","placeholder":"Ingredient #","render":true,"value":"","name":"ingredient","styles":{},"validation":{},"showOnChange":"recipeIngredient"}}],"validation":{},"styles":{},"buttonTitle":"ADD INGREDIENT"},"nutrition":{"formComponent":false,"render":true,"hasChild":true,"styles":{},"name":"nutrition","validation":{},"children":{"nutrition.@type":{"formComponent":"Input","renderJson":true,"render":false,"name":"@type","value":"NutritionInformation","validation":{},"styles":{"cols":4}},"nutrition.servingSize":{"formComponent":"Input","renderJson":false,"showOnChange":"nutrition.servingSize","render":true,"value":"","name":"servingSize","placeholder":"Nutrition: Serving size","validation":{},"styles":{"cols":4}},"nutrition.calories":{"formComponent":"Input","renderJson":true,"render":true,"value":"","name":"calories","placeholder":"Nutrition: Calories","validation":{},"styles":{"cols":4},"vuetifyProps":{"type":"number"},"filters":{"afterText":" cal"}},"nutrition.fatContent":{"formComponent":"Input","renderJson":false,"render":true,"name":"fatContent","showOnChange":"nutrition.fatContent","value":"","placeholder":"Nutrition: Fat(grams)","validation":{},"styles":{"cols":4},"vuetifyProps":{"type":"number"},"filters":{"afterText":" g"}}}},"recipeInstructions":{"formComponent":"Repeater","repeaterType":"object","render":true,"hide":true,"renderJson":false,"name":"recipeInstructions","value":[{"recipeInstructions.0.@type":{"formComponent":"Input","render":false,"uuid":"0","name":"@type","value":"HowToStep","styles":{},"validation":{}},"recipeInstructions.0.text":{"formComponent":"Input","render":true,"uuid":"0","name":"text","renderJson":false,"placeholder":"Step #: Text","showOnChange":"recipeInstructions.0.text","value":"","validation":{},"styles":{"cols":3}},"recipeInstructions.0.name":{"formComponent":"Input","render":true,"uuid":"0","name":"name","placeholder":"Name","renderJson":false,"showOnChange":"recipeInstructions.0.name","value":"","validation":{},"styles":{"cols":3}},"recipeInstructions.0.url":{"formComponent":"Input","render":true,"uuid":"0","name":"url","renderJson":false,"placeholder":"URL","showOnChange":"recipeInstructions.0.url","value":"","validation":{"url":true},"styles":{"cols":3}},"recipeInstructions.0.image":{"formComponent":"Input","render":true,"uuid":"0","name":"image","renderJson":false,"placeholder":"Image","showOnChange":"recipeInstructions.0.image","value":"","validation":{"url":true},"styles":{"cols":3}}}],"validation":{},"styles":{},"buttonTitle":"ADD STEP"},"review":{"formComponent":"Repeater","repeaterType":"object","render":true,"hide":true,"renderJson":false,"name":"review","value":[{"review.0.@type":{"formComponent":"Input","uuid":"0","value":"Review","render":false,"name":"@type","styles":{},"validation":{}},"review.0.name":{"formComponent":"Input","uuid":"0","placeholder":"Review\'s name","render":true,"name":"name","value":"","styles":{"cols":6},"validation":{}},"review.0.reviewBody":{"formComponent":"TextArea","uuid":"0","placeholder":"Review\'s body","name":"reviewBody","render":true,"value":"","styles":{"cols":6},"validation":{}},"review.0.reviewRating":{"formComponent":false,"render":true,"renderJson":false,"name":"reviewRating","styles":{},"validation":{},"hasChild":true,"children":{"review.0.reviewRating.@type":{"formComponent":"Input","uuid":"0","render":false,"name":"@type","value":"Rating","styles":{},"validation":{}},"review.0.reviewRating.ratingValue":{"formComponent":"ReviewRating","uuid":"0","render":true,"value":"","showOnChange":"review.0.reviewRating","placeholder":"Rating","name":"ratingValue","styles":{},"validation":{"maxValue":0,"minValue":0},"vuetifyProps":{"type":"number"}}}},"review.0.datePublished":{"formComponent":"DatePicker","uuid":"0","placeholder":"Date","render":true,"renderJson":false,"showOnChange":"review.0.datePublished","name":"datePublished","value":"","styles":{},"validation":{}},"review.0.author":{"formComponent":false,"uuid":"0","hasChild":true,"render":true,"name":"author","validation":{},"styles":{"cols":6},"children":{"review.0.author.0.@type":{"uuid":"0","formComponent":"Input","render":false,"value":"Person","name":"@type","styles":{},"validation":{}},"review.0.author.0.name":{"formComponent":"Input","uuid":"0","placeholder":"Author","render":true,"name":"name","value":"","styles":{},"validation":{}}}},"review.0.publisher":{"formComponent":false,"uuid":"0","hasChild":true,"renderJson":false,"render":true,"name":"publisher","validation":{},"styles":{"cols":6},"children":{"review.0.publisher.@type":{"formComponent":"Input","uuid":"0","render":false,"value":"Organization","name":"@type","styles":{},"validation":{}},"review.0.publisher.name":{"uuid":"0","formComponent":"Input","placeholder":"Publisher","showOnChange":"review.0.publisher","render":true,"name":"name","value":"","styles":{},"validation":{}}}}}],"validation":{},"styles":{},"buttonTitle":"ADD REVIEW"}}')},"85ec":function(e,t,n){},"87f9":function(e,t,n){},"98d7":function(e){e.exports=JSON.parse('{"@context":{"formComponent":"Input","value":"https://schema.org","placeholder":"","name":"@context","render":false,"validation":{},"styles":{}},"@type":{"formComponent":"Selector","name":"@type","value":[{"selected":true,"value":"Article"},{"selected":false,"value":"NewsArticle"},{"selected":false,"value":"BlogPosting"}],"placeholder":"Article @type","render":true,"validation":{},"styles":{}},"mainEntityOfPage":{"formComponent":false,"render":true,"renderJson":false,"name":"mainEntityOfPage","hasChild":true,"validation":{},"styles":{"cols":6},"children":{"mainEntityOfPage.@type":{"formComponent":"Input","hasChild":false,"name":"@type","value":"WebPage","placeholder":"","validation":{},"styles":{}},"mainEntityOfPage.@id":{"formComponent":"Input","render":true,"hasChild":false,"name":"@id","showOnChange":"mainEntityOfPage","value":"","placeholder":"URL","validation":{"url":true},"styles":{"classes":"ptb-0"}}}},"headline":{"formComponent":"Input","render":true,"value":"","name":"headline","placeholder":"Headline","validation":{"maxLength":110},"styles":{"cols":6}},"description":{"formComponent":"Input","render":true,"renderJson":false,"name":"description","showOnChange":"description","value":"","placeholder":"Description of the article","validation":{},"styles":{}},"image":{"formComponent":"Repeater","repeaterType":"array","render":true,"name":"image","value":[{"image.0.url":{"formComponent":"Input","uuid":"0","placeholder":"Image URL #","render":true,"name":"url","value":"","styles":{},"validation":{"url":true}}}],"validation":{},"styles":{},"buttonTitle":"IMAGE"},"author":{"formComponent":false,"hasChild":true,"render":true,"name":"author","children":{"author.@type":{"formComponent":"Selector","name":"@type","value":[{"selected":false,"value":"Person"},{"selected":false,"value":"Organization"}],"placeholder":"Author @type","render":true,"validation":{},"styles":{}},"author.name":{"formComponent":"Input","value":"","placeholder":"Author","name":"name","render":true,"validation":{},"styles":{}}},"styles":{},"validation":{}},"publisher":{"formComponent":false,"hasChild":true,"render":true,"name":"publisher","styles":{},"children":{"publisher.@type":{"formComponent":"Input","value":"Organization","placeholder":"","name":"@type","render":false,"validation":{},"styles":{}},"publisher.name":{"formComponent":"Input","value":"","name":"name","placeholder":"Publisher","render":true,"validation":{},"styles":{}},"publisher.logo":{"formComponent":false,"hasChild":true,"render":true,"name":"logo","styles":{},"children":{"publisher.logo.@type":{"formComponent":"Input","value":"ImageObject","placeholder":"","name":"@type","render":false,"validation":{},"styles":{}},"publisher.logo.url":{"formComponent":"Input","value":"","name":"url","placeholder":"Publisher logo URL","render":true,"validation":{"url":true},"styles":{}}},"validation":{}}},"validation":{}},"datePublished":{"formComponent":"DatePicker","value":"","placeholder":"Date publisher","name":"datePublished","render":true,"validation":{},"styles":{"cols":5}},"dateModified":{"formComponent":"DatePicker","value":"","placeholder":"Date modified","renderJson":false,"name":"dateModified","showOnChange":"dateModified","render":true,"required":false,"validation":{},"styles":{"cols":7}}}')},a758:function(e,t,n){"use strict";n("7bc67")},aa03:function(e,t,n){"use strict";n("99af"),n("c740"),n("4160"),n("45fc"),n("a434"),n("b64b"),n("ac1f"),n("841c"),n("1276"),n("159b");var r=n("ade3"),a=n("53ca"),i=n("56d7"),o=n("017c");t["a"]={mixins:[o["a"]],methods:{findVal:function(e,t){var n,r=this,i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return Object.keys(e).some((function(o){return i&&-1!==o.search(t)||o===t?(n=e[o],!0):e[o]&&"object"===Object(a["a"])(e[o])?(n=r.findVal(e[o],t,i),void 0!==n):void 0})),n},changeChildType:function(e){return e.split(".").pop()},isLastItem:function(e,t){for(var n in e){var r="undefined"===typeof t[e[n]].renderJson||t[e[n]].renderJson;if(r)return!1}return!0},printComma:function(e,t){var n=Object.keys(t),r=n[e],a="undefined"===typeof t[r].renderJson||t[r].renderJson,i=n.length;if(e===i-1)return"";if(!a)return"";var o=n.splice(e+1,n.length);return o.length>0&&this.isLastItem(o,t)?"":","},renderItem:function(e){return void 0===e.renderJson||e.renderJson},isObject:function(e){return e&&"object"===Object(a["a"])(e)&&!Array.isArray(e)},mergeDeep:function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),a=1;a<t;a++)n[a-1]=arguments[a];if(!n.length)return e;var i=n.shift();if(this.isObject(e)&&this.isObject(i))for(var o in i)i.hasOwnProperty(o)&&this.isObject(i[o])?(e[o]?e[o]=Object.assign({},e[o]):Object.assign(e,Object(r["a"])({},o,{})),this.mergeDeep(e[o],i[o])):Object.assign(e,Object(r["a"])({},o,i[o]));return this.mergeDeep.apply(this,[e].concat(n))},getFilters:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(e)for(var n in t)"beforeText"===n&&(e=this.$options.filters.beforeText(e,t[n])),"afterText"===n&&(e=this.$options.filters.afterText(e,t[n])),"toMinutes"===n&&(e=this.$options.filters.toMinutes(e)),"clearSymbols"===n&&(e=this.$options.filters.clearSymbols(e,t[n]));return e},updateRatingValues:function(e){var t=this.getRating(),n=Object.keys(this.getReviews()),r={value:t.ratingValue},a={value:t.ratingCount};n.forEach((function(e){i["schemaEmitter"].$emit("input","review.".concat(e,".reviewRating.bestRating"),t.bestResult),i["schemaEmitter"].$emit("input","review.".concat(e,".reviewRating.worstRating"),t.worstResult),i["schemaEmitter"].$emit("input","review.".concat(e,".reviewRating.ratingValue"),{validation:{maxValue:t.bestResult,minValue:t.worstResult}})})),t.ratingValue?(r["vuetifyProps"]={disabled:!0},a["vuetifyProps"]={disabled:!0}):(r["vuetifyProps"]={disabled:!1},a["vuetifyProps"]={disabled:!1}),t.ratingValue>=1?i["schemaEmitter"].$emit("input","aggregateRating",{renderJson:!0}):i["schemaEmitter"].$emit("input","aggregateRating",{renderJson:!1}),i["schemaEmitter"].$emit("input","aggregateRating.ratingValue",r),i["schemaEmitter"].$emit("input","aggregateRating.ratingCount",a)},setEmptyValue:function(e){var t=Object(a["a"])(e);if("string"===t)return"";if("object"===t){var n=[];return e.forEach((function(e){var t={selected:!1};t["value"]=e.value,n.push(t)})),n}return""},isNotEmptyValue:function(e){var t=Object(a["a"])(e);if("string"===t)return e.length>0;if("object"===t){var n=e.findIndex((function(e){return e.selected}));return-1!==n}return!1},duplicateValues:function(e){if(this.componentProps.hasOwnProperty("duplicateFor")){var t=this.componentProps.duplicateFor;t.forEach((function(t){"string"===typeof e?i["schemaEmitter"].$emit("input",t,e):i["schemaEmitter"].$emit("input",t,{value:e})}))}}}}},ac85:function(e,t,n){"use strict";n.r(t);var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",["Input"===e.node.formComponent||"TextArea"===e.node.formComponent||"ReviewRating"===e.node.formComponent?n("div",[n("single-item",{attrs:{name:e.name,value:e.node.value,comma:e.comma,isDisplayName:e.isDisplayName,filters:e.getFiltersProp()}})],1):e._e(),"DatePicker"===e.node.formComponent?n("div",[n("date-item",{attrs:{name:e.name,value:e.node.value,comma:e.comma}})],1):"Selector"===e.node.formComponent?n("div",[n("selector-item",{attrs:{name:e.name,value:e.node.value,filters:e.getFiltersProp(),comma:e.comma}})],1):"Repeater"===e.node.formComponent&&"object"===e.node.repeaterType?n("div",[n("object-item",{attrs:{name:e.name,value:e.node.value,comma:e.comma}})],1):"Repeater"===e.node.formComponent&&"array"===e.node.repeaterType?n("div",[n("array-item",{attrs:{name:e.name,value:e.node.value}})],1):!1===e.node.formComponent?n("div",[n("span"),n("span",[e._v('"'+e._s(e.name)+'"')]),e._v(": "),n("span",[e._v("{")]),e._l(e.node.children,(function(t,r,a){return e.renderItem(t)?n("node",{key:r,attrs:{name:t.name,type:r,node:t,comma:e.printComma(a,e.node.children)}}):e._e()})),n("span",[e._v("}"+e._s(e.comma))])],2):e._e()])},a=[],i=(n("a9e3"),function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.isDisplayName?n("span",[n("span",[e._v('"'+e._s(e.name)+'"')]),e._v(': "'),n("span",{staticClass:"schema_integration-str",class:{"schema_integration-str__updated":e.isUpdate}},[e._v(e._s(e.getFilters(e.value,e.filters)))]),e._v('"'+e._s(e.comma)+" ")]):n("span",[e._v(' "'),n("span",{staticClass:"schema_integration-str",class:{"schema_integration-str__updated":e.isUpdate}},[e._v(e._s(e.getFilters(e.value,e.filters)))]),e._v('"'+e._s(e.comma)+" ")])}),o=[],s={props:{name:{type:String,required:!0},value:{type:[String,Number,Array],required:!1,default:""},comma:{type:String,required:!1,default:","},isDisplayName:{type:Boolean,required:!1,default:!0},filters:{type:Object,default:function(){return{}}}}},l=n("aa03"),u={mixins:[l["a"],s],data:function(){return{isUpdate:!1}},watch:{value:function(e){e&&(this.isUpdate=e.length>0)}}},c=u,d=n("2877"),p=Object(d["a"])(c,i,o,!1,null,"74a2251c",null),m=p.exports,f=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("span",[e.value.length>1?n("span",[n("span"),n("span",[e._v('"'+e._s(e.name)+'"')]),e._v(": "),n("span",[e._v("[")]),e._l(e.value,(function(t,r){return n("span",{key:r},e._l(t,(function(t,a,i){return e.renderItem(t)?n("json-tree",{key:a,attrs:{name:t.name,type:a,node:t,comma:e.printComma(r,e.value),isDisplayName:e.display}}):e._e()})),1)})),n("span"),n("span",[e._v("]"+e._s(e.printComma(0,e.value)))])],2):n("span",e._l(e.value[0],(function(t,r){return n("span",{key:r},[n("span"),n("span",[e._v('"'+e._s(e.name)+'"')]),e._v(': "'),n("span",{staticClass:"schema_integration-str"},[e._v(e._s(t.value))]),e._v('", ')])})),0)])},v=[],h=(n("d3b7"),{mixins:[s,l["a"]],props:{value:{type:Array,required:!0}},data:function(){return{display:!1}},components:{JsonTree:function(){return Promise.resolve().then(n.bind(null,"ac85"))}}}),g=h,y=(n("a758"),Object(d["a"])(g,f,v,!1,null,"2226b39c",null)),b=y.exports,C=function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.isDisplayName?n("span",[n("span",[e._v('"'+e._s(e.name)+'"')]),e._v(': "'),n("span",{staticClass:"schema_integration-str"},[e._v(e._s(e.getSelectedItem))]),e._v('"'+e._s(e.comma)+" ")]):n("span",[e._v(' "'),n("span",{staticClass:"schema_integration-str"},[e._v(e._s(e.getSelectedItem))]),e._v('"'+e._s(e.comma)+" ")])},w=[],O={mixins:[l["a"],s],computed:{getSelectedItem:function(){for(var e in this.value)if(this.value[e].selected)return this.getFilters(this.value[e].value,this.filters)}}},_=O,S=Object(d["a"])(_,C,w,!1,null,"4fdb5c6a",null),P=S.exports,R=function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.isDisplayName?n("span",[n("span",[e._v('"'+e._s(e.name)+'"')]),e._v(": "),n("span",[e._v('"'+e._s(e.value)+'"')]),e._v(e._s(e.comma)+" ")]):n("span",[n("span",[e._v('"'+e._s(e.value)+'"')]),e._v(e._s(e.comma)+" ")])},I=[],V={mixins:[s]},j=V,x=Object(d["a"])(j,R,I,!1,null,"474081ee",null),T=x.exports,J=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("span",[n("span"),n("span",[e._v('"'+e._s(e.name)+'"')]),e._v(": "),n("span",[e._v("[")]),e._l(e.value,(function(t,r){return n("span",{key:r},[e._v("{ "),e._l(t,(function(r,a,i){return e.renderItem(r)?n("json-tree",{key:a,attrs:{name:r.name,type:a,node:r,comma:e.printComma(i,t),"display-name":e.display}}):e._e()})),e._v(" }"+e._s(e.printComma(r,e.value)))],2)})),n("span"),n("span",[e._v("]"+e._s(e.comma))])],2)},E=[],$={mixins:[s,l["a"]],props:{value:{type:Array,required:!0}},data:function(){return{display:!1}},components:{JsonTree:function(){return Promise.resolve().then(n.bind(null,"ac85"))}}},k=$,D=(n("e396"),Object(d["a"])(k,J,E,!1,null,"71953de0",null)),N=D.exports,A={mixins:[l["a"]],name:"node",props:{node:Object,type:[String,Number],comma:String,name:String,isDisplayName:{type:Boolean,required:!1,default:!0}},components:{SingleItem:m,ArrayItem:b,SelectorItem:P,DateItem:T,ObjectItem:N},methods:{getFiltersProp:function(){return this.node.hasOwnProperty("filters")?this.node.filters:{}}}},L=A,F=(n("0c0e"),Object(d["a"])(L,r,a,!1,null,"516b3065",null));t["default"]=F.exports},af02:function(e){e.exports=JSON.parse('{"@context":{"formComponent":"Input","value":"https://schema.org","placeholder":"","name":"@context","render":false,"validation":{},"styles":{}},"@type":{"formComponent":"Input","value":"BreadcrumbList","name":"@type","placeholder":"","render":false,"validation":{},"styles":{}},"itemListElement":{"formComponent":"Repeater","repeaterType":"object","render":true,"name":"itemListElement","value":[{"itemListElement.0.@type":{"formComponent":"Input","uuid":"0","placeholder":"@type","name":"@type","value":"ListItem","render":false,"renderJson":true,"styles":{},"validation":{}},"itemListElement.0.position":{"formComponent":"Input","uuid":"0","placeholder":"position","value":"1","name":"position","render":false,"renderJson":true,"styles":{},"validation":{}},"itemListElement.0.name":{"formComponent":"Input","uuid":"0","placeholder":"Page\'s name","name":"name","value":"","render":true,"renderJson":true,"styles":{},"validation":{"required":true}},"itemListElement.0.item":{"formComponent":"Input","uuid":"0","placeholder":"URL","name":"item","value":"","render":true,"renderJson":true,"styles":{},"validation":{"required":true,"url":true}}}],"validation":{},"styles":{},"buttonTitle":"ADD URL"}}')},bab1:function(e,t,n){"use strict";n("87f9")},bdd2:function(e){e.exports=JSON.parse('{"@context":{"formComponent":"Input","value":"https://schema.org","placeholder":"","name":"@context","render":false,"validation":{},"styles":{}},"@type":{"formComponent":"Input","value":"FAQPage","placeholder":"","name":"@type","render":false,"validation":{},"styles":{}},"mainEntity":{"formComponent":"Repeater","repeaterType":"object","render":true,"name":"mainEntity","value":[{"mainEntity.0.@type":{"formComponent":"Input","uuid":"0","render":false,"renderJson":true,"name":"@type","value":"Question","validation":{},"styles":{}},"mainEntity.0.question":{"formComponent":"Input","uuid":"0","placeholder":"Question","name":"name","value":"","render":true,"styles":{},"validation":{}},"mainEntity.0.acceptedAnswer":{"formComponent":false,"hasChild":true,"uuid":"0","render":true,"name":"acceptedAnswer","styles":{},"validation":{},"children":{"mainEntity.0.acceptedAnswer.@type":{"formComponent":"Input","uuid":"0","render":false,"renderJson":true,"name":"@type","value":"Answer","validation":{},"styles":{}},"mainEntity.0.acceptedAnswer.answer":{"formComponent":"Input","uuid":"0","placeholder":"Answer","name":"text","value":"","render":true,"styles":{},"validation":{}}}}}],"validation":{},"styles":{},"buttonTitle":"ADD QUESTION"}}')},c22a:function(e,t,n){},de0a:function(e,t,n){},e182:function(e,t,n){},e396:function(e,t,n){"use strict";n("330a")},fad7:function(e,t,n){"use strict";var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("v-main",[n("v-container",[n("v-row",[n("v-col",[n("v-card",[n("v-card-text",[n("div",[n("v-select",{attrs:{items:e.getSchemasList,attach:"",label:"Which Schema.org markup would you like to create?"},on:{change:function(t){return e.selectSchema(t)}},scopedSlots:e._u([{key:"selection",fn:function(t){return[n("v-list-item",[n("v-list-item-content",[n("v-list-item-title",[n("v-icon",{attrs:{small:""}},[e._v(e._s(t.item.icon))]),e._v(" "+e._s(t.item.title)+" ")],1)],1)],1)]}},{key:"item",fn:function(t){return[n("v-icon",{attrs:{small:""}},[e._v(e._s(t.item.icon))]),n("v-list-item",[n("v-list-item-content",[n("v-list-item-title",[e._v(" "+e._s(t.item.title)+" "),n("small",[e._v(e._s(t.item.description))])])],1)],1)]}}]),model:{value:e.getSelectedSchema,callback:function(t){e.getSelectedSchema=t},expression:"getSelectedSchema"}})],1)])],1)],1)],1),n("v-row",[n("v-col",{attrs:{cols:"7"}},[n("v-card",[n("v-card-text",[n("form-builder",{attrs:{config:e.getSchemaType}})],1)],1)],1),n("v-col",{attrs:{cols:"5"}},[n("v-card",{attrs:{height:"100%"}},[n("v-card-text",[n("json-builder",{ref:"jsonTemplate",attrs:{config:e.getJsonType}})],1)],1)],1)],1),n("v-row",[n("v-col",[n("v-card",[n("v-card-title",[e._v("Select schemas conditions")]),n("v-card-text",[n("conditions",{attrs:{conditionsList:e.conditions,currentConditions:e.postConditions}})],1)],1)],1)],1),n("v-row",[n("input",{directives:[{name:"model",rawName:"v-model",value:e.result,expression:"result"}],attrs:{type:"hidden",name:"schema"},domProps:{value:e.result},on:{input:function(t){t.target.composing||(e.result=t.target.value)}}}),n("input",{directives:[{name:"model",rawName:"v-model",value:e.source,expression:"source"}],attrs:{type:"hidden",name:"source"},domProps:{value:e.source},on:{input:function(t){t.target.composing||(e.source=t.target.value)}}}),n("input",{directives:[{name:"model",rawName:"v-model",value:e.getSchemaName,expression:"getSchemaName"}],attrs:{type:"hidden",name:"schema_name"},domProps:{value:e.getSchemaName},on:{input:function(t){t.target.composing||(e.getSchemaName=t.target.value)}}})])],1)],1)},a=[],i=(n("7db0"),n("4160"),n("4fad"),n("159b"),n("3835")),o=n("53ca"),s=n("5530"),l=n("98d7"),u=n("bdd2"),c=n("0a9f"),d=n("7ebc"),p=n("af02"),m=n("ff39"),f={data:function(){return{config:{Article:l,FAQPage:u,Product:c,Recipe:d,Breadcrumbs:p,Custom:m}}}},v=n("aa03"),h=n("bc3a"),g=n.n(h),y=n("2f62"),b=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("v-row",e._l(e.config,(function(e,t,r){return n("form-tree",{key:t,attrs:{index:r,type:t,node:e}})})),1)},C=[],w=n("003d"),O=n("56d7"),_={props:["config"],data:function(){return{formValues:{}}},components:{FormTree:w["default"]},methods:{updateField:function(e,t){O["schemaEmitter"].$emit("input",e,t)}}},S=_,P=n("2877"),R=n("6544"),I=n.n(R),V=n("0fd9"),j=Object(P["a"])(S,b,C,!1,null,"31de27a7",null),x=j.exports;I()(j,{VRow:V["a"]});var T=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"json-wrapper"},[n("span",{staticClass:"schema_integration-tag"},[e._v("<script")]),e._v(" "),n("span",{staticClass:"schema_integration-attr"},[e._v("type")]),n("span",{staticClass:"schema_integration-attr-value"},[e._v('="application/ld+json"')]),n("span",[e._v(">")]),"Custom"!==e.getCurrentSchema.title?n("div",[e._m(0),e._l(e.config,(function(t,r,a){return e.renderItem(t)?n("json-tree",{key:r,attrs:{name:t.name,type:r,node:t,comma:e.printComma(a,e.config)}}):e._e()})),e._m(1)],2):n("div",[n("custom-item",{attrs:{value:e.config.custom.value}})],1),n("span",{staticClass:"schema_integration-tag"},[e._v("<\/script>")])])},J=[function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("span",[e._v("{")])])},function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("span",[e._v("}")])])}],E=n("ac85"),$=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("pre",[e._v(e._s(e._f("prettyJSON")(e.value))+" ")])},k=[],D=n("017c"),N={mixins:[D["a"]],props:{value:{required:!0,default:"",type:[String,Object]}}},A=N,L=(n("bab1"),Object(P["a"])(A,$,k,!1,null,"2c4f9021",null)),F=L.exports,U={mixins:[v["a"]],props:{config:Object},data:function(){return{render:!0}},components:{CustomItem:F,JsonTree:E["default"]},computed:Object(y["c"])(["getCurrentSchema"])},B=U,q=(n("6bdd"),Object(P["a"])(B,T,J,!1,null,"1367810e",null)),K=q.exports,M=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("div",{staticClass:"conditions-items"},e._l(e.conditions,(function(t,r){return n("v-row",{key:r,staticClass:"conditions-item"},[n("v-col",{attrs:{cols:"6"}},[n("v-select",{attrs:{items:t.data,attach:"",label:"Conditions list"},on:{change:function(t){return e.getConditionsValue(r,t)}},model:{value:t.selected,callback:function(n){e.$set(t,"selected",n)},expression:"item.selected"}})],1),n("v-col",{attrs:{cols:"6"}},[t.displayIds?n("div",[n("v-text-field",{attrs:{type:"number",label:"Add ID"},on:{input:function(t){return e.getConditionsValueIds(r,t)}},model:{value:t.ids,callback:function(n){e.$set(t,"ids",n)},expression:"item.ids"}})],1):e._e()]),n("v-row",[n("v-col",{attrs:{cols:"6"}},[n("v-btn",{attrs:{small:"",color:"primary"},on:{click:function(t){return e.addItem(r)}}},[e._v("Add")])],1),n("v-col",{attrs:{cols:"6"}},[n("v-btn",{attrs:{small:"",color:"error",disabled:e.disableButton},on:{click:function(t){return e.deleteItem(r)}}},[e._v("Delete")])],1)],1)],1)})),1),n("input",{directives:[{name:"model",rawName:"v-model",value:e.result,expression:"result"}],attrs:{type:"hidden",name:"conditions"},domProps:{value:e.result},on:{input:function(t){t.target.composing||(e.result=t.target.value)}}})])},W=[],z=(n("a434"),n("2ca0"),{props:["conditionsList","currentConditions"],data:function(){return{conditions:[{data:[],selected:"",displayIds:!1,ids:""}],result:""}},watch:{currentConditions:{handler:"setConditions"},conditions:{deep:!0,handler:function(){this.result=JSON.stringify(this.getConditionsResult())}}},methods:{addItem:function(e){var t=JSON.parse(JSON.stringify(this.conditions[e]));this.conditions.push(t)},deleteItem:function(e){this.conditions.length>1&&this.conditions.splice(e,1)},getConditionsValue:function(e,t){this.conditions[e].displayIds=t.startsWith("{custom_")},getConditionsValueIds:function(e,t){this.conditions[e].ids=t},getConditionsResult:function(){var e=[];return this.conditions.forEach((function(t){var n={condition:t.selected,custom:t.displayIds?t.ids:""};e.push(n)})),e},setConditions:function(){var e=this;this.currentConditions.length<=0?this.conditions[0].data=this.conditionsList:(this.conditions.splice(0,1),this.currentConditions.forEach((function(t){e.conditions.push({data:e.conditionsList,selected:t.condition,ids:t.custom,displayIds:t.custom.length>0})})))}},computed:{disableButton:function(){return this.conditions.length<=1}},created:function(){this.setConditions()}}),Q=z,G=n("8336"),H=n("62ad"),Y=n("b974"),X=n("8654"),Z=Object(P["a"])(Q,M,W,!1,null,"53d6957f",null),ee=Z.exports;I()(Z,{VBtn:G["a"],VCol:H["a"],VRow:V["a"],VSelect:Y["a"],VTextField:X["a"]});var te={mixins:[f,v["a"]],components:{FormBuilder:x,JsonBuilder:K,Conditions:ee},props:{schemas_type:{type:Array,required:!0}},data:function(){return{conditions:[],postConditions:[],componentKey:0,schemaExist:!1,schemaType:{},jsonType:{},sourceType:{},result:"",source:"",default:""}},methods:Object(s["a"])(Object(s["a"])(Object(s["a"])({},Object(y["b"])(["setDefaultData","setCurrentSchema","setSchemasList","run"])),Object(y["d"])(["updateProperty"])),{},{getInnerJson:function(){return this.$refs.jsonTemplate.$el.innerText},getAjaxSchemaSettings:function(e,t){var n=this;g.a.post("/wp-admin/admin-ajax.php?action=get_schema_settings",{post_id:e,security:t}).then((function(e){e.data&&(n.run(JSON.parse(e.data.schema)),n.postConditions=JSON.parse(e.data.conditions),n.schemaExist=!0,n.setCurrentSchema(JSON.parse(e.data.schema_name)),n.buildFromConfig(n.getCurrentSchema.title),n.setDefaultData({key:n.getCurrentSchema.title,jsonString:n.default}))})).catch((function(e){n.setCurrentSchema(n.schemas_type[0]);var t=n.buildFromConfig(n.getCurrentSchema.title);n.setDefaultData({key:n.getCurrentSchema.title,jsonString:n.default}),n.run(t)}))},displayJsonTemplate:function(e,t,n){if("undefined"!==typeof t.value&&"undefined"!==typeof t.showOnChange){var r=this.findVal(e,t.showOnChange),a=Object(o["a"])(n);if("undefined"!==typeof r)if("object"!==a)r.renderJson=""!==n;else if(n&&n.hasOwnProperty("value")&&"object"===Object(o["a"])(n.value)){var i=n.value.find((function(e){return e.selected}));r.renderJson="undefined"!==typeof i}else n&&n.hasOwnProperty("renderJson")&&(r.renderJson=n.renderJson)}},updateObject:function(e,t,n){var r=this.findVal(e,t);void 0!==r&&(r=this.mergeDeep(r,n),this.displayJsonTemplate(e,r,n))},updateItem:function(e,t,n){var r=this.findVal(e,t);"undefined"!==typeof r&&r.hasOwnProperty("value")&&(r.value=n,this.displayJsonTemplate(e,r,n))},updateProperties:function(){this.updateProperty(["schemaType",this.getSchemaType]),this.result=this.$refs.jsonTemplate.$el.innerText,this.source=JSON.stringify(this.getSourceType)},buildFromConfig:function(e){var t=e,n=this.config,r=JSON.stringify(n);this.default=r;var a=JSON.parse(r);return"undefined"!==typeof a[t]&&a[t]},selectSchema:function(e){this.setCurrentSchema(e);var t=this.buildFromConfig(this.getCurrentSchema.title);this.setDefaultData({key:this.getCurrentSchema.title,jsonString:this.default}),this.run(t),this.itemWalker(this.getSchemaType),this.updateProperties()},itemWalker:function(e){var t=this;"object"===Object(o["a"])(e)&&Object.entries(e).forEach((function(e){var n=Object(i["a"])(e,2),r=n[0],a=n[1];void 0!==a.children?t.itemWalker(a.children):"undefined"!==typeof t.$options.components[a.formComponent]&&!1!==a.render||delete a[r]}))}}),computed:Object(s["a"])(Object(s["a"])({},Object(y["c"])(["getJsonType","getSchemaType","getSourceType","getCurrentSchema","getSchemasList"])),{},{getSelectedSchema:{get:function(){return this.getCurrentSchema},set:function(e){return this.setCurrentSchema(e)}},getSchemaName:{get:function(){return JSON.stringify(this.getCurrentSchema)},set:function(e){return this.setCurrentSchema(e)}}}),updated:function(){this.$nextTick((function(){this.result=this.$refs.jsonTemplate.$el.innerText}))},mounted:function(){var e=this;O["schemaEmitter"].$on("input",(function(t,n){if("object"===Object(o["a"])(n))e.updateObject(e.getSchemaType,t,n),e.updateObject(e.getJsonType,t,n),e.updateObject(e.getSourceType,t,n);else{try{n=JSON.parse(n)}catch(r){}e.updateItem(e.getSchemaType,t,n),e.updateItem(e.getJsonType,t,n),e.updateItem(e.getSourceType,t,n)}e.updateProperties(),e.result=e.$refs.jsonTemplate.$el.innerText,e.source=JSON.stringify(e.getSourceType)})),setTimeout((function(){e.result=e.$refs.jsonTemplate.$el.innerText,e.source=JSON.stringify(e.getSourceType)}),1e3)},created:function(){if("undefined"!==typeof wp&&wp.hasOwnProperty("i18n")){var e=wp.i18n;e.__,e._x,e._n,e._nx}var t=document.getElementById("app");if(null!==t){var n=t.getAttribute("data-id"),r=t.getAttribute("data-security"),a=t.getAttribute("data-conditions");this.conditions=JSON.parse(a),n&&(this.setSchemasList(this.schemas_type),this.getAjaxSchemaSettings(n,r))}},beforeDestroy:function(){O["schemaEmitter"].$off("input")}},ne=te,re=(n("22c9"),n("b0af")),ae=n("99d9"),ie=n("a523"),oe=n("132d"),se=n("da13"),le=n("5d23"),ue=n("f6c4"),ce=Object(P["a"])(ne,r,a,!1,null,"3aab96b0",null);t["a"]=ce.exports;I()(ce,{VCard:re["a"],VCardText:ae["a"],VCardTitle:ae["b"],VCol:H["a"],VContainer:ie["a"],VIcon:oe["a"],VListItem:se["a"],VListItemContent:le["a"],VListItemTitle:le["b"],VMain:ue["a"],VRow:V["a"],VSelect:Y["a"]})},fbd5:function(e,t,n){},ff39:function(e){e.exports=JSON.parse('{"custom":{"formComponent":"Custom","value":"","placeholder":"Enter the custom schema json","name":"custom","render":true,"validation":{"isJson":true},"styles":{}}}')}});1 (function(e){function t(t){for(var r,o,s=t[0],l=t[1],u=t[2],d=0,p=[];d<s.length;d++)o=s[d],Object.prototype.hasOwnProperty.call(a,o)&&a[o]&&p.push(a[o][0]),a[o]=0;for(r in l)Object.prototype.hasOwnProperty.call(l,r)&&(e[r]=l[r]);c&&c(t);while(p.length)p.shift()();return i.push.apply(i,u||[]),n()}function n(){for(var e,t=0;t<i.length;t++){for(var n=i[t],r=!0,s=1;s<n.length;s++){var l=n[s];0!==a[l]&&(r=!1)}r&&(i.splice(t--,1),e=o(o.s=n[0]))}return e}var r={},a={app:0},i=[];function o(t){if(r[t])return r[t].exports;var n=r[t]={i:t,l:!1,exports:{}};return e[t].call(n.exports,n,n.exports,o),n.l=!0,n.exports}o.m=e,o.c=r,o.d=function(e,t,n){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},o.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(e,t){if(1&t&&(e=o(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(o.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)o.d(n,r,function(t){return e[t]}.bind(null,r));return n},o.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="/";var s=window["webpackJsonp"]=window["webpackJsonp"]||[],l=s.push.bind(s);s.push=t,s=s.slice();for(var u=0;u<s.length;u++)t(s[u]);var c=l;i.push([0,"chunk-vendors"]),n()})({0:function(e,t,n){e.exports=n("56d7")},"003d":function(e,t,n){"use strict";n.r(t);var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.node.render?n("v-col",{class:e.classes,attrs:{cols:e.cols}},[e.node.children&&"object"===typeof e.node.children?n("v-row",e._l(e.node.children,(function(e,t,r){return n("node",{key:t,attrs:{index:r,type:t,node:e}})})),1):n("div",[e.node.render?n(e.node.formComponent,{tag:"component",attrs:{name:e.type,updateKey:e.type,vuetifyProps:e.getCustomProps(e.node),componentProps:e.node}}):e._e()],1)],1):e._e()},a=[],i=(n("a9e3"),n("ac1f"),n("1276"),function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[e.componentProps.render?n("v-text-field",e._b({attrs:{label:e.componentProps.placeholder,counter:e.counter,"counter-value":e.printCounterValue,"error-messages":e.displayErrors(e.componentProps.validation,e.$v.getCurrentValue)},on:{blur:function(t){return e.validateInput(e.$v)},input:function(t){return e.updateField(e.updateKey,t)}},model:{value:e.getCurrentValue,callback:function(t){e.getCurrentValue=t},expression:"getCurrentValue"}},"v-text-field",e.vuetifyProps,!1)):e._e()],1)}),o=[],s=(n("4160"),n("b64b"),n("159b"),n("5530")),l=(n("4fad"),n("3835")),u=n("a026"),c=n("1dce"),d=n.n(c),p=n("b5ae");u["a"].use(d.a);var m={data:function(){return{messages:{required:"This field is required",maxLength:"Too long field",url:"Invalid URL",minValue:"",maxValue:"",numeric:"Number is required",isJson:"The input value not in json format"},counter:""}},methods:{printCounterValue:function(){if(""!==this.counter)return this.currentValue.length},displayErrors:function(e,t){var n=[];if(void 0!==e)for(var r=0,a=Object.entries(e);r<a.length;r++){var i=Object(l["a"])(a[r],2),o=i[0];i[1];t.$dirty&&t.$invalid&&!t[o]&&n.push(this.messages[o])}return n},validateInput:function(e){e.$touch()},createValidatorsObject:function(e){var t={};return void 0===e||0===Object.keys(e).length||(e.required&&(t["required"]=p["required"]),e.maxLength>0&&(t["maxLength"]=Object(p["maxLength"])(e["maxLength"])),e.url&&(t["url"]=p["url"]),e.minValue>0&&(t["minValue"]=Object(p["minValue"])(e["minValue"])),e.maxValue>0&&(t["maxValue"]=Object(p["maxValue"])(e["maxValue"])),e.numeric&&(t["numeric"]=p["numeric"]),e.isJson&&(t["isJson"]=isJsone)),t}},mounted:function(){void 0!==this.validation&&void 0!==this.validation.maxLength&&(this.counter=this.validation.maxLength)}},f={props:{componentProps:{type:Object,default:function(){return{placeholder:"",validation:{},value:""}}},name:{type:[String,Number],required:!1},vuetifyProps:{type:Object,default:function(){return{}}}}},v=n("aa03"),h=n("2f62"),g={mixins:[v["a"]],data:function(){return{rating:{type:Object,default:function(){return{ratingValue:null,ratingCount:null,reviewCount:null,worstResult:null,bestResult:null}}}}},methods:Object(s["a"])(Object(s["a"])(Object(s["a"])({},Object(h["b"])(["setRatingResult","setWorstResult","setBestResult"])),Object(h["c"])(["getRating"])),{},{calculateRating:function(e,t){switch(""!==t&&(t=parseInt(t)),e){case"aggregateRating.ratingValue":this.setRating(t);break;case"aggregateRating.worstRating":this.setWorst(t);break;case"aggregateRating.bestRating":this.setBest(t);break;default:break}},setRating:function(e){this.setRatingResult(e)},setWorst:function(e){this.setWorstResult(e)},setBest:function(e){this.setBestResult(e)}}),mounted:function(){this.rating=this.getRating()}},y=n("56d7"),b={mixins:[m,f,g],props:{updateKey:{type:[String,Array,Number],required:!0}},data:function(){return{currentValue:""}},methods:Object(s["a"])(Object(s["a"])({},Object(h["c"])(["getSchemaType","getReviews"])),{},{updateField:function(e,t){this.validateInput(this.$v),this.calculateRating(e,t),y["schemaEmitter"].$emit("input",e,t),this.setRatingValues(e,t),this.calculateValue(),this.duplicateValues(t)},setRatingValues:function(e,t){var n=Object.keys(this.getReviews());n.forEach((function(n){"aggregateRating.bestRating"===e&&(y["schemaEmitter"].$emit("input","review.".concat(n,".reviewRating.bestRating"),t),y["schemaEmitter"].$emit("input","review.".concat(n,".reviewRating.ratingValue"),{validation:{maxValue:t}})),"aggregateRating.worstRating"===e&&(y["schemaEmitter"].$emit("input","review.".concat(n,".reviewRating.worstRating"),t),y["schemaEmitter"].$emit("input","review.".concat(n,".reviewRating.ratingValue"),{validation:{minValue:t}}))}))},calculateValue:function(){if(this.componentProps.hasOwnProperty("calculateValue")){var e=0,t=this.getSchemaType(),n=this.componentProps.calculateValue;for(var r in n.from){if(n.from.hasOwnProperty(r)){var a=this.findVal(t,n.from[r]);""!==a.value&&(e+=parseInt(a.value))}for(var i in n.to)if(n.to.hasOwnProperty(i)){var o=e>0?e:"";y["schemaEmitter"].$emit("input",n.to[i],o)}}}}}),mounted:function(){this.calculateRating(this.updateKey,this.getCurrentValue)},validations:function(){return{getCurrentValue:this.validators}},computed:{validators:{get:function(){return this.createValidatorsObject(this.componentProps.validation)},set:function(e){return e}},getCurrentValue:{get:function(){var e;return null!==(e=this.componentProps.value)&&void 0!==e?e:"adasdasd"},set:function(e){return e}}}},C=b,w=n("2877"),O=n("6544"),_=n.n(O),S=n("8654"),I=Object(w["a"])(C,i,o,!1,null,"53a66dd1",null),P=I.exports;_()(I,{VTextField:S["a"]});var R=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",e._l(e.getCurrentValue,(function(t,r){return n("div",{key:r,staticClass:"repeater-items row"},[e._l(t,(function(t,a){return e.componentProps.hide?e._e():n("form-tree",{key:a,attrs:{index:r,type:a,node:t}})})),n("v-row",[n("v-col",{attrs:{cols:"6"}},[n("v-btn",{attrs:{small:"",color:"primary"},on:{click:function(t){return e.addItem(r,e.componentProps.name)}}},[n("v-icon",{attrs:{small:""}},[e._v(" mdi-plus ")]),e._v(" "+e._s(e.componentProps.buttonTitle)+" ")],1)],1),n("v-col",{attrs:{cols:"6"}},[n("v-btn",{attrs:{small:"",color:"error",disabled:e.disableButton},on:{click:function(t){return e.deleteItem(r)}}},[e._v("Delete")])],1)],1)],2)})),0)},V=[],j=(n("99af"),n("4de4"),n("a15b"),n("fb6a"),n("a434"),n("b0c0"),n("d3b7"),n("4d63"),n("25f0"),n("8a79"),n("5319"),{mixins:[m,f,v["a"]],data:function(){return{currentValue:String}},components:{FormTree:function(){return Promise.resolve().then(n.bind(null,"003d"))}},methods:Object(s["a"])(Object(s["a"])(Object(s["a"])({},Object(h["b"])(["setReviewRating","updateReviewRating"])),Object(h["c"])(["getReviews","getRating","getDefaultData"])),{},{addItem:function(e,t){var n={};if(1===this.componentProps.value.length&&this.componentProps.hide)n["hide"]=!1,"review"!==this.name&&"recipeInstructions"!==this.name||(n["renderJson"]=!0),y["schemaEmitter"].$emit("input",this.name,n);else{var r=JSON.parse(JSON.stringify(this.findVal(this.getDefaultData(),this.componentProps.name))),a=r.value.shift(),i=this.changeItemKey(a,e,t);this.componentProps.value.push(i),y["schemaEmitter"].$emit("input",this.name,{value:this.componentProps.value})}this.updateReviews(),this.updateBreadcrumbs(this.componentProps.value),this.duplicateValues(this.componentProps.value)},deleteItem:function(e){var t={};1===this.componentProps.value.length&&!1===this.componentProps.hide&&(t["hide"]=!0,"review"!==this.name&&"recipeInstructions"!==this.name||(t["renderJson"]=!1),y["schemaEmitter"].$emit("input",this.name,t),y["schemaEmitter"].$emit("input","review.0.reviewRating.ratingValue",""),this.setReviewRating({0:""}),this.updateRatingValues("")),this.componentProps.value.length>1&&(this.componentProps.value.splice(e,1),y["schemaEmitter"].$emit("input",this.name,{value:this.componentProps.value})),this.updateReviews(),this.updateBreadcrumbs(this.componentProps.value),this.duplicateValues(this.componentProps.value)},changeItemKey:function(e,t,n){var r=Object.keys(e).shift().split(".");r.splice(-1,1);var a=r.join("."),i=Math.random().toString(16).slice(2),o="".concat(n,".").concat(i),s=JSON.stringify(e),l=new RegExp('"'.concat(a),"g"),u=s.replace(l,'"'.concat(o));return u=u.replace(/"uuid":"(.+?)",/gm,'"uuid":"'.concat(i,'",')),JSON.parse(u)},updateReviews:function(){var e=this;if("review"===this.name&&void 0!==this.getCurrentValue){var t={};this.getCurrentValue.forEach((function(n,r){var a=new RegExp(".reviewRating.ratingValue$","g"),i=e.findVal(n,a,!0);t[i.uuid]=i.value})),this.setReviewRating(t);var n=this.getRating();y["schemaEmitter"].$emit("input","aggregateRating.ratingValue",n.ratingValue),y["schemaEmitter"].$emit("input","aggregateRating.ratingCount",n.ratingCount),y["schemaEmitter"].$emit("input","aggregateRating.reviewCount",n.reviewCount)}},updateBreadcrumbs:function(e){"itemListElement"===this.name&&e.forEach((function(e,t){var n=Object.keys(e),r=n.filter((function(e){return e.endsWith(".position")})).shift(),a=t+1;y["schemaEmitter"].$emit("input",r,a)}))}}),validations:function(){return{getCurrentValue:this.validators}},mounted:function(){this.updateReviews()},computed:{validators:{get:function(){return this.createValidatorsObject(this.componentProps.validation)},set:function(e){return e}},getCurrentValue:{get:function(){return this.validateInput(this.$v),this.duplicateValues(this.componentProps.value),this.componentProps.value},set:function(e){return e}},disableButton:function(){return this.componentProps.hasOwnProperty("hide")?!(1!==this.componentProps.value.length||!this.componentProps.hide):this.componentProps.value.length<=1}}}),x=j,J=n("8336"),T=n("62ad"),E=n("132d"),k=n("0fd9"),$=Object(w["a"])(x,R,V,!1,null,"f1bcc2e0",null),D=$.exports;_()($,{VBtn:J["a"],VCol:T["a"],VIcon:E["a"],VRow:k["a"]});var N=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("v-select",e._b({attrs:{items:e.componentProps.value,"item-text":"value","item-value":"value",attach:"",label:e.componentProps.placeholder},on:{change:function(t){e.updateField(e.updateKey,e.getSelectedObject(t,e.componentProps.value))}},model:{value:e.selected,callback:function(t){e.selected=t},expression:"selected"}},"v-select",e.vuetifyProps,!1))],1)},A=[],L=(n("c740"),n("d81d"),n("ddb0"),n("b85c")),F=n("fad7"),U={mixins:[f,v["a"]],props:["name","placeholder","fieldValues","validation","updateKey","schemas_type"],components:{Schema:F["a"]},data:function(){return{selected:"",dropdown_texts:[],dropdown_values:[],schemas:this.schemas_type,result:""}},methods:Object(s["a"])(Object(s["a"])(Object(s["a"])({},Object(h["b"])(["run"])),Object(h["d"])(["updateProperty"])),{},{updateField:function(e,t){y["schemaEmitter"].$emit("input",e,{value:t}),this.changeView()},changeView:function(){if(this.getSchemaType.hasOwnProperty("offers")&&"undefined"!==typeof this.componentProps.changeView&&!1!==this.componentProps.changeView){var e=this.getSchemaType.offers.children;for(var t in this.getSchemaType.offers.children)for(var n in e[t])"showOnSelect"===n&&(this.selected===e[t][n]["value"]?y["schemaEmitter"].$emit("input",t,{render:!0,renderJson:e[t][n]["show"]["renderJson"]}):y["schemaEmitter"].$emit("input",t,{render:!1,renderJson:e[t][n]["hide"]["renderJson"],value:this.setEmptyValue(e[t]["value"])}));this.updateProperty(["schemaType",this.getSchemaType])}},getSelectedObject:function(e,t){var n=t.findIndex((function(t){return e===t.value}));for(var r in t)parseInt(r)===n?t[r].selected=!0:t[r].selected=!1;return t},getSelectedValue:function(){var e=this.componentProps.value.findIndex((function(e){return e.selected}));return this.componentProps.value[e]},getDropDownText:function(){return this.componentProps.value.map((function(e){return e.value}))},getDropDownValues:function(){var e,t=[],n=this.componentProps.value.keys(),r=Object(L["a"])(n);try{for(r.s();!(e=r.n()).done;){var a=e.value;t.push(a)}}catch(i){r.e(i)}finally{r.f()}return t}}),validations:function(){return{selected:this.validators}},mounted:function(){this.selected=this.getSelectedValue()},computed:Object(s["a"])(Object(s["a"])({},Object(h["c"])(["getJsonType","getSchemaType","getSourceType"])),{},{getSelectedItem:function(){return this.componentProps.value.findIndex((function(e){return e.selected}))}})},B=U,q=n("b974"),K=Object(w["a"])(B,N,A,!1,null,"567bb4d8",null),M=K.exports;_()(K,{VSelect:q["a"]});var W=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("v-menu",{attrs:{"close-on-content-click":!1,"nudge-right":40,transition:"scale-transition","offset-y":"",attach:"","min-width":"290px"},scopedSlots:e._u([{key:"activator",fn:function(t){var r=t.on,a=t.attrs;return[n("v-text-field",e._g(e._b({attrs:{label:e.componentProps.placeholder,"prepend-icon":"event",vuetifyProps:e.vuetifyProps},model:{value:e.getCurrentValue,callback:function(t){e.getCurrentValue=t},expression:"getCurrentValue"}},"v-text-field",a,!1),r))]}}]),model:{value:e.menu2,callback:function(t){e.menu2=t},expression:"menu2"}},[n("v-date-picker",{on:{change:function(t){e.menu2=!1},input:function(t){return e.updateField(e.updateKey,t)}},model:{value:e.getCurrentValue,callback:function(t){e.getCurrentValue=t},expression:"getCurrentValue"}})],1)],1)},z=[],Q={mixins:[f,v["a"]],props:{updateKey:{type:[String,Array],required:!0}},data:function(){return{currentValue:(new Date).toISOString().substr(0,10),menu:!1,modal:!1,menu2:!1,validators:{}}},methods:{updateField:function(e,t){y["schemaEmitter"].$emit("input",e,t),this.duplicateValues(t)}},mounted:function(){this.updateField(this.updateKey,this.getCurrentValue)},computed:{getCurrentValue:{get:function(){var e;return null!==(e=this.componentProps.value)&&void 0!==e?e:(new Date).toISOString().substr(0,10)},set:function(e){return e}}}},G=Q,H=n("2e4b"),Y=n("e449"),X=Object(w["a"])(G,W,z,!1,null,"f3321252",null),Z=X.exports;_()(X,{VDatePicker:H["a"],VMenu:Y["a"],VTextField:S["a"]});var ee=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("v-textarea",{attrs:{label:e.componentProps.placeholder,"full-width":e.fullWidth,counter:e.counter,"counter-value":e.printCounterValue,"error-messages":e.displayErrors(e.componentProps.validation,e.$v.currentValue)},on:{input:function(t){return e.updateField(e.updateKey,t)},change:function(t){return e.validateInput(e.$v)}},model:{value:e.currentValue,callback:function(t){e.currentValue=t},expression:"currentValue"}})],1)},te=[],ne={mixins:[m,f,v["a"]],props:{updateKey:{type:[String,Array],required:!0}},data:function(){return{currentValue:"",validators:{},fullWidth:!0}},methods:{updateField:function(e,t){y["schemaEmitter"].$emit("input",e,t),this.duplicateValues(t)}},validations:function(){return{currentValue:this.validators}},mounted:function(){this.validators=this.createValidatorsObject(this.componentProps.validation),this.currentValue=this.componentProps.value}},re=ne,ae=n("a844"),ie=Object(w["a"])(re,ee,te,!1,null,"2841bf26",null),oe=ie.exports;_()(ie,{VTextarea:ae["a"]});var se=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("v-text-field",e._b({attrs:{label:e.componentProps.placeholder,counter:e.counter,"counter-value":e.printCounterValue,"error-messages":e.displayErrors(e.componentProps.validation,e.$v.getCurrentValue)},on:{input:function(t){return e.updateField(e.updateKey,t)}},model:{value:e.getCurrentValue,callback:function(t){e.getCurrentValue=t},expression:"getCurrentValue"}},"v-text-field",e.vuetifyProps,!1))],1)},le=[],ue={mixins:[m,f,g],props:{updateKey:{type:[String,Array],required:!0}},methods:Object(s["a"])(Object(s["a"])(Object(s["a"])({},Object(h["c"])(["getRating","getReviews"])),Object(h["b"])(["updateReviewRating"])),{},{updateField:function(e,t){var n=e.split(".")[1];void 0!==n&&this.updateReviewRating({number:n,value:t}),y["schemaEmitter"].$emit("input",e,t),this.updateRatingValues(t)}}),validations:function(){return{getCurrentValue:this.validators}},computed:{validators:{get:function(){return this.createValidatorsObject(this.componentProps.validation)},set:function(e){return e}},getCurrentValue:{get:function(){var e;return this.validateInput(this.$v),null!==(e=this.componentProps.value)&&void 0!==e?e:parseInt(this.componentProps.value)},set:function(e){return e}}}},ce=ue,de=Object(w["a"])(ce,se,le,!1,null,"36e7678f",null),pe=de.exports;_()(de,{VTextField:S["a"]});var me=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("v-textarea",{attrs:{label:e.componentProps.placeholder,"full-width":e.fullWidth,counter:e.counter,"counter-value":e.printCounterValue,"error-messages":e.displayErrors(e.componentProps.validation,e.$v.currentValue)},on:{input:function(t){return e.updateField(e.updateKey,t)},change:function(t){return e.validateInput(e.$v)}},model:{value:e.currentValue,callback:function(t){e.currentValue=t},expression:"currentValue"}})],1)},fe=[],ve={mixins:[m,f,v["a"]],props:{updateKey:{type:[String,Array],required:!0}},data:function(){return{currentValue:"",validators:{},fullWidth:!0}},methods:{updateField:function(e,t){y["schemaEmitter"].$emit("input",e,t)}},validations:function(){return{currentValue:this.validators}},mounted:function(){this.validators=this.createValidatorsObject(this.componentProps.validation),this.componentProps.value&&(this.currentValue=JSON.stringify(this.componentProps.value))}},he=ve,ge=Object(w["a"])(he,me,fe,!1,null,"530dda9f",null),ye=ge.exports;_()(ge,{VTextarea:ae["a"]});var be={data:function(){return{cols:12,classes:""}},mounted:function(){void 0!==this.node.styles.cols&&(this.cols=this.node.styles.cols),void 0!==this.node.styles.classes&&(this.classes=this.node.styles.classes)}},Ce={mixins:[be],name:"node",props:{node:Object,type:[String,Number],index:Number},components:{Input:P,Selector:M,Repeater:D,DatePicker:Z,TextArea:oe,ReviewRating:pe,Custom:ye},methods:{getCustomProps:function(e){return void 0!==e.vuetifyProps?e.vuetifyProps:{}}},computed:{changeChildType:function(){return this.type.split(".").pop()}},mounted:function(){}},we=Ce,Oe=(n("260e"),Object(w["a"])(we,r,a,!1,null,"a9df98ac",null));t["default"]=Oe.exports;_()(Oe,{VCol:T["a"],VRow:k["a"]})},"017c":function(e,t,n){"use strict";n("99af"),n("4160"),n("159b");t["a"]={filters:{beforeText:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return"".concat(t).concat(e)},afterText:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return"".concat(e).concat(t)},toMinutes:function(e){return"PT".concat(e,"M")},clearSymbols:function(e,t){return t.forEach((function(t){e=e.replaceAll(t,"")})),e},prettyJSON:function(e){if(!e)return"";try{return JSON.stringify(e,null,4)}catch(t){return""}}}}},"034f":function(e,t,n){"use strict";n("85ec")},"0a9f":function(e){e.exports=JSON.parse('{"@context":{"formComponent":"Input","value":"https://schema.org","placeholder":"","name":"@context","render":false,"validation":{},"styles":{}},"@type":{"formComponent":"Input","value":"Product","placeholder":"","name":"@type","render":false,"validation":{},"styles":{}},"productName":{"formComponent":"Input","value":"","placeholder":"Name","name":"name","render":true,"validation":{"required":true},"styles":{"cols":6}},"image":{"formComponent":"Input","value":"","name":"image","placeholder":"Image URL","render":true,"validation":{"url":true},"styles":{"cols":6}},"brand":{"formComponent":"Input","render":true,"renderJson":false,"showOnChange":"brand","name":"brand","value":"","placeholder":"Brand","validation":{},"styles":{"cols":6}},"description":{"formComponent":"TextArea","render":true,"renderJson":false,"name":"description","showOnChange":"description","value":"","placeholder":"Product\'s description","validation":{},"styles":{"cols":6}},"sku":{"formComponent":"Input","render":true,"renderJson":false,"showOnChange":"sku","name":"sku","value":"","placeholder":"Sku","validation":{},"styles":{}},"gtin14":{"formComponent":"Input","render":true,"renderJson":false,"name":"gtin14","value":"","showOnChange":"gtin14","placeholder":"gtin14 (optional)","validation":{},"styles":{"cols":6}},"gtin13":{"formComponent":"Input","render":true,"renderJson":false,"value":"","name":"gtin13","showOnChange":"gtin13","placeholder":"gtin13 (optional)","validation":{},"styles":{"cols":6}},"gtin8":{"formComponent":"Input","render":true,"renderJson":false,"value":"","name":"gtin8","showOnChange":"gtin8","placeholder":"gtin8 (optional)","validation":{},"styles":{"cols":6}},"mpn":{"formComponent":"Input","render":true,"renderJson":false,"value":"","showOnChange":"mpn","name":"mpn","placeholder":"mpn (optional)","validation":{},"styles":{"cols":6}},"offers":{"formComponent":false,"render":true,"renderJson":false,"hasChild":true,"name":"offers","styles":{},"children":{"offers.@type":{"formComponent":"Selector","placeholder":"Offer @type","renderJson":true,"showOnChange":"offers","name":"@type","render":true,"changeView":true,"value":[{"selected":false,"value":"Offer"},{"selected":false,"value":"Aggregate Offer"}],"validation":{},"styles":{"cols":6},"filters":{"clearSymbols":[" "]}},"offers.url":{"formComponent":"Input","value":"","placeholder":"Url","render":true,"name":"url","validation":{"url":true},"styles":{"cols":6}},"offers.priceCurrency":{"formComponent":"Input","placeholder":"Price Currency","value":"","name":"priceCurrency","render":true,"styles":{"cols":6}},"offers.price":{"formComponent":"Input","placeholder":"Price","value":"","name":"price","render":false,"showOnSelect":{"value":"Offer","show":{"renderJson":true},"hide":{"renderJson":false}},"validation":{"numeric":true},"vuetifyProps":{"type":"number"},"styles":{"cols":6}},"offers.priceValidUntil":{"formComponent":"DatePicker","placeholder":"Price Valid Until","renderJson":false,"render":false,"value":"","name":"priceValidUntil","showOnChange":"offers.priceValidUntil","showOnSelect":{"value":"Offer","show":{"renderJson":false},"hide":{"renderJson":false}},"validation":{},"styles":{"cols":6}},"offers.availability":{"formComponent":"Selector","placeholder":"Availability","renderJson":false,"name":"availability","showOnChange":"offers.availability","render":false,"showOnSelect":{"value":"Offer","show":{"renderJson":false},"hide":{"renderJson":false}},"value":[{"selected":false,"value":"In Stock"},{"selected":false,"value":"Out of Stock"},{"selected":false,"value":"Online only"},{"selected":false,"value":"In store only"},{"selected":false,"value":"Pre-order"},{"selected":false,"value":"Pre-sale"},{"selected":false,"value":"Limited availability"},{"selected":false,"value":"Sold out"},{"selected":false,"value":"Discontinued"},{"selected":false,"value":"In Stock"}],"validation":{},"styles":{"cols":6},"filters":{"beforeText":"https://schema.org/","clearSymbols":[" "]}},"offers.condition":{"formComponent":"Selector","placeholder":"Item Condition","renderJson":false,"name":"itemCondition","showOnChange":"offers.condition","showOnSelect":{"value":"Offer","show":{"renderJson":false},"hide":{"renderJson":false}},"render":false,"value":[{"selected":false,"value":"NewCondition"},{"selected":false,"value":"UsedCondition"},{"selected":false,"value":"RefurbishedCondition"},{"selected":false,"value":"DamagedCondition"}],"filters":{"beforeText":"https://schema.org/"},"validation":{},"styles":{"cols":6}},"offers.lowPrice":{"formComponent":"Input","placeholder":"Low Price","value":"","render":false,"renderJson":true,"name":"lowPrice","showOnSelect":{"value":"Aggregate Offer","show":{"renderJson":true},"hide":{"renderJson":false}},"validation":{"number":true},"vuetifyProps":{"type":"number"},"styles":{"cols":6}},"offers.highPrice":{"formComponent":"Input","placeholder":"High Price","value":"","name":"highPrice","render":false,"renderJson":false,"showOnChange":"offers.highPrice","showOnSelect":{"value":"Aggregate Offer","show":{"renderJson":false},"hide":{"renderJson":false}},"vuetifyProps":{"type":"number"},"validation":{"number":true},"styles":{"cols":6}},"offers.offerCount":{"formComponent":"Input","placeholder":"Number of offers","value":"","name":"offerCount","render":false,"renderJson":false,"showOnChange":"offers.offerCount","showOnSelect":{"value":"Aggregate Offer","show":{"renderJson":false},"hide":{"renderJson":false}},"vuetifyProps":{"type":"number"},"validation":{"numeric":true},"styles":{"cols":6}}}},"review":{"formComponent":"Repeater","repeaterType":"object","render":true,"hide":true,"renderJson":false,"name":"review","value":[{"review.0.@type":{"formComponent":"Input","uuid":"0","value":"Review","render":false,"name":"@type","styles":{},"validation":{}},"review.0.name":{"formComponent":"Input","uuid":"0","placeholder":"Review\'s name","render":true,"name":"name","value":"","styles":{"cols":6},"validation":{}},"review.0.reviewBody":{"formComponent":"TextArea","uuid":"0","placeholder":"Review\'s body","name":"reviewBody","render":true,"value":"","styles":{"cols":6},"validation":{}},"review.0.reviewRating":{"formComponent":false,"render":true,"renderJson":false,"name":"reviewRating","styles":{},"validation":{},"hasChild":true,"children":{"review.0.reviewRating.@type":{"formComponent":"Input","uuid":"0","render":false,"name":"@type","value":"Rating","styles":{},"validation":{}},"review.0.reviewRating.ratingValue":{"formComponent":"ReviewRating","uuid":"0","render":true,"value":"","showOnChange":"review.0.reviewRating","placeholder":"Rating","name":"ratingValue","styles":{},"validation":{"maxValue":0,"minValue":0},"vuetifyProps":{"type":"number"}}}},"review.0.datePublished":{"formComponent":"DatePicker","uuid":"0","placeholder":"Date","render":true,"renderJson":false,"showOnChange":"review.0.datePublished","name":"datePublished","value":"","styles":{},"validation":{}},"review.0.author":{"formComponent":false,"uuid":"0","hasChild":true,"render":true,"name":"author","validation":{},"styles":{"cols":6},"children":{"review.0.author.0.@type":{"uuid":"0","formComponent":"Input","render":false,"value":"Person","name":"@type","styles":{},"validation":{}},"review.0.author.0.name":{"formComponent":"Input","uuid":"0","placeholder":"Author","render":true,"name":"name","value":"","styles":{},"validation":{}}}},"review.0.publisher":{"formComponent":false,"uuid":"0","hasChild":true,"renderJson":false,"render":true,"name":"publisher","validation":{},"styles":{"cols":6},"children":{"review.0.publisher.@type":{"formComponent":"Input","uuid":"0","render":false,"value":"Organization","name":"@type","styles":{},"validation":{}},"review.0.publisher.name":{"uuid":"0","formComponent":"Input","placeholder":"Publisher","showOnChange":"review.0.publisher","render":true,"name":"name","value":"","styles":{},"validation":{}}}}}],"validation":{},"styles":{},"buttonTitle":"ADD REVIEW"}}')},"0c0e":function(e,t,n){"use strict";n("e182")},"22c9":function(e,t,n){"use strict";n("fbd5")},"260e":function(e,t,n){"use strict";n("de0a")},"330a":function(e,t,n){},"56d7":function(e,t,n){"use strict";n.r(t),n.d(t,"schemaEmitter",(function(){return O}));n("e260"),n("e6cf"),n("cca6"),n("a79d");var r=n("a026"),a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("v-app",{attrs:{id:"schema"}},[n("div",{attrs:{id:"app"}},[n("Schema",{attrs:{schemas_type:e.schemasType}})],1)])},i=[],o=n("fad7"),s={name:"App",data:function(){return{schemasType:[{title:"Article",description:"- NewsArticle, BlogPosting",icon:"mdi-newspaper"},{title:"Breadcrumbs",description:"",icon:"mdi-chevron-double-right"},{title:"FAQPage",description:"",icon:"mdi-help-circle-outline"},{title:"Product",description:"- Offer, AggregateRating, Reviews",icon:"mdi-tag-outline"},{title:"Recipe",description:"",icon:"mdi-chef-hat"},{title:"Custom",description:"- Insert your own schema",icon:"mdi-border-color"}]}},components:{Schema:o["a"]}},l=s,u=(n("034f"),n("2877")),c=n("6544"),d=n.n(c),p=n("7496"),m=Object(u["a"])(l,a,i,!1,null,null,null),f=m.exports;d()(m,{VApp:p["a"]});var v=n("f309");r["a"].use(v["a"]);var h=new v["a"]({}),g=(n("d1e78"),n("2f62")),y={state:{default:{},schemaType:{},jsonType:{},sourceType:{}},mutations:{updateDefault:function(e,t){e["default"]=t},updateProperty:function(e,t){e[t[0]]=t[1]}},actions:{setDefaultData:function(e,t){var n=e.commit,r=JSON.parse(t.jsonString);n("updateDefault",r[t.key])},run:function(e,t){var n=e.commit;t&&(n("updateProperty",["schemaType",t]),n("updateProperty",["jsonType",JSON.parse(JSON.stringify(t))]),n("updateProperty",["sourceType",JSON.parse(JSON.stringify(t))]))}},getters:{getJsonType:function(e){return e.jsonType},getSchemaType:function(e){return e.schemaType},getSourceType:function(e){return e.sourceType},getDefaultData:function(e){return e.default}}},b=(n("b64b"),{state:{rating:{ratingValue:null,ratingCount:null,reviewCount:null,worstResult:null,bestResult:null},reviews:{}},mutations:{updateReview:function(e,t){e["reviews"][t.number]=t.value},setReview:function(e,t){e["reviews"]=t},updateRating:function(e,t){e["rating"]=t}},actions:{updateReviewRating:function(e,t){var n=e.commit,r=e.dispatch;n("updateReview",t),r("calculateRating")},setReviewRating:function(e,t){var n=e.commit,r=e.dispatch;n("setReview",t),r("calculateRating")},calculateRating:function(e){var t=e.commit,n=e.getters,r=n.getRating,a=null,i={ratingValue:null,ratingCount:null,reviewCount:null,worstResult:r.worstResult,bestResult:r.bestResult},o=null,s=n.getReviews,l=Object.keys(s).length;for(var u in s)s.hasOwnProperty(u)&&""!==s[u]&&(o+=1,a+=parseInt(s[u]));null!==o&&(i.ratingCount=o),null!==a&&(i.ratingValue=a/o),i.reviewCount=l,t("updateRating",i)},setRatingResult:function(e,t){e.commit},setBestResult:function(e,t){var n=e.commit,r=e.getters,a=r.getRating;n("updateRating",{ratingValue:a.ratingValue,ratingCount:a.ratingCount,reviewCount:a.reviewCount,bestResult:t,worstResult:a.worstResult})},setWorstResult:function(e,t){var n=e.commit,r=e.getters,a=r.getRating;r.getReviews;n("updateRating",{ratingValue:a.ratingValue,ratingCount:a.ratingCount,reviewCount:a.reviewCount,bestResult:a.bestResult,worstResult:t})}},getters:{getRating:function(e){return e.rating},getReviews:function(e){return e.reviews}}}),C={state:{currentSchema:{},schemasList:{}},mutations:{updateCurrentSchema:function(e,t){e.currentSchema=t},updateSchemasList:function(e,t){e.schemasList=t}},actions:{setCurrentSchema:function(e,t){var n=e.commit;n("updateCurrentSchema",t)},setSchemasList:function(e,t){var n=e.commit;n("updateSchemasList",t)}},getters:{getCurrentSchema:function(e){return e.currentSchema},getSchemasList:function(e){return e.schemasList}}};r["a"].use(g["a"]);var w=new g["a"].Store({modules:{schema:y,rating:b,currentSchema:C}});r["a"].config.productionTip=!1;var O=new r["a"];new r["a"]({vuetify:h,store:w,render:function(e){return e(f)},created:function(){"undefined"!==typeof schema_integration&&schema_integration.hasOwnProperty("i18n")&&this.setLocaleData(schema_integration.i18n["schema_integration"])}}).$mount("#app")},"5b50":function(e,t,n){},"7bc67":function(e,t,n){},"7ebc":function(e){e.exports=JSON.parse('{"@context":{"formComponent":"Input","value":"https://schema.org","name":"@context","placeholder":"","render":false,"validation":{},"styles":{}},"@type":{"formComponent":"Input","value":"Recipe","name":"@type","placeholder":"","render":false,"validation":{},"styles":{}},"recipeName":{"formComponent":"Input","value":"","placeholder":"Name","name":"name","render":true,"validation":{"required":true},"styles":{"cols":6},"duplicateFor":["video.@name"]},"keywords":{"formComponent":"Input","value":"","placeholder":"Keywords","render":true,"name":"keywords","validation":{},"styles":{"cols":6}},"description":{"formComponent":"TextArea","value":"","placeholder":"Recipe\'s description","name":"description","render":true,"validation":{},"styles":{},"duplicateFor":["video.description"]},"image":{"formComponent":"Repeater","repeaterType":"array","render":true,"name":"image","value":[{"image.0.url":{"formComponent":"Input","placeholder":"Image URL #","uuid":"0","render":true,"name":"url","value":"","styles":{},"validation":{"url":true}}}],"validation":{"required":true},"styles":{},"buttonTitle":"IMAGE","duplicateFor":["video.thumbnailUrl"]},"video":{"formComponent":false,"hasChild":true,"render":true,"name":"video","renderJson":false,"validation":{},"styles":{},"children":{"video.@type":{"formComponent":"Input","render":false,"value":"VideoObject","name":"@type","renderJson":true,"validation":{},"styles":{}},"video.@name":{"formComponent":"Input","render":false,"renderJson":true,"name":"name","value":"","validation":{},"styles":{}},"video.description":{"formComponent":"TextArea","render":false,"showOnChange":"description","name":"description","value":"","validation":{},"styles":{}},"video.thumbnailUrl":{"formComponent":"Repeater","repeaterType":"array","value":[{"video.0.thumbnailUrl":{"formComponent":"Input","placeholder":"Image URL #","uuid":"0","render":true,"name":"url","value":"","styles":{},"validation":{"url":true}}}],"render":false,"name":"thumbnailUrl","validation":{},"styles":{}},"video.uploadDate":{"formComponent":"DatePicker","value":"","name":"uploadDate","render":false,"renderJson":false,"showOnChange":"video.uploadDate","validation":{},"styles":{}},"video.contentUrl":{"formComponent":"Input","showOnChange":"video","render":true,"value":"","name":"contentUrl","placeholder":"Video: Content URL","validation":{"url":true},"styles":{"cols":6}},"video.embedUrl":{"formComponent":"Input","showOnChange":"video","render":true,"value":"","name":"embedUrl","placeholder":"Video: Embed URL","validation":{"url":true},"styles":{"cols":6}}}},"author":{"formComponent":false,"hasChild":true,"render":true,"name":"author","children":{"author.@type":{"formComponent":"Input","value":"Person","name":"@type","placeholder":"","render":false,"validation":{},"styles":{}},"author.name":{"formComponent":"Input","value":"","name":"name","placeholder":"Creator","render":true,"validation":{},"styles":{}}},"styles":{},"validation":{}},"datePublished":{"formComponent":"DatePicker","value":"","name":"datePublished","placeholder":"Date publisher","render":true,"validation":{},"styles":{"cols":4},"duplicateFor":["video.uploadDate"]},"prepTime":{"formComponent":"Input","vuetifyProps":{"type":"number"},"name":"prepTime","showOnChange":"prepTime","render":true,"value":"","placeholder":"Preparation (min)","calculateValue":{"from":["cookTime","prepTime"],"to":["totalTime"]},"styles":{"cols":4},"filters":{"toMinutes":true}},"cookTime":{"formComponent":"Input","vuetifyProps":{"type":"number"},"name":"cookTime","showOnChange":"cookTime","render":true,"value":"","placeholder":"Cooking (min)","calculateValue":{"from":["cookTime","prepTime"],"to":["totalTime"]},"styles":{"cols":4},"filters":{"toMinutes":true}},"totalTime":{"formComponent":"Input","vuetifyProps":{"type":"number"},"name":"totalTime","render":false,"renderJson":true,"value":"","placeholder":"Total (min)","styles":{"cols":4},"filters":{"toMinutes":true}},"recipeCategory":{"formComponent":"Selector","renderJson":false,"name":"recipeCategory","showOnChange":"recipeCategory","value":[{"selected":true,"value":""},{"selected":false,"value":"Appetizer"},{"selected":false,"value":"Entree"},{"selected":false,"value":"Dessert"}],"placeholder":"Category","render":true,"validation":{},"styles":{"cols":4}},"recipeCuisine":{"formComponent":"Input","renderJson":false,"showOnChange":"recipeCuisine","render":true,"value":"","name":"recipeCuisine","placeholder":"Cuisine","styles":{"cols":4}},"recipeYield":{"formComponent":"Input","vuetifyProps":{"type":"number"},"renderJson":false,"name":"recipeYield","showOnChange":"recipeYield","render":true,"value":"","placeholder":"Servings","styles":{"cols":4}},"recipeIngredient":{"formComponent":"Repeater","repeaterType":"array","render":true,"renderJson":false,"name":"recipeIngredient","value":[{"recipeIngredient.0.ingredient":{"formComponent":"Input","uuid":"0","placeholder":"Ingredient #","render":true,"value":"","name":"ingredient","styles":{},"validation":{},"showOnChange":"recipeIngredient"}}],"validation":{},"styles":{},"buttonTitle":"ADD INGREDIENT"},"nutrition":{"formComponent":false,"render":true,"hasChild":true,"styles":{},"name":"nutrition","validation":{},"children":{"nutrition.@type":{"formComponent":"Input","renderJson":true,"render":false,"name":"@type","value":"NutritionInformation","validation":{},"styles":{"cols":4}},"nutrition.servingSize":{"formComponent":"Input","renderJson":false,"showOnChange":"nutrition.servingSize","render":true,"value":"","name":"servingSize","placeholder":"Nutrition: Serving size","validation":{},"styles":{"cols":4}},"nutrition.calories":{"formComponent":"Input","renderJson":true,"render":true,"value":"","name":"calories","placeholder":"Nutrition: Calories","validation":{},"styles":{"cols":4},"vuetifyProps":{"type":"number"},"filters":{"afterText":" cal"}},"nutrition.fatContent":{"formComponent":"Input","renderJson":false,"render":true,"name":"fatContent","showOnChange":"nutrition.fatContent","value":"","placeholder":"Nutrition: Fat(grams)","validation":{},"styles":{"cols":4},"vuetifyProps":{"type":"number"},"filters":{"afterText":" g"}}}},"recipeInstructions":{"formComponent":"Repeater","repeaterType":"object","render":true,"hide":true,"renderJson":false,"name":"recipeInstructions","value":[{"recipeInstructions.0.@type":{"formComponent":"Input","render":false,"uuid":"0","name":"@type","value":"HowToStep","styles":{},"validation":{}},"recipeInstructions.0.text":{"formComponent":"Input","render":true,"uuid":"0","name":"text","renderJson":false,"placeholder":"Step #: Text","showOnChange":"recipeInstructions.0.text","value":"","validation":{},"styles":{"cols":3}},"recipeInstructions.0.name":{"formComponent":"Input","render":true,"uuid":"0","name":"name","placeholder":"Name","renderJson":false,"showOnChange":"recipeInstructions.0.name","value":"","validation":{},"styles":{"cols":3}},"recipeInstructions.0.url":{"formComponent":"Input","render":true,"uuid":"0","name":"url","renderJson":false,"placeholder":"URL","showOnChange":"recipeInstructions.0.url","value":"","validation":{"url":true},"styles":{"cols":3}},"recipeInstructions.0.image":{"formComponent":"Input","render":true,"uuid":"0","name":"image","renderJson":false,"placeholder":"Image","showOnChange":"recipeInstructions.0.image","value":"","validation":{"url":true},"styles":{"cols":3}}}],"validation":{},"styles":{},"buttonTitle":"ADD STEP"},"review":{"formComponent":"Repeater","repeaterType":"object","render":true,"hide":true,"renderJson":false,"name":"review","value":[{"review.0.@type":{"formComponent":"Input","uuid":"0","value":"Review","render":false,"name":"@type","styles":{},"validation":{}},"review.0.name":{"formComponent":"Input","uuid":"0","placeholder":"Review\'s name","render":true,"name":"name","value":"","styles":{"cols":6},"validation":{}},"review.0.reviewBody":{"formComponent":"TextArea","uuid":"0","placeholder":"Review\'s body","name":"reviewBody","render":true,"value":"","styles":{"cols":6},"validation":{}},"review.0.reviewRating":{"formComponent":false,"render":true,"renderJson":false,"name":"reviewRating","styles":{},"validation":{},"hasChild":true,"children":{"review.0.reviewRating.@type":{"formComponent":"Input","uuid":"0","render":false,"name":"@type","value":"Rating","styles":{},"validation":{}},"review.0.reviewRating.ratingValue":{"formComponent":"ReviewRating","uuid":"0","render":true,"value":"","showOnChange":"review.0.reviewRating","placeholder":"Rating","name":"ratingValue","styles":{},"validation":{"maxValue":0,"minValue":0},"vuetifyProps":{"type":"number"}}}},"review.0.datePublished":{"formComponent":"DatePicker","uuid":"0","placeholder":"Date","render":true,"renderJson":false,"showOnChange":"review.0.datePublished","name":"datePublished","value":"","styles":{},"validation":{}},"review.0.author":{"formComponent":false,"uuid":"0","hasChild":true,"render":true,"name":"author","validation":{},"styles":{"cols":6},"children":{"review.0.author.0.@type":{"uuid":"0","formComponent":"Input","render":false,"value":"Person","name":"@type","styles":{},"validation":{}},"review.0.author.0.name":{"formComponent":"Input","uuid":"0","placeholder":"Author","render":true,"name":"name","value":"","styles":{},"validation":{}}}},"review.0.publisher":{"formComponent":false,"uuid":"0","hasChild":true,"renderJson":false,"render":true,"name":"publisher","validation":{},"styles":{"cols":6},"children":{"review.0.publisher.@type":{"formComponent":"Input","uuid":"0","render":false,"value":"Organization","name":"@type","styles":{},"validation":{}},"review.0.publisher.name":{"uuid":"0","formComponent":"Input","placeholder":"Publisher","showOnChange":"review.0.publisher","render":true,"name":"name","value":"","styles":{},"validation":{}}}}}],"validation":{},"styles":{},"buttonTitle":"ADD REVIEW"}}')},"85ec":function(e,t,n){},"87f9":function(e,t,n){},"98d7":function(e){e.exports=JSON.parse('{"@context":{"formComponent":"Input","value":"https://schema.org","placeholder":"","name":"@context","render":false,"validation":{},"styles":{}},"@type":{"formComponent":"Selector","name":"@type","value":[{"selected":true,"value":"Article"},{"selected":false,"value":"NewsArticle"},{"selected":false,"value":"BlogPosting"}],"placeholder":"Article @type","render":true,"validation":{},"styles":{}},"mainEntityOfPage":{"formComponent":false,"render":true,"renderJson":false,"name":"mainEntityOfPage","hasChild":true,"validation":{},"styles":{"cols":6},"children":{"mainEntityOfPage.@type":{"formComponent":"Input","hasChild":false,"name":"@type","value":"WebPage","placeholder":"","validation":{},"styles":{}},"mainEntityOfPage.@id":{"formComponent":"Input","render":true,"hasChild":false,"name":"@id","showOnChange":"mainEntityOfPage","value":"","placeholder":"URL","validation":{"url":true},"styles":{"classes":"ptb-0"}}}},"headline":{"formComponent":"Input","render":true,"value":"","name":"headline","placeholder":"Headline","validation":{"maxLength":110},"styles":{"cols":6}},"description":{"formComponent":"Input","render":true,"renderJson":false,"name":"description","showOnChange":"description","value":"","placeholder":"Description of the article","validation":{},"styles":{}},"image":{"formComponent":"Repeater","repeaterType":"array","render":true,"name":"image","value":[{"image.0.url":{"formComponent":"Input","uuid":"0","placeholder":"Image URL #","render":true,"name":"url","value":"","styles":{},"validation":{"url":true}}}],"validation":{},"styles":{},"buttonTitle":"IMAGE"},"author":{"formComponent":false,"hasChild":true,"render":true,"name":"author","children":{"author.@type":{"formComponent":"Selector","name":"@type","value":[{"selected":false,"value":"Person"},{"selected":false,"value":"Organization"}],"placeholder":"Author @type","render":true,"validation":{},"styles":{}},"author.name":{"formComponent":"Input","value":"","placeholder":"Author","name":"name","render":true,"validation":{},"styles":{}}},"styles":{},"validation":{}},"publisher":{"formComponent":false,"hasChild":true,"render":true,"name":"publisher","styles":{},"children":{"publisher.@type":{"formComponent":"Input","value":"Organization","placeholder":"","name":"@type","render":false,"validation":{},"styles":{}},"publisher.name":{"formComponent":"Input","value":"","name":"name","placeholder":"Publisher","render":true,"validation":{},"styles":{}},"publisher.logo":{"formComponent":false,"hasChild":true,"render":true,"name":"logo","styles":{},"children":{"publisher.logo.@type":{"formComponent":"Input","value":"ImageObject","placeholder":"","name":"@type","render":false,"validation":{},"styles":{}},"publisher.logo.url":{"formComponent":"Input","value":"","name":"url","placeholder":"Publisher logo URL","render":true,"validation":{"url":true},"styles":{}}},"validation":{}}},"validation":{}},"datePublished":{"formComponent":"DatePicker","value":"","placeholder":"Date publisher","name":"datePublished","render":true,"validation":{},"styles":{"cols":5}},"dateModified":{"formComponent":"DatePicker","value":"","placeholder":"Date modified","renderJson":false,"name":"dateModified","showOnChange":"dateModified","render":true,"required":false,"validation":{},"styles":{"cols":7}}}')},a758:function(e,t,n){"use strict";n("7bc67")},aa03:function(e,t,n){"use strict";n("99af"),n("c740"),n("4160"),n("45fc"),n("a434"),n("b64b"),n("ac1f"),n("841c"),n("1276"),n("159b");var r=n("ade3"),a=n("53ca"),i=n("56d7"),o=n("017c");t["a"]={mixins:[o["a"]],methods:{findVal:function(e,t){var n,r=this,i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return Object.keys(e).some((function(o){return i&&-1!==o.search(t)||o===t?(n=e[o],!0):e[o]&&"object"===Object(a["a"])(e[o])?(n=r.findVal(e[o],t,i),void 0!==n):void 0})),n},changeChildType:function(e){return e.split(".").pop()},isLastItem:function(e,t){for(var n in e){var r="undefined"===typeof t[e[n]].renderJson||t[e[n]].renderJson;if(r)return!1}return!0},printComma:function(e,t){var n=Object.keys(t),r=n[e],a="undefined"===typeof t[r].renderJson||t[r].renderJson,i=n.length;if(e===i-1)return"";if(!a)return"";var o=n.splice(e+1,n.length);return o.length>0&&this.isLastItem(o,t)?"":","},renderItem:function(e){return void 0===e.renderJson||e.renderJson},isObject:function(e){return e&&"object"===Object(a["a"])(e)&&!Array.isArray(e)},mergeDeep:function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),a=1;a<t;a++)n[a-1]=arguments[a];if(!n.length)return e;var i=n.shift();if(this.isObject(e)&&this.isObject(i))for(var o in i)i.hasOwnProperty(o)&&this.isObject(i[o])?(e[o]?e[o]=Object.assign({},e[o]):Object.assign(e,Object(r["a"])({},o,{})),this.mergeDeep(e[o],i[o])):Object.assign(e,Object(r["a"])({},o,i[o]));return this.mergeDeep.apply(this,[e].concat(n))},getFilters:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(e)for(var n in t)"beforeText"===n&&(e=this.$options.filters.beforeText(e,t[n])),"afterText"===n&&(e=this.$options.filters.afterText(e,t[n])),"toMinutes"===n&&(e=this.$options.filters.toMinutes(e)),"clearSymbols"===n&&(e=this.$options.filters.clearSymbols(e,t[n]));return e},updateRatingValues:function(e){var t=this.getRating(),n=Object.keys(this.getReviews()),r={value:t.ratingValue},a={value:t.ratingCount};n.forEach((function(e){i["schemaEmitter"].$emit("input","review.".concat(e,".reviewRating.bestRating"),t.bestResult),i["schemaEmitter"].$emit("input","review.".concat(e,".reviewRating.worstRating"),t.worstResult),i["schemaEmitter"].$emit("input","review.".concat(e,".reviewRating.ratingValue"),{validation:{maxValue:t.bestResult,minValue:t.worstResult}})})),t.ratingValue?(r["vuetifyProps"]={disabled:!0},a["vuetifyProps"]={disabled:!0}):(r["vuetifyProps"]={disabled:!1},a["vuetifyProps"]={disabled:!1}),t.ratingValue>=1?i["schemaEmitter"].$emit("input","aggregateRating",{renderJson:!0}):i["schemaEmitter"].$emit("input","aggregateRating",{renderJson:!1}),i["schemaEmitter"].$emit("input","aggregateRating.ratingValue",r),i["schemaEmitter"].$emit("input","aggregateRating.ratingCount",a)},setEmptyValue:function(e){var t=Object(a["a"])(e);if("string"===t)return"";if("object"===t){var n=[];return e.forEach((function(e){var t={selected:!1};t["value"]=e.value,n.push(t)})),n}return""},isNotEmptyValue:function(e){var t=Object(a["a"])(e);if("string"===t)return e.length>0;if("object"===t){var n=e.findIndex((function(e){return e.selected}));return-1!==n}return!1},duplicateValues:function(e){if(this.componentProps.hasOwnProperty("duplicateFor")){var t=this.componentProps.duplicateFor;t.forEach((function(t){"string"===typeof e?i["schemaEmitter"].$emit("input",t,e):i["schemaEmitter"].$emit("input",t,{value:e})}))}}}}},ac85:function(e,t,n){"use strict";n.r(t);var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",["Input"===e.node.formComponent||"TextArea"===e.node.formComponent||"ReviewRating"===e.node.formComponent?n("div",[n("single-item",{attrs:{name:e.name,value:e.node.value,comma:e.comma,isDisplayName:e.isDisplayName,filters:e.getFiltersProp()}})],1):e._e(),"DatePicker"===e.node.formComponent?n("div",[n("date-item",{attrs:{name:e.name,value:e.node.value,comma:e.comma}})],1):"Selector"===e.node.formComponent?n("div",[n("selector-item",{attrs:{name:e.name,value:e.node.value,filters:e.getFiltersProp(),comma:e.comma}})],1):"Repeater"===e.node.formComponent&&"object"===e.node.repeaterType?n("div",[n("object-item",{attrs:{name:e.name,value:e.node.value,comma:e.comma}})],1):"Repeater"===e.node.formComponent&&"array"===e.node.repeaterType?n("div",[n("array-item",{attrs:{name:e.name,value:e.node.value}})],1):!1===e.node.formComponent?n("div",[n("span"),n("span",[e._v('"'+e._s(e.name)+'"')]),e._v(": "),n("span",[e._v("{")]),e._l(e.node.children,(function(t,r,a){return e.renderItem(t)?n("node",{key:r,attrs:{name:t.name,type:r,node:t,comma:e.printComma(a,e.node.children)}}):e._e()})),n("span",[e._v("}"+e._s(e.comma))])],2):e._e()])},a=[],i=(n("a9e3"),function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.isDisplayName?n("span",[n("span",[e._v('"'+e._s(e.name)+'"')]),e._v(': "'),n("span",{staticClass:"schema_integration-str",class:{"schema_integration-str__updated":e.isUpdate}},[e._v(e._s(e.getFilters(e.value,e.filters)))]),e._v('"'+e._s(e.comma)+" ")]):n("span",[e._v(' "'),n("span",{staticClass:"schema_integration-str",class:{"schema_integration-str__updated":e.isUpdate}},[e._v(e._s(e.getFilters(e.value,e.filters)))]),e._v('"'+e._s(e.comma)+" ")])}),o=[],s={props:{name:{type:String,required:!0},value:{type:[String,Number,Array],required:!1,default:""},comma:{type:String,required:!1,default:","},isDisplayName:{type:Boolean,required:!1,default:!0},filters:{type:Object,default:function(){return{}}}}},l=n("aa03"),u={mixins:[l["a"],s],data:function(){return{isUpdate:!1}},watch:{value:function(e){e&&(this.isUpdate=e.length>0)}}},c=u,d=n("2877"),p=Object(d["a"])(c,i,o,!1,null,"74a2251c",null),m=p.exports,f=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("span",[e.value.length>1?n("span",[n("span"),n("span",[e._v('"'+e._s(e.name)+'"')]),e._v(": "),n("span",[e._v("[")]),e._l(e.value,(function(t,r){return n("span",{key:r},e._l(t,(function(t,a,i){return e.renderItem(t)?n("json-tree",{key:a,attrs:{name:t.name,type:a,node:t,comma:e.printComma(r,e.value),isDisplayName:e.display}}):e._e()})),1)})),n("span"),n("span",[e._v("]"+e._s(e.printComma(0,e.value)))])],2):n("span",e._l(e.value[0],(function(t,r){return n("span",{key:r},[n("span"),n("span",[e._v('"'+e._s(e.name)+'"')]),e._v(': "'),n("span",{staticClass:"schema_integration-str"},[e._v(e._s(t.value))]),e._v('", ')])})),0)])},v=[],h=(n("d3b7"),{mixins:[s,l["a"]],props:{value:{type:Array,required:!0}},data:function(){return{display:!1}},components:{JsonTree:function(){return Promise.resolve().then(n.bind(null,"ac85"))}}}),g=h,y=(n("a758"),Object(d["a"])(g,f,v,!1,null,"2226b39c",null)),b=y.exports,C=function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.isDisplayName?n("span",[n("span",[e._v('"'+e._s(e.name)+'"')]),e._v(': "'),n("span",{staticClass:"schema_integration-str"},[e._v(e._s(e.getSelectedItem))]),e._v('"'+e._s(e.comma)+" ")]):n("span",[e._v(' "'),n("span",{staticClass:"schema_integration-str"},[e._v(e._s(e.getSelectedItem))]),e._v('"'+e._s(e.comma)+" ")])},w=[],O={mixins:[l["a"],s],computed:{getSelectedItem:function(){for(var e in this.value)if(this.value[e].selected)return this.getFilters(this.value[e].value,this.filters)}}},_=O,S=Object(d["a"])(_,C,w,!1,null,"4fdb5c6a",null),I=S.exports,P=function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.isDisplayName?n("span",[n("span",[e._v('"'+e._s(e.name)+'"')]),e._v(": "),n("span",[e._v('"'+e._s(e.value)+'"')]),e._v(e._s(e.comma)+" ")]):n("span",[n("span",[e._v('"'+e._s(e.value)+'"')]),e._v(e._s(e.comma)+" ")])},R=[],V={mixins:[s]},j=V,x=Object(d["a"])(j,P,R,!1,null,"474081ee",null),J=x.exports,T=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("span",[n("span"),n("span",[e._v('"'+e._s(e.name)+'"')]),e._v(": "),n("span",[e._v("[")]),e._l(e.value,(function(t,r){return n("span",{key:r},[e._v("{ "),e._l(t,(function(r,a,i){return e.renderItem(r)?n("json-tree",{key:a,attrs:{name:r.name,type:a,node:r,comma:e.printComma(i,t),"display-name":e.display}}):e._e()})),e._v(" }"+e._s(e.printComma(r,e.value)))],2)})),n("span"),n("span",[e._v("]"+e._s(e.comma))])],2)},E=[],k={mixins:[s,l["a"]],props:{value:{type:Array,required:!0}},data:function(){return{display:!1}},components:{JsonTree:function(){return Promise.resolve().then(n.bind(null,"ac85"))}}},$=k,D=(n("e396"),Object(d["a"])($,T,E,!1,null,"71953de0",null)),N=D.exports,A={mixins:[l["a"]],name:"node",props:{node:Object,type:[String,Number],comma:String,name:String,isDisplayName:{type:Boolean,required:!1,default:!0}},components:{SingleItem:m,ArrayItem:b,SelectorItem:I,DateItem:J,ObjectItem:N},methods:{getFiltersProp:function(){return this.node.hasOwnProperty("filters")?this.node.filters:{}}}},L=A,F=(n("0c0e"),Object(d["a"])(L,r,a,!1,null,"516b3065",null));t["default"]=F.exports},af02:function(e){e.exports=JSON.parse('{"@context":{"formComponent":"Input","value":"https://schema.org","placeholder":"","name":"@context","render":false,"validation":{},"styles":{}},"@type":{"formComponent":"Input","value":"BreadcrumbList","name":"@type","placeholder":"","render":false,"validation":{},"styles":{}},"itemListElement":{"formComponent":"Repeater","repeaterType":"object","render":true,"name":"itemListElement","value":[{"itemListElement.0.@type":{"formComponent":"Input","uuid":"0","placeholder":"@type","name":"@type","value":"ListItem","render":false,"renderJson":true,"styles":{},"validation":{}},"itemListElement.0.position":{"formComponent":"Input","uuid":"0","placeholder":"position","value":"1","name":"position","render":false,"renderJson":true,"styles":{},"validation":{}},"itemListElement.0.name":{"formComponent":"Input","uuid":"0","placeholder":"Page\'s name","name":"name","value":"","render":true,"renderJson":true,"styles":{},"validation":{"required":true}},"itemListElement.0.item":{"formComponent":"Input","uuid":"0","placeholder":"URL","name":"item","value":"","render":true,"renderJson":true,"styles":{},"validation":{"required":true,"url":true}}}],"validation":{},"styles":{},"buttonTitle":"ADD URL"}}')},bab1:function(e,t,n){"use strict";n("87f9")},bdd2:function(e){e.exports=JSON.parse('{"@context":{"formComponent":"Input","value":"https://schema.org","placeholder":"","name":"@context","render":false,"validation":{},"styles":{}},"@type":{"formComponent":"Input","value":"FAQPage","placeholder":"","name":"@type","render":false,"validation":{},"styles":{}},"mainEntity":{"formComponent":"Repeater","repeaterType":"object","render":true,"name":"mainEntity","value":[{"mainEntity.0.@type":{"formComponent":"Input","uuid":"0","render":false,"renderJson":true,"name":"@type","value":"Question","validation":{},"styles":{}},"mainEntity.0.question":{"formComponent":"Input","uuid":"0","placeholder":"Question","name":"name","value":"","render":true,"styles":{},"validation":{}},"mainEntity.0.acceptedAnswer":{"formComponent":false,"hasChild":true,"uuid":"0","render":true,"name":"acceptedAnswer","styles":{},"validation":{},"children":{"mainEntity.0.acceptedAnswer.@type":{"formComponent":"Input","uuid":"0","render":false,"renderJson":true,"name":"@type","value":"Answer","validation":{},"styles":{}},"mainEntity.0.acceptedAnswer.answer":{"formComponent":"Input","uuid":"0","placeholder":"Answer","name":"text","value":"","render":true,"styles":{},"validation":{}}}}}],"validation":{},"styles":{},"buttonTitle":"ADD QUESTION"}}')},bfd9:function(e,t,n){"use strict";n("5b50")},de0a:function(e,t,n){},e182:function(e,t,n){},e396:function(e,t,n){"use strict";n("330a")},fad7:function(e,t,n){"use strict";var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("v-main",[n("v-container",[n("v-row",[n("v-col",[n("v-card",[n("v-card-text",[n("div",[n("v-select",{attrs:{items:e.getSchemasList,attach:"",label:"Which Schema.org markup would you like to create?"},on:{change:function(t){return e.selectSchema(t)}},scopedSlots:e._u([{key:"selection",fn:function(t){return[n("v-list-item",[n("v-list-item-content",[n("v-list-item-title",[n("v-icon",{attrs:{small:""}},[e._v(e._s(t.item.icon))]),e._v(" "+e._s(t.item.title)+" ")],1)],1)],1)]}},{key:"item",fn:function(t){return[n("v-icon",{attrs:{small:""}},[e._v(e._s(t.item.icon))]),n("v-list-item",[n("v-list-item-content",[n("v-list-item-title",[e._v(" "+e._s(t.item.title)+" "),n("small",[e._v(e._s(t.item.description))])])],1)],1)]}}]),model:{value:e.getSelectedSchema,callback:function(t){e.getSelectedSchema=t},expression:"getSelectedSchema"}})],1)])],1)],1)],1),n("v-row",[n("v-col",{attrs:{cols:"7"}},[n("v-card",[n("v-card-text",[n("form-builder",{attrs:{config:e.getSchemaType}})],1)],1)],1),n("v-col",{attrs:{cols:"5"}},[n("v-card",{attrs:{height:"100%"}},[n("v-card-text",[n("json-builder",{ref:"jsonTemplate",attrs:{config:e.getJsonType}})],1)],1)],1)],1),n("v-row",[n("v-col",[n("v-card",[n("v-card-title",[e._v("Select schemas conditions")]),n("v-card-text",[n("conditions",{attrs:{conditionsList:e.conditions,currentConditions:e.postConditions}})],1)],1)],1)],1),n("v-row",[n("input",{directives:[{name:"model",rawName:"v-model",value:e.result,expression:"result"}],attrs:{type:"hidden",name:"schema"},domProps:{value:e.result},on:{input:function(t){t.target.composing||(e.result=t.target.value)}}}),n("input",{directives:[{name:"model",rawName:"v-model",value:e.source,expression:"source"}],attrs:{type:"hidden",name:"source"},domProps:{value:e.source},on:{input:function(t){t.target.composing||(e.source=t.target.value)}}}),n("input",{directives:[{name:"model",rawName:"v-model",value:e.getSchemaName,expression:"getSchemaName"}],attrs:{type:"hidden",name:"schema_name"},domProps:{value:e.getSchemaName},on:{input:function(t){t.target.composing||(e.getSchemaName=t.target.value)}}})])],1)],1)},a=[],i=(n("7db0"),n("4160"),n("4fad"),n("159b"),n("3835")),o=n("53ca"),s=n("5530"),l=n("98d7"),u=n("bdd2"),c=n("0a9f"),d=n("7ebc"),p=n("af02"),m=n("ff39"),f={data:function(){return{config:{Article:l,FAQPage:u,Product:c,Recipe:d,Breadcrumbs:p,Custom:m}}}},v=n("aa03"),h=n("bc3a"),g=n.n(h),y=n("2f62"),b=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("v-row",e._l(e.config,(function(e,t,r){return n("form-tree",{key:t,attrs:{index:r,type:t,node:e}})})),1)},C=[],w=n("003d"),O=n("56d7"),_={props:["config"],data:function(){return{formValues:{}}},components:{FormTree:w["default"]},methods:{updateField:function(e,t){O["schemaEmitter"].$emit("input",e,t)}}},S=_,I=n("2877"),P=n("6544"),R=n.n(P),V=n("0fd9"),j=Object(I["a"])(S,b,C,!1,null,"31de27a7",null),x=j.exports;R()(j,{VRow:V["a"]});var J=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"json-wrapper"},[n("span",{staticClass:"schema_integration-tag"},[e._v("<script")]),e._v(" "),n("span",{staticClass:"schema_integration-attr"},[e._v("type")]),n("span",{staticClass:"schema_integration-attr-value"},[e._v('="application/ld+json"')]),n("span",[e._v(">")]),n("div",{ref:"schema_integration_template"},["Custom"!==e.getCurrentSchema.title?n("div",[e._m(0),e._l(e.config,(function(t,r,a){return e.renderItem(t)?n("json-tree",{key:r,attrs:{name:t.name,type:r,node:t,comma:e.printComma(a,e.config)}}):e._e()})),e._m(1)],2):n("div",[n("custom-item",{attrs:{value:e.config.custom.value}})],1)]),n("span",{staticClass:"schema_integration-tag"},[e._v("<\/script>")])])},T=[function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("span",[e._v("{")])])},function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("span",[e._v("}")])])}],E=n("ac85"),k=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("pre",[e._v(e._s(e._f("prettyJSON")(e.value))+" ")])},$=[],D=n("017c"),N={mixins:[D["a"]],props:{value:{required:!0,default:"",type:[String,Object]}}},A=N,L=(n("bab1"),Object(I["a"])(A,k,$,!1,null,"2c4f9021",null)),F=L.exports,U={mixins:[v["a"]],props:{config:Object},data:function(){return{render:!0}},components:{CustomItem:F,JsonTree:E["default"]},computed:Object(y["c"])(["getCurrentSchema"])},B=U,q=(n("bfd9"),Object(I["a"])(B,J,T,!1,null,"67395d6c",null)),K=q.exports,M=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("div",{staticClass:"conditions-items"},e._l(e.conditions,(function(t,r){return n("v-row",{key:r,staticClass:"conditions-item"},[n("v-col",{attrs:{cols:"6"}},[n("v-select",{attrs:{items:t.data,attach:"",label:"Conditions list"},on:{change:function(t){return e.getConditionsValue(r,t)}},model:{value:t.selected,callback:function(n){e.$set(t,"selected",n)},expression:"item.selected"}})],1),n("v-col",{attrs:{cols:"6"}},[t.displayIds?n("div",[n("v-text-field",{attrs:{type:"number",label:"Add ID"},on:{input:function(t){return e.getConditionsValueIds(r,t)}},model:{value:t.ids,callback:function(n){e.$set(t,"ids",n)},expression:"item.ids"}})],1):e._e()]),n("v-row",[n("v-col",{attrs:{cols:"6"}},[n("v-btn",{attrs:{small:"",color:"primary"},on:{click:function(t){return e.addItem(r)}}},[e._v("Add")])],1),n("v-col",{attrs:{cols:"6"}},[n("v-btn",{attrs:{small:"",color:"error",disabled:e.disableButton},on:{click:function(t){return e.deleteItem(r)}}},[e._v("Delete")])],1)],1)],1)})),1),n("input",{directives:[{name:"model",rawName:"v-model",value:e.result,expression:"result"}],attrs:{type:"hidden",name:"conditions"},domProps:{value:e.result},on:{input:function(t){t.target.composing||(e.result=t.target.value)}}})])},W=[],z=(n("a434"),n("2ca0"),{props:["conditionsList","currentConditions"],data:function(){return{conditions:[{data:[],selected:"",displayIds:!1,ids:""}],result:""}},watch:{currentConditions:{handler:"setConditions"},conditions:{deep:!0,handler:function(){this.result=JSON.stringify(this.getConditionsResult())}}},methods:{addItem:function(e){var t=JSON.parse(JSON.stringify(this.conditions[e]));this.conditions.push(t)},deleteItem:function(e){this.conditions.length>1&&this.conditions.splice(e,1)},getConditionsValue:function(e,t){this.conditions[e].displayIds=t.startsWith("{custom_")},getConditionsValueIds:function(e,t){this.conditions[e].ids=t},getConditionsResult:function(){var e=[];return this.conditions.forEach((function(t){var n={condition:t.selected,custom:t.displayIds?t.ids:""};e.push(n)})),e},setConditions:function(){var e=this;this.currentConditions.length<=0?this.conditions[0].data=this.conditionsList:(this.conditions.splice(0,1),this.currentConditions.forEach((function(t){e.conditions.push({data:e.conditionsList,selected:t.condition,ids:t.custom,displayIds:t.custom.length>0})})))}},computed:{disableButton:function(){return this.conditions.length<=1}},created:function(){this.setConditions()}}),Q=z,G=n("8336"),H=n("62ad"),Y=n("b974"),X=n("8654"),Z=Object(I["a"])(Q,M,W,!1,null,"53d6957f",null),ee=Z.exports;R()(Z,{VBtn:G["a"],VCol:H["a"],VRow:V["a"],VSelect:Y["a"],VTextField:X["a"]});var te={mixins:[f,v["a"]],components:{FormBuilder:x,JsonBuilder:K,Conditions:ee},props:{schemas_type:{type:Array,required:!0}},data:function(){return{conditions:[],postConditions:[],componentKey:0,schemaExist:!1,schemaType:{},jsonType:{},sourceType:{},result:"",source:"",default:""}},methods:Object(s["a"])(Object(s["a"])(Object(s["a"])({},Object(y["b"])(["setDefaultData","setCurrentSchema","setSchemasList","run"])),Object(y["d"])(["updateProperty"])),{},{getInnerJson:function(){return this.$refs.jsonTemplate.$refs.schema_integration_template.innerText},getAjaxSchemaSettings:function(e,t){var n=this;g.a.post("/wp-admin/admin-ajax.php?action=get_schema_settings",{post_id:e,security:t}).then((function(e){e.data&&(n.run(JSON.parse(e.data.schema)),n.postConditions=JSON.parse(e.data.conditions),n.schemaExist=!0,n.setCurrentSchema(JSON.parse(e.data.schema_name)),n.buildFromConfig(n.getCurrentSchema.title),n.setDefaultData({key:n.getCurrentSchema.title,jsonString:n.default}))})).catch((function(e){n.setCurrentSchema(n.schemas_type[0]);var t=n.buildFromConfig(n.getCurrentSchema.title);n.setDefaultData({key:n.getCurrentSchema.title,jsonString:n.default}),n.run(t)}))},displayJsonTemplate:function(e,t,n){if("undefined"!==typeof t.value&&"undefined"!==typeof t.showOnChange){var r=this.findVal(e,t.showOnChange),a=Object(o["a"])(n);if("undefined"!==typeof r)if("object"!==a)r.renderJson=""!==n;else if(n&&n.hasOwnProperty("value")&&"object"===Object(o["a"])(n.value)){var i=n.value.find((function(e){return e.selected}));r.renderJson="undefined"!==typeof i}else n&&n.hasOwnProperty("renderJson")&&(r.renderJson=n.renderJson)}},updateObject:function(e,t,n){var r=this.findVal(e,t);void 0!==r&&(r=this.mergeDeep(r,n),this.displayJsonTemplate(e,r,n))},updateItem:function(e,t,n){var r=this.findVal(e,t);"undefined"!==typeof r&&r.hasOwnProperty("value")&&(r.value=n,this.displayJsonTemplate(e,r,n))},updateProperties:function(){this.updateProperty(["schemaType",this.getSchemaType]),this.result=this.getInnerJson(),this.source=JSON.stringify(this.getSourceType)},buildFromConfig:function(e){var t=e,n=this.config,r=JSON.stringify(n);this.default=r;var a=JSON.parse(r);return"undefined"!==typeof a[t]&&a[t]},selectSchema:function(e){this.setCurrentSchema(e);var t=this.buildFromConfig(this.getCurrentSchema.title);this.setDefaultData({key:this.getCurrentSchema.title,jsonString:this.default}),this.run(t),this.itemWalker(this.getSchemaType),this.updateProperties()},itemWalker:function(e){var t=this;"object"===Object(o["a"])(e)&&Object.entries(e).forEach((function(e){var n=Object(i["a"])(e,2),r=n[0],a=n[1];void 0!==a.children?t.itemWalker(a.children):"undefined"!==typeof t.$options.components[a.formComponent]&&!1!==a.render||delete a[r]}))}}),computed:Object(s["a"])(Object(s["a"])({},Object(y["c"])(["getJsonType","getSchemaType","getSourceType","getCurrentSchema","getSchemasList"])),{},{getSelectedSchema:{get:function(){return this.getCurrentSchema},set:function(e){return this.setCurrentSchema(e)}},getSchemaName:{get:function(){return JSON.stringify(this.getCurrentSchema)},set:function(e){return this.setCurrentSchema(e)}}}),updated:function(){this.$nextTick((function(){this.result=this.getInnerJson()}))},mounted:function(){var e=this;O["schemaEmitter"].$on("input",(function(t,n){if("object"===Object(o["a"])(n))e.updateObject(e.getSchemaType,t,n),e.updateObject(e.getJsonType,t,n),e.updateObject(e.getSourceType,t,n);else{try{n=JSON.parse(n)}catch(r){}e.updateItem(e.getSchemaType,t,n),e.updateItem(e.getJsonType,t,n),e.updateItem(e.getSourceType,t,n)}e.updateProperties(),e.result=e.getInnerJson(),e.source=JSON.stringify(e.getSourceType)})),setTimeout((function(){e.result=e.getInnerJson(),e.source=JSON.stringify(e.getSourceType)}),1e3)},created:function(){if("undefined"!==typeof wp&&wp.hasOwnProperty("i18n")){var e=wp.i18n;e.__,e._x,e._n,e._nx}var t=document.getElementById("app");if(null!==t){var n=t.getAttribute("data-id"),r=t.getAttribute("data-security"),a=t.getAttribute("data-conditions");this.conditions=JSON.parse(a),n&&(this.setSchemasList(this.schemas_type),this.getAjaxSchemaSettings(n,r))}},beforeDestroy:function(){O["schemaEmitter"].$off("input")}},ne=te,re=(n("22c9"),n("b0af")),ae=n("99d9"),ie=n("a523"),oe=n("132d"),se=n("da13"),le=n("5d23"),ue=n("f6c4"),ce=Object(I["a"])(ne,r,a,!1,null,"01819fa8",null);t["a"]=ce.exports;R()(ce,{VCard:re["a"],VCardText:ae["a"],VCardTitle:ae["b"],VCol:H["a"],VContainer:ie["a"],VIcon:oe["a"],VListItem:se["a"],VListItemContent:le["a"],VListItemTitle:le["b"],VMain:ue["a"],VRow:V["a"],VSelect:Y["a"]})},fbd5:function(e,t,n){},ff39:function(e){e.exports=JSON.parse('{"custom":{"formComponent":"Custom","value":"","placeholder":"Enter the custom schema json","name":"custom","render":true,"validation":{"isJson":true},"styles":{}}}')}}); 2 2 //# sourceMappingURL=app.js.map -
schema-integration/tags/1.2.1/admin/src/js/schema/dist/js/app.js.map
r2471803 r2486647 1 {"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/FormElements/FormTree.vue?f8ee","webpack:///./src/FormElements/Input.vue?c854","webpack:///./src/mixins/validation.js","webpack:///./src/mixins/form-props.js","webpack:///./src/mixins/rating.js","webpack:///src/FormElements/Input.vue","webpack:///./src/FormElements/Input.vue?7927","webpack:///./src/FormElements/Input.vue","webpack:///./src/FormElements/Repeater.vue?f527","webpack:///src/FormElements/Repeater.vue","webpack:///./src/FormElements/Repeater.vue?4761","webpack:///./src/FormElements/Repeater.vue","webpack:///./src/FormElements/Selector.vue?2027","webpack:///src/FormElements/Selector.vue","webpack:///./src/FormElements/Selector.vue?8737","webpack:///./src/FormElements/Selector.vue","webpack:///./src/FormElements/DatePicker.vue?dfbd","webpack:///src/FormElements/DatePicker.vue","webpack:///./src/FormElements/DatePicker.vue?02d1","webpack:///./src/FormElements/DatePicker.vue","webpack:///./src/FormElements/TextArea.vue?9a29","webpack:///src/FormElements/TextArea.vue","webpack:///./src/FormElements/TextArea.vue?f8d7","webpack:///./src/FormElements/TextArea.vue","webpack:///./src/FormElements/ReviewRating.vue?25cb","webpack:///src/FormElements/ReviewRating.vue","webpack:///./src/FormElements/ReviewRating.vue?1e33","webpack:///./src/FormElements/ReviewRating.vue","webpack:///./src/FormElements/Custom.vue?6545","webpack:///src/FormElements/Custom.vue","webpack:///./src/FormElements/Custom.vue?a5d5","webpack:///./src/FormElements/Custom.vue","webpack:///./src/mixins/styles.js","webpack:///src/FormElements/FormTree.vue","webpack:///./src/FormElements/FormTree.vue?f749","webpack:///./src/FormElements/FormTree.vue?c051","webpack:///./src/mixins/filters.js","webpack:///./src/App.vue?5189","webpack:///./src/JsonElements/JsonTree.vue?b06a","webpack:///./src/components/Schema.vue?fd0e","webpack:///./src/FormElements/FormTree.vue?aa36","webpack:///./src/App.vue?1f5e","webpack:///src/App.vue","webpack:///./src/App.vue?b0f9","webpack:///./src/App.vue?155a","webpack:///./src/plugins/vuetify.js","webpack:///./src/store/modules/schema.js","webpack:///./src/store/modules/rating.js","webpack:///./src/store/modules/current-schema.js","webpack:///./src/store/index.js","webpack:///./src/main.js","webpack:///./src/ components/jsonBuilder.vue?febd","webpack:///./src/JsonElements/ArrayItem.vue?17b6","webpack:///./src/mixins/functions.js","webpack:///./src/JsonElements/JsonTree.vue?e7e1","webpack:///./src/JsonElements/SingleItem.vue?b18d","webpack:///./src/mixins/json-props.js","webpack:///src/JsonElements/SingleItem.vue","webpack:///./src/JsonElements/SingleItem.vue?7046","webpack:///./src/JsonElements/SingleItem.vue","webpack:///./src/JsonElements/ArrayItem.vue?d2f6","webpack:///src/JsonElements/ArrayItem.vue","webpack:///./src/JsonElements/ArrayItem.vue?19b6","webpack:///./src/JsonElements/ArrayItem.vue?b714","webpack:///./src/JsonElements/SelectorItem.vue?31a6","webpack:///src/JsonElements/SelectorItem.vue","webpack:///./src/JsonElements/SelectorItem.vue?2d0c","webpack:///./src/JsonElements/SelectorItem.vue","webpack:///./src/JsonElements/DateItem.vue?6da3","webpack:///src/JsonElements/DateItem.vue","webpack:///./src/JsonElements/DateItem.vue?6533","webpack:///./src/JsonElements/DateItem.vue","webpack:///./src/JsonElements/ObjectItem.vue?91ba","webpack:///src/JsonElements/ObjectItem.vue","webpack:///./src/JsonElements/ObjectItem.vue?e849","webpack:///./src/JsonElements/ObjectItem.vue?c919","webpack:///src/JsonElements/JsonTree.vue","webpack:///./src/JsonElements/JsonTree.vue?9fab","webpack:///./src/JsonElements/JsonTree.vue?7818","webpack:///./src/JsonElements/CustomItem.vue?de50","webpack:///./src/JsonElements/ObjectItem.vue?7d44","webpack:///./src/components/Schema.vue?7d27","webpack:///./src/mixins/config.js","webpack:///./src/components/formBuilder.vue?c26d","webpack:///src/components/formBuilder.vue","webpack:///./src/components/formBuilder.vue?eb35","webpack:///./src/components/formBuilder.vue","webpack:///./src/components/jsonBuilder.vue?f7d0","webpack:///./src/JsonElements/CustomItem.vue?10a3","webpack:///src/JsonElements/CustomItem.vue","webpack:///./src/JsonElements/CustomItem.vue?e878","webpack:///./src/JsonElements/CustomItem.vue?e87e","webpack:///src/components/jsonBuilder.vue","webpack:///./src/components/jsonBuilder.vue?8896","webpack:///./src/components/jsonBuilder.vue?e9af","webpack:///./src/CondtionsElements/Conditions.vue?8589","webpack:///src/CondtionsElements/Conditions.vue","webpack:///./src/CondtionsElements/Conditions.vue?2418","webpack:///./src/CondtionsElements/Conditions.vue","webpack:///src/components/Schema.vue","webpack:///./src/components/Schema.vue?70b0","webpack:///./src/components/Schema.vue?cb6e"],"names":["webpackJsonpCallback","data","moduleId","chunkId","chunkIds","moreModules","executeModules","i","resolves","length","Object","prototype","hasOwnProperty","call","installedChunks","push","modules","parentJsonpFunction","shift","deferredModules","apply","checkDeferredModules","result","deferredModule","fulfilled","j","depId","splice","__webpack_require__","s","installedModules","exports","module","l","m","c","d","name","getter","o","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","p","jsonpArray","window","oldJsonpFunction","slice","render","_vm","this","_h","$createElement","_c","_self","node","class","classes","attrs","cols","children","_l","index","formComponent","tag","type","getCustomProps","_e","staticRenderFns","componentProps","_b","placeholder","counter","printCounterValue","displayErrors","validation","$v","getCurrentValue","on","$event","validateInput","updateField","updateKey","model","callback","$$v","expression","vuetifyProps","Vue","use","Vuelidate","messages","required","maxLength","url","minValue","maxValue","numeric","isJson","methods","currentValue","field","errorMessages","undefined","entries","$dirty","$invalid","$touch","createValidatorsObject","items","Validators","keys","isJsone","mounted","props","default","String","Number","mixins","functions","rating","ratingValue","ratingCount","reviewCount","worstResult","bestResult","mapActions","mapGetters","calculateRating","parseInt","setRating","setWorst","setBest","setRatingResult","setWorstResult","setBestResult","getRating","Array","setRatingValues","calculateValue","duplicateValues","reviewsKeys","forEach","objectList","from","item","total","to","validations","validators","computed","set","component","VTextField","staticClass","el","k","hide","addItem","_v","_s","buttonTitle","disableButton","deleteItem","components","FormTree","properties","newItem","updateReviews","updateBreadcrumbs","setReviewRating","0","updateRatingValues","id","changeItemKey","arrayKey","newObject","replace","JSON","parse","reviewObject","resultItem","uuid","VBtn","VCol","VIcon","VRow","getSelectedObject","selected","Schema","dropdown_texts","dropdown_values","schemas","schemas_type","changeView","getSchemaType","offer","renderJson","setEmptyValue","updateProperty","fields","getSelectedValue","selected_index","getDropDownText","map","getDropDownValues","getSelectedItem","findIndex","VSelect","scopedSlots","_u","fn","ref","_g","menu2","VDatePicker","VMenu","fullWidth","VTextarea","updateReviewRating","number","stringify","styles","Input","Selector","Repeater","DatePicker","TextArea","ReviewRating","Custom","changeChildType","split","pop","filters","beforeText","string","textBefore","afterText","textAfter","toMinutes","clearSymbols","symbols","symbol","replaceAll","prettyJSON","e","schemasType","VApp","Vuetify","state","schemaType","jsonType","sourceType","mutations","updateDefault","actions","setDefaultData","commit","jsonString","run","getters","getJsonType","getSourceType","getDefaultData","reviews","updateReview","setReview","updateRating","review","dispatch","currentRating","reviewRating","getReviews","currentSchema","schemasList","updateCurrentSchema","updateSchemasList","setCurrentSchema","setSchemasList","getCurrentSchema","getSchemasList","Vuex","Store","schema","config","productionTip","schemaEmitter","vuetify","store","h","App","created","schema_integration","setLocaleData","i18n","$mount","findVal","regexp","some","search","isLastItem","objects","printComma","currentObjectKey","spliceObject","renderItem","isObject","isArray","mergeDeep","target","sources","source","assign","getFilters","filter","$options","ratingValueObject","ratingCountObject","$emit","disabled","obj","isNotEmptyValue","duplicateFor","comma","isDisplayName","getFiltersProp","repeaterType","isUpdate","Boolean","watch","display","JsonTree","SingleItem","ArrayItem","SelectorItem","DateItem","ObjectItem","selectSchema","icon","title","description","getSelectedSchema","conditions","postConditions","directives","rawName","domProps","composing","getSchemaName","Article","FAQPage","Product","Recipe","Breadcrumbs","formValues","_m","custom","_f","CustomItem","getConditionsValue","$set","getConditionsValueIds","currentConditions","handler","deep","getConditionsResult","displayIds","startsWith","ids","condition","setConditions","conditionsList","FormBuilder","JsonBuilder","Conditions","componentKey","schemaExist","getInnerJson","$refs","jsonTemplate","$el","innerText","getAjaxSchemaSettings","post_id","security","displayJsonTemplate","needle","showOnChange","show","updateObject","updateItem","updateProperties","buildFromConfig","defaultConfigString","event","itemWalker","updated","$nextTick","setTimeout","wp","root","beforeDestroy","VCard","VCardText","VCardTitle","VContainer","VListItem","VListItemContent","VList","VListItemTitle","VMain"],"mappings":"aACE,SAASA,EAAqBC,GAQ7B,IAPA,IAMIC,EAAUC,EANVC,EAAWH,EAAK,GAChBI,EAAcJ,EAAK,GACnBK,EAAiBL,EAAK,GAIHM,EAAI,EAAGC,EAAW,GACpCD,EAAIH,EAASK,OAAQF,IACzBJ,EAAUC,EAASG,GAChBG,OAAOC,UAAUC,eAAeC,KAAKC,EAAiBX,IAAYW,EAAgBX,IACpFK,EAASO,KAAKD,EAAgBX,GAAS,IAExCW,EAAgBX,GAAW,EAE5B,IAAID,KAAYG,EACZK,OAAOC,UAAUC,eAAeC,KAAKR,EAAaH,KACpDc,EAAQd,GAAYG,EAAYH,IAG/Be,GAAqBA,EAAoBhB,GAE5C,MAAMO,EAASC,OACdD,EAASU,OAATV,GAOD,OAHAW,EAAgBJ,KAAKK,MAAMD,EAAiBb,GAAkB,IAGvDe,IAER,SAASA,IAER,IADA,IAAIC,EACIf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5N,OAAA,KAAK6N,cAAA,KAAW5N,SAAA,KAAM6N,aAAA,KAAUC,iBAAAC,GAAA,KAAiBC,eAAAD,GAAA,KAAeE,SAAA,KAAMhO,OAAA,KAAKsB,UAAA,Q","file":"js/app.js","sourcesContent":[" \t// install a JSONP callback for chunk loading\n \tfunction webpackJsonpCallback(data) {\n \t\tvar chunkIds = data[0];\n \t\tvar moreModules = data[1];\n \t\tvar executeModules = data[2];\n\n \t\t// add \"moreModules\" to the modules object,\n \t\t// then flag all \"chunkIds\" as loaded and fire callback\n \t\tvar moduleId, chunkId, i = 0, resolves = [];\n \t\tfor(;i < chunkIds.length; i++) {\n \t\t\tchunkId = chunkIds[i];\n \t\t\tif(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) {\n \t\t\t\tresolves.push(installedChunks[chunkId][0]);\n \t\t\t}\n \t\t\tinstalledChunks[chunkId] = 0;\n \t\t}\n \t\tfor(moduleId in moreModules) {\n \t\t\tif(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {\n \t\t\t\tmodules[moduleId] = moreModules[moduleId];\n \t\t\t}\n \t\t}\n \t\tif(parentJsonpFunction) parentJsonpFunction(data);\n\n \t\twhile(resolves.length) {\n \t\t\tresolves.shift()();\n \t\t}\n\n \t\t// add entry modules from loaded chunk to deferred list\n \t\tdeferredModules.push.apply(deferredModules, executeModules || []);\n\n \t\t// run deferred modules when all chunks ready\n \t\treturn checkDeferredModules();\n \t};\n \tfunction checkDeferredModules() {\n \t\tvar result;\n \t\tfor(var i = 0; i < deferredModules.length; i++) {\n \t\t\tvar deferredModule = deferredModules[i];\n \t\t\tvar fulfilled = true;\n \t\t\tfor(var j = 1; j < deferredModule.length; j++) {\n \t\t\t\tvar depId = deferredModule[j];\n \t\t\t\tif(installedChunks[depId] !== 0) fulfilled = false;\n \t\t\t}\n \t\t\tif(fulfilled) {\n \t\t\t\tdeferredModules.splice(i--, 1);\n \t\t\t\tresult = __webpack_require__(__webpack_require__.s = deferredModule[0]);\n \t\t\t}\n \t\t}\n\n \t\treturn result;\n \t}\n\n \t// The module cache\n \tvar installedModules = {};\n\n \t// object to store loaded and loading chunks\n \t// undefined = chunk not loaded, null = chunk preloaded/prefetched\n \t// Promise = chunk loading, 0 = chunk loaded\n \tvar installedChunks = {\n \t\t\"app\": 0\n \t};\n\n \tvar deferredModules = [];\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"/\";\n\n \tvar jsonpArray = window[\"webpackJsonp\"] = window[\"webpackJsonp\"] || [];\n \tvar oldJsonpFunction = jsonpArray.push.bind(jsonpArray);\n \tjsonpArray.push = webpackJsonpCallback;\n \tjsonpArray = jsonpArray.slice();\n \tfor(var i = 0; i < jsonpArray.length; i++) webpackJsonpCallback(jsonpArray[i]);\n \tvar parentJsonpFunction = oldJsonpFunction;\n\n\n \t// add entry module to deferred list\n \tdeferredModules.push([0,\"chunk-vendors\"]);\n \t// run deferred modules when ready\n \treturn checkDeferredModules();\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.node.render)?_c('v-col',{class:_vm.classes,attrs:{\"cols\":_vm.cols}},[(_vm.node.children && 'object' === typeof _vm.node.children)?_c('v-row',_vm._l((_vm.node.children),function(value,key,index){return _c('node',{key:key,attrs:{\"index\":index,\"type\":key,\"node\":value}})}),1):_c('div',[(_vm.node.render)?_c(_vm.node.formComponent,{tag:\"component\",attrs:{\"name\":_vm.type,\"updateKey\":_vm.type,\"vuetifyProps\":_vm.getCustomProps(_vm.node),\"componentProps\":_vm.node}}):_vm._e()],1)],1):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.componentProps.render)?_c('v-text-field',_vm._b({attrs:{\"label\":_vm.componentProps.placeholder,\"counter\":_vm.counter,\"counter-value\":_vm.printCounterValue,\"error-messages\":_vm.displayErrors(_vm.componentProps.validation, _vm.$v.getCurrentValue)},on:{\"blur\":function($event){return _vm.validateInput(_vm.$v)},\"input\":function($event){return _vm.updateField(_vm.updateKey, $event)}},model:{value:(_vm.getCurrentValue),callback:function ($$v) {_vm.getCurrentValue=$$v},expression:\"getCurrentValue\"}},'v-text-field',_vm.vuetifyProps,false)):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import Vue from 'vue'\nimport Vuelidate from \"vuelidate\";\n\nimport {required, maxLength, url, numeric, minValue, maxValue} from 'vuelidate/lib/validators'\n\nconst isJson = (string) => {\n try {\n JSON.parse(string)\n return true\n } catch (e) {\n return false\n }\n}\n\nVue.use(Vuelidate)\n\nexport default {\n data() {\n return {\n messages: {\n required: 'This field is required',\n maxLength: 'Too long field',\n url: 'Invalid URL',\n minValue: '',\n maxValue: '',\n numeric: 'Number is required',\n isJson: 'The input value not in json format'\n },\n counter: '',\n }\n },\n methods: {\n printCounterValue() {\n if (this.counter !== '') {\n return this.currentValue.length\n }\n },\n displayErrors(validation, field, rating = false) {\n let errorMessages = []\n if (validation !== undefined) {\n for (const [key, value] of Object.entries(validation)) {\n if (field.$dirty && field.$invalid && !field[key]) {\n errorMessages.push(this.messages[key])\n }\n }\n }\n return errorMessages\n },\n validateInput($v) {\n $v.$touch()\n return\n },\n createValidatorsObject(items) {\n let Validators = {}\n\n if (items === undefined || Object.keys(items).length === 0) {\n return Validators\n }\n\n if (items.required) {\n Validators['required'] = required\n }\n\n if (items.maxLength > 0) {\n Validators['maxLength'] = maxLength(items['maxLength'])\n }\n\n if (items.url) {\n Validators['url'] = url\n }\n\n if (items.minValue > 0) {\n Validators['minValue'] = minValue(items['minValue'])\n }\n\n if (items.maxValue > 0) {\n Validators['maxValue'] = maxValue(items['maxValue'])\n }\n\n if (items.numeric) {\n Validators['numeric'] = numeric\n }\n\n if (items.isJson) {\n Validators['isJson'] = isJsone\n }\n\n return Validators\n }\n },\n mounted() {\n if (this.validation !== undefined && this.validation.maxLength !== undefined) {\n this.counter = this.validation.maxLength\n }\n }\n}\n","export default {\n props: {\n componentProps: {\n type: Object,\n default() {\n return {\n placeholder: '',\n validation: {},\n value: ''\n }\n }\n },\n name: {\n type: [String, Number],\n required: false\n },\n vuetifyProps: {\n type: Object,\n default() {\n return {}\n }\n }\n }\n}\n","import functions from \"@/mixins/functions\";\nimport {mapActions, mapGetters} from \"vuex\";\n\nexport default {\n mixins: [functions],\n data() {\n return {\n rating: {\n type: Object,\n default() {\n return {\n ratingValue: null,\n ratingCount: null,\n reviewCount: null,\n worstResult: null,\n bestResult: null,\n }\n }\n }\n }\n },\n methods: {\n ...mapActions(['setRatingResult', 'setWorstResult', 'setBestResult']),\n ...mapGetters(['getRating']),\n calculateRating(field, value) {\n if ('' !== value) {\n value = parseInt(value)\n }\n switch (field) {\n case 'aggregateRating.ratingValue':\n this.setRating(value)\n break;\n case 'aggregateRating.worstRating':\n this.setWorst(value)\n break;\n case 'aggregateRating.bestRating':\n this.setBest(value)\n break;\n default:\n break;\n\n }\n },\n setRating(value) {\n this.setRatingResult(value)\n },\n setWorst(value) {\n this.setWorstResult(value)\n },\n setBest(value) {\n this.setBestResult(value)\n }\n },\n mounted() {\n this.rating = this.getRating()\n }\n}\n","<template>\n <div>\n <v-text-field\n v-model=\"getCurrentValue\"\n v-if=\"componentProps.render\"\n :label=\"componentProps.placeholder\"\n @blur=\"validateInput($v)\"\n @input=\"updateField(updateKey, $event)\"\n :counter=\"counter\"\n :counter-value=\"printCounterValue\"\n :error-messages=\"displayErrors(componentProps.validation, $v.getCurrentValue)\"\n v-bind=\"vuetifyProps\"\n ></v-text-field>\n </div>\n</template>\n\n<script>\n\nimport validation from \"@/mixins/validation\";\nimport formProps from \"@/mixins/form-props\";\nimport rating from \"@/mixins/rating\";\nimport {mapGetters} from 'vuex'\nimport {schemaEmitter} from \"@/main\";\n\nexport default {\n mixins: [validation, formProps, rating],\n props: {\n updateKey: {\n type: [String, Array, Number],\n required: true\n }\n },\n data() {\n return {\n currentValue: '',\n }\n },\n methods: {\n ...mapGetters(['getSchemaType', 'getReviews']),\n updateField(field, value) {\n this.validateInput(this.$v)\n this.calculateRating(field, value)\n schemaEmitter.$emit('input', field, value)\n this.setRatingValues(field, value)\n this.calculateValue()\n this.duplicateValues(value)\n },\n setRatingValues(field, value) {\n let reviewsKeys = Object.keys(this.getReviews())\n reviewsKeys.forEach((key) => {\n if ('aggregateRating.bestRating' === field) {\n schemaEmitter.$emit('input', `review.${key}.reviewRating.bestRating`, value)\n schemaEmitter.$emit('input', `review.${key}.reviewRating.ratingValue`, {\n validation: {\n maxValue: value\n }\n })\n }\n if ('aggregateRating.worstRating' === field) {\n schemaEmitter.$emit('input', `review.${key}.reviewRating.worstRating`, value)\n schemaEmitter.$emit('input', `review.${key}.reviewRating.ratingValue`, {\n validation: {\n minValue: value\n }\n })\n }\n })\n },\n calculateValue() {\n if (this.componentProps.hasOwnProperty('calculateValue')) {\n let total = 0;\n let source = this.getSchemaType()\n let objectList = this.componentProps.calculateValue\n for (let item in objectList.from) {\n if (objectList.from.hasOwnProperty(item)) {\n let object = this.findVal(source, objectList.from[item])\n if ('' !== object.value) {\n total += parseInt(object.value)\n }\n }\n for (let item in objectList.to) {\n if (objectList.to.hasOwnProperty(item)) {\n let r = total > 0 ? total : ''\n schemaEmitter.$emit('input', objectList.to[item], r)\n }\n }\n }\n }\n }\n },\n mounted() {\n this.calculateRating(this.updateKey, this.getCurrentValue)\n },\n validations() {\n return {\n getCurrentValue: this.validators\n }\n },\n computed: {\n validators: {\n get() {\n return this.createValidatorsObject(this.componentProps.validation)\n },\n set(value) {\n return value\n }\n },\n getCurrentValue: {\n get() {\n return this.componentProps.value ?? 'adasdasd'\n },\n set(value) {\n return value\n }\n }\n }\n}\n</script>\n\n<style scoped>\n\n</style>\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Input.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Input.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Input.vue?vue&type=template&id=53a66dd1&scoped=true&\"\nimport script from \"./Input.vue?vue&type=script&lang=js&\"\nexport * from \"./Input.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"53a66dd1\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VTextField } from 'vuetify/lib/components/VTextField';\ninstallComponents(component, {VTextField})\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',_vm._l((_vm.getCurrentValue),function(item,key){return _c('div',{key:key,staticClass:\"repeater-items row\"},[_vm._l((item),function(el,k){return (!_vm.componentProps.hide)?_c('form-tree',{key:k,attrs:{\"index\":key,\"type\":k,\"node\":el}}):_vm._e()}),_c('v-row',[_c('v-col',{attrs:{\"cols\":\"6\"}},[_c('v-btn',{attrs:{\"small\":\"\",\"color\":\"primary\"},on:{\"click\":function($event){return _vm.addItem(key, _vm.componentProps.name)}}},[_c('v-icon',{attrs:{\"small\":\"\"}},[_vm._v(\" mdi-plus \")]),_vm._v(\" \"+_vm._s(_vm.componentProps.buttonTitle)+\" \")],1)],1),_c('v-col',{attrs:{\"cols\":\"6\"}},[_c('v-btn',{attrs:{\"small\":\"\",\"color\":\"error\",\"disabled\":_vm.disableButton},on:{\"click\":function($event){return _vm.deleteItem(key)}}},[_vm._v(\"Delete\")])],1)],1)],2)}),0)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <div>\n <div class=\"repeater-items row\" v-for=\"(item, key) in getCurrentValue\" :key=\"key\">\n <form-tree v-if=\"!componentProps.hide\" v-for=\"(el, k) in item\" :index=\"key\" :key=\"k\" :type=\"k\"\n :node=\"el\"></form-tree>\n <v-row>\n <v-col cols=\"6\">\n <v-btn small color=\"primary\" @click=\"addItem(key, componentProps.name)\">\n <v-icon small>\n mdi-plus\n </v-icon>\n {{ componentProps.buttonTitle }}\n </v-btn>\n </v-col>\n <v-col cols=\"6\">\n <v-btn small color=\"error\" @click=\"deleteItem(key)\" :disabled=\"disableButton\">Delete</v-btn>\n </v-col>\n </v-row>\n </div>\n </div>\n</template>\n\n<script>\nimport {schemaEmitter} from '@/main'\nimport {mapActions, mapGetters} from 'vuex'\nimport formProps from \"@/mixins/form-props\";\nimport functions from \"@/mixins/functions\";\nimport validation from \"@/mixins/validation\";\n\nexport default {\n mixins: [validation, formProps, functions],\n data() {\n return {\n currentValue: String,\n }\n },\n components: {\n FormTree: () => import(\"@/FormElements/FormTree\")\n },\n methods: {\n ...mapActions(['setReviewRating', 'updateReviewRating']),\n ...mapGetters(['getReviews', 'getRating', 'getDefaultData']),\n addItem(key, name) {\n let properties = {}\n if (this.componentProps.value.length === 1 && this.componentProps.hide) {\n properties['hide'] = false\n if ('review' === this.name || 'recipeInstructions' === this.name) {\n properties['renderJson'] = true\n }\n schemaEmitter.$emit('input', this.name, properties)\n } else {\n let itemObject = JSON.parse(JSON.stringify(this.findVal(this.getDefaultData(), this.componentProps.name)))\n let item = itemObject.value.shift()\n let newItem = this.changeItemKey(item, key, name)\n this.componentProps.value.push(newItem)\n schemaEmitter.$emit('input', this.name, {\n value: this.componentProps.value\n })\n }\n this.updateReviews()\n this.updateBreadcrumbs(this.componentProps.value)\n this.duplicateValues(this.componentProps.value)\n },\n deleteItem(id) {\n let properties = {}\n if (this.componentProps.value.length === 1 && this.componentProps.hide === false) {\n properties['hide'] = true\n if ('review' === this.name || 'recipeInstructions' === this.name) {\n properties['renderJson'] = false\n }\n schemaEmitter.$emit('input', this.name, properties)\n schemaEmitter.$emit('input', 'review.0.reviewRating.ratingValue', '')\n this.setReviewRating({\n 0: \"\"\n })\n this.updateRatingValues('')\n }\n if (this.componentProps.value.length > 1) {\n this.componentProps.value.splice(id, 1)\n schemaEmitter.$emit('input', this.name, {\n value: this.componentProps.value\n })\n }\n this.updateReviews()\n this.updateBreadcrumbs(this.componentProps.value)\n this.duplicateValues(this.componentProps.value)\n\n },\n changeItemKey(item, key, name) {\n let arrayKey = Object.keys(item).shift().split('.')\n arrayKey.splice(-1, 1)\n let id = arrayKey.join('.')\n let uuid = Math.random().toString(16).slice(2)\n let newKey = `${name}.${uuid}`\n let objectString = JSON.stringify(item)\n let exp = new RegExp(`\"${id}`, 'g')\n let newObject = objectString.replace(exp, `\"${newKey}`)\n newObject = newObject.replace(/\"uuid\":\"(.+?)\",/gm, `\"uuid\":\"${uuid}\",`)\n\n return JSON.parse(newObject)\n },\n updateReviews() {\n if ('review' === this.name && undefined !== this.getCurrentValue) {\n let reviewObject = {}\n this.getCurrentValue.forEach((item, index) => {\n let exp = new RegExp('.reviewRating.ratingValue$', 'g')\n let resultItem = this.findVal(item, exp, true)\n reviewObject[resultItem.uuid] = resultItem.value\n })\n this.setReviewRating(reviewObject)\n let rating = this.getRating()\n schemaEmitter.$emit('input', 'aggregateRating.ratingValue', rating.ratingValue)\n schemaEmitter.$emit('input', 'aggregateRating.ratingCount', rating.ratingCount)\n schemaEmitter.$emit('input', 'aggregateRating.reviewCount', rating.reviewCount)\n }\n },\n updateBreadcrumbs(items) {\n if ('itemListElement' === this.name) {\n items.forEach(function (item, i) {\n let keys = Object.keys(item)\n let positionKey = keys.filter(el => el.endsWith('.position')).shift()\n let index = i + 1\n schemaEmitter.$emit('input', positionKey, index)\n })\n }\n },\n },\n validations() {\n return {\n getCurrentValue: this.validators\n }\n },\n mounted() {\n this.updateReviews()\n },\n computed: {\n validators: {\n get() {\n return this.createValidatorsObject(this.componentProps.validation)\n },\n set(value) {\n return value\n }\n },\n getCurrentValue: {\n get() {\n this.validateInput(this.$v)\n this.duplicateValues(this.componentProps.value)\n return this.componentProps.value\n },\n set(value) {\n return value\n }\n },\n disableButton: function () {\n if (this.componentProps.hasOwnProperty('hide')) {\n return !!(this.componentProps.value.length === 1 && this.componentProps.hide);\n } else {\n return this.componentProps.value.length <= 1;\n }\n }\n }\n}\n</script>\n\n<style scoped>\n\n</style>\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Repeater.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Repeater.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Repeater.vue?vue&type=template&id=f1bcc2e0&scoped=true&\"\nimport script from \"./Repeater.vue?vue&type=script&lang=js&\"\nexport * from \"./Repeater.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"f1bcc2e0\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VRow } from 'vuetify/lib/components/VGrid';\ninstallComponents(component, {VBtn,VCol,VIcon,VRow})\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('v-select',_vm._b({attrs:{\"items\":_vm.componentProps.value,\"item-text\":\"value\",\"item-value\":\"value\",\"attach\":\"\",\"label\":_vm.componentProps.placeholder},on:{\"change\":function($event){_vm.updateField(_vm.updateKey, _vm.getSelectedObject($event, _vm.componentProps.value))}},model:{value:(_vm.selected),callback:function ($$v) {_vm.selected=$$v},expression:\"selected\"}},'v-select',_vm.vuetifyProps,false))],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <div>\n <v-select\n v-model=\"selected\"\n :items=\"componentProps.value\"\n item-text=\"value\"\n item-value=\"value\"\n attach=\"\"\n :label=\"componentProps.placeholder\"\n @change=\"updateField(updateKey, getSelectedObject($event, componentProps.value))\"\n v-bind=\"vuetifyProps\"\n ></v-select>\n </div>\n</template>\n\n<script>\n\nimport {mapGetters, mapActions, mapMutations} from 'vuex'\nimport {schemaEmitter} from \"@/main\";\nimport Schema from \"@//components/Schema\"\nimport formProps from '@/mixins/form-props'\nimport functions from \"@/mixins/functions\";\n\nexport default {\n mixins: [formProps, functions],\n props: ['name', 'placeholder', 'fieldValues', 'validation', 'updateKey', 'schemas_type'],\n components: {\n Schema\n },\n data() {\n return {\n selected: '',\n dropdown_texts: [],\n dropdown_values: [],\n schemas: this.schemas_type,\n result: '',\n }\n },\n methods: {\n ...mapActions(['run']),\n ...mapMutations(['updateProperty']),\n updateField(field, value) {\n schemaEmitter.$emit('input', field, {\n value: value\n })\n this.changeView()\n },\n changeView() {\n if (!this.getSchemaType.hasOwnProperty('offers')) {\n return\n }\n if ('undefined' === typeof this.componentProps.changeView || false === this.componentProps.changeView) {\n return\n }\n let offer = this.getSchemaType.offers.children\n for (const property in this.getSchemaType.offers.children) {\n for (const i in offer[property]) {\n if (i === \"showOnSelect\") {\n if (this.selected === offer[property][i]['value']) {\n schemaEmitter.$emit('input', property, {\n render: true,\n renderJson: offer[property][i]['show']['renderJson']\n })\n } else {\n schemaEmitter.$emit('input', property, {\n render: false,\n renderJson: offer[property][i]['hide']['renderJson'],\n value: this.setEmptyValue(offer[property]['value'])\n })\n }\n }\n }\n }\n this.updateProperty(['schemaType', this.getSchemaType])\n },\n getSelectedObject(value, fields) {\n let index = fields.findIndex((i) => {\n return value === i.value\n })\n for (let key in fields) {\n if (parseInt(key) === index) {\n fields[key].selected = true\n } else {\n fields[key].selected = false\n }\n }\n\n return fields\n },\n getSelectedValue() {\n let selected_index = this.componentProps.value.findIndex(function (i) {\n return i.selected\n })\n return this.componentProps.value[selected_index]\n },\n getDropDownText() {\n return this.componentProps.value.map(function (item) {\n return item.value\n })\n },\n getDropDownValues() {\n let result = []\n let keys = this.componentProps.value.keys()\n for (let key of keys) {\n result.push(key)\n }\n\n return result\n }\n },\n validations() {\n return {\n selected: this.validators\n }\n },\n mounted() {\n this.selected = this.getSelectedValue()\n // this.dropdown_texts = this.getDropDownText()\n // this.dropdown_values = this.getDropDownValues()\n },\n computed: {\n ...mapGetters([\"getJsonType\", \"getSchemaType\", \"getSourceType\"]),\n getSelectedItem: function () {\n return this.componentProps.value.findIndex(function (i) {\n return i.selected\n })\n }\n },\n // watch: {\n // selected: {\n // handler: 'changeView'\n // },\n // },\n\n}\n</script>\n\n<style scoped>\n\n</style>\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Selector.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Selector.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Selector.vue?vue&type=template&id=567bb4d8&scoped=true&\"\nimport script from \"./Selector.vue?vue&type=script&lang=js&\"\nexport * from \"./Selector.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"567bb4d8\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VSelect } from 'vuetify/lib/components/VSelect';\ninstallComponents(component, {VSelect})\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('v-menu',{attrs:{\"close-on-content-click\":false,\"nudge-right\":40,\"transition\":\"scale-transition\",\"offset-y\":\"\",\"attach\":\"\",\"min-width\":\"290px\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nvar attrs = ref.attrs;\nreturn [_c('v-text-field',_vm._g(_vm._b({attrs:{\"label\":_vm.componentProps.placeholder,\"prepend-icon\":\"event\",\"vuetifyProps\":_vm.vuetifyProps},model:{value:(_vm.getCurrentValue),callback:function ($$v) {_vm.getCurrentValue=$$v},expression:\"getCurrentValue\"}},'v-text-field',attrs,false),on))]}}]),model:{value:(_vm.menu2),callback:function ($$v) {_vm.menu2=$$v},expression:\"menu2\"}},[_c('v-date-picker',{on:{\"change\":function($event){_vm.menu2 = false},\"input\":function($event){return _vm.updateField(_vm.updateKey, $event)}},model:{value:(_vm.getCurrentValue),callback:function ($$v) {_vm.getCurrentValue=$$v},expression:\"getCurrentValue\"}})],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <div>\n <v-menu\n v-model=\"menu2\"\n :close-on-content-click=\"false\"\n :nudge-right=\"40\"\n transition=\"scale-transition\"\n offset-y\n attach=\"\"\n min-width=\"290px\"\n >\n <template v-slot:activator=\"{ on, attrs }\">\n <v-text-field\n v-model=\"getCurrentValue\"\n :label=\"componentProps.placeholder\"\n prepend-icon=\"event\"\n v-bind=\"attrs\"\n v-on=\"on\"\n :vuetifyProps=\"vuetifyProps\"\n ></v-text-field>\n </template>\n <v-date-picker v-model=\"getCurrentValue\" @change=\"menu2 = false\"\n @input=\"updateField(updateKey, $event)\"></v-date-picker>\n </v-menu>\n </div>\n</template>\n\n<script>\nimport {schemaEmitter} from \"@/main\";\nimport formProps from \"@/mixins/form-props\";\nimport functions from \"@/mixins/functions\";\n\nexport default {\n mixins: [formProps, functions],\n props: {\n updateKey: {\n type: [String, Array],\n required: true\n }\n },\n data: () => ({\n currentValue: new Date().toISOString().substr(0, 10),\n menu: false,\n modal: false,\n menu2: false,\n validators: {}\n }),\n methods: {\n updateField(field, value) {\n schemaEmitter.$emit('input', field, value)\n this.duplicateValues(value)\n }\n },\n mounted() {\n this.updateField(this.updateKey, this.getCurrentValue)\n },\n computed: {\n getCurrentValue: {\n get() {\n return this.componentProps.value ?? new Date().toISOString().substr(0, 10)\n },\n set(value) {\n return value\n }\n }\n }\n}\n</script>\n\n<style scoped>\n\n</style>\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DatePicker.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DatePicker.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./DatePicker.vue?vue&type=template&id=f3321252&scoped=true&\"\nimport script from \"./DatePicker.vue?vue&type=script&lang=js&\"\nexport * from \"./DatePicker.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"f3321252\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VDatePicker } from 'vuetify/lib/components/VDatePicker';\nimport { VMenu } from 'vuetify/lib/components/VMenu';\nimport { VTextField } from 'vuetify/lib/components/VTextField';\ninstallComponents(component, {VDatePicker,VMenu,VTextField})\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('v-textarea',{attrs:{\"label\":_vm.componentProps.placeholder,\"full-width\":_vm.fullWidth,\"counter\":_vm.counter,\"counter-value\":_vm.printCounterValue,\"error-messages\":_vm.displayErrors(_vm.componentProps.validation, _vm.$v.currentValue)},on:{\"input\":function($event){return _vm.updateField(_vm.updateKey, $event)},\"change\":function($event){return _vm.validateInput(_vm.$v)}},model:{value:(_vm.currentValue),callback:function ($$v) {_vm.currentValue=$$v},expression:\"currentValue\"}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <div>\n <v-textarea\n v-model=\"currentValue\"\n :label=\"componentProps.placeholder\"\n @input=\"updateField(updateKey, $event)\"\n @change=\"validateInput($v)\"\n :full-width=\"fullWidth\"\n :counter=\"counter\"\n :counter-value=\"printCounterValue\"\n :error-messages=\"displayErrors(componentProps.validation, $v.currentValue)\"\n ></v-textarea>\n </div>\n</template>\n\n<script>\n\nimport validation from \"@/mixins/validation\";\nimport formProps from \"@/mixins/form-props\";\nimport {schemaEmitter} from \"@/main\";\nimport functions from \"@/mixins/functions\";\n\nexport default {\n mixins: [validation, formProps, functions],\n props: {\n updateKey: {\n type: [String, Array],\n required: true\n },\n },\n data() {\n return {\n currentValue: '',\n validators: {},\n fullWidth: true\n }\n },\n methods: {\n updateField(field, value) {\n schemaEmitter.$emit('input', field, value)\n this.duplicateValues(value)\n }\n },\n validations() {\n return {\n currentValue: this.validators\n }\n },\n mounted() {\n this.validators = this.createValidatorsObject(this.componentProps.validation)\n this.currentValue = this.componentProps.value\n }\n}\n</script>\n\n<style scoped>\n\n</style>\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TextArea.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TextArea.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TextArea.vue?vue&type=template&id=2841bf26&scoped=true&\"\nimport script from \"./TextArea.vue?vue&type=script&lang=js&\"\nexport * from \"./TextArea.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"2841bf26\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VTextarea } from 'vuetify/lib/components/VTextarea';\ninstallComponents(component, {VTextarea})\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('v-text-field',_vm._b({attrs:{\"label\":_vm.componentProps.placeholder,\"counter\":_vm.counter,\"counter-value\":_vm.printCounterValue,\"error-messages\":_vm.displayErrors(_vm.componentProps.validation, _vm.$v.getCurrentValue)},on:{\"input\":function($event){return _vm.updateField(_vm.updateKey, $event)}},model:{value:(_vm.getCurrentValue),callback:function ($$v) {_vm.getCurrentValue=$$v},expression:\"getCurrentValue\"}},'v-text-field',_vm.vuetifyProps,false))],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <div>\n <v-text-field\n v-model=\"getCurrentValue\"\n :label=\"componentProps.placeholder\"\n @input=\"updateField(updateKey, $event)\"\n :counter=\"counter\"\n :counter-value=\"printCounterValue\"\n :error-messages=\"displayErrors(componentProps.validation, $v.getCurrentValue)\"\n v-bind=\"vuetifyProps\"\n ></v-text-field>\n </div>\n</template>\n\n<script>\n\nimport validation from \"@/mixins/validation\";\nimport formProps from \"@/mixins/form-props\";\nimport rating from \"@/mixins/rating\";\nimport {mapActions, mapGetters} from 'vuex'\nimport {schemaEmitter} from \"@/main\";\n\nexport default {\n mixins: [validation, formProps, rating],\n props: {\n updateKey: {\n type: [String, Array],\n required: true\n }\n },\n methods: {\n ...mapGetters(['getRating', 'getReviews']),\n ...mapActions(['updateReviewRating']),\n updateField(field, value) {\n let index = field.split('.')[1]\n if (undefined !== index) {\n this.updateReviewRating({\n number: index,\n value: value\n })\n }\n schemaEmitter.$emit('input', field, value)\n this.updateRatingValues(value)\n }\n },\n validations() {\n return {\n getCurrentValue: this.validators\n }\n },\n computed: {\n validators: {\n get() {\n return this.createValidatorsObject(this.componentProps.validation)\n },\n set(value) {\n return value\n }\n },\n getCurrentValue: {\n get() {\n this.validateInput(this.$v)\n return this.componentProps.value ?? parseInt(this.componentProps.value)\n },\n set(value) {\n return value\n }\n }\n }\n}\n</script>\n\n<style scoped>\n\n</style>\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ReviewRating.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ReviewRating.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./ReviewRating.vue?vue&type=template&id=36e7678f&scoped=true&\"\nimport script from \"./ReviewRating.vue?vue&type=script&lang=js&\"\nexport * from \"./ReviewRating.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"36e7678f\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VTextField } from 'vuetify/lib/components/VTextField';\ninstallComponents(component, {VTextField})\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('v-textarea',{attrs:{\"label\":_vm.componentProps.placeholder,\"full-width\":_vm.fullWidth,\"counter\":_vm.counter,\"counter-value\":_vm.printCounterValue,\"error-messages\":_vm.displayErrors(_vm.componentProps.validation, _vm.$v.currentValue)},on:{\"input\":function($event){return _vm.updateField(_vm.updateKey, $event)},\"change\":function($event){return _vm.validateInput(_vm.$v)}},model:{value:(_vm.currentValue),callback:function ($$v) {_vm.currentValue=$$v},expression:\"currentValue\"}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <div>\n <v-textarea\n v-model=\"currentValue\"\n :label=\"componentProps.placeholder\"\n @input=\"updateField(updateKey, $event)\"\n @change=\"validateInput($v)\"\n :full-width=\"fullWidth\"\n :counter=\"counter\"\n :counter-value=\"printCounterValue\"\n :error-messages=\"displayErrors(componentProps.validation, $v.currentValue)\"\n ></v-textarea>\n </div>\n</template>\n\n<script>\n\nimport validation from \"@/mixins/validation\";\nimport formProps from \"@/mixins/form-props\";\nimport {schemaEmitter} from \"@/main\";\nimport functions from \"@/mixins/functions\";\n\nexport default {\n mixins: [validation, formProps, functions],\n props: {\n updateKey: {\n type: [String, Array],\n required: true\n },\n },\n data() {\n return {\n currentValue: '',\n validators: {},\n fullWidth: true\n }\n },\n methods: {\n updateField(field, value) {\n schemaEmitter.$emit('input', field, value)\n }\n },\n validations() {\n return {\n currentValue: this.validators\n }\n },\n mounted() {\n this.validators = this.createValidatorsObject(this.componentProps.validation)\n if( this.componentProps.value ) {\n this.currentValue = JSON.stringify(this.componentProps.value)\n }\n }\n}\n</script>\n\n<style scoped>\n\n</style>\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Custom.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Custom.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Custom.vue?vue&type=template&id=530dda9f&scoped=true&\"\nimport script from \"./Custom.vue?vue&type=script&lang=js&\"\nexport * from \"./Custom.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"530dda9f\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VTextarea } from 'vuetify/lib/components/VTextarea';\ninstallComponents(component, {VTextarea})\n","import {schemaEmitter} from \"@/main\";\n\nexport default {\n data() {\n return {\n cols: 12,\n classes: ''\n }\n },\n mounted() {\n if (this.node.styles.cols !== undefined) {\n this.cols = this.node.styles.cols\n }\n if( this.node.styles.classes !== undefined ) {\n this.classes = this.node.styles.classes\n }\n }\n}\n","<template>\n <v-col :class=\"classes\" :cols=\"cols\" v-if=\"node.render\">\n <v-row v-if=\"node.children && 'object' === typeof node.children\">\n <node v-for=\"(value, key, index) in node.children\" :index=\"index\" :key=\"key\" :type=\"key\" :node=\"value\"></node>\n </v-row>\n <div v-else>\n <component\n v-if=\"node.render\"\n :is=\"node.formComponent\"\n :name=\"type\"\n :updateKey=\"type\"\n :vuetifyProps=\"getCustomProps(node)\"\n :componentProps=\"node\"\n ></component>\n </div>\n </v-col>\n</template>\n\n<script>\nimport Input from \"@/FormElements/Input\";\nimport Repeater from \"@/FormElements/Repeater\";\nimport Selector from \"@/FormElements/Selector\";\nimport DatePicker from \"@/FormElements/DatePicker\";\nimport TextArea from \"@/FormElements/TextArea\";\nimport ReviewRating from \"@/FormElements/ReviewRating\";\nimport Custom from \"@/FormElements/Custom\";\nimport styles from \"@/mixins/styles\";\n\nexport default {\n mixins: [styles],\n name: \"node\",\n props: {\n node: Object,\n type: [String, Number],\n index: Number\n },\n components: {\n Input,\n Selector,\n Repeater,\n DatePicker,\n TextArea,\n ReviewRating,\n Custom\n },\n methods: {\n getCustomProps(node) {\n return node.vuetifyProps !== undefined ? node.vuetifyProps : {}\n }\n },\n computed: {\n changeChildType() {\n return this.type.split('.').pop()\n }\n },\n mounted() {\n }\n}\n</script>\n\n<style scoped>\n.ptb-0 {\n padding-top: 0;\n padding-bottom: 0;\n}\n</style>\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FormTree.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FormTree.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./FormTree.vue?vue&type=template&id=a9df98ac&scoped=true&\"\nimport script from \"./FormTree.vue?vue&type=script&lang=js&\"\nexport * from \"./FormTree.vue?vue&type=script&lang=js&\"\nimport style0 from \"./FormTree.vue?vue&type=style&index=0&id=a9df98ac&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"a9df98ac\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VRow } from 'vuetify/lib/components/VGrid';\ninstallComponents(component, {VCol,VRow})\n","export default {\n filters: {\n beforeText: function (string, textBefore = '') {\n return `${textBefore}${string}`\n },\n afterText: function (string, textAfter = '') {\n return `${string}${textAfter}`\n },\n toMinutes: function (string) {\n return `PT${string}M`\n },\n clearSymbols: function (string, symbols) {\n symbols.forEach(symbol => {\n string = string.replaceAll(symbol, '')\n })\n return string\n },\n prettyJSON: function (string) {\n if (!string) {\n return ''\n }\n try {\n return JSON.stringify(string, null, 4)\n } catch (e) {\n return ''\n }\n }\n }\n}\n","export * from \"-!../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=style&index=0&lang=css&\"","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./JsonTree.vue?vue&type=style&index=0&id=516b3065&scoped=true&lang=css&\"","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Schema.vue?vue&type=style&index=0&lang=css&\"","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FormTree.vue?vue&type=style&index=0&id=a9df98ac&scoped=true&lang=css&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-app',{attrs:{\"id\":\"schema\"}},[_c('div',{attrs:{\"id\":\"app\"}},[_c('Schema',{attrs:{\"schemas_type\":_vm.schemasType}})],1)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <v-app id=\"schema\">\n <div id=\"app\">\n <Schema :schemas_type=\"schemasType\"/>\n </div>\n </v-app>\n</template>\n\n<script>\nimport Schema from \"./components/Schema\"\n\nexport default {\n name: 'App',\n data() {\n return {\n schemasType: [\n {\n title: \"Article\",\n description: '- NewsArticle, BlogPosting',\n icon: 'mdi-newspaper',\n },\n {\n title: \"Breadcrumbs\",\n description: '',\n icon: \"mdi-chevron-double-right\"\n },\n {\n title: \"FAQPage\",\n description: '',\n icon: \"mdi-help-circle-outline\"\n },\n {\n title: \"Product\",\n description: '- Offer, AggregateRating, Reviews',\n icon: \"mdi-tag-outline\"\n },\n {\n title: \"Recipe\",\n description: '',\n icon: \"mdi-chef-hat\"\n },\n {\n title: \"Custom\",\n description: '- Insert your own schema',\n icon: 'mdi-border-color'\n }\n ],\n }\n },\n components: {\n Schema\n }\n}\n</script>\n\n<style>\n\n#app {\n font-family: 'Avenir', Helvetica, Arial, sans-serif;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n text-align: center;\n color: #2c3e50;\n}\n\npre {\n text-align: left;\n}\n\n.test {\n margin-top: 50px;\n}\n\n.json-row {\n height: 15px;\n}\n\n.inner {\n margin-left: 5px;\n}\n\n.tag {\n color: #881280;\n}\n\n.attr {\n color: #994500;\n}\n\n.val {\n color: #1a1aa6;\n}\n\n#app input[type=checkbox],\n#app input[type=color],\n#app input[type=date],\n#app input[type=datetime-local],\n#app input[type=datetime],\n#app input[type=email],\n#app input[type=month],\n#app input[type=number],\n#app input[type=password],\n#app input[type=radio],\n#app input[type=search],\n#app input[type=tel],\n#app input[type=text],\n#app input[type=time],\n#app input[type=url],\n#app input[type=week],\n#app select,\n#app textarea,\n#app input[type=checkbox]:focus,\n#app input[type=color]:focus,\n#app input[type=date]:focus,\n#app input[type=datetime-local]:focus,\n#app input[type=datetime]:focus,\n#app input[type=email]:focus,\n#app input[type=month]:focus,\n#app input[type=number]:focus,\n#app input[type=password]:focus,\n#app input[type=radio]:focus,\n#app input[type=search]:focus,\n#app input[type=tel]:focus,\n#app input[type=text]:focus,\n#app input[type=time]:focus,\n#app input[type=url]:focus,\n#app input[type=week]:focus,\n#app select:focus,\n#app textarea:focus,\n#app input[readonly],\n#app textarea.readonly,\n#app textarea[readonly] {\n border: none;\n box-shadow: none;\n outline: none;\n transition: inherit;\n background-color: transparent;\n}\n#app input[readonly] {\n display: none;\n}\n</style>\n","import mod from \"-!../node_modules/cache-loader/dist/cjs.js??ref--12-0!../node_modules/thread-loader/dist/cjs.js!../node_modules/babel-loader/lib/index.js!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../node_modules/cache-loader/dist/cjs.js??ref--12-0!../node_modules/thread-loader/dist/cjs.js!../node_modules/babel-loader/lib/index.js!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./App.vue?vue&type=template&id=3ab913ec&\"\nimport script from \"./App.vue?vue&type=script&lang=js&\"\nexport * from \"./App.vue?vue&type=script&lang=js&\"\nimport style0 from \"./App.vue?vue&type=style&index=0&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VApp } from 'vuetify/lib/components/VApp';\ninstallComponents(component, {VApp})\n","import Vue from 'vue';\nimport Vuetify from 'vuetify/lib';\n\nVue.use(Vuetify);\n\nexport default new Vuetify({\n});\n","export default {\n state: {\n default: {},\n schemaType: {},\n jsonType: {},\n sourceType: {}\n },\n mutations: {\n updateDefault(state, data) {\n state['default'] = data\n },\n updateProperty(state, data) {\n state[data[0]] = data[1]\n },\n },\n actions: {\n setDefaultData: function ({commit}, data) {\n let object = JSON.parse(data.jsonString)\n commit('updateDefault', object[data.key])\n },\n run: function ({commit}, data) {\n if (data) {\n commit('updateProperty', ['schemaType', data])\n commit('updateProperty', ['jsonType', JSON.parse(JSON.stringify(data))])\n commit('updateProperty', ['sourceType', JSON.parse(JSON.stringify(data))])\n }\n }\n },\n getters: {\n getJsonType(state) {\n return state.jsonType;\n },\n getSchemaType(state) {\n return state.schemaType\n },\n getSourceType(state) {\n return state.sourceType\n },\n getDefaultData(state) {\n return state.default\n }\n }\n}","export default {\n state: {\n rating: {\n ratingValue: null,\n ratingCount: null,\n reviewCount: null,\n worstResult: null,\n bestResult: null,\n },\n reviews: {}\n },\n mutations: {\n updateReview(state, data) {\n state['reviews'][data.number] = data.value\n },\n setReview(state, data) {\n state['reviews'] = data\n },\n updateRating(state, data) {\n state['rating'] = data\n },\n },\n actions: {\n updateReviewRating({commit, dispatch}, review) {\n commit('updateReview', review)\n dispatch('calculateRating')\n },\n setReviewRating({commit, dispatch}, review) {\n commit('setReview', review)\n dispatch('calculateRating')\n },\n calculateRating({commit, getters}) {\n let currentRating = getters.getRating\n let total = null;\n let result = {\n ratingValue: null,\n ratingCount: null,\n reviewCount: null,\n worstResult: currentRating.worstResult,\n bestResult: currentRating.bestResult,\n }\n let ratingCount = null;\n let reviewRating = getters.getReviews\n let reviewCount = Object.keys(reviewRating).length\n for (let rating in reviewRating) {\n if (reviewRating.hasOwnProperty(rating) && reviewRating[rating] !== \"\") {\n ratingCount += 1\n total += parseInt(reviewRating[rating])\n }\n }\n if (null !== ratingCount) {\n result.ratingCount = ratingCount\n }\n if (null !== total) {\n result.ratingValue = total / ratingCount\n }\n result.reviewCount = reviewCount\n commit('updateRating', result)\n },\n setRatingResult({commit}, value) {\n // commit('updateRating', {\n // ratingValue: value\n // })\n },\n setBestResult({commit, getters}, value) {\n let currentRating = getters.getRating\n commit('updateRating', {\n ratingValue: currentRating.ratingValue,\n ratingCount: currentRating.ratingCount,\n reviewCount: currentRating.reviewCount,\n bestResult: value,\n worstResult: currentRating.worstResult\n })\n },\n setWorstResult({commit, getters}, value) {\n let currentRating = getters.getRating\n let reviews = getters.getReviews\n commit('updateRating', {\n ratingValue: currentRating.ratingValue,\n ratingCount: currentRating.ratingCount,\n reviewCount: currentRating.reviewCount,\n bestResult: currentRating.bestResult,\n worstResult: value\n })\n },\n },\n getters: {\n getRating(state) {\n return state.rating\n },\n getReviews(state) {\n return state.reviews\n }\n }\n}","export default {\n state: {\n currentSchema: {},\n schemasList: {},\n },\n mutations: {\n updateCurrentSchema(state, value) {\n state.currentSchema = value\n },\n updateSchemasList(state, value) {\n state.schemasList = value\n }\n },\n actions: {\n setCurrentSchema: function ({commit}, data) {\n commit('updateCurrentSchema', data)\n },\n setSchemasList: function ({commit}, data) {\n commit('updateSchemasList', data)\n }\n },\n getters: {\n getCurrentSchema(state) {\n return state.currentSchema;\n },\n getSchemasList(state) {\n return state.schemasList\n }\n }\n\n}","import Vue from 'vue'\nimport Vuex from 'vuex'\nimport schema from './modules/schema'\nimport rating from './modules/rating'\nimport currentSchema from './modules/current-schema'\n\nVue.use(Vuex)\n\nexport default new Vuex.Store({\n modules: {\n schema,\n rating,\n currentSchema\n }\n})\n","import Vue from 'vue'\nimport App from './App.vue'\nimport vuetify from './plugins/vuetify';\nimport 'material-design-icons-iconfont/dist/material-design-icons.css'\nimport store from './store'\n\nVue.config.productionTip = false\n\nexport const schemaEmitter = new Vue()\n\nnew Vue({\n vuetify,\n store,\n render: h => h(App),\n created() {\n if ('undefined' !== typeof schema_integration && schema_integration.hasOwnProperty('i18n')) {\n this.setLocaleData(schema_integration.i18n['schema_integration'])\n }\n }\n}).$mount('#app')\n","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./jsonBuilder.vue?vue&type=style&index=0&id=1367810e&scoped=true&lang=css&\"","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ArrayItem.vue?vue&type=style&index=0&id=2226b39c&scoped=true&lang=css&\"","import {schemaEmitter} from \"@/main\";\nimport filters from \"@/mixins/filters\";\n\nexport default {\n mixins: [filters],\n methods: {\n findVal: function (object, key, regexp = false) {\n let value;\n Object.keys(object).some(k => {\n if (regexp && k.search(key) !== -1) {\n value = object[k];\n return true;\n } else if (k === key) {\n value = object[k];\n return true;\n }\n if (object[k] && typeof object[k] === 'object') {\n value = this.findVal(object[k], key, regexp);\n return value !== undefined;\n }\n })\n\n return value;\n },\n changeChildType: function (string) {\n return string.split('.').pop()\n },\n isLastItem: function (items, objects) {\n for (let item in items) {\n let renderJson = 'undefined' !== typeof objects[items[item]].renderJson ? objects[items[item]].renderJson : true\n if (!renderJson) {\n continue;\n } else {\n return false;\n }\n }\n\n return true\n },\n printComma: function (key, value) {\n let objects = Object.keys(value)\n let currentObjectKey = objects[key]\n\n let renderJson = 'undefined' !== typeof value[currentObjectKey].renderJson ? value[currentObjectKey].renderJson : true\n let length = objects.length\n\n if (key === length - 1) {\n return ''\n }\n if (!renderJson) {\n return ''\n }\n\n let spliceObject = objects.splice(key + 1, objects.length)\n if (spliceObject.length > 0) {\n return this.isLastItem(spliceObject, value) ? '' : ','\n }\n return ','\n },\n renderItem: function (item) {\n if (item.renderJson === undefined) {\n return true\n } else {\n return item.renderJson\n }\n },\n isObject: function (item) {\n return (item && typeof item === 'object' && !Array.isArray(item));\n },\n mergeDeep: function (target, ...sources) {\n if (!sources.length) return target;\n const source = sources.shift();\n\n if (this.isObject(target) && this.isObject(source)) {\n for (const key in source) {\n if (source.hasOwnProperty(key) && this.isObject(source[key])) {\n if (!target[key]) {\n Object.assign(target, {[key]: {}});\n } else {\n target[key] = Object.assign({}, target[key])\n }\n this.mergeDeep(target[key], source[key]);\n } else {\n Object.assign(target, {[key]: source[key]});\n }\n }\n }\n\n return this.mergeDeep(target, ...sources);\n },\n getFilters(string = '', filters = {}) {\n if (string) {\n for (let filter in filters) {\n if ('beforeText' === filter) {\n string = this.$options.filters.beforeText(string, filters[filter])\n }\n if ('afterText' === filter) {\n string = this.$options.filters.afterText(string, filters[filter])\n }\n if ('toMinutes' === filter) {\n string = this.$options.filters.toMinutes(string)\n }\n if ('clearSymbols' === filter) {\n string = this.$options.filters.clearSymbols(string, filters[filter])\n }\n }\n }\n\n return string\n },\n updateRatingValues(value) {\n let rating = this.getRating()\n let reviewsKeys = Object.keys(this.getReviews())\n let ratingValueObject = {\n value: rating.ratingValue\n }\n let ratingCountObject = {\n value: rating.ratingCount\n }\n reviewsKeys.forEach((key) => {\n schemaEmitter.$emit('input', `review.${key}.reviewRating.bestRating`, rating.bestResult)\n schemaEmitter.$emit('input', `review.${key}.reviewRating.worstRating`, rating.worstResult)\n schemaEmitter.$emit('input', `review.${key}.reviewRating.ratingValue`, {\n validation: {\n maxValue: rating.bestResult,\n minValue: rating.worstResult\n }\n })\n })\n if (rating.ratingValue) {\n ratingValueObject['vuetifyProps'] = {\n disabled: true\n }\n ratingCountObject['vuetifyProps'] = {\n disabled: true\n }\n } else {\n ratingValueObject['vuetifyProps'] = {\n disabled: false\n }\n ratingCountObject['vuetifyProps'] = {\n disabled: false\n }\n }\n if (rating.ratingValue >= 1) {\n schemaEmitter.$emit('input', 'aggregateRating', {\n renderJson: true\n })\n } else {\n schemaEmitter.$emit('input', 'aggregateRating', {\n renderJson: false\n })\n }\n schemaEmitter.$emit('input', 'aggregateRating.ratingValue', ratingValueObject)\n schemaEmitter.$emit('input', 'aggregateRating.ratingCount', ratingCountObject)\n },\n setEmptyValue(item) {\n let type = typeof item\n if ('string' === type) {\n return ''\n }\n\n if ('object' === type) {\n let newItem = [];\n item.forEach(el => {\n let obj = {}\n obj['selected'] = false\n obj['value'] = el.value\n newItem.push(obj)\n })\n return newItem\n }\n\n return ''\n },\n isNotEmptyValue(item) {\n let type = typeof item\n\n if ('string' === type) {\n return item.length > 0\n }\n if ('object' === type) {\n let selected = item.findIndex(el => {\n return el.selected\n })\n return -1 !== selected\n }\n\n return false\n },\n duplicateValues(value) {\n if (this.componentProps.hasOwnProperty('duplicateFor')) {\n let fields = this.componentProps.duplicateFor\n fields.forEach(field => {\n if ('string' === typeof value) {\n schemaEmitter.$emit('input', field, value)\n } else {\n schemaEmitter.$emit('input', field, {\n value: value\n })\n }\n })\n }\n }\n }\n}\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.node.formComponent === 'Input' || _vm.node.formComponent === 'TextArea' || _vm.node.formComponent === 'ReviewRating')?_c('div',[_c('single-item',{attrs:{\"name\":_vm.name,\"value\":_vm.node.value,\"comma\":_vm.comma,\"isDisplayName\":_vm.isDisplayName,\"filters\":_vm.getFiltersProp()}})],1):_vm._e(),(_vm.node.formComponent === 'DatePicker')?_c('div',[_c('date-item',{attrs:{\"name\":_vm.name,\"value\":_vm.node.value,\"comma\":_vm.comma}})],1):(_vm.node.formComponent === 'Selector')?_c('div',[_c('selector-item',{attrs:{\"name\":_vm.name,\"value\":_vm.node.value,\"filters\":_vm.getFiltersProp(),\"comma\":_vm.comma}})],1):(_vm.node.formComponent === 'Repeater' && _vm.node.repeaterType === 'object')?_c('div',[_c('object-item',{attrs:{\"name\":_vm.name,\"value\":_vm.node.value,\"comma\":_vm.comma}})],1):(_vm.node.formComponent === 'Repeater' && _vm.node.repeaterType === 'array' )?_c('div',[_c('array-item',{attrs:{\"name\":_vm.name,\"value\":_vm.node.value}})],1):(_vm.node.formComponent === false)?_c('div',[_c('span'),_c('span',[_vm._v(\"\\\"\"+_vm._s(_vm.name)+\"\\\"\")]),_vm._v(\": \"),_c('span',[_vm._v(\"{\")]),_vm._l((_vm.node.children),function(value,key,index){return (_vm.renderItem(value))?_c('node',{key:key,attrs:{\"name\":value.name,\"type\":key,\"node\":value,\"comma\":_vm.printComma(index, _vm.node.children)}}):_vm._e()}),_c('span',[_vm._v(\"}\"+_vm._s(_vm.comma))])],2):_vm._e()])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.isDisplayName)?_c('span',[_c('span',[_vm._v(\"\\\"\"+_vm._s(_vm.name)+\"\\\"\")]),_vm._v(\": \\\"\"),_c('span',{staticClass:\"schema_integration-str\",class:{ 'schema_integration-str__updated': _vm.isUpdate }},[_vm._v(_vm._s(_vm.getFilters(_vm.value, _vm.filters)))]),_vm._v(\"\\\"\"+_vm._s(_vm.comma)+\" \")]):_c('span',[_vm._v(\" \\\"\"),_c('span',{staticClass:\"schema_integration-str\",class:{ 'schema_integration-str__updated': _vm.isUpdate }},[_vm._v(_vm._s(_vm.getFilters(_vm.value, _vm.filters)))]),_vm._v(\"\\\"\"+_vm._s(_vm.comma)+\" \")])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","export default {\n props: {\n name: {\n type: String,\n required: true\n },\n value: {\n type: [String, Number, Array],\n required: false,\n default: ''\n },\n comma: {\n type: String,\n required: false,\n default: ','\n },\n isDisplayName: {\n type: Boolean,\n required: false,\n default: true\n },\n filters: {\n type: Object,\n default() {\n return {}\n }\n }\n }\n}\n","<template>\n <span v-if=\"isDisplayName\">\n <span>\"{{ name }}\"</span>: \"<span class=\"schema_integration-str\" :class=\"{ 'schema_integration-str__updated': isUpdate }\">{{ getFilters(value, filters) }}</span>\"{{ comma }}\n </span>\n <span v-else>\n \"<span class=\"schema_integration-str\" :class=\"{ 'schema_integration-str__updated': isUpdate }\">{{ getFilters(value, filters) }}</span>\"{{ comma }}\n </span>\n</template>\n\n<script>\n\nimport jsonProps from \"@/mixins/json-props\"\nimport functions from \"@/mixins/functions\";\n\nexport default {\n mixins: [functions, jsonProps],\n data() {\n return {\n isUpdate: false\n }\n },\n watch: {\n value(item) {\n if( item ) {\n this.isUpdate = item.length > 0\n }\n },\n }\n}\n</script>\n\n<style scoped>\n\n</style>\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SingleItem.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SingleItem.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./SingleItem.vue?vue&type=template&id=74a2251c&scoped=true&\"\nimport script from \"./SingleItem.vue?vue&type=script&lang=js&\"\nexport * from \"./SingleItem.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"74a2251c\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('span',[(_vm.value.length > 1)?_c('span',[_c('span'),_c('span',[_vm._v(\"\\\"\"+_vm._s(_vm.name)+\"\\\"\")]),_vm._v(\": \"),_c('span',[_vm._v(\"[\")]),_vm._l((_vm.value),function(item,key){return _c('span',{key:key},_vm._l((item),function(field,k,index){return (_vm.renderItem(field))?_c('json-tree',{key:k,attrs:{\"name\":field.name,\"type\":k,\"node\":field,\"comma\":_vm.printComma(key, _vm.value),\"isDisplayName\":_vm.display}}):_vm._e()}),1)}),_c('span'),_c('span',[_vm._v(\"]\"+_vm._s(_vm.printComma(0, _vm.value)))])],2):_c('span',_vm._l((_vm.value[0]),function(item,key){return _c('span',{key:key},[_c('span'),_c('span',[_vm._v(\"\\\"\"+_vm._s(_vm.name)+\"\\\"\")]),_vm._v(\": \\\"\"),_c('span',{staticClass:\"schema_integration-str\"},[_vm._v(_vm._s(item.value))]),_vm._v(\"\\\", \")])}),0)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <span>\n <span v-if=\"value.length > 1\">\n <span></span><span>\"{{ name }}\"</span>: <span>[</span>\n <span v-for=\"(item, key) in value\" :key=\"key\">\n <json-tree v-if=\"renderItem(field)\" v-for=\"(field, k, index) in item\" :name=\"field.name\" :key=\"k\" :type=\"k\" :node=\"field\"\n :comma=\"printComma(key, value)\" :isDisplayName=\"display\"></json-tree>\n </span>\n <span></span><span>]{{printComma(0, value)}}</span>\n </span>\n <span v-else>\n <span v-for=\"( item, key) in value[0]\" :key=\"key\">\n <span></span><span>\"{{ name }}\"</span>: \"<span class=\"schema_integration-str\">{{ item.value }}</span>\",\n </span>\n </span>\n </span>\n</template>\n\n<script>\nimport jsonProps from '@/mixins/json-props'\nimport functions from \"@/mixins/functions\";\n\nexport default {\n mixins: [jsonProps, functions],\n props: {\n value: {\n type: Array,\n required: true\n }\n },\n data() {\n return {\n display: false\n }\n },\n components: {\n JsonTree: () => import(\"@/JsonElements/JsonTree\")\n }\n}\n</script>\n\n<style scoped>\n.repeater-item {\n display: inline-block;\n width: 100%;\n margin-left: 20px;\n}\n</style>\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ArrayItem.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ArrayItem.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./ArrayItem.vue?vue&type=template&id=2226b39c&scoped=true&\"\nimport script from \"./ArrayItem.vue?vue&type=script&lang=js&\"\nexport * from \"./ArrayItem.vue?vue&type=script&lang=js&\"\nimport style0 from \"./ArrayItem.vue?vue&type=style&index=0&id=2226b39c&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"2226b39c\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.isDisplayName)?_c('span',[_c('span',[_vm._v(\"\\\"\"+_vm._s(_vm.name)+\"\\\"\")]),_vm._v(\": \\\"\"),_c('span',{staticClass:\"schema_integration-str\"},[_vm._v(_vm._s(_vm.getSelectedItem))]),_vm._v(\"\\\"\"+_vm._s(_vm.comma)+\" \")]):_c('span',[_vm._v(\" \\\"\"),_c('span',{staticClass:\"schema_integration-str\"},[_vm._v(_vm._s(_vm.getSelectedItem))]),_vm._v(\"\\\"\"+_vm._s(_vm.comma)+\" \")])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <span v-if=\"isDisplayName\">\n <span>\"{{ name }}\"</span>: \"<span class=\"schema_integration-str\">{{ getSelectedItem }}</span>\"{{ comma }}\n </span>\n <span v-else>\n \"<span class=\"schema_integration-str\">{{ getSelectedItem }}</span>\"{{ comma }}\n </span>\n</template>\n\n<script>\nimport jsonProps from \"@/mixins/json-props\"\nimport functions from \"@/mixins/functions\";\n\nexport default {\n mixins: [functions, jsonProps],\n computed: {\n getSelectedItem: function () {\n for (let item in this.value) {\n if (this.value[item].selected) {\n return this.getFilters(this.value[item].value, this.filters)\n }\n }\n }\n }\n}\n</script>\n\n<style scoped>\n\n</style>\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SelectorItem.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SelectorItem.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./SelectorItem.vue?vue&type=template&id=4fdb5c6a&scoped=true&\"\nimport script from \"./SelectorItem.vue?vue&type=script&lang=js&\"\nexport * from \"./SelectorItem.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"4fdb5c6a\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.isDisplayName)?_c('span',[_c('span',[_vm._v(\"\\\"\"+_vm._s(_vm.name)+\"\\\"\")]),_vm._v(\": \"),_c('span',[_vm._v(\"\\\"\"+_vm._s(_vm.value)+\"\\\"\")]),_vm._v(_vm._s(_vm.comma)+\" \")]):_c('span',[_c('span',[_vm._v(\"\\\"\"+_vm._s(_vm.value)+\"\\\"\")]),_vm._v(_vm._s(_vm.comma)+\" \")])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <span v-if=\"isDisplayName\">\n <span>\"{{ name }}\"</span>: <span>\"{{ value }}\"</span>{{ comma }}\n </span>\n <span v-else>\n <span>\"{{ value }}\"</span>{{ comma }}\n </span>\n</template>\n\n<script>\nimport jsonProps from \"@/mixins/json-props\"\n\nexport default {\n mixins: [jsonProps]\n}\n</script>\n\n<style scoped>\n\n</style>\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DateItem.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DateItem.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./DateItem.vue?vue&type=template&id=474081ee&scoped=true&\"\nimport script from \"./DateItem.vue?vue&type=script&lang=js&\"\nexport * from \"./DateItem.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"474081ee\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('span',[_c('span'),_c('span',[_vm._v(\"\\\"\"+_vm._s(_vm.name)+\"\\\"\")]),_vm._v(\": \"),_c('span',[_vm._v(\"[\")]),_vm._l((_vm.value),function(item,key){return _c('span',{key:key},[_vm._v(\"{ \"),_vm._l((item),function(field,k,index){return (_vm.renderItem(field))?_c('json-tree',{key:k,attrs:{\"name\":field.name,\"type\":k,\"node\":field,\"comma\":_vm.printComma(index, item),\"display-name\":_vm.display}}):_vm._e()}),_vm._v(\" }\"+_vm._s(_vm.printComma(key, _vm.value)))],2)}),_c('span'),_c('span',[_vm._v(\"]\"+_vm._s(_vm.comma))])],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <span>\n <span></span><span>\"{{ name }}\"</span>: <span>[</span>\n <span v-for=\"(item, key) in value\" :key=\"key\">{\n <json-tree v-if=\"renderItem(field)\" v-for=\"(field, k, index) in item\" :name=\"field.name\" :key=\"k\" :type=\"k\" :node=\"field\"\n :comma=\"printComma(index, item)\" :display-name=\"display\"></json-tree>\n }{{printComma(key, value)}}</span>\n <span></span><span>]{{comma}}</span>\n </span>\n</template>\n\n<script>\nimport jsonProps from '@/mixins/json-props'\nimport functions from \"@/mixins/functions\";\n\nexport default {\n mixins: [jsonProps, functions],\n props: {\n value: {\n type: Array,\n required: true\n }\n },\n data() {\n return {\n display: false\n }\n },\n components: {\n JsonTree: () => import(\"@/JsonElements/JsonTree\")\n }\n}\n</script>\n\n<style scoped>\n.repeater-item {\n display: inline-block;\n width: 100%;\n margin-left: 20px;\n}\n</style>\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ObjectItem.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ObjectItem.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./ObjectItem.vue?vue&type=template&id=71953de0&scoped=true&\"\nimport script from \"./ObjectItem.vue?vue&type=script&lang=js&\"\nexport * from \"./ObjectItem.vue?vue&type=script&lang=js&\"\nimport style0 from \"./ObjectItem.vue?vue&type=style&index=0&id=71953de0&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"71953de0\",\n null\n \n)\n\nexport default component.exports","<template>\n <div>\n <div\n v-if=\"node.formComponent === 'Input' || node.formComponent === 'TextArea' || node.formComponent === 'ReviewRating'\">\n <single-item :name=\"name\" :value=\"node.value\" :comma=\"comma\"\n :isDisplayName=\"isDisplayName\" :filters=\"getFiltersProp()\"></single-item>\n </div>\n <div v-if=\"node.formComponent === 'DatePicker'\">\n <date-item :name=\"name\" :value=\"node.value\" :comma=\"comma\"></date-item>\n </div>\n <div v-else-if=\"node.formComponent === 'Selector'\">\n <selector-item :name=\"name\" :value=\"node.value\" :filters=\"getFiltersProp()\" :comma=\"comma\"></selector-item>\n </div>\n <div v-else-if=\"node.formComponent === 'Repeater' && node.repeaterType === 'object'\">\n <object-item :name=\"name\" :value=\"node.value\" :comma=\"comma\"></object-item>\n </div>\n <div v-else-if=\"node.formComponent === 'Repeater' && node.repeaterType === 'array' \">\n <array-item :name=\"name\" :value=\"node.value\"></array-item>\n </div>\n <div v-else-if=\"node.formComponent === false\">\n <span></span><span>\"{{ name }}\"</span>: <span>{</span>\n <node v-if=\"renderItem(value)\" v-for=\"(value, key, index) in node.children\" :name=\"value.name\"\n :key=\"key\" :type=\"key\" :node=\"value\"\n :comma=\"printComma(index, node.children)\"></node>\n <span>}{{ comma }}</span>\n </div>\n </div>\n</template>\n\n<script>\n\nimport SingleItem from \"./SingleItem\";\nimport ArrayItem from \"./ArrayItem\";\nimport SelectorItem from \"./SelectorItem\";\nimport DateItem from \"./DateItem\";\nimport ObjectItem from \"@/JsonElements/ObjectItem\";\nimport functions from \"@/mixins/functions\";\n\nexport default {\n mixins: [functions],\n name: \"node\",\n props: {\n node: Object,\n type: [String, Number],\n comma: String,\n name: String,\n isDisplayName: {\n type: Boolean,\n required: false,\n default: true\n },\n },\n components: {\n SingleItem,\n ArrayItem,\n SelectorItem,\n DateItem,\n ObjectItem\n },\n methods: {\n getFiltersProp() {\n return this.node.hasOwnProperty('filters') ? this.node.filters : {}\n }\n }\n}\n</script>\n\n<style scoped>\n.node-tree {\n list-style-type: none;\n}\n\ndiv {\n margin-left: 10px;\n}\n</style>\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./JsonTree.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./JsonTree.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./JsonTree.vue?vue&type=template&id=516b3065&scoped=true&\"\nimport script from \"./JsonTree.vue?vue&type=script&lang=js&\"\nexport * from \"./JsonTree.vue?vue&type=script&lang=js&\"\nimport style0 from \"./JsonTree.vue?vue&type=style&index=0&id=516b3065&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"516b3065\",\n null\n \n)\n\nexport default component.exports","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CustomItem.vue?vue&type=style&index=0&id=2c4f9021&scoped=true&lang=css&\"","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ObjectItem.vue?vue&type=style&index=0&id=71953de0&scoped=true&lang=css&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-main',[_c('v-container',[_c('v-row',[_c('v-col',[_c('v-card',[_c('v-card-text',[_c('div',[_c('v-select',{attrs:{\"items\":_vm.getSchemasList,\"attach\":\"\",\"label\":\"Which Schema.org markup would you like to create?\"},on:{\"change\":function($event){return _vm.selectSchema($event)}},scopedSlots:_vm._u([{key:\"selection\",fn:function(data){return [_c('v-list-item',[_c('v-list-item-content',[_c('v-list-item-title',[_c('v-icon',{attrs:{\"small\":\"\"}},[_vm._v(_vm._s(data.item.icon))]),_vm._v(\" \"+_vm._s(data.item.title)+\" \")],1)],1)],1)]}},{key:\"item\",fn:function(data){return [_c('v-icon',{attrs:{\"small\":\"\"}},[_vm._v(_vm._s(data.item.icon))]),_c('v-list-item',[_c('v-list-item-content',[_c('v-list-item-title',[_vm._v(\" \"+_vm._s(data.item.title)+\" \"),_c('small',[_vm._v(_vm._s(data.item.description))])])],1)],1)]}}]),model:{value:(_vm.getSelectedSchema),callback:function ($$v) {_vm.getSelectedSchema=$$v},expression:\"getSelectedSchema\"}})],1)])],1)],1)],1),_c('v-row',[_c('v-col',{attrs:{\"cols\":\"7\"}},[_c('v-card',[_c('v-card-text',[_c('form-builder',{attrs:{\"config\":_vm.getSchemaType}})],1)],1)],1),_c('v-col',{attrs:{\"cols\":\"5\"}},[_c('v-card',{attrs:{\"height\":\"100%\"}},[_c('v-card-text',[_c('json-builder',{ref:\"jsonTemplate\",attrs:{\"config\":_vm.getJsonType}})],1)],1)],1)],1),_c('v-row',[_c('v-col',[_c('v-card',[_c('v-card-title',[_vm._v(\"Select schemas conditions\")]),_c('v-card-text',[_c('conditions',{attrs:{\"conditionsList\":_vm.conditions,\"currentConditions\":_vm.postConditions}})],1)],1)],1)],1),_c('v-row',[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.result),expression:\"result\"}],attrs:{\"type\":\"hidden\",\"name\":\"schema\"},domProps:{\"value\":(_vm.result)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.result=$event.target.value}}}),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.source),expression:\"source\"}],attrs:{\"type\":\"hidden\",\"name\":\"source\"},domProps:{\"value\":(_vm.source)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.source=$event.target.value}}}),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.getSchemaName),expression:\"getSchemaName\"}],attrs:{\"type\":\"hidden\",\"name\":\"schema_name\"},domProps:{\"value\":(_vm.getSchemaName)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.getSchemaName=$event.target.value}}})])],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import Article from '@/Config/Article.json'\nimport FAQPage from '@/Config/FAQPage.json'\nimport Product from '@/Config/Product.json'\nimport Recipe from '@/Config/Recipe.json'\nimport Breadcrumbs from '@/Config/Breadcrumbs.json'\nimport Custom from '@/Config/Custom.json'\n\nexport default {\n data() {\n return {\n config: {\n Article,\n FAQPage,\n Product,\n Recipe,\n Breadcrumbs,\n Custom\n }\n }\n }\n}","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-row',_vm._l((_vm.config),function(field,key,index){return _c('form-tree',{key:key,attrs:{\"index\":index,\"type\":key,\"node\":field}})}),1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <v-row>\n <form-tree v-for=\"(field, key, index) in config\" :index=\"index\" :key=\"key\" :type=\"key\" :node=\"field\"></form-tree>\n </v-row>\n</template>\n\n<script>\nimport FormTree from '../FormElements/FormTree'\nimport {schemaEmitter} from \"@/main\";\n\nexport default {\n props: ['config'],\n data() {\n return {\n formValues: {}\n }\n },\n components: {\n FormTree\n },\n methods: {\n updateField(field, value) {\n schemaEmitter.$emit('input', field, value)\n }\n }\n}\n</script>\n\n<style scoped>\n\n</style>\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./formBuilder.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./formBuilder.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./formBuilder.vue?vue&type=template&id=31de27a7&scoped=true&\"\nimport script from \"./formBuilder.vue?vue&type=script&lang=js&\"\nexport * from \"./formBuilder.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"31de27a7\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VRow } from 'vuetify/lib/components/VGrid';\ninstallComponents(component, {VRow})\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"json-wrapper\"},[_c('span',{staticClass:\"schema_integration-tag\"},[_vm._v(\"<script\")]),_vm._v(\" \"),_c('span',{staticClass:\"schema_integration-attr\"},[_vm._v(\"type\")]),_c('span',{staticClass:\"schema_integration-attr-value\"},[_vm._v(\"=\\\"application/ld+json\\\"\")]),_c('span',[_vm._v(\">\")]),(_vm.getCurrentSchema.title !== 'Custom')?_c('div',[_vm._m(0),_vm._l((_vm.config),function(field,key,index){return (_vm.renderItem(field))?_c('json-tree',{key:key,attrs:{\"name\":field.name,\"type\":key,\"node\":field,\"comma\":_vm.printComma(index, _vm.config)}}):_vm._e()}),_vm._m(1)],2):_c('div',[_c('custom-item',{attrs:{\"value\":_vm.config.custom.value}})],1),_c('span',{staticClass:\"schema_integration-tag\"},[_vm._v(\"</script>\")])])}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('span',[_vm._v(\"{\")])])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('span',[_vm._v(\"}\")])])}]\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('pre',[_vm._v(_vm._s(_vm._f(\"prettyJSON\")(_vm.value))+\" \")])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <pre>{{ value | prettyJSON }} </pre>\n</template>\n\n<script>\n\nimport filters from \"@/mixins/filters\";\n\nexport default {\n mixins: [filters],\n props: {\n value: {\n required: true,\n default: '',\n type: [String, Object],\n }\n }\n}\n</script>\n\n<style scoped>\n pre {\n white-space: pre-wrap;\n }\n</style>","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CustomItem.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CustomItem.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./CustomItem.vue?vue&type=template&id=2c4f9021&scoped=true&\"\nimport script from \"./CustomItem.vue?vue&type=script&lang=js&\"\nexport * from \"./CustomItem.vue?vue&type=script&lang=js&\"\nimport style0 from \"./CustomItem.vue?vue&type=style&index=0&id=2c4f9021&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"2c4f9021\",\n null\n \n)\n\nexport default component.exports","<template>\n <div class=\"json-wrapper\">\n <span class=\"schema_integration-tag\"><script</span> <span class=\"schema_integration-attr\">type</span><span\n class=\"schema_integration-attr-value\">=\"application/ld+json\"</span><span>></span>\n <div v-if=\"getCurrentSchema.title !== 'Custom'\">\n <div><span>{</span></div>\n <json-tree v-if=\"renderItem(field)\" v-for=\"(field, key, index) in config\" :name=\"field.name\" :key=\"key\"\n :type=\"key\"\n :node=\"field\"\n :comma=\"printComma(index, config)\"></json-tree>\n <div><span>}</span></div>\n </div>\n <div v-else>\n <custom-item :value=\"config.custom.value\"></custom-item>\n </div>\n <span class=\"schema_integration-tag\"></script></span>\n </div>\n</template>\n\n<script>\n\nimport {mapGetters} from 'vuex'\nimport JsonTree from \"../JsonElements/JsonTree\";\nimport functions from \"@/mixins/functions\";\nimport CustomItem from \"@/JsonElements/CustomItem\";\n\nexport default {\n mixins: [functions],\n props: {\n config: Object\n },\n data() {\n return {\n render: true\n }\n },\n components: {\n CustomItem,\n JsonTree\n },\n computed: mapGetters(['getCurrentSchema']),\n}\n</script>\n\n<style scoped>\n\n.json-wrapper {\n font-size: 13px;\n line-height: 1.4;\n font-family: Menlo, Monaco, Consolas, \"Courier New\", monospace;\n color: grey;\n text-align: left;\n}\n\n.tree-list {\n list-style-type: none;\n}\n</style>\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./jsonBuilder.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./jsonBuilder.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./jsonBuilder.vue?vue&type=template&id=1367810e&scoped=true&\"\nimport script from \"./jsonBuilder.vue?vue&type=script&lang=js&\"\nexport * from \"./jsonBuilder.vue?vue&type=script&lang=js&\"\nimport style0 from \"./jsonBuilder.vue?vue&type=style&index=0&id=1367810e&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"1367810e\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{staticClass:\"conditions-items\"},_vm._l((_vm.conditions),function(item,index){return _c('v-row',{key:index,staticClass:\"conditions-item\"},[_c('v-col',{attrs:{\"cols\":\"6\"}},[_c('v-select',{attrs:{\"items\":item.data,\"attach\":\"\",\"label\":\"Conditions list\"},on:{\"change\":function($event){return _vm.getConditionsValue(index, $event)}},model:{value:(item.selected),callback:function ($$v) {_vm.$set(item, \"selected\", $$v)},expression:\"item.selected\"}})],1),_c('v-col',{attrs:{\"cols\":\"6\"}},[(item.displayIds)?_c('div',[_c('v-text-field',{attrs:{\"type\":\"number\",\"label\":\"Add ID\"},on:{\"input\":function($event){return _vm.getConditionsValueIds(index, $event)}},model:{value:(item.ids),callback:function ($$v) {_vm.$set(item, \"ids\", $$v)},expression:\"item.ids\"}})],1):_vm._e()]),_c('v-row',[_c('v-col',{attrs:{\"cols\":\"6\"}},[_c('v-btn',{attrs:{\"small\":\"\",\"color\":\"primary\"},on:{\"click\":function($event){return _vm.addItem(index)}}},[_vm._v(\"Add\")])],1),_c('v-col',{attrs:{\"cols\":\"6\"}},[_c('v-btn',{attrs:{\"small\":\"\",\"color\":\"error\",\"disabled\":_vm.disableButton},on:{\"click\":function($event){return _vm.deleteItem(index)}}},[_vm._v(\"Delete\")])],1)],1)],1)}),1),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.result),expression:\"result\"}],attrs:{\"type\":\"hidden\",\"name\":'conditions'},domProps:{\"value\":(_vm.result)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.result=$event.target.value}}})])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <div>\n <div class=\"conditions-items\">\n <v-row v-for=\"(item, index) in conditions\" :key=\"index\" class=\"conditions-item\">\n <v-col cols=\"6\">\n <v-select\n v-model=\"item.selected\"\n :items=\"item.data\"\n attach\n label=\"Conditions list\"\n @change=\"getConditionsValue(index, $event)\"\n ></v-select>\n </v-col>\n <v-col cols=\"6\">\n <div v-if=\"item.displayIds\">\n <v-text-field\n type=\"number\"\n v-model=\"item.ids\"\n label=\"Add ID\"\n @input=\"getConditionsValueIds(index, $event)\"\n ></v-text-field>\n </div>\n </v-col>\n <v-row>\n <v-col cols=\"6\">\n <v-btn small color=\"primary\" @click=\"addItem(index)\">Add</v-btn>\n </v-col>\n <v-col cols=\"6\">\n <v-btn small color=\"error\" @click=\"deleteItem(index)\" :disabled=\"disableButton\">Delete</v-btn>\n </v-col>\n </v-row>\n </v-row>\n </div>\n <input type=\"hidden\" :name=\"'conditions'\" v-model=\"result\">\n </div>\n</template>\n\n<script>\n\nexport default {\n props: ['conditionsList', 'currentConditions'],\n data() {\n return {\n conditions: [\n {\n data: [],\n selected: '',\n displayIds: false,\n ids: ''\n }\n ],\n result: ''\n }\n },\n watch: {\n currentConditions: {\n handler: 'setConditions'\n },\n conditions: {\n deep: true,\n handler() {\n this.result = JSON.stringify(this.getConditionsResult())\n }\n }\n },\n methods: {\n addItem(index) {\n let item = JSON.parse(JSON.stringify(this.conditions[index]))\n this.conditions.push(item)\n },\n deleteItem(index) {\n if (this.conditions.length > 1) {\n this.conditions.splice(index, 1)\n }\n },\n getConditionsValue(index, value) {\n this.conditions[index].displayIds = value.startsWith('{custom_')\n },\n getConditionsValueIds(index, value) {\n this.conditions[index].ids = value\n },\n getConditionsResult() {\n let result = []\n this.conditions.forEach(item => {\n let newItem = {\n condition: item.selected,\n custom: item.displayIds ? item.ids : ''\n }\n result.push(newItem)\n })\n return result\n },\n setConditions() {\n if (this.currentConditions.length <= 0) {\n this.conditions[0].data = this.conditionsList\n } else {\n this.conditions.splice(0, 1)\n this.currentConditions.forEach(item => {\n this.conditions.push({\n data: this.conditionsList,\n selected: item.condition,\n ids: item.custom,\n displayIds: item.custom.length > 0\n })\n })\n }\n }\n },\n computed: {\n disableButton: function () {\n return this.conditions.length <= 1;\n }\n },\n created() {\n this.setConditions()\n }\n}\n</script>\n\n<style scoped>\n\n</style>","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Conditions.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Conditions.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Conditions.vue?vue&type=template&id=53d6957f&scoped=true&\"\nimport script from \"./Conditions.vue?vue&type=script&lang=js&\"\nexport * from \"./Conditions.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"53d6957f\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VRow } from 'vuetify/lib/components/VGrid';\nimport { VSelect } from 'vuetify/lib/components/VSelect';\nimport { VTextField } from 'vuetify/lib/components/VTextField';\ninstallComponents(component, {VBtn,VCol,VRow,VSelect,VTextField})\n","<template>\n <v-main>\n <v-container>\n <v-row>\n <v-col>\n <v-card>\n <v-card-text>\n <div>\n <v-select\n v-model=\"getSelectedSchema\"\n :items=\"getSchemasList\"\n attach\n label=\"Which Schema.org markup would you like to create?\"\n @change=\"selectSchema($event)\"\n >\n <template slot=\"selection\" slot-scope=\"data\">\n <v-list-item>\n <v-list-item-content>\n <v-list-item-title>\n <v-icon small>{{ data.item.icon }}</v-icon>\n {{ data.item.title }}\n </v-list-item-title>\n </v-list-item-content>\n </v-list-item>\n\n </template>\n <template slot=\"item\" slot-scope=\"data\">\n <v-icon small>{{ data.item.icon }}</v-icon>\n <v-list-item>\n <v-list-item-content>\n <v-list-item-title>\n {{ data.item.title }} <small>{{ data.item.description }}</small>\n </v-list-item-title>\n </v-list-item-content>\n </v-list-item>\n </template>\n </v-select>\n </div>\n </v-card-text>\n </v-card>\n </v-col>\n </v-row>\n <v-row>\n <v-col cols=\"7\">\n <v-card>\n <v-card-text>\n <form-builder :config=\"getSchemaType\"></form-builder>\n </v-card-text>\n </v-card>\n </v-col>\n <v-col cols=\"5\">\n <v-card\n height=\"100%\"\n >\n <v-card-text>\n <json-builder :config=\"getJsonType\" ref=\"jsonTemplate\"></json-builder>\n </v-card-text>\n </v-card>\n </v-col>\n </v-row>\n <v-row>\n <v-col\n >\n <v-card>\n <v-card-title>Select schemas conditions</v-card-title>\n <v-card-text>\n <conditions :conditionsList=\"conditions\" :currentConditions=\"postConditions\"></conditions>\n </v-card-text>\n </v-card>\n </v-col>\n </v-row>\n <v-row>\n <input type=\"hidden\" name=\"schema\" v-model=\"result\">\n <input type=\"hidden\" name=\"source\" v-model=\"source\">\n <input type=\"hidden\" name=\"schema_name\" v-model=\"getSchemaName\">\n </v-row>\n </v-container>\n </v-main>\n</template>\n\n<script>\n\nimport config from \"@/mixins/config\";\nimport functions from \"@/mixins/functions\";\nimport axios from 'axios'\nimport {mapGetters, mapActions, mapMutations} from 'vuex'\nimport FormBuilder from \"./formBuilder\";\nimport JsonBuilder from \"./jsonBuilder\";\nimport Conditions from \"@/CondtionsElements/Conditions\"\nimport {schemaEmitter} from \"@/main\";\n\n\nexport default {\n mixins: [config, functions],\n components: {\n FormBuilder,\n JsonBuilder,\n Conditions\n },\n props: {\n schemas_type: {\n type: Array,\n required: true\n }\n },\n data() {\n return {\n conditions: [],\n postConditions: [],\n componentKey: 0,\n schemaExist: false,\n schemaType: {},\n jsonType: {},\n sourceType: {},\n result: '',\n source: '',\n default: ''\n }\n },\n methods: {\n ...mapActions(['setDefaultData', 'setCurrentSchema', 'setSchemasList', 'run']),\n ...mapMutations(['updateProperty']),\n getInnerJson: function () {\n return this.$refs.jsonTemplate.$el.innerText\n },\n getAjaxSchemaSettings: function (post_id, security) {\n axios.post('/wp-admin/admin-ajax.php?action=get_schema_settings', {\n 'post_id': post_id,\n 'security': security,\n })\n .then((response) => {\n if (response.data) {\n this.run(JSON.parse(response.data.schema))\n this.postConditions = JSON.parse(response.data.conditions)\n this.schemaExist = true\n this.setCurrentSchema(JSON.parse(response.data.schema_name))\n this.buildFromConfig(this.getCurrentSchema.title)\n this.setDefaultData({\n key: this.getCurrentSchema.title,\n jsonString: this.default\n })\n }\n })\n .catch((error) => {\n this.setCurrentSchema(this.schemas_type[0])\n const config = this.buildFromConfig(this.getCurrentSchema.title)\n this.setDefaultData({\n key: this.getCurrentSchema.title,\n jsonString: this.default\n })\n this.run(config)\n })\n },\n displayJsonTemplate(haystack, needle, data) {\n if ('undefined' !== typeof needle.value && 'undefined' !== typeof needle.showOnChange) {\n let show = this.findVal(haystack, needle.showOnChange)\n let type = typeof data\n if ('undefined' !== typeof show) {\n if ('object' !== type) {\n show.renderJson = '' !== data\n } else if (data && data.hasOwnProperty('value') && 'object' === typeof data.value) {\n let selected = data.value.find(i => {\n return i.selected\n })\n show.renderJson = 'undefined' !== typeof selected\n } else if (data && data.hasOwnProperty('renderJson')) {\n show.renderJson = data.renderJson\n }\n }\n }\n },\n updateObject(object, key, item) {\n let result = this.findVal(object, key)\n if (undefined !== result) {\n result = this.mergeDeep(result, item)\n this.displayJsonTemplate(object, result, item)\n }\n },\n updateItem(object, key, value) {\n let result = this.findVal(object, key)\n if ('undefined' !== typeof result && result.hasOwnProperty('value')) {\n result.value = value\n this.displayJsonTemplate(object, result, value)\n }\n },\n updateProperties() {\n this.updateProperty(['schemaType', this.getSchemaType])\n this.result = this.$refs.jsonTemplate.$el.innerText\n this.source = JSON.stringify(this.getSourceType)\n },\n buildFromConfig: function (type) {\n let selected = type\n let defaultConfig = this.config\n let defaultConfigString = JSON.stringify(defaultConfig)\n this.default = defaultConfigString\n const config = JSON.parse(defaultConfigString)\n if ('undefined' !== typeof config[selected]) {\n return config[selected]\n } else {\n return false\n }\n },\n selectSchema: function (event) {\n this.setCurrentSchema(event)\n const config = this.buildFromConfig(this.getCurrentSchema.title)\n this.setDefaultData({\n key: this.getCurrentSchema.title,\n jsonString: this.default\n })\n this.run(config)\n this.itemWalker(this.getSchemaType)\n this.updateProperties()\n },\n itemWalker: function (items) {\n if ('object' === typeof items) {\n Object.entries(items).forEach(([index, item]) => {\n if (undefined !== item.children) {\n this.itemWalker(item.children)\n } else {\n if ('undefined' === typeof this.$options.components[item.formComponent] || false === item.render) {\n delete item[index]\n }\n }\n })\n }\n }\n }\n ,\n computed: {\n ...mapGetters([\"getJsonType\", \"getSchemaType\", \"getSourceType\", \"getCurrentSchema\", \"getSchemasList\"]),\n getSelectedSchema: {\n get() {\n return this.getCurrentSchema\n },\n set(value) {\n return this.setCurrentSchema(value)\n }\n },\n getSchemaName: {\n get() {\n return JSON.stringify(this.getCurrentSchema)\n },\n set(value) {\n return this.setCurrentSchema(value)\n }\n },\n },\n updated() {\n this.$nextTick(function () {\n this.result = this.$refs.jsonTemplate.$el.innerText\n })\n },\n mounted() {\n schemaEmitter.$on('input', (key, value) => {\n if ('object' === typeof value) {\n this.updateObject(this.getSchemaType, key, value)\n this.updateObject(this.getJsonType, key, value)\n this.updateObject(this.getSourceType, key, value)\n } else {\n try {\n value = JSON.parse(value)\n } catch (e) {\n }\n this.updateItem(this.getSchemaType, key, value)\n this.updateItem(this.getJsonType, key, value)\n this.updateItem(this.getSourceType, key, value)\n }\n this.updateProperties()\n this.result = this.$refs.jsonTemplate.$el.innerText\n this.source = JSON.stringify(this.getSourceType)\n })\n setTimeout(() => {\n this.result = this.$refs.jsonTemplate.$el.innerText\n this.source = JSON.stringify(this.getSourceType)\n }, 1000);\n },\n created() {\n if ('undefined' !== typeof wp && wp.hasOwnProperty('i18n')) {\n const {__, _x, _n, _nx} = wp.i18n;\n }\n let root = document.getElementById('app')\n if (null !== root) {\n let post_id = root.getAttribute('data-id')\n let security = root.getAttribute('data-security')\n let conditions = root.getAttribute('data-conditions')\n this.conditions = JSON.parse(conditions)\n\n if (post_id) {\n this.setSchemasList(this.schemas_type)\n this.getAjaxSchemaSettings(post_id, security)\n }\n }\n },\n beforeDestroy() {\n schemaEmitter.$off('input')\n }\n}\n</script>\n\n<style>\n.schema_integration-tag {\n color: #881280;\n}\n\n.schema_integration-attr {\n color: #994500;\n}\n\n.schema_integration-attr-value {\n color: #1a1aa6;\n}\n\n.schema_integration-str {\n background-color: #ffc10780;\n font-weight: 700;\n}\n\n.schema_integration-str__updated {\n color: #f44336;\n}\n</style>\n\n<style scoped>\n\n</style>\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Schema.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Schema.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Schema.vue?vue&type=template&id=3aab96b0&scoped=true&\"\nimport script from \"./Schema.vue?vue&type=script&lang=js&\"\nexport * from \"./Schema.vue?vue&type=script&lang=js&\"\nimport style0 from \"./Schema.vue?vue&type=style&index=0&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"3aab96b0\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VCard } from 'vuetify/lib/components/VCard';\nimport { VCardText } from 'vuetify/lib/components/VCard';\nimport { VCardTitle } from 'vuetify/lib/components/VCard';\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VContainer } from 'vuetify/lib/components/VGrid';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VListItem } from 'vuetify/lib/components/VList';\nimport { VListItemContent } from 'vuetify/lib/components/VList';\nimport { VListItemTitle } from 'vuetify/lib/components/VList';\nimport { VMain } from 'vuetify/lib/components/VMain';\nimport { VRow } from 'vuetify/lib/components/VGrid';\nimport { VSelect } from 'vuetify/lib/components/VSelect';\ninstallComponents(component, {VCard,VCardText,VCardTitle,VCol,VContainer,VIcon,VListItem,VListItemContent,VListItemTitle,VMain,VRow,VSelect})\n"],"sourceRoot":""}1 {"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/FormElements/FormTree.vue?f8ee","webpack:///./src/FormElements/Input.vue?c854","webpack:///./src/mixins/validation.js","webpack:///./src/mixins/form-props.js","webpack:///./src/mixins/rating.js","webpack:///src/FormElements/Input.vue","webpack:///./src/FormElements/Input.vue?7927","webpack:///./src/FormElements/Input.vue","webpack:///./src/FormElements/Repeater.vue?f527","webpack:///src/FormElements/Repeater.vue","webpack:///./src/FormElements/Repeater.vue?4761","webpack:///./src/FormElements/Repeater.vue","webpack:///./src/FormElements/Selector.vue?2027","webpack:///src/FormElements/Selector.vue","webpack:///./src/FormElements/Selector.vue?8737","webpack:///./src/FormElements/Selector.vue","webpack:///./src/FormElements/DatePicker.vue?dfbd","webpack:///src/FormElements/DatePicker.vue","webpack:///./src/FormElements/DatePicker.vue?02d1","webpack:///./src/FormElements/DatePicker.vue","webpack:///./src/FormElements/TextArea.vue?9a29","webpack:///src/FormElements/TextArea.vue","webpack:///./src/FormElements/TextArea.vue?f8d7","webpack:///./src/FormElements/TextArea.vue","webpack:///./src/FormElements/ReviewRating.vue?25cb","webpack:///src/FormElements/ReviewRating.vue","webpack:///./src/FormElements/ReviewRating.vue?1e33","webpack:///./src/FormElements/ReviewRating.vue","webpack:///./src/FormElements/Custom.vue?6545","webpack:///src/FormElements/Custom.vue","webpack:///./src/FormElements/Custom.vue?a5d5","webpack:///./src/FormElements/Custom.vue","webpack:///./src/mixins/styles.js","webpack:///src/FormElements/FormTree.vue","webpack:///./src/FormElements/FormTree.vue?f749","webpack:///./src/FormElements/FormTree.vue?c051","webpack:///./src/mixins/filters.js","webpack:///./src/App.vue?5189","webpack:///./src/JsonElements/JsonTree.vue?b06a","webpack:///./src/components/Schema.vue?fd0e","webpack:///./src/FormElements/FormTree.vue?aa36","webpack:///./src/App.vue?1f5e","webpack:///src/App.vue","webpack:///./src/App.vue?b0f9","webpack:///./src/App.vue?155a","webpack:///./src/plugins/vuetify.js","webpack:///./src/store/modules/schema.js","webpack:///./src/store/modules/rating.js","webpack:///./src/store/modules/current-schema.js","webpack:///./src/store/index.js","webpack:///./src/main.js","webpack:///./src/JsonElements/ArrayItem.vue?17b6","webpack:///./src/mixins/functions.js","webpack:///./src/JsonElements/JsonTree.vue?e7e1","webpack:///./src/JsonElements/SingleItem.vue?b18d","webpack:///./src/mixins/json-props.js","webpack:///src/JsonElements/SingleItem.vue","webpack:///./src/JsonElements/SingleItem.vue?7046","webpack:///./src/JsonElements/SingleItem.vue","webpack:///./src/JsonElements/ArrayItem.vue?d2f6","webpack:///src/JsonElements/ArrayItem.vue","webpack:///./src/JsonElements/ArrayItem.vue?19b6","webpack:///./src/JsonElements/ArrayItem.vue?b714","webpack:///./src/JsonElements/SelectorItem.vue?31a6","webpack:///src/JsonElements/SelectorItem.vue","webpack:///./src/JsonElements/SelectorItem.vue?2d0c","webpack:///./src/JsonElements/SelectorItem.vue","webpack:///./src/JsonElements/DateItem.vue?6da3","webpack:///src/JsonElements/DateItem.vue","webpack:///./src/JsonElements/DateItem.vue?6533","webpack:///./src/JsonElements/DateItem.vue","webpack:///./src/JsonElements/ObjectItem.vue?91ba","webpack:///src/JsonElements/ObjectItem.vue","webpack:///./src/JsonElements/ObjectItem.vue?e849","webpack:///./src/JsonElements/ObjectItem.vue?c919","webpack:///src/JsonElements/JsonTree.vue","webpack:///./src/JsonElements/JsonTree.vue?9fab","webpack:///./src/JsonElements/JsonTree.vue?7818","webpack:///./src/JsonElements/CustomItem.vue?de50","webpack:///./src/components/jsonBuilder.vue?97a4","webpack:///./src/JsonElements/ObjectItem.vue?7d44","webpack:///./src/components/Schema.vue?94f3","webpack:///./src/mixins/config.js","webpack:///./src/components/formBuilder.vue?c26d","webpack:///src/components/formBuilder.vue","webpack:///./src/components/formBuilder.vue?eb35","webpack:///./src/components/formBuilder.vue","webpack:///./src/components/jsonBuilder.vue?c9ae","webpack:///./src/JsonElements/CustomItem.vue?10a3","webpack:///src/JsonElements/CustomItem.vue","webpack:///./src/JsonElements/CustomItem.vue?e878","webpack:///./src/JsonElements/CustomItem.vue?e87e","webpack:///src/components/jsonBuilder.vue","webpack:///./src/components/jsonBuilder.vue?8896","webpack:///./src/components/jsonBuilder.vue?e9af","webpack:///./src/CondtionsElements/Conditions.vue?8589","webpack:///src/CondtionsElements/Conditions.vue","webpack:///./src/CondtionsElements/Conditions.vue?2418","webpack:///./src/CondtionsElements/Conditions.vue","webpack:///src/components/Schema.vue","webpack:///./src/components/Schema.vue?70b0","webpack:///./src/components/Schema.vue?cb6e"],"names":["webpackJsonpCallback","data","moduleId","chunkId","chunkIds","moreModules","executeModules","i","resolves","length","Object","prototype","hasOwnProperty","call","installedChunks","push","modules","parentJsonpFunction","shift","deferredModules","apply","checkDeferredModules","result","deferredModule","fulfilled","j","depId","splice","__webpack_require__","s","installedModules","exports","module","l","m","c","d","name","getter","o","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","p","jsonpArray","window","oldJsonpFunction","slice","render","_vm","this","_h","$createElement","_c","_self","node","class","classes","attrs","cols","children","_l","index","formComponent","tag","type","getCustomProps","_e","staticRenderFns","componentProps","_b","placeholder","counter","printCounterValue","displayErrors","validation","$v","getCurrentValue","on","$event","validateInput","updateField","updateKey","model","callback","$$v","expression","vuetifyProps","Vue","use","Vuelidate","messages","required","maxLength","url","minValue","maxValue","numeric","isJson","methods","currentValue","field","errorMessages","undefined","entries","$dirty","$invalid","$touch","createValidatorsObject","items","Validators","keys","isJsone","mounted","props","default","String","Number","mixins","functions","rating","ratingValue","ratingCount","reviewCount","worstResult","bestResult","mapActions","mapGetters","calculateRating","parseInt","setRating","setWorst","setBest","setRatingResult","setWorstResult","setBestResult","getRating","Array","setRatingValues","calculateValue","duplicateValues","reviewsKeys","forEach","objectList","from","item","total","to","validations","validators","computed","set","component","VTextField","staticClass","el","k","hide","addItem","_v","_s","buttonTitle","disableButton","deleteItem","components","FormTree","properties","newItem","updateReviews","updateBreadcrumbs","setReviewRating","0","updateRatingValues","id","changeItemKey","arrayKey","newObject","replace","JSON","parse","reviewObject","resultItem","uuid","VBtn","VCol","VIcon","VRow","getSelectedObject","selected","Schema","dropdown_texts","dropdown_values","schemas","schemas_type","changeView","getSchemaType","offer","renderJson","setEmptyValue","updateProperty","fields","getSelectedValue","selected_index","getDropDownText","map","getDropDownValues","getSelectedItem","findIndex","VSelect","scopedSlots","_u","fn","ref","_g","menu2","VDatePicker","VMenu","fullWidth","VTextarea","updateReviewRating","number","stringify","styles","Input","Selector","Repeater","DatePicker","TextArea","ReviewRating","Custom","changeChildType","split","pop","filters","beforeText","string","textBefore","afterText","textAfter","toMinutes","clearSymbols","symbols","symbol","replaceAll","prettyJSON","e","schemasType","VApp","Vuetify","state","schemaType","jsonType","sourceType","mutations","updateDefault","actions","setDefaultData","commit","jsonString","run","getters","getJsonType","getSourceType","getDefaultData","reviews","updateReview","setReview","updateRating","review","dispatch","currentRating","reviewRating","getReviews","currentSchema","schemasList","updateCurrentSchema","updateSchemasList","setCurrentSchema","setSchemasList","getCurrentSchema","getSchemasList","Vuex","Store","schema","config","productionTip","schemaEmitter","vuetify","store","h","App","created","schema_integration","setLocaleData","i18n","$mount","findVal","regexp","some","search","isLastItem","objects","printComma","currentObjectKey","spliceObject","renderItem","isObject","isArray","mergeDeep","target","sources","source","assign","getFilters","filter","$options","ratingValueObject","ratingCountObject","$emit","disabled","obj","isNotEmptyValue","duplicateFor","comma","isDisplayName","getFiltersProp","repeaterType","isUpdate","Boolean","watch","display","JsonTree","SingleItem","ArrayItem","SelectorItem","DateItem","ObjectItem","selectSchema","icon","title","description","getSelectedSchema","conditions","postConditions","directives","rawName","domProps","composing","getSchemaName","Article","FAQPage","Product","Recipe","Breadcrumbs","formValues","_m","custom","_f","CustomItem","getConditionsValue","$set","getConditionsValueIds","currentConditions","handler","deep","getConditionsResult","displayIds","startsWith","ids","condition","setConditions","conditionsList","FormBuilder","JsonBuilder","Conditions","componentKey","schemaExist","getInnerJson","$refs","jsonTemplate","schema_integration_template","innerText","getAjaxSchemaSettings","post_id","security","displayJsonTemplate","needle","showOnChange","show","updateObject","updateItem","updateProperties","buildFromConfig","defaultConfigString","event","itemWalker","updated","$nextTick","setTimeout","wp","root","beforeDestroy","VCard","VCardText","VCardTitle","VContainer","VListItem","VListItemContent","VList","VListItemTitle","VMain"],"mappings":"aACE,SAASA,EAAqBC,GAQ7B,IAPA,IAMIC,EAAUC,EANVC,EAAWH,EAAK,GAChBI,EAAcJ,EAAK,GACnBK,EAAiBL,EAAK,GAIHM,EAAI,EAAGC,EAAW,GACpCD,EAAIH,EAASK,OAAQF,IACzBJ,EAAUC,EAASG,GAChBG,OAAOC,UAAUC,eAAeC,KAAKC,EAAiBX,IAAYW,EAAgBX,IACpFK,EAASO,KAAKD,EAAgBX,GAAS,IAExCW,EAAgBX,GAAW,EAE5B,IAAID,KAAYG,EACZK,OAAOC,UAAUC,eAAeC,KAAKR,EAAaH,KACpDc,EAAQd,GAAYG,EAAYH,IAG/Be,GAAqBA,EAAoBhB,GAE5C,MAAMO,EAASC,OACdD,EAASU,OAATV,GAOD,OAHAW,EAAgBJ,KAAKK,MAAMD,EAAiBb,GAAkB,IAGvDe,IAER,SAASA,IAER,IADA,IAAIC,EACIf,EAAI,EAAGA,EAAIY,EAAgBV,OAAQF,IAAK,CAG/C,IAFA,IAAIgB,EAAiBJ,EAAgBZ,GACjCiB,GAAY,EACRC,EAAI,EAAGA,EAAIF,EAAed,OAAQgB,IAAK,CAC9C,IAAIC,EAAQH,EAAeE,GACG,IAA3BX,EAAgBY,KAAcF,GAAY,GAE3CA,IACFL,EAAgBQ,OAAOpB,IAAK,GAC5Be,EAASM,EAAoBA,EAAoBC,EAAIN,EAAe,KAItE,OAAOD,EAIR,IAAIQ,EAAmB,GAKnBhB,EAAkB,CAC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AKqO,mBAE7BhI,IAJN,SAIA,GACQ,OAAOrG,KAAKmO,iBAAiBrP,OAInC4W,QA3JF,WA4JI1V,KAAK2V,WAAU,WACb3V,KAAK1C,OAAS0C,KAAKuU,mBAGvBxQ,QAhKF,WAgKA,WACI,EAAJ,4CACM,GAAI,WAAa,OAAvB,OAAuB,CAAvB,GACQ,EAAR,kCACQ,EAAR,gCACQ,EAAR,sCACA,CACQ,IACEjF,EAAQkJ,KAAKC,MAAMnJ,GAC7B,UAEQ,EAAR,gCACQ,EAAR,8BACQ,EAAR,gCAEM,EAAN,mBACM,EAAN,wBACM,EAAN,0CAEI8W,YAAW,WACT,EAAN,wBACM,EAAN,yCACA,MAEE3G,QAxLF,WAyLI,GAAI,qBAAuB4G,IAAMA,GAAGjZ,eAAe,QAAvD,OACA,QADA,EACA,GADA,EACA,GADA,EACA,GADA,EACA,IAEI,IAAJ,iCACI,GAAI,OAASkZ,EAAM,CACjB,IAAN,4BACA,kCACA,oCACM9V,KAAKoS,WAAapK,KAAKC,MAAMmK,GAEzByC,IACF7U,KAAKoO,eAAepO,KAAK+I,cACzB/I,KAAK4U,sBAAsBC,EAASC,MAI1CiB,cAzMF,WA0MI,EAAJ,iCCtSgV,M,uGCQ5U,GAAY,eACd,GACAjW,EACAoB,GACA,EACA,KACA,WACA,MAIa,UAAiB,QAgBhC,IAAkB,GAAW,CAAC8U,SAAA,KAAMC,UAAA,QAAUC,WAAA,QAAW5N,OAAA,KAAK6N,cAAA,KAAW5N,SAAA,KAAM6N,aAAA,KAAUC,iBAAAC,GAAA,KAAiBC,eAAAD,GAAA,KAAeE,SAAA,KAAMhO,OAAA,KAAKsB,UAAA,Q","file":"js/app.js","sourcesContent":[" \t// install a JSONP callback for chunk loading\n \tfunction webpackJsonpCallback(data) {\n \t\tvar chunkIds = data[0];\n \t\tvar moreModules = data[1];\n \t\tvar executeModules = data[2];\n\n \t\t// add \"moreModules\" to the modules object,\n \t\t// then flag all \"chunkIds\" as loaded and fire callback\n \t\tvar moduleId, chunkId, i = 0, resolves = [];\n \t\tfor(;i < chunkIds.length; i++) {\n \t\t\tchunkId = chunkIds[i];\n \t\t\tif(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) {\n \t\t\t\tresolves.push(installedChunks[chunkId][0]);\n \t\t\t}\n \t\t\tinstalledChunks[chunkId] = 0;\n \t\t}\n \t\tfor(moduleId in moreModules) {\n \t\t\tif(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {\n \t\t\t\tmodules[moduleId] = moreModules[moduleId];\n \t\t\t}\n \t\t}\n \t\tif(parentJsonpFunction) parentJsonpFunction(data);\n\n \t\twhile(resolves.length) {\n \t\t\tresolves.shift()();\n \t\t}\n\n \t\t// add entry modules from loaded chunk to deferred list\n \t\tdeferredModules.push.apply(deferredModules, executeModules || []);\n\n \t\t// run deferred modules when all chunks ready\n \t\treturn checkDeferredModules();\n \t};\n \tfunction checkDeferredModules() {\n \t\tvar result;\n \t\tfor(var i = 0; i < deferredModules.length; i++) {\n \t\t\tvar deferredModule = deferredModules[i];\n \t\t\tvar fulfilled = true;\n \t\t\tfor(var j = 1; j < deferredModule.length; j++) {\n \t\t\t\tvar depId = deferredModule[j];\n \t\t\t\tif(installedChunks[depId] !== 0) fulfilled = false;\n \t\t\t}\n \t\t\tif(fulfilled) {\n \t\t\t\tdeferredModules.splice(i--, 1);\n \t\t\t\tresult = __webpack_require__(__webpack_require__.s = deferredModule[0]);\n \t\t\t}\n \t\t}\n\n \t\treturn result;\n \t}\n\n \t// The module cache\n \tvar installedModules = {};\n\n \t// object to store loaded and loading chunks\n \t// undefined = chunk not loaded, null = chunk preloaded/prefetched\n \t// Promise = chunk loading, 0 = chunk loaded\n \tvar installedChunks = {\n \t\t\"app\": 0\n \t};\n\n \tvar deferredModules = [];\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"/\";\n\n \tvar jsonpArray = window[\"webpackJsonp\"] = window[\"webpackJsonp\"] || [];\n \tvar oldJsonpFunction = jsonpArray.push.bind(jsonpArray);\n \tjsonpArray.push = webpackJsonpCallback;\n \tjsonpArray = jsonpArray.slice();\n \tfor(var i = 0; i < jsonpArray.length; i++) webpackJsonpCallback(jsonpArray[i]);\n \tvar parentJsonpFunction = oldJsonpFunction;\n\n\n \t// add entry module to deferred list\n \tdeferredModules.push([0,\"chunk-vendors\"]);\n \t// run deferred modules when ready\n \treturn checkDeferredModules();\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.node.render)?_c('v-col',{class:_vm.classes,attrs:{\"cols\":_vm.cols}},[(_vm.node.children && 'object' === typeof _vm.node.children)?_c('v-row',_vm._l((_vm.node.children),function(value,key,index){return _c('node',{key:key,attrs:{\"index\":index,\"type\":key,\"node\":value}})}),1):_c('div',[(_vm.node.render)?_c(_vm.node.formComponent,{tag:\"component\",attrs:{\"name\":_vm.type,\"updateKey\":_vm.type,\"vuetifyProps\":_vm.getCustomProps(_vm.node),\"componentProps\":_vm.node}}):_vm._e()],1)],1):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.componentProps.render)?_c('v-text-field',_vm._b({attrs:{\"label\":_vm.componentProps.placeholder,\"counter\":_vm.counter,\"counter-value\":_vm.printCounterValue,\"error-messages\":_vm.displayErrors(_vm.componentProps.validation, _vm.$v.getCurrentValue)},on:{\"blur\":function($event){return _vm.validateInput(_vm.$v)},\"input\":function($event){return _vm.updateField(_vm.updateKey, $event)}},model:{value:(_vm.getCurrentValue),callback:function ($$v) {_vm.getCurrentValue=$$v},expression:\"getCurrentValue\"}},'v-text-field',_vm.vuetifyProps,false)):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import Vue from 'vue'\nimport Vuelidate from \"vuelidate\";\n\nimport {required, maxLength, url, numeric, minValue, maxValue} from 'vuelidate/lib/validators'\n\nconst isJson = (string) => {\n try {\n JSON.parse(string)\n return true\n } catch (e) {\n return false\n }\n}\n\nVue.use(Vuelidate)\n\nexport default {\n data() {\n return {\n messages: {\n required: 'This field is required',\n maxLength: 'Too long field',\n url: 'Invalid URL',\n minValue: '',\n maxValue: '',\n numeric: 'Number is required',\n isJson: 'The input value not in json format'\n },\n counter: '',\n }\n },\n methods: {\n printCounterValue() {\n if (this.counter !== '') {\n return this.currentValue.length\n }\n },\n displayErrors(validation, field, rating = false) {\n let errorMessages = []\n if (validation !== undefined) {\n for (const [key, value] of Object.entries(validation)) {\n if (field.$dirty && field.$invalid && !field[key]) {\n errorMessages.push(this.messages[key])\n }\n }\n }\n return errorMessages\n },\n validateInput($v) {\n $v.$touch()\n return\n },\n createValidatorsObject(items) {\n let Validators = {}\n\n if (items === undefined || Object.keys(items).length === 0) {\n return Validators\n }\n\n if (items.required) {\n Validators['required'] = required\n }\n\n if (items.maxLength > 0) {\n Validators['maxLength'] = maxLength(items['maxLength'])\n }\n\n if (items.url) {\n Validators['url'] = url\n }\n\n if (items.minValue > 0) {\n Validators['minValue'] = minValue(items['minValue'])\n }\n\n if (items.maxValue > 0) {\n Validators['maxValue'] = maxValue(items['maxValue'])\n }\n\n if (items.numeric) {\n Validators['numeric'] = numeric\n }\n\n if (items.isJson) {\n Validators['isJson'] = isJsone\n }\n\n return Validators\n }\n },\n mounted() {\n if (this.validation !== undefined && this.validation.maxLength !== undefined) {\n this.counter = this.validation.maxLength\n }\n }\n}\n","export default {\n props: {\n componentProps: {\n type: Object,\n default() {\n return {\n placeholder: '',\n validation: {},\n value: ''\n }\n }\n },\n name: {\n type: [String, Number],\n required: false\n },\n vuetifyProps: {\n type: Object,\n default() {\n return {}\n }\n }\n }\n}\n","import functions from \"@/mixins/functions\";\nimport {mapActions, mapGetters} from \"vuex\";\n\nexport default {\n mixins: [functions],\n data() {\n return {\n rating: {\n type: Object,\n default() {\n return {\n ratingValue: null,\n ratingCount: null,\n reviewCount: null,\n worstResult: null,\n bestResult: null,\n }\n }\n }\n }\n },\n methods: {\n ...mapActions(['setRatingResult', 'setWorstResult', 'setBestResult']),\n ...mapGetters(['getRating']),\n calculateRating(field, value) {\n if ('' !== value) {\n value = parseInt(value)\n }\n switch (field) {\n case 'aggregateRating.ratingValue':\n this.setRating(value)\n break;\n case 'aggregateRating.worstRating':\n this.setWorst(value)\n break;\n case 'aggregateRating.bestRating':\n this.setBest(value)\n break;\n default:\n break;\n\n }\n },\n setRating(value) {\n this.setRatingResult(value)\n },\n setWorst(value) {\n this.setWorstResult(value)\n },\n setBest(value) {\n this.setBestResult(value)\n }\n },\n mounted() {\n this.rating = this.getRating()\n }\n}\n","<template>\n <div>\n <v-text-field\n v-model=\"getCurrentValue\"\n v-if=\"componentProps.render\"\n :label=\"componentProps.placeholder\"\n @blur=\"validateInput($v)\"\n @input=\"updateField(updateKey, $event)\"\n :counter=\"counter\"\n :counter-value=\"printCounterValue\"\n :error-messages=\"displayErrors(componentProps.validation, $v.getCurrentValue)\"\n v-bind=\"vuetifyProps\"\n ></v-text-field>\n </div>\n</template>\n\n<script>\n\nimport validation from \"@/mixins/validation\";\nimport formProps from \"@/mixins/form-props\";\nimport rating from \"@/mixins/rating\";\nimport {mapGetters} from 'vuex'\nimport {schemaEmitter} from \"@/main\";\n\nexport default {\n mixins: [validation, formProps, rating],\n props: {\n updateKey: {\n type: [String, Array, Number],\n required: true\n }\n },\n data() {\n return {\n currentValue: '',\n }\n },\n methods: {\n ...mapGetters(['getSchemaType', 'getReviews']),\n updateField(field, value) {\n this.validateInput(this.$v)\n this.calculateRating(field, value)\n schemaEmitter.$emit('input', field, value)\n this.setRatingValues(field, value)\n this.calculateValue()\n this.duplicateValues(value)\n },\n setRatingValues(field, value) {\n let reviewsKeys = Object.keys(this.getReviews())\n reviewsKeys.forEach((key) => {\n if ('aggregateRating.bestRating' === field) {\n schemaEmitter.$emit('input', `review.${key}.reviewRating.bestRating`, value)\n schemaEmitter.$emit('input', `review.${key}.reviewRating.ratingValue`, {\n validation: {\n maxValue: value\n }\n })\n }\n if ('aggregateRating.worstRating' === field) {\n schemaEmitter.$emit('input', `review.${key}.reviewRating.worstRating`, value)\n schemaEmitter.$emit('input', `review.${key}.reviewRating.ratingValue`, {\n validation: {\n minValue: value\n }\n })\n }\n })\n },\n calculateValue() {\n if (this.componentProps.hasOwnProperty('calculateValue')) {\n let total = 0;\n let source = this.getSchemaType()\n let objectList = this.componentProps.calculateValue\n for (let item in objectList.from) {\n if (objectList.from.hasOwnProperty(item)) {\n let object = this.findVal(source, objectList.from[item])\n if ('' !== object.value) {\n total += parseInt(object.value)\n }\n }\n for (let item in objectList.to) {\n if (objectList.to.hasOwnProperty(item)) {\n let r = total > 0 ? total : ''\n schemaEmitter.$emit('input', objectList.to[item], r)\n }\n }\n }\n }\n }\n },\n mounted() {\n this.calculateRating(this.updateKey, this.getCurrentValue)\n },\n validations() {\n return {\n getCurrentValue: this.validators\n }\n },\n computed: {\n validators: {\n get() {\n return this.createValidatorsObject(this.componentProps.validation)\n },\n set(value) {\n return value\n }\n },\n getCurrentValue: {\n get() {\n return this.componentProps.value ?? 'adasdasd'\n },\n set(value) {\n return value\n }\n }\n }\n}\n</script>\n\n<style scoped>\n\n</style>\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Input.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Input.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Input.vue?vue&type=template&id=53a66dd1&scoped=true&\"\nimport script from \"./Input.vue?vue&type=script&lang=js&\"\nexport * from \"./Input.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"53a66dd1\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VTextField } from 'vuetify/lib/components/VTextField';\ninstallComponents(component, {VTextField})\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',_vm._l((_vm.getCurrentValue),function(item,key){return _c('div',{key:key,staticClass:\"repeater-items row\"},[_vm._l((item),function(el,k){return (!_vm.componentProps.hide)?_c('form-tree',{key:k,attrs:{\"index\":key,\"type\":k,\"node\":el}}):_vm._e()}),_c('v-row',[_c('v-col',{attrs:{\"cols\":\"6\"}},[_c('v-btn',{attrs:{\"small\":\"\",\"color\":\"primary\"},on:{\"click\":function($event){return _vm.addItem(key, _vm.componentProps.name)}}},[_c('v-icon',{attrs:{\"small\":\"\"}},[_vm._v(\" mdi-plus \")]),_vm._v(\" \"+_vm._s(_vm.componentProps.buttonTitle)+\" \")],1)],1),_c('v-col',{attrs:{\"cols\":\"6\"}},[_c('v-btn',{attrs:{\"small\":\"\",\"color\":\"error\",\"disabled\":_vm.disableButton},on:{\"click\":function($event){return _vm.deleteItem(key)}}},[_vm._v(\"Delete\")])],1)],1)],2)}),0)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <div>\n <div class=\"repeater-items row\" v-for=\"(item, key) in getCurrentValue\" :key=\"key\">\n <form-tree v-if=\"!componentProps.hide\" v-for=\"(el, k) in item\" :index=\"key\" :key=\"k\" :type=\"k\"\n :node=\"el\"></form-tree>\n <v-row>\n <v-col cols=\"6\">\n <v-btn small color=\"primary\" @click=\"addItem(key, componentProps.name)\">\n <v-icon small>\n mdi-plus\n </v-icon>\n {{ componentProps.buttonTitle }}\n </v-btn>\n </v-col>\n <v-col cols=\"6\">\n <v-btn small color=\"error\" @click=\"deleteItem(key)\" :disabled=\"disableButton\">Delete</v-btn>\n </v-col>\n </v-row>\n </div>\n </div>\n</template>\n\n<script>\nimport {schemaEmitter} from '@/main'\nimport {mapActions, mapGetters} from 'vuex'\nimport formProps from \"@/mixins/form-props\";\nimport functions from \"@/mixins/functions\";\nimport validation from \"@/mixins/validation\";\n\nexport default {\n mixins: [validation, formProps, functions],\n data() {\n return {\n currentValue: String,\n }\n },\n components: {\n FormTree: () => import(\"@/FormElements/FormTree\")\n },\n methods: {\n ...mapActions(['setReviewRating', 'updateReviewRating']),\n ...mapGetters(['getReviews', 'getRating', 'getDefaultData']),\n addItem(key, name) {\n let properties = {}\n if (this.componentProps.value.length === 1 && this.componentProps.hide) {\n properties['hide'] = false\n if ('review' === this.name || 'recipeInstructions' === this.name) {\n properties['renderJson'] = true\n }\n schemaEmitter.$emit('input', this.name, properties)\n } else {\n let itemObject = JSON.parse(JSON.stringify(this.findVal(this.getDefaultData(), this.componentProps.name)))\n let item = itemObject.value.shift()\n let newItem = this.changeItemKey(item, key, name)\n this.componentProps.value.push(newItem)\n schemaEmitter.$emit('input', this.name, {\n value: this.componentProps.value\n })\n }\n this.updateReviews()\n this.updateBreadcrumbs(this.componentProps.value)\n this.duplicateValues(this.componentProps.value)\n },\n deleteItem(id) {\n let properties = {}\n if (this.componentProps.value.length === 1 && this.componentProps.hide === false) {\n properties['hide'] = true\n if ('review' === this.name || 'recipeInstructions' === this.name) {\n properties['renderJson'] = false\n }\n schemaEmitter.$emit('input', this.name, properties)\n schemaEmitter.$emit('input', 'review.0.reviewRating.ratingValue', '')\n this.setReviewRating({\n 0: \"\"\n })\n this.updateRatingValues('')\n }\n if (this.componentProps.value.length > 1) {\n this.componentProps.value.splice(id, 1)\n schemaEmitter.$emit('input', this.name, {\n value: this.componentProps.value\n })\n }\n this.updateReviews()\n this.updateBreadcrumbs(this.componentProps.value)\n this.duplicateValues(this.componentProps.value)\n\n },\n changeItemKey(item, key, name) {\n let arrayKey = Object.keys(item).shift().split('.')\n arrayKey.splice(-1, 1)\n let id = arrayKey.join('.')\n let uuid = Math.random().toString(16).slice(2)\n let newKey = `${name}.${uuid}`\n let objectString = JSON.stringify(item)\n let exp = new RegExp(`\"${id}`, 'g')\n let newObject = objectString.replace(exp, `\"${newKey}`)\n newObject = newObject.replace(/\"uuid\":\"(.+?)\",/gm, `\"uuid\":\"${uuid}\",`)\n\n return JSON.parse(newObject)\n },\n updateReviews() {\n if ('review' === this.name && undefined !== this.getCurrentValue) {\n let reviewObject = {}\n this.getCurrentValue.forEach((item, index) => {\n let exp = new RegExp('.reviewRating.ratingValue$', 'g')\n let resultItem = this.findVal(item, exp, true)\n reviewObject[resultItem.uuid] = resultItem.value\n })\n this.setReviewRating(reviewObject)\n let rating = this.getRating()\n schemaEmitter.$emit('input', 'aggregateRating.ratingValue', rating.ratingValue)\n schemaEmitter.$emit('input', 'aggregateRating.ratingCount', rating.ratingCount)\n schemaEmitter.$emit('input', 'aggregateRating.reviewCount', rating.reviewCount)\n }\n },\n updateBreadcrumbs(items) {\n if ('itemListElement' === this.name) {\n items.forEach(function (item, i) {\n let keys = Object.keys(item)\n let positionKey = keys.filter(el => el.endsWith('.position')).shift()\n let index = i + 1\n schemaEmitter.$emit('input', positionKey, index)\n })\n }\n },\n },\n validations() {\n return {\n getCurrentValue: this.validators\n }\n },\n mounted() {\n this.updateReviews()\n },\n computed: {\n validators: {\n get() {\n return this.createValidatorsObject(this.componentProps.validation)\n },\n set(value) {\n return value\n }\n },\n getCurrentValue: {\n get() {\n this.validateInput(this.$v)\n this.duplicateValues(this.componentProps.value)\n return this.componentProps.value\n },\n set(value) {\n return value\n }\n },\n disableButton: function () {\n if (this.componentProps.hasOwnProperty('hide')) {\n return !!(this.componentProps.value.length === 1 && this.componentProps.hide);\n } else {\n return this.componentProps.value.length <= 1;\n }\n }\n }\n}\n</script>\n\n<style scoped>\n\n</style>\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Repeater.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Repeater.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Repeater.vue?vue&type=template&id=f1bcc2e0&scoped=true&\"\nimport script from \"./Repeater.vue?vue&type=script&lang=js&\"\nexport * from \"./Repeater.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"f1bcc2e0\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VRow } from 'vuetify/lib/components/VGrid';\ninstallComponents(component, {VBtn,VCol,VIcon,VRow})\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('v-select',_vm._b({attrs:{\"items\":_vm.componentProps.value,\"item-text\":\"value\",\"item-value\":\"value\",\"attach\":\"\",\"label\":_vm.componentProps.placeholder},on:{\"change\":function($event){_vm.updateField(_vm.updateKey, _vm.getSelectedObject($event, _vm.componentProps.value))}},model:{value:(_vm.selected),callback:function ($$v) {_vm.selected=$$v},expression:\"selected\"}},'v-select',_vm.vuetifyProps,false))],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <div>\n <v-select\n v-model=\"selected\"\n :items=\"componentProps.value\"\n item-text=\"value\"\n item-value=\"value\"\n attach=\"\"\n :label=\"componentProps.placeholder\"\n @change=\"updateField(updateKey, getSelectedObject($event, componentProps.value))\"\n v-bind=\"vuetifyProps\"\n ></v-select>\n </div>\n</template>\n\n<script>\n\nimport {mapGetters, mapActions, mapMutations} from 'vuex'\nimport {schemaEmitter} from \"@/main\";\nimport Schema from \"@//components/Schema\"\nimport formProps from '@/mixins/form-props'\nimport functions from \"@/mixins/functions\";\n\nexport default {\n mixins: [formProps, functions],\n props: ['name', 'placeholder', 'fieldValues', 'validation', 'updateKey', 'schemas_type'],\n components: {\n Schema\n },\n data() {\n return {\n selected: '',\n dropdown_texts: [],\n dropdown_values: [],\n schemas: this.schemas_type,\n result: '',\n }\n },\n methods: {\n ...mapActions(['run']),\n ...mapMutations(['updateProperty']),\n updateField(field, value) {\n schemaEmitter.$emit('input', field, {\n value: value\n })\n this.changeView()\n },\n changeView() {\n if (!this.getSchemaType.hasOwnProperty('offers')) {\n return\n }\n if ('undefined' === typeof this.componentProps.changeView || false === this.componentProps.changeView) {\n return\n }\n let offer = this.getSchemaType.offers.children\n for (const property in this.getSchemaType.offers.children) {\n for (const i in offer[property]) {\n if (i === \"showOnSelect\") {\n if (this.selected === offer[property][i]['value']) {\n schemaEmitter.$emit('input', property, {\n render: true,\n renderJson: offer[property][i]['show']['renderJson']\n })\n } else {\n schemaEmitter.$emit('input', property, {\n render: false,\n renderJson: offer[property][i]['hide']['renderJson'],\n value: this.setEmptyValue(offer[property]['value'])\n })\n }\n }\n }\n }\n this.updateProperty(['schemaType', this.getSchemaType])\n },\n getSelectedObject(value, fields) {\n let index = fields.findIndex((i) => {\n return value === i.value\n })\n for (let key in fields) {\n if (parseInt(key) === index) {\n fields[key].selected = true\n } else {\n fields[key].selected = false\n }\n }\n\n return fields\n },\n getSelectedValue() {\n let selected_index = this.componentProps.value.findIndex(function (i) {\n return i.selected\n })\n return this.componentProps.value[selected_index]\n },\n getDropDownText() {\n return this.componentProps.value.map(function (item) {\n return item.value\n })\n },\n getDropDownValues() {\n let result = []\n let keys = this.componentProps.value.keys()\n for (let key of keys) {\n result.push(key)\n }\n\n return result\n }\n },\n validations() {\n return {\n selected: this.validators\n }\n },\n mounted() {\n this.selected = this.getSelectedValue()\n // this.dropdown_texts = this.getDropDownText()\n // this.dropdown_values = this.getDropDownValues()\n },\n computed: {\n ...mapGetters([\"getJsonType\", \"getSchemaType\", \"getSourceType\"]),\n getSelectedItem: function () {\n return this.componentProps.value.findIndex(function (i) {\n return i.selected\n })\n }\n },\n // watch: {\n // selected: {\n // handler: 'changeView'\n // },\n // },\n\n}\n</script>\n\n<style scoped>\n\n</style>\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Selector.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Selector.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Selector.vue?vue&type=template&id=567bb4d8&scoped=true&\"\nimport script from \"./Selector.vue?vue&type=script&lang=js&\"\nexport * from \"./Selector.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"567bb4d8\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VSelect } from 'vuetify/lib/components/VSelect';\ninstallComponents(component, {VSelect})\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('v-menu',{attrs:{\"close-on-content-click\":false,\"nudge-right\":40,\"transition\":\"scale-transition\",\"offset-y\":\"\",\"attach\":\"\",\"min-width\":\"290px\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nvar attrs = ref.attrs;\nreturn [_c('v-text-field',_vm._g(_vm._b({attrs:{\"label\":_vm.componentProps.placeholder,\"prepend-icon\":\"event\",\"vuetifyProps\":_vm.vuetifyProps},model:{value:(_vm.getCurrentValue),callback:function ($$v) {_vm.getCurrentValue=$$v},expression:\"getCurrentValue\"}},'v-text-field',attrs,false),on))]}}]),model:{value:(_vm.menu2),callback:function ($$v) {_vm.menu2=$$v},expression:\"menu2\"}},[_c('v-date-picker',{on:{\"change\":function($event){_vm.menu2 = false},\"input\":function($event){return _vm.updateField(_vm.updateKey, $event)}},model:{value:(_vm.getCurrentValue),callback:function ($$v) {_vm.getCurrentValue=$$v},expression:\"getCurrentValue\"}})],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <div>\n <v-menu\n v-model=\"menu2\"\n :close-on-content-click=\"false\"\n :nudge-right=\"40\"\n transition=\"scale-transition\"\n offset-y\n attach=\"\"\n min-width=\"290px\"\n >\n <template v-slot:activator=\"{ on, attrs }\">\n <v-text-field\n v-model=\"getCurrentValue\"\n :label=\"componentProps.placeholder\"\n prepend-icon=\"event\"\n v-bind=\"attrs\"\n v-on=\"on\"\n :vuetifyProps=\"vuetifyProps\"\n ></v-text-field>\n </template>\n <v-date-picker v-model=\"getCurrentValue\" @change=\"menu2 = false\"\n @input=\"updateField(updateKey, $event)\"></v-date-picker>\n </v-menu>\n </div>\n</template>\n\n<script>\nimport {schemaEmitter} from \"@/main\";\nimport formProps from \"@/mixins/form-props\";\nimport functions from \"@/mixins/functions\";\n\nexport default {\n mixins: [formProps, functions],\n props: {\n updateKey: {\n type: [String, Array],\n required: true\n }\n },\n data: () => ({\n currentValue: new Date().toISOString().substr(0, 10),\n menu: false,\n modal: false,\n menu2: false,\n validators: {}\n }),\n methods: {\n updateField(field, value) {\n schemaEmitter.$emit('input', field, value)\n this.duplicateValues(value)\n }\n },\n mounted() {\n this.updateField(this.updateKey, this.getCurrentValue)\n },\n computed: {\n getCurrentValue: {\n get() {\n return this.componentProps.value ?? new Date().toISOString().substr(0, 10)\n },\n set(value) {\n return value\n }\n }\n }\n}\n</script>\n\n<style scoped>\n\n</style>\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DatePicker.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DatePicker.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./DatePicker.vue?vue&type=template&id=f3321252&scoped=true&\"\nimport script from \"./DatePicker.vue?vue&type=script&lang=js&\"\nexport * from \"./DatePicker.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"f3321252\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VDatePicker } from 'vuetify/lib/components/VDatePicker';\nimport { VMenu } from 'vuetify/lib/components/VMenu';\nimport { VTextField } from 'vuetify/lib/components/VTextField';\ninstallComponents(component, {VDatePicker,VMenu,VTextField})\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('v-textarea',{attrs:{\"label\":_vm.componentProps.placeholder,\"full-width\":_vm.fullWidth,\"counter\":_vm.counter,\"counter-value\":_vm.printCounterValue,\"error-messages\":_vm.displayErrors(_vm.componentProps.validation, _vm.$v.currentValue)},on:{\"input\":function($event){return _vm.updateField(_vm.updateKey, $event)},\"change\":function($event){return _vm.validateInput(_vm.$v)}},model:{value:(_vm.currentValue),callback:function ($$v) {_vm.currentValue=$$v},expression:\"currentValue\"}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <div>\n <v-textarea\n v-model=\"currentValue\"\n :label=\"componentProps.placeholder\"\n @input=\"updateField(updateKey, $event)\"\n @change=\"validateInput($v)\"\n :full-width=\"fullWidth\"\n :counter=\"counter\"\n :counter-value=\"printCounterValue\"\n :error-messages=\"displayErrors(componentProps.validation, $v.currentValue)\"\n ></v-textarea>\n </div>\n</template>\n\n<script>\n\nimport validation from \"@/mixins/validation\";\nimport formProps from \"@/mixins/form-props\";\nimport {schemaEmitter} from \"@/main\";\nimport functions from \"@/mixins/functions\";\n\nexport default {\n mixins: [validation, formProps, functions],\n props: {\n updateKey: {\n type: [String, Array],\n required: true\n },\n },\n data() {\n return {\n currentValue: '',\n validators: {},\n fullWidth: true\n }\n },\n methods: {\n updateField(field, value) {\n schemaEmitter.$emit('input', field, value)\n this.duplicateValues(value)\n }\n },\n validations() {\n return {\n currentValue: this.validators\n }\n },\n mounted() {\n this.validators = this.createValidatorsObject(this.componentProps.validation)\n this.currentValue = this.componentProps.value\n }\n}\n</script>\n\n<style scoped>\n\n</style>\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TextArea.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TextArea.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TextArea.vue?vue&type=template&id=2841bf26&scoped=true&\"\nimport script from \"./TextArea.vue?vue&type=script&lang=js&\"\nexport * from \"./TextArea.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"2841bf26\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VTextarea } from 'vuetify/lib/components/VTextarea';\ninstallComponents(component, {VTextarea})\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('v-text-field',_vm._b({attrs:{\"label\":_vm.componentProps.placeholder,\"counter\":_vm.counter,\"counter-value\":_vm.printCounterValue,\"error-messages\":_vm.displayErrors(_vm.componentProps.validation, _vm.$v.getCurrentValue)},on:{\"input\":function($event){return _vm.updateField(_vm.updateKey, $event)}},model:{value:(_vm.getCurrentValue),callback:function ($$v) {_vm.getCurrentValue=$$v},expression:\"getCurrentValue\"}},'v-text-field',_vm.vuetifyProps,false))],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <div>\n <v-text-field\n v-model=\"getCurrentValue\"\n :label=\"componentProps.placeholder\"\n @input=\"updateField(updateKey, $event)\"\n :counter=\"counter\"\n :counter-value=\"printCounterValue\"\n :error-messages=\"displayErrors(componentProps.validation, $v.getCurrentValue)\"\n v-bind=\"vuetifyProps\"\n ></v-text-field>\n </div>\n</template>\n\n<script>\n\nimport validation from \"@/mixins/validation\";\nimport formProps from \"@/mixins/form-props\";\nimport rating from \"@/mixins/rating\";\nimport {mapActions, mapGetters} from 'vuex'\nimport {schemaEmitter} from \"@/main\";\n\nexport default {\n mixins: [validation, formProps, rating],\n props: {\n updateKey: {\n type: [String, Array],\n required: true\n }\n },\n methods: {\n ...mapGetters(['getRating', 'getReviews']),\n ...mapActions(['updateReviewRating']),\n updateField(field, value) {\n let index = field.split('.')[1]\n if (undefined !== index) {\n this.updateReviewRating({\n number: index,\n value: value\n })\n }\n schemaEmitter.$emit('input', field, value)\n this.updateRatingValues(value)\n }\n },\n validations() {\n return {\n getCurrentValue: this.validators\n }\n },\n computed: {\n validators: {\n get() {\n return this.createValidatorsObject(this.componentProps.validation)\n },\n set(value) {\n return value\n }\n },\n getCurrentValue: {\n get() {\n this.validateInput(this.$v)\n return this.componentProps.value ?? parseInt(this.componentProps.value)\n },\n set(value) {\n return value\n }\n }\n }\n}\n</script>\n\n<style scoped>\n\n</style>\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ReviewRating.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ReviewRating.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./ReviewRating.vue?vue&type=template&id=36e7678f&scoped=true&\"\nimport script from \"./ReviewRating.vue?vue&type=script&lang=js&\"\nexport * from \"./ReviewRating.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"36e7678f\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VTextField } from 'vuetify/lib/components/VTextField';\ninstallComponents(component, {VTextField})\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('v-textarea',{attrs:{\"label\":_vm.componentProps.placeholder,\"full-width\":_vm.fullWidth,\"counter\":_vm.counter,\"counter-value\":_vm.printCounterValue,\"error-messages\":_vm.displayErrors(_vm.componentProps.validation, _vm.$v.currentValue)},on:{\"input\":function($event){return _vm.updateField(_vm.updateKey, $event)},\"change\":function($event){return _vm.validateInput(_vm.$v)}},model:{value:(_vm.currentValue),callback:function ($$v) {_vm.currentValue=$$v},expression:\"currentValue\"}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <div>\n <v-textarea\n v-model=\"currentValue\"\n :label=\"componentProps.placeholder\"\n @input=\"updateField(updateKey, $event)\"\n @change=\"validateInput($v)\"\n :full-width=\"fullWidth\"\n :counter=\"counter\"\n :counter-value=\"printCounterValue\"\n :error-messages=\"displayErrors(componentProps.validation, $v.currentValue)\"\n ></v-textarea>\n </div>\n</template>\n\n<script>\n\nimport validation from \"@/mixins/validation\";\nimport formProps from \"@/mixins/form-props\";\nimport {schemaEmitter} from \"@/main\";\nimport functions from \"@/mixins/functions\";\n\nexport default {\n mixins: [validation, formProps, functions],\n props: {\n updateKey: {\n type: [String, Array],\n required: true\n },\n },\n data() {\n return {\n currentValue: '',\n validators: {},\n fullWidth: true\n }\n },\n methods: {\n updateField(field, value) {\n schemaEmitter.$emit('input', field, value)\n }\n },\n validations() {\n return {\n currentValue: this.validators\n }\n },\n mounted() {\n this.validators = this.createValidatorsObject(this.componentProps.validation)\n if( this.componentProps.value ) {\n this.currentValue = JSON.stringify(this.componentProps.value)\n }\n }\n}\n</script>\n\n<style scoped>\n\n</style>\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Custom.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Custom.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Custom.vue?vue&type=template&id=530dda9f&scoped=true&\"\nimport script from \"./Custom.vue?vue&type=script&lang=js&\"\nexport * from \"./Custom.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"530dda9f\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VTextarea } from 'vuetify/lib/components/VTextarea';\ninstallComponents(component, {VTextarea})\n","import {schemaEmitter} from \"@/main\";\n\nexport default {\n data() {\n return {\n cols: 12,\n classes: ''\n }\n },\n mounted() {\n if (this.node.styles.cols !== undefined) {\n this.cols = this.node.styles.cols\n }\n if( this.node.styles.classes !== undefined ) {\n this.classes = this.node.styles.classes\n }\n }\n}\n","<template>\n <v-col :class=\"classes\" :cols=\"cols\" v-if=\"node.render\">\n <v-row v-if=\"node.children && 'object' === typeof node.children\">\n <node v-for=\"(value, key, index) in node.children\" :index=\"index\" :key=\"key\" :type=\"key\" :node=\"value\"></node>\n </v-row>\n <div v-else>\n <component\n v-if=\"node.render\"\n :is=\"node.formComponent\"\n :name=\"type\"\n :updateKey=\"type\"\n :vuetifyProps=\"getCustomProps(node)\"\n :componentProps=\"node\"\n ></component>\n </div>\n </v-col>\n</template>\n\n<script>\nimport Input from \"@/FormElements/Input\";\nimport Repeater from \"@/FormElements/Repeater\";\nimport Selector from \"@/FormElements/Selector\";\nimport DatePicker from \"@/FormElements/DatePicker\";\nimport TextArea from \"@/FormElements/TextArea\";\nimport ReviewRating from \"@/FormElements/ReviewRating\";\nimport Custom from \"@/FormElements/Custom\";\nimport styles from \"@/mixins/styles\";\n\nexport default {\n mixins: [styles],\n name: \"node\",\n props: {\n node: Object,\n type: [String, Number],\n index: Number\n },\n components: {\n Input,\n Selector,\n Repeater,\n DatePicker,\n TextArea,\n ReviewRating,\n Custom\n },\n methods: {\n getCustomProps(node) {\n return node.vuetifyProps !== undefined ? node.vuetifyProps : {}\n }\n },\n computed: {\n changeChildType() {\n return this.type.split('.').pop()\n }\n },\n mounted() {\n }\n}\n</script>\n\n<style scoped>\n.ptb-0 {\n padding-top: 0;\n padding-bottom: 0;\n}\n</style>\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FormTree.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FormTree.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./FormTree.vue?vue&type=template&id=a9df98ac&scoped=true&\"\nimport script from \"./FormTree.vue?vue&type=script&lang=js&\"\nexport * from \"./FormTree.vue?vue&type=script&lang=js&\"\nimport style0 from \"./FormTree.vue?vue&type=style&index=0&id=a9df98ac&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"a9df98ac\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VRow } from 'vuetify/lib/components/VGrid';\ninstallComponents(component, {VCol,VRow})\n","export default {\n filters: {\n beforeText: function (string, textBefore = '') {\n return `${textBefore}${string}`\n },\n afterText: function (string, textAfter = '') {\n return `${string}${textAfter}`\n },\n toMinutes: function (string) {\n return `PT${string}M`\n },\n clearSymbols: function (string, symbols) {\n symbols.forEach(symbol => {\n string = string.replaceAll(symbol, '')\n })\n return string\n },\n prettyJSON: function (string) {\n if (!string) {\n return ''\n }\n try {\n return JSON.stringify(string, null, 4)\n } catch (e) {\n return ''\n }\n }\n }\n}\n","export * from \"-!../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=style&index=0&lang=css&\"","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./JsonTree.vue?vue&type=style&index=0&id=516b3065&scoped=true&lang=css&\"","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Schema.vue?vue&type=style&index=0&lang=css&\"","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FormTree.vue?vue&type=style&index=0&id=a9df98ac&scoped=true&lang=css&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-app',{attrs:{\"id\":\"schema\"}},[_c('div',{attrs:{\"id\":\"app\"}},[_c('Schema',{attrs:{\"schemas_type\":_vm.schemasType}})],1)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <v-app id=\"schema\">\n <div id=\"app\">\n <Schema :schemas_type=\"schemasType\"/>\n </div>\n </v-app>\n</template>\n\n<script>\nimport Schema from \"./components/Schema\"\n\nexport default {\n name: 'App',\n data() {\n return {\n schemasType: [\n {\n title: \"Article\",\n description: '- NewsArticle, BlogPosting',\n icon: 'mdi-newspaper',\n },\n {\n title: \"Breadcrumbs\",\n description: '',\n icon: \"mdi-chevron-double-right\"\n },\n {\n title: \"FAQPage\",\n description: '',\n icon: \"mdi-help-circle-outline\"\n },\n {\n title: \"Product\",\n description: '- Offer, AggregateRating, Reviews',\n icon: \"mdi-tag-outline\"\n },\n {\n title: \"Recipe\",\n description: '',\n icon: \"mdi-chef-hat\"\n },\n {\n title: \"Custom\",\n description: '- Insert your own schema',\n icon: 'mdi-border-color'\n }\n ],\n }\n },\n components: {\n Schema\n }\n}\n</script>\n\n<style>\n\n#app {\n font-family: 'Avenir', Helvetica, Arial, sans-serif;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n text-align: center;\n color: #2c3e50;\n}\n\npre {\n text-align: left;\n}\n\n.test {\n margin-top: 50px;\n}\n\n.json-row {\n height: 15px;\n}\n\n.inner {\n margin-left: 5px;\n}\n\n.tag {\n color: #881280;\n}\n\n.attr {\n color: #994500;\n}\n\n.val {\n color: #1a1aa6;\n}\n\n#app input[type=checkbox],\n#app input[type=color],\n#app input[type=date],\n#app input[type=datetime-local],\n#app input[type=datetime],\n#app input[type=email],\n#app input[type=month],\n#app input[type=number],\n#app input[type=password],\n#app input[type=radio],\n#app input[type=search],\n#app input[type=tel],\n#app input[type=text],\n#app input[type=time],\n#app input[type=url],\n#app input[type=week],\n#app select,\n#app textarea,\n#app input[type=checkbox]:focus,\n#app input[type=color]:focus,\n#app input[type=date]:focus,\n#app input[type=datetime-local]:focus,\n#app input[type=datetime]:focus,\n#app input[type=email]:focus,\n#app input[type=month]:focus,\n#app input[type=number]:focus,\n#app input[type=password]:focus,\n#app input[type=radio]:focus,\n#app input[type=search]:focus,\n#app input[type=tel]:focus,\n#app input[type=text]:focus,\n#app input[type=time]:focus,\n#app input[type=url]:focus,\n#app input[type=week]:focus,\n#app select:focus,\n#app textarea:focus,\n#app input[readonly],\n#app textarea.readonly,\n#app textarea[readonly] {\n border: none;\n box-shadow: none;\n outline: none;\n transition: inherit;\n background-color: transparent;\n}\n#app input[readonly] {\n display: none;\n}\n</style>\n","import mod from \"-!../node_modules/cache-loader/dist/cjs.js??ref--12-0!../node_modules/thread-loader/dist/cjs.js!../node_modules/babel-loader/lib/index.js!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../node_modules/cache-loader/dist/cjs.js??ref--12-0!../node_modules/thread-loader/dist/cjs.js!../node_modules/babel-loader/lib/index.js!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./App.vue?vue&type=template&id=3ab913ec&\"\nimport script from \"./App.vue?vue&type=script&lang=js&\"\nexport * from \"./App.vue?vue&type=script&lang=js&\"\nimport style0 from \"./App.vue?vue&type=style&index=0&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VApp } from 'vuetify/lib/components/VApp';\ninstallComponents(component, {VApp})\n","import Vue from 'vue';\nimport Vuetify from 'vuetify/lib';\n\nVue.use(Vuetify);\n\nexport default new Vuetify({\n});\n","export default {\n state: {\n default: {},\n schemaType: {},\n jsonType: {},\n sourceType: {}\n },\n mutations: {\n updateDefault(state, data) {\n state['default'] = data\n },\n updateProperty(state, data) {\n state[data[0]] = data[1]\n },\n },\n actions: {\n setDefaultData: function ({commit}, data) {\n let object = JSON.parse(data.jsonString)\n commit('updateDefault', object[data.key])\n },\n run: function ({commit}, data) {\n if (data) {\n commit('updateProperty', ['schemaType', data])\n commit('updateProperty', ['jsonType', JSON.parse(JSON.stringify(data))])\n commit('updateProperty', ['sourceType', JSON.parse(JSON.stringify(data))])\n }\n }\n },\n getters: {\n getJsonType(state) {\n return state.jsonType;\n },\n getSchemaType(state) {\n return state.schemaType\n },\n getSourceType(state) {\n return state.sourceType\n },\n getDefaultData(state) {\n return state.default\n }\n }\n}","export default {\n state: {\n rating: {\n ratingValue: null,\n ratingCount: null,\n reviewCount: null,\n worstResult: null,\n bestResult: null,\n },\n reviews: {}\n },\n mutations: {\n updateReview(state, data) {\n state['reviews'][data.number] = data.value\n },\n setReview(state, data) {\n state['reviews'] = data\n },\n updateRating(state, data) {\n state['rating'] = data\n },\n },\n actions: {\n updateReviewRating({commit, dispatch}, review) {\n commit('updateReview', review)\n dispatch('calculateRating')\n },\n setReviewRating({commit, dispatch}, review) {\n commit('setReview', review)\n dispatch('calculateRating')\n },\n calculateRating({commit, getters}) {\n let currentRating = getters.getRating\n let total = null;\n let result = {\n ratingValue: null,\n ratingCount: null,\n reviewCount: null,\n worstResult: currentRating.worstResult,\n bestResult: currentRating.bestResult,\n }\n let ratingCount = null;\n let reviewRating = getters.getReviews\n let reviewCount = Object.keys(reviewRating).length\n for (let rating in reviewRating) {\n if (reviewRating.hasOwnProperty(rating) && reviewRating[rating] !== \"\") {\n ratingCount += 1\n total += parseInt(reviewRating[rating])\n }\n }\n if (null !== ratingCount) {\n result.ratingCount = ratingCount\n }\n if (null !== total) {\n result.ratingValue = total / ratingCount\n }\n result.reviewCount = reviewCount\n commit('updateRating', result)\n },\n setRatingResult({commit}, value) {\n // commit('updateRating', {\n // ratingValue: value\n // })\n },\n setBestResult({commit, getters}, value) {\n let currentRating = getters.getRating\n commit('updateRating', {\n ratingValue: currentRating.ratingValue,\n ratingCount: currentRating.ratingCount,\n reviewCount: currentRating.reviewCount,\n bestResult: value,\n worstResult: currentRating.worstResult\n })\n },\n setWorstResult({commit, getters}, value) {\n let currentRating = getters.getRating\n let reviews = getters.getReviews\n commit('updateRating', {\n ratingValue: currentRating.ratingValue,\n ratingCount: currentRating.ratingCount,\n reviewCount: currentRating.reviewCount,\n bestResult: currentRating.bestResult,\n worstResult: value\n })\n },\n },\n getters: {\n getRating(state) {\n return state.rating\n },\n getReviews(state) {\n return state.reviews\n }\n }\n}","export default {\n state: {\n currentSchema: {},\n schemasList: {},\n },\n mutations: {\n updateCurrentSchema(state, value) {\n state.currentSchema = value\n },\n updateSchemasList(state, value) {\n state.schemasList = value\n }\n },\n actions: {\n setCurrentSchema: function ({commit}, data) {\n commit('updateCurrentSchema', data)\n },\n setSchemasList: function ({commit}, data) {\n commit('updateSchemasList', data)\n }\n },\n getters: {\n getCurrentSchema(state) {\n return state.currentSchema;\n },\n getSchemasList(state) {\n return state.schemasList\n }\n }\n\n}","import Vue from 'vue'\nimport Vuex from 'vuex'\nimport schema from './modules/schema'\nimport rating from './modules/rating'\nimport currentSchema from './modules/current-schema'\n\nVue.use(Vuex)\n\nexport default new Vuex.Store({\n modules: {\n schema,\n rating,\n currentSchema\n }\n})\n","import Vue from 'vue'\nimport App from './App.vue'\nimport vuetify from './plugins/vuetify';\nimport 'material-design-icons-iconfont/dist/material-design-icons.css'\nimport store from './store'\n\nVue.config.productionTip = false\n\nexport const schemaEmitter = new Vue()\n\nnew Vue({\n vuetify,\n store,\n render: h => h(App),\n created() {\n if ('undefined' !== typeof schema_integration && schema_integration.hasOwnProperty('i18n')) {\n this.setLocaleData(schema_integration.i18n['schema_integration'])\n }\n }\n}).$mount('#app')\n","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ArrayItem.vue?vue&type=style&index=0&id=2226b39c&scoped=true&lang=css&\"","import {schemaEmitter} from \"@/main\";\nimport filters from \"@/mixins/filters\";\n\nexport default {\n mixins: [filters],\n methods: {\n findVal: function (object, key, regexp = false) {\n let value;\n Object.keys(object).some(k => {\n if (regexp && k.search(key) !== -1) {\n value = object[k];\n return true;\n } else if (k === key) {\n value = object[k];\n return true;\n }\n if (object[k] && typeof object[k] === 'object') {\n value = this.findVal(object[k], key, regexp);\n return value !== undefined;\n }\n })\n\n return value;\n },\n changeChildType: function (string) {\n return string.split('.').pop()\n },\n isLastItem: function (items, objects) {\n for (let item in items) {\n let renderJson = 'undefined' !== typeof objects[items[item]].renderJson ? objects[items[item]].renderJson : true\n if (!renderJson) {\n continue;\n } else {\n return false;\n }\n }\n\n return true\n },\n printComma: function (key, value) {\n let objects = Object.keys(value)\n let currentObjectKey = objects[key]\n\n let renderJson = 'undefined' !== typeof value[currentObjectKey].renderJson ? value[currentObjectKey].renderJson : true\n let length = objects.length\n\n if (key === length - 1) {\n return ''\n }\n if (!renderJson) {\n return ''\n }\n\n let spliceObject = objects.splice(key + 1, objects.length)\n if (spliceObject.length > 0) {\n return this.isLastItem(spliceObject, value) ? '' : ','\n }\n return ','\n },\n renderItem: function (item) {\n if (item.renderJson === undefined) {\n return true\n } else {\n return item.renderJson\n }\n },\n isObject: function (item) {\n return (item && typeof item === 'object' && !Array.isArray(item));\n },\n mergeDeep: function (target, ...sources) {\n if (!sources.length) return target;\n const source = sources.shift();\n\n if (this.isObject(target) && this.isObject(source)) {\n for (const key in source) {\n if (source.hasOwnProperty(key) && this.isObject(source[key])) {\n if (!target[key]) {\n Object.assign(target, {[key]: {}});\n } else {\n target[key] = Object.assign({}, target[key])\n }\n this.mergeDeep(target[key], source[key]);\n } else {\n Object.assign(target, {[key]: source[key]});\n }\n }\n }\n\n return this.mergeDeep(target, ...sources);\n },\n getFilters(string = '', filters = {}) {\n if (string) {\n for (let filter in filters) {\n if ('beforeText' === filter) {\n string = this.$options.filters.beforeText(string, filters[filter])\n }\n if ('afterText' === filter) {\n string = this.$options.filters.afterText(string, filters[filter])\n }\n if ('toMinutes' === filter) {\n string = this.$options.filters.toMinutes(string)\n }\n if ('clearSymbols' === filter) {\n string = this.$options.filters.clearSymbols(string, filters[filter])\n }\n }\n }\n\n return string\n },\n updateRatingValues(value) {\n let rating = this.getRating()\n let reviewsKeys = Object.keys(this.getReviews())\n let ratingValueObject = {\n value: rating.ratingValue\n }\n let ratingCountObject = {\n value: rating.ratingCount\n }\n reviewsKeys.forEach((key) => {\n schemaEmitter.$emit('input', `review.${key}.reviewRating.bestRating`, rating.bestResult)\n schemaEmitter.$emit('input', `review.${key}.reviewRating.worstRating`, rating.worstResult)\n schemaEmitter.$emit('input', `review.${key}.reviewRating.ratingValue`, {\n validation: {\n maxValue: rating.bestResult,\n minValue: rating.worstResult\n }\n })\n })\n if (rating.ratingValue) {\n ratingValueObject['vuetifyProps'] = {\n disabled: true\n }\n ratingCountObject['vuetifyProps'] = {\n disabled: true\n }\n } else {\n ratingValueObject['vuetifyProps'] = {\n disabled: false\n }\n ratingCountObject['vuetifyProps'] = {\n disabled: false\n }\n }\n if (rating.ratingValue >= 1) {\n schemaEmitter.$emit('input', 'aggregateRating', {\n renderJson: true\n })\n } else {\n schemaEmitter.$emit('input', 'aggregateRating', {\n renderJson: false\n })\n }\n schemaEmitter.$emit('input', 'aggregateRating.ratingValue', ratingValueObject)\n schemaEmitter.$emit('input', 'aggregateRating.ratingCount', ratingCountObject)\n },\n setEmptyValue(item) {\n let type = typeof item\n if ('string' === type) {\n return ''\n }\n\n if ('object' === type) {\n let newItem = [];\n item.forEach(el => {\n let obj = {}\n obj['selected'] = false\n obj['value'] = el.value\n newItem.push(obj)\n })\n return newItem\n }\n\n return ''\n },\n isNotEmptyValue(item) {\n let type = typeof item\n\n if ('string' === type) {\n return item.length > 0\n }\n if ('object' === type) {\n let selected = item.findIndex(el => {\n return el.selected\n })\n return -1 !== selected\n }\n\n return false\n },\n duplicateValues(value) {\n if (this.componentProps.hasOwnProperty('duplicateFor')) {\n let fields = this.componentProps.duplicateFor\n fields.forEach(field => {\n if ('string' === typeof value) {\n schemaEmitter.$emit('input', field, value)\n } else {\n schemaEmitter.$emit('input', field, {\n value: value\n })\n }\n })\n }\n }\n }\n}\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.node.formComponent === 'Input' || _vm.node.formComponent === 'TextArea' || _vm.node.formComponent === 'ReviewRating')?_c('div',[_c('single-item',{attrs:{\"name\":_vm.name,\"value\":_vm.node.value,\"comma\":_vm.comma,\"isDisplayName\":_vm.isDisplayName,\"filters\":_vm.getFiltersProp()}})],1):_vm._e(),(_vm.node.formComponent === 'DatePicker')?_c('div',[_c('date-item',{attrs:{\"name\":_vm.name,\"value\":_vm.node.value,\"comma\":_vm.comma}})],1):(_vm.node.formComponent === 'Selector')?_c('div',[_c('selector-item',{attrs:{\"name\":_vm.name,\"value\":_vm.node.value,\"filters\":_vm.getFiltersProp(),\"comma\":_vm.comma}})],1):(_vm.node.formComponent === 'Repeater' && _vm.node.repeaterType === 'object')?_c('div',[_c('object-item',{attrs:{\"name\":_vm.name,\"value\":_vm.node.value,\"comma\":_vm.comma}})],1):(_vm.node.formComponent === 'Repeater' && _vm.node.repeaterType === 'array' )?_c('div',[_c('array-item',{attrs:{\"name\":_vm.name,\"value\":_vm.node.value}})],1):(_vm.node.formComponent === false)?_c('div',[_c('span'),_c('span',[_vm._v(\"\\\"\"+_vm._s(_vm.name)+\"\\\"\")]),_vm._v(\": \"),_c('span',[_vm._v(\"{\")]),_vm._l((_vm.node.children),function(value,key,index){return (_vm.renderItem(value))?_c('node',{key:key,attrs:{\"name\":value.name,\"type\":key,\"node\":value,\"comma\":_vm.printComma(index, _vm.node.children)}}):_vm._e()}),_c('span',[_vm._v(\"}\"+_vm._s(_vm.comma))])],2):_vm._e()])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.isDisplayName)?_c('span',[_c('span',[_vm._v(\"\\\"\"+_vm._s(_vm.name)+\"\\\"\")]),_vm._v(\": \\\"\"),_c('span',{staticClass:\"schema_integration-str\",class:{ 'schema_integration-str__updated': _vm.isUpdate }},[_vm._v(_vm._s(_vm.getFilters(_vm.value, _vm.filters)))]),_vm._v(\"\\\"\"+_vm._s(_vm.comma)+\" \")]):_c('span',[_vm._v(\" \\\"\"),_c('span',{staticClass:\"schema_integration-str\",class:{ 'schema_integration-str__updated': _vm.isUpdate }},[_vm._v(_vm._s(_vm.getFilters(_vm.value, _vm.filters)))]),_vm._v(\"\\\"\"+_vm._s(_vm.comma)+\" \")])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","export default {\n props: {\n name: {\n type: String,\n required: true\n },\n value: {\n type: [String, Number, Array],\n required: false,\n default: ''\n },\n comma: {\n type: String,\n required: false,\n default: ','\n },\n isDisplayName: {\n type: Boolean,\n required: false,\n default: true\n },\n filters: {\n type: Object,\n default() {\n return {}\n }\n }\n }\n}\n","<template>\n <span v-if=\"isDisplayName\">\n <span>\"{{ name }}\"</span>: \"<span class=\"schema_integration-str\" :class=\"{ 'schema_integration-str__updated': isUpdate }\">{{ getFilters(value, filters) }}</span>\"{{ comma }}\n </span>\n <span v-else>\n \"<span class=\"schema_integration-str\" :class=\"{ 'schema_integration-str__updated': isUpdate }\">{{ getFilters(value, filters) }}</span>\"{{ comma }}\n </span>\n</template>\n\n<script>\n\nimport jsonProps from \"@/mixins/json-props\"\nimport functions from \"@/mixins/functions\";\n\nexport default {\n mixins: [functions, jsonProps],\n data() {\n return {\n isUpdate: false\n }\n },\n watch: {\n value(item) {\n if( item ) {\n this.isUpdate = item.length > 0\n }\n },\n }\n}\n</script>\n\n<style scoped>\n\n</style>\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SingleItem.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SingleItem.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./SingleItem.vue?vue&type=template&id=74a2251c&scoped=true&\"\nimport script from \"./SingleItem.vue?vue&type=script&lang=js&\"\nexport * from \"./SingleItem.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"74a2251c\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('span',[(_vm.value.length > 1)?_c('span',[_c('span'),_c('span',[_vm._v(\"\\\"\"+_vm._s(_vm.name)+\"\\\"\")]),_vm._v(\": \"),_c('span',[_vm._v(\"[\")]),_vm._l((_vm.value),function(item,key){return _c('span',{key:key},_vm._l((item),function(field,k,index){return (_vm.renderItem(field))?_c('json-tree',{key:k,attrs:{\"name\":field.name,\"type\":k,\"node\":field,\"comma\":_vm.printComma(key, _vm.value),\"isDisplayName\":_vm.display}}):_vm._e()}),1)}),_c('span'),_c('span',[_vm._v(\"]\"+_vm._s(_vm.printComma(0, _vm.value)))])],2):_c('span',_vm._l((_vm.value[0]),function(item,key){return _c('span',{key:key},[_c('span'),_c('span',[_vm._v(\"\\\"\"+_vm._s(_vm.name)+\"\\\"\")]),_vm._v(\": \\\"\"),_c('span',{staticClass:\"schema_integration-str\"},[_vm._v(_vm._s(item.value))]),_vm._v(\"\\\", \")])}),0)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <span>\n <span v-if=\"value.length > 1\">\n <span></span><span>\"{{ name }}\"</span>: <span>[</span>\n <span v-for=\"(item, key) in value\" :key=\"key\">\n <json-tree v-if=\"renderItem(field)\" v-for=\"(field, k, index) in item\" :name=\"field.name\" :key=\"k\" :type=\"k\" :node=\"field\"\n :comma=\"printComma(key, value)\" :isDisplayName=\"display\"></json-tree>\n </span>\n <span></span><span>]{{printComma(0, value)}}</span>\n </span>\n <span v-else>\n <span v-for=\"( item, key) in value[0]\" :key=\"key\">\n <span></span><span>\"{{ name }}\"</span>: \"<span class=\"schema_integration-str\">{{ item.value }}</span>\",\n </span>\n </span>\n </span>\n</template>\n\n<script>\nimport jsonProps from '@/mixins/json-props'\nimport functions from \"@/mixins/functions\";\n\nexport default {\n mixins: [jsonProps, functions],\n props: {\n value: {\n type: Array,\n required: true\n }\n },\n data() {\n return {\n display: false\n }\n },\n components: {\n JsonTree: () => import(\"@/JsonElements/JsonTree\")\n }\n}\n</script>\n\n<style scoped>\n.repeater-item {\n display: inline-block;\n width: 100%;\n margin-left: 20px;\n}\n</style>\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ArrayItem.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ArrayItem.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./ArrayItem.vue?vue&type=template&id=2226b39c&scoped=true&\"\nimport script from \"./ArrayItem.vue?vue&type=script&lang=js&\"\nexport * from \"./ArrayItem.vue?vue&type=script&lang=js&\"\nimport style0 from \"./ArrayItem.vue?vue&type=style&index=0&id=2226b39c&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"2226b39c\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.isDisplayName)?_c('span',[_c('span',[_vm._v(\"\\\"\"+_vm._s(_vm.name)+\"\\\"\")]),_vm._v(\": \\\"\"),_c('span',{staticClass:\"schema_integration-str\"},[_vm._v(_vm._s(_vm.getSelectedItem))]),_vm._v(\"\\\"\"+_vm._s(_vm.comma)+\" \")]):_c('span',[_vm._v(\" \\\"\"),_c('span',{staticClass:\"schema_integration-str\"},[_vm._v(_vm._s(_vm.getSelectedItem))]),_vm._v(\"\\\"\"+_vm._s(_vm.comma)+\" \")])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <span v-if=\"isDisplayName\">\n <span>\"{{ name }}\"</span>: \"<span class=\"schema_integration-str\">{{ getSelectedItem }}</span>\"{{ comma }}\n </span>\n <span v-else>\n \"<span class=\"schema_integration-str\">{{ getSelectedItem }}</span>\"{{ comma }}\n </span>\n</template>\n\n<script>\nimport jsonProps from \"@/mixins/json-props\"\nimport functions from \"@/mixins/functions\";\n\nexport default {\n mixins: [functions, jsonProps],\n computed: {\n getSelectedItem: function () {\n for (let item in this.value) {\n if (this.value[item].selected) {\n return this.getFilters(this.value[item].value, this.filters)\n }\n }\n }\n }\n}\n</script>\n\n<style scoped>\n\n</style>\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SelectorItem.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SelectorItem.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./SelectorItem.vue?vue&type=template&id=4fdb5c6a&scoped=true&\"\nimport script from \"./SelectorItem.vue?vue&type=script&lang=js&\"\nexport * from \"./SelectorItem.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"4fdb5c6a\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.isDisplayName)?_c('span',[_c('span',[_vm._v(\"\\\"\"+_vm._s(_vm.name)+\"\\\"\")]),_vm._v(\": \"),_c('span',[_vm._v(\"\\\"\"+_vm._s(_vm.value)+\"\\\"\")]),_vm._v(_vm._s(_vm.comma)+\" \")]):_c('span',[_c('span',[_vm._v(\"\\\"\"+_vm._s(_vm.value)+\"\\\"\")]),_vm._v(_vm._s(_vm.comma)+\" \")])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <span v-if=\"isDisplayName\">\n <span>\"{{ name }}\"</span>: <span>\"{{ value }}\"</span>{{ comma }}\n </span>\n <span v-else>\n <span>\"{{ value }}\"</span>{{ comma }}\n </span>\n</template>\n\n<script>\nimport jsonProps from \"@/mixins/json-props\"\n\nexport default {\n mixins: [jsonProps]\n}\n</script>\n\n<style scoped>\n\n</style>\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DateItem.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DateItem.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./DateItem.vue?vue&type=template&id=474081ee&scoped=true&\"\nimport script from \"./DateItem.vue?vue&type=script&lang=js&\"\nexport * from \"./DateItem.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"474081ee\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('span',[_c('span'),_c('span',[_vm._v(\"\\\"\"+_vm._s(_vm.name)+\"\\\"\")]),_vm._v(\": \"),_c('span',[_vm._v(\"[\")]),_vm._l((_vm.value),function(item,key){return _c('span',{key:key},[_vm._v(\"{ \"),_vm._l((item),function(field,k,index){return (_vm.renderItem(field))?_c('json-tree',{key:k,attrs:{\"name\":field.name,\"type\":k,\"node\":field,\"comma\":_vm.printComma(index, item),\"display-name\":_vm.display}}):_vm._e()}),_vm._v(\" }\"+_vm._s(_vm.printComma(key, _vm.value)))],2)}),_c('span'),_c('span',[_vm._v(\"]\"+_vm._s(_vm.comma))])],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <span>\n <span></span><span>\"{{ name }}\"</span>: <span>[</span>\n <span v-for=\"(item, key) in value\" :key=\"key\">{\n <json-tree v-if=\"renderItem(field)\" v-for=\"(field, k, index) in item\" :name=\"field.name\" :key=\"k\" :type=\"k\" :node=\"field\"\n :comma=\"printComma(index, item)\" :display-name=\"display\"></json-tree>\n }{{printComma(key, value)}}</span>\n <span></span><span>]{{comma}}</span>\n </span>\n</template>\n\n<script>\nimport jsonProps from '@/mixins/json-props'\nimport functions from \"@/mixins/functions\";\n\nexport default {\n mixins: [jsonProps, functions],\n props: {\n value: {\n type: Array,\n required: true\n }\n },\n data() {\n return {\n display: false\n }\n },\n components: {\n JsonTree: () => import(\"@/JsonElements/JsonTree\")\n }\n}\n</script>\n\n<style scoped>\n.repeater-item {\n display: inline-block;\n width: 100%;\n margin-left: 20px;\n}\n</style>\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ObjectItem.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ObjectItem.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./ObjectItem.vue?vue&type=template&id=71953de0&scoped=true&\"\nimport script from \"./ObjectItem.vue?vue&type=script&lang=js&\"\nexport * from \"./ObjectItem.vue?vue&type=script&lang=js&\"\nimport style0 from \"./ObjectItem.vue?vue&type=style&index=0&id=71953de0&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"71953de0\",\n null\n \n)\n\nexport default component.exports","<template>\n <div>\n <div\n v-if=\"node.formComponent === 'Input' || node.formComponent === 'TextArea' || node.formComponent === 'ReviewRating'\">\n <single-item :name=\"name\" :value=\"node.value\" :comma=\"comma\"\n :isDisplayName=\"isDisplayName\" :filters=\"getFiltersProp()\"></single-item>\n </div>\n <div v-if=\"node.formComponent === 'DatePicker'\">\n <date-item :name=\"name\" :value=\"node.value\" :comma=\"comma\"></date-item>\n </div>\n <div v-else-if=\"node.formComponent === 'Selector'\">\n <selector-item :name=\"name\" :value=\"node.value\" :filters=\"getFiltersProp()\" :comma=\"comma\"></selector-item>\n </div>\n <div v-else-if=\"node.formComponent === 'Repeater' && node.repeaterType === 'object'\">\n <object-item :name=\"name\" :value=\"node.value\" :comma=\"comma\"></object-item>\n </div>\n <div v-else-if=\"node.formComponent === 'Repeater' && node.repeaterType === 'array' \">\n <array-item :name=\"name\" :value=\"node.value\"></array-item>\n </div>\n <div v-else-if=\"node.formComponent === false\">\n <span></span><span>\"{{ name }}\"</span>: <span>{</span>\n <node v-if=\"renderItem(value)\" v-for=\"(value, key, index) in node.children\" :name=\"value.name\"\n :key=\"key\" :type=\"key\" :node=\"value\"\n :comma=\"printComma(index, node.children)\"></node>\n <span>}{{ comma }}</span>\n </div>\n </div>\n</template>\n\n<script>\n\nimport SingleItem from \"./SingleItem\";\nimport ArrayItem from \"./ArrayItem\";\nimport SelectorItem from \"./SelectorItem\";\nimport DateItem from \"./DateItem\";\nimport ObjectItem from \"@/JsonElements/ObjectItem\";\nimport functions from \"@/mixins/functions\";\n\nexport default {\n mixins: [functions],\n name: \"node\",\n props: {\n node: Object,\n type: [String, Number],\n comma: String,\n name: String,\n isDisplayName: {\n type: Boolean,\n required: false,\n default: true\n },\n },\n components: {\n SingleItem,\n ArrayItem,\n SelectorItem,\n DateItem,\n ObjectItem\n },\n methods: {\n getFiltersProp() {\n return this.node.hasOwnProperty('filters') ? this.node.filters : {}\n }\n }\n}\n</script>\n\n<style scoped>\n.node-tree {\n list-style-type: none;\n}\n\ndiv {\n margin-left: 10px;\n}\n</style>\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./JsonTree.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./JsonTree.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./JsonTree.vue?vue&type=template&id=516b3065&scoped=true&\"\nimport script from \"./JsonTree.vue?vue&type=script&lang=js&\"\nexport * from \"./JsonTree.vue?vue&type=script&lang=js&\"\nimport style0 from \"./JsonTree.vue?vue&type=style&index=0&id=516b3065&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"516b3065\",\n null\n \n)\n\nexport default component.exports","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CustomItem.vue?vue&type=style&index=0&id=2c4f9021&scoped=true&lang=css&\"","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./jsonBuilder.vue?vue&type=style&index=0&id=67395d6c&scoped=true&lang=css&\"","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ObjectItem.vue?vue&type=style&index=0&id=71953de0&scoped=true&lang=css&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-main',[_c('v-container',[_c('v-row',[_c('v-col',[_c('v-card',[_c('v-card-text',[_c('div',[_c('v-select',{attrs:{\"items\":_vm.getSchemasList,\"attach\":\"\",\"label\":\"Which Schema.org markup would you like to create?\"},on:{\"change\":function($event){return _vm.selectSchema($event)}},scopedSlots:_vm._u([{key:\"selection\",fn:function(data){return [_c('v-list-item',[_c('v-list-item-content',[_c('v-list-item-title',[_c('v-icon',{attrs:{\"small\":\"\"}},[_vm._v(_vm._s(data.item.icon))]),_vm._v(\" \"+_vm._s(data.item.title)+\" \")],1)],1)],1)]}},{key:\"item\",fn:function(data){return [_c('v-icon',{attrs:{\"small\":\"\"}},[_vm._v(_vm._s(data.item.icon))]),_c('v-list-item',[_c('v-list-item-content',[_c('v-list-item-title',[_vm._v(\" \"+_vm._s(data.item.title)+\" \"),_c('small',[_vm._v(_vm._s(data.item.description))])])],1)],1)]}}]),model:{value:(_vm.getSelectedSchema),callback:function ($$v) {_vm.getSelectedSchema=$$v},expression:\"getSelectedSchema\"}})],1)])],1)],1)],1),_c('v-row',[_c('v-col',{attrs:{\"cols\":\"7\"}},[_c('v-card',[_c('v-card-text',[_c('form-builder',{attrs:{\"config\":_vm.getSchemaType}})],1)],1)],1),_c('v-col',{attrs:{\"cols\":\"5\"}},[_c('v-card',{attrs:{\"height\":\"100%\"}},[_c('v-card-text',[_c('json-builder',{ref:\"jsonTemplate\",attrs:{\"config\":_vm.getJsonType}})],1)],1)],1)],1),_c('v-row',[_c('v-col',[_c('v-card',[_c('v-card-title',[_vm._v(\"Select schemas conditions\")]),_c('v-card-text',[_c('conditions',{attrs:{\"conditionsList\":_vm.conditions,\"currentConditions\":_vm.postConditions}})],1)],1)],1)],1),_c('v-row',[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.result),expression:\"result\"}],attrs:{\"type\":\"hidden\",\"name\":\"schema\"},domProps:{\"value\":(_vm.result)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.result=$event.target.value}}}),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.source),expression:\"source\"}],attrs:{\"type\":\"hidden\",\"name\":\"source\"},domProps:{\"value\":(_vm.source)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.source=$event.target.value}}}),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.getSchemaName),expression:\"getSchemaName\"}],attrs:{\"type\":\"hidden\",\"name\":\"schema_name\"},domProps:{\"value\":(_vm.getSchemaName)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.getSchemaName=$event.target.value}}})])],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import Article from '@/Config/Article.json'\nimport FAQPage from '@/Config/FAQPage.json'\nimport Product from '@/Config/Product.json'\nimport Recipe from '@/Config/Recipe.json'\nimport Breadcrumbs from '@/Config/Breadcrumbs.json'\nimport Custom from '@/Config/Custom.json'\n\nexport default {\n data() {\n return {\n config: {\n Article,\n FAQPage,\n Product,\n Recipe,\n Breadcrumbs,\n Custom\n }\n }\n }\n}","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-row',_vm._l((_vm.config),function(field,key,index){return _c('form-tree',{key:key,attrs:{\"index\":index,\"type\":key,\"node\":field}})}),1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <v-row>\n <form-tree v-for=\"(field, key, index) in config\" :index=\"index\" :key=\"key\" :type=\"key\" :node=\"field\"></form-tree>\n </v-row>\n</template>\n\n<script>\nimport FormTree from '../FormElements/FormTree'\nimport {schemaEmitter} from \"@/main\";\n\nexport default {\n props: ['config'],\n data() {\n return {\n formValues: {}\n }\n },\n components: {\n FormTree\n },\n methods: {\n updateField(field, value) {\n schemaEmitter.$emit('input', field, value)\n }\n }\n}\n</script>\n\n<style scoped>\n\n</style>\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./formBuilder.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./formBuilder.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./formBuilder.vue?vue&type=template&id=31de27a7&scoped=true&\"\nimport script from \"./formBuilder.vue?vue&type=script&lang=js&\"\nexport * from \"./formBuilder.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"31de27a7\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VRow } from 'vuetify/lib/components/VGrid';\ninstallComponents(component, {VRow})\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"json-wrapper\"},[_c('span',{staticClass:\"schema_integration-tag\"},[_vm._v(\"<script\")]),_vm._v(\" \"),_c('span',{staticClass:\"schema_integration-attr\"},[_vm._v(\"type\")]),_c('span',{staticClass:\"schema_integration-attr-value\"},[_vm._v(\"=\\\"application/ld+json\\\"\")]),_c('span',[_vm._v(\">\")]),_c('div',{ref:\"schema_integration_template\"},[(_vm.getCurrentSchema.title !== 'Custom')?_c('div',[_vm._m(0),_vm._l((_vm.config),function(field,key,index){return (_vm.renderItem(field))?_c('json-tree',{key:key,attrs:{\"name\":field.name,\"type\":key,\"node\":field,\"comma\":_vm.printComma(index, _vm.config)}}):_vm._e()}),_vm._m(1)],2):_c('div',[_c('custom-item',{attrs:{\"value\":_vm.config.custom.value}})],1)]),_c('span',{staticClass:\"schema_integration-tag\"},[_vm._v(\"</script>\")])])}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('span',[_vm._v(\"{\")])])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('span',[_vm._v(\"}\")])])}]\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('pre',[_vm._v(_vm._s(_vm._f(\"prettyJSON\")(_vm.value))+\" \")])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <pre>{{ value | prettyJSON }} </pre>\n</template>\n\n<script>\n\nimport filters from \"@/mixins/filters\";\n\nexport default {\n mixins: [filters],\n props: {\n value: {\n required: true,\n default: '',\n type: [String, Object],\n }\n }\n}\n</script>\n\n<style scoped>\n pre {\n white-space: pre-wrap;\n }\n</style>","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CustomItem.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CustomItem.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./CustomItem.vue?vue&type=template&id=2c4f9021&scoped=true&\"\nimport script from \"./CustomItem.vue?vue&type=script&lang=js&\"\nexport * from \"./CustomItem.vue?vue&type=script&lang=js&\"\nimport style0 from \"./CustomItem.vue?vue&type=style&index=0&id=2c4f9021&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"2c4f9021\",\n null\n \n)\n\nexport default component.exports","<template>\n <div class=\"json-wrapper\">\n <span class=\"schema_integration-tag\"><script</span> <span class=\"schema_integration-attr\">type</span><span\n class=\"schema_integration-attr-value\">=\"application/ld+json\"</span><span>></span>\n <div ref=\"schema_integration_template\">\n <div v-if=\"getCurrentSchema.title !== 'Custom'\">\n <div><span>{</span></div>\n <json-tree v-if=\"renderItem(field)\" v-for=\"(field, key, index) in config\" :name=\"field.name\" :key=\"key\"\n :type=\"key\"\n :node=\"field\"\n :comma=\"printComma(index, config)\"></json-tree>\n <div><span>}</span></div>\n </div>\n <div v-else>\n <custom-item :value=\"config.custom.value\"></custom-item>\n </div>\n </div>\n <span class=\"schema_integration-tag\"></script></span>\n </div>\n</template>\n\n<script>\n\nimport {mapGetters} from 'vuex'\nimport JsonTree from \"../JsonElements/JsonTree\";\nimport functions from \"@/mixins/functions\";\nimport CustomItem from \"@/JsonElements/CustomItem\";\n\nexport default {\n mixins: [functions],\n props: {\n config: Object\n },\n data() {\n return {\n render: true\n }\n },\n components: {\n CustomItem,\n JsonTree\n },\n computed: mapGetters(['getCurrentSchema']),\n}\n</script>\n\n<style scoped>\n\n.json-wrapper {\n font-size: 13px;\n line-height: 1.4;\n font-family: Menlo, Monaco, Consolas, \"Courier New\", monospace;\n color: grey;\n text-align: left;\n}\n\n.tree-list {\n list-style-type: none;\n}\n</style>\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./jsonBuilder.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./jsonBuilder.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./jsonBuilder.vue?vue&type=template&id=67395d6c&scoped=true&\"\nimport script from \"./jsonBuilder.vue?vue&type=script&lang=js&\"\nexport * from \"./jsonBuilder.vue?vue&type=script&lang=js&\"\nimport style0 from \"./jsonBuilder.vue?vue&type=style&index=0&id=67395d6c&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"67395d6c\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{staticClass:\"conditions-items\"},_vm._l((_vm.conditions),function(item,index){return _c('v-row',{key:index,staticClass:\"conditions-item\"},[_c('v-col',{attrs:{\"cols\":\"6\"}},[_c('v-select',{attrs:{\"items\":item.data,\"attach\":\"\",\"label\":\"Conditions list\"},on:{\"change\":function($event){return _vm.getConditionsValue(index, $event)}},model:{value:(item.selected),callback:function ($$v) {_vm.$set(item, \"selected\", $$v)},expression:\"item.selected\"}})],1),_c('v-col',{attrs:{\"cols\":\"6\"}},[(item.displayIds)?_c('div',[_c('v-text-field',{attrs:{\"type\":\"number\",\"label\":\"Add ID\"},on:{\"input\":function($event){return _vm.getConditionsValueIds(index, $event)}},model:{value:(item.ids),callback:function ($$v) {_vm.$set(item, \"ids\", $$v)},expression:\"item.ids\"}})],1):_vm._e()]),_c('v-row',[_c('v-col',{attrs:{\"cols\":\"6\"}},[_c('v-btn',{attrs:{\"small\":\"\",\"color\":\"primary\"},on:{\"click\":function($event){return _vm.addItem(index)}}},[_vm._v(\"Add\")])],1),_c('v-col',{attrs:{\"cols\":\"6\"}},[_c('v-btn',{attrs:{\"small\":\"\",\"color\":\"error\",\"disabled\":_vm.disableButton},on:{\"click\":function($event){return _vm.deleteItem(index)}}},[_vm._v(\"Delete\")])],1)],1)],1)}),1),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.result),expression:\"result\"}],attrs:{\"type\":\"hidden\",\"name\":'conditions'},domProps:{\"value\":(_vm.result)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.result=$event.target.value}}})])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <div>\n <div class=\"conditions-items\">\n <v-row v-for=\"(item, index) in conditions\" :key=\"index\" class=\"conditions-item\">\n <v-col cols=\"6\">\n <v-select\n v-model=\"item.selected\"\n :items=\"item.data\"\n attach\n label=\"Conditions list\"\n @change=\"getConditionsValue(index, $event)\"\n ></v-select>\n </v-col>\n <v-col cols=\"6\">\n <div v-if=\"item.displayIds\">\n <v-text-field\n type=\"number\"\n v-model=\"item.ids\"\n label=\"Add ID\"\n @input=\"getConditionsValueIds(index, $event)\"\n ></v-text-field>\n </div>\n </v-col>\n <v-row>\n <v-col cols=\"6\">\n <v-btn small color=\"primary\" @click=\"addItem(index)\">Add</v-btn>\n </v-col>\n <v-col cols=\"6\">\n <v-btn small color=\"error\" @click=\"deleteItem(index)\" :disabled=\"disableButton\">Delete</v-btn>\n </v-col>\n </v-row>\n </v-row>\n </div>\n <input type=\"hidden\" :name=\"'conditions'\" v-model=\"result\">\n </div>\n</template>\n\n<script>\n\nexport default {\n props: ['conditionsList', 'currentConditions'],\n data() {\n return {\n conditions: [\n {\n data: [],\n selected: '',\n displayIds: false,\n ids: ''\n }\n ],\n result: ''\n }\n },\n watch: {\n currentConditions: {\n handler: 'setConditions'\n },\n conditions: {\n deep: true,\n handler() {\n this.result = JSON.stringify(this.getConditionsResult())\n }\n }\n },\n methods: {\n addItem(index) {\n let item = JSON.parse(JSON.stringify(this.conditions[index]))\n this.conditions.push(item)\n },\n deleteItem(index) {\n if (this.conditions.length > 1) {\n this.conditions.splice(index, 1)\n }\n },\n getConditionsValue(index, value) {\n this.conditions[index].displayIds = value.startsWith('{custom_')\n },\n getConditionsValueIds(index, value) {\n this.conditions[index].ids = value\n },\n getConditionsResult() {\n let result = []\n this.conditions.forEach(item => {\n let newItem = {\n condition: item.selected,\n custom: item.displayIds ? item.ids : ''\n }\n result.push(newItem)\n })\n return result\n },\n setConditions() {\n if (this.currentConditions.length <= 0) {\n this.conditions[0].data = this.conditionsList\n } else {\n this.conditions.splice(0, 1)\n this.currentConditions.forEach(item => {\n this.conditions.push({\n data: this.conditionsList,\n selected: item.condition,\n ids: item.custom,\n displayIds: item.custom.length > 0\n })\n })\n }\n }\n },\n computed: {\n disableButton: function () {\n return this.conditions.length <= 1;\n }\n },\n created() {\n this.setConditions()\n }\n}\n</script>\n\n<style scoped>\n\n</style>","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Conditions.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Conditions.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Conditions.vue?vue&type=template&id=53d6957f&scoped=true&\"\nimport script from \"./Conditions.vue?vue&type=script&lang=js&\"\nexport * from \"./Conditions.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"53d6957f\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VRow } from 'vuetify/lib/components/VGrid';\nimport { VSelect } from 'vuetify/lib/components/VSelect';\nimport { VTextField } from 'vuetify/lib/components/VTextField';\ninstallComponents(component, {VBtn,VCol,VRow,VSelect,VTextField})\n","<template>\n <v-main>\n <v-container>\n <v-row>\n <v-col>\n <v-card>\n <v-card-text>\n <div>\n <v-select\n v-model=\"getSelectedSchema\"\n :items=\"getSchemasList\"\n attach\n label=\"Which Schema.org markup would you like to create?\"\n @change=\"selectSchema($event)\"\n >\n <template slot=\"selection\" slot-scope=\"data\">\n <v-list-item>\n <v-list-item-content>\n <v-list-item-title>\n <v-icon small>{{ data.item.icon }}</v-icon>\n {{ data.item.title }}\n </v-list-item-title>\n </v-list-item-content>\n </v-list-item>\n\n </template>\n <template slot=\"item\" slot-scope=\"data\">\n <v-icon small>{{ data.item.icon }}</v-icon>\n <v-list-item>\n <v-list-item-content>\n <v-list-item-title>\n {{ data.item.title }} <small>{{ data.item.description }}</small>\n </v-list-item-title>\n </v-list-item-content>\n </v-list-item>\n </template>\n </v-select>\n </div>\n </v-card-text>\n </v-card>\n </v-col>\n </v-row>\n <v-row>\n <v-col cols=\"7\">\n <v-card>\n <v-card-text>\n <form-builder :config=\"getSchemaType\"></form-builder>\n </v-card-text>\n </v-card>\n </v-col>\n <v-col cols=\"5\">\n <v-card\n height=\"100%\"\n >\n <v-card-text>\n <json-builder :config=\"getJsonType\" ref=\"jsonTemplate\"></json-builder>\n </v-card-text>\n </v-card>\n </v-col>\n </v-row>\n <v-row>\n <v-col\n >\n <v-card>\n <v-card-title>Select schemas conditions</v-card-title>\n <v-card-text>\n <conditions :conditionsList=\"conditions\" :currentConditions=\"postConditions\"></conditions>\n </v-card-text>\n </v-card>\n </v-col>\n </v-row>\n <v-row>\n <input type=\"hidden\" name=\"schema\" v-model=\"result\">\n <input type=\"hidden\" name=\"source\" v-model=\"source\">\n <input type=\"hidden\" name=\"schema_name\" v-model=\"getSchemaName\">\n </v-row>\n </v-container>\n </v-main>\n</template>\n\n<script>\n\nimport config from \"@/mixins/config\";\nimport functions from \"@/mixins/functions\";\nimport axios from 'axios'\nimport {mapGetters, mapActions, mapMutations} from 'vuex'\nimport FormBuilder from \"./formBuilder\";\nimport JsonBuilder from \"./jsonBuilder\";\nimport Conditions from \"@/CondtionsElements/Conditions\"\nimport {schemaEmitter} from \"@/main\";\n\n\nexport default {\n mixins: [config, functions],\n components: {\n FormBuilder,\n JsonBuilder,\n Conditions\n },\n props: {\n schemas_type: {\n type: Array,\n required: true\n }\n },\n data() {\n return {\n conditions: [],\n postConditions: [],\n componentKey: 0,\n schemaExist: false,\n schemaType: {},\n jsonType: {},\n sourceType: {},\n result: '',\n source: '',\n default: ''\n }\n },\n methods: {\n ...mapActions(['setDefaultData', 'setCurrentSchema', 'setSchemasList', 'run']),\n ...mapMutations(['updateProperty']),\n getInnerJson: function () {\n return this.$refs.jsonTemplate.$refs.schema_integration_template.innerText\n },\n getAjaxSchemaSettings: function (post_id, security) {\n axios.post('/wp-admin/admin-ajax.php?action=get_schema_settings', {\n 'post_id': post_id,\n 'security': security,\n })\n .then((response) => {\n if (response.data) {\n this.run(JSON.parse(response.data.schema))\n this.postConditions = JSON.parse(response.data.conditions)\n this.schemaExist = true\n this.setCurrentSchema(JSON.parse(response.data.schema_name))\n this.buildFromConfig(this.getCurrentSchema.title)\n this.setDefaultData({\n key: this.getCurrentSchema.title,\n jsonString: this.default\n })\n }\n })\n .catch((error) => {\n this.setCurrentSchema(this.schemas_type[0])\n const config = this.buildFromConfig(this.getCurrentSchema.title)\n this.setDefaultData({\n key: this.getCurrentSchema.title,\n jsonString: this.default\n })\n this.run(config)\n })\n },\n displayJsonTemplate(haystack, needle, data) {\n if ('undefined' !== typeof needle.value && 'undefined' !== typeof needle.showOnChange) {\n let show = this.findVal(haystack, needle.showOnChange)\n let type = typeof data\n if ('undefined' !== typeof show) {\n if ('object' !== type) {\n show.renderJson = '' !== data\n } else if (data && data.hasOwnProperty('value') && 'object' === typeof data.value) {\n let selected = data.value.find(i => {\n return i.selected\n })\n show.renderJson = 'undefined' !== typeof selected\n } else if (data && data.hasOwnProperty('renderJson')) {\n show.renderJson = data.renderJson\n }\n }\n }\n },\n updateObject(object, key, item) {\n let result = this.findVal(object, key)\n if (undefined !== result) {\n result = this.mergeDeep(result, item)\n this.displayJsonTemplate(object, result, item)\n }\n },\n updateItem(object, key, value) {\n let result = this.findVal(object, key)\n if ('undefined' !== typeof result && result.hasOwnProperty('value')) {\n result.value = value\n this.displayJsonTemplate(object, result, value)\n }\n },\n updateProperties() {\n this.updateProperty(['schemaType', this.getSchemaType])\n this.result = this.getInnerJson()\n this.source = JSON.stringify(this.getSourceType)\n },\n buildFromConfig: function (type) {\n let selected = type\n let defaultConfig = this.config\n let defaultConfigString = JSON.stringify(defaultConfig)\n this.default = defaultConfigString\n const config = JSON.parse(defaultConfigString)\n if ('undefined' !== typeof config[selected]) {\n return config[selected]\n } else {\n return false\n }\n },\n selectSchema: function (event) {\n this.setCurrentSchema(event)\n const config = this.buildFromConfig(this.getCurrentSchema.title)\n this.setDefaultData({\n key: this.getCurrentSchema.title,\n jsonString: this.default\n })\n this.run(config)\n this.itemWalker(this.getSchemaType)\n this.updateProperties()\n },\n itemWalker: function (items) {\n if ('object' === typeof items) {\n Object.entries(items).forEach(([index, item]) => {\n if (undefined !== item.children) {\n this.itemWalker(item.children)\n } else {\n if ('undefined' === typeof this.$options.components[item.formComponent] || false === item.render) {\n delete item[index]\n }\n }\n })\n }\n }\n }\n ,\n computed: {\n ...mapGetters([\"getJsonType\", \"getSchemaType\", \"getSourceType\", \"getCurrentSchema\", \"getSchemasList\"]),\n getSelectedSchema: {\n get() {\n return this.getCurrentSchema\n },\n set(value) {\n return this.setCurrentSchema(value)\n }\n },\n getSchemaName: {\n get() {\n return JSON.stringify(this.getCurrentSchema)\n },\n set(value) {\n return this.setCurrentSchema(value)\n }\n },\n },\n updated() {\n this.$nextTick(function () {\n this.result = this.getInnerJson()\n })\n },\n mounted() {\n schemaEmitter.$on('input', (key, value) => {\n if ('object' === typeof value) {\n this.updateObject(this.getSchemaType, key, value)\n this.updateObject(this.getJsonType, key, value)\n this.updateObject(this.getSourceType, key, value)\n } else {\n try {\n value = JSON.parse(value)\n } catch (e) {\n }\n this.updateItem(this.getSchemaType, key, value)\n this.updateItem(this.getJsonType, key, value)\n this.updateItem(this.getSourceType, key, value)\n }\n this.updateProperties()\n this.result = this.getInnerJson()\n this.source = JSON.stringify(this.getSourceType)\n })\n setTimeout(() => {\n this.result = this.getInnerJson()\n this.source = JSON.stringify(this.getSourceType)\n }, 1000);\n },\n created() {\n if ('undefined' !== typeof wp && wp.hasOwnProperty('i18n')) {\n const {__, _x, _n, _nx} = wp.i18n;\n }\n let root = document.getElementById('app')\n if (null !== root) {\n let post_id = root.getAttribute('data-id')\n let security = root.getAttribute('data-security')\n let conditions = root.getAttribute('data-conditions')\n this.conditions = JSON.parse(conditions)\n\n if (post_id) {\n this.setSchemasList(this.schemas_type)\n this.getAjaxSchemaSettings(post_id, security)\n }\n }\n },\n beforeDestroy() {\n schemaEmitter.$off('input')\n }\n}\n</script>\n\n<style>\n.schema_integration-tag {\n color: #881280;\n}\n\n.schema_integration-attr {\n color: #994500;\n}\n\n.schema_integration-attr-value {\n color: #1a1aa6;\n}\n\n.schema_integration-str {\n background-color: #ffc10780;\n font-weight: 700;\n}\n\n.schema_integration-str__updated {\n color: #f44336;\n}\n</style>\n\n<style scoped>\n\n</style>\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Schema.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Schema.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Schema.vue?vue&type=template&id=01819fa8&scoped=true&\"\nimport script from \"./Schema.vue?vue&type=script&lang=js&\"\nexport * from \"./Schema.vue?vue&type=script&lang=js&\"\nimport style0 from \"./Schema.vue?vue&type=style&index=0&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"01819fa8\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VCard } from 'vuetify/lib/components/VCard';\nimport { VCardText } from 'vuetify/lib/components/VCard';\nimport { VCardTitle } from 'vuetify/lib/components/VCard';\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VContainer } from 'vuetify/lib/components/VGrid';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VListItem } from 'vuetify/lib/components/VList';\nimport { VListItemContent } from 'vuetify/lib/components/VList';\nimport { VListItemTitle } from 'vuetify/lib/components/VList';\nimport { VMain } from 'vuetify/lib/components/VMain';\nimport { VRow } from 'vuetify/lib/components/VGrid';\nimport { VSelect } from 'vuetify/lib/components/VSelect';\ninstallComponents(component, {VCard,VCardText,VCardTitle,VCol,VContainer,VIcon,VListItem,VListItemContent,VListItemTitle,VMain,VRow,VSelect})\n"],"sourceRoot":""} -
schema-integration/tags/1.2.1/core/schema/class-schema.php
r2471803 r2486647 57 57 if ( ! empty( $this->schemas ) ) { 58 58 foreach ( $this->schemas as $schema_template ) { 59 echo wp_kses( 60 '<script type="application/ld+json">' . $schema_template . '</script>', 61 [ 62 'script' => 63 [ 64 'type' => true, 65 ], 66 ] 67 ); 59 if ( ! empty( $schema_template ) ) { 60 echo wp_kses( 61 '<script type="application/ld+json">' . $schema_template . '</script>', 62 [ 63 'script' => 64 [ 65 'type' => true, 66 ], 67 ] 68 ); 69 } 68 70 } 69 71 } -
schema-integration/tags/1.2.1/schema-integration.php
r2471803 r2486647 16 16 * Plugin URI: / 17 17 * Description: This is a short description of what the plugin does. It's displayed in the WordPress admin area. 18 * Version: 1.2. 018 * Version: 1.2.1 19 19 * Author: VO3DA Team 20 20 * Author URI: vo3da.tech … … 41 41 * Rename this for your plugin and update it as you release new versions. 42 42 */ 43 define( 'SCHEMA_INTEGRATION_VERSION', '1.2. 0' );43 define( 'SCHEMA_INTEGRATION_VERSION', '1.2.1' ); 44 44 45 45 /** -
schema-integration/tags/1.2.1/vendor/autoload.php
r2471803 r2486647 5 5 require_once __DIR__ . '/composer/autoload_real.php'; 6 6 7 return ComposerAutoloaderInit 4e5121abaa13a48a8d5aa0b7c3ae5f2c::getLoader();7 return ComposerAutoloaderInitc4554a11f9e2cd694e57895c845e1cfe::getLoader(); -
schema-integration/tags/1.2.1/vendor/composer/autoload_real.php
r2471803 r2486647 3 3 // autoload_real.php @generated by Composer 4 4 5 class ComposerAutoloaderInit 4e5121abaa13a48a8d5aa0b7c3ae5f2c5 class ComposerAutoloaderInitc4554a11f9e2cd694e57895c845e1cfe 6 6 { 7 7 private static $loader; … … 23 23 } 24 24 25 spl_autoload_register(array('ComposerAutoloaderInit 4e5121abaa13a48a8d5aa0b7c3ae5f2c', 'loadClassLoader'), true, true);25 spl_autoload_register(array('ComposerAutoloaderInitc4554a11f9e2cd694e57895c845e1cfe', 'loadClassLoader'), true, true); 26 26 self::$loader = $loader = new \Composer\Autoload\ClassLoader(); 27 spl_autoload_unregister(array('ComposerAutoloaderInit 4e5121abaa13a48a8d5aa0b7c3ae5f2c', 'loadClassLoader'));27 spl_autoload_unregister(array('ComposerAutoloaderInitc4554a11f9e2cd694e57895c845e1cfe', 'loadClassLoader')); 28 28 29 29 $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded()); … … 31 31 require_once __DIR__ . '/autoload_static.php'; 32 32 33 call_user_func(\Composer\Autoload\ComposerStaticInit 4e5121abaa13a48a8d5aa0b7c3ae5f2c::getInitializer($loader));33 call_user_func(\Composer\Autoload\ComposerStaticInitc4554a11f9e2cd694e57895c845e1cfe::getInitializer($loader)); 34 34 } else { 35 35 $map = require __DIR__ . '/autoload_namespaces.php'; … … 52 52 53 53 if ($useStaticLoader) { 54 $includeFiles = Composer\Autoload\ComposerStaticInit 4e5121abaa13a48a8d5aa0b7c3ae5f2c::$files;54 $includeFiles = Composer\Autoload\ComposerStaticInitc4554a11f9e2cd694e57895c845e1cfe::$files; 55 55 } else { 56 56 $includeFiles = require __DIR__ . '/autoload_files.php'; 57 57 } 58 58 foreach ($includeFiles as $fileIdentifier => $file) { 59 composerRequire 4e5121abaa13a48a8d5aa0b7c3ae5f2c($fileIdentifier, $file);59 composerRequirec4554a11f9e2cd694e57895c845e1cfe($fileIdentifier, $file); 60 60 } 61 61 … … 64 64 } 65 65 66 function composerRequire 4e5121abaa13a48a8d5aa0b7c3ae5f2c($fileIdentifier, $file)66 function composerRequirec4554a11f9e2cd694e57895c845e1cfe($fileIdentifier, $file) 67 67 { 68 68 if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) { -
schema-integration/tags/1.2.1/vendor/composer/autoload_static.php
r2471803 r2486647 5 5 namespace Composer\Autoload; 6 6 7 class ComposerStaticInit 4e5121abaa13a48a8d5aa0b7c3ae5f2c7 class ComposerStaticInitc4554a11f9e2cd694e57895c845e1cfe 8 8 { 9 9 public static $files = array ( … … 109 109 { 110 110 return \Closure::bind(function () use ($loader) { 111 $loader->prefixLengthsPsr4 = ComposerStaticInit 4e5121abaa13a48a8d5aa0b7c3ae5f2c::$prefixLengthsPsr4;112 $loader->prefixDirsPsr4 = ComposerStaticInit 4e5121abaa13a48a8d5aa0b7c3ae5f2c::$prefixDirsPsr4;113 $loader->prefixesPsr0 = ComposerStaticInit 4e5121abaa13a48a8d5aa0b7c3ae5f2c::$prefixesPsr0;114 $loader->classMap = ComposerStaticInit 4e5121abaa13a48a8d5aa0b7c3ae5f2c::$classMap;111 $loader->prefixLengthsPsr4 = ComposerStaticInitc4554a11f9e2cd694e57895c845e1cfe::$prefixLengthsPsr4; 112 $loader->prefixDirsPsr4 = ComposerStaticInitc4554a11f9e2cd694e57895c845e1cfe::$prefixDirsPsr4; 113 $loader->prefixesPsr0 = ComposerStaticInitc4554a11f9e2cd694e57895c845e1cfe::$prefixesPsr0; 114 $loader->classMap = ComposerStaticInitc4554a11f9e2cd694e57895c845e1cfe::$classMap; 115 115 116 116 }, null, ClassLoader::class); -
schema-integration/trunk/README.txt
r2471739 r2486647 4 4 Requires at least: 5.0.0 5 5 Tested up to: 5.5.3 6 Stable tag: 1.2. 06 Stable tag: 1.2.1 7 7 Requires PHP: 5.6.4 8 8 License: GPLv2 or later … … 45 45 == Changelog == 46 46 47 = 1.2.1 48 * Fix bugs with the output schema on website 49 47 50 = 1.2.0 48 51 * Added new feature: Creating custom schema -
schema-integration/trunk/admin/class-admin.php
r2471803 r2486647 145 145 } 146 146 } 147 148 147 149 148 /** … … 385 384 * 386 385 * @param int $post_id Current post_id. 387 /**388 * Save metabox389 *390 * @param int $post_id Current post_id.391 386 */ 392 387 public function save_schema_meta( $post_id ) { … … 402 397 } 403 398 if ( ! empty( $_POST['conditions'] ) ) { 404 $conditions = json_decode( wp_unslash( $_POST['conditions'] ) );399 $conditions = json_decode( wp_unslash( $_POST['conditions'] ), true ); 405 400 $conditions = Vo3da_Functions::recursive_sanitize_text_field( $conditions ); 406 401 update_post_meta( $post_id, 'schema_integration_conditions', $conditions ); -
schema-integration/trunk/admin/src/js/schema/dist/css/app.css
r2471803 r2486647 1 .ptb-0[data-v-a9df98ac]{padding-top:0;padding-bottom:0}.repeater-item[data-v-2226b39c],.repeater-item[data-v-71953de0]{display:inline-block;width:100%;margin-left:20px}.node-tree[data-v-516b3065]{list-style-type:none}div[data-v-516b3065]{margin-left:10px}pre[data-v-2c4f9021]{white-space:pre-wrap}.json-wrapper[data-v- 1367810e]{font-size:13px;line-height:1.4;font-family:Menlo,Monaco,Consolas,Courier New,monospace;color:grey;text-align:left}.tree-list[data-v-1367810e]{list-style-type:none}.schema_integration-tag{color:#881280}.schema_integration-attr{color:#994500}.schema_integration-attr-value{color:#1a1aa6}.schema_integration-str{background-color:rgba(255,193,7,.5019607843137255);font-weight:700}.schema_integration-str__updated{color:#f44336}#app{font-family:Avenir,Helvetica,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-align:center;color:#2c3e50}pre{text-align:left}.test{margin-top:50px}.json-row{height:15px}.inner{margin-left:5px}.tag{color:#881280}.attr{color:#994500}.val{color:#1a1aa6}#app input[readonly],#app input[type=checkbox],#app input[type=checkbox]:focus,#app input[type=color],#app input[type=color]:focus,#app input[type=date],#app input[type=date]:focus,#app input[type=datetime-local],#app input[type=datetime-local]:focus,#app input[type=datetime],#app input[type=datetime]:focus,#app input[type=email],#app input[type=email]:focus,#app input[type=month],#app input[type=month]:focus,#app input[type=number],#app input[type=number]:focus,#app input[type=password],#app input[type=password]:focus,#app input[type=radio],#app input[type=radio]:focus,#app input[type=search],#app input[type=search]:focus,#app input[type=tel],#app input[type=tel]:focus,#app input[type=text],#app input[type=text]:focus,#app input[type=time],#app input[type=time]:focus,#app input[type=url],#app input[type=url]:focus,#app input[type=week],#app input[type=week]:focus,#app select,#app select:focus,#app textarea,#app textarea.readonly,#app textarea:focus,#app textarea[readonly]{border:none;box-shadow:none;outline:none;transition:inherit;background-color:transparent}#app input[readonly]{display:none}1 .ptb-0[data-v-a9df98ac]{padding-top:0;padding-bottom:0}.repeater-item[data-v-2226b39c],.repeater-item[data-v-71953de0]{display:inline-block;width:100%;margin-left:20px}.node-tree[data-v-516b3065]{list-style-type:none}div[data-v-516b3065]{margin-left:10px}pre[data-v-2c4f9021]{white-space:pre-wrap}.json-wrapper[data-v-67395d6c]{font-size:13px;line-height:1.4;font-family:Menlo,Monaco,Consolas,Courier New,monospace;color:grey;text-align:left}.tree-list[data-v-67395d6c]{list-style-type:none}.schema_integration-tag{color:#881280}.schema_integration-attr{color:#994500}.schema_integration-attr-value{color:#1a1aa6}.schema_integration-str{background-color:rgba(255,193,7,.5019607843137255);font-weight:700}.schema_integration-str__updated{color:#f44336}#app{font-family:Avenir,Helvetica,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-align:center;color:#2c3e50}pre{text-align:left}.test{margin-top:50px}.json-row{height:15px}.inner{margin-left:5px}.tag{color:#881280}.attr{color:#994500}.val{color:#1a1aa6}#app input[readonly],#app input[type=checkbox],#app input[type=checkbox]:focus,#app input[type=color],#app input[type=color]:focus,#app input[type=date],#app input[type=date]:focus,#app input[type=datetime-local],#app input[type=datetime-local]:focus,#app input[type=datetime],#app input[type=datetime]:focus,#app input[type=email],#app input[type=email]:focus,#app input[type=month],#app input[type=month]:focus,#app input[type=number],#app input[type=number]:focus,#app input[type=password],#app input[type=password]:focus,#app input[type=radio],#app input[type=radio]:focus,#app input[type=search],#app input[type=search]:focus,#app input[type=tel],#app input[type=tel]:focus,#app input[type=text],#app input[type=text]:focus,#app input[type=time],#app input[type=time]:focus,#app input[type=url],#app input[type=url]:focus,#app input[type=week],#app input[type=week]:focus,#app select,#app select:focus,#app textarea,#app textarea.readonly,#app textarea:focus,#app textarea[readonly]{border:none;box-shadow:none;outline:none;transition:inherit;background-color:transparent}#app input[readonly]{display:none} -
schema-integration/trunk/admin/src/js/schema/dist/js/app.js
r2471803 r2486647 1 (function(e){function t(t){for(var r,o,s=t[0],l=t[1],u=t[2],d=0,p=[];d<s.length;d++)o=s[d],Object.prototype.hasOwnProperty.call(a,o)&&a[o]&&p.push(a[o][0]),a[o]=0;for(r in l)Object.prototype.hasOwnProperty.call(l,r)&&(e[r]=l[r]);c&&c(t);while(p.length)p.shift()();return i.push.apply(i,u||[]),n()}function n(){for(var e,t=0;t<i.length;t++){for(var n=i[t],r=!0,s=1;s<n.length;s++){var l=n[s];0!==a[l]&&(r=!1)}r&&(i.splice(t--,1),e=o(o.s=n[0]))}return e}var r={},a={app:0},i=[];function o(t){if(r[t])return r[t].exports;var n=r[t]={i:t,l:!1,exports:{}};return e[t].call(n.exports,n,n.exports,o),n.l=!0,n.exports}o.m=e,o.c=r,o.d=function(e,t,n){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},o.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(e,t){if(1&t&&(e=o(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(o.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)o.d(n,r,function(t){return e[t]}.bind(null,r));return n},o.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="/";var s=window["webpackJsonp"]=window["webpackJsonp"]||[],l=s.push.bind(s);s.push=t,s=s.slice();for(var u=0;u<s.length;u++)t(s[u]);var c=l;i.push([0,"chunk-vendors"]),n()})({0:function(e,t,n){e.exports=n("56d7")},"003d":function(e,t,n){"use strict";n.r(t);var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.node.render?n("v-col",{class:e.classes,attrs:{cols:e.cols}},[e.node.children&&"object"===typeof e.node.children?n("v-row",e._l(e.node.children,(function(e,t,r){return n("node",{key:t,attrs:{index:r,type:t,node:e}})})),1):n("div",[e.node.render?n(e.node.formComponent,{tag:"component",attrs:{name:e.type,updateKey:e.type,vuetifyProps:e.getCustomProps(e.node),componentProps:e.node}}):e._e()],1)],1):e._e()},a=[],i=(n("a9e3"),n("ac1f"),n("1276"),function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[e.componentProps.render?n("v-text-field",e._b({attrs:{label:e.componentProps.placeholder,counter:e.counter,"counter-value":e.printCounterValue,"error-messages":e.displayErrors(e.componentProps.validation,e.$v.getCurrentValue)},on:{blur:function(t){return e.validateInput(e.$v)},input:function(t){return e.updateField(e.updateKey,t)}},model:{value:e.getCurrentValue,callback:function(t){e.getCurrentValue=t},expression:"getCurrentValue"}},"v-text-field",e.vuetifyProps,!1)):e._e()],1)}),o=[],s=(n("4160"),n("b64b"),n("159b"),n("5530")),l=(n("4fad"),n("3835")),u=n("a026"),c=n("1dce"),d=n.n(c),p=n("b5ae");u["a"].use(d.a);var m={data:function(){return{messages:{required:"This field is required",maxLength:"Too long field",url:"Invalid URL",minValue:"",maxValue:"",numeric:"Number is required",isJson:"The input value not in json format"},counter:""}},methods:{printCounterValue:function(){if(""!==this.counter)return this.currentValue.length},displayErrors:function(e,t){var n=[];if(void 0!==e)for(var r=0,a=Object.entries(e);r<a.length;r++){var i=Object(l["a"])(a[r],2),o=i[0];i[1];t.$dirty&&t.$invalid&&!t[o]&&n.push(this.messages[o])}return n},validateInput:function(e){e.$touch()},createValidatorsObject:function(e){var t={};return void 0===e||0===Object.keys(e).length||(e.required&&(t["required"]=p["required"]),e.maxLength>0&&(t["maxLength"]=Object(p["maxLength"])(e["maxLength"])),e.url&&(t["url"]=p["url"]),e.minValue>0&&(t["minValue"]=Object(p["minValue"])(e["minValue"])),e.maxValue>0&&(t["maxValue"]=Object(p["maxValue"])(e["maxValue"])),e.numeric&&(t["numeric"]=p["numeric"]),e.isJson&&(t["isJson"]=isJsone)),t}},mounted:function(){void 0!==this.validation&&void 0!==this.validation.maxLength&&(this.counter=this.validation.maxLength)}},f={props:{componentProps:{type:Object,default:function(){return{placeholder:"",validation:{},value:""}}},name:{type:[String,Number],required:!1},vuetifyProps:{type:Object,default:function(){return{}}}}},v=n("aa03"),h=n("2f62"),g={mixins:[v["a"]],data:function(){return{rating:{type:Object,default:function(){return{ratingValue:null,ratingCount:null,reviewCount:null,worstResult:null,bestResult:null}}}}},methods:Object(s["a"])(Object(s["a"])(Object(s["a"])({},Object(h["b"])(["setRatingResult","setWorstResult","setBestResult"])),Object(h["c"])(["getRating"])),{},{calculateRating:function(e,t){switch(""!==t&&(t=parseInt(t)),e){case"aggregateRating.ratingValue":this.setRating(t);break;case"aggregateRating.worstRating":this.setWorst(t);break;case"aggregateRating.bestRating":this.setBest(t);break;default:break}},setRating:function(e){this.setRatingResult(e)},setWorst:function(e){this.setWorstResult(e)},setBest:function(e){this.setBestResult(e)}}),mounted:function(){this.rating=this.getRating()}},y=n("56d7"),b={mixins:[m,f,g],props:{updateKey:{type:[String,Array,Number],required:!0}},data:function(){return{currentValue:""}},methods:Object(s["a"])(Object(s["a"])({},Object(h["c"])(["getSchemaType","getReviews"])),{},{updateField:function(e,t){this.validateInput(this.$v),this.calculateRating(e,t),y["schemaEmitter"].$emit("input",e,t),this.setRatingValues(e,t),this.calculateValue(),this.duplicateValues(t)},setRatingValues:function(e,t){var n=Object.keys(this.getReviews());n.forEach((function(n){"aggregateRating.bestRating"===e&&(y["schemaEmitter"].$emit("input","review.".concat(n,".reviewRating.bestRating"),t),y["schemaEmitter"].$emit("input","review.".concat(n,".reviewRating.ratingValue"),{validation:{maxValue:t}})),"aggregateRating.worstRating"===e&&(y["schemaEmitter"].$emit("input","review.".concat(n,".reviewRating.worstRating"),t),y["schemaEmitter"].$emit("input","review.".concat(n,".reviewRating.ratingValue"),{validation:{minValue:t}}))}))},calculateValue:function(){if(this.componentProps.hasOwnProperty("calculateValue")){var e=0,t=this.getSchemaType(),n=this.componentProps.calculateValue;for(var r in n.from){if(n.from.hasOwnProperty(r)){var a=this.findVal(t,n.from[r]);""!==a.value&&(e+=parseInt(a.value))}for(var i in n.to)if(n.to.hasOwnProperty(i)){var o=e>0?e:"";y["schemaEmitter"].$emit("input",n.to[i],o)}}}}}),mounted:function(){this.calculateRating(this.updateKey,this.getCurrentValue)},validations:function(){return{getCurrentValue:this.validators}},computed:{validators:{get:function(){return this.createValidatorsObject(this.componentProps.validation)},set:function(e){return e}},getCurrentValue:{get:function(){var e;return null!==(e=this.componentProps.value)&&void 0!==e?e:"adasdasd"},set:function(e){return e}}}},C=b,w=n("2877"),O=n("6544"),_=n.n(O),S=n("8654"), P=Object(w["a"])(C,i,o,!1,null,"53a66dd1",null),R=P.exports;_()(P,{VTextField:S["a"]});var I=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",e._l(e.getCurrentValue,(function(t,r){return n("div",{key:r,staticClass:"repeater-items row"},[e._l(t,(function(t,a){return e.componentProps.hide?e._e():n("form-tree",{key:a,attrs:{index:r,type:a,node:t}})})),n("v-row",[n("v-col",{attrs:{cols:"6"}},[n("v-btn",{attrs:{small:"",color:"primary"},on:{click:function(t){return e.addItem(r,e.componentProps.name)}}},[n("v-icon",{attrs:{small:""}},[e._v(" mdi-plus ")]),e._v(" "+e._s(e.componentProps.buttonTitle)+" ")],1)],1),n("v-col",{attrs:{cols:"6"}},[n("v-btn",{attrs:{small:"",color:"error",disabled:e.disableButton},on:{click:function(t){return e.deleteItem(r)}}},[e._v("Delete")])],1)],1)],2)})),0)},V=[],j=(n("99af"),n("4de4"),n("a15b"),n("fb6a"),n("a434"),n("b0c0"),n("d3b7"),n("4d63"),n("25f0"),n("8a79"),n("5319"),{mixins:[m,f,v["a"]],data:function(){return{currentValue:String}},components:{FormTree:function(){return Promise.resolve().then(n.bind(null,"003d"))}},methods:Object(s["a"])(Object(s["a"])(Object(s["a"])({},Object(h["b"])(["setReviewRating","updateReviewRating"])),Object(h["c"])(["getReviews","getRating","getDefaultData"])),{},{addItem:function(e,t){var n={};if(1===this.componentProps.value.length&&this.componentProps.hide)n["hide"]=!1,"review"!==this.name&&"recipeInstructions"!==this.name||(n["renderJson"]=!0),y["schemaEmitter"].$emit("input",this.name,n);else{var r=JSON.parse(JSON.stringify(this.findVal(this.getDefaultData(),this.componentProps.name))),a=r.value.shift(),i=this.changeItemKey(a,e,t);this.componentProps.value.push(i),y["schemaEmitter"].$emit("input",this.name,{value:this.componentProps.value})}this.updateReviews(),this.updateBreadcrumbs(this.componentProps.value),this.duplicateValues(this.componentProps.value)},deleteItem:function(e){var t={};1===this.componentProps.value.length&&!1===this.componentProps.hide&&(t["hide"]=!0,"review"!==this.name&&"recipeInstructions"!==this.name||(t["renderJson"]=!1),y["schemaEmitter"].$emit("input",this.name,t),y["schemaEmitter"].$emit("input","review.0.reviewRating.ratingValue",""),this.setReviewRating({0:""}),this.updateRatingValues("")),this.componentProps.value.length>1&&(this.componentProps.value.splice(e,1),y["schemaEmitter"].$emit("input",this.name,{value:this.componentProps.value})),this.updateReviews(),this.updateBreadcrumbs(this.componentProps.value),this.duplicateValues(this.componentProps.value)},changeItemKey:function(e,t,n){var r=Object.keys(e).shift().split(".");r.splice(-1,1);var a=r.join("."),i=Math.random().toString(16).slice(2),o="".concat(n,".").concat(i),s=JSON.stringify(e),l=new RegExp('"'.concat(a),"g"),u=s.replace(l,'"'.concat(o));return u=u.replace(/"uuid":"(.+?)",/gm,'"uuid":"'.concat(i,'",')),JSON.parse(u)},updateReviews:function(){var e=this;if("review"===this.name&&void 0!==this.getCurrentValue){var t={};this.getCurrentValue.forEach((function(n,r){var a=new RegExp(".reviewRating.ratingValue$","g"),i=e.findVal(n,a,!0);t[i.uuid]=i.value})),this.setReviewRating(t);var n=this.getRating();y["schemaEmitter"].$emit("input","aggregateRating.ratingValue",n.ratingValue),y["schemaEmitter"].$emit("input","aggregateRating.ratingCount",n.ratingCount),y["schemaEmitter"].$emit("input","aggregateRating.reviewCount",n.reviewCount)}},updateBreadcrumbs:function(e){"itemListElement"===this.name&&e.forEach((function(e,t){var n=Object.keys(e),r=n.filter((function(e){return e.endsWith(".position")})).shift(),a=t+1;y["schemaEmitter"].$emit("input",r,a)}))}}),validations:function(){return{getCurrentValue:this.validators}},mounted:function(){this.updateReviews()},computed:{validators:{get:function(){return this.createValidatorsObject(this.componentProps.validation)},set:function(e){return e}},getCurrentValue:{get:function(){return this.validateInput(this.$v),this.duplicateValues(this.componentProps.value),this.componentProps.value},set:function(e){return e}},disableButton:function(){return this.componentProps.hasOwnProperty("hide")?!(1!==this.componentProps.value.length||!this.componentProps.hide):this.componentProps.value.length<=1}}}),x=j,T=n("8336"),J=n("62ad"),E=n("132d"),$=n("0fd9"),k=Object(w["a"])(x,I,V,!1,null,"f1bcc2e0",null),D=k.exports;_()(k,{VBtn:T["a"],VCol:J["a"],VIcon:E["a"],VRow:$["a"]});var N=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("v-select",e._b({attrs:{items:e.componentProps.value,"item-text":"value","item-value":"value",attach:"",label:e.componentProps.placeholder},on:{change:function(t){e.updateField(e.updateKey,e.getSelectedObject(t,e.componentProps.value))}},model:{value:e.selected,callback:function(t){e.selected=t},expression:"selected"}},"v-select",e.vuetifyProps,!1))],1)},A=[],L=(n("c740"),n("d81d"),n("ddb0"),n("b85c")),F=n("fad7"),U={mixins:[f,v["a"]],props:["name","placeholder","fieldValues","validation","updateKey","schemas_type"],components:{Schema:F["a"]},data:function(){return{selected:"",dropdown_texts:[],dropdown_values:[],schemas:this.schemas_type,result:""}},methods:Object(s["a"])(Object(s["a"])(Object(s["a"])({},Object(h["b"])(["run"])),Object(h["d"])(["updateProperty"])),{},{updateField:function(e,t){y["schemaEmitter"].$emit("input",e,{value:t}),this.changeView()},changeView:function(){if(this.getSchemaType.hasOwnProperty("offers")&&"undefined"!==typeof this.componentProps.changeView&&!1!==this.componentProps.changeView){var e=this.getSchemaType.offers.children;for(var t in this.getSchemaType.offers.children)for(var n in e[t])"showOnSelect"===n&&(this.selected===e[t][n]["value"]?y["schemaEmitter"].$emit("input",t,{render:!0,renderJson:e[t][n]["show"]["renderJson"]}):y["schemaEmitter"].$emit("input",t,{render:!1,renderJson:e[t][n]["hide"]["renderJson"],value:this.setEmptyValue(e[t]["value"])}));this.updateProperty(["schemaType",this.getSchemaType])}},getSelectedObject:function(e,t){var n=t.findIndex((function(t){return e===t.value}));for(var r in t)parseInt(r)===n?t[r].selected=!0:t[r].selected=!1;return t},getSelectedValue:function(){var e=this.componentProps.value.findIndex((function(e){return e.selected}));return this.componentProps.value[e]},getDropDownText:function(){return this.componentProps.value.map((function(e){return e.value}))},getDropDownValues:function(){var e,t=[],n=this.componentProps.value.keys(),r=Object(L["a"])(n);try{for(r.s();!(e=r.n()).done;){var a=e.value;t.push(a)}}catch(i){r.e(i)}finally{r.f()}return t}}),validations:function(){return{selected:this.validators}},mounted:function(){this.selected=this.getSelectedValue()},computed:Object(s["a"])(Object(s["a"])({},Object(h["c"])(["getJsonType","getSchemaType","getSourceType"])),{},{getSelectedItem:function(){return this.componentProps.value.findIndex((function(e){return e.selected}))}})},B=U,q=n("b974"),K=Object(w["a"])(B,N,A,!1,null,"567bb4d8",null),M=K.exports;_()(K,{VSelect:q["a"]});var W=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("v-menu",{attrs:{"close-on-content-click":!1,"nudge-right":40,transition:"scale-transition","offset-y":"",attach:"","min-width":"290px"},scopedSlots:e._u([{key:"activator",fn:function(t){var r=t.on,a=t.attrs;return[n("v-text-field",e._g(e._b({attrs:{label:e.componentProps.placeholder,"prepend-icon":"event",vuetifyProps:e.vuetifyProps},model:{value:e.getCurrentValue,callback:function(t){e.getCurrentValue=t},expression:"getCurrentValue"}},"v-text-field",a,!1),r))]}}]),model:{value:e.menu2,callback:function(t){e.menu2=t},expression:"menu2"}},[n("v-date-picker",{on:{change:function(t){e.menu2=!1},input:function(t){return e.updateField(e.updateKey,t)}},model:{value:e.getCurrentValue,callback:function(t){e.getCurrentValue=t},expression:"getCurrentValue"}})],1)],1)},z=[],Q={mixins:[f,v["a"]],props:{updateKey:{type:[String,Array],required:!0}},data:function(){return{currentValue:(new Date).toISOString().substr(0,10),menu:!1,modal:!1,menu2:!1,validators:{}}},methods:{updateField:function(e,t){y["schemaEmitter"].$emit("input",e,t),this.duplicateValues(t)}},mounted:function(){this.updateField(this.updateKey,this.getCurrentValue)},computed:{getCurrentValue:{get:function(){var e;return null!==(e=this.componentProps.value)&&void 0!==e?e:(new Date).toISOString().substr(0,10)},set:function(e){return e}}}},G=Q,H=n("2e4b"),Y=n("e449"),X=Object(w["a"])(G,W,z,!1,null,"f3321252",null),Z=X.exports;_()(X,{VDatePicker:H["a"],VMenu:Y["a"],VTextField:S["a"]});var ee=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("v-textarea",{attrs:{label:e.componentProps.placeholder,"full-width":e.fullWidth,counter:e.counter,"counter-value":e.printCounterValue,"error-messages":e.displayErrors(e.componentProps.validation,e.$v.currentValue)},on:{input:function(t){return e.updateField(e.updateKey,t)},change:function(t){return e.validateInput(e.$v)}},model:{value:e.currentValue,callback:function(t){e.currentValue=t},expression:"currentValue"}})],1)},te=[],ne={mixins:[m,f,v["a"]],props:{updateKey:{type:[String,Array],required:!0}},data:function(){return{currentValue:"",validators:{},fullWidth:!0}},methods:{updateField:function(e,t){y["schemaEmitter"].$emit("input",e,t),this.duplicateValues(t)}},validations:function(){return{currentValue:this.validators}},mounted:function(){this.validators=this.createValidatorsObject(this.componentProps.validation),this.currentValue=this.componentProps.value}},re=ne,ae=n("a844"),ie=Object(w["a"])(re,ee,te,!1,null,"2841bf26",null),oe=ie.exports;_()(ie,{VTextarea:ae["a"]});var se=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("v-text-field",e._b({attrs:{label:e.componentProps.placeholder,counter:e.counter,"counter-value":e.printCounterValue,"error-messages":e.displayErrors(e.componentProps.validation,e.$v.getCurrentValue)},on:{input:function(t){return e.updateField(e.updateKey,t)}},model:{value:e.getCurrentValue,callback:function(t){e.getCurrentValue=t},expression:"getCurrentValue"}},"v-text-field",e.vuetifyProps,!1))],1)},le=[],ue={mixins:[m,f,g],props:{updateKey:{type:[String,Array],required:!0}},methods:Object(s["a"])(Object(s["a"])(Object(s["a"])({},Object(h["c"])(["getRating","getReviews"])),Object(h["b"])(["updateReviewRating"])),{},{updateField:function(e,t){var n=e.split(".")[1];void 0!==n&&this.updateReviewRating({number:n,value:t}),y["schemaEmitter"].$emit("input",e,t),this.updateRatingValues(t)}}),validations:function(){return{getCurrentValue:this.validators}},computed:{validators:{get:function(){return this.createValidatorsObject(this.componentProps.validation)},set:function(e){return e}},getCurrentValue:{get:function(){var e;return this.validateInput(this.$v),null!==(e=this.componentProps.value)&&void 0!==e?e:parseInt(this.componentProps.value)},set:function(e){return e}}}},ce=ue,de=Object(w["a"])(ce,se,le,!1,null,"36e7678f",null),pe=de.exports;_()(de,{VTextField:S["a"]});var me=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("v-textarea",{attrs:{label:e.componentProps.placeholder,"full-width":e.fullWidth,counter:e.counter,"counter-value":e.printCounterValue,"error-messages":e.displayErrors(e.componentProps.validation,e.$v.currentValue)},on:{input:function(t){return e.updateField(e.updateKey,t)},change:function(t){return e.validateInput(e.$v)}},model:{value:e.currentValue,callback:function(t){e.currentValue=t},expression:"currentValue"}})],1)},fe=[],ve={mixins:[m,f,v["a"]],props:{updateKey:{type:[String,Array],required:!0}},data:function(){return{currentValue:"",validators:{},fullWidth:!0}},methods:{updateField:function(e,t){y["schemaEmitter"].$emit("input",e,t)}},validations:function(){return{currentValue:this.validators}},mounted:function(){this.validators=this.createValidatorsObject(this.componentProps.validation),this.componentProps.value&&(this.currentValue=JSON.stringify(this.componentProps.value))}},he=ve,ge=Object(w["a"])(he,me,fe,!1,null,"530dda9f",null),ye=ge.exports;_()(ge,{VTextarea:ae["a"]});var be={data:function(){return{cols:12,classes:""}},mounted:function(){void 0!==this.node.styles.cols&&(this.cols=this.node.styles.cols),void 0!==this.node.styles.classes&&(this.classes=this.node.styles.classes)}},Ce={mixins:[be],name:"node",props:{node:Object,type:[String,Number],index:Number},components:{Input:R,Selector:M,Repeater:D,DatePicker:Z,TextArea:oe,ReviewRating:pe,Custom:ye},methods:{getCustomProps:function(e){return void 0!==e.vuetifyProps?e.vuetifyProps:{}}},computed:{changeChildType:function(){return this.type.split(".").pop()}},mounted:function(){}},we=Ce,Oe=(n("260e"),Object(w["a"])(we,r,a,!1,null,"a9df98ac",null));t["default"]=Oe.exports;_()(Oe,{VCol:J["a"],VRow:$["a"]})},"017c":function(e,t,n){"use strict";n("99af"),n("4160"),n("159b");t["a"]={filters:{beforeText:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return"".concat(t).concat(e)},afterText:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return"".concat(e).concat(t)},toMinutes:function(e){return"PT".concat(e,"M")},clearSymbols:function(e,t){return t.forEach((function(t){e=e.replaceAll(t,"")})),e},prettyJSON:function(e){if(!e)return"";try{return JSON.stringify(e,null,4)}catch(t){return""}}}}},"034f":function(e,t,n){"use strict";n("85ec")},"0a9f":function(e){e.exports=JSON.parse('{"@context":{"formComponent":"Input","value":"https://schema.org","placeholder":"","name":"@context","render":false,"validation":{},"styles":{}},"@type":{"formComponent":"Input","value":"Product","placeholder":"","name":"@type","render":false,"validation":{},"styles":{}},"productName":{"formComponent":"Input","value":"","placeholder":"Name","name":"name","render":true,"validation":{"required":true},"styles":{"cols":6}},"image":{"formComponent":"Input","value":"","name":"image","placeholder":"Image URL","render":true,"validation":{"url":true},"styles":{"cols":6}},"brand":{"formComponent":"Input","render":true,"renderJson":false,"showOnChange":"brand","name":"brand","value":"","placeholder":"Brand","validation":{},"styles":{"cols":6}},"description":{"formComponent":"TextArea","render":true,"renderJson":false,"name":"description","showOnChange":"description","value":"","placeholder":"Product\'s description","validation":{},"styles":{"cols":6}},"sku":{"formComponent":"Input","render":true,"renderJson":false,"showOnChange":"sku","name":"sku","value":"","placeholder":"Sku","validation":{},"styles":{}},"gtin14":{"formComponent":"Input","render":true,"renderJson":false,"name":"gtin14","value":"","showOnChange":"gtin14","placeholder":"gtin14 (optional)","validation":{},"styles":{"cols":6}},"gtin13":{"formComponent":"Input","render":true,"renderJson":false,"value":"","name":"gtin13","showOnChange":"gtin13","placeholder":"gtin13 (optional)","validation":{},"styles":{"cols":6}},"gtin8":{"formComponent":"Input","render":true,"renderJson":false,"value":"","name":"gtin8","showOnChange":"gtin8","placeholder":"gtin8 (optional)","validation":{},"styles":{"cols":6}},"mpn":{"formComponent":"Input","render":true,"renderJson":false,"value":"","showOnChange":"mpn","name":"mpn","placeholder":"mpn (optional)","validation":{},"styles":{"cols":6}},"offers":{"formComponent":false,"render":true,"renderJson":false,"hasChild":true,"name":"offers","styles":{},"children":{"offers.@type":{"formComponent":"Selector","placeholder":"Offer @type","renderJson":true,"showOnChange":"offers","name":"@type","render":true,"changeView":true,"value":[{"selected":false,"value":"Offer"},{"selected":false,"value":"Aggregate Offer"}],"validation":{},"styles":{"cols":6},"filters":{"clearSymbols":[" "]}},"offers.url":{"formComponent":"Input","value":"","placeholder":"Url","render":true,"name":"url","validation":{"url":true},"styles":{"cols":6}},"offers.priceCurrency":{"formComponent":"Input","placeholder":"Price Currency","value":"","name":"priceCurrency","render":true,"styles":{"cols":6}},"offers.price":{"formComponent":"Input","placeholder":"Price","value":"","name":"price","render":false,"showOnSelect":{"value":"Offer","show":{"renderJson":true},"hide":{"renderJson":false}},"validation":{"numeric":true},"vuetifyProps":{"type":"number"},"styles":{"cols":6}},"offers.priceValidUntil":{"formComponent":"DatePicker","placeholder":"Price Valid Until","renderJson":false,"render":false,"value":"","name":"priceValidUntil","showOnChange":"offers.priceValidUntil","showOnSelect":{"value":"Offer","show":{"renderJson":false},"hide":{"renderJson":false}},"validation":{},"styles":{"cols":6}},"offers.availability":{"formComponent":"Selector","placeholder":"Availability","renderJson":false,"name":"availability","showOnChange":"offers.availability","render":false,"showOnSelect":{"value":"Offer","show":{"renderJson":false},"hide":{"renderJson":false}},"value":[{"selected":false,"value":"In Stock"},{"selected":false,"value":"Out of Stock"},{"selected":false,"value":"Online only"},{"selected":false,"value":"In store only"},{"selected":false,"value":"Pre-order"},{"selected":false,"value":"Pre-sale"},{"selected":false,"value":"Limited availability"},{"selected":false,"value":"Sold out"},{"selected":false,"value":"Discontinued"},{"selected":false,"value":"In Stock"}],"validation":{},"styles":{"cols":6},"filters":{"beforeText":"https://schema.org/","clearSymbols":[" "]}},"offers.condition":{"formComponent":"Selector","placeholder":"Item Condition","renderJson":false,"name":"itemCondition","showOnChange":"offers.condition","showOnSelect":{"value":"Offer","show":{"renderJson":false},"hide":{"renderJson":false}},"render":false,"value":[{"selected":false,"value":"NewCondition"},{"selected":false,"value":"UsedCondition"},{"selected":false,"value":"RefurbishedCondition"},{"selected":false,"value":"DamagedCondition"}],"filters":{"beforeText":"https://schema.org/"},"validation":{},"styles":{"cols":6}},"offers.lowPrice":{"formComponent":"Input","placeholder":"Low Price","value":"","render":false,"renderJson":true,"name":"lowPrice","showOnSelect":{"value":"Aggregate Offer","show":{"renderJson":true},"hide":{"renderJson":false}},"validation":{"number":true},"vuetifyProps":{"type":"number"},"styles":{"cols":6}},"offers.highPrice":{"formComponent":"Input","placeholder":"High Price","value":"","name":"highPrice","render":false,"renderJson":false,"showOnChange":"offers.highPrice","showOnSelect":{"value":"Aggregate Offer","show":{"renderJson":false},"hide":{"renderJson":false}},"vuetifyProps":{"type":"number"},"validation":{"number":true},"styles":{"cols":6}},"offers.offerCount":{"formComponent":"Input","placeholder":"Number of offers","value":"","name":"offerCount","render":false,"renderJson":false,"showOnChange":"offers.offerCount","showOnSelect":{"value":"Aggregate Offer","show":{"renderJson":false},"hide":{"renderJson":false}},"vuetifyProps":{"type":"number"},"validation":{"numeric":true},"styles":{"cols":6}}}},"review":{"formComponent":"Repeater","repeaterType":"object","render":true,"hide":true,"renderJson":false,"name":"review","value":[{"review.0.@type":{"formComponent":"Input","uuid":"0","value":"Review","render":false,"name":"@type","styles":{},"validation":{}},"review.0.name":{"formComponent":"Input","uuid":"0","placeholder":"Review\'s name","render":true,"name":"name","value":"","styles":{"cols":6},"validation":{}},"review.0.reviewBody":{"formComponent":"TextArea","uuid":"0","placeholder":"Review\'s body","name":"reviewBody","render":true,"value":"","styles":{"cols":6},"validation":{}},"review.0.reviewRating":{"formComponent":false,"render":true,"renderJson":false,"name":"reviewRating","styles":{},"validation":{},"hasChild":true,"children":{"review.0.reviewRating.@type":{"formComponent":"Input","uuid":"0","render":false,"name":"@type","value":"Rating","styles":{},"validation":{}},"review.0.reviewRating.ratingValue":{"formComponent":"ReviewRating","uuid":"0","render":true,"value":"","showOnChange":"review.0.reviewRating","placeholder":"Rating","name":"ratingValue","styles":{},"validation":{"maxValue":0,"minValue":0},"vuetifyProps":{"type":"number"}}}},"review.0.datePublished":{"formComponent":"DatePicker","uuid":"0","placeholder":"Date","render":true,"renderJson":false,"showOnChange":"review.0.datePublished","name":"datePublished","value":"","styles":{},"validation":{}},"review.0.author":{"formComponent":false,"uuid":"0","hasChild":true,"render":true,"name":"author","validation":{},"styles":{"cols":6},"children":{"review.0.author.0.@type":{"uuid":"0","formComponent":"Input","render":false,"value":"Person","name":"@type","styles":{},"validation":{}},"review.0.author.0.name":{"formComponent":"Input","uuid":"0","placeholder":"Author","render":true,"name":"name","value":"","styles":{},"validation":{}}}},"review.0.publisher":{"formComponent":false,"uuid":"0","hasChild":true,"renderJson":false,"render":true,"name":"publisher","validation":{},"styles":{"cols":6},"children":{"review.0.publisher.@type":{"formComponent":"Input","uuid":"0","render":false,"value":"Organization","name":"@type","styles":{},"validation":{}},"review.0.publisher.name":{"uuid":"0","formComponent":"Input","placeholder":"Publisher","showOnChange":"review.0.publisher","render":true,"name":"name","value":"","styles":{},"validation":{}}}}}],"validation":{},"styles":{},"buttonTitle":"ADD REVIEW"}}')},"0c0e":function(e,t,n){"use strict";n("e182")},"22c9":function(e,t,n){"use strict";n("fbd5")},"260e":function(e,t,n){"use strict";n("de0a")},"330a":function(e,t,n){},"56d7":function(e,t,n){"use strict";n.r(t),n.d(t,"schemaEmitter",(function(){return O}));n("e260"),n("e6cf"),n("cca6"),n("a79d");var r=n("a026"),a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("v-app",{attrs:{id:"schema"}},[n("div",{attrs:{id:"app"}},[n("Schema",{attrs:{schemas_type:e.schemasType}})],1)])},i=[],o=n("fad7"),s={name:"App",data:function(){return{schemasType:[{title:"Article",description:"- NewsArticle, BlogPosting",icon:"mdi-newspaper"},{title:"Breadcrumbs",description:"",icon:"mdi-chevron-double-right"},{title:"FAQPage",description:"",icon:"mdi-help-circle-outline"},{title:"Product",description:"- Offer, AggregateRating, Reviews",icon:"mdi-tag-outline"},{title:"Recipe",description:"",icon:"mdi-chef-hat"},{title:"Custom",description:"- Insert your own schema",icon:"mdi-border-color"}]}},components:{Schema:o["a"]}},l=s,u=(n("034f"),n("2877")),c=n("6544"),d=n.n(c),p=n("7496"),m=Object(u["a"])(l,a,i,!1,null,null,null),f=m.exports;d()(m,{VApp:p["a"]});var v=n("f309");r["a"].use(v["a"]);var h=new v["a"]({}),g=(n("d1e78"),n("2f62")),y={state:{default:{},schemaType:{},jsonType:{},sourceType:{}},mutations:{updateDefault:function(e,t){e["default"]=t},updateProperty:function(e,t){e[t[0]]=t[1]}},actions:{setDefaultData:function(e,t){var n=e.commit,r=JSON.parse(t.jsonString);n("updateDefault",r[t.key])},run:function(e,t){var n=e.commit;t&&(n("updateProperty",["schemaType",t]),n("updateProperty",["jsonType",JSON.parse(JSON.stringify(t))]),n("updateProperty",["sourceType",JSON.parse(JSON.stringify(t))]))}},getters:{getJsonType:function(e){return e.jsonType},getSchemaType:function(e){return e.schemaType},getSourceType:function(e){return e.sourceType},getDefaultData:function(e){return e.default}}},b=(n("b64b"),{state:{rating:{ratingValue:null,ratingCount:null,reviewCount:null,worstResult:null,bestResult:null},reviews:{}},mutations:{updateReview:function(e,t){e["reviews"][t.number]=t.value},setReview:function(e,t){e["reviews"]=t},updateRating:function(e,t){e["rating"]=t}},actions:{updateReviewRating:function(e,t){var n=e.commit,r=e.dispatch;n("updateReview",t),r("calculateRating")},setReviewRating:function(e,t){var n=e.commit,r=e.dispatch;n("setReview",t),r("calculateRating")},calculateRating:function(e){var t=e.commit,n=e.getters,r=n.getRating,a=null,i={ratingValue:null,ratingCount:null,reviewCount:null,worstResult:r.worstResult,bestResult:r.bestResult},o=null,s=n.getReviews,l=Object.keys(s).length;for(var u in s)s.hasOwnProperty(u)&&""!==s[u]&&(o+=1,a+=parseInt(s[u]));null!==o&&(i.ratingCount=o),null!==a&&(i.ratingValue=a/o),i.reviewCount=l,t("updateRating",i)},setRatingResult:function(e,t){e.commit},setBestResult:function(e,t){var n=e.commit,r=e.getters,a=r.getRating;n("updateRating",{ratingValue:a.ratingValue,ratingCount:a.ratingCount,reviewCount:a.reviewCount,bestResult:t,worstResult:a.worstResult})},setWorstResult:function(e,t){var n=e.commit,r=e.getters,a=r.getRating;r.getReviews;n("updateRating",{ratingValue:a.ratingValue,ratingCount:a.ratingCount,reviewCount:a.reviewCount,bestResult:a.bestResult,worstResult:t})}},getters:{getRating:function(e){return e.rating},getReviews:function(e){return e.reviews}}}),C={state:{currentSchema:{},schemasList:{}},mutations:{updateCurrentSchema:function(e,t){e.currentSchema=t},updateSchemasList:function(e,t){e.schemasList=t}},actions:{setCurrentSchema:function(e,t){var n=e.commit;n("updateCurrentSchema",t)},setSchemasList:function(e,t){var n=e.commit;n("updateSchemasList",t)}},getters:{getCurrentSchema:function(e){return e.currentSchema},getSchemasList:function(e){return e.schemasList}}};r["a"].use(g["a"]);var w=new g["a"].Store({modules:{schema:y,rating:b,currentSchema:C}});r["a"].config.productionTip=!1;var O=new r["a"];new r["a"]({vuetify:h,store:w,render:function(e){return e(f)},created:function(){"undefined"!==typeof schema_integration&&schema_integration.hasOwnProperty("i18n")&&this.setLocaleData(schema_integration.i18n["schema_integration"])}}).$mount("#app")},"6bdd":function(e,t,n){"use strict";n("c22a")},"7bc67":function(e,t,n){},"7ebc":function(e){e.exports=JSON.parse('{"@context":{"formComponent":"Input","value":"https://schema.org","name":"@context","placeholder":"","render":false,"validation":{},"styles":{}},"@type":{"formComponent":"Input","value":"Recipe","name":"@type","placeholder":"","render":false,"validation":{},"styles":{}},"recipeName":{"formComponent":"Input","value":"","placeholder":"Name","name":"name","render":true,"validation":{"required":true},"styles":{"cols":6},"duplicateFor":["video.@name"]},"keywords":{"formComponent":"Input","value":"","placeholder":"Keywords","render":true,"name":"keywords","validation":{},"styles":{"cols":6}},"description":{"formComponent":"TextArea","value":"","placeholder":"Recipe\'s description","name":"description","render":true,"validation":{},"styles":{},"duplicateFor":["video.description"]},"image":{"formComponent":"Repeater","repeaterType":"array","render":true,"name":"image","value":[{"image.0.url":{"formComponent":"Input","placeholder":"Image URL #","uuid":"0","render":true,"name":"url","value":"","styles":{},"validation":{"url":true}}}],"validation":{"required":true},"styles":{},"buttonTitle":"IMAGE","duplicateFor":["video.thumbnailUrl"]},"video":{"formComponent":false,"hasChild":true,"render":true,"name":"video","renderJson":false,"validation":{},"styles":{},"children":{"video.@type":{"formComponent":"Input","render":false,"value":"VideoObject","name":"@type","renderJson":true,"validation":{},"styles":{}},"video.@name":{"formComponent":"Input","render":false,"renderJson":true,"name":"name","value":"","validation":{},"styles":{}},"video.description":{"formComponent":"TextArea","render":false,"showOnChange":"description","name":"description","value":"","validation":{},"styles":{}},"video.thumbnailUrl":{"formComponent":"Repeater","repeaterType":"array","value":[{"video.0.thumbnailUrl":{"formComponent":"Input","placeholder":"Image URL #","uuid":"0","render":true,"name":"url","value":"","styles":{},"validation":{"url":true}}}],"render":false,"name":"thumbnailUrl","validation":{},"styles":{}},"video.uploadDate":{"formComponent":"DatePicker","value":"","name":"uploadDate","render":false,"renderJson":false,"showOnChange":"video.uploadDate","validation":{},"styles":{}},"video.contentUrl":{"formComponent":"Input","showOnChange":"video","render":true,"value":"","name":"contentUrl","placeholder":"Video: Content URL","validation":{"url":true},"styles":{"cols":6}},"video.embedUrl":{"formComponent":"Input","showOnChange":"video","render":true,"value":"","name":"embedUrl","placeholder":"Video: Embed URL","validation":{"url":true},"styles":{"cols":6}}}},"author":{"formComponent":false,"hasChild":true,"render":true,"name":"author","children":{"author.@type":{"formComponent":"Input","value":"Person","name":"@type","placeholder":"","render":false,"validation":{},"styles":{}},"author.name":{"formComponent":"Input","value":"","name":"name","placeholder":"Creator","render":true,"validation":{},"styles":{}}},"styles":{},"validation":{}},"datePublished":{"formComponent":"DatePicker","value":"","name":"datePublished","placeholder":"Date publisher","render":true,"validation":{},"styles":{"cols":4},"duplicateFor":["video.uploadDate"]},"prepTime":{"formComponent":"Input","vuetifyProps":{"type":"number"},"name":"prepTime","showOnChange":"prepTime","render":true,"value":"","placeholder":"Preparation (min)","calculateValue":{"from":["cookTime","prepTime"],"to":["totalTime"]},"styles":{"cols":4},"filters":{"toMinutes":true}},"cookTime":{"formComponent":"Input","vuetifyProps":{"type":"number"},"name":"cookTime","showOnChange":"cookTime","render":true,"value":"","placeholder":"Cooking (min)","calculateValue":{"from":["cookTime","prepTime"],"to":["totalTime"]},"styles":{"cols":4},"filters":{"toMinutes":true}},"totalTime":{"formComponent":"Input","vuetifyProps":{"type":"number"},"name":"totalTime","render":false,"renderJson":true,"value":"","placeholder":"Total (min)","styles":{"cols":4},"filters":{"toMinutes":true}},"recipeCategory":{"formComponent":"Selector","renderJson":false,"name":"recipeCategory","showOnChange":"recipeCategory","value":[{"selected":true,"value":""},{"selected":false,"value":"Appetizer"},{"selected":false,"value":"Entree"},{"selected":false,"value":"Dessert"}],"placeholder":"Category","render":true,"validation":{},"styles":{"cols":4}},"recipeCuisine":{"formComponent":"Input","renderJson":false,"showOnChange":"recipeCuisine","render":true,"value":"","name":"recipeCuisine","placeholder":"Cuisine","styles":{"cols":4}},"recipeYield":{"formComponent":"Input","vuetifyProps":{"type":"number"},"renderJson":false,"name":"recipeYield","showOnChange":"recipeYield","render":true,"value":"","placeholder":"Servings","styles":{"cols":4}},"recipeIngredient":{"formComponent":"Repeater","repeaterType":"array","render":true,"renderJson":false,"name":"recipeIngredient","value":[{"recipeIngredient.0.ingredient":{"formComponent":"Input","uuid":"0","placeholder":"Ingredient #","render":true,"value":"","name":"ingredient","styles":{},"validation":{},"showOnChange":"recipeIngredient"}}],"validation":{},"styles":{},"buttonTitle":"ADD INGREDIENT"},"nutrition":{"formComponent":false,"render":true,"hasChild":true,"styles":{},"name":"nutrition","validation":{},"children":{"nutrition.@type":{"formComponent":"Input","renderJson":true,"render":false,"name":"@type","value":"NutritionInformation","validation":{},"styles":{"cols":4}},"nutrition.servingSize":{"formComponent":"Input","renderJson":false,"showOnChange":"nutrition.servingSize","render":true,"value":"","name":"servingSize","placeholder":"Nutrition: Serving size","validation":{},"styles":{"cols":4}},"nutrition.calories":{"formComponent":"Input","renderJson":true,"render":true,"value":"","name":"calories","placeholder":"Nutrition: Calories","validation":{},"styles":{"cols":4},"vuetifyProps":{"type":"number"},"filters":{"afterText":" cal"}},"nutrition.fatContent":{"formComponent":"Input","renderJson":false,"render":true,"name":"fatContent","showOnChange":"nutrition.fatContent","value":"","placeholder":"Nutrition: Fat(grams)","validation":{},"styles":{"cols":4},"vuetifyProps":{"type":"number"},"filters":{"afterText":" g"}}}},"recipeInstructions":{"formComponent":"Repeater","repeaterType":"object","render":true,"hide":true,"renderJson":false,"name":"recipeInstructions","value":[{"recipeInstructions.0.@type":{"formComponent":"Input","render":false,"uuid":"0","name":"@type","value":"HowToStep","styles":{},"validation":{}},"recipeInstructions.0.text":{"formComponent":"Input","render":true,"uuid":"0","name":"text","renderJson":false,"placeholder":"Step #: Text","showOnChange":"recipeInstructions.0.text","value":"","validation":{},"styles":{"cols":3}},"recipeInstructions.0.name":{"formComponent":"Input","render":true,"uuid":"0","name":"name","placeholder":"Name","renderJson":false,"showOnChange":"recipeInstructions.0.name","value":"","validation":{},"styles":{"cols":3}},"recipeInstructions.0.url":{"formComponent":"Input","render":true,"uuid":"0","name":"url","renderJson":false,"placeholder":"URL","showOnChange":"recipeInstructions.0.url","value":"","validation":{"url":true},"styles":{"cols":3}},"recipeInstructions.0.image":{"formComponent":"Input","render":true,"uuid":"0","name":"image","renderJson":false,"placeholder":"Image","showOnChange":"recipeInstructions.0.image","value":"","validation":{"url":true},"styles":{"cols":3}}}],"validation":{},"styles":{},"buttonTitle":"ADD STEP"},"review":{"formComponent":"Repeater","repeaterType":"object","render":true,"hide":true,"renderJson":false,"name":"review","value":[{"review.0.@type":{"formComponent":"Input","uuid":"0","value":"Review","render":false,"name":"@type","styles":{},"validation":{}},"review.0.name":{"formComponent":"Input","uuid":"0","placeholder":"Review\'s name","render":true,"name":"name","value":"","styles":{"cols":6},"validation":{}},"review.0.reviewBody":{"formComponent":"TextArea","uuid":"0","placeholder":"Review\'s body","name":"reviewBody","render":true,"value":"","styles":{"cols":6},"validation":{}},"review.0.reviewRating":{"formComponent":false,"render":true,"renderJson":false,"name":"reviewRating","styles":{},"validation":{},"hasChild":true,"children":{"review.0.reviewRating.@type":{"formComponent":"Input","uuid":"0","render":false,"name":"@type","value":"Rating","styles":{},"validation":{}},"review.0.reviewRating.ratingValue":{"formComponent":"ReviewRating","uuid":"0","render":true,"value":"","showOnChange":"review.0.reviewRating","placeholder":"Rating","name":"ratingValue","styles":{},"validation":{"maxValue":0,"minValue":0},"vuetifyProps":{"type":"number"}}}},"review.0.datePublished":{"formComponent":"DatePicker","uuid":"0","placeholder":"Date","render":true,"renderJson":false,"showOnChange":"review.0.datePublished","name":"datePublished","value":"","styles":{},"validation":{}},"review.0.author":{"formComponent":false,"uuid":"0","hasChild":true,"render":true,"name":"author","validation":{},"styles":{"cols":6},"children":{"review.0.author.0.@type":{"uuid":"0","formComponent":"Input","render":false,"value":"Person","name":"@type","styles":{},"validation":{}},"review.0.author.0.name":{"formComponent":"Input","uuid":"0","placeholder":"Author","render":true,"name":"name","value":"","styles":{},"validation":{}}}},"review.0.publisher":{"formComponent":false,"uuid":"0","hasChild":true,"renderJson":false,"render":true,"name":"publisher","validation":{},"styles":{"cols":6},"children":{"review.0.publisher.@type":{"formComponent":"Input","uuid":"0","render":false,"value":"Organization","name":"@type","styles":{},"validation":{}},"review.0.publisher.name":{"uuid":"0","formComponent":"Input","placeholder":"Publisher","showOnChange":"review.0.publisher","render":true,"name":"name","value":"","styles":{},"validation":{}}}}}],"validation":{},"styles":{},"buttonTitle":"ADD REVIEW"}}')},"85ec":function(e,t,n){},"87f9":function(e,t,n){},"98d7":function(e){e.exports=JSON.parse('{"@context":{"formComponent":"Input","value":"https://schema.org","placeholder":"","name":"@context","render":false,"validation":{},"styles":{}},"@type":{"formComponent":"Selector","name":"@type","value":[{"selected":true,"value":"Article"},{"selected":false,"value":"NewsArticle"},{"selected":false,"value":"BlogPosting"}],"placeholder":"Article @type","render":true,"validation":{},"styles":{}},"mainEntityOfPage":{"formComponent":false,"render":true,"renderJson":false,"name":"mainEntityOfPage","hasChild":true,"validation":{},"styles":{"cols":6},"children":{"mainEntityOfPage.@type":{"formComponent":"Input","hasChild":false,"name":"@type","value":"WebPage","placeholder":"","validation":{},"styles":{}},"mainEntityOfPage.@id":{"formComponent":"Input","render":true,"hasChild":false,"name":"@id","showOnChange":"mainEntityOfPage","value":"","placeholder":"URL","validation":{"url":true},"styles":{"classes":"ptb-0"}}}},"headline":{"formComponent":"Input","render":true,"value":"","name":"headline","placeholder":"Headline","validation":{"maxLength":110},"styles":{"cols":6}},"description":{"formComponent":"Input","render":true,"renderJson":false,"name":"description","showOnChange":"description","value":"","placeholder":"Description of the article","validation":{},"styles":{}},"image":{"formComponent":"Repeater","repeaterType":"array","render":true,"name":"image","value":[{"image.0.url":{"formComponent":"Input","uuid":"0","placeholder":"Image URL #","render":true,"name":"url","value":"","styles":{},"validation":{"url":true}}}],"validation":{},"styles":{},"buttonTitle":"IMAGE"},"author":{"formComponent":false,"hasChild":true,"render":true,"name":"author","children":{"author.@type":{"formComponent":"Selector","name":"@type","value":[{"selected":false,"value":"Person"},{"selected":false,"value":"Organization"}],"placeholder":"Author @type","render":true,"validation":{},"styles":{}},"author.name":{"formComponent":"Input","value":"","placeholder":"Author","name":"name","render":true,"validation":{},"styles":{}}},"styles":{},"validation":{}},"publisher":{"formComponent":false,"hasChild":true,"render":true,"name":"publisher","styles":{},"children":{"publisher.@type":{"formComponent":"Input","value":"Organization","placeholder":"","name":"@type","render":false,"validation":{},"styles":{}},"publisher.name":{"formComponent":"Input","value":"","name":"name","placeholder":"Publisher","render":true,"validation":{},"styles":{}},"publisher.logo":{"formComponent":false,"hasChild":true,"render":true,"name":"logo","styles":{},"children":{"publisher.logo.@type":{"formComponent":"Input","value":"ImageObject","placeholder":"","name":"@type","render":false,"validation":{},"styles":{}},"publisher.logo.url":{"formComponent":"Input","value":"","name":"url","placeholder":"Publisher logo URL","render":true,"validation":{"url":true},"styles":{}}},"validation":{}}},"validation":{}},"datePublished":{"formComponent":"DatePicker","value":"","placeholder":"Date publisher","name":"datePublished","render":true,"validation":{},"styles":{"cols":5}},"dateModified":{"formComponent":"DatePicker","value":"","placeholder":"Date modified","renderJson":false,"name":"dateModified","showOnChange":"dateModified","render":true,"required":false,"validation":{},"styles":{"cols":7}}}')},a758:function(e,t,n){"use strict";n("7bc67")},aa03:function(e,t,n){"use strict";n("99af"),n("c740"),n("4160"),n("45fc"),n("a434"),n("b64b"),n("ac1f"),n("841c"),n("1276"),n("159b");var r=n("ade3"),a=n("53ca"),i=n("56d7"),o=n("017c");t["a"]={mixins:[o["a"]],methods:{findVal:function(e,t){var n,r=this,i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return Object.keys(e).some((function(o){return i&&-1!==o.search(t)||o===t?(n=e[o],!0):e[o]&&"object"===Object(a["a"])(e[o])?(n=r.findVal(e[o],t,i),void 0!==n):void 0})),n},changeChildType:function(e){return e.split(".").pop()},isLastItem:function(e,t){for(var n in e){var r="undefined"===typeof t[e[n]].renderJson||t[e[n]].renderJson;if(r)return!1}return!0},printComma:function(e,t){var n=Object.keys(t),r=n[e],a="undefined"===typeof t[r].renderJson||t[r].renderJson,i=n.length;if(e===i-1)return"";if(!a)return"";var o=n.splice(e+1,n.length);return o.length>0&&this.isLastItem(o,t)?"":","},renderItem:function(e){return void 0===e.renderJson||e.renderJson},isObject:function(e){return e&&"object"===Object(a["a"])(e)&&!Array.isArray(e)},mergeDeep:function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),a=1;a<t;a++)n[a-1]=arguments[a];if(!n.length)return e;var i=n.shift();if(this.isObject(e)&&this.isObject(i))for(var o in i)i.hasOwnProperty(o)&&this.isObject(i[o])?(e[o]?e[o]=Object.assign({},e[o]):Object.assign(e,Object(r["a"])({},o,{})),this.mergeDeep(e[o],i[o])):Object.assign(e,Object(r["a"])({},o,i[o]));return this.mergeDeep.apply(this,[e].concat(n))},getFilters:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(e)for(var n in t)"beforeText"===n&&(e=this.$options.filters.beforeText(e,t[n])),"afterText"===n&&(e=this.$options.filters.afterText(e,t[n])),"toMinutes"===n&&(e=this.$options.filters.toMinutes(e)),"clearSymbols"===n&&(e=this.$options.filters.clearSymbols(e,t[n]));return e},updateRatingValues:function(e){var t=this.getRating(),n=Object.keys(this.getReviews()),r={value:t.ratingValue},a={value:t.ratingCount};n.forEach((function(e){i["schemaEmitter"].$emit("input","review.".concat(e,".reviewRating.bestRating"),t.bestResult),i["schemaEmitter"].$emit("input","review.".concat(e,".reviewRating.worstRating"),t.worstResult),i["schemaEmitter"].$emit("input","review.".concat(e,".reviewRating.ratingValue"),{validation:{maxValue:t.bestResult,minValue:t.worstResult}})})),t.ratingValue?(r["vuetifyProps"]={disabled:!0},a["vuetifyProps"]={disabled:!0}):(r["vuetifyProps"]={disabled:!1},a["vuetifyProps"]={disabled:!1}),t.ratingValue>=1?i["schemaEmitter"].$emit("input","aggregateRating",{renderJson:!0}):i["schemaEmitter"].$emit("input","aggregateRating",{renderJson:!1}),i["schemaEmitter"].$emit("input","aggregateRating.ratingValue",r),i["schemaEmitter"].$emit("input","aggregateRating.ratingCount",a)},setEmptyValue:function(e){var t=Object(a["a"])(e);if("string"===t)return"";if("object"===t){var n=[];return e.forEach((function(e){var t={selected:!1};t["value"]=e.value,n.push(t)})),n}return""},isNotEmptyValue:function(e){var t=Object(a["a"])(e);if("string"===t)return e.length>0;if("object"===t){var n=e.findIndex((function(e){return e.selected}));return-1!==n}return!1},duplicateValues:function(e){if(this.componentProps.hasOwnProperty("duplicateFor")){var t=this.componentProps.duplicateFor;t.forEach((function(t){"string"===typeof e?i["schemaEmitter"].$emit("input",t,e):i["schemaEmitter"].$emit("input",t,{value:e})}))}}}}},ac85:function(e,t,n){"use strict";n.r(t);var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",["Input"===e.node.formComponent||"TextArea"===e.node.formComponent||"ReviewRating"===e.node.formComponent?n("div",[n("single-item",{attrs:{name:e.name,value:e.node.value,comma:e.comma,isDisplayName:e.isDisplayName,filters:e.getFiltersProp()}})],1):e._e(),"DatePicker"===e.node.formComponent?n("div",[n("date-item",{attrs:{name:e.name,value:e.node.value,comma:e.comma}})],1):"Selector"===e.node.formComponent?n("div",[n("selector-item",{attrs:{name:e.name,value:e.node.value,filters:e.getFiltersProp(),comma:e.comma}})],1):"Repeater"===e.node.formComponent&&"object"===e.node.repeaterType?n("div",[n("object-item",{attrs:{name:e.name,value:e.node.value,comma:e.comma}})],1):"Repeater"===e.node.formComponent&&"array"===e.node.repeaterType?n("div",[n("array-item",{attrs:{name:e.name,value:e.node.value}})],1):!1===e.node.formComponent?n("div",[n("span"),n("span",[e._v('"'+e._s(e.name)+'"')]),e._v(": "),n("span",[e._v("{")]),e._l(e.node.children,(function(t,r,a){return e.renderItem(t)?n("node",{key:r,attrs:{name:t.name,type:r,node:t,comma:e.printComma(a,e.node.children)}}):e._e()})),n("span",[e._v("}"+e._s(e.comma))])],2):e._e()])},a=[],i=(n("a9e3"),function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.isDisplayName?n("span",[n("span",[e._v('"'+e._s(e.name)+'"')]),e._v(': "'),n("span",{staticClass:"schema_integration-str",class:{"schema_integration-str__updated":e.isUpdate}},[e._v(e._s(e.getFilters(e.value,e.filters)))]),e._v('"'+e._s(e.comma)+" ")]):n("span",[e._v(' "'),n("span",{staticClass:"schema_integration-str",class:{"schema_integration-str__updated":e.isUpdate}},[e._v(e._s(e.getFilters(e.value,e.filters)))]),e._v('"'+e._s(e.comma)+" ")])}),o=[],s={props:{name:{type:String,required:!0},value:{type:[String,Number,Array],required:!1,default:""},comma:{type:String,required:!1,default:","},isDisplayName:{type:Boolean,required:!1,default:!0},filters:{type:Object,default:function(){return{}}}}},l=n("aa03"),u={mixins:[l["a"],s],data:function(){return{isUpdate:!1}},watch:{value:function(e){e&&(this.isUpdate=e.length>0)}}},c=u,d=n("2877"),p=Object(d["a"])(c,i,o,!1,null,"74a2251c",null),m=p.exports,f=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("span",[e.value.length>1?n("span",[n("span"),n("span",[e._v('"'+e._s(e.name)+'"')]),e._v(": "),n("span",[e._v("[")]),e._l(e.value,(function(t,r){return n("span",{key:r},e._l(t,(function(t,a,i){return e.renderItem(t)?n("json-tree",{key:a,attrs:{name:t.name,type:a,node:t,comma:e.printComma(r,e.value),isDisplayName:e.display}}):e._e()})),1)})),n("span"),n("span",[e._v("]"+e._s(e.printComma(0,e.value)))])],2):n("span",e._l(e.value[0],(function(t,r){return n("span",{key:r},[n("span"),n("span",[e._v('"'+e._s(e.name)+'"')]),e._v(': "'),n("span",{staticClass:"schema_integration-str"},[e._v(e._s(t.value))]),e._v('", ')])})),0)])},v=[],h=(n("d3b7"),{mixins:[s,l["a"]],props:{value:{type:Array,required:!0}},data:function(){return{display:!1}},components:{JsonTree:function(){return Promise.resolve().then(n.bind(null,"ac85"))}}}),g=h,y=(n("a758"),Object(d["a"])(g,f,v,!1,null,"2226b39c",null)),b=y.exports,C=function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.isDisplayName?n("span",[n("span",[e._v('"'+e._s(e.name)+'"')]),e._v(': "'),n("span",{staticClass:"schema_integration-str"},[e._v(e._s(e.getSelectedItem))]),e._v('"'+e._s(e.comma)+" ")]):n("span",[e._v(' "'),n("span",{staticClass:"schema_integration-str"},[e._v(e._s(e.getSelectedItem))]),e._v('"'+e._s(e.comma)+" ")])},w=[],O={mixins:[l["a"],s],computed:{getSelectedItem:function(){for(var e in this.value)if(this.value[e].selected)return this.getFilters(this.value[e].value,this.filters)}}},_=O,S=Object(d["a"])(_,C,w,!1,null,"4fdb5c6a",null),P=S.exports,R=function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.isDisplayName?n("span",[n("span",[e._v('"'+e._s(e.name)+'"')]),e._v(": "),n("span",[e._v('"'+e._s(e.value)+'"')]),e._v(e._s(e.comma)+" ")]):n("span",[n("span",[e._v('"'+e._s(e.value)+'"')]),e._v(e._s(e.comma)+" ")])},I=[],V={mixins:[s]},j=V,x=Object(d["a"])(j,R,I,!1,null,"474081ee",null),T=x.exports,J=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("span",[n("span"),n("span",[e._v('"'+e._s(e.name)+'"')]),e._v(": "),n("span",[e._v("[")]),e._l(e.value,(function(t,r){return n("span",{key:r},[e._v("{ "),e._l(t,(function(r,a,i){return e.renderItem(r)?n("json-tree",{key:a,attrs:{name:r.name,type:a,node:r,comma:e.printComma(i,t),"display-name":e.display}}):e._e()})),e._v(" }"+e._s(e.printComma(r,e.value)))],2)})),n("span"),n("span",[e._v("]"+e._s(e.comma))])],2)},E=[],$={mixins:[s,l["a"]],props:{value:{type:Array,required:!0}},data:function(){return{display:!1}},components:{JsonTree:function(){return Promise.resolve().then(n.bind(null,"ac85"))}}},k=$,D=(n("e396"),Object(d["a"])(k,J,E,!1,null,"71953de0",null)),N=D.exports,A={mixins:[l["a"]],name:"node",props:{node:Object,type:[String,Number],comma:String,name:String,isDisplayName:{type:Boolean,required:!1,default:!0}},components:{SingleItem:m,ArrayItem:b,SelectorItem:P,DateItem:T,ObjectItem:N},methods:{getFiltersProp:function(){return this.node.hasOwnProperty("filters")?this.node.filters:{}}}},L=A,F=(n("0c0e"),Object(d["a"])(L,r,a,!1,null,"516b3065",null));t["default"]=F.exports},af02:function(e){e.exports=JSON.parse('{"@context":{"formComponent":"Input","value":"https://schema.org","placeholder":"","name":"@context","render":false,"validation":{},"styles":{}},"@type":{"formComponent":"Input","value":"BreadcrumbList","name":"@type","placeholder":"","render":false,"validation":{},"styles":{}},"itemListElement":{"formComponent":"Repeater","repeaterType":"object","render":true,"name":"itemListElement","value":[{"itemListElement.0.@type":{"formComponent":"Input","uuid":"0","placeholder":"@type","name":"@type","value":"ListItem","render":false,"renderJson":true,"styles":{},"validation":{}},"itemListElement.0.position":{"formComponent":"Input","uuid":"0","placeholder":"position","value":"1","name":"position","render":false,"renderJson":true,"styles":{},"validation":{}},"itemListElement.0.name":{"formComponent":"Input","uuid":"0","placeholder":"Page\'s name","name":"name","value":"","render":true,"renderJson":true,"styles":{},"validation":{"required":true}},"itemListElement.0.item":{"formComponent":"Input","uuid":"0","placeholder":"URL","name":"item","value":"","render":true,"renderJson":true,"styles":{},"validation":{"required":true,"url":true}}}],"validation":{},"styles":{},"buttonTitle":"ADD URL"}}')},bab1:function(e,t,n){"use strict";n("87f9")},bdd2:function(e){e.exports=JSON.parse('{"@context":{"formComponent":"Input","value":"https://schema.org","placeholder":"","name":"@context","render":false,"validation":{},"styles":{}},"@type":{"formComponent":"Input","value":"FAQPage","placeholder":"","name":"@type","render":false,"validation":{},"styles":{}},"mainEntity":{"formComponent":"Repeater","repeaterType":"object","render":true,"name":"mainEntity","value":[{"mainEntity.0.@type":{"formComponent":"Input","uuid":"0","render":false,"renderJson":true,"name":"@type","value":"Question","validation":{},"styles":{}},"mainEntity.0.question":{"formComponent":"Input","uuid":"0","placeholder":"Question","name":"name","value":"","render":true,"styles":{},"validation":{}},"mainEntity.0.acceptedAnswer":{"formComponent":false,"hasChild":true,"uuid":"0","render":true,"name":"acceptedAnswer","styles":{},"validation":{},"children":{"mainEntity.0.acceptedAnswer.@type":{"formComponent":"Input","uuid":"0","render":false,"renderJson":true,"name":"@type","value":"Answer","validation":{},"styles":{}},"mainEntity.0.acceptedAnswer.answer":{"formComponent":"Input","uuid":"0","placeholder":"Answer","name":"text","value":"","render":true,"styles":{},"validation":{}}}}}],"validation":{},"styles":{},"buttonTitle":"ADD QUESTION"}}')},c22a:function(e,t,n){},de0a:function(e,t,n){},e182:function(e,t,n){},e396:function(e,t,n){"use strict";n("330a")},fad7:function(e,t,n){"use strict";var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("v-main",[n("v-container",[n("v-row",[n("v-col",[n("v-card",[n("v-card-text",[n("div",[n("v-select",{attrs:{items:e.getSchemasList,attach:"",label:"Which Schema.org markup would you like to create?"},on:{change:function(t){return e.selectSchema(t)}},scopedSlots:e._u([{key:"selection",fn:function(t){return[n("v-list-item",[n("v-list-item-content",[n("v-list-item-title",[n("v-icon",{attrs:{small:""}},[e._v(e._s(t.item.icon))]),e._v(" "+e._s(t.item.title)+" ")],1)],1)],1)]}},{key:"item",fn:function(t){return[n("v-icon",{attrs:{small:""}},[e._v(e._s(t.item.icon))]),n("v-list-item",[n("v-list-item-content",[n("v-list-item-title",[e._v(" "+e._s(t.item.title)+" "),n("small",[e._v(e._s(t.item.description))])])],1)],1)]}}]),model:{value:e.getSelectedSchema,callback:function(t){e.getSelectedSchema=t},expression:"getSelectedSchema"}})],1)])],1)],1)],1),n("v-row",[n("v-col",{attrs:{cols:"7"}},[n("v-card",[n("v-card-text",[n("form-builder",{attrs:{config:e.getSchemaType}})],1)],1)],1),n("v-col",{attrs:{cols:"5"}},[n("v-card",{attrs:{height:"100%"}},[n("v-card-text",[n("json-builder",{ref:"jsonTemplate",attrs:{config:e.getJsonType}})],1)],1)],1)],1),n("v-row",[n("v-col",[n("v-card",[n("v-card-title",[e._v("Select schemas conditions")]),n("v-card-text",[n("conditions",{attrs:{conditionsList:e.conditions,currentConditions:e.postConditions}})],1)],1)],1)],1),n("v-row",[n("input",{directives:[{name:"model",rawName:"v-model",value:e.result,expression:"result"}],attrs:{type:"hidden",name:"schema"},domProps:{value:e.result},on:{input:function(t){t.target.composing||(e.result=t.target.value)}}}),n("input",{directives:[{name:"model",rawName:"v-model",value:e.source,expression:"source"}],attrs:{type:"hidden",name:"source"},domProps:{value:e.source},on:{input:function(t){t.target.composing||(e.source=t.target.value)}}}),n("input",{directives:[{name:"model",rawName:"v-model",value:e.getSchemaName,expression:"getSchemaName"}],attrs:{type:"hidden",name:"schema_name"},domProps:{value:e.getSchemaName},on:{input:function(t){t.target.composing||(e.getSchemaName=t.target.value)}}})])],1)],1)},a=[],i=(n("7db0"),n("4160"),n("4fad"),n("159b"),n("3835")),o=n("53ca"),s=n("5530"),l=n("98d7"),u=n("bdd2"),c=n("0a9f"),d=n("7ebc"),p=n("af02"),m=n("ff39"),f={data:function(){return{config:{Article:l,FAQPage:u,Product:c,Recipe:d,Breadcrumbs:p,Custom:m}}}},v=n("aa03"),h=n("bc3a"),g=n.n(h),y=n("2f62"),b=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("v-row",e._l(e.config,(function(e,t,r){return n("form-tree",{key:t,attrs:{index:r,type:t,node:e}})})),1)},C=[],w=n("003d"),O=n("56d7"),_={props:["config"],data:function(){return{formValues:{}}},components:{FormTree:w["default"]},methods:{updateField:function(e,t){O["schemaEmitter"].$emit("input",e,t)}}},S=_,P=n("2877"),R=n("6544"),I=n.n(R),V=n("0fd9"),j=Object(P["a"])(S,b,C,!1,null,"31de27a7",null),x=j.exports;I()(j,{VRow:V["a"]});var T=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"json-wrapper"},[n("span",{staticClass:"schema_integration-tag"},[e._v("<script")]),e._v(" "),n("span",{staticClass:"schema_integration-attr"},[e._v("type")]),n("span",{staticClass:"schema_integration-attr-value"},[e._v('="application/ld+json"')]),n("span",[e._v(">")]),"Custom"!==e.getCurrentSchema.title?n("div",[e._m(0),e._l(e.config,(function(t,r,a){return e.renderItem(t)?n("json-tree",{key:r,attrs:{name:t.name,type:r,node:t,comma:e.printComma(a,e.config)}}):e._e()})),e._m(1)],2):n("div",[n("custom-item",{attrs:{value:e.config.custom.value}})],1),n("span",{staticClass:"schema_integration-tag"},[e._v("<\/script>")])])},J=[function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("span",[e._v("{")])])},function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("span",[e._v("}")])])}],E=n("ac85"),$=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("pre",[e._v(e._s(e._f("prettyJSON")(e.value))+" ")])},k=[],D=n("017c"),N={mixins:[D["a"]],props:{value:{required:!0,default:"",type:[String,Object]}}},A=N,L=(n("bab1"),Object(P["a"])(A,$,k,!1,null,"2c4f9021",null)),F=L.exports,U={mixins:[v["a"]],props:{config:Object},data:function(){return{render:!0}},components:{CustomItem:F,JsonTree:E["default"]},computed:Object(y["c"])(["getCurrentSchema"])},B=U,q=(n("6bdd"),Object(P["a"])(B,T,J,!1,null,"1367810e",null)),K=q.exports,M=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("div",{staticClass:"conditions-items"},e._l(e.conditions,(function(t,r){return n("v-row",{key:r,staticClass:"conditions-item"},[n("v-col",{attrs:{cols:"6"}},[n("v-select",{attrs:{items:t.data,attach:"",label:"Conditions list"},on:{change:function(t){return e.getConditionsValue(r,t)}},model:{value:t.selected,callback:function(n){e.$set(t,"selected",n)},expression:"item.selected"}})],1),n("v-col",{attrs:{cols:"6"}},[t.displayIds?n("div",[n("v-text-field",{attrs:{type:"number",label:"Add ID"},on:{input:function(t){return e.getConditionsValueIds(r,t)}},model:{value:t.ids,callback:function(n){e.$set(t,"ids",n)},expression:"item.ids"}})],1):e._e()]),n("v-row",[n("v-col",{attrs:{cols:"6"}},[n("v-btn",{attrs:{small:"",color:"primary"},on:{click:function(t){return e.addItem(r)}}},[e._v("Add")])],1),n("v-col",{attrs:{cols:"6"}},[n("v-btn",{attrs:{small:"",color:"error",disabled:e.disableButton},on:{click:function(t){return e.deleteItem(r)}}},[e._v("Delete")])],1)],1)],1)})),1),n("input",{directives:[{name:"model",rawName:"v-model",value:e.result,expression:"result"}],attrs:{type:"hidden",name:"conditions"},domProps:{value:e.result},on:{input:function(t){t.target.composing||(e.result=t.target.value)}}})])},W=[],z=(n("a434"),n("2ca0"),{props:["conditionsList","currentConditions"],data:function(){return{conditions:[{data:[],selected:"",displayIds:!1,ids:""}],result:""}},watch:{currentConditions:{handler:"setConditions"},conditions:{deep:!0,handler:function(){this.result=JSON.stringify(this.getConditionsResult())}}},methods:{addItem:function(e){var t=JSON.parse(JSON.stringify(this.conditions[e]));this.conditions.push(t)},deleteItem:function(e){this.conditions.length>1&&this.conditions.splice(e,1)},getConditionsValue:function(e,t){this.conditions[e].displayIds=t.startsWith("{custom_")},getConditionsValueIds:function(e,t){this.conditions[e].ids=t},getConditionsResult:function(){var e=[];return this.conditions.forEach((function(t){var n={condition:t.selected,custom:t.displayIds?t.ids:""};e.push(n)})),e},setConditions:function(){var e=this;this.currentConditions.length<=0?this.conditions[0].data=this.conditionsList:(this.conditions.splice(0,1),this.currentConditions.forEach((function(t){e.conditions.push({data:e.conditionsList,selected:t.condition,ids:t.custom,displayIds:t.custom.length>0})})))}},computed:{disableButton:function(){return this.conditions.length<=1}},created:function(){this.setConditions()}}),Q=z,G=n("8336"),H=n("62ad"),Y=n("b974"),X=n("8654"),Z=Object(P["a"])(Q,M,W,!1,null,"53d6957f",null),ee=Z.exports;I()(Z,{VBtn:G["a"],VCol:H["a"],VRow:V["a"],VSelect:Y["a"],VTextField:X["a"]});var te={mixins:[f,v["a"]],components:{FormBuilder:x,JsonBuilder:K,Conditions:ee},props:{schemas_type:{type:Array,required:!0}},data:function(){return{conditions:[],postConditions:[],componentKey:0,schemaExist:!1,schemaType:{},jsonType:{},sourceType:{},result:"",source:"",default:""}},methods:Object(s["a"])(Object(s["a"])(Object(s["a"])({},Object(y["b"])(["setDefaultData","setCurrentSchema","setSchemasList","run"])),Object(y["d"])(["updateProperty"])),{},{getInnerJson:function(){return this.$refs.jsonTemplate.$el.innerText},getAjaxSchemaSettings:function(e,t){var n=this;g.a.post("/wp-admin/admin-ajax.php?action=get_schema_settings",{post_id:e,security:t}).then((function(e){e.data&&(n.run(JSON.parse(e.data.schema)),n.postConditions=JSON.parse(e.data.conditions),n.schemaExist=!0,n.setCurrentSchema(JSON.parse(e.data.schema_name)),n.buildFromConfig(n.getCurrentSchema.title),n.setDefaultData({key:n.getCurrentSchema.title,jsonString:n.default}))})).catch((function(e){n.setCurrentSchema(n.schemas_type[0]);var t=n.buildFromConfig(n.getCurrentSchema.title);n.setDefaultData({key:n.getCurrentSchema.title,jsonString:n.default}),n.run(t)}))},displayJsonTemplate:function(e,t,n){if("undefined"!==typeof t.value&&"undefined"!==typeof t.showOnChange){var r=this.findVal(e,t.showOnChange),a=Object(o["a"])(n);if("undefined"!==typeof r)if("object"!==a)r.renderJson=""!==n;else if(n&&n.hasOwnProperty("value")&&"object"===Object(o["a"])(n.value)){var i=n.value.find((function(e){return e.selected}));r.renderJson="undefined"!==typeof i}else n&&n.hasOwnProperty("renderJson")&&(r.renderJson=n.renderJson)}},updateObject:function(e,t,n){var r=this.findVal(e,t);void 0!==r&&(r=this.mergeDeep(r,n),this.displayJsonTemplate(e,r,n))},updateItem:function(e,t,n){var r=this.findVal(e,t);"undefined"!==typeof r&&r.hasOwnProperty("value")&&(r.value=n,this.displayJsonTemplate(e,r,n))},updateProperties:function(){this.updateProperty(["schemaType",this.getSchemaType]),this.result=this.$refs.jsonTemplate.$el.innerText,this.source=JSON.stringify(this.getSourceType)},buildFromConfig:function(e){var t=e,n=this.config,r=JSON.stringify(n);this.default=r;var a=JSON.parse(r);return"undefined"!==typeof a[t]&&a[t]},selectSchema:function(e){this.setCurrentSchema(e);var t=this.buildFromConfig(this.getCurrentSchema.title);this.setDefaultData({key:this.getCurrentSchema.title,jsonString:this.default}),this.run(t),this.itemWalker(this.getSchemaType),this.updateProperties()},itemWalker:function(e){var t=this;"object"===Object(o["a"])(e)&&Object.entries(e).forEach((function(e){var n=Object(i["a"])(e,2),r=n[0],a=n[1];void 0!==a.children?t.itemWalker(a.children):"undefined"!==typeof t.$options.components[a.formComponent]&&!1!==a.render||delete a[r]}))}}),computed:Object(s["a"])(Object(s["a"])({},Object(y["c"])(["getJsonType","getSchemaType","getSourceType","getCurrentSchema","getSchemasList"])),{},{getSelectedSchema:{get:function(){return this.getCurrentSchema},set:function(e){return this.setCurrentSchema(e)}},getSchemaName:{get:function(){return JSON.stringify(this.getCurrentSchema)},set:function(e){return this.setCurrentSchema(e)}}}),updated:function(){this.$nextTick((function(){this.result=this.$refs.jsonTemplate.$el.innerText}))},mounted:function(){var e=this;O["schemaEmitter"].$on("input",(function(t,n){if("object"===Object(o["a"])(n))e.updateObject(e.getSchemaType,t,n),e.updateObject(e.getJsonType,t,n),e.updateObject(e.getSourceType,t,n);else{try{n=JSON.parse(n)}catch(r){}e.updateItem(e.getSchemaType,t,n),e.updateItem(e.getJsonType,t,n),e.updateItem(e.getSourceType,t,n)}e.updateProperties(),e.result=e.$refs.jsonTemplate.$el.innerText,e.source=JSON.stringify(e.getSourceType)})),setTimeout((function(){e.result=e.$refs.jsonTemplate.$el.innerText,e.source=JSON.stringify(e.getSourceType)}),1e3)},created:function(){if("undefined"!==typeof wp&&wp.hasOwnProperty("i18n")){var e=wp.i18n;e.__,e._x,e._n,e._nx}var t=document.getElementById("app");if(null!==t){var n=t.getAttribute("data-id"),r=t.getAttribute("data-security"),a=t.getAttribute("data-conditions");this.conditions=JSON.parse(a),n&&(this.setSchemasList(this.schemas_type),this.getAjaxSchemaSettings(n,r))}},beforeDestroy:function(){O["schemaEmitter"].$off("input")}},ne=te,re=(n("22c9"),n("b0af")),ae=n("99d9"),ie=n("a523"),oe=n("132d"),se=n("da13"),le=n("5d23"),ue=n("f6c4"),ce=Object(P["a"])(ne,r,a,!1,null,"3aab96b0",null);t["a"]=ce.exports;I()(ce,{VCard:re["a"],VCardText:ae["a"],VCardTitle:ae["b"],VCol:H["a"],VContainer:ie["a"],VIcon:oe["a"],VListItem:se["a"],VListItemContent:le["a"],VListItemTitle:le["b"],VMain:ue["a"],VRow:V["a"],VSelect:Y["a"]})},fbd5:function(e,t,n){},ff39:function(e){e.exports=JSON.parse('{"custom":{"formComponent":"Custom","value":"","placeholder":"Enter the custom schema json","name":"custom","render":true,"validation":{"isJson":true},"styles":{}}}')}});1 (function(e){function t(t){for(var r,o,s=t[0],l=t[1],u=t[2],d=0,p=[];d<s.length;d++)o=s[d],Object.prototype.hasOwnProperty.call(a,o)&&a[o]&&p.push(a[o][0]),a[o]=0;for(r in l)Object.prototype.hasOwnProperty.call(l,r)&&(e[r]=l[r]);c&&c(t);while(p.length)p.shift()();return i.push.apply(i,u||[]),n()}function n(){for(var e,t=0;t<i.length;t++){for(var n=i[t],r=!0,s=1;s<n.length;s++){var l=n[s];0!==a[l]&&(r=!1)}r&&(i.splice(t--,1),e=o(o.s=n[0]))}return e}var r={},a={app:0},i=[];function o(t){if(r[t])return r[t].exports;var n=r[t]={i:t,l:!1,exports:{}};return e[t].call(n.exports,n,n.exports,o),n.l=!0,n.exports}o.m=e,o.c=r,o.d=function(e,t,n){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},o.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(e,t){if(1&t&&(e=o(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(o.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)o.d(n,r,function(t){return e[t]}.bind(null,r));return n},o.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="/";var s=window["webpackJsonp"]=window["webpackJsonp"]||[],l=s.push.bind(s);s.push=t,s=s.slice();for(var u=0;u<s.length;u++)t(s[u]);var c=l;i.push([0,"chunk-vendors"]),n()})({0:function(e,t,n){e.exports=n("56d7")},"003d":function(e,t,n){"use strict";n.r(t);var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.node.render?n("v-col",{class:e.classes,attrs:{cols:e.cols}},[e.node.children&&"object"===typeof e.node.children?n("v-row",e._l(e.node.children,(function(e,t,r){return n("node",{key:t,attrs:{index:r,type:t,node:e}})})),1):n("div",[e.node.render?n(e.node.formComponent,{tag:"component",attrs:{name:e.type,updateKey:e.type,vuetifyProps:e.getCustomProps(e.node),componentProps:e.node}}):e._e()],1)],1):e._e()},a=[],i=(n("a9e3"),n("ac1f"),n("1276"),function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[e.componentProps.render?n("v-text-field",e._b({attrs:{label:e.componentProps.placeholder,counter:e.counter,"counter-value":e.printCounterValue,"error-messages":e.displayErrors(e.componentProps.validation,e.$v.getCurrentValue)},on:{blur:function(t){return e.validateInput(e.$v)},input:function(t){return e.updateField(e.updateKey,t)}},model:{value:e.getCurrentValue,callback:function(t){e.getCurrentValue=t},expression:"getCurrentValue"}},"v-text-field",e.vuetifyProps,!1)):e._e()],1)}),o=[],s=(n("4160"),n("b64b"),n("159b"),n("5530")),l=(n("4fad"),n("3835")),u=n("a026"),c=n("1dce"),d=n.n(c),p=n("b5ae");u["a"].use(d.a);var m={data:function(){return{messages:{required:"This field is required",maxLength:"Too long field",url:"Invalid URL",minValue:"",maxValue:"",numeric:"Number is required",isJson:"The input value not in json format"},counter:""}},methods:{printCounterValue:function(){if(""!==this.counter)return this.currentValue.length},displayErrors:function(e,t){var n=[];if(void 0!==e)for(var r=0,a=Object.entries(e);r<a.length;r++){var i=Object(l["a"])(a[r],2),o=i[0];i[1];t.$dirty&&t.$invalid&&!t[o]&&n.push(this.messages[o])}return n},validateInput:function(e){e.$touch()},createValidatorsObject:function(e){var t={};return void 0===e||0===Object.keys(e).length||(e.required&&(t["required"]=p["required"]),e.maxLength>0&&(t["maxLength"]=Object(p["maxLength"])(e["maxLength"])),e.url&&(t["url"]=p["url"]),e.minValue>0&&(t["minValue"]=Object(p["minValue"])(e["minValue"])),e.maxValue>0&&(t["maxValue"]=Object(p["maxValue"])(e["maxValue"])),e.numeric&&(t["numeric"]=p["numeric"]),e.isJson&&(t["isJson"]=isJsone)),t}},mounted:function(){void 0!==this.validation&&void 0!==this.validation.maxLength&&(this.counter=this.validation.maxLength)}},f={props:{componentProps:{type:Object,default:function(){return{placeholder:"",validation:{},value:""}}},name:{type:[String,Number],required:!1},vuetifyProps:{type:Object,default:function(){return{}}}}},v=n("aa03"),h=n("2f62"),g={mixins:[v["a"]],data:function(){return{rating:{type:Object,default:function(){return{ratingValue:null,ratingCount:null,reviewCount:null,worstResult:null,bestResult:null}}}}},methods:Object(s["a"])(Object(s["a"])(Object(s["a"])({},Object(h["b"])(["setRatingResult","setWorstResult","setBestResult"])),Object(h["c"])(["getRating"])),{},{calculateRating:function(e,t){switch(""!==t&&(t=parseInt(t)),e){case"aggregateRating.ratingValue":this.setRating(t);break;case"aggregateRating.worstRating":this.setWorst(t);break;case"aggregateRating.bestRating":this.setBest(t);break;default:break}},setRating:function(e){this.setRatingResult(e)},setWorst:function(e){this.setWorstResult(e)},setBest:function(e){this.setBestResult(e)}}),mounted:function(){this.rating=this.getRating()}},y=n("56d7"),b={mixins:[m,f,g],props:{updateKey:{type:[String,Array,Number],required:!0}},data:function(){return{currentValue:""}},methods:Object(s["a"])(Object(s["a"])({},Object(h["c"])(["getSchemaType","getReviews"])),{},{updateField:function(e,t){this.validateInput(this.$v),this.calculateRating(e,t),y["schemaEmitter"].$emit("input",e,t),this.setRatingValues(e,t),this.calculateValue(),this.duplicateValues(t)},setRatingValues:function(e,t){var n=Object.keys(this.getReviews());n.forEach((function(n){"aggregateRating.bestRating"===e&&(y["schemaEmitter"].$emit("input","review.".concat(n,".reviewRating.bestRating"),t),y["schemaEmitter"].$emit("input","review.".concat(n,".reviewRating.ratingValue"),{validation:{maxValue:t}})),"aggregateRating.worstRating"===e&&(y["schemaEmitter"].$emit("input","review.".concat(n,".reviewRating.worstRating"),t),y["schemaEmitter"].$emit("input","review.".concat(n,".reviewRating.ratingValue"),{validation:{minValue:t}}))}))},calculateValue:function(){if(this.componentProps.hasOwnProperty("calculateValue")){var e=0,t=this.getSchemaType(),n=this.componentProps.calculateValue;for(var r in n.from){if(n.from.hasOwnProperty(r)){var a=this.findVal(t,n.from[r]);""!==a.value&&(e+=parseInt(a.value))}for(var i in n.to)if(n.to.hasOwnProperty(i)){var o=e>0?e:"";y["schemaEmitter"].$emit("input",n.to[i],o)}}}}}),mounted:function(){this.calculateRating(this.updateKey,this.getCurrentValue)},validations:function(){return{getCurrentValue:this.validators}},computed:{validators:{get:function(){return this.createValidatorsObject(this.componentProps.validation)},set:function(e){return e}},getCurrentValue:{get:function(){var e;return null!==(e=this.componentProps.value)&&void 0!==e?e:"adasdasd"},set:function(e){return e}}}},C=b,w=n("2877"),O=n("6544"),_=n.n(O),S=n("8654"),I=Object(w["a"])(C,i,o,!1,null,"53a66dd1",null),P=I.exports;_()(I,{VTextField:S["a"]});var R=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",e._l(e.getCurrentValue,(function(t,r){return n("div",{key:r,staticClass:"repeater-items row"},[e._l(t,(function(t,a){return e.componentProps.hide?e._e():n("form-tree",{key:a,attrs:{index:r,type:a,node:t}})})),n("v-row",[n("v-col",{attrs:{cols:"6"}},[n("v-btn",{attrs:{small:"",color:"primary"},on:{click:function(t){return e.addItem(r,e.componentProps.name)}}},[n("v-icon",{attrs:{small:""}},[e._v(" mdi-plus ")]),e._v(" "+e._s(e.componentProps.buttonTitle)+" ")],1)],1),n("v-col",{attrs:{cols:"6"}},[n("v-btn",{attrs:{small:"",color:"error",disabled:e.disableButton},on:{click:function(t){return e.deleteItem(r)}}},[e._v("Delete")])],1)],1)],2)})),0)},V=[],j=(n("99af"),n("4de4"),n("a15b"),n("fb6a"),n("a434"),n("b0c0"),n("d3b7"),n("4d63"),n("25f0"),n("8a79"),n("5319"),{mixins:[m,f,v["a"]],data:function(){return{currentValue:String}},components:{FormTree:function(){return Promise.resolve().then(n.bind(null,"003d"))}},methods:Object(s["a"])(Object(s["a"])(Object(s["a"])({},Object(h["b"])(["setReviewRating","updateReviewRating"])),Object(h["c"])(["getReviews","getRating","getDefaultData"])),{},{addItem:function(e,t){var n={};if(1===this.componentProps.value.length&&this.componentProps.hide)n["hide"]=!1,"review"!==this.name&&"recipeInstructions"!==this.name||(n["renderJson"]=!0),y["schemaEmitter"].$emit("input",this.name,n);else{var r=JSON.parse(JSON.stringify(this.findVal(this.getDefaultData(),this.componentProps.name))),a=r.value.shift(),i=this.changeItemKey(a,e,t);this.componentProps.value.push(i),y["schemaEmitter"].$emit("input",this.name,{value:this.componentProps.value})}this.updateReviews(),this.updateBreadcrumbs(this.componentProps.value),this.duplicateValues(this.componentProps.value)},deleteItem:function(e){var t={};1===this.componentProps.value.length&&!1===this.componentProps.hide&&(t["hide"]=!0,"review"!==this.name&&"recipeInstructions"!==this.name||(t["renderJson"]=!1),y["schemaEmitter"].$emit("input",this.name,t),y["schemaEmitter"].$emit("input","review.0.reviewRating.ratingValue",""),this.setReviewRating({0:""}),this.updateRatingValues("")),this.componentProps.value.length>1&&(this.componentProps.value.splice(e,1),y["schemaEmitter"].$emit("input",this.name,{value:this.componentProps.value})),this.updateReviews(),this.updateBreadcrumbs(this.componentProps.value),this.duplicateValues(this.componentProps.value)},changeItemKey:function(e,t,n){var r=Object.keys(e).shift().split(".");r.splice(-1,1);var a=r.join("."),i=Math.random().toString(16).slice(2),o="".concat(n,".").concat(i),s=JSON.stringify(e),l=new RegExp('"'.concat(a),"g"),u=s.replace(l,'"'.concat(o));return u=u.replace(/"uuid":"(.+?)",/gm,'"uuid":"'.concat(i,'",')),JSON.parse(u)},updateReviews:function(){var e=this;if("review"===this.name&&void 0!==this.getCurrentValue){var t={};this.getCurrentValue.forEach((function(n,r){var a=new RegExp(".reviewRating.ratingValue$","g"),i=e.findVal(n,a,!0);t[i.uuid]=i.value})),this.setReviewRating(t);var n=this.getRating();y["schemaEmitter"].$emit("input","aggregateRating.ratingValue",n.ratingValue),y["schemaEmitter"].$emit("input","aggregateRating.ratingCount",n.ratingCount),y["schemaEmitter"].$emit("input","aggregateRating.reviewCount",n.reviewCount)}},updateBreadcrumbs:function(e){"itemListElement"===this.name&&e.forEach((function(e,t){var n=Object.keys(e),r=n.filter((function(e){return e.endsWith(".position")})).shift(),a=t+1;y["schemaEmitter"].$emit("input",r,a)}))}}),validations:function(){return{getCurrentValue:this.validators}},mounted:function(){this.updateReviews()},computed:{validators:{get:function(){return this.createValidatorsObject(this.componentProps.validation)},set:function(e){return e}},getCurrentValue:{get:function(){return this.validateInput(this.$v),this.duplicateValues(this.componentProps.value),this.componentProps.value},set:function(e){return e}},disableButton:function(){return this.componentProps.hasOwnProperty("hide")?!(1!==this.componentProps.value.length||!this.componentProps.hide):this.componentProps.value.length<=1}}}),x=j,J=n("8336"),T=n("62ad"),E=n("132d"),k=n("0fd9"),$=Object(w["a"])(x,R,V,!1,null,"f1bcc2e0",null),D=$.exports;_()($,{VBtn:J["a"],VCol:T["a"],VIcon:E["a"],VRow:k["a"]});var N=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("v-select",e._b({attrs:{items:e.componentProps.value,"item-text":"value","item-value":"value",attach:"",label:e.componentProps.placeholder},on:{change:function(t){e.updateField(e.updateKey,e.getSelectedObject(t,e.componentProps.value))}},model:{value:e.selected,callback:function(t){e.selected=t},expression:"selected"}},"v-select",e.vuetifyProps,!1))],1)},A=[],L=(n("c740"),n("d81d"),n("ddb0"),n("b85c")),F=n("fad7"),U={mixins:[f,v["a"]],props:["name","placeholder","fieldValues","validation","updateKey","schemas_type"],components:{Schema:F["a"]},data:function(){return{selected:"",dropdown_texts:[],dropdown_values:[],schemas:this.schemas_type,result:""}},methods:Object(s["a"])(Object(s["a"])(Object(s["a"])({},Object(h["b"])(["run"])),Object(h["d"])(["updateProperty"])),{},{updateField:function(e,t){y["schemaEmitter"].$emit("input",e,{value:t}),this.changeView()},changeView:function(){if(this.getSchemaType.hasOwnProperty("offers")&&"undefined"!==typeof this.componentProps.changeView&&!1!==this.componentProps.changeView){var e=this.getSchemaType.offers.children;for(var t in this.getSchemaType.offers.children)for(var n in e[t])"showOnSelect"===n&&(this.selected===e[t][n]["value"]?y["schemaEmitter"].$emit("input",t,{render:!0,renderJson:e[t][n]["show"]["renderJson"]}):y["schemaEmitter"].$emit("input",t,{render:!1,renderJson:e[t][n]["hide"]["renderJson"],value:this.setEmptyValue(e[t]["value"])}));this.updateProperty(["schemaType",this.getSchemaType])}},getSelectedObject:function(e,t){var n=t.findIndex((function(t){return e===t.value}));for(var r in t)parseInt(r)===n?t[r].selected=!0:t[r].selected=!1;return t},getSelectedValue:function(){var e=this.componentProps.value.findIndex((function(e){return e.selected}));return this.componentProps.value[e]},getDropDownText:function(){return this.componentProps.value.map((function(e){return e.value}))},getDropDownValues:function(){var e,t=[],n=this.componentProps.value.keys(),r=Object(L["a"])(n);try{for(r.s();!(e=r.n()).done;){var a=e.value;t.push(a)}}catch(i){r.e(i)}finally{r.f()}return t}}),validations:function(){return{selected:this.validators}},mounted:function(){this.selected=this.getSelectedValue()},computed:Object(s["a"])(Object(s["a"])({},Object(h["c"])(["getJsonType","getSchemaType","getSourceType"])),{},{getSelectedItem:function(){return this.componentProps.value.findIndex((function(e){return e.selected}))}})},B=U,q=n("b974"),K=Object(w["a"])(B,N,A,!1,null,"567bb4d8",null),M=K.exports;_()(K,{VSelect:q["a"]});var W=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("v-menu",{attrs:{"close-on-content-click":!1,"nudge-right":40,transition:"scale-transition","offset-y":"",attach:"","min-width":"290px"},scopedSlots:e._u([{key:"activator",fn:function(t){var r=t.on,a=t.attrs;return[n("v-text-field",e._g(e._b({attrs:{label:e.componentProps.placeholder,"prepend-icon":"event",vuetifyProps:e.vuetifyProps},model:{value:e.getCurrentValue,callback:function(t){e.getCurrentValue=t},expression:"getCurrentValue"}},"v-text-field",a,!1),r))]}}]),model:{value:e.menu2,callback:function(t){e.menu2=t},expression:"menu2"}},[n("v-date-picker",{on:{change:function(t){e.menu2=!1},input:function(t){return e.updateField(e.updateKey,t)}},model:{value:e.getCurrentValue,callback:function(t){e.getCurrentValue=t},expression:"getCurrentValue"}})],1)],1)},z=[],Q={mixins:[f,v["a"]],props:{updateKey:{type:[String,Array],required:!0}},data:function(){return{currentValue:(new Date).toISOString().substr(0,10),menu:!1,modal:!1,menu2:!1,validators:{}}},methods:{updateField:function(e,t){y["schemaEmitter"].$emit("input",e,t),this.duplicateValues(t)}},mounted:function(){this.updateField(this.updateKey,this.getCurrentValue)},computed:{getCurrentValue:{get:function(){var e;return null!==(e=this.componentProps.value)&&void 0!==e?e:(new Date).toISOString().substr(0,10)},set:function(e){return e}}}},G=Q,H=n("2e4b"),Y=n("e449"),X=Object(w["a"])(G,W,z,!1,null,"f3321252",null),Z=X.exports;_()(X,{VDatePicker:H["a"],VMenu:Y["a"],VTextField:S["a"]});var ee=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("v-textarea",{attrs:{label:e.componentProps.placeholder,"full-width":e.fullWidth,counter:e.counter,"counter-value":e.printCounterValue,"error-messages":e.displayErrors(e.componentProps.validation,e.$v.currentValue)},on:{input:function(t){return e.updateField(e.updateKey,t)},change:function(t){return e.validateInput(e.$v)}},model:{value:e.currentValue,callback:function(t){e.currentValue=t},expression:"currentValue"}})],1)},te=[],ne={mixins:[m,f,v["a"]],props:{updateKey:{type:[String,Array],required:!0}},data:function(){return{currentValue:"",validators:{},fullWidth:!0}},methods:{updateField:function(e,t){y["schemaEmitter"].$emit("input",e,t),this.duplicateValues(t)}},validations:function(){return{currentValue:this.validators}},mounted:function(){this.validators=this.createValidatorsObject(this.componentProps.validation),this.currentValue=this.componentProps.value}},re=ne,ae=n("a844"),ie=Object(w["a"])(re,ee,te,!1,null,"2841bf26",null),oe=ie.exports;_()(ie,{VTextarea:ae["a"]});var se=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("v-text-field",e._b({attrs:{label:e.componentProps.placeholder,counter:e.counter,"counter-value":e.printCounterValue,"error-messages":e.displayErrors(e.componentProps.validation,e.$v.getCurrentValue)},on:{input:function(t){return e.updateField(e.updateKey,t)}},model:{value:e.getCurrentValue,callback:function(t){e.getCurrentValue=t},expression:"getCurrentValue"}},"v-text-field",e.vuetifyProps,!1))],1)},le=[],ue={mixins:[m,f,g],props:{updateKey:{type:[String,Array],required:!0}},methods:Object(s["a"])(Object(s["a"])(Object(s["a"])({},Object(h["c"])(["getRating","getReviews"])),Object(h["b"])(["updateReviewRating"])),{},{updateField:function(e,t){var n=e.split(".")[1];void 0!==n&&this.updateReviewRating({number:n,value:t}),y["schemaEmitter"].$emit("input",e,t),this.updateRatingValues(t)}}),validations:function(){return{getCurrentValue:this.validators}},computed:{validators:{get:function(){return this.createValidatorsObject(this.componentProps.validation)},set:function(e){return e}},getCurrentValue:{get:function(){var e;return this.validateInput(this.$v),null!==(e=this.componentProps.value)&&void 0!==e?e:parseInt(this.componentProps.value)},set:function(e){return e}}}},ce=ue,de=Object(w["a"])(ce,se,le,!1,null,"36e7678f",null),pe=de.exports;_()(de,{VTextField:S["a"]});var me=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("v-textarea",{attrs:{label:e.componentProps.placeholder,"full-width":e.fullWidth,counter:e.counter,"counter-value":e.printCounterValue,"error-messages":e.displayErrors(e.componentProps.validation,e.$v.currentValue)},on:{input:function(t){return e.updateField(e.updateKey,t)},change:function(t){return e.validateInput(e.$v)}},model:{value:e.currentValue,callback:function(t){e.currentValue=t},expression:"currentValue"}})],1)},fe=[],ve={mixins:[m,f,v["a"]],props:{updateKey:{type:[String,Array],required:!0}},data:function(){return{currentValue:"",validators:{},fullWidth:!0}},methods:{updateField:function(e,t){y["schemaEmitter"].$emit("input",e,t)}},validations:function(){return{currentValue:this.validators}},mounted:function(){this.validators=this.createValidatorsObject(this.componentProps.validation),this.componentProps.value&&(this.currentValue=JSON.stringify(this.componentProps.value))}},he=ve,ge=Object(w["a"])(he,me,fe,!1,null,"530dda9f",null),ye=ge.exports;_()(ge,{VTextarea:ae["a"]});var be={data:function(){return{cols:12,classes:""}},mounted:function(){void 0!==this.node.styles.cols&&(this.cols=this.node.styles.cols),void 0!==this.node.styles.classes&&(this.classes=this.node.styles.classes)}},Ce={mixins:[be],name:"node",props:{node:Object,type:[String,Number],index:Number},components:{Input:P,Selector:M,Repeater:D,DatePicker:Z,TextArea:oe,ReviewRating:pe,Custom:ye},methods:{getCustomProps:function(e){return void 0!==e.vuetifyProps?e.vuetifyProps:{}}},computed:{changeChildType:function(){return this.type.split(".").pop()}},mounted:function(){}},we=Ce,Oe=(n("260e"),Object(w["a"])(we,r,a,!1,null,"a9df98ac",null));t["default"]=Oe.exports;_()(Oe,{VCol:T["a"],VRow:k["a"]})},"017c":function(e,t,n){"use strict";n("99af"),n("4160"),n("159b");t["a"]={filters:{beforeText:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return"".concat(t).concat(e)},afterText:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return"".concat(e).concat(t)},toMinutes:function(e){return"PT".concat(e,"M")},clearSymbols:function(e,t){return t.forEach((function(t){e=e.replaceAll(t,"")})),e},prettyJSON:function(e){if(!e)return"";try{return JSON.stringify(e,null,4)}catch(t){return""}}}}},"034f":function(e,t,n){"use strict";n("85ec")},"0a9f":function(e){e.exports=JSON.parse('{"@context":{"formComponent":"Input","value":"https://schema.org","placeholder":"","name":"@context","render":false,"validation":{},"styles":{}},"@type":{"formComponent":"Input","value":"Product","placeholder":"","name":"@type","render":false,"validation":{},"styles":{}},"productName":{"formComponent":"Input","value":"","placeholder":"Name","name":"name","render":true,"validation":{"required":true},"styles":{"cols":6}},"image":{"formComponent":"Input","value":"","name":"image","placeholder":"Image URL","render":true,"validation":{"url":true},"styles":{"cols":6}},"brand":{"formComponent":"Input","render":true,"renderJson":false,"showOnChange":"brand","name":"brand","value":"","placeholder":"Brand","validation":{},"styles":{"cols":6}},"description":{"formComponent":"TextArea","render":true,"renderJson":false,"name":"description","showOnChange":"description","value":"","placeholder":"Product\'s description","validation":{},"styles":{"cols":6}},"sku":{"formComponent":"Input","render":true,"renderJson":false,"showOnChange":"sku","name":"sku","value":"","placeholder":"Sku","validation":{},"styles":{}},"gtin14":{"formComponent":"Input","render":true,"renderJson":false,"name":"gtin14","value":"","showOnChange":"gtin14","placeholder":"gtin14 (optional)","validation":{},"styles":{"cols":6}},"gtin13":{"formComponent":"Input","render":true,"renderJson":false,"value":"","name":"gtin13","showOnChange":"gtin13","placeholder":"gtin13 (optional)","validation":{},"styles":{"cols":6}},"gtin8":{"formComponent":"Input","render":true,"renderJson":false,"value":"","name":"gtin8","showOnChange":"gtin8","placeholder":"gtin8 (optional)","validation":{},"styles":{"cols":6}},"mpn":{"formComponent":"Input","render":true,"renderJson":false,"value":"","showOnChange":"mpn","name":"mpn","placeholder":"mpn (optional)","validation":{},"styles":{"cols":6}},"offers":{"formComponent":false,"render":true,"renderJson":false,"hasChild":true,"name":"offers","styles":{},"children":{"offers.@type":{"formComponent":"Selector","placeholder":"Offer @type","renderJson":true,"showOnChange":"offers","name":"@type","render":true,"changeView":true,"value":[{"selected":false,"value":"Offer"},{"selected":false,"value":"Aggregate Offer"}],"validation":{},"styles":{"cols":6},"filters":{"clearSymbols":[" "]}},"offers.url":{"formComponent":"Input","value":"","placeholder":"Url","render":true,"name":"url","validation":{"url":true},"styles":{"cols":6}},"offers.priceCurrency":{"formComponent":"Input","placeholder":"Price Currency","value":"","name":"priceCurrency","render":true,"styles":{"cols":6}},"offers.price":{"formComponent":"Input","placeholder":"Price","value":"","name":"price","render":false,"showOnSelect":{"value":"Offer","show":{"renderJson":true},"hide":{"renderJson":false}},"validation":{"numeric":true},"vuetifyProps":{"type":"number"},"styles":{"cols":6}},"offers.priceValidUntil":{"formComponent":"DatePicker","placeholder":"Price Valid Until","renderJson":false,"render":false,"value":"","name":"priceValidUntil","showOnChange":"offers.priceValidUntil","showOnSelect":{"value":"Offer","show":{"renderJson":false},"hide":{"renderJson":false}},"validation":{},"styles":{"cols":6}},"offers.availability":{"formComponent":"Selector","placeholder":"Availability","renderJson":false,"name":"availability","showOnChange":"offers.availability","render":false,"showOnSelect":{"value":"Offer","show":{"renderJson":false},"hide":{"renderJson":false}},"value":[{"selected":false,"value":"In Stock"},{"selected":false,"value":"Out of Stock"},{"selected":false,"value":"Online only"},{"selected":false,"value":"In store only"},{"selected":false,"value":"Pre-order"},{"selected":false,"value":"Pre-sale"},{"selected":false,"value":"Limited availability"},{"selected":false,"value":"Sold out"},{"selected":false,"value":"Discontinued"},{"selected":false,"value":"In Stock"}],"validation":{},"styles":{"cols":6},"filters":{"beforeText":"https://schema.org/","clearSymbols":[" "]}},"offers.condition":{"formComponent":"Selector","placeholder":"Item Condition","renderJson":false,"name":"itemCondition","showOnChange":"offers.condition","showOnSelect":{"value":"Offer","show":{"renderJson":false},"hide":{"renderJson":false}},"render":false,"value":[{"selected":false,"value":"NewCondition"},{"selected":false,"value":"UsedCondition"},{"selected":false,"value":"RefurbishedCondition"},{"selected":false,"value":"DamagedCondition"}],"filters":{"beforeText":"https://schema.org/"},"validation":{},"styles":{"cols":6}},"offers.lowPrice":{"formComponent":"Input","placeholder":"Low Price","value":"","render":false,"renderJson":true,"name":"lowPrice","showOnSelect":{"value":"Aggregate Offer","show":{"renderJson":true},"hide":{"renderJson":false}},"validation":{"number":true},"vuetifyProps":{"type":"number"},"styles":{"cols":6}},"offers.highPrice":{"formComponent":"Input","placeholder":"High Price","value":"","name":"highPrice","render":false,"renderJson":false,"showOnChange":"offers.highPrice","showOnSelect":{"value":"Aggregate Offer","show":{"renderJson":false},"hide":{"renderJson":false}},"vuetifyProps":{"type":"number"},"validation":{"number":true},"styles":{"cols":6}},"offers.offerCount":{"formComponent":"Input","placeholder":"Number of offers","value":"","name":"offerCount","render":false,"renderJson":false,"showOnChange":"offers.offerCount","showOnSelect":{"value":"Aggregate Offer","show":{"renderJson":false},"hide":{"renderJson":false}},"vuetifyProps":{"type":"number"},"validation":{"numeric":true},"styles":{"cols":6}}}},"review":{"formComponent":"Repeater","repeaterType":"object","render":true,"hide":true,"renderJson":false,"name":"review","value":[{"review.0.@type":{"formComponent":"Input","uuid":"0","value":"Review","render":false,"name":"@type","styles":{},"validation":{}},"review.0.name":{"formComponent":"Input","uuid":"0","placeholder":"Review\'s name","render":true,"name":"name","value":"","styles":{"cols":6},"validation":{}},"review.0.reviewBody":{"formComponent":"TextArea","uuid":"0","placeholder":"Review\'s body","name":"reviewBody","render":true,"value":"","styles":{"cols":6},"validation":{}},"review.0.reviewRating":{"formComponent":false,"render":true,"renderJson":false,"name":"reviewRating","styles":{},"validation":{},"hasChild":true,"children":{"review.0.reviewRating.@type":{"formComponent":"Input","uuid":"0","render":false,"name":"@type","value":"Rating","styles":{},"validation":{}},"review.0.reviewRating.ratingValue":{"formComponent":"ReviewRating","uuid":"0","render":true,"value":"","showOnChange":"review.0.reviewRating","placeholder":"Rating","name":"ratingValue","styles":{},"validation":{"maxValue":0,"minValue":0},"vuetifyProps":{"type":"number"}}}},"review.0.datePublished":{"formComponent":"DatePicker","uuid":"0","placeholder":"Date","render":true,"renderJson":false,"showOnChange":"review.0.datePublished","name":"datePublished","value":"","styles":{},"validation":{}},"review.0.author":{"formComponent":false,"uuid":"0","hasChild":true,"render":true,"name":"author","validation":{},"styles":{"cols":6},"children":{"review.0.author.0.@type":{"uuid":"0","formComponent":"Input","render":false,"value":"Person","name":"@type","styles":{},"validation":{}},"review.0.author.0.name":{"formComponent":"Input","uuid":"0","placeholder":"Author","render":true,"name":"name","value":"","styles":{},"validation":{}}}},"review.0.publisher":{"formComponent":false,"uuid":"0","hasChild":true,"renderJson":false,"render":true,"name":"publisher","validation":{},"styles":{"cols":6},"children":{"review.0.publisher.@type":{"formComponent":"Input","uuid":"0","render":false,"value":"Organization","name":"@type","styles":{},"validation":{}},"review.0.publisher.name":{"uuid":"0","formComponent":"Input","placeholder":"Publisher","showOnChange":"review.0.publisher","render":true,"name":"name","value":"","styles":{},"validation":{}}}}}],"validation":{},"styles":{},"buttonTitle":"ADD REVIEW"}}')},"0c0e":function(e,t,n){"use strict";n("e182")},"22c9":function(e,t,n){"use strict";n("fbd5")},"260e":function(e,t,n){"use strict";n("de0a")},"330a":function(e,t,n){},"56d7":function(e,t,n){"use strict";n.r(t),n.d(t,"schemaEmitter",(function(){return O}));n("e260"),n("e6cf"),n("cca6"),n("a79d");var r=n("a026"),a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("v-app",{attrs:{id:"schema"}},[n("div",{attrs:{id:"app"}},[n("Schema",{attrs:{schemas_type:e.schemasType}})],1)])},i=[],o=n("fad7"),s={name:"App",data:function(){return{schemasType:[{title:"Article",description:"- NewsArticle, BlogPosting",icon:"mdi-newspaper"},{title:"Breadcrumbs",description:"",icon:"mdi-chevron-double-right"},{title:"FAQPage",description:"",icon:"mdi-help-circle-outline"},{title:"Product",description:"- Offer, AggregateRating, Reviews",icon:"mdi-tag-outline"},{title:"Recipe",description:"",icon:"mdi-chef-hat"},{title:"Custom",description:"- Insert your own schema",icon:"mdi-border-color"}]}},components:{Schema:o["a"]}},l=s,u=(n("034f"),n("2877")),c=n("6544"),d=n.n(c),p=n("7496"),m=Object(u["a"])(l,a,i,!1,null,null,null),f=m.exports;d()(m,{VApp:p["a"]});var v=n("f309");r["a"].use(v["a"]);var h=new v["a"]({}),g=(n("d1e78"),n("2f62")),y={state:{default:{},schemaType:{},jsonType:{},sourceType:{}},mutations:{updateDefault:function(e,t){e["default"]=t},updateProperty:function(e,t){e[t[0]]=t[1]}},actions:{setDefaultData:function(e,t){var n=e.commit,r=JSON.parse(t.jsonString);n("updateDefault",r[t.key])},run:function(e,t){var n=e.commit;t&&(n("updateProperty",["schemaType",t]),n("updateProperty",["jsonType",JSON.parse(JSON.stringify(t))]),n("updateProperty",["sourceType",JSON.parse(JSON.stringify(t))]))}},getters:{getJsonType:function(e){return e.jsonType},getSchemaType:function(e){return e.schemaType},getSourceType:function(e){return e.sourceType},getDefaultData:function(e){return e.default}}},b=(n("b64b"),{state:{rating:{ratingValue:null,ratingCount:null,reviewCount:null,worstResult:null,bestResult:null},reviews:{}},mutations:{updateReview:function(e,t){e["reviews"][t.number]=t.value},setReview:function(e,t){e["reviews"]=t},updateRating:function(e,t){e["rating"]=t}},actions:{updateReviewRating:function(e,t){var n=e.commit,r=e.dispatch;n("updateReview",t),r("calculateRating")},setReviewRating:function(e,t){var n=e.commit,r=e.dispatch;n("setReview",t),r("calculateRating")},calculateRating:function(e){var t=e.commit,n=e.getters,r=n.getRating,a=null,i={ratingValue:null,ratingCount:null,reviewCount:null,worstResult:r.worstResult,bestResult:r.bestResult},o=null,s=n.getReviews,l=Object.keys(s).length;for(var u in s)s.hasOwnProperty(u)&&""!==s[u]&&(o+=1,a+=parseInt(s[u]));null!==o&&(i.ratingCount=o),null!==a&&(i.ratingValue=a/o),i.reviewCount=l,t("updateRating",i)},setRatingResult:function(e,t){e.commit},setBestResult:function(e,t){var n=e.commit,r=e.getters,a=r.getRating;n("updateRating",{ratingValue:a.ratingValue,ratingCount:a.ratingCount,reviewCount:a.reviewCount,bestResult:t,worstResult:a.worstResult})},setWorstResult:function(e,t){var n=e.commit,r=e.getters,a=r.getRating;r.getReviews;n("updateRating",{ratingValue:a.ratingValue,ratingCount:a.ratingCount,reviewCount:a.reviewCount,bestResult:a.bestResult,worstResult:t})}},getters:{getRating:function(e){return e.rating},getReviews:function(e){return e.reviews}}}),C={state:{currentSchema:{},schemasList:{}},mutations:{updateCurrentSchema:function(e,t){e.currentSchema=t},updateSchemasList:function(e,t){e.schemasList=t}},actions:{setCurrentSchema:function(e,t){var n=e.commit;n("updateCurrentSchema",t)},setSchemasList:function(e,t){var n=e.commit;n("updateSchemasList",t)}},getters:{getCurrentSchema:function(e){return e.currentSchema},getSchemasList:function(e){return e.schemasList}}};r["a"].use(g["a"]);var w=new g["a"].Store({modules:{schema:y,rating:b,currentSchema:C}});r["a"].config.productionTip=!1;var O=new r["a"];new r["a"]({vuetify:h,store:w,render:function(e){return e(f)},created:function(){"undefined"!==typeof schema_integration&&schema_integration.hasOwnProperty("i18n")&&this.setLocaleData(schema_integration.i18n["schema_integration"])}}).$mount("#app")},"5b50":function(e,t,n){},"7bc67":function(e,t,n){},"7ebc":function(e){e.exports=JSON.parse('{"@context":{"formComponent":"Input","value":"https://schema.org","name":"@context","placeholder":"","render":false,"validation":{},"styles":{}},"@type":{"formComponent":"Input","value":"Recipe","name":"@type","placeholder":"","render":false,"validation":{},"styles":{}},"recipeName":{"formComponent":"Input","value":"","placeholder":"Name","name":"name","render":true,"validation":{"required":true},"styles":{"cols":6},"duplicateFor":["video.@name"]},"keywords":{"formComponent":"Input","value":"","placeholder":"Keywords","render":true,"name":"keywords","validation":{},"styles":{"cols":6}},"description":{"formComponent":"TextArea","value":"","placeholder":"Recipe\'s description","name":"description","render":true,"validation":{},"styles":{},"duplicateFor":["video.description"]},"image":{"formComponent":"Repeater","repeaterType":"array","render":true,"name":"image","value":[{"image.0.url":{"formComponent":"Input","placeholder":"Image URL #","uuid":"0","render":true,"name":"url","value":"","styles":{},"validation":{"url":true}}}],"validation":{"required":true},"styles":{},"buttonTitle":"IMAGE","duplicateFor":["video.thumbnailUrl"]},"video":{"formComponent":false,"hasChild":true,"render":true,"name":"video","renderJson":false,"validation":{},"styles":{},"children":{"video.@type":{"formComponent":"Input","render":false,"value":"VideoObject","name":"@type","renderJson":true,"validation":{},"styles":{}},"video.@name":{"formComponent":"Input","render":false,"renderJson":true,"name":"name","value":"","validation":{},"styles":{}},"video.description":{"formComponent":"TextArea","render":false,"showOnChange":"description","name":"description","value":"","validation":{},"styles":{}},"video.thumbnailUrl":{"formComponent":"Repeater","repeaterType":"array","value":[{"video.0.thumbnailUrl":{"formComponent":"Input","placeholder":"Image URL #","uuid":"0","render":true,"name":"url","value":"","styles":{},"validation":{"url":true}}}],"render":false,"name":"thumbnailUrl","validation":{},"styles":{}},"video.uploadDate":{"formComponent":"DatePicker","value":"","name":"uploadDate","render":false,"renderJson":false,"showOnChange":"video.uploadDate","validation":{},"styles":{}},"video.contentUrl":{"formComponent":"Input","showOnChange":"video","render":true,"value":"","name":"contentUrl","placeholder":"Video: Content URL","validation":{"url":true},"styles":{"cols":6}},"video.embedUrl":{"formComponent":"Input","showOnChange":"video","render":true,"value":"","name":"embedUrl","placeholder":"Video: Embed URL","validation":{"url":true},"styles":{"cols":6}}}},"author":{"formComponent":false,"hasChild":true,"render":true,"name":"author","children":{"author.@type":{"formComponent":"Input","value":"Person","name":"@type","placeholder":"","render":false,"validation":{},"styles":{}},"author.name":{"formComponent":"Input","value":"","name":"name","placeholder":"Creator","render":true,"validation":{},"styles":{}}},"styles":{},"validation":{}},"datePublished":{"formComponent":"DatePicker","value":"","name":"datePublished","placeholder":"Date publisher","render":true,"validation":{},"styles":{"cols":4},"duplicateFor":["video.uploadDate"]},"prepTime":{"formComponent":"Input","vuetifyProps":{"type":"number"},"name":"prepTime","showOnChange":"prepTime","render":true,"value":"","placeholder":"Preparation (min)","calculateValue":{"from":["cookTime","prepTime"],"to":["totalTime"]},"styles":{"cols":4},"filters":{"toMinutes":true}},"cookTime":{"formComponent":"Input","vuetifyProps":{"type":"number"},"name":"cookTime","showOnChange":"cookTime","render":true,"value":"","placeholder":"Cooking (min)","calculateValue":{"from":["cookTime","prepTime"],"to":["totalTime"]},"styles":{"cols":4},"filters":{"toMinutes":true}},"totalTime":{"formComponent":"Input","vuetifyProps":{"type":"number"},"name":"totalTime","render":false,"renderJson":true,"value":"","placeholder":"Total (min)","styles":{"cols":4},"filters":{"toMinutes":true}},"recipeCategory":{"formComponent":"Selector","renderJson":false,"name":"recipeCategory","showOnChange":"recipeCategory","value":[{"selected":true,"value":""},{"selected":false,"value":"Appetizer"},{"selected":false,"value":"Entree"},{"selected":false,"value":"Dessert"}],"placeholder":"Category","render":true,"validation":{},"styles":{"cols":4}},"recipeCuisine":{"formComponent":"Input","renderJson":false,"showOnChange":"recipeCuisine","render":true,"value":"","name":"recipeCuisine","placeholder":"Cuisine","styles":{"cols":4}},"recipeYield":{"formComponent":"Input","vuetifyProps":{"type":"number"},"renderJson":false,"name":"recipeYield","showOnChange":"recipeYield","render":true,"value":"","placeholder":"Servings","styles":{"cols":4}},"recipeIngredient":{"formComponent":"Repeater","repeaterType":"array","render":true,"renderJson":false,"name":"recipeIngredient","value":[{"recipeIngredient.0.ingredient":{"formComponent":"Input","uuid":"0","placeholder":"Ingredient #","render":true,"value":"","name":"ingredient","styles":{},"validation":{},"showOnChange":"recipeIngredient"}}],"validation":{},"styles":{},"buttonTitle":"ADD INGREDIENT"},"nutrition":{"formComponent":false,"render":true,"hasChild":true,"styles":{},"name":"nutrition","validation":{},"children":{"nutrition.@type":{"formComponent":"Input","renderJson":true,"render":false,"name":"@type","value":"NutritionInformation","validation":{},"styles":{"cols":4}},"nutrition.servingSize":{"formComponent":"Input","renderJson":false,"showOnChange":"nutrition.servingSize","render":true,"value":"","name":"servingSize","placeholder":"Nutrition: Serving size","validation":{},"styles":{"cols":4}},"nutrition.calories":{"formComponent":"Input","renderJson":true,"render":true,"value":"","name":"calories","placeholder":"Nutrition: Calories","validation":{},"styles":{"cols":4},"vuetifyProps":{"type":"number"},"filters":{"afterText":" cal"}},"nutrition.fatContent":{"formComponent":"Input","renderJson":false,"render":true,"name":"fatContent","showOnChange":"nutrition.fatContent","value":"","placeholder":"Nutrition: Fat(grams)","validation":{},"styles":{"cols":4},"vuetifyProps":{"type":"number"},"filters":{"afterText":" g"}}}},"recipeInstructions":{"formComponent":"Repeater","repeaterType":"object","render":true,"hide":true,"renderJson":false,"name":"recipeInstructions","value":[{"recipeInstructions.0.@type":{"formComponent":"Input","render":false,"uuid":"0","name":"@type","value":"HowToStep","styles":{},"validation":{}},"recipeInstructions.0.text":{"formComponent":"Input","render":true,"uuid":"0","name":"text","renderJson":false,"placeholder":"Step #: Text","showOnChange":"recipeInstructions.0.text","value":"","validation":{},"styles":{"cols":3}},"recipeInstructions.0.name":{"formComponent":"Input","render":true,"uuid":"0","name":"name","placeholder":"Name","renderJson":false,"showOnChange":"recipeInstructions.0.name","value":"","validation":{},"styles":{"cols":3}},"recipeInstructions.0.url":{"formComponent":"Input","render":true,"uuid":"0","name":"url","renderJson":false,"placeholder":"URL","showOnChange":"recipeInstructions.0.url","value":"","validation":{"url":true},"styles":{"cols":3}},"recipeInstructions.0.image":{"formComponent":"Input","render":true,"uuid":"0","name":"image","renderJson":false,"placeholder":"Image","showOnChange":"recipeInstructions.0.image","value":"","validation":{"url":true},"styles":{"cols":3}}}],"validation":{},"styles":{},"buttonTitle":"ADD STEP"},"review":{"formComponent":"Repeater","repeaterType":"object","render":true,"hide":true,"renderJson":false,"name":"review","value":[{"review.0.@type":{"formComponent":"Input","uuid":"0","value":"Review","render":false,"name":"@type","styles":{},"validation":{}},"review.0.name":{"formComponent":"Input","uuid":"0","placeholder":"Review\'s name","render":true,"name":"name","value":"","styles":{"cols":6},"validation":{}},"review.0.reviewBody":{"formComponent":"TextArea","uuid":"0","placeholder":"Review\'s body","name":"reviewBody","render":true,"value":"","styles":{"cols":6},"validation":{}},"review.0.reviewRating":{"formComponent":false,"render":true,"renderJson":false,"name":"reviewRating","styles":{},"validation":{},"hasChild":true,"children":{"review.0.reviewRating.@type":{"formComponent":"Input","uuid":"0","render":false,"name":"@type","value":"Rating","styles":{},"validation":{}},"review.0.reviewRating.ratingValue":{"formComponent":"ReviewRating","uuid":"0","render":true,"value":"","showOnChange":"review.0.reviewRating","placeholder":"Rating","name":"ratingValue","styles":{},"validation":{"maxValue":0,"minValue":0},"vuetifyProps":{"type":"number"}}}},"review.0.datePublished":{"formComponent":"DatePicker","uuid":"0","placeholder":"Date","render":true,"renderJson":false,"showOnChange":"review.0.datePublished","name":"datePublished","value":"","styles":{},"validation":{}},"review.0.author":{"formComponent":false,"uuid":"0","hasChild":true,"render":true,"name":"author","validation":{},"styles":{"cols":6},"children":{"review.0.author.0.@type":{"uuid":"0","formComponent":"Input","render":false,"value":"Person","name":"@type","styles":{},"validation":{}},"review.0.author.0.name":{"formComponent":"Input","uuid":"0","placeholder":"Author","render":true,"name":"name","value":"","styles":{},"validation":{}}}},"review.0.publisher":{"formComponent":false,"uuid":"0","hasChild":true,"renderJson":false,"render":true,"name":"publisher","validation":{},"styles":{"cols":6},"children":{"review.0.publisher.@type":{"formComponent":"Input","uuid":"0","render":false,"value":"Organization","name":"@type","styles":{},"validation":{}},"review.0.publisher.name":{"uuid":"0","formComponent":"Input","placeholder":"Publisher","showOnChange":"review.0.publisher","render":true,"name":"name","value":"","styles":{},"validation":{}}}}}],"validation":{},"styles":{},"buttonTitle":"ADD REVIEW"}}')},"85ec":function(e,t,n){},"87f9":function(e,t,n){},"98d7":function(e){e.exports=JSON.parse('{"@context":{"formComponent":"Input","value":"https://schema.org","placeholder":"","name":"@context","render":false,"validation":{},"styles":{}},"@type":{"formComponent":"Selector","name":"@type","value":[{"selected":true,"value":"Article"},{"selected":false,"value":"NewsArticle"},{"selected":false,"value":"BlogPosting"}],"placeholder":"Article @type","render":true,"validation":{},"styles":{}},"mainEntityOfPage":{"formComponent":false,"render":true,"renderJson":false,"name":"mainEntityOfPage","hasChild":true,"validation":{},"styles":{"cols":6},"children":{"mainEntityOfPage.@type":{"formComponent":"Input","hasChild":false,"name":"@type","value":"WebPage","placeholder":"","validation":{},"styles":{}},"mainEntityOfPage.@id":{"formComponent":"Input","render":true,"hasChild":false,"name":"@id","showOnChange":"mainEntityOfPage","value":"","placeholder":"URL","validation":{"url":true},"styles":{"classes":"ptb-0"}}}},"headline":{"formComponent":"Input","render":true,"value":"","name":"headline","placeholder":"Headline","validation":{"maxLength":110},"styles":{"cols":6}},"description":{"formComponent":"Input","render":true,"renderJson":false,"name":"description","showOnChange":"description","value":"","placeholder":"Description of the article","validation":{},"styles":{}},"image":{"formComponent":"Repeater","repeaterType":"array","render":true,"name":"image","value":[{"image.0.url":{"formComponent":"Input","uuid":"0","placeholder":"Image URL #","render":true,"name":"url","value":"","styles":{},"validation":{"url":true}}}],"validation":{},"styles":{},"buttonTitle":"IMAGE"},"author":{"formComponent":false,"hasChild":true,"render":true,"name":"author","children":{"author.@type":{"formComponent":"Selector","name":"@type","value":[{"selected":false,"value":"Person"},{"selected":false,"value":"Organization"}],"placeholder":"Author @type","render":true,"validation":{},"styles":{}},"author.name":{"formComponent":"Input","value":"","placeholder":"Author","name":"name","render":true,"validation":{},"styles":{}}},"styles":{},"validation":{}},"publisher":{"formComponent":false,"hasChild":true,"render":true,"name":"publisher","styles":{},"children":{"publisher.@type":{"formComponent":"Input","value":"Organization","placeholder":"","name":"@type","render":false,"validation":{},"styles":{}},"publisher.name":{"formComponent":"Input","value":"","name":"name","placeholder":"Publisher","render":true,"validation":{},"styles":{}},"publisher.logo":{"formComponent":false,"hasChild":true,"render":true,"name":"logo","styles":{},"children":{"publisher.logo.@type":{"formComponent":"Input","value":"ImageObject","placeholder":"","name":"@type","render":false,"validation":{},"styles":{}},"publisher.logo.url":{"formComponent":"Input","value":"","name":"url","placeholder":"Publisher logo URL","render":true,"validation":{"url":true},"styles":{}}},"validation":{}}},"validation":{}},"datePublished":{"formComponent":"DatePicker","value":"","placeholder":"Date publisher","name":"datePublished","render":true,"validation":{},"styles":{"cols":5}},"dateModified":{"formComponent":"DatePicker","value":"","placeholder":"Date modified","renderJson":false,"name":"dateModified","showOnChange":"dateModified","render":true,"required":false,"validation":{},"styles":{"cols":7}}}')},a758:function(e,t,n){"use strict";n("7bc67")},aa03:function(e,t,n){"use strict";n("99af"),n("c740"),n("4160"),n("45fc"),n("a434"),n("b64b"),n("ac1f"),n("841c"),n("1276"),n("159b");var r=n("ade3"),a=n("53ca"),i=n("56d7"),o=n("017c");t["a"]={mixins:[o["a"]],methods:{findVal:function(e,t){var n,r=this,i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return Object.keys(e).some((function(o){return i&&-1!==o.search(t)||o===t?(n=e[o],!0):e[o]&&"object"===Object(a["a"])(e[o])?(n=r.findVal(e[o],t,i),void 0!==n):void 0})),n},changeChildType:function(e){return e.split(".").pop()},isLastItem:function(e,t){for(var n in e){var r="undefined"===typeof t[e[n]].renderJson||t[e[n]].renderJson;if(r)return!1}return!0},printComma:function(e,t){var n=Object.keys(t),r=n[e],a="undefined"===typeof t[r].renderJson||t[r].renderJson,i=n.length;if(e===i-1)return"";if(!a)return"";var o=n.splice(e+1,n.length);return o.length>0&&this.isLastItem(o,t)?"":","},renderItem:function(e){return void 0===e.renderJson||e.renderJson},isObject:function(e){return e&&"object"===Object(a["a"])(e)&&!Array.isArray(e)},mergeDeep:function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),a=1;a<t;a++)n[a-1]=arguments[a];if(!n.length)return e;var i=n.shift();if(this.isObject(e)&&this.isObject(i))for(var o in i)i.hasOwnProperty(o)&&this.isObject(i[o])?(e[o]?e[o]=Object.assign({},e[o]):Object.assign(e,Object(r["a"])({},o,{})),this.mergeDeep(e[o],i[o])):Object.assign(e,Object(r["a"])({},o,i[o]));return this.mergeDeep.apply(this,[e].concat(n))},getFilters:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(e)for(var n in t)"beforeText"===n&&(e=this.$options.filters.beforeText(e,t[n])),"afterText"===n&&(e=this.$options.filters.afterText(e,t[n])),"toMinutes"===n&&(e=this.$options.filters.toMinutes(e)),"clearSymbols"===n&&(e=this.$options.filters.clearSymbols(e,t[n]));return e},updateRatingValues:function(e){var t=this.getRating(),n=Object.keys(this.getReviews()),r={value:t.ratingValue},a={value:t.ratingCount};n.forEach((function(e){i["schemaEmitter"].$emit("input","review.".concat(e,".reviewRating.bestRating"),t.bestResult),i["schemaEmitter"].$emit("input","review.".concat(e,".reviewRating.worstRating"),t.worstResult),i["schemaEmitter"].$emit("input","review.".concat(e,".reviewRating.ratingValue"),{validation:{maxValue:t.bestResult,minValue:t.worstResult}})})),t.ratingValue?(r["vuetifyProps"]={disabled:!0},a["vuetifyProps"]={disabled:!0}):(r["vuetifyProps"]={disabled:!1},a["vuetifyProps"]={disabled:!1}),t.ratingValue>=1?i["schemaEmitter"].$emit("input","aggregateRating",{renderJson:!0}):i["schemaEmitter"].$emit("input","aggregateRating",{renderJson:!1}),i["schemaEmitter"].$emit("input","aggregateRating.ratingValue",r),i["schemaEmitter"].$emit("input","aggregateRating.ratingCount",a)},setEmptyValue:function(e){var t=Object(a["a"])(e);if("string"===t)return"";if("object"===t){var n=[];return e.forEach((function(e){var t={selected:!1};t["value"]=e.value,n.push(t)})),n}return""},isNotEmptyValue:function(e){var t=Object(a["a"])(e);if("string"===t)return e.length>0;if("object"===t){var n=e.findIndex((function(e){return e.selected}));return-1!==n}return!1},duplicateValues:function(e){if(this.componentProps.hasOwnProperty("duplicateFor")){var t=this.componentProps.duplicateFor;t.forEach((function(t){"string"===typeof e?i["schemaEmitter"].$emit("input",t,e):i["schemaEmitter"].$emit("input",t,{value:e})}))}}}}},ac85:function(e,t,n){"use strict";n.r(t);var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",["Input"===e.node.formComponent||"TextArea"===e.node.formComponent||"ReviewRating"===e.node.formComponent?n("div",[n("single-item",{attrs:{name:e.name,value:e.node.value,comma:e.comma,isDisplayName:e.isDisplayName,filters:e.getFiltersProp()}})],1):e._e(),"DatePicker"===e.node.formComponent?n("div",[n("date-item",{attrs:{name:e.name,value:e.node.value,comma:e.comma}})],1):"Selector"===e.node.formComponent?n("div",[n("selector-item",{attrs:{name:e.name,value:e.node.value,filters:e.getFiltersProp(),comma:e.comma}})],1):"Repeater"===e.node.formComponent&&"object"===e.node.repeaterType?n("div",[n("object-item",{attrs:{name:e.name,value:e.node.value,comma:e.comma}})],1):"Repeater"===e.node.formComponent&&"array"===e.node.repeaterType?n("div",[n("array-item",{attrs:{name:e.name,value:e.node.value}})],1):!1===e.node.formComponent?n("div",[n("span"),n("span",[e._v('"'+e._s(e.name)+'"')]),e._v(": "),n("span",[e._v("{")]),e._l(e.node.children,(function(t,r,a){return e.renderItem(t)?n("node",{key:r,attrs:{name:t.name,type:r,node:t,comma:e.printComma(a,e.node.children)}}):e._e()})),n("span",[e._v("}"+e._s(e.comma))])],2):e._e()])},a=[],i=(n("a9e3"),function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.isDisplayName?n("span",[n("span",[e._v('"'+e._s(e.name)+'"')]),e._v(': "'),n("span",{staticClass:"schema_integration-str",class:{"schema_integration-str__updated":e.isUpdate}},[e._v(e._s(e.getFilters(e.value,e.filters)))]),e._v('"'+e._s(e.comma)+" ")]):n("span",[e._v(' "'),n("span",{staticClass:"schema_integration-str",class:{"schema_integration-str__updated":e.isUpdate}},[e._v(e._s(e.getFilters(e.value,e.filters)))]),e._v('"'+e._s(e.comma)+" ")])}),o=[],s={props:{name:{type:String,required:!0},value:{type:[String,Number,Array],required:!1,default:""},comma:{type:String,required:!1,default:","},isDisplayName:{type:Boolean,required:!1,default:!0},filters:{type:Object,default:function(){return{}}}}},l=n("aa03"),u={mixins:[l["a"],s],data:function(){return{isUpdate:!1}},watch:{value:function(e){e&&(this.isUpdate=e.length>0)}}},c=u,d=n("2877"),p=Object(d["a"])(c,i,o,!1,null,"74a2251c",null),m=p.exports,f=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("span",[e.value.length>1?n("span",[n("span"),n("span",[e._v('"'+e._s(e.name)+'"')]),e._v(": "),n("span",[e._v("[")]),e._l(e.value,(function(t,r){return n("span",{key:r},e._l(t,(function(t,a,i){return e.renderItem(t)?n("json-tree",{key:a,attrs:{name:t.name,type:a,node:t,comma:e.printComma(r,e.value),isDisplayName:e.display}}):e._e()})),1)})),n("span"),n("span",[e._v("]"+e._s(e.printComma(0,e.value)))])],2):n("span",e._l(e.value[0],(function(t,r){return n("span",{key:r},[n("span"),n("span",[e._v('"'+e._s(e.name)+'"')]),e._v(': "'),n("span",{staticClass:"schema_integration-str"},[e._v(e._s(t.value))]),e._v('", ')])})),0)])},v=[],h=(n("d3b7"),{mixins:[s,l["a"]],props:{value:{type:Array,required:!0}},data:function(){return{display:!1}},components:{JsonTree:function(){return Promise.resolve().then(n.bind(null,"ac85"))}}}),g=h,y=(n("a758"),Object(d["a"])(g,f,v,!1,null,"2226b39c",null)),b=y.exports,C=function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.isDisplayName?n("span",[n("span",[e._v('"'+e._s(e.name)+'"')]),e._v(': "'),n("span",{staticClass:"schema_integration-str"},[e._v(e._s(e.getSelectedItem))]),e._v('"'+e._s(e.comma)+" ")]):n("span",[e._v(' "'),n("span",{staticClass:"schema_integration-str"},[e._v(e._s(e.getSelectedItem))]),e._v('"'+e._s(e.comma)+" ")])},w=[],O={mixins:[l["a"],s],computed:{getSelectedItem:function(){for(var e in this.value)if(this.value[e].selected)return this.getFilters(this.value[e].value,this.filters)}}},_=O,S=Object(d["a"])(_,C,w,!1,null,"4fdb5c6a",null),I=S.exports,P=function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.isDisplayName?n("span",[n("span",[e._v('"'+e._s(e.name)+'"')]),e._v(": "),n("span",[e._v('"'+e._s(e.value)+'"')]),e._v(e._s(e.comma)+" ")]):n("span",[n("span",[e._v('"'+e._s(e.value)+'"')]),e._v(e._s(e.comma)+" ")])},R=[],V={mixins:[s]},j=V,x=Object(d["a"])(j,P,R,!1,null,"474081ee",null),J=x.exports,T=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("span",[n("span"),n("span",[e._v('"'+e._s(e.name)+'"')]),e._v(": "),n("span",[e._v("[")]),e._l(e.value,(function(t,r){return n("span",{key:r},[e._v("{ "),e._l(t,(function(r,a,i){return e.renderItem(r)?n("json-tree",{key:a,attrs:{name:r.name,type:a,node:r,comma:e.printComma(i,t),"display-name":e.display}}):e._e()})),e._v(" }"+e._s(e.printComma(r,e.value)))],2)})),n("span"),n("span",[e._v("]"+e._s(e.comma))])],2)},E=[],k={mixins:[s,l["a"]],props:{value:{type:Array,required:!0}},data:function(){return{display:!1}},components:{JsonTree:function(){return Promise.resolve().then(n.bind(null,"ac85"))}}},$=k,D=(n("e396"),Object(d["a"])($,T,E,!1,null,"71953de0",null)),N=D.exports,A={mixins:[l["a"]],name:"node",props:{node:Object,type:[String,Number],comma:String,name:String,isDisplayName:{type:Boolean,required:!1,default:!0}},components:{SingleItem:m,ArrayItem:b,SelectorItem:I,DateItem:J,ObjectItem:N},methods:{getFiltersProp:function(){return this.node.hasOwnProperty("filters")?this.node.filters:{}}}},L=A,F=(n("0c0e"),Object(d["a"])(L,r,a,!1,null,"516b3065",null));t["default"]=F.exports},af02:function(e){e.exports=JSON.parse('{"@context":{"formComponent":"Input","value":"https://schema.org","placeholder":"","name":"@context","render":false,"validation":{},"styles":{}},"@type":{"formComponent":"Input","value":"BreadcrumbList","name":"@type","placeholder":"","render":false,"validation":{},"styles":{}},"itemListElement":{"formComponent":"Repeater","repeaterType":"object","render":true,"name":"itemListElement","value":[{"itemListElement.0.@type":{"formComponent":"Input","uuid":"0","placeholder":"@type","name":"@type","value":"ListItem","render":false,"renderJson":true,"styles":{},"validation":{}},"itemListElement.0.position":{"formComponent":"Input","uuid":"0","placeholder":"position","value":"1","name":"position","render":false,"renderJson":true,"styles":{},"validation":{}},"itemListElement.0.name":{"formComponent":"Input","uuid":"0","placeholder":"Page\'s name","name":"name","value":"","render":true,"renderJson":true,"styles":{},"validation":{"required":true}},"itemListElement.0.item":{"formComponent":"Input","uuid":"0","placeholder":"URL","name":"item","value":"","render":true,"renderJson":true,"styles":{},"validation":{"required":true,"url":true}}}],"validation":{},"styles":{},"buttonTitle":"ADD URL"}}')},bab1:function(e,t,n){"use strict";n("87f9")},bdd2:function(e){e.exports=JSON.parse('{"@context":{"formComponent":"Input","value":"https://schema.org","placeholder":"","name":"@context","render":false,"validation":{},"styles":{}},"@type":{"formComponent":"Input","value":"FAQPage","placeholder":"","name":"@type","render":false,"validation":{},"styles":{}},"mainEntity":{"formComponent":"Repeater","repeaterType":"object","render":true,"name":"mainEntity","value":[{"mainEntity.0.@type":{"formComponent":"Input","uuid":"0","render":false,"renderJson":true,"name":"@type","value":"Question","validation":{},"styles":{}},"mainEntity.0.question":{"formComponent":"Input","uuid":"0","placeholder":"Question","name":"name","value":"","render":true,"styles":{},"validation":{}},"mainEntity.0.acceptedAnswer":{"formComponent":false,"hasChild":true,"uuid":"0","render":true,"name":"acceptedAnswer","styles":{},"validation":{},"children":{"mainEntity.0.acceptedAnswer.@type":{"formComponent":"Input","uuid":"0","render":false,"renderJson":true,"name":"@type","value":"Answer","validation":{},"styles":{}},"mainEntity.0.acceptedAnswer.answer":{"formComponent":"Input","uuid":"0","placeholder":"Answer","name":"text","value":"","render":true,"styles":{},"validation":{}}}}}],"validation":{},"styles":{},"buttonTitle":"ADD QUESTION"}}')},bfd9:function(e,t,n){"use strict";n("5b50")},de0a:function(e,t,n){},e182:function(e,t,n){},e396:function(e,t,n){"use strict";n("330a")},fad7:function(e,t,n){"use strict";var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("v-main",[n("v-container",[n("v-row",[n("v-col",[n("v-card",[n("v-card-text",[n("div",[n("v-select",{attrs:{items:e.getSchemasList,attach:"",label:"Which Schema.org markup would you like to create?"},on:{change:function(t){return e.selectSchema(t)}},scopedSlots:e._u([{key:"selection",fn:function(t){return[n("v-list-item",[n("v-list-item-content",[n("v-list-item-title",[n("v-icon",{attrs:{small:""}},[e._v(e._s(t.item.icon))]),e._v(" "+e._s(t.item.title)+" ")],1)],1)],1)]}},{key:"item",fn:function(t){return[n("v-icon",{attrs:{small:""}},[e._v(e._s(t.item.icon))]),n("v-list-item",[n("v-list-item-content",[n("v-list-item-title",[e._v(" "+e._s(t.item.title)+" "),n("small",[e._v(e._s(t.item.description))])])],1)],1)]}}]),model:{value:e.getSelectedSchema,callback:function(t){e.getSelectedSchema=t},expression:"getSelectedSchema"}})],1)])],1)],1)],1),n("v-row",[n("v-col",{attrs:{cols:"7"}},[n("v-card",[n("v-card-text",[n("form-builder",{attrs:{config:e.getSchemaType}})],1)],1)],1),n("v-col",{attrs:{cols:"5"}},[n("v-card",{attrs:{height:"100%"}},[n("v-card-text",[n("json-builder",{ref:"jsonTemplate",attrs:{config:e.getJsonType}})],1)],1)],1)],1),n("v-row",[n("v-col",[n("v-card",[n("v-card-title",[e._v("Select schemas conditions")]),n("v-card-text",[n("conditions",{attrs:{conditionsList:e.conditions,currentConditions:e.postConditions}})],1)],1)],1)],1),n("v-row",[n("input",{directives:[{name:"model",rawName:"v-model",value:e.result,expression:"result"}],attrs:{type:"hidden",name:"schema"},domProps:{value:e.result},on:{input:function(t){t.target.composing||(e.result=t.target.value)}}}),n("input",{directives:[{name:"model",rawName:"v-model",value:e.source,expression:"source"}],attrs:{type:"hidden",name:"source"},domProps:{value:e.source},on:{input:function(t){t.target.composing||(e.source=t.target.value)}}}),n("input",{directives:[{name:"model",rawName:"v-model",value:e.getSchemaName,expression:"getSchemaName"}],attrs:{type:"hidden",name:"schema_name"},domProps:{value:e.getSchemaName},on:{input:function(t){t.target.composing||(e.getSchemaName=t.target.value)}}})])],1)],1)},a=[],i=(n("7db0"),n("4160"),n("4fad"),n("159b"),n("3835")),o=n("53ca"),s=n("5530"),l=n("98d7"),u=n("bdd2"),c=n("0a9f"),d=n("7ebc"),p=n("af02"),m=n("ff39"),f={data:function(){return{config:{Article:l,FAQPage:u,Product:c,Recipe:d,Breadcrumbs:p,Custom:m}}}},v=n("aa03"),h=n("bc3a"),g=n.n(h),y=n("2f62"),b=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("v-row",e._l(e.config,(function(e,t,r){return n("form-tree",{key:t,attrs:{index:r,type:t,node:e}})})),1)},C=[],w=n("003d"),O=n("56d7"),_={props:["config"],data:function(){return{formValues:{}}},components:{FormTree:w["default"]},methods:{updateField:function(e,t){O["schemaEmitter"].$emit("input",e,t)}}},S=_,I=n("2877"),P=n("6544"),R=n.n(P),V=n("0fd9"),j=Object(I["a"])(S,b,C,!1,null,"31de27a7",null),x=j.exports;R()(j,{VRow:V["a"]});var J=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"json-wrapper"},[n("span",{staticClass:"schema_integration-tag"},[e._v("<script")]),e._v(" "),n("span",{staticClass:"schema_integration-attr"},[e._v("type")]),n("span",{staticClass:"schema_integration-attr-value"},[e._v('="application/ld+json"')]),n("span",[e._v(">")]),n("div",{ref:"schema_integration_template"},["Custom"!==e.getCurrentSchema.title?n("div",[e._m(0),e._l(e.config,(function(t,r,a){return e.renderItem(t)?n("json-tree",{key:r,attrs:{name:t.name,type:r,node:t,comma:e.printComma(a,e.config)}}):e._e()})),e._m(1)],2):n("div",[n("custom-item",{attrs:{value:e.config.custom.value}})],1)]),n("span",{staticClass:"schema_integration-tag"},[e._v("<\/script>")])])},T=[function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("span",[e._v("{")])])},function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("span",[e._v("}")])])}],E=n("ac85"),k=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("pre",[e._v(e._s(e._f("prettyJSON")(e.value))+" ")])},$=[],D=n("017c"),N={mixins:[D["a"]],props:{value:{required:!0,default:"",type:[String,Object]}}},A=N,L=(n("bab1"),Object(I["a"])(A,k,$,!1,null,"2c4f9021",null)),F=L.exports,U={mixins:[v["a"]],props:{config:Object},data:function(){return{render:!0}},components:{CustomItem:F,JsonTree:E["default"]},computed:Object(y["c"])(["getCurrentSchema"])},B=U,q=(n("bfd9"),Object(I["a"])(B,J,T,!1,null,"67395d6c",null)),K=q.exports,M=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("div",{staticClass:"conditions-items"},e._l(e.conditions,(function(t,r){return n("v-row",{key:r,staticClass:"conditions-item"},[n("v-col",{attrs:{cols:"6"}},[n("v-select",{attrs:{items:t.data,attach:"",label:"Conditions list"},on:{change:function(t){return e.getConditionsValue(r,t)}},model:{value:t.selected,callback:function(n){e.$set(t,"selected",n)},expression:"item.selected"}})],1),n("v-col",{attrs:{cols:"6"}},[t.displayIds?n("div",[n("v-text-field",{attrs:{type:"number",label:"Add ID"},on:{input:function(t){return e.getConditionsValueIds(r,t)}},model:{value:t.ids,callback:function(n){e.$set(t,"ids",n)},expression:"item.ids"}})],1):e._e()]),n("v-row",[n("v-col",{attrs:{cols:"6"}},[n("v-btn",{attrs:{small:"",color:"primary"},on:{click:function(t){return e.addItem(r)}}},[e._v("Add")])],1),n("v-col",{attrs:{cols:"6"}},[n("v-btn",{attrs:{small:"",color:"error",disabled:e.disableButton},on:{click:function(t){return e.deleteItem(r)}}},[e._v("Delete")])],1)],1)],1)})),1),n("input",{directives:[{name:"model",rawName:"v-model",value:e.result,expression:"result"}],attrs:{type:"hidden",name:"conditions"},domProps:{value:e.result},on:{input:function(t){t.target.composing||(e.result=t.target.value)}}})])},W=[],z=(n("a434"),n("2ca0"),{props:["conditionsList","currentConditions"],data:function(){return{conditions:[{data:[],selected:"",displayIds:!1,ids:""}],result:""}},watch:{currentConditions:{handler:"setConditions"},conditions:{deep:!0,handler:function(){this.result=JSON.stringify(this.getConditionsResult())}}},methods:{addItem:function(e){var t=JSON.parse(JSON.stringify(this.conditions[e]));this.conditions.push(t)},deleteItem:function(e){this.conditions.length>1&&this.conditions.splice(e,1)},getConditionsValue:function(e,t){this.conditions[e].displayIds=t.startsWith("{custom_")},getConditionsValueIds:function(e,t){this.conditions[e].ids=t},getConditionsResult:function(){var e=[];return this.conditions.forEach((function(t){var n={condition:t.selected,custom:t.displayIds?t.ids:""};e.push(n)})),e},setConditions:function(){var e=this;this.currentConditions.length<=0?this.conditions[0].data=this.conditionsList:(this.conditions.splice(0,1),this.currentConditions.forEach((function(t){e.conditions.push({data:e.conditionsList,selected:t.condition,ids:t.custom,displayIds:t.custom.length>0})})))}},computed:{disableButton:function(){return this.conditions.length<=1}},created:function(){this.setConditions()}}),Q=z,G=n("8336"),H=n("62ad"),Y=n("b974"),X=n("8654"),Z=Object(I["a"])(Q,M,W,!1,null,"53d6957f",null),ee=Z.exports;R()(Z,{VBtn:G["a"],VCol:H["a"],VRow:V["a"],VSelect:Y["a"],VTextField:X["a"]});var te={mixins:[f,v["a"]],components:{FormBuilder:x,JsonBuilder:K,Conditions:ee},props:{schemas_type:{type:Array,required:!0}},data:function(){return{conditions:[],postConditions:[],componentKey:0,schemaExist:!1,schemaType:{},jsonType:{},sourceType:{},result:"",source:"",default:""}},methods:Object(s["a"])(Object(s["a"])(Object(s["a"])({},Object(y["b"])(["setDefaultData","setCurrentSchema","setSchemasList","run"])),Object(y["d"])(["updateProperty"])),{},{getInnerJson:function(){return this.$refs.jsonTemplate.$refs.schema_integration_template.innerText},getAjaxSchemaSettings:function(e,t){var n=this;g.a.post("/wp-admin/admin-ajax.php?action=get_schema_settings",{post_id:e,security:t}).then((function(e){e.data&&(n.run(JSON.parse(e.data.schema)),n.postConditions=JSON.parse(e.data.conditions),n.schemaExist=!0,n.setCurrentSchema(JSON.parse(e.data.schema_name)),n.buildFromConfig(n.getCurrentSchema.title),n.setDefaultData({key:n.getCurrentSchema.title,jsonString:n.default}))})).catch((function(e){n.setCurrentSchema(n.schemas_type[0]);var t=n.buildFromConfig(n.getCurrentSchema.title);n.setDefaultData({key:n.getCurrentSchema.title,jsonString:n.default}),n.run(t)}))},displayJsonTemplate:function(e,t,n){if("undefined"!==typeof t.value&&"undefined"!==typeof t.showOnChange){var r=this.findVal(e,t.showOnChange),a=Object(o["a"])(n);if("undefined"!==typeof r)if("object"!==a)r.renderJson=""!==n;else if(n&&n.hasOwnProperty("value")&&"object"===Object(o["a"])(n.value)){var i=n.value.find((function(e){return e.selected}));r.renderJson="undefined"!==typeof i}else n&&n.hasOwnProperty("renderJson")&&(r.renderJson=n.renderJson)}},updateObject:function(e,t,n){var r=this.findVal(e,t);void 0!==r&&(r=this.mergeDeep(r,n),this.displayJsonTemplate(e,r,n))},updateItem:function(e,t,n){var r=this.findVal(e,t);"undefined"!==typeof r&&r.hasOwnProperty("value")&&(r.value=n,this.displayJsonTemplate(e,r,n))},updateProperties:function(){this.updateProperty(["schemaType",this.getSchemaType]),this.result=this.getInnerJson(),this.source=JSON.stringify(this.getSourceType)},buildFromConfig:function(e){var t=e,n=this.config,r=JSON.stringify(n);this.default=r;var a=JSON.parse(r);return"undefined"!==typeof a[t]&&a[t]},selectSchema:function(e){this.setCurrentSchema(e);var t=this.buildFromConfig(this.getCurrentSchema.title);this.setDefaultData({key:this.getCurrentSchema.title,jsonString:this.default}),this.run(t),this.itemWalker(this.getSchemaType),this.updateProperties()},itemWalker:function(e){var t=this;"object"===Object(o["a"])(e)&&Object.entries(e).forEach((function(e){var n=Object(i["a"])(e,2),r=n[0],a=n[1];void 0!==a.children?t.itemWalker(a.children):"undefined"!==typeof t.$options.components[a.formComponent]&&!1!==a.render||delete a[r]}))}}),computed:Object(s["a"])(Object(s["a"])({},Object(y["c"])(["getJsonType","getSchemaType","getSourceType","getCurrentSchema","getSchemasList"])),{},{getSelectedSchema:{get:function(){return this.getCurrentSchema},set:function(e){return this.setCurrentSchema(e)}},getSchemaName:{get:function(){return JSON.stringify(this.getCurrentSchema)},set:function(e){return this.setCurrentSchema(e)}}}),updated:function(){this.$nextTick((function(){this.result=this.getInnerJson()}))},mounted:function(){var e=this;O["schemaEmitter"].$on("input",(function(t,n){if("object"===Object(o["a"])(n))e.updateObject(e.getSchemaType,t,n),e.updateObject(e.getJsonType,t,n),e.updateObject(e.getSourceType,t,n);else{try{n=JSON.parse(n)}catch(r){}e.updateItem(e.getSchemaType,t,n),e.updateItem(e.getJsonType,t,n),e.updateItem(e.getSourceType,t,n)}e.updateProperties(),e.result=e.getInnerJson(),e.source=JSON.stringify(e.getSourceType)})),setTimeout((function(){e.result=e.getInnerJson(),e.source=JSON.stringify(e.getSourceType)}),1e3)},created:function(){if("undefined"!==typeof wp&&wp.hasOwnProperty("i18n")){var e=wp.i18n;e.__,e._x,e._n,e._nx}var t=document.getElementById("app");if(null!==t){var n=t.getAttribute("data-id"),r=t.getAttribute("data-security"),a=t.getAttribute("data-conditions");this.conditions=JSON.parse(a),n&&(this.setSchemasList(this.schemas_type),this.getAjaxSchemaSettings(n,r))}},beforeDestroy:function(){O["schemaEmitter"].$off("input")}},ne=te,re=(n("22c9"),n("b0af")),ae=n("99d9"),ie=n("a523"),oe=n("132d"),se=n("da13"),le=n("5d23"),ue=n("f6c4"),ce=Object(I["a"])(ne,r,a,!1,null,"01819fa8",null);t["a"]=ce.exports;R()(ce,{VCard:re["a"],VCardText:ae["a"],VCardTitle:ae["b"],VCol:H["a"],VContainer:ie["a"],VIcon:oe["a"],VListItem:se["a"],VListItemContent:le["a"],VListItemTitle:le["b"],VMain:ue["a"],VRow:V["a"],VSelect:Y["a"]})},fbd5:function(e,t,n){},ff39:function(e){e.exports=JSON.parse('{"custom":{"formComponent":"Custom","value":"","placeholder":"Enter the custom schema json","name":"custom","render":true,"validation":{"isJson":true},"styles":{}}}')}}); 2 2 //# sourceMappingURL=app.js.map -
schema-integration/trunk/admin/src/js/schema/dist/js/app.js.map
r2471803 r2486647 1 {"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/FormElements/FormTree.vue?f8ee","webpack:///./src/FormElements/Input.vue?c854","webpack:///./src/mixins/validation.js","webpack:///./src/mixins/form-props.js","webpack:///./src/mixins/rating.js","webpack:///src/FormElements/Input.vue","webpack:///./src/FormElements/Input.vue?7927","webpack:///./src/FormElements/Input.vue","webpack:///./src/FormElements/Repeater.vue?f527","webpack:///src/FormElements/Repeater.vue","webpack:///./src/FormElements/Repeater.vue?4761","webpack:///./src/FormElements/Repeater.vue","webpack:///./src/FormElements/Selector.vue?2027","webpack:///src/FormElements/Selector.vue","webpack:///./src/FormElements/Selector.vue?8737","webpack:///./src/FormElements/Selector.vue","webpack:///./src/FormElements/DatePicker.vue?dfbd","webpack:///src/FormElements/DatePicker.vue","webpack:///./src/FormElements/DatePicker.vue?02d1","webpack:///./src/FormElements/DatePicker.vue","webpack:///./src/FormElements/TextArea.vue?9a29","webpack:///src/FormElements/TextArea.vue","webpack:///./src/FormElements/TextArea.vue?f8d7","webpack:///./src/FormElements/TextArea.vue","webpack:///./src/FormElements/ReviewRating.vue?25cb","webpack:///src/FormElements/ReviewRating.vue","webpack:///./src/FormElements/ReviewRating.vue?1e33","webpack:///./src/FormElements/ReviewRating.vue","webpack:///./src/FormElements/Custom.vue?6545","webpack:///src/FormElements/Custom.vue","webpack:///./src/FormElements/Custom.vue?a5d5","webpack:///./src/FormElements/Custom.vue","webpack:///./src/mixins/styles.js","webpack:///src/FormElements/FormTree.vue","webpack:///./src/FormElements/FormTree.vue?f749","webpack:///./src/FormElements/FormTree.vue?c051","webpack:///./src/mixins/filters.js","webpack:///./src/App.vue?5189","webpack:///./src/JsonElements/JsonTree.vue?b06a","webpack:///./src/components/Schema.vue?fd0e","webpack:///./src/FormElements/FormTree.vue?aa36","webpack:///./src/App.vue?1f5e","webpack:///src/App.vue","webpack:///./src/App.vue?b0f9","webpack:///./src/App.vue?155a","webpack:///./src/plugins/vuetify.js","webpack:///./src/store/modules/schema.js","webpack:///./src/store/modules/rating.js","webpack:///./src/store/modules/current-schema.js","webpack:///./src/store/index.js","webpack:///./src/main.js","webpack:///./src/ components/jsonBuilder.vue?febd","webpack:///./src/JsonElements/ArrayItem.vue?17b6","webpack:///./src/mixins/functions.js","webpack:///./src/JsonElements/JsonTree.vue?e7e1","webpack:///./src/JsonElements/SingleItem.vue?b18d","webpack:///./src/mixins/json-props.js","webpack:///src/JsonElements/SingleItem.vue","webpack:///./src/JsonElements/SingleItem.vue?7046","webpack:///./src/JsonElements/SingleItem.vue","webpack:///./src/JsonElements/ArrayItem.vue?d2f6","webpack:///src/JsonElements/ArrayItem.vue","webpack:///./src/JsonElements/ArrayItem.vue?19b6","webpack:///./src/JsonElements/ArrayItem.vue?b714","webpack:///./src/JsonElements/SelectorItem.vue?31a6","webpack:///src/JsonElements/SelectorItem.vue","webpack:///./src/JsonElements/SelectorItem.vue?2d0c","webpack:///./src/JsonElements/SelectorItem.vue","webpack:///./src/JsonElements/DateItem.vue?6da3","webpack:///src/JsonElements/DateItem.vue","webpack:///./src/JsonElements/DateItem.vue?6533","webpack:///./src/JsonElements/DateItem.vue","webpack:///./src/JsonElements/ObjectItem.vue?91ba","webpack:///src/JsonElements/ObjectItem.vue","webpack:///./src/JsonElements/ObjectItem.vue?e849","webpack:///./src/JsonElements/ObjectItem.vue?c919","webpack:///src/JsonElements/JsonTree.vue","webpack:///./src/JsonElements/JsonTree.vue?9fab","webpack:///./src/JsonElements/JsonTree.vue?7818","webpack:///./src/JsonElements/CustomItem.vue?de50","webpack:///./src/JsonElements/ObjectItem.vue?7d44","webpack:///./src/components/Schema.vue?7d27","webpack:///./src/mixins/config.js","webpack:///./src/components/formBuilder.vue?c26d","webpack:///src/components/formBuilder.vue","webpack:///./src/components/formBuilder.vue?eb35","webpack:///./src/components/formBuilder.vue","webpack:///./src/components/jsonBuilder.vue?f7d0","webpack:///./src/JsonElements/CustomItem.vue?10a3","webpack:///src/JsonElements/CustomItem.vue","webpack:///./src/JsonElements/CustomItem.vue?e878","webpack:///./src/JsonElements/CustomItem.vue?e87e","webpack:///src/components/jsonBuilder.vue","webpack:///./src/components/jsonBuilder.vue?8896","webpack:///./src/components/jsonBuilder.vue?e9af","webpack:///./src/CondtionsElements/Conditions.vue?8589","webpack:///src/CondtionsElements/Conditions.vue","webpack:///./src/CondtionsElements/Conditions.vue?2418","webpack:///./src/CondtionsElements/Conditions.vue","webpack:///src/components/Schema.vue","webpack:///./src/components/Schema.vue?70b0","webpack:///./src/components/Schema.vue?cb6e"],"names":["webpackJsonpCallback","data","moduleId","chunkId","chunkIds","moreModules","executeModules","i","resolves","length","Object","prototype","hasOwnProperty","call","installedChunks","push","modules","parentJsonpFunction","shift","deferredModules","apply","checkDeferredModules","result","deferredModule","fulfilled","j","depId","splice","__webpack_require__","s","installedModules","exports","module","l","m","c","d","name","getter","o","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","p","jsonpArray","window","oldJsonpFunction","slice","render","_vm","this","_h","$createElement","_c","_self","node","class","classes","attrs","cols","children","_l","index","formComponent","tag","type","getCustomProps","_e","staticRenderFns","componentProps","_b","placeholder","counter","printCounterValue","displayErrors","validation","$v","getCurrentValue","on","$event","validateInput","updateField","updateKey","model","callback","$$v","expression","vuetifyProps","Vue","use","Vuelidate","messages","required","maxLength","url","minValue","maxValue","numeric","isJson","methods","currentValue","field","errorMessages","undefined","entries","$dirty","$invalid","$touch","createValidatorsObject","items","Validators","keys","isJsone","mounted","props","default","String","Number","mixins","functions","rating","ratingValue","ratingCount","reviewCount","worstResult","bestResult","mapActions","mapGetters","calculateRating","parseInt","setRating","setWorst","setBest","setRatingResult","setWorstResult","setBestResult","getRating","Array","setRatingValues","calculateValue","duplicateValues","reviewsKeys","forEach","objectList","from","item","total","to","validations","validators","computed","set","component","VTextField","staticClass","el","k","hide","addItem","_v","_s","buttonTitle","disableButton","deleteItem","components","FormTree","properties","newItem","updateReviews","updateBreadcrumbs","setReviewRating","0","updateRatingValues","id","changeItemKey","arrayKey","newObject","replace","JSON","parse","reviewObject","resultItem","uuid","VBtn","VCol","VIcon","VRow","getSelectedObject","selected","Schema","dropdown_texts","dropdown_values","schemas","schemas_type","changeView","getSchemaType","offer","renderJson","setEmptyValue","updateProperty","fields","getSelectedValue","selected_index","getDropDownText","map","getDropDownValues","getSelectedItem","findIndex","VSelect","scopedSlots","_u","fn","ref","_g","menu2","VDatePicker","VMenu","fullWidth","VTextarea","updateReviewRating","number","stringify","styles","Input","Selector","Repeater","DatePicker","TextArea","ReviewRating","Custom","changeChildType","split","pop","filters","beforeText","string","textBefore","afterText","textAfter","toMinutes","clearSymbols","symbols","symbol","replaceAll","prettyJSON","e","schemasType","VApp","Vuetify","state","schemaType","jsonType","sourceType","mutations","updateDefault","actions","setDefaultData","commit","jsonString","run","getters","getJsonType","getSourceType","getDefaultData","reviews","updateReview","setReview","updateRating","review","dispatch","currentRating","reviewRating","getReviews","currentSchema","schemasList","updateCurrentSchema","updateSchemasList","setCurrentSchema","setSchemasList","getCurrentSchema","getSchemasList","Vuex","Store","schema","config","productionTip","schemaEmitter","vuetify","store","h","App","created","schema_integration","setLocaleData","i18n","$mount","findVal","regexp","some","search","isLastItem","objects","printComma","currentObjectKey","spliceObject","renderItem","isObject","isArray","mergeDeep","target","sources","source","assign","getFilters","filter","$options","ratingValueObject","ratingCountObject","$emit","disabled","obj","isNotEmptyValue","duplicateFor","comma","isDisplayName","getFiltersProp","repeaterType","isUpdate","Boolean","watch","display","JsonTree","SingleItem","ArrayItem","SelectorItem","DateItem","ObjectItem","selectSchema","icon","title","description","getSelectedSchema","conditions","postConditions","directives","rawName","domProps","composing","getSchemaName","Article","FAQPage","Product","Recipe","Breadcrumbs","formValues","_m","custom","_f","CustomItem","getConditionsValue","$set","getConditionsValueIds","currentConditions","handler","deep","getConditionsResult","displayIds","startsWith","ids","condition","setConditions","conditionsList","FormBuilder","JsonBuilder","Conditions","componentKey","schemaExist","getInnerJson","$refs","jsonTemplate","$el","innerText","getAjaxSchemaSettings","post_id","security","displayJsonTemplate","needle","showOnChange","show","updateObject","updateItem","updateProperties","buildFromConfig","defaultConfigString","event","itemWalker","updated","$nextTick","setTimeout","wp","root","beforeDestroy","VCard","VCardText","VCardTitle","VContainer","VListItem","VListItemContent","VList","VListItemTitle","VMain"],"mappings":"aACE,SAASA,EAAqBC,GAQ7B,IAPA,IAMIC,EAAUC,EANVC,EAAWH,EAAK,GAChBI,EAAcJ,EAAK,GACnBK,EAAiBL,EAAK,GAIHM,EAAI,EAAGC,EAAW,GACpCD,EAAIH,EAASK,OAAQF,IACzB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,GADA,EACA,GADA,EACA,GADA,EACA,IAEI,IAAJ,iCACI,GAAI,OAASkZ,EAAM,CACjB,IAAN,4BACA,kCACA,oCACM9V,KAAKoS,WAAapK,KAAKC,MAAMmK,GAEzByC,IACF7U,KAAKoO,eAAepO,KAAK+I,cACzB/I,KAAK4U,sBAAsBC,EAASC,MAI1CiB,cAzMF,WA0MI,EAAJ,iCCtSgV,M,uGCQ5U,GAAY,eACd,GACAjW,EACAoB,GACA,EACA,KACA,WACA,MAIa,UAAiB,QAgBhC,IAAkB,GAAW,CAAC8U,SAAA,KAAMC,UAAA,QAAUC,WAAA,QAAW5N,OAAA,KAAK6N,cAAA,KAAW5N,SAAA,KAAM6N,aAAA,KAAUC,iBAAAC,GAAA,KAAiBC,eAAAD,GAAA,KAAeE,SAAA,KAAMhO,OAAA,KAAKsB,UAAA,Q","file":"js/app.js","sourcesContent":[" \t// install a JSONP callback for chunk loading\n \tfunction webpackJsonpCallback(data) {\n \t\tvar chunkIds = data[0];\n \t\tvar moreModules = data[1];\n \t\tvar executeModules = data[2];\n\n \t\t// add \"moreModules\" to the modules object,\n \t\t// then flag all \"chunkIds\" as loaded and fire callback\n \t\tvar moduleId, chunkId, i = 0, resolves = [];\n \t\tfor(;i < chunkIds.length; i++) {\n \t\t\tchunkId = chunkIds[i];\n \t\t\tif(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) {\n \t\t\t\tresolves.push(installedChunks[chunkId][0]);\n \t\t\t}\n \t\t\tinstalledChunks[chunkId] = 0;\n \t\t}\n \t\tfor(moduleId in moreModules) {\n \t\t\tif(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {\n \t\t\t\tmodules[moduleId] = moreModules[moduleId];\n \t\t\t}\n \t\t}\n \t\tif(parentJsonpFunction) parentJsonpFunction(data);\n\n \t\twhile(resolves.length) {\n \t\t\tresolves.shift()();\n \t\t}\n\n \t\t// add entry modules from loaded chunk to deferred list\n \t\tdeferredModules.push.apply(deferredModules, executeModules || []);\n\n \t\t// run deferred modules when all chunks ready\n \t\treturn checkDeferredModules();\n \t};\n \tfunction checkDeferredModules() {\n \t\tvar result;\n \t\tfor(var i = 0; i < deferredModules.length; i++) {\n \t\t\tvar deferredModule = deferredModules[i];\n \t\t\tvar fulfilled = true;\n \t\t\tfor(var j = 1; j < deferredModule.length; j++) {\n \t\t\t\tvar depId = deferredModule[j];\n \t\t\t\tif(installedChunks[depId] !== 0) fulfilled = false;\n \t\t\t}\n \t\t\tif(fulfilled) {\n \t\t\t\tdeferredModules.splice(i--, 1);\n \t\t\t\tresult = __webpack_require__(__webpack_require__.s = deferredModule[0]);\n \t\t\t}\n \t\t}\n\n \t\treturn result;\n \t}\n\n \t// The module cache\n \tvar installedModules = {};\n\n \t// object to store loaded and loading chunks\n \t// undefined = chunk not loaded, null = chunk preloaded/prefetched\n \t// Promise = chunk loading, 0 = chunk loaded\n \tvar installedChunks = {\n \t\t\"app\": 0\n \t};\n\n \tvar deferredModules = [];\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"/\";\n\n \tvar jsonpArray = window[\"webpackJsonp\"] = window[\"webpackJsonp\"] || [];\n \tvar oldJsonpFunction = jsonpArray.push.bind(jsonpArray);\n \tjsonpArray.push = webpackJsonpCallback;\n \tjsonpArray = jsonpArray.slice();\n \tfor(var i = 0; i < jsonpArray.length; i++) webpackJsonpCallback(jsonpArray[i]);\n \tvar parentJsonpFunction = oldJsonpFunction;\n\n\n \t// add entry module to deferred list\n \tdeferredModules.push([0,\"chunk-vendors\"]);\n \t// run deferred modules when ready\n \treturn checkDeferredModules();\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.node.render)?_c('v-col',{class:_vm.classes,attrs:{\"cols\":_vm.cols}},[(_vm.node.children && 'object' === typeof _vm.node.children)?_c('v-row',_vm._l((_vm.node.children),function(value,key,index){return _c('node',{key:key,attrs:{\"index\":index,\"type\":key,\"node\":value}})}),1):_c('div',[(_vm.node.render)?_c(_vm.node.formComponent,{tag:\"component\",attrs:{\"name\":_vm.type,\"updateKey\":_vm.type,\"vuetifyProps\":_vm.getCustomProps(_vm.node),\"componentProps\":_vm.node}}):_vm._e()],1)],1):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.componentProps.render)?_c('v-text-field',_vm._b({attrs:{\"label\":_vm.componentProps.placeholder,\"counter\":_vm.counter,\"counter-value\":_vm.printCounterValue,\"error-messages\":_vm.displayErrors(_vm.componentProps.validation, _vm.$v.getCurrentValue)},on:{\"blur\":function($event){return _vm.validateInput(_vm.$v)},\"input\":function($event){return _vm.updateField(_vm.updateKey, $event)}},model:{value:(_vm.getCurrentValue),callback:function ($$v) {_vm.getCurrentValue=$$v},expression:\"getCurrentValue\"}},'v-text-field',_vm.vuetifyProps,false)):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import Vue from 'vue'\nimport Vuelidate from \"vuelidate\";\n\nimport {required, maxLength, url, numeric, minValue, maxValue} from 'vuelidate/lib/validators'\n\nconst isJson = (string) => {\n try {\n JSON.parse(string)\n return true\n } catch (e) {\n return false\n }\n}\n\nVue.use(Vuelidate)\n\nexport default {\n data() {\n return {\n messages: {\n required: 'This field is required',\n maxLength: 'Too long field',\n url: 'Invalid URL',\n minValue: '',\n maxValue: '',\n numeric: 'Number is required',\n isJson: 'The input value not in json format'\n },\n counter: '',\n }\n },\n methods: {\n printCounterValue() {\n if (this.counter !== '') {\n return this.currentValue.length\n }\n },\n displayErrors(validation, field, rating = false) {\n let errorMessages = []\n if (validation !== undefined) {\n for (const [key, value] of Object.entries(validation)) {\n if (field.$dirty && field.$invalid && !field[key]) {\n errorMessages.push(this.messages[key])\n }\n }\n }\n return errorMessages\n },\n validateInput($v) {\n $v.$touch()\n return\n },\n createValidatorsObject(items) {\n let Validators = {}\n\n if (items === undefined || Object.keys(items).length === 0) {\n return Validators\n }\n\n if (items.required) {\n Validators['required'] = required\n }\n\n if (items.maxLength > 0) {\n Validators['maxLength'] = maxLength(items['maxLength'])\n }\n\n if (items.url) {\n Validators['url'] = url\n }\n\n if (items.minValue > 0) {\n Validators['minValue'] = minValue(items['minValue'])\n }\n\n if (items.maxValue > 0) {\n Validators['maxValue'] = maxValue(items['maxValue'])\n }\n\n if (items.numeric) {\n Validators['numeric'] = numeric\n }\n\n if (items.isJson) {\n Validators['isJson'] = isJsone\n }\n\n return Validators\n }\n },\n mounted() {\n if (this.validation !== undefined && this.validation.maxLength !== undefined) {\n this.counter = this.validation.maxLength\n }\n }\n}\n","export default {\n props: {\n componentProps: {\n type: Object,\n default() {\n return {\n placeholder: '',\n validation: {},\n value: ''\n }\n }\n },\n name: {\n type: [String, Number],\n required: false\n },\n vuetifyProps: {\n type: Object,\n default() {\n return {}\n }\n }\n }\n}\n","import functions from \"@/mixins/functions\";\nimport {mapActions, mapGetters} from \"vuex\";\n\nexport default {\n mixins: [functions],\n data() {\n return {\n rating: {\n type: Object,\n default() {\n return {\n ratingValue: null,\n ratingCount: null,\n reviewCount: null,\n worstResult: null,\n bestResult: null,\n }\n }\n }\n }\n },\n methods: {\n ...mapActions(['setRatingResult', 'setWorstResult', 'setBestResult']),\n ...mapGetters(['getRating']),\n calculateRating(field, value) {\n if ('' !== value) {\n value = parseInt(value)\n }\n switch (field) {\n case 'aggregateRating.ratingValue':\n this.setRating(value)\n break;\n case 'aggregateRating.worstRating':\n this.setWorst(value)\n break;\n case 'aggregateRating.bestRating':\n this.setBest(value)\n break;\n default:\n break;\n\n }\n },\n setRating(value) {\n this.setRatingResult(value)\n },\n setWorst(value) {\n this.setWorstResult(value)\n },\n setBest(value) {\n this.setBestResult(value)\n }\n },\n mounted() {\n this.rating = this.getRating()\n }\n}\n","<template>\n <div>\n <v-text-field\n v-model=\"getCurrentValue\"\n v-if=\"componentProps.render\"\n :label=\"componentProps.placeholder\"\n @blur=\"validateInput($v)\"\n @input=\"updateField(updateKey, $event)\"\n :counter=\"counter\"\n :counter-value=\"printCounterValue\"\n :error-messages=\"displayErrors(componentProps.validation, $v.getCurrentValue)\"\n v-bind=\"vuetifyProps\"\n ></v-text-field>\n </div>\n</template>\n\n<script>\n\nimport validation from \"@/mixins/validation\";\nimport formProps from \"@/mixins/form-props\";\nimport rating from \"@/mixins/rating\";\nimport {mapGetters} from 'vuex'\nimport {schemaEmitter} from \"@/main\";\n\nexport default {\n mixins: [validation, formProps, rating],\n props: {\n updateKey: {\n type: [String, Array, Number],\n required: true\n }\n },\n data() {\n return {\n currentValue: '',\n }\n },\n methods: {\n ...mapGetters(['getSchemaType', 'getReviews']),\n updateField(field, value) {\n this.validateInput(this.$v)\n this.calculateRating(field, value)\n schemaEmitter.$emit('input', field, value)\n this.setRatingValues(field, value)\n this.calculateValue()\n this.duplicateValues(value)\n },\n setRatingValues(field, value) {\n let reviewsKeys = Object.keys(this.getReviews())\n reviewsKeys.forEach((key) => {\n if ('aggregateRating.bestRating' === field) {\n schemaEmitter.$emit('input', `review.${key}.reviewRating.bestRating`, value)\n schemaEmitter.$emit('input', `review.${key}.reviewRating.ratingValue`, {\n validation: {\n maxValue: value\n }\n })\n }\n if ('aggregateRating.worstRating' === field) {\n schemaEmitter.$emit('input', `review.${key}.reviewRating.worstRating`, value)\n schemaEmitter.$emit('input', `review.${key}.reviewRating.ratingValue`, {\n validation: {\n minValue: value\n }\n })\n }\n })\n },\n calculateValue() {\n if (this.componentProps.hasOwnProperty('calculateValue')) {\n let total = 0;\n let source = this.getSchemaType()\n let objectList = this.componentProps.calculateValue\n for (let item in objectList.from) {\n if (objectList.from.hasOwnProperty(item)) {\n let object = this.findVal(source, objectList.from[item])\n if ('' !== object.value) {\n total += parseInt(object.value)\n }\n }\n for (let item in objectList.to) {\n if (objectList.to.hasOwnProperty(item)) {\n let r = total > 0 ? total : ''\n schemaEmitter.$emit('input', objectList.to[item], r)\n }\n }\n }\n }\n }\n },\n mounted() {\n this.calculateRating(this.updateKey, this.getCurrentValue)\n },\n validations() {\n return {\n getCurrentValue: this.validators\n }\n },\n computed: {\n validators: {\n get() {\n return this.createValidatorsObject(this.componentProps.validation)\n },\n set(value) {\n return value\n }\n },\n getCurrentValue: {\n get() {\n return this.componentProps.value ?? 'adasdasd'\n },\n set(value) {\n return value\n }\n }\n }\n}\n</script>\n\n<style scoped>\n\n</style>\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Input.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Input.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Input.vue?vue&type=template&id=53a66dd1&scoped=true&\"\nimport script from \"./Input.vue?vue&type=script&lang=js&\"\nexport * from \"./Input.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"53a66dd1\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VTextField } from 'vuetify/lib/components/VTextField';\ninstallComponents(component, {VTextField})\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',_vm._l((_vm.getCurrentValue),function(item,key){return _c('div',{key:key,staticClass:\"repeater-items row\"},[_vm._l((item),function(el,k){return (!_vm.componentProps.hide)?_c('form-tree',{key:k,attrs:{\"index\":key,\"type\":k,\"node\":el}}):_vm._e()}),_c('v-row',[_c('v-col',{attrs:{\"cols\":\"6\"}},[_c('v-btn',{attrs:{\"small\":\"\",\"color\":\"primary\"},on:{\"click\":function($event){return _vm.addItem(key, _vm.componentProps.name)}}},[_c('v-icon',{attrs:{\"small\":\"\"}},[_vm._v(\" mdi-plus \")]),_vm._v(\" \"+_vm._s(_vm.componentProps.buttonTitle)+\" \")],1)],1),_c('v-col',{attrs:{\"cols\":\"6\"}},[_c('v-btn',{attrs:{\"small\":\"\",\"color\":\"error\",\"disabled\":_vm.disableButton},on:{\"click\":function($event){return _vm.deleteItem(key)}}},[_vm._v(\"Delete\")])],1)],1)],2)}),0)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <div>\n <div class=\"repeater-items row\" v-for=\"(item, key) in getCurrentValue\" :key=\"key\">\n <form-tree v-if=\"!componentProps.hide\" v-for=\"(el, k) in item\" :index=\"key\" :key=\"k\" :type=\"k\"\n :node=\"el\"></form-tree>\n <v-row>\n <v-col cols=\"6\">\n <v-btn small color=\"primary\" @click=\"addItem(key, componentProps.name)\">\n <v-icon small>\n mdi-plus\n </v-icon>\n {{ componentProps.buttonTitle }}\n </v-btn>\n </v-col>\n <v-col cols=\"6\">\n <v-btn small color=\"error\" @click=\"deleteItem(key)\" :disabled=\"disableButton\">Delete</v-btn>\n </v-col>\n </v-row>\n </div>\n </div>\n</template>\n\n<script>\nimport {schemaEmitter} from '@/main'\nimport {mapActions, mapGetters} from 'vuex'\nimport formProps from \"@/mixins/form-props\";\nimport functions from \"@/mixins/functions\";\nimport validation from \"@/mixins/validation\";\n\nexport default {\n mixins: [validation, formProps, functions],\n data() {\n return {\n currentValue: String,\n }\n },\n components: {\n FormTree: () => import(\"@/FormElements/FormTree\")\n },\n methods: {\n ...mapActions(['setReviewRating', 'updateReviewRating']),\n ...mapGetters(['getReviews', 'getRating', 'getDefaultData']),\n addItem(key, name) {\n let properties = {}\n if (this.componentProps.value.length === 1 && this.componentProps.hide) {\n properties['hide'] = false\n if ('review' === this.name || 'recipeInstructions' === this.name) {\n properties['renderJson'] = true\n }\n schemaEmitter.$emit('input', this.name, properties)\n } else {\n let itemObject = JSON.parse(JSON.stringify(this.findVal(this.getDefaultData(), this.componentProps.name)))\n let item = itemObject.value.shift()\n let newItem = this.changeItemKey(item, key, name)\n this.componentProps.value.push(newItem)\n schemaEmitter.$emit('input', this.name, {\n value: this.componentProps.value\n })\n }\n this.updateReviews()\n this.updateBreadcrumbs(this.componentProps.value)\n this.duplicateValues(this.componentProps.value)\n },\n deleteItem(id) {\n let properties = {}\n if (this.componentProps.value.length === 1 && this.componentProps.hide === false) {\n properties['hide'] = true\n if ('review' === this.name || 'recipeInstructions' === this.name) {\n properties['renderJson'] = false\n }\n schemaEmitter.$emit('input', this.name, properties)\n schemaEmitter.$emit('input', 'review.0.reviewRating.ratingValue', '')\n this.setReviewRating({\n 0: \"\"\n })\n this.updateRatingValues('')\n }\n if (this.componentProps.value.length > 1) {\n this.componentProps.value.splice(id, 1)\n schemaEmitter.$emit('input', this.name, {\n value: this.componentProps.value\n })\n }\n this.updateReviews()\n this.updateBreadcrumbs(this.componentProps.value)\n this.duplicateValues(this.componentProps.value)\n\n },\n changeItemKey(item, key, name) {\n let arrayKey = Object.keys(item).shift().split('.')\n arrayKey.splice(-1, 1)\n let id = arrayKey.join('.')\n let uuid = Math.random().toString(16).slice(2)\n let newKey = `${name}.${uuid}`\n let objectString = JSON.stringify(item)\n let exp = new RegExp(`\"${id}`, 'g')\n let newObject = objectString.replace(exp, `\"${newKey}`)\n newObject = newObject.replace(/\"uuid\":\"(.+?)\",/gm, `\"uuid\":\"${uuid}\",`)\n\n return JSON.parse(newObject)\n },\n updateReviews() {\n if ('review' === this.name && undefined !== this.getCurrentValue) {\n let reviewObject = {}\n this.getCurrentValue.forEach((item, index) => {\n let exp = new RegExp('.reviewRating.ratingValue$', 'g')\n let resultItem = this.findVal(item, exp, true)\n reviewObject[resultItem.uuid] = resultItem.value\n })\n this.setReviewRating(reviewObject)\n let rating = this.getRating()\n schemaEmitter.$emit('input', 'aggregateRating.ratingValue', rating.ratingValue)\n schemaEmitter.$emit('input', 'aggregateRating.ratingCount', rating.ratingCount)\n schemaEmitter.$emit('input', 'aggregateRating.reviewCount', rating.reviewCount)\n }\n },\n updateBreadcrumbs(items) {\n if ('itemListElement' === this.name) {\n items.forEach(function (item, i) {\n let keys = Object.keys(item)\n let positionKey = keys.filter(el => el.endsWith('.position')).shift()\n let index = i + 1\n schemaEmitter.$emit('input', positionKey, index)\n })\n }\n },\n },\n validations() {\n return {\n getCurrentValue: this.validators\n }\n },\n mounted() {\n this.updateReviews()\n },\n computed: {\n validators: {\n get() {\n return this.createValidatorsObject(this.componentProps.validation)\n },\n set(value) {\n return value\n }\n },\n getCurrentValue: {\n get() {\n this.validateInput(this.$v)\n this.duplicateValues(this.componentProps.value)\n return this.componentProps.value\n },\n set(value) {\n return value\n }\n },\n disableButton: function () {\n if (this.componentProps.hasOwnProperty('hide')) {\n return !!(this.componentProps.value.length === 1 && this.componentProps.hide);\n } else {\n return this.componentProps.value.length <= 1;\n }\n }\n }\n}\n</script>\n\n<style scoped>\n\n</style>\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Repeater.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Repeater.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Repeater.vue?vue&type=template&id=f1bcc2e0&scoped=true&\"\nimport script from \"./Repeater.vue?vue&type=script&lang=js&\"\nexport * from \"./Repeater.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"f1bcc2e0\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VRow } from 'vuetify/lib/components/VGrid';\ninstallComponents(component, {VBtn,VCol,VIcon,VRow})\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('v-select',_vm._b({attrs:{\"items\":_vm.componentProps.value,\"item-text\":\"value\",\"item-value\":\"value\",\"attach\":\"\",\"label\":_vm.componentProps.placeholder},on:{\"change\":function($event){_vm.updateField(_vm.updateKey, _vm.getSelectedObject($event, _vm.componentProps.value))}},model:{value:(_vm.selected),callback:function ($$v) {_vm.selected=$$v},expression:\"selected\"}},'v-select',_vm.vuetifyProps,false))],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <div>\n <v-select\n v-model=\"selected\"\n :items=\"componentProps.value\"\n item-text=\"value\"\n item-value=\"value\"\n attach=\"\"\n :label=\"componentProps.placeholder\"\n @change=\"updateField(updateKey, getSelectedObject($event, componentProps.value))\"\n v-bind=\"vuetifyProps\"\n ></v-select>\n </div>\n</template>\n\n<script>\n\nimport {mapGetters, mapActions, mapMutations} from 'vuex'\nimport {schemaEmitter} from \"@/main\";\nimport Schema from \"@//components/Schema\"\nimport formProps from '@/mixins/form-props'\nimport functions from \"@/mixins/functions\";\n\nexport default {\n mixins: [formProps, functions],\n props: ['name', 'placeholder', 'fieldValues', 'validation', 'updateKey', 'schemas_type'],\n components: {\n Schema\n },\n data() {\n return {\n selected: '',\n dropdown_texts: [],\n dropdown_values: [],\n schemas: this.schemas_type,\n result: '',\n }\n },\n methods: {\n ...mapActions(['run']),\n ...mapMutations(['updateProperty']),\n updateField(field, value) {\n schemaEmitter.$emit('input', field, {\n value: value\n })\n this.changeView()\n },\n changeView() {\n if (!this.getSchemaType.hasOwnProperty('offers')) {\n return\n }\n if ('undefined' === typeof this.componentProps.changeView || false === this.componentProps.changeView) {\n return\n }\n let offer = this.getSchemaType.offers.children\n for (const property in this.getSchemaType.offers.children) {\n for (const i in offer[property]) {\n if (i === \"showOnSelect\") {\n if (this.selected === offer[property][i]['value']) {\n schemaEmitter.$emit('input', property, {\n render: true,\n renderJson: offer[property][i]['show']['renderJson']\n })\n } else {\n schemaEmitter.$emit('input', property, {\n render: false,\n renderJson: offer[property][i]['hide']['renderJson'],\n value: this.setEmptyValue(offer[property]['value'])\n })\n }\n }\n }\n }\n this.updateProperty(['schemaType', this.getSchemaType])\n },\n getSelectedObject(value, fields) {\n let index = fields.findIndex((i) => {\n return value === i.value\n })\n for (let key in fields) {\n if (parseInt(key) === index) {\n fields[key].selected = true\n } else {\n fields[key].selected = false\n }\n }\n\n return fields\n },\n getSelectedValue() {\n let selected_index = this.componentProps.value.findIndex(function (i) {\n return i.selected\n })\n return this.componentProps.value[selected_index]\n },\n getDropDownText() {\n return this.componentProps.value.map(function (item) {\n return item.value\n })\n },\n getDropDownValues() {\n let result = []\n let keys = this.componentProps.value.keys()\n for (let key of keys) {\n result.push(key)\n }\n\n return result\n }\n },\n validations() {\n return {\n selected: this.validators\n }\n },\n mounted() {\n this.selected = this.getSelectedValue()\n // this.dropdown_texts = this.getDropDownText()\n // this.dropdown_values = this.getDropDownValues()\n },\n computed: {\n ...mapGetters([\"getJsonType\", \"getSchemaType\", \"getSourceType\"]),\n getSelectedItem: function () {\n return this.componentProps.value.findIndex(function (i) {\n return i.selected\n })\n }\n },\n // watch: {\n // selected: {\n // handler: 'changeView'\n // },\n // },\n\n}\n</script>\n\n<style scoped>\n\n</style>\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Selector.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Selector.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Selector.vue?vue&type=template&id=567bb4d8&scoped=true&\"\nimport script from \"./Selector.vue?vue&type=script&lang=js&\"\nexport * from \"./Selector.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"567bb4d8\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VSelect } from 'vuetify/lib/components/VSelect';\ninstallComponents(component, {VSelect})\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('v-menu',{attrs:{\"close-on-content-click\":false,\"nudge-right\":40,\"transition\":\"scale-transition\",\"offset-y\":\"\",\"attach\":\"\",\"min-width\":\"290px\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nvar attrs = ref.attrs;\nreturn [_c('v-text-field',_vm._g(_vm._b({attrs:{\"label\":_vm.componentProps.placeholder,\"prepend-icon\":\"event\",\"vuetifyProps\":_vm.vuetifyProps},model:{value:(_vm.getCurrentValue),callback:function ($$v) {_vm.getCurrentValue=$$v},expression:\"getCurrentValue\"}},'v-text-field',attrs,false),on))]}}]),model:{value:(_vm.menu2),callback:function ($$v) {_vm.menu2=$$v},expression:\"menu2\"}},[_c('v-date-picker',{on:{\"change\":function($event){_vm.menu2 = false},\"input\":function($event){return _vm.updateField(_vm.updateKey, $event)}},model:{value:(_vm.getCurrentValue),callback:function ($$v) {_vm.getCurrentValue=$$v},expression:\"getCurrentValue\"}})],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <div>\n <v-menu\n v-model=\"menu2\"\n :close-on-content-click=\"false\"\n :nudge-right=\"40\"\n transition=\"scale-transition\"\n offset-y\n attach=\"\"\n min-width=\"290px\"\n >\n <template v-slot:activator=\"{ on, attrs }\">\n <v-text-field\n v-model=\"getCurrentValue\"\n :label=\"componentProps.placeholder\"\n prepend-icon=\"event\"\n v-bind=\"attrs\"\n v-on=\"on\"\n :vuetifyProps=\"vuetifyProps\"\n ></v-text-field>\n </template>\n <v-date-picker v-model=\"getCurrentValue\" @change=\"menu2 = false\"\n @input=\"updateField(updateKey, $event)\"></v-date-picker>\n </v-menu>\n </div>\n</template>\n\n<script>\nimport {schemaEmitter} from \"@/main\";\nimport formProps from \"@/mixins/form-props\";\nimport functions from \"@/mixins/functions\";\n\nexport default {\n mixins: [formProps, functions],\n props: {\n updateKey: {\n type: [String, Array],\n required: true\n }\n },\n data: () => ({\n currentValue: new Date().toISOString().substr(0, 10),\n menu: false,\n modal: false,\n menu2: false,\n validators: {}\n }),\n methods: {\n updateField(field, value) {\n schemaEmitter.$emit('input', field, value)\n this.duplicateValues(value)\n }\n },\n mounted() {\n this.updateField(this.updateKey, this.getCurrentValue)\n },\n computed: {\n getCurrentValue: {\n get() {\n return this.componentProps.value ?? new Date().toISOString().substr(0, 10)\n },\n set(value) {\n return value\n }\n }\n }\n}\n</script>\n\n<style scoped>\n\n</style>\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DatePicker.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DatePicker.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./DatePicker.vue?vue&type=template&id=f3321252&scoped=true&\"\nimport script from \"./DatePicker.vue?vue&type=script&lang=js&\"\nexport * from \"./DatePicker.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"f3321252\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VDatePicker } from 'vuetify/lib/components/VDatePicker';\nimport { VMenu } from 'vuetify/lib/components/VMenu';\nimport { VTextField } from 'vuetify/lib/components/VTextField';\ninstallComponents(component, {VDatePicker,VMenu,VTextField})\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('v-textarea',{attrs:{\"label\":_vm.componentProps.placeholder,\"full-width\":_vm.fullWidth,\"counter\":_vm.counter,\"counter-value\":_vm.printCounterValue,\"error-messages\":_vm.displayErrors(_vm.componentProps.validation, _vm.$v.currentValue)},on:{\"input\":function($event){return _vm.updateField(_vm.updateKey, $event)},\"change\":function($event){return _vm.validateInput(_vm.$v)}},model:{value:(_vm.currentValue),callback:function ($$v) {_vm.currentValue=$$v},expression:\"currentValue\"}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <div>\n <v-textarea\n v-model=\"currentValue\"\n :label=\"componentProps.placeholder\"\n @input=\"updateField(updateKey, $event)\"\n @change=\"validateInput($v)\"\n :full-width=\"fullWidth\"\n :counter=\"counter\"\n :counter-value=\"printCounterValue\"\n :error-messages=\"displayErrors(componentProps.validation, $v.currentValue)\"\n ></v-textarea>\n </div>\n</template>\n\n<script>\n\nimport validation from \"@/mixins/validation\";\nimport formProps from \"@/mixins/form-props\";\nimport {schemaEmitter} from \"@/main\";\nimport functions from \"@/mixins/functions\";\n\nexport default {\n mixins: [validation, formProps, functions],\n props: {\n updateKey: {\n type: [String, Array],\n required: true\n },\n },\n data() {\n return {\n currentValue: '',\n validators: {},\n fullWidth: true\n }\n },\n methods: {\n updateField(field, value) {\n schemaEmitter.$emit('input', field, value)\n this.duplicateValues(value)\n }\n },\n validations() {\n return {\n currentValue: this.validators\n }\n },\n mounted() {\n this.validators = this.createValidatorsObject(this.componentProps.validation)\n this.currentValue = this.componentProps.value\n }\n}\n</script>\n\n<style scoped>\n\n</style>\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TextArea.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TextArea.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TextArea.vue?vue&type=template&id=2841bf26&scoped=true&\"\nimport script from \"./TextArea.vue?vue&type=script&lang=js&\"\nexport * from \"./TextArea.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"2841bf26\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VTextarea } from 'vuetify/lib/components/VTextarea';\ninstallComponents(component, {VTextarea})\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('v-text-field',_vm._b({attrs:{\"label\":_vm.componentProps.placeholder,\"counter\":_vm.counter,\"counter-value\":_vm.printCounterValue,\"error-messages\":_vm.displayErrors(_vm.componentProps.validation, _vm.$v.getCurrentValue)},on:{\"input\":function($event){return _vm.updateField(_vm.updateKey, $event)}},model:{value:(_vm.getCurrentValue),callback:function ($$v) {_vm.getCurrentValue=$$v},expression:\"getCurrentValue\"}},'v-text-field',_vm.vuetifyProps,false))],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <div>\n <v-text-field\n v-model=\"getCurrentValue\"\n :label=\"componentProps.placeholder\"\n @input=\"updateField(updateKey, $event)\"\n :counter=\"counter\"\n :counter-value=\"printCounterValue\"\n :error-messages=\"displayErrors(componentProps.validation, $v.getCurrentValue)\"\n v-bind=\"vuetifyProps\"\n ></v-text-field>\n </div>\n</template>\n\n<script>\n\nimport validation from \"@/mixins/validation\";\nimport formProps from \"@/mixins/form-props\";\nimport rating from \"@/mixins/rating\";\nimport {mapActions, mapGetters} from 'vuex'\nimport {schemaEmitter} from \"@/main\";\n\nexport default {\n mixins: [validation, formProps, rating],\n props: {\n updateKey: {\n type: [String, Array],\n required: true\n }\n },\n methods: {\n ...mapGetters(['getRating', 'getReviews']),\n ...mapActions(['updateReviewRating']),\n updateField(field, value) {\n let index = field.split('.')[1]\n if (undefined !== index) {\n this.updateReviewRating({\n number: index,\n value: value\n })\n }\n schemaEmitter.$emit('input', field, value)\n this.updateRatingValues(value)\n }\n },\n validations() {\n return {\n getCurrentValue: this.validators\n }\n },\n computed: {\n validators: {\n get() {\n return this.createValidatorsObject(this.componentProps.validation)\n },\n set(value) {\n return value\n }\n },\n getCurrentValue: {\n get() {\n this.validateInput(this.$v)\n return this.componentProps.value ?? parseInt(this.componentProps.value)\n },\n set(value) {\n return value\n }\n }\n }\n}\n</script>\n\n<style scoped>\n\n</style>\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ReviewRating.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ReviewRating.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./ReviewRating.vue?vue&type=template&id=36e7678f&scoped=true&\"\nimport script from \"./ReviewRating.vue?vue&type=script&lang=js&\"\nexport * from \"./ReviewRating.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"36e7678f\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VTextField } from 'vuetify/lib/components/VTextField';\ninstallComponents(component, {VTextField})\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('v-textarea',{attrs:{\"label\":_vm.componentProps.placeholder,\"full-width\":_vm.fullWidth,\"counter\":_vm.counter,\"counter-value\":_vm.printCounterValue,\"error-messages\":_vm.displayErrors(_vm.componentProps.validation, _vm.$v.currentValue)},on:{\"input\":function($event){return _vm.updateField(_vm.updateKey, $event)},\"change\":function($event){return _vm.validateInput(_vm.$v)}},model:{value:(_vm.currentValue),callback:function ($$v) {_vm.currentValue=$$v},expression:\"currentValue\"}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <div>\n <v-textarea\n v-model=\"currentValue\"\n :label=\"componentProps.placeholder\"\n @input=\"updateField(updateKey, $event)\"\n @change=\"validateInput($v)\"\n :full-width=\"fullWidth\"\n :counter=\"counter\"\n :counter-value=\"printCounterValue\"\n :error-messages=\"displayErrors(componentProps.validation, $v.currentValue)\"\n ></v-textarea>\n </div>\n</template>\n\n<script>\n\nimport validation from \"@/mixins/validation\";\nimport formProps from \"@/mixins/form-props\";\nimport {schemaEmitter} from \"@/main\";\nimport functions from \"@/mixins/functions\";\n\nexport default {\n mixins: [validation, formProps, functions],\n props: {\n updateKey: {\n type: [String, Array],\n required: true\n },\n },\n data() {\n return {\n currentValue: '',\n validators: {},\n fullWidth: true\n }\n },\n methods: {\n updateField(field, value) {\n schemaEmitter.$emit('input', field, value)\n }\n },\n validations() {\n return {\n currentValue: this.validators\n }\n },\n mounted() {\n this.validators = this.createValidatorsObject(this.componentProps.validation)\n if( this.componentProps.value ) {\n this.currentValue = JSON.stringify(this.componentProps.value)\n }\n }\n}\n</script>\n\n<style scoped>\n\n</style>\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Custom.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Custom.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Custom.vue?vue&type=template&id=530dda9f&scoped=true&\"\nimport script from \"./Custom.vue?vue&type=script&lang=js&\"\nexport * from \"./Custom.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"530dda9f\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VTextarea } from 'vuetify/lib/components/VTextarea';\ninstallComponents(component, {VTextarea})\n","import {schemaEmitter} from \"@/main\";\n\nexport default {\n data() {\n return {\n cols: 12,\n classes: ''\n }\n },\n mounted() {\n if (this.node.styles.cols !== undefined) {\n this.cols = this.node.styles.cols\n }\n if( this.node.styles.classes !== undefined ) {\n this.classes = this.node.styles.classes\n }\n }\n}\n","<template>\n <v-col :class=\"classes\" :cols=\"cols\" v-if=\"node.render\">\n <v-row v-if=\"node.children && 'object' === typeof node.children\">\n <node v-for=\"(value, key, index) in node.children\" :index=\"index\" :key=\"key\" :type=\"key\" :node=\"value\"></node>\n </v-row>\n <div v-else>\n <component\n v-if=\"node.render\"\n :is=\"node.formComponent\"\n :name=\"type\"\n :updateKey=\"type\"\n :vuetifyProps=\"getCustomProps(node)\"\n :componentProps=\"node\"\n ></component>\n </div>\n </v-col>\n</template>\n\n<script>\nimport Input from \"@/FormElements/Input\";\nimport Repeater from \"@/FormElements/Repeater\";\nimport Selector from \"@/FormElements/Selector\";\nimport DatePicker from \"@/FormElements/DatePicker\";\nimport TextArea from \"@/FormElements/TextArea\";\nimport ReviewRating from \"@/FormElements/ReviewRating\";\nimport Custom from \"@/FormElements/Custom\";\nimport styles from \"@/mixins/styles\";\n\nexport default {\n mixins: [styles],\n name: \"node\",\n props: {\n node: Object,\n type: [String, Number],\n index: Number\n },\n components: {\n Input,\n Selector,\n Repeater,\n DatePicker,\n TextArea,\n ReviewRating,\n Custom\n },\n methods: {\n getCustomProps(node) {\n return node.vuetifyProps !== undefined ? node.vuetifyProps : {}\n }\n },\n computed: {\n changeChildType() {\n return this.type.split('.').pop()\n }\n },\n mounted() {\n }\n}\n</script>\n\n<style scoped>\n.ptb-0 {\n padding-top: 0;\n padding-bottom: 0;\n}\n</style>\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FormTree.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FormTree.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./FormTree.vue?vue&type=template&id=a9df98ac&scoped=true&\"\nimport script from \"./FormTree.vue?vue&type=script&lang=js&\"\nexport * from \"./FormTree.vue?vue&type=script&lang=js&\"\nimport style0 from \"./FormTree.vue?vue&type=style&index=0&id=a9df98ac&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"a9df98ac\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VRow } from 'vuetify/lib/components/VGrid';\ninstallComponents(component, {VCol,VRow})\n","export default {\n filters: {\n beforeText: function (string, textBefore = '') {\n return `${textBefore}${string}`\n },\n afterText: function (string, textAfter = '') {\n return `${string}${textAfter}`\n },\n toMinutes: function (string) {\n return `PT${string}M`\n },\n clearSymbols: function (string, symbols) {\n symbols.forEach(symbol => {\n string = string.replaceAll(symbol, '')\n })\n return string\n },\n prettyJSON: function (string) {\n if (!string) {\n return ''\n }\n try {\n return JSON.stringify(string, null, 4)\n } catch (e) {\n return ''\n }\n }\n }\n}\n","export * from \"-!../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=style&index=0&lang=css&\"","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./JsonTree.vue?vue&type=style&index=0&id=516b3065&scoped=true&lang=css&\"","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Schema.vue?vue&type=style&index=0&lang=css&\"","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FormTree.vue?vue&type=style&index=0&id=a9df98ac&scoped=true&lang=css&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-app',{attrs:{\"id\":\"schema\"}},[_c('div',{attrs:{\"id\":\"app\"}},[_c('Schema',{attrs:{\"schemas_type\":_vm.schemasType}})],1)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <v-app id=\"schema\">\n <div id=\"app\">\n <Schema :schemas_type=\"schemasType\"/>\n </div>\n </v-app>\n</template>\n\n<script>\nimport Schema from \"./components/Schema\"\n\nexport default {\n name: 'App',\n data() {\n return {\n schemasType: [\n {\n title: \"Article\",\n description: '- NewsArticle, BlogPosting',\n icon: 'mdi-newspaper',\n },\n {\n title: \"Breadcrumbs\",\n description: '',\n icon: \"mdi-chevron-double-right\"\n },\n {\n title: \"FAQPage\",\n description: '',\n icon: \"mdi-help-circle-outline\"\n },\n {\n title: \"Product\",\n description: '- Offer, AggregateRating, Reviews',\n icon: \"mdi-tag-outline\"\n },\n {\n title: \"Recipe\",\n description: '',\n icon: \"mdi-chef-hat\"\n },\n {\n title: \"Custom\",\n description: '- Insert your own schema',\n icon: 'mdi-border-color'\n }\n ],\n }\n },\n components: {\n Schema\n }\n}\n</script>\n\n<style>\n\n#app {\n font-family: 'Avenir', Helvetica, Arial, sans-serif;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n text-align: center;\n color: #2c3e50;\n}\n\npre {\n text-align: left;\n}\n\n.test {\n margin-top: 50px;\n}\n\n.json-row {\n height: 15px;\n}\n\n.inner {\n margin-left: 5px;\n}\n\n.tag {\n color: #881280;\n}\n\n.attr {\n color: #994500;\n}\n\n.val {\n color: #1a1aa6;\n}\n\n#app input[type=checkbox],\n#app input[type=color],\n#app input[type=date],\n#app input[type=datetime-local],\n#app input[type=datetime],\n#app input[type=email],\n#app input[type=month],\n#app input[type=number],\n#app input[type=password],\n#app input[type=radio],\n#app input[type=search],\n#app input[type=tel],\n#app input[type=text],\n#app input[type=time],\n#app input[type=url],\n#app input[type=week],\n#app select,\n#app textarea,\n#app input[type=checkbox]:focus,\n#app input[type=color]:focus,\n#app input[type=date]:focus,\n#app input[type=datetime-local]:focus,\n#app input[type=datetime]:focus,\n#app input[type=email]:focus,\n#app input[type=month]:focus,\n#app input[type=number]:focus,\n#app input[type=password]:focus,\n#app input[type=radio]:focus,\n#app input[type=search]:focus,\n#app input[type=tel]:focus,\n#app input[type=text]:focus,\n#app input[type=time]:focus,\n#app input[type=url]:focus,\n#app input[type=week]:focus,\n#app select:focus,\n#app textarea:focus,\n#app input[readonly],\n#app textarea.readonly,\n#app textarea[readonly] {\n border: none;\n box-shadow: none;\n outline: none;\n transition: inherit;\n background-color: transparent;\n}\n#app input[readonly] {\n display: none;\n}\n</style>\n","import mod from \"-!../node_modules/cache-loader/dist/cjs.js??ref--12-0!../node_modules/thread-loader/dist/cjs.js!../node_modules/babel-loader/lib/index.js!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../node_modules/cache-loader/dist/cjs.js??ref--12-0!../node_modules/thread-loader/dist/cjs.js!../node_modules/babel-loader/lib/index.js!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./App.vue?vue&type=template&id=3ab913ec&\"\nimport script from \"./App.vue?vue&type=script&lang=js&\"\nexport * from \"./App.vue?vue&type=script&lang=js&\"\nimport style0 from \"./App.vue?vue&type=style&index=0&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VApp } from 'vuetify/lib/components/VApp';\ninstallComponents(component, {VApp})\n","import Vue from 'vue';\nimport Vuetify from 'vuetify/lib';\n\nVue.use(Vuetify);\n\nexport default new Vuetify({\n});\n","export default {\n state: {\n default: {},\n schemaType: {},\n jsonType: {},\n sourceType: {}\n },\n mutations: {\n updateDefault(state, data) {\n state['default'] = data\n },\n updateProperty(state, data) {\n state[data[0]] = data[1]\n },\n },\n actions: {\n setDefaultData: function ({commit}, data) {\n let object = JSON.parse(data.jsonString)\n commit('updateDefault', object[data.key])\n },\n run: function ({commit}, data) {\n if (data) {\n commit('updateProperty', ['schemaType', data])\n commit('updateProperty', ['jsonType', JSON.parse(JSON.stringify(data))])\n commit('updateProperty', ['sourceType', JSON.parse(JSON.stringify(data))])\n }\n }\n },\n getters: {\n getJsonType(state) {\n return state.jsonType;\n },\n getSchemaType(state) {\n return state.schemaType\n },\n getSourceType(state) {\n return state.sourceType\n },\n getDefaultData(state) {\n return state.default\n }\n }\n}","export default {\n state: {\n rating: {\n ratingValue: null,\n ratingCount: null,\n reviewCount: null,\n worstResult: null,\n bestResult: null,\n },\n reviews: {}\n },\n mutations: {\n updateReview(state, data) {\n state['reviews'][data.number] = data.value\n },\n setReview(state, data) {\n state['reviews'] = data\n },\n updateRating(state, data) {\n state['rating'] = data\n },\n },\n actions: {\n updateReviewRating({commit, dispatch}, review) {\n commit('updateReview', review)\n dispatch('calculateRating')\n },\n setReviewRating({commit, dispatch}, review) {\n commit('setReview', review)\n dispatch('calculateRating')\n },\n calculateRating({commit, getters}) {\n let currentRating = getters.getRating\n let total = null;\n let result = {\n ratingValue: null,\n ratingCount: null,\n reviewCount: null,\n worstResult: currentRating.worstResult,\n bestResult: currentRating.bestResult,\n }\n let ratingCount = null;\n let reviewRating = getters.getReviews\n let reviewCount = Object.keys(reviewRating).length\n for (let rating in reviewRating) {\n if (reviewRating.hasOwnProperty(rating) && reviewRating[rating] !== \"\") {\n ratingCount += 1\n total += parseInt(reviewRating[rating])\n }\n }\n if (null !== ratingCount) {\n result.ratingCount = ratingCount\n }\n if (null !== total) {\n result.ratingValue = total / ratingCount\n }\n result.reviewCount = reviewCount\n commit('updateRating', result)\n },\n setRatingResult({commit}, value) {\n // commit('updateRating', {\n // ratingValue: value\n // })\n },\n setBestResult({commit, getters}, value) {\n let currentRating = getters.getRating\n commit('updateRating', {\n ratingValue: currentRating.ratingValue,\n ratingCount: currentRating.ratingCount,\n reviewCount: currentRating.reviewCount,\n bestResult: value,\n worstResult: currentRating.worstResult\n })\n },\n setWorstResult({commit, getters}, value) {\n let currentRating = getters.getRating\n let reviews = getters.getReviews\n commit('updateRating', {\n ratingValue: currentRating.ratingValue,\n ratingCount: currentRating.ratingCount,\n reviewCount: currentRating.reviewCount,\n bestResult: currentRating.bestResult,\n worstResult: value\n })\n },\n },\n getters: {\n getRating(state) {\n return state.rating\n },\n getReviews(state) {\n return state.reviews\n }\n }\n}","export default {\n state: {\n currentSchema: {},\n schemasList: {},\n },\n mutations: {\n updateCurrentSchema(state, value) {\n state.currentSchema = value\n },\n updateSchemasList(state, value) {\n state.schemasList = value\n }\n },\n actions: {\n setCurrentSchema: function ({commit}, data) {\n commit('updateCurrentSchema', data)\n },\n setSchemasList: function ({commit}, data) {\n commit('updateSchemasList', data)\n }\n },\n getters: {\n getCurrentSchema(state) {\n return state.currentSchema;\n },\n getSchemasList(state) {\n return state.schemasList\n }\n }\n\n}","import Vue from 'vue'\nimport Vuex from 'vuex'\nimport schema from './modules/schema'\nimport rating from './modules/rating'\nimport currentSchema from './modules/current-schema'\n\nVue.use(Vuex)\n\nexport default new Vuex.Store({\n modules: {\n schema,\n rating,\n currentSchema\n }\n})\n","import Vue from 'vue'\nimport App from './App.vue'\nimport vuetify from './plugins/vuetify';\nimport 'material-design-icons-iconfont/dist/material-design-icons.css'\nimport store from './store'\n\nVue.config.productionTip = false\n\nexport const schemaEmitter = new Vue()\n\nnew Vue({\n vuetify,\n store,\n render: h => h(App),\n created() {\n if ('undefined' !== typeof schema_integration && schema_integration.hasOwnProperty('i18n')) {\n this.setLocaleData(schema_integration.i18n['schema_integration'])\n }\n }\n}).$mount('#app')\n","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./jsonBuilder.vue?vue&type=style&index=0&id=1367810e&scoped=true&lang=css&\"","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ArrayItem.vue?vue&type=style&index=0&id=2226b39c&scoped=true&lang=css&\"","import {schemaEmitter} from \"@/main\";\nimport filters from \"@/mixins/filters\";\n\nexport default {\n mixins: [filters],\n methods: {\n findVal: function (object, key, regexp = false) {\n let value;\n Object.keys(object).some(k => {\n if (regexp && k.search(key) !== -1) {\n value = object[k];\n return true;\n } else if (k === key) {\n value = object[k];\n return true;\n }\n if (object[k] && typeof object[k] === 'object') {\n value = this.findVal(object[k], key, regexp);\n return value !== undefined;\n }\n })\n\n return value;\n },\n changeChildType: function (string) {\n return string.split('.').pop()\n },\n isLastItem: function (items, objects) {\n for (let item in items) {\n let renderJson = 'undefined' !== typeof objects[items[item]].renderJson ? objects[items[item]].renderJson : true\n if (!renderJson) {\n continue;\n } else {\n return false;\n }\n }\n\n return true\n },\n printComma: function (key, value) {\n let objects = Object.keys(value)\n let currentObjectKey = objects[key]\n\n let renderJson = 'undefined' !== typeof value[currentObjectKey].renderJson ? value[currentObjectKey].renderJson : true\n let length = objects.length\n\n if (key === length - 1) {\n return ''\n }\n if (!renderJson) {\n return ''\n }\n\n let spliceObject = objects.splice(key + 1, objects.length)\n if (spliceObject.length > 0) {\n return this.isLastItem(spliceObject, value) ? '' : ','\n }\n return ','\n },\n renderItem: function (item) {\n if (item.renderJson === undefined) {\n return true\n } else {\n return item.renderJson\n }\n },\n isObject: function (item) {\n return (item && typeof item === 'object' && !Array.isArray(item));\n },\n mergeDeep: function (target, ...sources) {\n if (!sources.length) return target;\n const source = sources.shift();\n\n if (this.isObject(target) && this.isObject(source)) {\n for (const key in source) {\n if (source.hasOwnProperty(key) && this.isObject(source[key])) {\n if (!target[key]) {\n Object.assign(target, {[key]: {}});\n } else {\n target[key] = Object.assign({}, target[key])\n }\n this.mergeDeep(target[key], source[key]);\n } else {\n Object.assign(target, {[key]: source[key]});\n }\n }\n }\n\n return this.mergeDeep(target, ...sources);\n },\n getFilters(string = '', filters = {}) {\n if (string) {\n for (let filter in filters) {\n if ('beforeText' === filter) {\n string = this.$options.filters.beforeText(string, filters[filter])\n }\n if ('afterText' === filter) {\n string = this.$options.filters.afterText(string, filters[filter])\n }\n if ('toMinutes' === filter) {\n string = this.$options.filters.toMinutes(string)\n }\n if ('clearSymbols' === filter) {\n string = this.$options.filters.clearSymbols(string, filters[filter])\n }\n }\n }\n\n return string\n },\n updateRatingValues(value) {\n let rating = this.getRating()\n let reviewsKeys = Object.keys(this.getReviews())\n let ratingValueObject = {\n value: rating.ratingValue\n }\n let ratingCountObject = {\n value: rating.ratingCount\n }\n reviewsKeys.forEach((key) => {\n schemaEmitter.$emit('input', `review.${key}.reviewRating.bestRating`, rating.bestResult)\n schemaEmitter.$emit('input', `review.${key}.reviewRating.worstRating`, rating.worstResult)\n schemaEmitter.$emit('input', `review.${key}.reviewRating.ratingValue`, {\n validation: {\n maxValue: rating.bestResult,\n minValue: rating.worstResult\n }\n })\n })\n if (rating.ratingValue) {\n ratingValueObject['vuetifyProps'] = {\n disabled: true\n }\n ratingCountObject['vuetifyProps'] = {\n disabled: true\n }\n } else {\n ratingValueObject['vuetifyProps'] = {\n disabled: false\n }\n ratingCountObject['vuetifyProps'] = {\n disabled: false\n }\n }\n if (rating.ratingValue >= 1) {\n schemaEmitter.$emit('input', 'aggregateRating', {\n renderJson: true\n })\n } else {\n schemaEmitter.$emit('input', 'aggregateRating', {\n renderJson: false\n })\n }\n schemaEmitter.$emit('input', 'aggregateRating.ratingValue', ratingValueObject)\n schemaEmitter.$emit('input', 'aggregateRating.ratingCount', ratingCountObject)\n },\n setEmptyValue(item) {\n let type = typeof item\n if ('string' === type) {\n return ''\n }\n\n if ('object' === type) {\n let newItem = [];\n item.forEach(el => {\n let obj = {}\n obj['selected'] = false\n obj['value'] = el.value\n newItem.push(obj)\n })\n return newItem\n }\n\n return ''\n },\n isNotEmptyValue(item) {\n let type = typeof item\n\n if ('string' === type) {\n return item.length > 0\n }\n if ('object' === type) {\n let selected = item.findIndex(el => {\n return el.selected\n })\n return -1 !== selected\n }\n\n return false\n },\n duplicateValues(value) {\n if (this.componentProps.hasOwnProperty('duplicateFor')) {\n let fields = this.componentProps.duplicateFor\n fields.forEach(field => {\n if ('string' === typeof value) {\n schemaEmitter.$emit('input', field, value)\n } else {\n schemaEmitter.$emit('input', field, {\n value: value\n })\n }\n })\n }\n }\n }\n}\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.node.formComponent === 'Input' || _vm.node.formComponent === 'TextArea' || _vm.node.formComponent === 'ReviewRating')?_c('div',[_c('single-item',{attrs:{\"name\":_vm.name,\"value\":_vm.node.value,\"comma\":_vm.comma,\"isDisplayName\":_vm.isDisplayName,\"filters\":_vm.getFiltersProp()}})],1):_vm._e(),(_vm.node.formComponent === 'DatePicker')?_c('div',[_c('date-item',{attrs:{\"name\":_vm.name,\"value\":_vm.node.value,\"comma\":_vm.comma}})],1):(_vm.node.formComponent === 'Selector')?_c('div',[_c('selector-item',{attrs:{\"name\":_vm.name,\"value\":_vm.node.value,\"filters\":_vm.getFiltersProp(),\"comma\":_vm.comma}})],1):(_vm.node.formComponent === 'Repeater' && _vm.node.repeaterType === 'object')?_c('div',[_c('object-item',{attrs:{\"name\":_vm.name,\"value\":_vm.node.value,\"comma\":_vm.comma}})],1):(_vm.node.formComponent === 'Repeater' && _vm.node.repeaterType === 'array' )?_c('div',[_c('array-item',{attrs:{\"name\":_vm.name,\"value\":_vm.node.value}})],1):(_vm.node.formComponent === false)?_c('div',[_c('span'),_c('span',[_vm._v(\"\\\"\"+_vm._s(_vm.name)+\"\\\"\")]),_vm._v(\": \"),_c('span',[_vm._v(\"{\")]),_vm._l((_vm.node.children),function(value,key,index){return (_vm.renderItem(value))?_c('node',{key:key,attrs:{\"name\":value.name,\"type\":key,\"node\":value,\"comma\":_vm.printComma(index, _vm.node.children)}}):_vm._e()}),_c('span',[_vm._v(\"}\"+_vm._s(_vm.comma))])],2):_vm._e()])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.isDisplayName)?_c('span',[_c('span',[_vm._v(\"\\\"\"+_vm._s(_vm.name)+\"\\\"\")]),_vm._v(\": \\\"\"),_c('span',{staticClass:\"schema_integration-str\",class:{ 'schema_integration-str__updated': _vm.isUpdate }},[_vm._v(_vm._s(_vm.getFilters(_vm.value, _vm.filters)))]),_vm._v(\"\\\"\"+_vm._s(_vm.comma)+\" \")]):_c('span',[_vm._v(\" \\\"\"),_c('span',{staticClass:\"schema_integration-str\",class:{ 'schema_integration-str__updated': _vm.isUpdate }},[_vm._v(_vm._s(_vm.getFilters(_vm.value, _vm.filters)))]),_vm._v(\"\\\"\"+_vm._s(_vm.comma)+\" \")])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","export default {\n props: {\n name: {\n type: String,\n required: true\n },\n value: {\n type: [String, Number, Array],\n required: false,\n default: ''\n },\n comma: {\n type: String,\n required: false,\n default: ','\n },\n isDisplayName: {\n type: Boolean,\n required: false,\n default: true\n },\n filters: {\n type: Object,\n default() {\n return {}\n }\n }\n }\n}\n","<template>\n <span v-if=\"isDisplayName\">\n <span>\"{{ name }}\"</span>: \"<span class=\"schema_integration-str\" :class=\"{ 'schema_integration-str__updated': isUpdate }\">{{ getFilters(value, filters) }}</span>\"{{ comma }}\n </span>\n <span v-else>\n \"<span class=\"schema_integration-str\" :class=\"{ 'schema_integration-str__updated': isUpdate }\">{{ getFilters(value, filters) }}</span>\"{{ comma }}\n </span>\n</template>\n\n<script>\n\nimport jsonProps from \"@/mixins/json-props\"\nimport functions from \"@/mixins/functions\";\n\nexport default {\n mixins: [functions, jsonProps],\n data() {\n return {\n isUpdate: false\n }\n },\n watch: {\n value(item) {\n if( item ) {\n this.isUpdate = item.length > 0\n }\n },\n }\n}\n</script>\n\n<style scoped>\n\n</style>\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SingleItem.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SingleItem.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./SingleItem.vue?vue&type=template&id=74a2251c&scoped=true&\"\nimport script from \"./SingleItem.vue?vue&type=script&lang=js&\"\nexport * from \"./SingleItem.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"74a2251c\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('span',[(_vm.value.length > 1)?_c('span',[_c('span'),_c('span',[_vm._v(\"\\\"\"+_vm._s(_vm.name)+\"\\\"\")]),_vm._v(\": \"),_c('span',[_vm._v(\"[\")]),_vm._l((_vm.value),function(item,key){return _c('span',{key:key},_vm._l((item),function(field,k,index){return (_vm.renderItem(field))?_c('json-tree',{key:k,attrs:{\"name\":field.name,\"type\":k,\"node\":field,\"comma\":_vm.printComma(key, _vm.value),\"isDisplayName\":_vm.display}}):_vm._e()}),1)}),_c('span'),_c('span',[_vm._v(\"]\"+_vm._s(_vm.printComma(0, _vm.value)))])],2):_c('span',_vm._l((_vm.value[0]),function(item,key){return _c('span',{key:key},[_c('span'),_c('span',[_vm._v(\"\\\"\"+_vm._s(_vm.name)+\"\\\"\")]),_vm._v(\": \\\"\"),_c('span',{staticClass:\"schema_integration-str\"},[_vm._v(_vm._s(item.value))]),_vm._v(\"\\\", \")])}),0)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <span>\n <span v-if=\"value.length > 1\">\n <span></span><span>\"{{ name }}\"</span>: <span>[</span>\n <span v-for=\"(item, key) in value\" :key=\"key\">\n <json-tree v-if=\"renderItem(field)\" v-for=\"(field, k, index) in item\" :name=\"field.name\" :key=\"k\" :type=\"k\" :node=\"field\"\n :comma=\"printComma(key, value)\" :isDisplayName=\"display\"></json-tree>\n </span>\n <span></span><span>]{{printComma(0, value)}}</span>\n </span>\n <span v-else>\n <span v-for=\"( item, key) in value[0]\" :key=\"key\">\n <span></span><span>\"{{ name }}\"</span>: \"<span class=\"schema_integration-str\">{{ item.value }}</span>\",\n </span>\n </span>\n </span>\n</template>\n\n<script>\nimport jsonProps from '@/mixins/json-props'\nimport functions from \"@/mixins/functions\";\n\nexport default {\n mixins: [jsonProps, functions],\n props: {\n value: {\n type: Array,\n required: true\n }\n },\n data() {\n return {\n display: false\n }\n },\n components: {\n JsonTree: () => import(\"@/JsonElements/JsonTree\")\n }\n}\n</script>\n\n<style scoped>\n.repeater-item {\n display: inline-block;\n width: 100%;\n margin-left: 20px;\n}\n</style>\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ArrayItem.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ArrayItem.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./ArrayItem.vue?vue&type=template&id=2226b39c&scoped=true&\"\nimport script from \"./ArrayItem.vue?vue&type=script&lang=js&\"\nexport * from \"./ArrayItem.vue?vue&type=script&lang=js&\"\nimport style0 from \"./ArrayItem.vue?vue&type=style&index=0&id=2226b39c&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"2226b39c\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.isDisplayName)?_c('span',[_c('span',[_vm._v(\"\\\"\"+_vm._s(_vm.name)+\"\\\"\")]),_vm._v(\": \\\"\"),_c('span',{staticClass:\"schema_integration-str\"},[_vm._v(_vm._s(_vm.getSelectedItem))]),_vm._v(\"\\\"\"+_vm._s(_vm.comma)+\" \")]):_c('span',[_vm._v(\" \\\"\"),_c('span',{staticClass:\"schema_integration-str\"},[_vm._v(_vm._s(_vm.getSelectedItem))]),_vm._v(\"\\\"\"+_vm._s(_vm.comma)+\" \")])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <span v-if=\"isDisplayName\">\n <span>\"{{ name }}\"</span>: \"<span class=\"schema_integration-str\">{{ getSelectedItem }}</span>\"{{ comma }}\n </span>\n <span v-else>\n \"<span class=\"schema_integration-str\">{{ getSelectedItem }}</span>\"{{ comma }}\n </span>\n</template>\n\n<script>\nimport jsonProps from \"@/mixins/json-props\"\nimport functions from \"@/mixins/functions\";\n\nexport default {\n mixins: [functions, jsonProps],\n computed: {\n getSelectedItem: function () {\n for (let item in this.value) {\n if (this.value[item].selected) {\n return this.getFilters(this.value[item].value, this.filters)\n }\n }\n }\n }\n}\n</script>\n\n<style scoped>\n\n</style>\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SelectorItem.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SelectorItem.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./SelectorItem.vue?vue&type=template&id=4fdb5c6a&scoped=true&\"\nimport script from \"./SelectorItem.vue?vue&type=script&lang=js&\"\nexport * from \"./SelectorItem.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"4fdb5c6a\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.isDisplayName)?_c('span',[_c('span',[_vm._v(\"\\\"\"+_vm._s(_vm.name)+\"\\\"\")]),_vm._v(\": \"),_c('span',[_vm._v(\"\\\"\"+_vm._s(_vm.value)+\"\\\"\")]),_vm._v(_vm._s(_vm.comma)+\" \")]):_c('span',[_c('span',[_vm._v(\"\\\"\"+_vm._s(_vm.value)+\"\\\"\")]),_vm._v(_vm._s(_vm.comma)+\" \")])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <span v-if=\"isDisplayName\">\n <span>\"{{ name }}\"</span>: <span>\"{{ value }}\"</span>{{ comma }}\n </span>\n <span v-else>\n <span>\"{{ value }}\"</span>{{ comma }}\n </span>\n</template>\n\n<script>\nimport jsonProps from \"@/mixins/json-props\"\n\nexport default {\n mixins: [jsonProps]\n}\n</script>\n\n<style scoped>\n\n</style>\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DateItem.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DateItem.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./DateItem.vue?vue&type=template&id=474081ee&scoped=true&\"\nimport script from \"./DateItem.vue?vue&type=script&lang=js&\"\nexport * from \"./DateItem.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"474081ee\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('span',[_c('span'),_c('span',[_vm._v(\"\\\"\"+_vm._s(_vm.name)+\"\\\"\")]),_vm._v(\": \"),_c('span',[_vm._v(\"[\")]),_vm._l((_vm.value),function(item,key){return _c('span',{key:key},[_vm._v(\"{ \"),_vm._l((item),function(field,k,index){return (_vm.renderItem(field))?_c('json-tree',{key:k,attrs:{\"name\":field.name,\"type\":k,\"node\":field,\"comma\":_vm.printComma(index, item),\"display-name\":_vm.display}}):_vm._e()}),_vm._v(\" }\"+_vm._s(_vm.printComma(key, _vm.value)))],2)}),_c('span'),_c('span',[_vm._v(\"]\"+_vm._s(_vm.comma))])],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <span>\n <span></span><span>\"{{ name }}\"</span>: <span>[</span>\n <span v-for=\"(item, key) in value\" :key=\"key\">{\n <json-tree v-if=\"renderItem(field)\" v-for=\"(field, k, index) in item\" :name=\"field.name\" :key=\"k\" :type=\"k\" :node=\"field\"\n :comma=\"printComma(index, item)\" :display-name=\"display\"></json-tree>\n }{{printComma(key, value)}}</span>\n <span></span><span>]{{comma}}</span>\n </span>\n</template>\n\n<script>\nimport jsonProps from '@/mixins/json-props'\nimport functions from \"@/mixins/functions\";\n\nexport default {\n mixins: [jsonProps, functions],\n props: {\n value: {\n type: Array,\n required: true\n }\n },\n data() {\n return {\n display: false\n }\n },\n components: {\n JsonTree: () => import(\"@/JsonElements/JsonTree\")\n }\n}\n</script>\n\n<style scoped>\n.repeater-item {\n display: inline-block;\n width: 100%;\n margin-left: 20px;\n}\n</style>\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ObjectItem.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ObjectItem.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./ObjectItem.vue?vue&type=template&id=71953de0&scoped=true&\"\nimport script from \"./ObjectItem.vue?vue&type=script&lang=js&\"\nexport * from \"./ObjectItem.vue?vue&type=script&lang=js&\"\nimport style0 from \"./ObjectItem.vue?vue&type=style&index=0&id=71953de0&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"71953de0\",\n null\n \n)\n\nexport default component.exports","<template>\n <div>\n <div\n v-if=\"node.formComponent === 'Input' || node.formComponent === 'TextArea' || node.formComponent === 'ReviewRating'\">\n <single-item :name=\"name\" :value=\"node.value\" :comma=\"comma\"\n :isDisplayName=\"isDisplayName\" :filters=\"getFiltersProp()\"></single-item>\n </div>\n <div v-if=\"node.formComponent === 'DatePicker'\">\n <date-item :name=\"name\" :value=\"node.value\" :comma=\"comma\"></date-item>\n </div>\n <div v-else-if=\"node.formComponent === 'Selector'\">\n <selector-item :name=\"name\" :value=\"node.value\" :filters=\"getFiltersProp()\" :comma=\"comma\"></selector-item>\n </div>\n <div v-else-if=\"node.formComponent === 'Repeater' && node.repeaterType === 'object'\">\n <object-item :name=\"name\" :value=\"node.value\" :comma=\"comma\"></object-item>\n </div>\n <div v-else-if=\"node.formComponent === 'Repeater' && node.repeaterType === 'array' \">\n <array-item :name=\"name\" :value=\"node.value\"></array-item>\n </div>\n <div v-else-if=\"node.formComponent === false\">\n <span></span><span>\"{{ name }}\"</span>: <span>{</span>\n <node v-if=\"renderItem(value)\" v-for=\"(value, key, index) in node.children\" :name=\"value.name\"\n :key=\"key\" :type=\"key\" :node=\"value\"\n :comma=\"printComma(index, node.children)\"></node>\n <span>}{{ comma }}</span>\n </div>\n </div>\n</template>\n\n<script>\n\nimport SingleItem from \"./SingleItem\";\nimport ArrayItem from \"./ArrayItem\";\nimport SelectorItem from \"./SelectorItem\";\nimport DateItem from \"./DateItem\";\nimport ObjectItem from \"@/JsonElements/ObjectItem\";\nimport functions from \"@/mixins/functions\";\n\nexport default {\n mixins: [functions],\n name: \"node\",\n props: {\n node: Object,\n type: [String, Number],\n comma: String,\n name: String,\n isDisplayName: {\n type: Boolean,\n required: false,\n default: true\n },\n },\n components: {\n SingleItem,\n ArrayItem,\n SelectorItem,\n DateItem,\n ObjectItem\n },\n methods: {\n getFiltersProp() {\n return this.node.hasOwnProperty('filters') ? this.node.filters : {}\n }\n }\n}\n</script>\n\n<style scoped>\n.node-tree {\n list-style-type: none;\n}\n\ndiv {\n margin-left: 10px;\n}\n</style>\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./JsonTree.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./JsonTree.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./JsonTree.vue?vue&type=template&id=516b3065&scoped=true&\"\nimport script from \"./JsonTree.vue?vue&type=script&lang=js&\"\nexport * from \"./JsonTree.vue?vue&type=script&lang=js&\"\nimport style0 from \"./JsonTree.vue?vue&type=style&index=0&id=516b3065&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"516b3065\",\n null\n \n)\n\nexport default component.exports","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CustomItem.vue?vue&type=style&index=0&id=2c4f9021&scoped=true&lang=css&\"","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ObjectItem.vue?vue&type=style&index=0&id=71953de0&scoped=true&lang=css&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-main',[_c('v-container',[_c('v-row',[_c('v-col',[_c('v-card',[_c('v-card-text',[_c('div',[_c('v-select',{attrs:{\"items\":_vm.getSchemasList,\"attach\":\"\",\"label\":\"Which Schema.org markup would you like to create?\"},on:{\"change\":function($event){return _vm.selectSchema($event)}},scopedSlots:_vm._u([{key:\"selection\",fn:function(data){return [_c('v-list-item',[_c('v-list-item-content',[_c('v-list-item-title',[_c('v-icon',{attrs:{\"small\":\"\"}},[_vm._v(_vm._s(data.item.icon))]),_vm._v(\" \"+_vm._s(data.item.title)+\" \")],1)],1)],1)]}},{key:\"item\",fn:function(data){return [_c('v-icon',{attrs:{\"small\":\"\"}},[_vm._v(_vm._s(data.item.icon))]),_c('v-list-item',[_c('v-list-item-content',[_c('v-list-item-title',[_vm._v(\" \"+_vm._s(data.item.title)+\" \"),_c('small',[_vm._v(_vm._s(data.item.description))])])],1)],1)]}}]),model:{value:(_vm.getSelectedSchema),callback:function ($$v) {_vm.getSelectedSchema=$$v},expression:\"getSelectedSchema\"}})],1)])],1)],1)],1),_c('v-row',[_c('v-col',{attrs:{\"cols\":\"7\"}},[_c('v-card',[_c('v-card-text',[_c('form-builder',{attrs:{\"config\":_vm.getSchemaType}})],1)],1)],1),_c('v-col',{attrs:{\"cols\":\"5\"}},[_c('v-card',{attrs:{\"height\":\"100%\"}},[_c('v-card-text',[_c('json-builder',{ref:\"jsonTemplate\",attrs:{\"config\":_vm.getJsonType}})],1)],1)],1)],1),_c('v-row',[_c('v-col',[_c('v-card',[_c('v-card-title',[_vm._v(\"Select schemas conditions\")]),_c('v-card-text',[_c('conditions',{attrs:{\"conditionsList\":_vm.conditions,\"currentConditions\":_vm.postConditions}})],1)],1)],1)],1),_c('v-row',[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.result),expression:\"result\"}],attrs:{\"type\":\"hidden\",\"name\":\"schema\"},domProps:{\"value\":(_vm.result)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.result=$event.target.value}}}),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.source),expression:\"source\"}],attrs:{\"type\":\"hidden\",\"name\":\"source\"},domProps:{\"value\":(_vm.source)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.source=$event.target.value}}}),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.getSchemaName),expression:\"getSchemaName\"}],attrs:{\"type\":\"hidden\",\"name\":\"schema_name\"},domProps:{\"value\":(_vm.getSchemaName)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.getSchemaName=$event.target.value}}})])],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import Article from '@/Config/Article.json'\nimport FAQPage from '@/Config/FAQPage.json'\nimport Product from '@/Config/Product.json'\nimport Recipe from '@/Config/Recipe.json'\nimport Breadcrumbs from '@/Config/Breadcrumbs.json'\nimport Custom from '@/Config/Custom.json'\n\nexport default {\n data() {\n return {\n config: {\n Article,\n FAQPage,\n Product,\n Recipe,\n Breadcrumbs,\n Custom\n }\n }\n }\n}","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-row',_vm._l((_vm.config),function(field,key,index){return _c('form-tree',{key:key,attrs:{\"index\":index,\"type\":key,\"node\":field}})}),1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <v-row>\n <form-tree v-for=\"(field, key, index) in config\" :index=\"index\" :key=\"key\" :type=\"key\" :node=\"field\"></form-tree>\n </v-row>\n</template>\n\n<script>\nimport FormTree from '../FormElements/FormTree'\nimport {schemaEmitter} from \"@/main\";\n\nexport default {\n props: ['config'],\n data() {\n return {\n formValues: {}\n }\n },\n components: {\n FormTree\n },\n methods: {\n updateField(field, value) {\n schemaEmitter.$emit('input', field, value)\n }\n }\n}\n</script>\n\n<style scoped>\n\n</style>\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./formBuilder.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./formBuilder.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./formBuilder.vue?vue&type=template&id=31de27a7&scoped=true&\"\nimport script from \"./formBuilder.vue?vue&type=script&lang=js&\"\nexport * from \"./formBuilder.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"31de27a7\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VRow } from 'vuetify/lib/components/VGrid';\ninstallComponents(component, {VRow})\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"json-wrapper\"},[_c('span',{staticClass:\"schema_integration-tag\"},[_vm._v(\"<script\")]),_vm._v(\" \"),_c('span',{staticClass:\"schema_integration-attr\"},[_vm._v(\"type\")]),_c('span',{staticClass:\"schema_integration-attr-value\"},[_vm._v(\"=\\\"application/ld+json\\\"\")]),_c('span',[_vm._v(\">\")]),(_vm.getCurrentSchema.title !== 'Custom')?_c('div',[_vm._m(0),_vm._l((_vm.config),function(field,key,index){return (_vm.renderItem(field))?_c('json-tree',{key:key,attrs:{\"name\":field.name,\"type\":key,\"node\":field,\"comma\":_vm.printComma(index, _vm.config)}}):_vm._e()}),_vm._m(1)],2):_c('div',[_c('custom-item',{attrs:{\"value\":_vm.config.custom.value}})],1),_c('span',{staticClass:\"schema_integration-tag\"},[_vm._v(\"</script>\")])])}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('span',[_vm._v(\"{\")])])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('span',[_vm._v(\"}\")])])}]\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('pre',[_vm._v(_vm._s(_vm._f(\"prettyJSON\")(_vm.value))+\" \")])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <pre>{{ value | prettyJSON }} </pre>\n</template>\n\n<script>\n\nimport filters from \"@/mixins/filters\";\n\nexport default {\n mixins: [filters],\n props: {\n value: {\n required: true,\n default: '',\n type: [String, Object],\n }\n }\n}\n</script>\n\n<style scoped>\n pre {\n white-space: pre-wrap;\n }\n</style>","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CustomItem.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CustomItem.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./CustomItem.vue?vue&type=template&id=2c4f9021&scoped=true&\"\nimport script from \"./CustomItem.vue?vue&type=script&lang=js&\"\nexport * from \"./CustomItem.vue?vue&type=script&lang=js&\"\nimport style0 from \"./CustomItem.vue?vue&type=style&index=0&id=2c4f9021&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"2c4f9021\",\n null\n \n)\n\nexport default component.exports","<template>\n <div class=\"json-wrapper\">\n <span class=\"schema_integration-tag\"><script</span> <span class=\"schema_integration-attr\">type</span><span\n class=\"schema_integration-attr-value\">=\"application/ld+json\"</span><span>></span>\n <div v-if=\"getCurrentSchema.title !== 'Custom'\">\n <div><span>{</span></div>\n <json-tree v-if=\"renderItem(field)\" v-for=\"(field, key, index) in config\" :name=\"field.name\" :key=\"key\"\n :type=\"key\"\n :node=\"field\"\n :comma=\"printComma(index, config)\"></json-tree>\n <div><span>}</span></div>\n </div>\n <div v-else>\n <custom-item :value=\"config.custom.value\"></custom-item>\n </div>\n <span class=\"schema_integration-tag\"></script></span>\n </div>\n</template>\n\n<script>\n\nimport {mapGetters} from 'vuex'\nimport JsonTree from \"../JsonElements/JsonTree\";\nimport functions from \"@/mixins/functions\";\nimport CustomItem from \"@/JsonElements/CustomItem\";\n\nexport default {\n mixins: [functions],\n props: {\n config: Object\n },\n data() {\n return {\n render: true\n }\n },\n components: {\n CustomItem,\n JsonTree\n },\n computed: mapGetters(['getCurrentSchema']),\n}\n</script>\n\n<style scoped>\n\n.json-wrapper {\n font-size: 13px;\n line-height: 1.4;\n font-family: Menlo, Monaco, Consolas, \"Courier New\", monospace;\n color: grey;\n text-align: left;\n}\n\n.tree-list {\n list-style-type: none;\n}\n</style>\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./jsonBuilder.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./jsonBuilder.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./jsonBuilder.vue?vue&type=template&id=1367810e&scoped=true&\"\nimport script from \"./jsonBuilder.vue?vue&type=script&lang=js&\"\nexport * from \"./jsonBuilder.vue?vue&type=script&lang=js&\"\nimport style0 from \"./jsonBuilder.vue?vue&type=style&index=0&id=1367810e&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"1367810e\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{staticClass:\"conditions-items\"},_vm._l((_vm.conditions),function(item,index){return _c('v-row',{key:index,staticClass:\"conditions-item\"},[_c('v-col',{attrs:{\"cols\":\"6\"}},[_c('v-select',{attrs:{\"items\":item.data,\"attach\":\"\",\"label\":\"Conditions list\"},on:{\"change\":function($event){return _vm.getConditionsValue(index, $event)}},model:{value:(item.selected),callback:function ($$v) {_vm.$set(item, \"selected\", $$v)},expression:\"item.selected\"}})],1),_c('v-col',{attrs:{\"cols\":\"6\"}},[(item.displayIds)?_c('div',[_c('v-text-field',{attrs:{\"type\":\"number\",\"label\":\"Add ID\"},on:{\"input\":function($event){return _vm.getConditionsValueIds(index, $event)}},model:{value:(item.ids),callback:function ($$v) {_vm.$set(item, \"ids\", $$v)},expression:\"item.ids\"}})],1):_vm._e()]),_c('v-row',[_c('v-col',{attrs:{\"cols\":\"6\"}},[_c('v-btn',{attrs:{\"small\":\"\",\"color\":\"primary\"},on:{\"click\":function($event){return _vm.addItem(index)}}},[_vm._v(\"Add\")])],1),_c('v-col',{attrs:{\"cols\":\"6\"}},[_c('v-btn',{attrs:{\"small\":\"\",\"color\":\"error\",\"disabled\":_vm.disableButton},on:{\"click\":function($event){return _vm.deleteItem(index)}}},[_vm._v(\"Delete\")])],1)],1)],1)}),1),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.result),expression:\"result\"}],attrs:{\"type\":\"hidden\",\"name\":'conditions'},domProps:{\"value\":(_vm.result)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.result=$event.target.value}}})])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <div>\n <div class=\"conditions-items\">\n <v-row v-for=\"(item, index) in conditions\" :key=\"index\" class=\"conditions-item\">\n <v-col cols=\"6\">\n <v-select\n v-model=\"item.selected\"\n :items=\"item.data\"\n attach\n label=\"Conditions list\"\n @change=\"getConditionsValue(index, $event)\"\n ></v-select>\n </v-col>\n <v-col cols=\"6\">\n <div v-if=\"item.displayIds\">\n <v-text-field\n type=\"number\"\n v-model=\"item.ids\"\n label=\"Add ID\"\n @input=\"getConditionsValueIds(index, $event)\"\n ></v-text-field>\n </div>\n </v-col>\n <v-row>\n <v-col cols=\"6\">\n <v-btn small color=\"primary\" @click=\"addItem(index)\">Add</v-btn>\n </v-col>\n <v-col cols=\"6\">\n <v-btn small color=\"error\" @click=\"deleteItem(index)\" :disabled=\"disableButton\">Delete</v-btn>\n </v-col>\n </v-row>\n </v-row>\n </div>\n <input type=\"hidden\" :name=\"'conditions'\" v-model=\"result\">\n </div>\n</template>\n\n<script>\n\nexport default {\n props: ['conditionsList', 'currentConditions'],\n data() {\n return {\n conditions: [\n {\n data: [],\n selected: '',\n displayIds: false,\n ids: ''\n }\n ],\n result: ''\n }\n },\n watch: {\n currentConditions: {\n handler: 'setConditions'\n },\n conditions: {\n deep: true,\n handler() {\n this.result = JSON.stringify(this.getConditionsResult())\n }\n }\n },\n methods: {\n addItem(index) {\n let item = JSON.parse(JSON.stringify(this.conditions[index]))\n this.conditions.push(item)\n },\n deleteItem(index) {\n if (this.conditions.length > 1) {\n this.conditions.splice(index, 1)\n }\n },\n getConditionsValue(index, value) {\n this.conditions[index].displayIds = value.startsWith('{custom_')\n },\n getConditionsValueIds(index, value) {\n this.conditions[index].ids = value\n },\n getConditionsResult() {\n let result = []\n this.conditions.forEach(item => {\n let newItem = {\n condition: item.selected,\n custom: item.displayIds ? item.ids : ''\n }\n result.push(newItem)\n })\n return result\n },\n setConditions() {\n if (this.currentConditions.length <= 0) {\n this.conditions[0].data = this.conditionsList\n } else {\n this.conditions.splice(0, 1)\n this.currentConditions.forEach(item => {\n this.conditions.push({\n data: this.conditionsList,\n selected: item.condition,\n ids: item.custom,\n displayIds: item.custom.length > 0\n })\n })\n }\n }\n },\n computed: {\n disableButton: function () {\n return this.conditions.length <= 1;\n }\n },\n created() {\n this.setConditions()\n }\n}\n</script>\n\n<style scoped>\n\n</style>","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Conditions.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Conditions.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Conditions.vue?vue&type=template&id=53d6957f&scoped=true&\"\nimport script from \"./Conditions.vue?vue&type=script&lang=js&\"\nexport * from \"./Conditions.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"53d6957f\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VRow } from 'vuetify/lib/components/VGrid';\nimport { VSelect } from 'vuetify/lib/components/VSelect';\nimport { VTextField } from 'vuetify/lib/components/VTextField';\ninstallComponents(component, {VBtn,VCol,VRow,VSelect,VTextField})\n","<template>\n <v-main>\n <v-container>\n <v-row>\n <v-col>\n <v-card>\n <v-card-text>\n <div>\n <v-select\n v-model=\"getSelectedSchema\"\n :items=\"getSchemasList\"\n attach\n label=\"Which Schema.org markup would you like to create?\"\n @change=\"selectSchema($event)\"\n >\n <template slot=\"selection\" slot-scope=\"data\">\n <v-list-item>\n <v-list-item-content>\n <v-list-item-title>\n <v-icon small>{{ data.item.icon }}</v-icon>\n {{ data.item.title }}\n </v-list-item-title>\n </v-list-item-content>\n </v-list-item>\n\n </template>\n <template slot=\"item\" slot-scope=\"data\">\n <v-icon small>{{ data.item.icon }}</v-icon>\n <v-list-item>\n <v-list-item-content>\n <v-list-item-title>\n {{ data.item.title }} <small>{{ data.item.description }}</small>\n </v-list-item-title>\n </v-list-item-content>\n </v-list-item>\n </template>\n </v-select>\n </div>\n </v-card-text>\n </v-card>\n </v-col>\n </v-row>\n <v-row>\n <v-col cols=\"7\">\n <v-card>\n <v-card-text>\n <form-builder :config=\"getSchemaType\"></form-builder>\n </v-card-text>\n </v-card>\n </v-col>\n <v-col cols=\"5\">\n <v-card\n height=\"100%\"\n >\n <v-card-text>\n <json-builder :config=\"getJsonType\" ref=\"jsonTemplate\"></json-builder>\n </v-card-text>\n </v-card>\n </v-col>\n </v-row>\n <v-row>\n <v-col\n >\n <v-card>\n <v-card-title>Select schemas conditions</v-card-title>\n <v-card-text>\n <conditions :conditionsList=\"conditions\" :currentConditions=\"postConditions\"></conditions>\n </v-card-text>\n </v-card>\n </v-col>\n </v-row>\n <v-row>\n <input type=\"hidden\" name=\"schema\" v-model=\"result\">\n <input type=\"hidden\" name=\"source\" v-model=\"source\">\n <input type=\"hidden\" name=\"schema_name\" v-model=\"getSchemaName\">\n </v-row>\n </v-container>\n </v-main>\n</template>\n\n<script>\n\nimport config from \"@/mixins/config\";\nimport functions from \"@/mixins/functions\";\nimport axios from 'axios'\nimport {mapGetters, mapActions, mapMutations} from 'vuex'\nimport FormBuilder from \"./formBuilder\";\nimport JsonBuilder from \"./jsonBuilder\";\nimport Conditions from \"@/CondtionsElements/Conditions\"\nimport {schemaEmitter} from \"@/main\";\n\n\nexport default {\n mixins: [config, functions],\n components: {\n FormBuilder,\n JsonBuilder,\n Conditions\n },\n props: {\n schemas_type: {\n type: Array,\n required: true\n }\n },\n data() {\n return {\n conditions: [],\n postConditions: [],\n componentKey: 0,\n schemaExist: false,\n schemaType: {},\n jsonType: {},\n sourceType: {},\n result: '',\n source: '',\n default: ''\n }\n },\n methods: {\n ...mapActions(['setDefaultData', 'setCurrentSchema', 'setSchemasList', 'run']),\n ...mapMutations(['updateProperty']),\n getInnerJson: function () {\n return this.$refs.jsonTemplate.$el.innerText\n },\n getAjaxSchemaSettings: function (post_id, security) {\n axios.post('/wp-admin/admin-ajax.php?action=get_schema_settings', {\n 'post_id': post_id,\n 'security': security,\n })\n .then((response) => {\n if (response.data) {\n this.run(JSON.parse(response.data.schema))\n this.postConditions = JSON.parse(response.data.conditions)\n this.schemaExist = true\n this.setCurrentSchema(JSON.parse(response.data.schema_name))\n this.buildFromConfig(this.getCurrentSchema.title)\n this.setDefaultData({\n key: this.getCurrentSchema.title,\n jsonString: this.default\n })\n }\n })\n .catch((error) => {\n this.setCurrentSchema(this.schemas_type[0])\n const config = this.buildFromConfig(this.getCurrentSchema.title)\n this.setDefaultData({\n key: this.getCurrentSchema.title,\n jsonString: this.default\n })\n this.run(config)\n })\n },\n displayJsonTemplate(haystack, needle, data) {\n if ('undefined' !== typeof needle.value && 'undefined' !== typeof needle.showOnChange) {\n let show = this.findVal(haystack, needle.showOnChange)\n let type = typeof data\n if ('undefined' !== typeof show) {\n if ('object' !== type) {\n show.renderJson = '' !== data\n } else if (data && data.hasOwnProperty('value') && 'object' === typeof data.value) {\n let selected = data.value.find(i => {\n return i.selected\n })\n show.renderJson = 'undefined' !== typeof selected\n } else if (data && data.hasOwnProperty('renderJson')) {\n show.renderJson = data.renderJson\n }\n }\n }\n },\n updateObject(object, key, item) {\n let result = this.findVal(object, key)\n if (undefined !== result) {\n result = this.mergeDeep(result, item)\n this.displayJsonTemplate(object, result, item)\n }\n },\n updateItem(object, key, value) {\n let result = this.findVal(object, key)\n if ('undefined' !== typeof result && result.hasOwnProperty('value')) {\n result.value = value\n this.displayJsonTemplate(object, result, value)\n }\n },\n updateProperties() {\n this.updateProperty(['schemaType', this.getSchemaType])\n this.result = this.$refs.jsonTemplate.$el.innerText\n this.source = JSON.stringify(this.getSourceType)\n },\n buildFromConfig: function (type) {\n let selected = type\n let defaultConfig = this.config\n let defaultConfigString = JSON.stringify(defaultConfig)\n this.default = defaultConfigString\n const config = JSON.parse(defaultConfigString)\n if ('undefined' !== typeof config[selected]) {\n return config[selected]\n } else {\n return false\n }\n },\n selectSchema: function (event) {\n this.setCurrentSchema(event)\n const config = this.buildFromConfig(this.getCurrentSchema.title)\n this.setDefaultData({\n key: this.getCurrentSchema.title,\n jsonString: this.default\n })\n this.run(config)\n this.itemWalker(this.getSchemaType)\n this.updateProperties()\n },\n itemWalker: function (items) {\n if ('object' === typeof items) {\n Object.entries(items).forEach(([index, item]) => {\n if (undefined !== item.children) {\n this.itemWalker(item.children)\n } else {\n if ('undefined' === typeof this.$options.components[item.formComponent] || false === item.render) {\n delete item[index]\n }\n }\n })\n }\n }\n }\n ,\n computed: {\n ...mapGetters([\"getJsonType\", \"getSchemaType\", \"getSourceType\", \"getCurrentSchema\", \"getSchemasList\"]),\n getSelectedSchema: {\n get() {\n return this.getCurrentSchema\n },\n set(value) {\n return this.setCurrentSchema(value)\n }\n },\n getSchemaName: {\n get() {\n return JSON.stringify(this.getCurrentSchema)\n },\n set(value) {\n return this.setCurrentSchema(value)\n }\n },\n },\n updated() {\n this.$nextTick(function () {\n this.result = this.$refs.jsonTemplate.$el.innerText\n })\n },\n mounted() {\n schemaEmitter.$on('input', (key, value) => {\n if ('object' === typeof value) {\n this.updateObject(this.getSchemaType, key, value)\n this.updateObject(this.getJsonType, key, value)\n this.updateObject(this.getSourceType, key, value)\n } else {\n try {\n value = JSON.parse(value)\n } catch (e) {\n }\n this.updateItem(this.getSchemaType, key, value)\n this.updateItem(this.getJsonType, key, value)\n this.updateItem(this.getSourceType, key, value)\n }\n this.updateProperties()\n this.result = this.$refs.jsonTemplate.$el.innerText\n this.source = JSON.stringify(this.getSourceType)\n })\n setTimeout(() => {\n this.result = this.$refs.jsonTemplate.$el.innerText\n this.source = JSON.stringify(this.getSourceType)\n }, 1000);\n },\n created() {\n if ('undefined' !== typeof wp && wp.hasOwnProperty('i18n')) {\n const {__, _x, _n, _nx} = wp.i18n;\n }\n let root = document.getElementById('app')\n if (null !== root) {\n let post_id = root.getAttribute('data-id')\n let security = root.getAttribute('data-security')\n let conditions = root.getAttribute('data-conditions')\n this.conditions = JSON.parse(conditions)\n\n if (post_id) {\n this.setSchemasList(this.schemas_type)\n this.getAjaxSchemaSettings(post_id, security)\n }\n }\n },\n beforeDestroy() {\n schemaEmitter.$off('input')\n }\n}\n</script>\n\n<style>\n.schema_integration-tag {\n color: #881280;\n}\n\n.schema_integration-attr {\n color: #994500;\n}\n\n.schema_integration-attr-value {\n color: #1a1aa6;\n}\n\n.schema_integration-str {\n background-color: #ffc10780;\n font-weight: 700;\n}\n\n.schema_integration-str__updated {\n color: #f44336;\n}\n</style>\n\n<style scoped>\n\n</style>\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Schema.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Schema.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Schema.vue?vue&type=template&id=3aab96b0&scoped=true&\"\nimport script from \"./Schema.vue?vue&type=script&lang=js&\"\nexport * from \"./Schema.vue?vue&type=script&lang=js&\"\nimport style0 from \"./Schema.vue?vue&type=style&index=0&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"3aab96b0\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VCard } from 'vuetify/lib/components/VCard';\nimport { VCardText } from 'vuetify/lib/components/VCard';\nimport { VCardTitle } from 'vuetify/lib/components/VCard';\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VContainer } from 'vuetify/lib/components/VGrid';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VListItem } from 'vuetify/lib/components/VList';\nimport { VListItemContent } from 'vuetify/lib/components/VList';\nimport { VListItemTitle } from 'vuetify/lib/components/VList';\nimport { VMain } from 'vuetify/lib/components/VMain';\nimport { VRow } from 'vuetify/lib/components/VGrid';\nimport { VSelect } from 'vuetify/lib/components/VSelect';\ninstallComponents(component, {VCard,VCardText,VCardTitle,VCol,VContainer,VIcon,VListItem,VListItemContent,VListItemTitle,VMain,VRow,VSelect})\n"],"sourceRoot":""}1 {"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/FormElements/FormTree.vue?f8ee","webpack:///./src/FormElements/Input.vue?c854","webpack:///./src/mixins/validation.js","webpack:///./src/mixins/form-props.js","webpack:///./src/mixins/rating.js","webpack:///src/FormElements/Input.vue","webpack:///./src/FormElements/Input.vue?7927","webpack:///./src/FormElements/Input.vue","webpack:///./src/FormElements/Repeater.vue?f527","webpack:///src/FormElements/Repeater.vue","webpack:///./src/FormElements/Repeater.vue?4761","webpack:///./src/FormElements/Repeater.vue","webpack:///./src/FormElements/Selector.vue?2027","webpack:///src/FormElements/Selector.vue","webpack:///./src/FormElements/Selector.vue?8737","webpack:///./src/FormElements/Selector.vue","webpack:///./src/FormElements/DatePicker.vue?dfbd","webpack:///src/FormElements/DatePicker.vue","webpack:///./src/FormElements/DatePicker.vue?02d1","webpack:///./src/FormElements/DatePicker.vue","webpack:///./src/FormElements/TextArea.vue?9a29","webpack:///src/FormElements/TextArea.vue","webpack:///./src/FormElements/TextArea.vue?f8d7","webpack:///./src/FormElements/TextArea.vue","webpack:///./src/FormElements/ReviewRating.vue?25cb","webpack:///src/FormElements/ReviewRating.vue","webpack:///./src/FormElements/ReviewRating.vue?1e33","webpack:///./src/FormElements/ReviewRating.vue","webpack:///./src/FormElements/Custom.vue?6545","webpack:///src/FormElements/Custom.vue","webpack:///./src/FormElements/Custom.vue?a5d5","webpack:///./src/FormElements/Custom.vue","webpack:///./src/mixins/styles.js","webpack:///src/FormElements/FormTree.vue","webpack:///./src/FormElements/FormTree.vue?f749","webpack:///./src/FormElements/FormTree.vue?c051","webpack:///./src/mixins/filters.js","webpack:///./src/App.vue?5189","webpack:///./src/JsonElements/JsonTree.vue?b06a","webpack:///./src/components/Schema.vue?fd0e","webpack:///./src/FormElements/FormTree.vue?aa36","webpack:///./src/App.vue?1f5e","webpack:///src/App.vue","webpack:///./src/App.vue?b0f9","webpack:///./src/App.vue?155a","webpack:///./src/plugins/vuetify.js","webpack:///./src/store/modules/schema.js","webpack:///./src/store/modules/rating.js","webpack:///./src/store/modules/current-schema.js","webpack:///./src/store/index.js","webpack:///./src/main.js","webpack:///./src/JsonElements/ArrayItem.vue?17b6","webpack:///./src/mixins/functions.js","webpack:///./src/JsonElements/JsonTree.vue?e7e1","webpack:///./src/JsonElements/SingleItem.vue?b18d","webpack:///./src/mixins/json-props.js","webpack:///src/JsonElements/SingleItem.vue","webpack:///./src/JsonElements/SingleItem.vue?7046","webpack:///./src/JsonElements/SingleItem.vue","webpack:///./src/JsonElements/ArrayItem.vue?d2f6","webpack:///src/JsonElements/ArrayItem.vue","webpack:///./src/JsonElements/ArrayItem.vue?19b6","webpack:///./src/JsonElements/ArrayItem.vue?b714","webpack:///./src/JsonElements/SelectorItem.vue?31a6","webpack:///src/JsonElements/SelectorItem.vue","webpack:///./src/JsonElements/SelectorItem.vue?2d0c","webpack:///./src/JsonElements/SelectorItem.vue","webpack:///./src/JsonElements/DateItem.vue?6da3","webpack:///src/JsonElements/DateItem.vue","webpack:///./src/JsonElements/DateItem.vue?6533","webpack:///./src/JsonElements/DateItem.vue","webpack:///./src/JsonElements/ObjectItem.vue?91ba","webpack:///src/JsonElements/ObjectItem.vue","webpack:///./src/JsonElements/ObjectItem.vue?e849","webpack:///./src/JsonElements/ObjectItem.vue?c919","webpack:///src/JsonElements/JsonTree.vue","webpack:///./src/JsonElements/JsonTree.vue?9fab","webpack:///./src/JsonElements/JsonTree.vue?7818","webpack:///./src/JsonElements/CustomItem.vue?de50","webpack:///./src/components/jsonBuilder.vue?97a4","webpack:///./src/JsonElements/ObjectItem.vue?7d44","webpack:///./src/components/Schema.vue?94f3","webpack:///./src/mixins/config.js","webpack:///./src/components/formBuilder.vue?c26d","webpack:///src/components/formBuilder.vue","webpack:///./src/components/formBuilder.vue?eb35","webpack:///./src/components/formBuilder.vue","webpack:///./src/components/jsonBuilder.vue?c9ae","webpack:///./src/JsonElements/CustomItem.vue?10a3","webpack:///src/JsonElements/CustomItem.vue","webpack:///./src/JsonElements/CustomItem.vue?e878","webpack:///./src/JsonElements/CustomItem.vue?e87e","webpack:///src/components/jsonBuilder.vue","webpack:///./src/components/jsonBuilder.vue?8896","webpack:///./src/components/jsonBuilder.vue?e9af","webpack:///./src/CondtionsElements/Conditions.vue?8589","webpack:///src/CondtionsElements/Conditions.vue","webpack:///./src/CondtionsElements/Conditions.vue?2418","webpack:///./src/CondtionsElements/Conditions.vue","webpack:///src/components/Schema.vue","webpack:///./src/components/Schema.vue?70b0","webpack:///./src/components/Schema.vue?cb6e"],"names":["webpackJsonpCallback","data","moduleId","chunkId","chunkIds","moreModules","executeModules","i","resolves","length","Object","prototype","hasOwnProperty","call","installedChunks","push","modules","parentJsonpFunction","shift","deferredModules","apply","checkDeferredModules","result","deferredModule","fulfilled","j","depId","splice","__webpack_require__","s","installedModules","exports","module","l","m","c","d","name","getter","o","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","p","jsonpArray","window","oldJsonpFunction","slice","render","_vm","this","_h","$createElement","_c","_self","node","class","classes","attrs","cols","children","_l","index","formComponent","tag","type","getCustomProps","_e","staticRenderFns","componentProps","_b","placeholder","counter","printCounterValue","displayErrors","validation","$v","getCurrentValue","on","$event","validateInput","updateField","updateKey","model","callback","$$v","expression","vuetifyProps","Vue","use","Vuelidate","messages","required","maxLength","url","minValue","maxValue","numeric","isJson","methods","currentValue","field","errorMessages","undefined","entries","$dirty","$invalid","$touch","createValidatorsObject","items","Validators","keys","isJsone","mounted","props","default","String","Number","mixins","functions","rating","ratingValue","ratingCount","reviewCount","worstResult","bestResult","mapActions","mapGetters","calculateRating","parseInt","setRating","setWorst","setBest","setRatingResult","setWorstResult","setBestResult","getRating","Array","setRatingValues","calculateValue","duplicateValues","reviewsKeys","forEach","objectList","from","item","total","to","validations","validators","computed","set","component","VTextField","staticClass","el","k","hide","addItem","_v","_s","buttonTitle","disableButton","deleteItem","components","FormTree","properties","newItem","updateReviews","updateBreadcrumbs","setReviewRating","0","updateRatingValues","id","changeItemKey","arrayKey","newObject","replace","JSON","parse","reviewObject","resultItem","uuid","VBtn","VCol","VIcon","VRow","getSelectedObject","selected","Schema","dropdown_texts","dropdown_values","schemas","schemas_type","changeView","getSchemaType","offer","renderJson","setEmptyValue","updateProperty","fields","getSelectedValue","selected_index","getDropDownText","map","getDropDownValues","getSelectedItem","findIndex","VSelect","scopedSlots","_u","fn","ref","_g","menu2","VDatePicker","VMenu","fullWidth","VTextarea","updateReviewRating","number","stringify","styles","Input","Selector","Repeater","DatePicker","TextArea","ReviewRating","Custom","changeChildType","split","pop","filters","beforeText","string","textBefore","afterText","textAfter","toMinutes","clearSymbols","symbols","symbol","replaceAll","prettyJSON","e","schemasType","VApp","Vuetify","state","schemaType","jsonType","sourceType","mutations","updateDefault","actions","setDefaultData","commit","jsonString","run","getters","getJsonType","getSourceType","getDefaultData","reviews","updateReview","setReview","updateRating","review","dispatch","currentRating","reviewRating","getReviews","currentSchema","schemasList","updateCurrentSchema","updateSchemasList","setCurrentSchema","setSchemasList","getCurrentSchema","getSchemasList","Vuex","Store","schema","config","productionTip","schemaEmitter","vuetify","store","h","App","created","schema_integration","setLocaleData","i18n","$mount","findVal","regexp","some","search","isLastItem","objects","printComma","currentObjectKey","spliceObject","renderItem","isObject","isArray","mergeDeep","target","sources","source","assign","getFilters","filter","$options","ratingValueObject","ratingCountObject","$emit","disabled","obj","isNotEmptyValue","duplicateFor","comma","isDisplayName","getFiltersProp","repeaterType","isUpdate","Boolean","watch","display","JsonTree","SingleItem","ArrayItem","SelectorItem","DateItem","ObjectItem","selectSchema","icon","title","description","getSelectedSchema","conditions","postConditions","directives","rawName","domProps","composing","getSchemaName","Article","FAQPage","Product","Recipe","Breadcrumbs","formValues","_m","custom","_f","CustomItem","getConditionsValue","$set","getConditionsValueIds","currentConditions","handler","deep","getConditionsResult","displayIds","startsWith","ids","condition","setConditions","conditionsList","FormBuilder","JsonBuilder","Conditions","componentKey","schemaExist","getInnerJson","$refs","jsonTemplate","schema_integration_template","innerText","getAjaxSchemaSettings","post_id","security","displayJsonTemplate","needle","showOnChange","show","updateObject","updateItem","updateProperties","buildFromConfig","defaultConfigString","event","itemWalker","updated","$nextTick","setTimeout","wp","root","beforeDestroy","VCard","VCardText","VCardTitle","VContainer","VListItem","VListItemContent","VList","VListItemTitle","VMain"],"mappings":"aACE,SAASA,EAAqBC,GAQ7B,IAPA,IAMIC,EAAUC,EANVC,EAAWH,EAAK,GAChBI,EAAcJ,EAAK,GACnBK,EAAiBL,EAAK,GAIHM,EAAI,EAAGC,EAAW,GACpCD,EAAIH,EAASK,OAAQF,IACzBJ,EAAUC,EAASG,GAChBG,OAAOC,UAAUC,eAAeC,KAAKC,EAAiBX,IAAYW,EAAgBX,IACpFK,EAASO,KAAKD,EAAgBX,GAAS,IAExCW,EAAgBX,GAAW,EAE5B,IAAID,KAAYG,EACZK,OAAOC,UAAUC,eAAeC,KAAKR,EAAaH,KACpDc,EAAQd,GAAYG,EAAYH,IAG/Be,GAAqBA,EAAoBhB,GAE5C,MAAMO,EAASC,OACdD,EAASU,OAATV,GAOD,OAHAW,EAAgBJ,KAAKK,MAAMD,EAAiBb,GAAkB,IAG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AAC8U,SAAA,KAAMC,UAAA,QAAUC,WAAA,QAAW5N,OAAA,KAAK6N,cAAA,KAAW5N,SAAA,KAAM6N,aAAA,KAAUC,iBAAAC,GAAA,KAAiBC,eAAAD,GAAA,KAAeE,SAAA,KAAMhO,OAAA,KAAKsB,UAAA,Q","file":"js/app.js","sourcesContent":[" \t// install a JSONP callback for chunk loading\n \tfunction webpackJsonpCallback(data) {\n \t\tvar chunkIds = data[0];\n \t\tvar moreModules = data[1];\n \t\tvar executeModules = data[2];\n\n \t\t// add \"moreModules\" to the modules object,\n \t\t// then flag all \"chunkIds\" as loaded and fire callback\n \t\tvar moduleId, chunkId, i = 0, resolves = [];\n \t\tfor(;i < chunkIds.length; i++) {\n \t\t\tchunkId = chunkIds[i];\n \t\t\tif(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) {\n \t\t\t\tresolves.push(installedChunks[chunkId][0]);\n \t\t\t}\n \t\t\tinstalledChunks[chunkId] = 0;\n \t\t}\n \t\tfor(moduleId in moreModules) {\n \t\t\tif(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {\n \t\t\t\tmodules[moduleId] = moreModules[moduleId];\n \t\t\t}\n \t\t}\n \t\tif(parentJsonpFunction) parentJsonpFunction(data);\n\n \t\twhile(resolves.length) {\n \t\t\tresolves.shift()();\n \t\t}\n\n \t\t// add entry modules from loaded chunk to deferred list\n \t\tdeferredModules.push.apply(deferredModules, executeModules || []);\n\n \t\t// run deferred modules when all chunks ready\n \t\treturn checkDeferredModules();\n \t};\n \tfunction checkDeferredModules() {\n \t\tvar result;\n \t\tfor(var i = 0; i < deferredModules.length; i++) {\n \t\t\tvar deferredModule = deferredModules[i];\n \t\t\tvar fulfilled = true;\n \t\t\tfor(var j = 1; j < deferredModule.length; j++) {\n \t\t\t\tvar depId = deferredModule[j];\n \t\t\t\tif(installedChunks[depId] !== 0) fulfilled = false;\n \t\t\t}\n \t\t\tif(fulfilled) {\n \t\t\t\tdeferredModules.splice(i--, 1);\n \t\t\t\tresult = __webpack_require__(__webpack_require__.s = deferredModule[0]);\n \t\t\t}\n \t\t}\n\n \t\treturn result;\n \t}\n\n \t// The module cache\n \tvar installedModules = {};\n\n \t// object to store loaded and loading chunks\n \t// undefined = chunk not loaded, null = chunk preloaded/prefetched\n \t// Promise = chunk loading, 0 = chunk loaded\n \tvar installedChunks = {\n \t\t\"app\": 0\n \t};\n\n \tvar deferredModules = [];\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"/\";\n\n \tvar jsonpArray = window[\"webpackJsonp\"] = window[\"webpackJsonp\"] || [];\n \tvar oldJsonpFunction = jsonpArray.push.bind(jsonpArray);\n \tjsonpArray.push = webpackJsonpCallback;\n \tjsonpArray = jsonpArray.slice();\n \tfor(var i = 0; i < jsonpArray.length; i++) webpackJsonpCallback(jsonpArray[i]);\n \tvar parentJsonpFunction = oldJsonpFunction;\n\n\n \t// add entry module to deferred list\n \tdeferredModules.push([0,\"chunk-vendors\"]);\n \t// run deferred modules when ready\n \treturn checkDeferredModules();\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.node.render)?_c('v-col',{class:_vm.classes,attrs:{\"cols\":_vm.cols}},[(_vm.node.children && 'object' === typeof _vm.node.children)?_c('v-row',_vm._l((_vm.node.children),function(value,key,index){return _c('node',{key:key,attrs:{\"index\":index,\"type\":key,\"node\":value}})}),1):_c('div',[(_vm.node.render)?_c(_vm.node.formComponent,{tag:\"component\",attrs:{\"name\":_vm.type,\"updateKey\":_vm.type,\"vuetifyProps\":_vm.getCustomProps(_vm.node),\"componentProps\":_vm.node}}):_vm._e()],1)],1):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.componentProps.render)?_c('v-text-field',_vm._b({attrs:{\"label\":_vm.componentProps.placeholder,\"counter\":_vm.counter,\"counter-value\":_vm.printCounterValue,\"error-messages\":_vm.displayErrors(_vm.componentProps.validation, _vm.$v.getCurrentValue)},on:{\"blur\":function($event){return _vm.validateInput(_vm.$v)},\"input\":function($event){return _vm.updateField(_vm.updateKey, $event)}},model:{value:(_vm.getCurrentValue),callback:function ($$v) {_vm.getCurrentValue=$$v},expression:\"getCurrentValue\"}},'v-text-field',_vm.vuetifyProps,false)):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import Vue from 'vue'\nimport Vuelidate from \"vuelidate\";\n\nimport {required, maxLength, url, numeric, minValue, maxValue} from 'vuelidate/lib/validators'\n\nconst isJson = (string) => {\n try {\n JSON.parse(string)\n return true\n } catch (e) {\n return false\n }\n}\n\nVue.use(Vuelidate)\n\nexport default {\n data() {\n return {\n messages: {\n required: 'This field is required',\n maxLength: 'Too long field',\n url: 'Invalid URL',\n minValue: '',\n maxValue: '',\n numeric: 'Number is required',\n isJson: 'The input value not in json format'\n },\n counter: '',\n }\n },\n methods: {\n printCounterValue() {\n if (this.counter !== '') {\n return this.currentValue.length\n }\n },\n displayErrors(validation, field, rating = false) {\n let errorMessages = []\n if (validation !== undefined) {\n for (const [key, value] of Object.entries(validation)) {\n if (field.$dirty && field.$invalid && !field[key]) {\n errorMessages.push(this.messages[key])\n }\n }\n }\n return errorMessages\n },\n validateInput($v) {\n $v.$touch()\n return\n },\n createValidatorsObject(items) {\n let Validators = {}\n\n if (items === undefined || Object.keys(items).length === 0) {\n return Validators\n }\n\n if (items.required) {\n Validators['required'] = required\n }\n\n if (items.maxLength > 0) {\n Validators['maxLength'] = maxLength(items['maxLength'])\n }\n\n if (items.url) {\n Validators['url'] = url\n }\n\n if (items.minValue > 0) {\n Validators['minValue'] = minValue(items['minValue'])\n }\n\n if (items.maxValue > 0) {\n Validators['maxValue'] = maxValue(items['maxValue'])\n }\n\n if (items.numeric) {\n Validators['numeric'] = numeric\n }\n\n if (items.isJson) {\n Validators['isJson'] = isJsone\n }\n\n return Validators\n }\n },\n mounted() {\n if (this.validation !== undefined && this.validation.maxLength !== undefined) {\n this.counter = this.validation.maxLength\n }\n }\n}\n","export default {\n props: {\n componentProps: {\n type: Object,\n default() {\n return {\n placeholder: '',\n validation: {},\n value: ''\n }\n }\n },\n name: {\n type: [String, Number],\n required: false\n },\n vuetifyProps: {\n type: Object,\n default() {\n return {}\n }\n }\n }\n}\n","import functions from \"@/mixins/functions\";\nimport {mapActions, mapGetters} from \"vuex\";\n\nexport default {\n mixins: [functions],\n data() {\n return {\n rating: {\n type: Object,\n default() {\n return {\n ratingValue: null,\n ratingCount: null,\n reviewCount: null,\n worstResult: null,\n bestResult: null,\n }\n }\n }\n }\n },\n methods: {\n ...mapActions(['setRatingResult', 'setWorstResult', 'setBestResult']),\n ...mapGetters(['getRating']),\n calculateRating(field, value) {\n if ('' !== value) {\n value = parseInt(value)\n }\n switch (field) {\n case 'aggregateRating.ratingValue':\n this.setRating(value)\n break;\n case 'aggregateRating.worstRating':\n this.setWorst(value)\n break;\n case 'aggregateRating.bestRating':\n this.setBest(value)\n break;\n default:\n break;\n\n }\n },\n setRating(value) {\n this.setRatingResult(value)\n },\n setWorst(value) {\n this.setWorstResult(value)\n },\n setBest(value) {\n this.setBestResult(value)\n }\n },\n mounted() {\n this.rating = this.getRating()\n }\n}\n","<template>\n <div>\n <v-text-field\n v-model=\"getCurrentValue\"\n v-if=\"componentProps.render\"\n :label=\"componentProps.placeholder\"\n @blur=\"validateInput($v)\"\n @input=\"updateField(updateKey, $event)\"\n :counter=\"counter\"\n :counter-value=\"printCounterValue\"\n :error-messages=\"displayErrors(componentProps.validation, $v.getCurrentValue)\"\n v-bind=\"vuetifyProps\"\n ></v-text-field>\n </div>\n</template>\n\n<script>\n\nimport validation from \"@/mixins/validation\";\nimport formProps from \"@/mixins/form-props\";\nimport rating from \"@/mixins/rating\";\nimport {mapGetters} from 'vuex'\nimport {schemaEmitter} from \"@/main\";\n\nexport default {\n mixins: [validation, formProps, rating],\n props: {\n updateKey: {\n type: [String, Array, Number],\n required: true\n }\n },\n data() {\n return {\n currentValue: '',\n }\n },\n methods: {\n ...mapGetters(['getSchemaType', 'getReviews']),\n updateField(field, value) {\n this.validateInput(this.$v)\n this.calculateRating(field, value)\n schemaEmitter.$emit('input', field, value)\n this.setRatingValues(field, value)\n this.calculateValue()\n this.duplicateValues(value)\n },\n setRatingValues(field, value) {\n let reviewsKeys = Object.keys(this.getReviews())\n reviewsKeys.forEach((key) => {\n if ('aggregateRating.bestRating' === field) {\n schemaEmitter.$emit('input', `review.${key}.reviewRating.bestRating`, value)\n schemaEmitter.$emit('input', `review.${key}.reviewRating.ratingValue`, {\n validation: {\n maxValue: value\n }\n })\n }\n if ('aggregateRating.worstRating' === field) {\n schemaEmitter.$emit('input', `review.${key}.reviewRating.worstRating`, value)\n schemaEmitter.$emit('input', `review.${key}.reviewRating.ratingValue`, {\n validation: {\n minValue: value\n }\n })\n }\n })\n },\n calculateValue() {\n if (this.componentProps.hasOwnProperty('calculateValue')) {\n let total = 0;\n let source = this.getSchemaType()\n let objectList = this.componentProps.calculateValue\n for (let item in objectList.from) {\n if (objectList.from.hasOwnProperty(item)) {\n let object = this.findVal(source, objectList.from[item])\n if ('' !== object.value) {\n total += parseInt(object.value)\n }\n }\n for (let item in objectList.to) {\n if (objectList.to.hasOwnProperty(item)) {\n let r = total > 0 ? total : ''\n schemaEmitter.$emit('input', objectList.to[item], r)\n }\n }\n }\n }\n }\n },\n mounted() {\n this.calculateRating(this.updateKey, this.getCurrentValue)\n },\n validations() {\n return {\n getCurrentValue: this.validators\n }\n },\n computed: {\n validators: {\n get() {\n return this.createValidatorsObject(this.componentProps.validation)\n },\n set(value) {\n return value\n }\n },\n getCurrentValue: {\n get() {\n return this.componentProps.value ?? 'adasdasd'\n },\n set(value) {\n return value\n }\n }\n }\n}\n</script>\n\n<style scoped>\n\n</style>\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Input.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Input.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Input.vue?vue&type=template&id=53a66dd1&scoped=true&\"\nimport script from \"./Input.vue?vue&type=script&lang=js&\"\nexport * from \"./Input.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"53a66dd1\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VTextField } from 'vuetify/lib/components/VTextField';\ninstallComponents(component, {VTextField})\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',_vm._l((_vm.getCurrentValue),function(item,key){return _c('div',{key:key,staticClass:\"repeater-items row\"},[_vm._l((item),function(el,k){return (!_vm.componentProps.hide)?_c('form-tree',{key:k,attrs:{\"index\":key,\"type\":k,\"node\":el}}):_vm._e()}),_c('v-row',[_c('v-col',{attrs:{\"cols\":\"6\"}},[_c('v-btn',{attrs:{\"small\":\"\",\"color\":\"primary\"},on:{\"click\":function($event){return _vm.addItem(key, _vm.componentProps.name)}}},[_c('v-icon',{attrs:{\"small\":\"\"}},[_vm._v(\" mdi-plus \")]),_vm._v(\" \"+_vm._s(_vm.componentProps.buttonTitle)+\" \")],1)],1),_c('v-col',{attrs:{\"cols\":\"6\"}},[_c('v-btn',{attrs:{\"small\":\"\",\"color\":\"error\",\"disabled\":_vm.disableButton},on:{\"click\":function($event){return _vm.deleteItem(key)}}},[_vm._v(\"Delete\")])],1)],1)],2)}),0)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <div>\n <div class=\"repeater-items row\" v-for=\"(item, key) in getCurrentValue\" :key=\"key\">\n <form-tree v-if=\"!componentProps.hide\" v-for=\"(el, k) in item\" :index=\"key\" :key=\"k\" :type=\"k\"\n :node=\"el\"></form-tree>\n <v-row>\n <v-col cols=\"6\">\n <v-btn small color=\"primary\" @click=\"addItem(key, componentProps.name)\">\n <v-icon small>\n mdi-plus\n </v-icon>\n {{ componentProps.buttonTitle }}\n </v-btn>\n </v-col>\n <v-col cols=\"6\">\n <v-btn small color=\"error\" @click=\"deleteItem(key)\" :disabled=\"disableButton\">Delete</v-btn>\n </v-col>\n </v-row>\n </div>\n </div>\n</template>\n\n<script>\nimport {schemaEmitter} from '@/main'\nimport {mapActions, mapGetters} from 'vuex'\nimport formProps from \"@/mixins/form-props\";\nimport functions from \"@/mixins/functions\";\nimport validation from \"@/mixins/validation\";\n\nexport default {\n mixins: [validation, formProps, functions],\n data() {\n return {\n currentValue: String,\n }\n },\n components: {\n FormTree: () => import(\"@/FormElements/FormTree\")\n },\n methods: {\n ...mapActions(['setReviewRating', 'updateReviewRating']),\n ...mapGetters(['getReviews', 'getRating', 'getDefaultData']),\n addItem(key, name) {\n let properties = {}\n if (this.componentProps.value.length === 1 && this.componentProps.hide) {\n properties['hide'] = false\n if ('review' === this.name || 'recipeInstructions' === this.name) {\n properties['renderJson'] = true\n }\n schemaEmitter.$emit('input', this.name, properties)\n } else {\n let itemObject = JSON.parse(JSON.stringify(this.findVal(this.getDefaultData(), this.componentProps.name)))\n let item = itemObject.value.shift()\n let newItem = this.changeItemKey(item, key, name)\n this.componentProps.value.push(newItem)\n schemaEmitter.$emit('input', this.name, {\n value: this.componentProps.value\n })\n }\n this.updateReviews()\n this.updateBreadcrumbs(this.componentProps.value)\n this.duplicateValues(this.componentProps.value)\n },\n deleteItem(id) {\n let properties = {}\n if (this.componentProps.value.length === 1 && this.componentProps.hide === false) {\n properties['hide'] = true\n if ('review' === this.name || 'recipeInstructions' === this.name) {\n properties['renderJson'] = false\n }\n schemaEmitter.$emit('input', this.name, properties)\n schemaEmitter.$emit('input', 'review.0.reviewRating.ratingValue', '')\n this.setReviewRating({\n 0: \"\"\n })\n this.updateRatingValues('')\n }\n if (this.componentProps.value.length > 1) {\n this.componentProps.value.splice(id, 1)\n schemaEmitter.$emit('input', this.name, {\n value: this.componentProps.value\n })\n }\n this.updateReviews()\n this.updateBreadcrumbs(this.componentProps.value)\n this.duplicateValues(this.componentProps.value)\n\n },\n changeItemKey(item, key, name) {\n let arrayKey = Object.keys(item).shift().split('.')\n arrayKey.splice(-1, 1)\n let id = arrayKey.join('.')\n let uuid = Math.random().toString(16).slice(2)\n let newKey = `${name}.${uuid}`\n let objectString = JSON.stringify(item)\n let exp = new RegExp(`\"${id}`, 'g')\n let newObject = objectString.replace(exp, `\"${newKey}`)\n newObject = newObject.replace(/\"uuid\":\"(.+?)\",/gm, `\"uuid\":\"${uuid}\",`)\n\n return JSON.parse(newObject)\n },\n updateReviews() {\n if ('review' === this.name && undefined !== this.getCurrentValue) {\n let reviewObject = {}\n this.getCurrentValue.forEach((item, index) => {\n let exp = new RegExp('.reviewRating.ratingValue$', 'g')\n let resultItem = this.findVal(item, exp, true)\n reviewObject[resultItem.uuid] = resultItem.value\n })\n this.setReviewRating(reviewObject)\n let rating = this.getRating()\n schemaEmitter.$emit('input', 'aggregateRating.ratingValue', rating.ratingValue)\n schemaEmitter.$emit('input', 'aggregateRating.ratingCount', rating.ratingCount)\n schemaEmitter.$emit('input', 'aggregateRating.reviewCount', rating.reviewCount)\n }\n },\n updateBreadcrumbs(items) {\n if ('itemListElement' === this.name) {\n items.forEach(function (item, i) {\n let keys = Object.keys(item)\n let positionKey = keys.filter(el => el.endsWith('.position')).shift()\n let index = i + 1\n schemaEmitter.$emit('input', positionKey, index)\n })\n }\n },\n },\n validations() {\n return {\n getCurrentValue: this.validators\n }\n },\n mounted() {\n this.updateReviews()\n },\n computed: {\n validators: {\n get() {\n return this.createValidatorsObject(this.componentProps.validation)\n },\n set(value) {\n return value\n }\n },\n getCurrentValue: {\n get() {\n this.validateInput(this.$v)\n this.duplicateValues(this.componentProps.value)\n return this.componentProps.value\n },\n set(value) {\n return value\n }\n },\n disableButton: function () {\n if (this.componentProps.hasOwnProperty('hide')) {\n return !!(this.componentProps.value.length === 1 && this.componentProps.hide);\n } else {\n return this.componentProps.value.length <= 1;\n }\n }\n }\n}\n</script>\n\n<style scoped>\n\n</style>\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Repeater.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Repeater.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Repeater.vue?vue&type=template&id=f1bcc2e0&scoped=true&\"\nimport script from \"./Repeater.vue?vue&type=script&lang=js&\"\nexport * from \"./Repeater.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"f1bcc2e0\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VRow } from 'vuetify/lib/components/VGrid';\ninstallComponents(component, {VBtn,VCol,VIcon,VRow})\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('v-select',_vm._b({attrs:{\"items\":_vm.componentProps.value,\"item-text\":\"value\",\"item-value\":\"value\",\"attach\":\"\",\"label\":_vm.componentProps.placeholder},on:{\"change\":function($event){_vm.updateField(_vm.updateKey, _vm.getSelectedObject($event, _vm.componentProps.value))}},model:{value:(_vm.selected),callback:function ($$v) {_vm.selected=$$v},expression:\"selected\"}},'v-select',_vm.vuetifyProps,false))],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <div>\n <v-select\n v-model=\"selected\"\n :items=\"componentProps.value\"\n item-text=\"value\"\n item-value=\"value\"\n attach=\"\"\n :label=\"componentProps.placeholder\"\n @change=\"updateField(updateKey, getSelectedObject($event, componentProps.value))\"\n v-bind=\"vuetifyProps\"\n ></v-select>\n </div>\n</template>\n\n<script>\n\nimport {mapGetters, mapActions, mapMutations} from 'vuex'\nimport {schemaEmitter} from \"@/main\";\nimport Schema from \"@//components/Schema\"\nimport formProps from '@/mixins/form-props'\nimport functions from \"@/mixins/functions\";\n\nexport default {\n mixins: [formProps, functions],\n props: ['name', 'placeholder', 'fieldValues', 'validation', 'updateKey', 'schemas_type'],\n components: {\n Schema\n },\n data() {\n return {\n selected: '',\n dropdown_texts: [],\n dropdown_values: [],\n schemas: this.schemas_type,\n result: '',\n }\n },\n methods: {\n ...mapActions(['run']),\n ...mapMutations(['updateProperty']),\n updateField(field, value) {\n schemaEmitter.$emit('input', field, {\n value: value\n })\n this.changeView()\n },\n changeView() {\n if (!this.getSchemaType.hasOwnProperty('offers')) {\n return\n }\n if ('undefined' === typeof this.componentProps.changeView || false === this.componentProps.changeView) {\n return\n }\n let offer = this.getSchemaType.offers.children\n for (const property in this.getSchemaType.offers.children) {\n for (const i in offer[property]) {\n if (i === \"showOnSelect\") {\n if (this.selected === offer[property][i]['value']) {\n schemaEmitter.$emit('input', property, {\n render: true,\n renderJson: offer[property][i]['show']['renderJson']\n })\n } else {\n schemaEmitter.$emit('input', property, {\n render: false,\n renderJson: offer[property][i]['hide']['renderJson'],\n value: this.setEmptyValue(offer[property]['value'])\n })\n }\n }\n }\n }\n this.updateProperty(['schemaType', this.getSchemaType])\n },\n getSelectedObject(value, fields) {\n let index = fields.findIndex((i) => {\n return value === i.value\n })\n for (let key in fields) {\n if (parseInt(key) === index) {\n fields[key].selected = true\n } else {\n fields[key].selected = false\n }\n }\n\n return fields\n },\n getSelectedValue() {\n let selected_index = this.componentProps.value.findIndex(function (i) {\n return i.selected\n })\n return this.componentProps.value[selected_index]\n },\n getDropDownText() {\n return this.componentProps.value.map(function (item) {\n return item.value\n })\n },\n getDropDownValues() {\n let result = []\n let keys = this.componentProps.value.keys()\n for (let key of keys) {\n result.push(key)\n }\n\n return result\n }\n },\n validations() {\n return {\n selected: this.validators\n }\n },\n mounted() {\n this.selected = this.getSelectedValue()\n // this.dropdown_texts = this.getDropDownText()\n // this.dropdown_values = this.getDropDownValues()\n },\n computed: {\n ...mapGetters([\"getJsonType\", \"getSchemaType\", \"getSourceType\"]),\n getSelectedItem: function () {\n return this.componentProps.value.findIndex(function (i) {\n return i.selected\n })\n }\n },\n // watch: {\n // selected: {\n // handler: 'changeView'\n // },\n // },\n\n}\n</script>\n\n<style scoped>\n\n</style>\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Selector.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Selector.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Selector.vue?vue&type=template&id=567bb4d8&scoped=true&\"\nimport script from \"./Selector.vue?vue&type=script&lang=js&\"\nexport * from \"./Selector.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"567bb4d8\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VSelect } from 'vuetify/lib/components/VSelect';\ninstallComponents(component, {VSelect})\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('v-menu',{attrs:{\"close-on-content-click\":false,\"nudge-right\":40,\"transition\":\"scale-transition\",\"offset-y\":\"\",\"attach\":\"\",\"min-width\":\"290px\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nvar attrs = ref.attrs;\nreturn [_c('v-text-field',_vm._g(_vm._b({attrs:{\"label\":_vm.componentProps.placeholder,\"prepend-icon\":\"event\",\"vuetifyProps\":_vm.vuetifyProps},model:{value:(_vm.getCurrentValue),callback:function ($$v) {_vm.getCurrentValue=$$v},expression:\"getCurrentValue\"}},'v-text-field',attrs,false),on))]}}]),model:{value:(_vm.menu2),callback:function ($$v) {_vm.menu2=$$v},expression:\"menu2\"}},[_c('v-date-picker',{on:{\"change\":function($event){_vm.menu2 = false},\"input\":function($event){return _vm.updateField(_vm.updateKey, $event)}},model:{value:(_vm.getCurrentValue),callback:function ($$v) {_vm.getCurrentValue=$$v},expression:\"getCurrentValue\"}})],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <div>\n <v-menu\n v-model=\"menu2\"\n :close-on-content-click=\"false\"\n :nudge-right=\"40\"\n transition=\"scale-transition\"\n offset-y\n attach=\"\"\n min-width=\"290px\"\n >\n <template v-slot:activator=\"{ on, attrs }\">\n <v-text-field\n v-model=\"getCurrentValue\"\n :label=\"componentProps.placeholder\"\n prepend-icon=\"event\"\n v-bind=\"attrs\"\n v-on=\"on\"\n :vuetifyProps=\"vuetifyProps\"\n ></v-text-field>\n </template>\n <v-date-picker v-model=\"getCurrentValue\" @change=\"menu2 = false\"\n @input=\"updateField(updateKey, $event)\"></v-date-picker>\n </v-menu>\n </div>\n</template>\n\n<script>\nimport {schemaEmitter} from \"@/main\";\nimport formProps from \"@/mixins/form-props\";\nimport functions from \"@/mixins/functions\";\n\nexport default {\n mixins: [formProps, functions],\n props: {\n updateKey: {\n type: [String, Array],\n required: true\n }\n },\n data: () => ({\n currentValue: new Date().toISOString().substr(0, 10),\n menu: false,\n modal: false,\n menu2: false,\n validators: {}\n }),\n methods: {\n updateField(field, value) {\n schemaEmitter.$emit('input', field, value)\n this.duplicateValues(value)\n }\n },\n mounted() {\n this.updateField(this.updateKey, this.getCurrentValue)\n },\n computed: {\n getCurrentValue: {\n get() {\n return this.componentProps.value ?? new Date().toISOString().substr(0, 10)\n },\n set(value) {\n return value\n }\n }\n }\n}\n</script>\n\n<style scoped>\n\n</style>\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DatePicker.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DatePicker.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./DatePicker.vue?vue&type=template&id=f3321252&scoped=true&\"\nimport script from \"./DatePicker.vue?vue&type=script&lang=js&\"\nexport * from \"./DatePicker.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"f3321252\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VDatePicker } from 'vuetify/lib/components/VDatePicker';\nimport { VMenu } from 'vuetify/lib/components/VMenu';\nimport { VTextField } from 'vuetify/lib/components/VTextField';\ninstallComponents(component, {VDatePicker,VMenu,VTextField})\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('v-textarea',{attrs:{\"label\":_vm.componentProps.placeholder,\"full-width\":_vm.fullWidth,\"counter\":_vm.counter,\"counter-value\":_vm.printCounterValue,\"error-messages\":_vm.displayErrors(_vm.componentProps.validation, _vm.$v.currentValue)},on:{\"input\":function($event){return _vm.updateField(_vm.updateKey, $event)},\"change\":function($event){return _vm.validateInput(_vm.$v)}},model:{value:(_vm.currentValue),callback:function ($$v) {_vm.currentValue=$$v},expression:\"currentValue\"}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <div>\n <v-textarea\n v-model=\"currentValue\"\n :label=\"componentProps.placeholder\"\n @input=\"updateField(updateKey, $event)\"\n @change=\"validateInput($v)\"\n :full-width=\"fullWidth\"\n :counter=\"counter\"\n :counter-value=\"printCounterValue\"\n :error-messages=\"displayErrors(componentProps.validation, $v.currentValue)\"\n ></v-textarea>\n </div>\n</template>\n\n<script>\n\nimport validation from \"@/mixins/validation\";\nimport formProps from \"@/mixins/form-props\";\nimport {schemaEmitter} from \"@/main\";\nimport functions from \"@/mixins/functions\";\n\nexport default {\n mixins: [validation, formProps, functions],\n props: {\n updateKey: {\n type: [String, Array],\n required: true\n },\n },\n data() {\n return {\n currentValue: '',\n validators: {},\n fullWidth: true\n }\n },\n methods: {\n updateField(field, value) {\n schemaEmitter.$emit('input', field, value)\n this.duplicateValues(value)\n }\n },\n validations() {\n return {\n currentValue: this.validators\n }\n },\n mounted() {\n this.validators = this.createValidatorsObject(this.componentProps.validation)\n this.currentValue = this.componentProps.value\n }\n}\n</script>\n\n<style scoped>\n\n</style>\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TextArea.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TextArea.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TextArea.vue?vue&type=template&id=2841bf26&scoped=true&\"\nimport script from \"./TextArea.vue?vue&type=script&lang=js&\"\nexport * from \"./TextArea.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"2841bf26\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VTextarea } from 'vuetify/lib/components/VTextarea';\ninstallComponents(component, {VTextarea})\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('v-text-field',_vm._b({attrs:{\"label\":_vm.componentProps.placeholder,\"counter\":_vm.counter,\"counter-value\":_vm.printCounterValue,\"error-messages\":_vm.displayErrors(_vm.componentProps.validation, _vm.$v.getCurrentValue)},on:{\"input\":function($event){return _vm.updateField(_vm.updateKey, $event)}},model:{value:(_vm.getCurrentValue),callback:function ($$v) {_vm.getCurrentValue=$$v},expression:\"getCurrentValue\"}},'v-text-field',_vm.vuetifyProps,false))],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <div>\n <v-text-field\n v-model=\"getCurrentValue\"\n :label=\"componentProps.placeholder\"\n @input=\"updateField(updateKey, $event)\"\n :counter=\"counter\"\n :counter-value=\"printCounterValue\"\n :error-messages=\"displayErrors(componentProps.validation, $v.getCurrentValue)\"\n v-bind=\"vuetifyProps\"\n ></v-text-field>\n </div>\n</template>\n\n<script>\n\nimport validation from \"@/mixins/validation\";\nimport formProps from \"@/mixins/form-props\";\nimport rating from \"@/mixins/rating\";\nimport {mapActions, mapGetters} from 'vuex'\nimport {schemaEmitter} from \"@/main\";\n\nexport default {\n mixins: [validation, formProps, rating],\n props: {\n updateKey: {\n type: [String, Array],\n required: true\n }\n },\n methods: {\n ...mapGetters(['getRating', 'getReviews']),\n ...mapActions(['updateReviewRating']),\n updateField(field, value) {\n let index = field.split('.')[1]\n if (undefined !== index) {\n this.updateReviewRating({\n number: index,\n value: value\n })\n }\n schemaEmitter.$emit('input', field, value)\n this.updateRatingValues(value)\n }\n },\n validations() {\n return {\n getCurrentValue: this.validators\n }\n },\n computed: {\n validators: {\n get() {\n return this.createValidatorsObject(this.componentProps.validation)\n },\n set(value) {\n return value\n }\n },\n getCurrentValue: {\n get() {\n this.validateInput(this.$v)\n return this.componentProps.value ?? parseInt(this.componentProps.value)\n },\n set(value) {\n return value\n }\n }\n }\n}\n</script>\n\n<style scoped>\n\n</style>\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ReviewRating.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ReviewRating.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./ReviewRating.vue?vue&type=template&id=36e7678f&scoped=true&\"\nimport script from \"./ReviewRating.vue?vue&type=script&lang=js&\"\nexport * from \"./ReviewRating.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"36e7678f\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VTextField } from 'vuetify/lib/components/VTextField';\ninstallComponents(component, {VTextField})\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('v-textarea',{attrs:{\"label\":_vm.componentProps.placeholder,\"full-width\":_vm.fullWidth,\"counter\":_vm.counter,\"counter-value\":_vm.printCounterValue,\"error-messages\":_vm.displayErrors(_vm.componentProps.validation, _vm.$v.currentValue)},on:{\"input\":function($event){return _vm.updateField(_vm.updateKey, $event)},\"change\":function($event){return _vm.validateInput(_vm.$v)}},model:{value:(_vm.currentValue),callback:function ($$v) {_vm.currentValue=$$v},expression:\"currentValue\"}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <div>\n <v-textarea\n v-model=\"currentValue\"\n :label=\"componentProps.placeholder\"\n @input=\"updateField(updateKey, $event)\"\n @change=\"validateInput($v)\"\n :full-width=\"fullWidth\"\n :counter=\"counter\"\n :counter-value=\"printCounterValue\"\n :error-messages=\"displayErrors(componentProps.validation, $v.currentValue)\"\n ></v-textarea>\n </div>\n</template>\n\n<script>\n\nimport validation from \"@/mixins/validation\";\nimport formProps from \"@/mixins/form-props\";\nimport {schemaEmitter} from \"@/main\";\nimport functions from \"@/mixins/functions\";\n\nexport default {\n mixins: [validation, formProps, functions],\n props: {\n updateKey: {\n type: [String, Array],\n required: true\n },\n },\n data() {\n return {\n currentValue: '',\n validators: {},\n fullWidth: true\n }\n },\n methods: {\n updateField(field, value) {\n schemaEmitter.$emit('input', field, value)\n }\n },\n validations() {\n return {\n currentValue: this.validators\n }\n },\n mounted() {\n this.validators = this.createValidatorsObject(this.componentProps.validation)\n if( this.componentProps.value ) {\n this.currentValue = JSON.stringify(this.componentProps.value)\n }\n }\n}\n</script>\n\n<style scoped>\n\n</style>\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Custom.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Custom.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Custom.vue?vue&type=template&id=530dda9f&scoped=true&\"\nimport script from \"./Custom.vue?vue&type=script&lang=js&\"\nexport * from \"./Custom.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"530dda9f\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VTextarea } from 'vuetify/lib/components/VTextarea';\ninstallComponents(component, {VTextarea})\n","import {schemaEmitter} from \"@/main\";\n\nexport default {\n data() {\n return {\n cols: 12,\n classes: ''\n }\n },\n mounted() {\n if (this.node.styles.cols !== undefined) {\n this.cols = this.node.styles.cols\n }\n if( this.node.styles.classes !== undefined ) {\n this.classes = this.node.styles.classes\n }\n }\n}\n","<template>\n <v-col :class=\"classes\" :cols=\"cols\" v-if=\"node.render\">\n <v-row v-if=\"node.children && 'object' === typeof node.children\">\n <node v-for=\"(value, key, index) in node.children\" :index=\"index\" :key=\"key\" :type=\"key\" :node=\"value\"></node>\n </v-row>\n <div v-else>\n <component\n v-if=\"node.render\"\n :is=\"node.formComponent\"\n :name=\"type\"\n :updateKey=\"type\"\n :vuetifyProps=\"getCustomProps(node)\"\n :componentProps=\"node\"\n ></component>\n </div>\n </v-col>\n</template>\n\n<script>\nimport Input from \"@/FormElements/Input\";\nimport Repeater from \"@/FormElements/Repeater\";\nimport Selector from \"@/FormElements/Selector\";\nimport DatePicker from \"@/FormElements/DatePicker\";\nimport TextArea from \"@/FormElements/TextArea\";\nimport ReviewRating from \"@/FormElements/ReviewRating\";\nimport Custom from \"@/FormElements/Custom\";\nimport styles from \"@/mixins/styles\";\n\nexport default {\n mixins: [styles],\n name: \"node\",\n props: {\n node: Object,\n type: [String, Number],\n index: Number\n },\n components: {\n Input,\n Selector,\n Repeater,\n DatePicker,\n TextArea,\n ReviewRating,\n Custom\n },\n methods: {\n getCustomProps(node) {\n return node.vuetifyProps !== undefined ? node.vuetifyProps : {}\n }\n },\n computed: {\n changeChildType() {\n return this.type.split('.').pop()\n }\n },\n mounted() {\n }\n}\n</script>\n\n<style scoped>\n.ptb-0 {\n padding-top: 0;\n padding-bottom: 0;\n}\n</style>\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FormTree.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FormTree.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./FormTree.vue?vue&type=template&id=a9df98ac&scoped=true&\"\nimport script from \"./FormTree.vue?vue&type=script&lang=js&\"\nexport * from \"./FormTree.vue?vue&type=script&lang=js&\"\nimport style0 from \"./FormTree.vue?vue&type=style&index=0&id=a9df98ac&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"a9df98ac\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VRow } from 'vuetify/lib/components/VGrid';\ninstallComponents(component, {VCol,VRow})\n","export default {\n filters: {\n beforeText: function (string, textBefore = '') {\n return `${textBefore}${string}`\n },\n afterText: function (string, textAfter = '') {\n return `${string}${textAfter}`\n },\n toMinutes: function (string) {\n return `PT${string}M`\n },\n clearSymbols: function (string, symbols) {\n symbols.forEach(symbol => {\n string = string.replaceAll(symbol, '')\n })\n return string\n },\n prettyJSON: function (string) {\n if (!string) {\n return ''\n }\n try {\n return JSON.stringify(string, null, 4)\n } catch (e) {\n return ''\n }\n }\n }\n}\n","export * from \"-!../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=style&index=0&lang=css&\"","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./JsonTree.vue?vue&type=style&index=0&id=516b3065&scoped=true&lang=css&\"","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Schema.vue?vue&type=style&index=0&lang=css&\"","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FormTree.vue?vue&type=style&index=0&id=a9df98ac&scoped=true&lang=css&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-app',{attrs:{\"id\":\"schema\"}},[_c('div',{attrs:{\"id\":\"app\"}},[_c('Schema',{attrs:{\"schemas_type\":_vm.schemasType}})],1)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <v-app id=\"schema\">\n <div id=\"app\">\n <Schema :schemas_type=\"schemasType\"/>\n </div>\n </v-app>\n</template>\n\n<script>\nimport Schema from \"./components/Schema\"\n\nexport default {\n name: 'App',\n data() {\n return {\n schemasType: [\n {\n title: \"Article\",\n description: '- NewsArticle, BlogPosting',\n icon: 'mdi-newspaper',\n },\n {\n title: \"Breadcrumbs\",\n description: '',\n icon: \"mdi-chevron-double-right\"\n },\n {\n title: \"FAQPage\",\n description: '',\n icon: \"mdi-help-circle-outline\"\n },\n {\n title: \"Product\",\n description: '- Offer, AggregateRating, Reviews',\n icon: \"mdi-tag-outline\"\n },\n {\n title: \"Recipe\",\n description: '',\n icon: \"mdi-chef-hat\"\n },\n {\n title: \"Custom\",\n description: '- Insert your own schema',\n icon: 'mdi-border-color'\n }\n ],\n }\n },\n components: {\n Schema\n }\n}\n</script>\n\n<style>\n\n#app {\n font-family: 'Avenir', Helvetica, Arial, sans-serif;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n text-align: center;\n color: #2c3e50;\n}\n\npre {\n text-align: left;\n}\n\n.test {\n margin-top: 50px;\n}\n\n.json-row {\n height: 15px;\n}\n\n.inner {\n margin-left: 5px;\n}\n\n.tag {\n color: #881280;\n}\n\n.attr {\n color: #994500;\n}\n\n.val {\n color: #1a1aa6;\n}\n\n#app input[type=checkbox],\n#app input[type=color],\n#app input[type=date],\n#app input[type=datetime-local],\n#app input[type=datetime],\n#app input[type=email],\n#app input[type=month],\n#app input[type=number],\n#app input[type=password],\n#app input[type=radio],\n#app input[type=search],\n#app input[type=tel],\n#app input[type=text],\n#app input[type=time],\n#app input[type=url],\n#app input[type=week],\n#app select,\n#app textarea,\n#app input[type=checkbox]:focus,\n#app input[type=color]:focus,\n#app input[type=date]:focus,\n#app input[type=datetime-local]:focus,\n#app input[type=datetime]:focus,\n#app input[type=email]:focus,\n#app input[type=month]:focus,\n#app input[type=number]:focus,\n#app input[type=password]:focus,\n#app input[type=radio]:focus,\n#app input[type=search]:focus,\n#app input[type=tel]:focus,\n#app input[type=text]:focus,\n#app input[type=time]:focus,\n#app input[type=url]:focus,\n#app input[type=week]:focus,\n#app select:focus,\n#app textarea:focus,\n#app input[readonly],\n#app textarea.readonly,\n#app textarea[readonly] {\n border: none;\n box-shadow: none;\n outline: none;\n transition: inherit;\n background-color: transparent;\n}\n#app input[readonly] {\n display: none;\n}\n</style>\n","import mod from \"-!../node_modules/cache-loader/dist/cjs.js??ref--12-0!../node_modules/thread-loader/dist/cjs.js!../node_modules/babel-loader/lib/index.js!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../node_modules/cache-loader/dist/cjs.js??ref--12-0!../node_modules/thread-loader/dist/cjs.js!../node_modules/babel-loader/lib/index.js!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./App.vue?vue&type=template&id=3ab913ec&\"\nimport script from \"./App.vue?vue&type=script&lang=js&\"\nexport * from \"./App.vue?vue&type=script&lang=js&\"\nimport style0 from \"./App.vue?vue&type=style&index=0&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VApp } from 'vuetify/lib/components/VApp';\ninstallComponents(component, {VApp})\n","import Vue from 'vue';\nimport Vuetify from 'vuetify/lib';\n\nVue.use(Vuetify);\n\nexport default new Vuetify({\n});\n","export default {\n state: {\n default: {},\n schemaType: {},\n jsonType: {},\n sourceType: {}\n },\n mutations: {\n updateDefault(state, data) {\n state['default'] = data\n },\n updateProperty(state, data) {\n state[data[0]] = data[1]\n },\n },\n actions: {\n setDefaultData: function ({commit}, data) {\n let object = JSON.parse(data.jsonString)\n commit('updateDefault', object[data.key])\n },\n run: function ({commit}, data) {\n if (data) {\n commit('updateProperty', ['schemaType', data])\n commit('updateProperty', ['jsonType', JSON.parse(JSON.stringify(data))])\n commit('updateProperty', ['sourceType', JSON.parse(JSON.stringify(data))])\n }\n }\n },\n getters: {\n getJsonType(state) {\n return state.jsonType;\n },\n getSchemaType(state) {\n return state.schemaType\n },\n getSourceType(state) {\n return state.sourceType\n },\n getDefaultData(state) {\n return state.default\n }\n }\n}","export default {\n state: {\n rating: {\n ratingValue: null,\n ratingCount: null,\n reviewCount: null,\n worstResult: null,\n bestResult: null,\n },\n reviews: {}\n },\n mutations: {\n updateReview(state, data) {\n state['reviews'][data.number] = data.value\n },\n setReview(state, data) {\n state['reviews'] = data\n },\n updateRating(state, data) {\n state['rating'] = data\n },\n },\n actions: {\n updateReviewRating({commit, dispatch}, review) {\n commit('updateReview', review)\n dispatch('calculateRating')\n },\n setReviewRating({commit, dispatch}, review) {\n commit('setReview', review)\n dispatch('calculateRating')\n },\n calculateRating({commit, getters}) {\n let currentRating = getters.getRating\n let total = null;\n let result = {\n ratingValue: null,\n ratingCount: null,\n reviewCount: null,\n worstResult: currentRating.worstResult,\n bestResult: currentRating.bestResult,\n }\n let ratingCount = null;\n let reviewRating = getters.getReviews\n let reviewCount = Object.keys(reviewRating).length\n for (let rating in reviewRating) {\n if (reviewRating.hasOwnProperty(rating) && reviewRating[rating] !== \"\") {\n ratingCount += 1\n total += parseInt(reviewRating[rating])\n }\n }\n if (null !== ratingCount) {\n result.ratingCount = ratingCount\n }\n if (null !== total) {\n result.ratingValue = total / ratingCount\n }\n result.reviewCount = reviewCount\n commit('updateRating', result)\n },\n setRatingResult({commit}, value) {\n // commit('updateRating', {\n // ratingValue: value\n // })\n },\n setBestResult({commit, getters}, value) {\n let currentRating = getters.getRating\n commit('updateRating', {\n ratingValue: currentRating.ratingValue,\n ratingCount: currentRating.ratingCount,\n reviewCount: currentRating.reviewCount,\n bestResult: value,\n worstResult: currentRating.worstResult\n })\n },\n setWorstResult({commit, getters}, value) {\n let currentRating = getters.getRating\n let reviews = getters.getReviews\n commit('updateRating', {\n ratingValue: currentRating.ratingValue,\n ratingCount: currentRating.ratingCount,\n reviewCount: currentRating.reviewCount,\n bestResult: currentRating.bestResult,\n worstResult: value\n })\n },\n },\n getters: {\n getRating(state) {\n return state.rating\n },\n getReviews(state) {\n return state.reviews\n }\n }\n}","export default {\n state: {\n currentSchema: {},\n schemasList: {},\n },\n mutations: {\n updateCurrentSchema(state, value) {\n state.currentSchema = value\n },\n updateSchemasList(state, value) {\n state.schemasList = value\n }\n },\n actions: {\n setCurrentSchema: function ({commit}, data) {\n commit('updateCurrentSchema', data)\n },\n setSchemasList: function ({commit}, data) {\n commit('updateSchemasList', data)\n }\n },\n getters: {\n getCurrentSchema(state) {\n return state.currentSchema;\n },\n getSchemasList(state) {\n return state.schemasList\n }\n }\n\n}","import Vue from 'vue'\nimport Vuex from 'vuex'\nimport schema from './modules/schema'\nimport rating from './modules/rating'\nimport currentSchema from './modules/current-schema'\n\nVue.use(Vuex)\n\nexport default new Vuex.Store({\n modules: {\n schema,\n rating,\n currentSchema\n }\n})\n","import Vue from 'vue'\nimport App from './App.vue'\nimport vuetify from './plugins/vuetify';\nimport 'material-design-icons-iconfont/dist/material-design-icons.css'\nimport store from './store'\n\nVue.config.productionTip = false\n\nexport const schemaEmitter = new Vue()\n\nnew Vue({\n vuetify,\n store,\n render: h => h(App),\n created() {\n if ('undefined' !== typeof schema_integration && schema_integration.hasOwnProperty('i18n')) {\n this.setLocaleData(schema_integration.i18n['schema_integration'])\n }\n }\n}).$mount('#app')\n","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ArrayItem.vue?vue&type=style&index=0&id=2226b39c&scoped=true&lang=css&\"","import {schemaEmitter} from \"@/main\";\nimport filters from \"@/mixins/filters\";\n\nexport default {\n mixins: [filters],\n methods: {\n findVal: function (object, key, regexp = false) {\n let value;\n Object.keys(object).some(k => {\n if (regexp && k.search(key) !== -1) {\n value = object[k];\n return true;\n } else if (k === key) {\n value = object[k];\n return true;\n }\n if (object[k] && typeof object[k] === 'object') {\n value = this.findVal(object[k], key, regexp);\n return value !== undefined;\n }\n })\n\n return value;\n },\n changeChildType: function (string) {\n return string.split('.').pop()\n },\n isLastItem: function (items, objects) {\n for (let item in items) {\n let renderJson = 'undefined' !== typeof objects[items[item]].renderJson ? objects[items[item]].renderJson : true\n if (!renderJson) {\n continue;\n } else {\n return false;\n }\n }\n\n return true\n },\n printComma: function (key, value) {\n let objects = Object.keys(value)\n let currentObjectKey = objects[key]\n\n let renderJson = 'undefined' !== typeof value[currentObjectKey].renderJson ? value[currentObjectKey].renderJson : true\n let length = objects.length\n\n if (key === length - 1) {\n return ''\n }\n if (!renderJson) {\n return ''\n }\n\n let spliceObject = objects.splice(key + 1, objects.length)\n if (spliceObject.length > 0) {\n return this.isLastItem(spliceObject, value) ? '' : ','\n }\n return ','\n },\n renderItem: function (item) {\n if (item.renderJson === undefined) {\n return true\n } else {\n return item.renderJson\n }\n },\n isObject: function (item) {\n return (item && typeof item === 'object' && !Array.isArray(item));\n },\n mergeDeep: function (target, ...sources) {\n if (!sources.length) return target;\n const source = sources.shift();\n\n if (this.isObject(target) && this.isObject(source)) {\n for (const key in source) {\n if (source.hasOwnProperty(key) && this.isObject(source[key])) {\n if (!target[key]) {\n Object.assign(target, {[key]: {}});\n } else {\n target[key] = Object.assign({}, target[key])\n }\n this.mergeDeep(target[key], source[key]);\n } else {\n Object.assign(target, {[key]: source[key]});\n }\n }\n }\n\n return this.mergeDeep(target, ...sources);\n },\n getFilters(string = '', filters = {}) {\n if (string) {\n for (let filter in filters) {\n if ('beforeText' === filter) {\n string = this.$options.filters.beforeText(string, filters[filter])\n }\n if ('afterText' === filter) {\n string = this.$options.filters.afterText(string, filters[filter])\n }\n if ('toMinutes' === filter) {\n string = this.$options.filters.toMinutes(string)\n }\n if ('clearSymbols' === filter) {\n string = this.$options.filters.clearSymbols(string, filters[filter])\n }\n }\n }\n\n return string\n },\n updateRatingValues(value) {\n let rating = this.getRating()\n let reviewsKeys = Object.keys(this.getReviews())\n let ratingValueObject = {\n value: rating.ratingValue\n }\n let ratingCountObject = {\n value: rating.ratingCount\n }\n reviewsKeys.forEach((key) => {\n schemaEmitter.$emit('input', `review.${key}.reviewRating.bestRating`, rating.bestResult)\n schemaEmitter.$emit('input', `review.${key}.reviewRating.worstRating`, rating.worstResult)\n schemaEmitter.$emit('input', `review.${key}.reviewRating.ratingValue`, {\n validation: {\n maxValue: rating.bestResult,\n minValue: rating.worstResult\n }\n })\n })\n if (rating.ratingValue) {\n ratingValueObject['vuetifyProps'] = {\n disabled: true\n }\n ratingCountObject['vuetifyProps'] = {\n disabled: true\n }\n } else {\n ratingValueObject['vuetifyProps'] = {\n disabled: false\n }\n ratingCountObject['vuetifyProps'] = {\n disabled: false\n }\n }\n if (rating.ratingValue >= 1) {\n schemaEmitter.$emit('input', 'aggregateRating', {\n renderJson: true\n })\n } else {\n schemaEmitter.$emit('input', 'aggregateRating', {\n renderJson: false\n })\n }\n schemaEmitter.$emit('input', 'aggregateRating.ratingValue', ratingValueObject)\n schemaEmitter.$emit('input', 'aggregateRating.ratingCount', ratingCountObject)\n },\n setEmptyValue(item) {\n let type = typeof item\n if ('string' === type) {\n return ''\n }\n\n if ('object' === type) {\n let newItem = [];\n item.forEach(el => {\n let obj = {}\n obj['selected'] = false\n obj['value'] = el.value\n newItem.push(obj)\n })\n return newItem\n }\n\n return ''\n },\n isNotEmptyValue(item) {\n let type = typeof item\n\n if ('string' === type) {\n return item.length > 0\n }\n if ('object' === type) {\n let selected = item.findIndex(el => {\n return el.selected\n })\n return -1 !== selected\n }\n\n return false\n },\n duplicateValues(value) {\n if (this.componentProps.hasOwnProperty('duplicateFor')) {\n let fields = this.componentProps.duplicateFor\n fields.forEach(field => {\n if ('string' === typeof value) {\n schemaEmitter.$emit('input', field, value)\n } else {\n schemaEmitter.$emit('input', field, {\n value: value\n })\n }\n })\n }\n }\n }\n}\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.node.formComponent === 'Input' || _vm.node.formComponent === 'TextArea' || _vm.node.formComponent === 'ReviewRating')?_c('div',[_c('single-item',{attrs:{\"name\":_vm.name,\"value\":_vm.node.value,\"comma\":_vm.comma,\"isDisplayName\":_vm.isDisplayName,\"filters\":_vm.getFiltersProp()}})],1):_vm._e(),(_vm.node.formComponent === 'DatePicker')?_c('div',[_c('date-item',{attrs:{\"name\":_vm.name,\"value\":_vm.node.value,\"comma\":_vm.comma}})],1):(_vm.node.formComponent === 'Selector')?_c('div',[_c('selector-item',{attrs:{\"name\":_vm.name,\"value\":_vm.node.value,\"filters\":_vm.getFiltersProp(),\"comma\":_vm.comma}})],1):(_vm.node.formComponent === 'Repeater' && _vm.node.repeaterType === 'object')?_c('div',[_c('object-item',{attrs:{\"name\":_vm.name,\"value\":_vm.node.value,\"comma\":_vm.comma}})],1):(_vm.node.formComponent === 'Repeater' && _vm.node.repeaterType === 'array' )?_c('div',[_c('array-item',{attrs:{\"name\":_vm.name,\"value\":_vm.node.value}})],1):(_vm.node.formComponent === false)?_c('div',[_c('span'),_c('span',[_vm._v(\"\\\"\"+_vm._s(_vm.name)+\"\\\"\")]),_vm._v(\": \"),_c('span',[_vm._v(\"{\")]),_vm._l((_vm.node.children),function(value,key,index){return (_vm.renderItem(value))?_c('node',{key:key,attrs:{\"name\":value.name,\"type\":key,\"node\":value,\"comma\":_vm.printComma(index, _vm.node.children)}}):_vm._e()}),_c('span',[_vm._v(\"}\"+_vm._s(_vm.comma))])],2):_vm._e()])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.isDisplayName)?_c('span',[_c('span',[_vm._v(\"\\\"\"+_vm._s(_vm.name)+\"\\\"\")]),_vm._v(\": \\\"\"),_c('span',{staticClass:\"schema_integration-str\",class:{ 'schema_integration-str__updated': _vm.isUpdate }},[_vm._v(_vm._s(_vm.getFilters(_vm.value, _vm.filters)))]),_vm._v(\"\\\"\"+_vm._s(_vm.comma)+\" \")]):_c('span',[_vm._v(\" \\\"\"),_c('span',{staticClass:\"schema_integration-str\",class:{ 'schema_integration-str__updated': _vm.isUpdate }},[_vm._v(_vm._s(_vm.getFilters(_vm.value, _vm.filters)))]),_vm._v(\"\\\"\"+_vm._s(_vm.comma)+\" \")])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","export default {\n props: {\n name: {\n type: String,\n required: true\n },\n value: {\n type: [String, Number, Array],\n required: false,\n default: ''\n },\n comma: {\n type: String,\n required: false,\n default: ','\n },\n isDisplayName: {\n type: Boolean,\n required: false,\n default: true\n },\n filters: {\n type: Object,\n default() {\n return {}\n }\n }\n }\n}\n","<template>\n <span v-if=\"isDisplayName\">\n <span>\"{{ name }}\"</span>: \"<span class=\"schema_integration-str\" :class=\"{ 'schema_integration-str__updated': isUpdate }\">{{ getFilters(value, filters) }}</span>\"{{ comma }}\n </span>\n <span v-else>\n \"<span class=\"schema_integration-str\" :class=\"{ 'schema_integration-str__updated': isUpdate }\">{{ getFilters(value, filters) }}</span>\"{{ comma }}\n </span>\n</template>\n\n<script>\n\nimport jsonProps from \"@/mixins/json-props\"\nimport functions from \"@/mixins/functions\";\n\nexport default {\n mixins: [functions, jsonProps],\n data() {\n return {\n isUpdate: false\n }\n },\n watch: {\n value(item) {\n if( item ) {\n this.isUpdate = item.length > 0\n }\n },\n }\n}\n</script>\n\n<style scoped>\n\n</style>\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SingleItem.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SingleItem.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./SingleItem.vue?vue&type=template&id=74a2251c&scoped=true&\"\nimport script from \"./SingleItem.vue?vue&type=script&lang=js&\"\nexport * from \"./SingleItem.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"74a2251c\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('span',[(_vm.value.length > 1)?_c('span',[_c('span'),_c('span',[_vm._v(\"\\\"\"+_vm._s(_vm.name)+\"\\\"\")]),_vm._v(\": \"),_c('span',[_vm._v(\"[\")]),_vm._l((_vm.value),function(item,key){return _c('span',{key:key},_vm._l((item),function(field,k,index){return (_vm.renderItem(field))?_c('json-tree',{key:k,attrs:{\"name\":field.name,\"type\":k,\"node\":field,\"comma\":_vm.printComma(key, _vm.value),\"isDisplayName\":_vm.display}}):_vm._e()}),1)}),_c('span'),_c('span',[_vm._v(\"]\"+_vm._s(_vm.printComma(0, _vm.value)))])],2):_c('span',_vm._l((_vm.value[0]),function(item,key){return _c('span',{key:key},[_c('span'),_c('span',[_vm._v(\"\\\"\"+_vm._s(_vm.name)+\"\\\"\")]),_vm._v(\": \\\"\"),_c('span',{staticClass:\"schema_integration-str\"},[_vm._v(_vm._s(item.value))]),_vm._v(\"\\\", \")])}),0)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <span>\n <span v-if=\"value.length > 1\">\n <span></span><span>\"{{ name }}\"</span>: <span>[</span>\n <span v-for=\"(item, key) in value\" :key=\"key\">\n <json-tree v-if=\"renderItem(field)\" v-for=\"(field, k, index) in item\" :name=\"field.name\" :key=\"k\" :type=\"k\" :node=\"field\"\n :comma=\"printComma(key, value)\" :isDisplayName=\"display\"></json-tree>\n </span>\n <span></span><span>]{{printComma(0, value)}}</span>\n </span>\n <span v-else>\n <span v-for=\"( item, key) in value[0]\" :key=\"key\">\n <span></span><span>\"{{ name }}\"</span>: \"<span class=\"schema_integration-str\">{{ item.value }}</span>\",\n </span>\n </span>\n </span>\n</template>\n\n<script>\nimport jsonProps from '@/mixins/json-props'\nimport functions from \"@/mixins/functions\";\n\nexport default {\n mixins: [jsonProps, functions],\n props: {\n value: {\n type: Array,\n required: true\n }\n },\n data() {\n return {\n display: false\n }\n },\n components: {\n JsonTree: () => import(\"@/JsonElements/JsonTree\")\n }\n}\n</script>\n\n<style scoped>\n.repeater-item {\n display: inline-block;\n width: 100%;\n margin-left: 20px;\n}\n</style>\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ArrayItem.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ArrayItem.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./ArrayItem.vue?vue&type=template&id=2226b39c&scoped=true&\"\nimport script from \"./ArrayItem.vue?vue&type=script&lang=js&\"\nexport * from \"./ArrayItem.vue?vue&type=script&lang=js&\"\nimport style0 from \"./ArrayItem.vue?vue&type=style&index=0&id=2226b39c&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"2226b39c\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.isDisplayName)?_c('span',[_c('span',[_vm._v(\"\\\"\"+_vm._s(_vm.name)+\"\\\"\")]),_vm._v(\": \\\"\"),_c('span',{staticClass:\"schema_integration-str\"},[_vm._v(_vm._s(_vm.getSelectedItem))]),_vm._v(\"\\\"\"+_vm._s(_vm.comma)+\" \")]):_c('span',[_vm._v(\" \\\"\"),_c('span',{staticClass:\"schema_integration-str\"},[_vm._v(_vm._s(_vm.getSelectedItem))]),_vm._v(\"\\\"\"+_vm._s(_vm.comma)+\" \")])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <span v-if=\"isDisplayName\">\n <span>\"{{ name }}\"</span>: \"<span class=\"schema_integration-str\">{{ getSelectedItem }}</span>\"{{ comma }}\n </span>\n <span v-else>\n \"<span class=\"schema_integration-str\">{{ getSelectedItem }}</span>\"{{ comma }}\n </span>\n</template>\n\n<script>\nimport jsonProps from \"@/mixins/json-props\"\nimport functions from \"@/mixins/functions\";\n\nexport default {\n mixins: [functions, jsonProps],\n computed: {\n getSelectedItem: function () {\n for (let item in this.value) {\n if (this.value[item].selected) {\n return this.getFilters(this.value[item].value, this.filters)\n }\n }\n }\n }\n}\n</script>\n\n<style scoped>\n\n</style>\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SelectorItem.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SelectorItem.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./SelectorItem.vue?vue&type=template&id=4fdb5c6a&scoped=true&\"\nimport script from \"./SelectorItem.vue?vue&type=script&lang=js&\"\nexport * from \"./SelectorItem.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"4fdb5c6a\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.isDisplayName)?_c('span',[_c('span',[_vm._v(\"\\\"\"+_vm._s(_vm.name)+\"\\\"\")]),_vm._v(\": \"),_c('span',[_vm._v(\"\\\"\"+_vm._s(_vm.value)+\"\\\"\")]),_vm._v(_vm._s(_vm.comma)+\" \")]):_c('span',[_c('span',[_vm._v(\"\\\"\"+_vm._s(_vm.value)+\"\\\"\")]),_vm._v(_vm._s(_vm.comma)+\" \")])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <span v-if=\"isDisplayName\">\n <span>\"{{ name }}\"</span>: <span>\"{{ value }}\"</span>{{ comma }}\n </span>\n <span v-else>\n <span>\"{{ value }}\"</span>{{ comma }}\n </span>\n</template>\n\n<script>\nimport jsonProps from \"@/mixins/json-props\"\n\nexport default {\n mixins: [jsonProps]\n}\n</script>\n\n<style scoped>\n\n</style>\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DateItem.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DateItem.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./DateItem.vue?vue&type=template&id=474081ee&scoped=true&\"\nimport script from \"./DateItem.vue?vue&type=script&lang=js&\"\nexport * from \"./DateItem.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"474081ee\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('span',[_c('span'),_c('span',[_vm._v(\"\\\"\"+_vm._s(_vm.name)+\"\\\"\")]),_vm._v(\": \"),_c('span',[_vm._v(\"[\")]),_vm._l((_vm.value),function(item,key){return _c('span',{key:key},[_vm._v(\"{ \"),_vm._l((item),function(field,k,index){return (_vm.renderItem(field))?_c('json-tree',{key:k,attrs:{\"name\":field.name,\"type\":k,\"node\":field,\"comma\":_vm.printComma(index, item),\"display-name\":_vm.display}}):_vm._e()}),_vm._v(\" }\"+_vm._s(_vm.printComma(key, _vm.value)))],2)}),_c('span'),_c('span',[_vm._v(\"]\"+_vm._s(_vm.comma))])],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <span>\n <span></span><span>\"{{ name }}\"</span>: <span>[</span>\n <span v-for=\"(item, key) in value\" :key=\"key\">{\n <json-tree v-if=\"renderItem(field)\" v-for=\"(field, k, index) in item\" :name=\"field.name\" :key=\"k\" :type=\"k\" :node=\"field\"\n :comma=\"printComma(index, item)\" :display-name=\"display\"></json-tree>\n }{{printComma(key, value)}}</span>\n <span></span><span>]{{comma}}</span>\n </span>\n</template>\n\n<script>\nimport jsonProps from '@/mixins/json-props'\nimport functions from \"@/mixins/functions\";\n\nexport default {\n mixins: [jsonProps, functions],\n props: {\n value: {\n type: Array,\n required: true\n }\n },\n data() {\n return {\n display: false\n }\n },\n components: {\n JsonTree: () => import(\"@/JsonElements/JsonTree\")\n }\n}\n</script>\n\n<style scoped>\n.repeater-item {\n display: inline-block;\n width: 100%;\n margin-left: 20px;\n}\n</style>\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ObjectItem.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ObjectItem.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./ObjectItem.vue?vue&type=template&id=71953de0&scoped=true&\"\nimport script from \"./ObjectItem.vue?vue&type=script&lang=js&\"\nexport * from \"./ObjectItem.vue?vue&type=script&lang=js&\"\nimport style0 from \"./ObjectItem.vue?vue&type=style&index=0&id=71953de0&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"71953de0\",\n null\n \n)\n\nexport default component.exports","<template>\n <div>\n <div\n v-if=\"node.formComponent === 'Input' || node.formComponent === 'TextArea' || node.formComponent === 'ReviewRating'\">\n <single-item :name=\"name\" :value=\"node.value\" :comma=\"comma\"\n :isDisplayName=\"isDisplayName\" :filters=\"getFiltersProp()\"></single-item>\n </div>\n <div v-if=\"node.formComponent === 'DatePicker'\">\n <date-item :name=\"name\" :value=\"node.value\" :comma=\"comma\"></date-item>\n </div>\n <div v-else-if=\"node.formComponent === 'Selector'\">\n <selector-item :name=\"name\" :value=\"node.value\" :filters=\"getFiltersProp()\" :comma=\"comma\"></selector-item>\n </div>\n <div v-else-if=\"node.formComponent === 'Repeater' && node.repeaterType === 'object'\">\n <object-item :name=\"name\" :value=\"node.value\" :comma=\"comma\"></object-item>\n </div>\n <div v-else-if=\"node.formComponent === 'Repeater' && node.repeaterType === 'array' \">\n <array-item :name=\"name\" :value=\"node.value\"></array-item>\n </div>\n <div v-else-if=\"node.formComponent === false\">\n <span></span><span>\"{{ name }}\"</span>: <span>{</span>\n <node v-if=\"renderItem(value)\" v-for=\"(value, key, index) in node.children\" :name=\"value.name\"\n :key=\"key\" :type=\"key\" :node=\"value\"\n :comma=\"printComma(index, node.children)\"></node>\n <span>}{{ comma }}</span>\n </div>\n </div>\n</template>\n\n<script>\n\nimport SingleItem from \"./SingleItem\";\nimport ArrayItem from \"./ArrayItem\";\nimport SelectorItem from \"./SelectorItem\";\nimport DateItem from \"./DateItem\";\nimport ObjectItem from \"@/JsonElements/ObjectItem\";\nimport functions from \"@/mixins/functions\";\n\nexport default {\n mixins: [functions],\n name: \"node\",\n props: {\n node: Object,\n type: [String, Number],\n comma: String,\n name: String,\n isDisplayName: {\n type: Boolean,\n required: false,\n default: true\n },\n },\n components: {\n SingleItem,\n ArrayItem,\n SelectorItem,\n DateItem,\n ObjectItem\n },\n methods: {\n getFiltersProp() {\n return this.node.hasOwnProperty('filters') ? this.node.filters : {}\n }\n }\n}\n</script>\n\n<style scoped>\n.node-tree {\n list-style-type: none;\n}\n\ndiv {\n margin-left: 10px;\n}\n</style>\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./JsonTree.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./JsonTree.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./JsonTree.vue?vue&type=template&id=516b3065&scoped=true&\"\nimport script from \"./JsonTree.vue?vue&type=script&lang=js&\"\nexport * from \"./JsonTree.vue?vue&type=script&lang=js&\"\nimport style0 from \"./JsonTree.vue?vue&type=style&index=0&id=516b3065&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"516b3065\",\n null\n \n)\n\nexport default component.exports","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CustomItem.vue?vue&type=style&index=0&id=2c4f9021&scoped=true&lang=css&\"","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./jsonBuilder.vue?vue&type=style&index=0&id=67395d6c&scoped=true&lang=css&\"","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ObjectItem.vue?vue&type=style&index=0&id=71953de0&scoped=true&lang=css&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-main',[_c('v-container',[_c('v-row',[_c('v-col',[_c('v-card',[_c('v-card-text',[_c('div',[_c('v-select',{attrs:{\"items\":_vm.getSchemasList,\"attach\":\"\",\"label\":\"Which Schema.org markup would you like to create?\"},on:{\"change\":function($event){return _vm.selectSchema($event)}},scopedSlots:_vm._u([{key:\"selection\",fn:function(data){return [_c('v-list-item',[_c('v-list-item-content',[_c('v-list-item-title',[_c('v-icon',{attrs:{\"small\":\"\"}},[_vm._v(_vm._s(data.item.icon))]),_vm._v(\" \"+_vm._s(data.item.title)+\" \")],1)],1)],1)]}},{key:\"item\",fn:function(data){return [_c('v-icon',{attrs:{\"small\":\"\"}},[_vm._v(_vm._s(data.item.icon))]),_c('v-list-item',[_c('v-list-item-content',[_c('v-list-item-title',[_vm._v(\" \"+_vm._s(data.item.title)+\" \"),_c('small',[_vm._v(_vm._s(data.item.description))])])],1)],1)]}}]),model:{value:(_vm.getSelectedSchema),callback:function ($$v) {_vm.getSelectedSchema=$$v},expression:\"getSelectedSchema\"}})],1)])],1)],1)],1),_c('v-row',[_c('v-col',{attrs:{\"cols\":\"7\"}},[_c('v-card',[_c('v-card-text',[_c('form-builder',{attrs:{\"config\":_vm.getSchemaType}})],1)],1)],1),_c('v-col',{attrs:{\"cols\":\"5\"}},[_c('v-card',{attrs:{\"height\":\"100%\"}},[_c('v-card-text',[_c('json-builder',{ref:\"jsonTemplate\",attrs:{\"config\":_vm.getJsonType}})],1)],1)],1)],1),_c('v-row',[_c('v-col',[_c('v-card',[_c('v-card-title',[_vm._v(\"Select schemas conditions\")]),_c('v-card-text',[_c('conditions',{attrs:{\"conditionsList\":_vm.conditions,\"currentConditions\":_vm.postConditions}})],1)],1)],1)],1),_c('v-row',[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.result),expression:\"result\"}],attrs:{\"type\":\"hidden\",\"name\":\"schema\"},domProps:{\"value\":(_vm.result)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.result=$event.target.value}}}),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.source),expression:\"source\"}],attrs:{\"type\":\"hidden\",\"name\":\"source\"},domProps:{\"value\":(_vm.source)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.source=$event.target.value}}}),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.getSchemaName),expression:\"getSchemaName\"}],attrs:{\"type\":\"hidden\",\"name\":\"schema_name\"},domProps:{\"value\":(_vm.getSchemaName)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.getSchemaName=$event.target.value}}})])],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import Article from '@/Config/Article.json'\nimport FAQPage from '@/Config/FAQPage.json'\nimport Product from '@/Config/Product.json'\nimport Recipe from '@/Config/Recipe.json'\nimport Breadcrumbs from '@/Config/Breadcrumbs.json'\nimport Custom from '@/Config/Custom.json'\n\nexport default {\n data() {\n return {\n config: {\n Article,\n FAQPage,\n Product,\n Recipe,\n Breadcrumbs,\n Custom\n }\n }\n }\n}","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-row',_vm._l((_vm.config),function(field,key,index){return _c('form-tree',{key:key,attrs:{\"index\":index,\"type\":key,\"node\":field}})}),1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <v-row>\n <form-tree v-for=\"(field, key, index) in config\" :index=\"index\" :key=\"key\" :type=\"key\" :node=\"field\"></form-tree>\n </v-row>\n</template>\n\n<script>\nimport FormTree from '../FormElements/FormTree'\nimport {schemaEmitter} from \"@/main\";\n\nexport default {\n props: ['config'],\n data() {\n return {\n formValues: {}\n }\n },\n components: {\n FormTree\n },\n methods: {\n updateField(field, value) {\n schemaEmitter.$emit('input', field, value)\n }\n }\n}\n</script>\n\n<style scoped>\n\n</style>\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./formBuilder.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./formBuilder.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./formBuilder.vue?vue&type=template&id=31de27a7&scoped=true&\"\nimport script from \"./formBuilder.vue?vue&type=script&lang=js&\"\nexport * from \"./formBuilder.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"31de27a7\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VRow } from 'vuetify/lib/components/VGrid';\ninstallComponents(component, {VRow})\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"json-wrapper\"},[_c('span',{staticClass:\"schema_integration-tag\"},[_vm._v(\"<script\")]),_vm._v(\" \"),_c('span',{staticClass:\"schema_integration-attr\"},[_vm._v(\"type\")]),_c('span',{staticClass:\"schema_integration-attr-value\"},[_vm._v(\"=\\\"application/ld+json\\\"\")]),_c('span',[_vm._v(\">\")]),_c('div',{ref:\"schema_integration_template\"},[(_vm.getCurrentSchema.title !== 'Custom')?_c('div',[_vm._m(0),_vm._l((_vm.config),function(field,key,index){return (_vm.renderItem(field))?_c('json-tree',{key:key,attrs:{\"name\":field.name,\"type\":key,\"node\":field,\"comma\":_vm.printComma(index, _vm.config)}}):_vm._e()}),_vm._m(1)],2):_c('div',[_c('custom-item',{attrs:{\"value\":_vm.config.custom.value}})],1)]),_c('span',{staticClass:\"schema_integration-tag\"},[_vm._v(\"</script>\")])])}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('span',[_vm._v(\"{\")])])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('span',[_vm._v(\"}\")])])}]\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('pre',[_vm._v(_vm._s(_vm._f(\"prettyJSON\")(_vm.value))+\" \")])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <pre>{{ value | prettyJSON }} </pre>\n</template>\n\n<script>\n\nimport filters from \"@/mixins/filters\";\n\nexport default {\n mixins: [filters],\n props: {\n value: {\n required: true,\n default: '',\n type: [String, Object],\n }\n }\n}\n</script>\n\n<style scoped>\n pre {\n white-space: pre-wrap;\n }\n</style>","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CustomItem.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CustomItem.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./CustomItem.vue?vue&type=template&id=2c4f9021&scoped=true&\"\nimport script from \"./CustomItem.vue?vue&type=script&lang=js&\"\nexport * from \"./CustomItem.vue?vue&type=script&lang=js&\"\nimport style0 from \"./CustomItem.vue?vue&type=style&index=0&id=2c4f9021&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"2c4f9021\",\n null\n \n)\n\nexport default component.exports","<template>\n <div class=\"json-wrapper\">\n <span class=\"schema_integration-tag\"><script</span> <span class=\"schema_integration-attr\">type</span><span\n class=\"schema_integration-attr-value\">=\"application/ld+json\"</span><span>></span>\n <div ref=\"schema_integration_template\">\n <div v-if=\"getCurrentSchema.title !== 'Custom'\">\n <div><span>{</span></div>\n <json-tree v-if=\"renderItem(field)\" v-for=\"(field, key, index) in config\" :name=\"field.name\" :key=\"key\"\n :type=\"key\"\n :node=\"field\"\n :comma=\"printComma(index, config)\"></json-tree>\n <div><span>}</span></div>\n </div>\n <div v-else>\n <custom-item :value=\"config.custom.value\"></custom-item>\n </div>\n </div>\n <span class=\"schema_integration-tag\"></script></span>\n </div>\n</template>\n\n<script>\n\nimport {mapGetters} from 'vuex'\nimport JsonTree from \"../JsonElements/JsonTree\";\nimport functions from \"@/mixins/functions\";\nimport CustomItem from \"@/JsonElements/CustomItem\";\n\nexport default {\n mixins: [functions],\n props: {\n config: Object\n },\n data() {\n return {\n render: true\n }\n },\n components: {\n CustomItem,\n JsonTree\n },\n computed: mapGetters(['getCurrentSchema']),\n}\n</script>\n\n<style scoped>\n\n.json-wrapper {\n font-size: 13px;\n line-height: 1.4;\n font-family: Menlo, Monaco, Consolas, \"Courier New\", monospace;\n color: grey;\n text-align: left;\n}\n\n.tree-list {\n list-style-type: none;\n}\n</style>\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./jsonBuilder.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./jsonBuilder.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./jsonBuilder.vue?vue&type=template&id=67395d6c&scoped=true&\"\nimport script from \"./jsonBuilder.vue?vue&type=script&lang=js&\"\nexport * from \"./jsonBuilder.vue?vue&type=script&lang=js&\"\nimport style0 from \"./jsonBuilder.vue?vue&type=style&index=0&id=67395d6c&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"67395d6c\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{staticClass:\"conditions-items\"},_vm._l((_vm.conditions),function(item,index){return _c('v-row',{key:index,staticClass:\"conditions-item\"},[_c('v-col',{attrs:{\"cols\":\"6\"}},[_c('v-select',{attrs:{\"items\":item.data,\"attach\":\"\",\"label\":\"Conditions list\"},on:{\"change\":function($event){return _vm.getConditionsValue(index, $event)}},model:{value:(item.selected),callback:function ($$v) {_vm.$set(item, \"selected\", $$v)},expression:\"item.selected\"}})],1),_c('v-col',{attrs:{\"cols\":\"6\"}},[(item.displayIds)?_c('div',[_c('v-text-field',{attrs:{\"type\":\"number\",\"label\":\"Add ID\"},on:{\"input\":function($event){return _vm.getConditionsValueIds(index, $event)}},model:{value:(item.ids),callback:function ($$v) {_vm.$set(item, \"ids\", $$v)},expression:\"item.ids\"}})],1):_vm._e()]),_c('v-row',[_c('v-col',{attrs:{\"cols\":\"6\"}},[_c('v-btn',{attrs:{\"small\":\"\",\"color\":\"primary\"},on:{\"click\":function($event){return _vm.addItem(index)}}},[_vm._v(\"Add\")])],1),_c('v-col',{attrs:{\"cols\":\"6\"}},[_c('v-btn',{attrs:{\"small\":\"\",\"color\":\"error\",\"disabled\":_vm.disableButton},on:{\"click\":function($event){return _vm.deleteItem(index)}}},[_vm._v(\"Delete\")])],1)],1)],1)}),1),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.result),expression:\"result\"}],attrs:{\"type\":\"hidden\",\"name\":'conditions'},domProps:{\"value\":(_vm.result)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.result=$event.target.value}}})])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <div>\n <div class=\"conditions-items\">\n <v-row v-for=\"(item, index) in conditions\" :key=\"index\" class=\"conditions-item\">\n <v-col cols=\"6\">\n <v-select\n v-model=\"item.selected\"\n :items=\"item.data\"\n attach\n label=\"Conditions list\"\n @change=\"getConditionsValue(index, $event)\"\n ></v-select>\n </v-col>\n <v-col cols=\"6\">\n <div v-if=\"item.displayIds\">\n <v-text-field\n type=\"number\"\n v-model=\"item.ids\"\n label=\"Add ID\"\n @input=\"getConditionsValueIds(index, $event)\"\n ></v-text-field>\n </div>\n </v-col>\n <v-row>\n <v-col cols=\"6\">\n <v-btn small color=\"primary\" @click=\"addItem(index)\">Add</v-btn>\n </v-col>\n <v-col cols=\"6\">\n <v-btn small color=\"error\" @click=\"deleteItem(index)\" :disabled=\"disableButton\">Delete</v-btn>\n </v-col>\n </v-row>\n </v-row>\n </div>\n <input type=\"hidden\" :name=\"'conditions'\" v-model=\"result\">\n </div>\n</template>\n\n<script>\n\nexport default {\n props: ['conditionsList', 'currentConditions'],\n data() {\n return {\n conditions: [\n {\n data: [],\n selected: '',\n displayIds: false,\n ids: ''\n }\n ],\n result: ''\n }\n },\n watch: {\n currentConditions: {\n handler: 'setConditions'\n },\n conditions: {\n deep: true,\n handler() {\n this.result = JSON.stringify(this.getConditionsResult())\n }\n }\n },\n methods: {\n addItem(index) {\n let item = JSON.parse(JSON.stringify(this.conditions[index]))\n this.conditions.push(item)\n },\n deleteItem(index) {\n if (this.conditions.length > 1) {\n this.conditions.splice(index, 1)\n }\n },\n getConditionsValue(index, value) {\n this.conditions[index].displayIds = value.startsWith('{custom_')\n },\n getConditionsValueIds(index, value) {\n this.conditions[index].ids = value\n },\n getConditionsResult() {\n let result = []\n this.conditions.forEach(item => {\n let newItem = {\n condition: item.selected,\n custom: item.displayIds ? item.ids : ''\n }\n result.push(newItem)\n })\n return result\n },\n setConditions() {\n if (this.currentConditions.length <= 0) {\n this.conditions[0].data = this.conditionsList\n } else {\n this.conditions.splice(0, 1)\n this.currentConditions.forEach(item => {\n this.conditions.push({\n data: this.conditionsList,\n selected: item.condition,\n ids: item.custom,\n displayIds: item.custom.length > 0\n })\n })\n }\n }\n },\n computed: {\n disableButton: function () {\n return this.conditions.length <= 1;\n }\n },\n created() {\n this.setConditions()\n }\n}\n</script>\n\n<style scoped>\n\n</style>","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Conditions.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Conditions.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Conditions.vue?vue&type=template&id=53d6957f&scoped=true&\"\nimport script from \"./Conditions.vue?vue&type=script&lang=js&\"\nexport * from \"./Conditions.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"53d6957f\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VRow } from 'vuetify/lib/components/VGrid';\nimport { VSelect } from 'vuetify/lib/components/VSelect';\nimport { VTextField } from 'vuetify/lib/components/VTextField';\ninstallComponents(component, {VBtn,VCol,VRow,VSelect,VTextField})\n","<template>\n <v-main>\n <v-container>\n <v-row>\n <v-col>\n <v-card>\n <v-card-text>\n <div>\n <v-select\n v-model=\"getSelectedSchema\"\n :items=\"getSchemasList\"\n attach\n label=\"Which Schema.org markup would you like to create?\"\n @change=\"selectSchema($event)\"\n >\n <template slot=\"selection\" slot-scope=\"data\">\n <v-list-item>\n <v-list-item-content>\n <v-list-item-title>\n <v-icon small>{{ data.item.icon }}</v-icon>\n {{ data.item.title }}\n </v-list-item-title>\n </v-list-item-content>\n </v-list-item>\n\n </template>\n <template slot=\"item\" slot-scope=\"data\">\n <v-icon small>{{ data.item.icon }}</v-icon>\n <v-list-item>\n <v-list-item-content>\n <v-list-item-title>\n {{ data.item.title }} <small>{{ data.item.description }}</small>\n </v-list-item-title>\n </v-list-item-content>\n </v-list-item>\n </template>\n </v-select>\n </div>\n </v-card-text>\n </v-card>\n </v-col>\n </v-row>\n <v-row>\n <v-col cols=\"7\">\n <v-card>\n <v-card-text>\n <form-builder :config=\"getSchemaType\"></form-builder>\n </v-card-text>\n </v-card>\n </v-col>\n <v-col cols=\"5\">\n <v-card\n height=\"100%\"\n >\n <v-card-text>\n <json-builder :config=\"getJsonType\" ref=\"jsonTemplate\"></json-builder>\n </v-card-text>\n </v-card>\n </v-col>\n </v-row>\n <v-row>\n <v-col\n >\n <v-card>\n <v-card-title>Select schemas conditions</v-card-title>\n <v-card-text>\n <conditions :conditionsList=\"conditions\" :currentConditions=\"postConditions\"></conditions>\n </v-card-text>\n </v-card>\n </v-col>\n </v-row>\n <v-row>\n <input type=\"hidden\" name=\"schema\" v-model=\"result\">\n <input type=\"hidden\" name=\"source\" v-model=\"source\">\n <input type=\"hidden\" name=\"schema_name\" v-model=\"getSchemaName\">\n </v-row>\n </v-container>\n </v-main>\n</template>\n\n<script>\n\nimport config from \"@/mixins/config\";\nimport functions from \"@/mixins/functions\";\nimport axios from 'axios'\nimport {mapGetters, mapActions, mapMutations} from 'vuex'\nimport FormBuilder from \"./formBuilder\";\nimport JsonBuilder from \"./jsonBuilder\";\nimport Conditions from \"@/CondtionsElements/Conditions\"\nimport {schemaEmitter} from \"@/main\";\n\n\nexport default {\n mixins: [config, functions],\n components: {\n FormBuilder,\n JsonBuilder,\n Conditions\n },\n props: {\n schemas_type: {\n type: Array,\n required: true\n }\n },\n data() {\n return {\n conditions: [],\n postConditions: [],\n componentKey: 0,\n schemaExist: false,\n schemaType: {},\n jsonType: {},\n sourceType: {},\n result: '',\n source: '',\n default: ''\n }\n },\n methods: {\n ...mapActions(['setDefaultData', 'setCurrentSchema', 'setSchemasList', 'run']),\n ...mapMutations(['updateProperty']),\n getInnerJson: function () {\n return this.$refs.jsonTemplate.$refs.schema_integration_template.innerText\n },\n getAjaxSchemaSettings: function (post_id, security) {\n axios.post('/wp-admin/admin-ajax.php?action=get_schema_settings', {\n 'post_id': post_id,\n 'security': security,\n })\n .then((response) => {\n if (response.data) {\n this.run(JSON.parse(response.data.schema))\n this.postConditions = JSON.parse(response.data.conditions)\n this.schemaExist = true\n this.setCurrentSchema(JSON.parse(response.data.schema_name))\n this.buildFromConfig(this.getCurrentSchema.title)\n this.setDefaultData({\n key: this.getCurrentSchema.title,\n jsonString: this.default\n })\n }\n })\n .catch((error) => {\n this.setCurrentSchema(this.schemas_type[0])\n const config = this.buildFromConfig(this.getCurrentSchema.title)\n this.setDefaultData({\n key: this.getCurrentSchema.title,\n jsonString: this.default\n })\n this.run(config)\n })\n },\n displayJsonTemplate(haystack, needle, data) {\n if ('undefined' !== typeof needle.value && 'undefined' !== typeof needle.showOnChange) {\n let show = this.findVal(haystack, needle.showOnChange)\n let type = typeof data\n if ('undefined' !== typeof show) {\n if ('object' !== type) {\n show.renderJson = '' !== data\n } else if (data && data.hasOwnProperty('value') && 'object' === typeof data.value) {\n let selected = data.value.find(i => {\n return i.selected\n })\n show.renderJson = 'undefined' !== typeof selected\n } else if (data && data.hasOwnProperty('renderJson')) {\n show.renderJson = data.renderJson\n }\n }\n }\n },\n updateObject(object, key, item) {\n let result = this.findVal(object, key)\n if (undefined !== result) {\n result = this.mergeDeep(result, item)\n this.displayJsonTemplate(object, result, item)\n }\n },\n updateItem(object, key, value) {\n let result = this.findVal(object, key)\n if ('undefined' !== typeof result && result.hasOwnProperty('value')) {\n result.value = value\n this.displayJsonTemplate(object, result, value)\n }\n },\n updateProperties() {\n this.updateProperty(['schemaType', this.getSchemaType])\n this.result = this.getInnerJson()\n this.source = JSON.stringify(this.getSourceType)\n },\n buildFromConfig: function (type) {\n let selected = type\n let defaultConfig = this.config\n let defaultConfigString = JSON.stringify(defaultConfig)\n this.default = defaultConfigString\n const config = JSON.parse(defaultConfigString)\n if ('undefined' !== typeof config[selected]) {\n return config[selected]\n } else {\n return false\n }\n },\n selectSchema: function (event) {\n this.setCurrentSchema(event)\n const config = this.buildFromConfig(this.getCurrentSchema.title)\n this.setDefaultData({\n key: this.getCurrentSchema.title,\n jsonString: this.default\n })\n this.run(config)\n this.itemWalker(this.getSchemaType)\n this.updateProperties()\n },\n itemWalker: function (items) {\n if ('object' === typeof items) {\n Object.entries(items).forEach(([index, item]) => {\n if (undefined !== item.children) {\n this.itemWalker(item.children)\n } else {\n if ('undefined' === typeof this.$options.components[item.formComponent] || false === item.render) {\n delete item[index]\n }\n }\n })\n }\n }\n }\n ,\n computed: {\n ...mapGetters([\"getJsonType\", \"getSchemaType\", \"getSourceType\", \"getCurrentSchema\", \"getSchemasList\"]),\n getSelectedSchema: {\n get() {\n return this.getCurrentSchema\n },\n set(value) {\n return this.setCurrentSchema(value)\n }\n },\n getSchemaName: {\n get() {\n return JSON.stringify(this.getCurrentSchema)\n },\n set(value) {\n return this.setCurrentSchema(value)\n }\n },\n },\n updated() {\n this.$nextTick(function () {\n this.result = this.getInnerJson()\n })\n },\n mounted() {\n schemaEmitter.$on('input', (key, value) => {\n if ('object' === typeof value) {\n this.updateObject(this.getSchemaType, key, value)\n this.updateObject(this.getJsonType, key, value)\n this.updateObject(this.getSourceType, key, value)\n } else {\n try {\n value = JSON.parse(value)\n } catch (e) {\n }\n this.updateItem(this.getSchemaType, key, value)\n this.updateItem(this.getJsonType, key, value)\n this.updateItem(this.getSourceType, key, value)\n }\n this.updateProperties()\n this.result = this.getInnerJson()\n this.source = JSON.stringify(this.getSourceType)\n })\n setTimeout(() => {\n this.result = this.getInnerJson()\n this.source = JSON.stringify(this.getSourceType)\n }, 1000);\n },\n created() {\n if ('undefined' !== typeof wp && wp.hasOwnProperty('i18n')) {\n const {__, _x, _n, _nx} = wp.i18n;\n }\n let root = document.getElementById('app')\n if (null !== root) {\n let post_id = root.getAttribute('data-id')\n let security = root.getAttribute('data-security')\n let conditions = root.getAttribute('data-conditions')\n this.conditions = JSON.parse(conditions)\n\n if (post_id) {\n this.setSchemasList(this.schemas_type)\n this.getAjaxSchemaSettings(post_id, security)\n }\n }\n },\n beforeDestroy() {\n schemaEmitter.$off('input')\n }\n}\n</script>\n\n<style>\n.schema_integration-tag {\n color: #881280;\n}\n\n.schema_integration-attr {\n color: #994500;\n}\n\n.schema_integration-attr-value {\n color: #1a1aa6;\n}\n\n.schema_integration-str {\n background-color: #ffc10780;\n font-weight: 700;\n}\n\n.schema_integration-str__updated {\n color: #f44336;\n}\n</style>\n\n<style scoped>\n\n</style>\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Schema.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Schema.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Schema.vue?vue&type=template&id=01819fa8&scoped=true&\"\nimport script from \"./Schema.vue?vue&type=script&lang=js&\"\nexport * from \"./Schema.vue?vue&type=script&lang=js&\"\nimport style0 from \"./Schema.vue?vue&type=style&index=0&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"01819fa8\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VCard } from 'vuetify/lib/components/VCard';\nimport { VCardText } from 'vuetify/lib/components/VCard';\nimport { VCardTitle } from 'vuetify/lib/components/VCard';\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VContainer } from 'vuetify/lib/components/VGrid';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VListItem } from 'vuetify/lib/components/VList';\nimport { VListItemContent } from 'vuetify/lib/components/VList';\nimport { VListItemTitle } from 'vuetify/lib/components/VList';\nimport { VMain } from 'vuetify/lib/components/VMain';\nimport { VRow } from 'vuetify/lib/components/VGrid';\nimport { VSelect } from 'vuetify/lib/components/VSelect';\ninstallComponents(component, {VCard,VCardText,VCardTitle,VCol,VContainer,VIcon,VListItem,VListItemContent,VListItemTitle,VMain,VRow,VSelect})\n"],"sourceRoot":""} -
schema-integration/trunk/core/schema/class-schema.php
r2471803 r2486647 57 57 if ( ! empty( $this->schemas ) ) { 58 58 foreach ( $this->schemas as $schema_template ) { 59 echo wp_kses( 60 '<script type="application/ld+json">' . $schema_template . '</script>', 61 [ 62 'script' => 63 [ 64 'type' => true, 65 ], 66 ] 67 ); 59 if ( ! empty( $schema_template ) ) { 60 echo wp_kses( 61 '<script type="application/ld+json">' . $schema_template . '</script>', 62 [ 63 'script' => 64 [ 65 'type' => true, 66 ], 67 ] 68 ); 69 } 68 70 } 69 71 } -
schema-integration/trunk/schema-integration.php
r2471803 r2486647 16 16 * Plugin URI: / 17 17 * Description: This is a short description of what the plugin does. It's displayed in the WordPress admin area. 18 * Version: 1.2. 018 * Version: 1.2.1 19 19 * Author: VO3DA Team 20 20 * Author URI: vo3da.tech … … 41 41 * Rename this for your plugin and update it as you release new versions. 42 42 */ 43 define( 'SCHEMA_INTEGRATION_VERSION', '1.2. 0' );43 define( 'SCHEMA_INTEGRATION_VERSION', '1.2.1' ); 44 44 45 45 /** -
schema-integration/trunk/vendor/autoload.php
r2471803 r2486647 5 5 require_once __DIR__ . '/composer/autoload_real.php'; 6 6 7 return ComposerAutoloaderInit 4e5121abaa13a48a8d5aa0b7c3ae5f2c::getLoader();7 return ComposerAutoloaderInitc4554a11f9e2cd694e57895c845e1cfe::getLoader(); -
schema-integration/trunk/vendor/composer/autoload_real.php
r2471803 r2486647 3 3 // autoload_real.php @generated by Composer 4 4 5 class ComposerAutoloaderInit 4e5121abaa13a48a8d5aa0b7c3ae5f2c5 class ComposerAutoloaderInitc4554a11f9e2cd694e57895c845e1cfe 6 6 { 7 7 private static $loader; … … 23 23 } 24 24 25 spl_autoload_register(array('ComposerAutoloaderInit 4e5121abaa13a48a8d5aa0b7c3ae5f2c', 'loadClassLoader'), true, true);25 spl_autoload_register(array('ComposerAutoloaderInitc4554a11f9e2cd694e57895c845e1cfe', 'loadClassLoader'), true, true); 26 26 self::$loader = $loader = new \Composer\Autoload\ClassLoader(); 27 spl_autoload_unregister(array('ComposerAutoloaderInit 4e5121abaa13a48a8d5aa0b7c3ae5f2c', 'loadClassLoader'));27 spl_autoload_unregister(array('ComposerAutoloaderInitc4554a11f9e2cd694e57895c845e1cfe', 'loadClassLoader')); 28 28 29 29 $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded()); … … 31 31 require_once __DIR__ . '/autoload_static.php'; 32 32 33 call_user_func(\Composer\Autoload\ComposerStaticInit 4e5121abaa13a48a8d5aa0b7c3ae5f2c::getInitializer($loader));33 call_user_func(\Composer\Autoload\ComposerStaticInitc4554a11f9e2cd694e57895c845e1cfe::getInitializer($loader)); 34 34 } else { 35 35 $map = require __DIR__ . '/autoload_namespaces.php'; … … 52 52 53 53 if ($useStaticLoader) { 54 $includeFiles = Composer\Autoload\ComposerStaticInit 4e5121abaa13a48a8d5aa0b7c3ae5f2c::$files;54 $includeFiles = Composer\Autoload\ComposerStaticInitc4554a11f9e2cd694e57895c845e1cfe::$files; 55 55 } else { 56 56 $includeFiles = require __DIR__ . '/autoload_files.php'; 57 57 } 58 58 foreach ($includeFiles as $fileIdentifier => $file) { 59 composerRequire 4e5121abaa13a48a8d5aa0b7c3ae5f2c($fileIdentifier, $file);59 composerRequirec4554a11f9e2cd694e57895c845e1cfe($fileIdentifier, $file); 60 60 } 61 61 … … 64 64 } 65 65 66 function composerRequire 4e5121abaa13a48a8d5aa0b7c3ae5f2c($fileIdentifier, $file)66 function composerRequirec4554a11f9e2cd694e57895c845e1cfe($fileIdentifier, $file) 67 67 { 68 68 if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) { -
schema-integration/trunk/vendor/composer/autoload_static.php
r2471803 r2486647 5 5 namespace Composer\Autoload; 6 6 7 class ComposerStaticInit 4e5121abaa13a48a8d5aa0b7c3ae5f2c7 class ComposerStaticInitc4554a11f9e2cd694e57895c845e1cfe 8 8 { 9 9 public static $files = array ( … … 109 109 { 110 110 return \Closure::bind(function () use ($loader) { 111 $loader->prefixLengthsPsr4 = ComposerStaticInit 4e5121abaa13a48a8d5aa0b7c3ae5f2c::$prefixLengthsPsr4;112 $loader->prefixDirsPsr4 = ComposerStaticInit 4e5121abaa13a48a8d5aa0b7c3ae5f2c::$prefixDirsPsr4;113 $loader->prefixesPsr0 = ComposerStaticInit 4e5121abaa13a48a8d5aa0b7c3ae5f2c::$prefixesPsr0;114 $loader->classMap = ComposerStaticInit 4e5121abaa13a48a8d5aa0b7c3ae5f2c::$classMap;111 $loader->prefixLengthsPsr4 = ComposerStaticInitc4554a11f9e2cd694e57895c845e1cfe::$prefixLengthsPsr4; 112 $loader->prefixDirsPsr4 = ComposerStaticInitc4554a11f9e2cd694e57895c845e1cfe::$prefixDirsPsr4; 113 $loader->prefixesPsr0 = ComposerStaticInitc4554a11f9e2cd694e57895c845e1cfe::$prefixesPsr0; 114 $loader->classMap = ComposerStaticInitc4554a11f9e2cd694e57895c845e1cfe::$classMap; 115 115 116 116 }, null, ClassLoader::class);
Note: See TracChangeset
for help on using the changeset viewer.