{"version":3,"sources":["webpack:///./src/types/Form.interface.ts","webpack:///./src/components/FormFields.vue?6096","webpack:///./src/mixins/forms-mixin.ts","webpack:///./src/components/FieldForm.vue?3c25","webpack:///./src/components/FieldForm.vue","webpack:///./src/components/FieldForm.vue?e78e","webpack:///./src/components/FieldForm.vue?1ea7","webpack:///./src/components/FormFields.vue","webpack:///./src/components/FormFields.vue?12de","webpack:///./src/components/FormFields.vue?11fa","webpack:///./src/components/ChatBotDemo.vue?80b3","webpack:///./src/components/FormFields.vue?7c36","webpack:///./src/views/FormsProfile.vue?9557","webpack:///./src/components/FormStyleEditor.vue?24a1","webpack:///./src/components/FormLinks.vue?2974","webpack:///./src/components/FormLinks.vue","webpack:///./src/components/FormLinks.vue?f8d3","webpack:///./src/components/FormLinks.vue?3acc","webpack:///./src/views/FormsIndex.vue?6014","webpack:///./src/views/FormsIndex.vue","webpack:///./src/views/FormsIndex.vue?cd20","webpack:///./src/views/FormsIndex.vue?b296","webpack:///./src/components/ChatbotStyleEditor.vue?73ae","webpack:///./src/components/FormMessages.vue?ed37","webpack:///./src/components/FormSubmissions.vue?a256","webpack:///./src/components/FormMessages.vue?7dd0","webpack:///./src/components/FormMessages.vue","webpack:///./src/components/FormMessages.vue?5e5b","webpack:///./src/components/FormMessages.vue?a755","webpack:///./src/views/ChatBotProfile.vue?c369","webpack:///./src/components/ChatBotDemo.vue?b7a3","webpack:///./src/components/ChatBotDemo.vue","webpack:///./src/components/ChatBotDemo.vue?ef2e","webpack:///./src/components/ChatBotDemo.vue?e608","webpack:///./src/components/ChatbotStyleEditor.vue?086e","webpack:///./src/components/ChatbotStyleEditor.vue","webpack:///./src/components/ChatbotStyleEditor.vue?11e2","webpack:///./src/components/ChatbotStyleEditor.vue?2f70","webpack:///./src/views/ChatBotProfile.vue","webpack:///./src/views/ChatBotProfile.vue?d530","webpack:///./src/views/ChatBotProfile.vue?9cc8","webpack:///./src/components/ContactFormDemo.vue?ea4e","webpack:///./src/components/FieldForm.vue?43e8","webpack:///./src/views/ChatBotProfile.vue?0400","webpack:///./src/views/ChatBotsIndex.vue?613c","webpack:///./src/types/Chatbot.interface.ts","webpack:///./src/views/ChatBotsIndex.vue","webpack:///./src/views/ChatBotsIndex.vue?a99e","webpack:///./src/views/ChatBotsIndex.vue?f6ad","webpack:///./src/components/FormStyleImage.vue?48d4","webpack:///./src/components/FormStyleImage.vue","webpack:///./src/components/FormStyleImage.vue?ed7e","webpack:///./src/components/FormStyleImage.vue?78fa","webpack:///./src/views/FormsProfile.vue?0c93","webpack:///./src/components/ContactFormDemo.vue?0363","webpack:///./src/components/ContactFormDemo.vue","webpack:///./src/components/ContactFormDemo.vue?66e7","webpack:///./src/components/ContactFormDemo.vue?83a1","webpack:///./src/components/FormStyleEditor.vue?1a80","webpack:///./src/components/FormStyleEditor.vue","webpack:///./src/components/FormStyleEditor.vue?6473","webpack:///./src/components/FormStyleEditor.vue?b06d","webpack:///./src/components/FormSubmissions.vue?3da1","webpack:///./src/components/FormSubmissions.vue","webpack:///./src/components/FormSubmissions.vue?0198","webpack:///./src/components/FormSubmissions.vue?582e","webpack:///./src/views/FormsProfile.vue","webpack:///./src/views/FormsProfile.vue?2205","webpack:///./src/views/FormsProfile.vue?88e7"],"names":["FormMessageAttribute","FormType","render","_vm","this","_h","$createElement","_c","_self","staticClass","attrs","$vuetify","breakpoint","xsOnly","_v","on","popContactFieldHelp","popLabelHelp","_e","popFieldTypeHelp","popRequiredHelp","loading","$event","onDrop","_l","input","i","key","ref","refInFor","selectableFields","deleteField","fieldDuplicate","updateForm","class","length","popFieldForm","popExtensionForm","staticRenderFns","methods","getDefaultInput","inputName","defInputs","$store","getters","formDefaultInputs","foundInput","find","x","name","newInput","getCustomInput","id","randomKey","ext","getExtension","type","toUpperCase","label","path","cols","order","validate","required","options","data","staticStyle","disabled","disableInputChange","inputChange","labelChange","_s","_f","disableDelete","scopedSlots","_u","fn","_g","$emit","disableRequired","model","value","callback","$$v","$set","expression","Vue","extend","mixins","forms","props","availableFields","Array","Boolean","default","Object","tempLabel","mounted","computed","fields","map","text","push","event","src","target","assign","component","VBtn","VCheckbox","VCol","VContainer","VIcon","VRow","VScaleTransition","VSelect","VTextField","VTooltip","extensionsMixin","components","Container","Draggable","FieldFormComponent","defaultFields","formFields","awaitingExtensions","sort","a","b","selectedFields","selectable","filter","includes","addField","field","len","idx","checkOrder","index","findIndex","f","splice","temp","window","_","cloneDeep","getChildPayload","dropResult","payload","incr","addedIndex","decr","removedIndex","newIndex","dispatch","title","icon","color","extension","newExtensionOption","inputs","extensionOptionInputs","closeable","extensionCreate","titleStyles","closeOnSubmit","link","header","copytoClipboard","links","formsEnabled","showPaywall","toolbar","createNewForm","proxy","formsListPlaceholder","formTile","content","img","formIcon","IListIconType","help","body","button","process","left","back","tooltip","permission","feature","right","mapGetters","total","resp","$router","formActions","form","menu","formDelete","action","IListActionType","formColumns","one","line2","two","submissions","columns","result","res","commit","message","leftIcon","actionContent","goToForm","$route","VSpacer","hidden","popHelp","helpText","operator","errorList","messageKeys","media","submit","messages","cloneMessages","role","userRole","user","getProps","forEach","attr","attribute","isEdited","tempMessage","isEqual","formMsg","obj","msg","edited","watch","deep","handler","VFadeTransition","smAndUp","rightWidth","scriptLink","panel","description","chatbotDefaultInputs","chatbotFields","updateChatbot","selectedChatbot","styles","schema","submitStyles","submitSchema","responseMessage","updateMessage","brandingEnabled","removeBranding","chatbotStylesIcon","image","setChatbotIcon","removeChatbotIcon","_m","String","insertChatbot","beforeDestroy","destroyChatbot","document","getElementById","remove","head","getElementsByTagName","script","createElement","appendChild","panelHeaderColor","chatbotStyles","agent","setAgentImage","removeImage","calloutMessageInput","updateModel","openedStateInputs","indexOf","_k","keyCode","chatbotSchema","welcomeMessageInput","updateWelcomeMessage","complianceSubmitInputs","updateSchema","colorInputs","successMessageInput","updateSuccessMessage","FormStyleImage","InputType","TEXTAREA","rows","COLORBTN","colClass","mode","ColorMode","hexa","TEXT","submitInput","appForm","$refs","$validator","valid","val","objectSet","successMessage","VExpansionPanel","VExpansionPanelContent","VExpansionPanelHeader","VExpansionPanels","ChatbotDemo","ChatbotStyleEditor","FormFields","FormLinks","FormMessages","chatbotEnabled","getEnabled","chatbot","chatbotPanels","hasPhoneNumberField","phone","response_message","response_media","bp","lg","md","sm","baseURL","axios","defaults","get","chatbotsViewSelectedChatbot","set","popPhoneNumberFieldError","paywall_type","metadata","unsetChatbot","response_message_media_id","ChatbotSchemaContentType","btnTxt","btnHandler","chatbots","defaultInputs","tenant","existingChatbot","chatbotsCount","defaultSchema","contentType","complianceMessage","company_name","submitMessage","reciever","defaultStyles","subtitle","colors","primary","secondary","background","bubbles","sender","goToProfile","createNewChatbot","newChatbot","object","Date","toISOString","response_enabled","allowed_domains","changeImage","style","stopPropagation","MessageMediaMenu","file","VImg","hover","titleFocused","onTitleBlur","selectedForm","onContactFormToggled","viewFormSubmissions","successView","group_id","selectedFormSubmissions","createFormGroup","onStyleEditorChanged","formMessages","updateFormMessage","footerDisplay","submitted","formStyles","imageSrcSuccess","success","imageSrcForm","_b","formInputStyles","dynamicInputs","stylesButton","foooter","footer","display","referralLink","logoHeight","$images","poweredBy","contentHeight","innerHeight","pageHeight","loadExtensions","$nextTick","calculateContentHeight","addEventListener","removeEventListener","styleColumns","1","2","3","formatted","formatInputs","styled","styleInputs","adjustColumns","formStyle","useDefault","chooseOrganization","useSupport","xs","btn","buttonText","buttonTextColor","buttonColor","buttonBorderRadius","stylesContactForm","height","inner","page","stylesFormTitle","size","stylesSuccessSubtitle","stylesSuccessTitle","n","mod3","mod2","need12","need6","clientHeight","toolbars","padding","navbar","toLowerCase","modify","number","concat","colStyle","dark","dense","filled","outlined","rounded","shaped","formBackgroundColorInput","onPickerClosed","setImage","formTitleInputs","onBlur","apply","arguments","toggleDefaultFormImage","useDefaultFormImage","formFieldsCompliance","formButtonInputs","changeButtonType","formSuccessTitleInputs","toggleDefaultSuccessImage","useDefaultSuccessImage","formSuccessMessageInputs","buttonShapes","formFieldsInputs","CHECKBOX","labelHTML","labelStyle","smAndDown","SELECT","SLIDER","min","max","thumbLabel","useDef","pseudo","VDivider","submissionCount","goToGroup","submissionsListPlaceholder","submissionTile","groupId","Number","submissionIcon","personIds","sub","person","filterdPersonIds","Set","navigateToContact","submission","personId","navigateToChannel","channelId","primary_channel_id","submissionActions","submissionView","submissionDelete","submissionColumns","time","submission_time","line1","$options","filters","personFullNameOrEmail","personDefaultPhone","dateTime","ids","form_id","s","leftFooter","overflow","cb","channel","contact","delete","ContactFormDemo","FormStyleEditor","FormSubmissions","unsetForm","params","lastPage","scrollPositionLeft","paginating","send_message","send_media","isContactForm","formPanels","messageHeaderDesc","groupDesc","substring","start","desc","groupName","fName","long_link","formsViewSelectedForm","formsViewSubmissions","persons","persons_ids","bool","paginateCurrentList","nextPage","shouldPaginate","send_message_media_id","position","bottom","VHover","VSwitch"],"mappings":"2IA0CO,IAAKA,EA0GAC,EA1GZ,2CAAYD,GACRA,yCACAA,iCACAA,2CACAA,+CAJJ,CAAYA,MAAoB,KA0GhC,SAAYC,GACRA,+BACAA,+BAFJ,CAAYA,MAAQ,M,oCCpJpB,IAAIC,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAQF,EAAW,QAAEI,EAAG,QAAQ,CAACA,EAAG,QAAQ,CAACE,YAAY,OAAOC,MAAM,CAAC,QAAU,SAAS,gBAAgB,SAAS,aAAa,KAAK,CAACH,EAAG,QAAQ,CAACG,MAAM,CAAC,KAAOP,EAAIQ,SAASC,WAAWC,OAAS,EAAI,IAAI,CAACN,EAAG,QAAQ,CAACG,MAAM,CAAC,QAAU,SAAS,MAAQ,aAAa,CAACH,EAAG,OAAO,CAACJ,EAAIW,GAAG,oBAAoBP,EAAG,SAAS,CAACE,YAAY,YAAYC,MAAM,CAAC,MAAQ,IAAIK,GAAG,CAAC,MAAQZ,EAAIa,sBAAsB,CAACb,EAAIW,GAAG,wBAAwB,IAAI,GAA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A,OAAgBqU,SAAA,KAAOxc,SAAA,KAAMC,OAAA,KAAKwc,WAAA,KAAQrc,cAAA,KAAWC,YAAA,Q","file":"js/chatbots-forms.82a54788.js","sourcesContent":["import FormSubmission from \"./FormSubmission.interface\"\nimport Input from \"./Input.interface\"\nimport Media from \"./Media.interface\"\n\nexport default interface Form {\n id: number\n tenant_id: number\n name?: string\n type: FormType\n fields: FormField[]\n styles: FormStyles\n submissions?: number\n send_message: string\n send_media?: Media\n response_message: string\n response_media?: Media\n global_enabled: boolean\n created_at?: Date | string\n updated?: Date | string\n deleted_at?: Date | string\n}\n\nexport interface FormField extends Input {\n id?: string\n cols?: number\n disableDelete?: boolean\n disableInputChange?: boolean\n disableRequired?: boolean\n order?: number\n options?: string[] | number[]\n required?: boolean\n}\n\nexport interface FormMessage {\n title?: string\n helpText?: string\n attribute: FormMessageAttribute\n text: string\n media?: Media\n hidden?: boolean\n}\n\nexport enum FormMessageAttribute {\n response_message = 'response_message',\n send_message = 'send_message',\n subscribe_message = 'subscribe_message',\n unsubscribe_message = 'unsubscribe_message'\n}\n\n// FORM.STYLES\nexport interface FormStyles {\n footer: FormStylesFooter\n form: FormStylesForm\n page: FormStylesPage\n success: FormStylesSuccess\n}\n\n// FORM.STYLES.FOOTER\nexport interface FormStylesFooter {\n display: boolean\n}\n\n// FORM.STYLES.FORM\nexport interface FormStylesForm {\n button: FormStylesFormButton\n privacyPolicy: string,\n termsOfService: string,\n image: FormStylesFormImage\n inputs: FormStylesFormInputs\n title: FormStylesFormTitle\n}\n// FORM.STYLES.FORM.BUTTON\nexport interface FormStylesFormButton {\n value: string\n 'text-color': string\n color: string\n 'border-radius': number | string\n}\n// FORM.STYLES.FORM.IMAGE\nexport interface FormStylesFormImage {\n src: string\n}\n// FORM.STYLES.FORM.INPUTS\nexport interface FormStylesFormInputs {\n columns: number | string\n width: number | string\n 'justify-content': string\n props: FormStylesFormInputsProps\n}\n// FORM.STYLES.FORM.INPUTS.PROPS\nexport interface FormStylesFormInputsProps {\n 'background-color': string\n color: string\n dark: boolean\n dense: boolean\n filled: boolean\n height: number | string\n rounded: boolean\n shaped: boolean\n}\n// FORM.STYLES.FORM.TITLE\nexport interface FormStylesFormTitle {\n value: string\n size: number | string\n color: string\n 'letter-spacing': number | string\n}\n\n// FORM.STYLES.PAGE\nexport interface FormStylesPage {\n inner: FormStylesPageInner\n font: FormStylesPageFont\n}\n// FORM.STYLES.PAGE.FONT\nexport interface FormStylesPageFont {\n 'font-family': string\n}\n// FORM.STYLES.PAGE.INNER\nexport interface FormStylesPageInner {\n 'background-color': string\n 'background-image': string\n}\n\n// FORM.STYLES.SUCCESS\nexport interface FormStylesSuccess {\n title: FormStylesSuccessTitle\n message: FormStylesSuccessMessage\n image: FormStylesSuccessImage\n}\n// FORM.STYLES.SUCCESS.IMAGE\nexport interface FormStylesSuccessImage {\n src: string\n}\n// FORM.STYLES.SUCCESS.MESSAGE\nexport interface FormStylesSuccessMessage {\n color: string\n 'letter-spacing': number | string\n size: number | string\n value: string\n}\n// FORM.STYLES.SUCCESS.TITLE\nexport interface FormStylesSuccessTitle {\n color: string\n 'letter-spacing': number | string\n size: number | string\n value: string\n}\n\nexport enum FormType {\n contactform = 'contactform',\n dynamicform = 'dynamicform'\n}","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.mounted)?_c('v-col',[_c('v-row',{staticClass:\"mb-2\",attrs:{\"justify\":\"center\",\"align-content\":\"center\",\"no-gutters\":\"\"}},[_c('v-col',{attrs:{\"cols\":_vm.$vuetify.breakpoint.xsOnly ? 4 : 3}},[_c('v-row',{attrs:{\"justify\":\"center\",\"align\":\"baseline\"}},[_c('span',[_vm._v(\"Contact Fields\")]),_c('v-icon',{staticClass:\"icon-left\",attrs:{\"small\":\"\"},on:{\"click\":_vm.popContactFieldHelp}},[_vm._v(\" mdi-help-circle \")])],1)],1),_c('v-col',{attrs:{\"cols\":_vm.$vuetify.breakpoint.xsOnly ? 5 : 3}},[_c('v-row',{attrs:{\"justify\":\"center\",\"align\":\"baseline\"}},[_c('span',[_vm._v(\"Labels\")]),_c('v-icon',{staticClass:\"icon-left\",attrs:{\"small\":\"\"},on:{\"click\":_vm.popLabelHelp}},[_vm._v(\" mdi-help-circle \")])],1)],1),(!_vm.$vuetify.breakpoint.xsOnly)?_c('v-col',{attrs:{\"cols\":\"3\"}},[_c('v-row',{attrs:{\"justify\":\"center\",\"align\":\"baseline\"}},[_c('span',[_vm._v(\"Field Types\")]),_c('v-icon',{staticClass:\"icon-left\",attrs:{\"small\":\"\"},on:{\"click\":_vm.popFieldTypeHelp}},[_vm._v(\" mdi-help-circle \")])],1)],1):_vm._e(),_c('v-col',{attrs:{\"cols\":\"3\"}},[_c('v-row',{attrs:{\"justify\":\"center\",\"align\":\"baseline\"}},[_c('span',[_vm._v(\"Required\")]),_c('v-icon',{staticClass:\"icon-left\",attrs:{\"small\":\"\"},on:{\"click\":_vm.popRequiredHelp}},[_vm._v(\" mdi-help-circle \")])],1)],1)],1),_c('container',{staticClass:\"drag-container\",attrs:{\"drag-handle-selector\":_vm.loading ? 'reelitIn' : '.drag-container',\"group-name\":\"FormFields\",\"lock-axis\":\"y\",\"data-cy\":\"formDraggableFields\",\"get-child-payload\":function ($event) { return $event; }},on:{\"drop\":_vm.onDrop}},_vm._l((_vm.formFields),function(input,i){return _c('draggable',{key:i,ref:\"fieldsList\",refInFor:true},[_c('field-form',{staticClass:\"mb-1 draggable-item\",attrs:{\"availableFields\":_vm.selectableFields,\"disabled\":_vm.loading,\"input\":input},on:{\"deleteField\":_vm.deleteField,\"fieldDuplicate\":_vm.fieldDuplicate,\"change\":_vm.updateForm}})],1)}),1),_c('v-row',{staticClass:\"mt-5\",attrs:{\"justify\":\"center\"}},[_c('v-btn',{class:_vm.$vuetify.breakpoint.xsOnly ? 'mx-2' : 'mx-5',attrs:{\"color\":\"primary\",\"disabled\":_vm.selectableFields.length <= 0},on:{\"click\":_vm.popFieldForm}},[_vm._v(\" Add existing field \")]),_c('v-btn',{class:_vm.$vuetify.breakpoint.xsOnly ? 'mx-2' : 'mx-5',attrs:{\"color\":\"primary\"},on:{\"click\":_vm.popExtensionForm}},[_vm._v(\" Create new field \")])],1)],1):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { FormField } from \"@/types/Form.interface\"\nimport Input from \"@/types/Input.interface\"\nimport { randomKey } from '@/utility/helpers'\n\nexport default {\n methods: {\n getDefaultInput(inputName: string): FormField {\n // Grab our form default inputs\n const defInputs = this.$store.getters.formDefaultInputs\n\n // Find this input from our form default inputs\n const foundInput = defInputs.find((x: Input) => x.name === inputName)\n\n // If the input was found, then our new input is that, else, it's a custom one\n const newInput = foundInput || this.getCustomInput(inputName)\n\n // Assign a random key to the id\n newInput.id = randomKey()\n\n // Return our new input\n return newInput\n },\n getCustomInput(inputName: string): FormField {\n // Find the extension (custom field) associated with the input\n const ext = this.$store.getters.getExtension(inputName)\n\n // Grab the type from our extension (if it exists)\n const type = ext?.type.toUpperCase()\n\n // Create our extension input\n const newInput: FormField = {\n id: randomKey(),\n type: type || \"TEXT\",\n name: inputName,\n label: inputName,\n path: inputName,\n cols: 12,\n order: 1,\n validate: 'max:300',\n required: true\n }\n\n // If the input type is a 'DROPDOWN' add the select options to it\n if (type === \"DROPDOWN\") {\n newInput.options = ext.data\n }\n\n // Generate and return new input data based on the input provided\n return newInput\n }\n }\n}\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-scale-transition',[(!_vm.loading)?_c('v-container',{staticClass:\"field-container\",attrs:{\"fluid\":\"\"}},[_c('v-col',{staticClass:\"pa-0 ma-0\",attrs:{\"cols\":\"12\"}},[_c('v-row',{attrs:{\"justify\":\"center\",\"align-content\":\"center\",\"no-gutters\":\"\",\"data-cy\":\"fieldForm\"}},[_c('v-col',{staticClass:\"col-dense\",attrs:{\"cols\":_vm.$vuetify.breakpoint.xsOnly ? 4 : 3}},[_c('v-select',{staticStyle:{\"padding\":\"0.1rem 0.3rem 0 0.3rem\",\"margin\":\"0\"},attrs:{\"color\":\"primary\",\"dense\":\"\",\"hide-details\":true,\"items\":_vm.selectableFields,\"value\":_vm.input.name,\"disabled\":_vm.disabled || _vm.input.disableInputChange},on:{\"change\":_vm.inputChange}})],1),_c('v-col',{staticClass:\"col-dense\",attrs:{\"cols\":_vm.$vuetify.breakpoint.xsOnly ? 5 : 3}},[_c('v-text-field',{staticStyle:{\"max-width\":\"360px\",\"padding\":\"0.1rem 0.3rem 0 0.3rem\",\"margin\":\"0\"},attrs:{\"color\":\"primary\",\"dense\":\"\",\"hide-details\":true,\"value\":_vm.input.label,\"disabled\":_vm.disabled},on:{\"blur\":_vm.labelChange}})],1),(!_vm.$vuetify.breakpoint.xsOnly)?_c('v-col',{staticClass:\"col-dense\",attrs:{\"cols\":\"3\"}},[_c('div',{staticClass:\"field-type\"},[_c('span',[_vm._v(_vm._s(_vm._f(\"punctuate\")(_vm.input.type)))])])]):_vm._e(),_c('v-col',{staticClass:\"col-dense\",attrs:{\"cols\":\"1\"}},[(!_vm.input.disableDelete)?_c('v-tooltip',{attrs:{\"bottom\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nreturn [_c('v-btn',_vm._g({attrs:{\"icon\":\"\",\"disabled\":_vm.disabled || _vm.input.disableDelete,\"data-cy\":\"fieldFormDelete\"},on:{\"click\":function($event){return _vm.$emit('deleteField', _vm.input)}}},on),[_c('v-icon',{attrs:{\"color\":\"primary\"}},[_vm._v(\"bi-trash-fill\")])],1)]}}],null,false,821819331)},[_c('span',[_vm._v(\"Delete field\")])]):_vm._e()],1),_c('v-col',{staticClass:\"col-dense\",attrs:{\"cols\":\"1\"}},[_c('v-checkbox',{attrs:{\"color\":\"primary\",\"disabled\":_vm.disabled || _vm.input.disableRequired},on:{\"change\":function($event){return _vm.$emit('change')}},model:{value:(_vm.input.required),callback:function ($$v) {_vm.$set(_vm.input, \"required\", $$v)},expression:\"input.required\"}})],1),_c('v-col',{staticClass:\"col-dense\",attrs:{\"cols\":\"1\"}},[_c('v-btn',{attrs:{\"icon\":\"\"}},[_c('v-icon',[_vm._v(\"mdi-dots-grid\")])],1)],1)],1)],1)],1):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Vue, { PropType } from 'vue'\nimport forms from '@/mixins/forms-mixin'\nimport { FormField } from '@/types/Form.interface'\nexport default Vue.extend({\n mixins: [forms],\n props: {\n // The available fields to set\n availableFields: {\n type: Array,\n required: true\n },\n // Disables our inputs\n disabled: {\n type: Boolean,\n default: false\n },\n // The input field\n input: {\n type: Object as PropType,\n required: true\n }\n },\n data() {\n return {\n // Label clone\n tempLabel: null,\n // Flag to check if we are loading\n loading: false\n }\n },\n mounted() {\n // Start loading\n this.loading = true\n\n // Clone the label to compare against\n this.tempLabel = this.input.label\n\n // Update the available fields\n this.$emit('resetFields')\n\n // Set loading to false to start rendering the element\n this.loading = false\n },\n computed: {\n selectableFields(): object[] {\n // Get the available fields as just text and value\n const fields = this.availableFields.map((x: FormField) => {\n return { text: x.name, value: x.name }\n })\n\n // Add self as option for fields\n fields.push({\n text: this.input.name,\n value: this.input.name\n })\n\n // Return our fields\n return fields\n }\n },\n methods: {\n labelChange(event: Event) {\n // Grab the src element of our event\n const src = event.target as HTMLInputElement\n\n // Get the value of the label\n const label = src.value\n\n // If label does not exist return\n if (!label) return\n\n // If temp label is equal to the label, return\n if (this.tempLabel === label) return\n\n // Else label is edited, update the input's label\n this.input.label = label\n\n // Call updateForm in FormsProfile.vue\n this.$emit('change')\n },\n inputChange(input: FormField): void {\n // Get a new default input\n const newInput = this.getDefaultInput(input)\n\n // Copy id over from old input\n newInput.id = this.input.id\n\n // Copy properties over\n Object.assign(this.input, newInput)\n\n // Call updateForm in FormsProfile.vue\n this.$emit('change')\n }\n }\n})\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FieldForm.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FieldForm.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./FieldForm.vue?vue&type=template&id=721770c2&scoped=true&\"\nimport script from \"./FieldForm.vue?vue&type=script&lang=ts&\"\nexport * from \"./FieldForm.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./FieldForm.vue?vue&type=style&index=0&id=721770c2&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 \"721770c2\",\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 { VCheckbox } from 'vuetify/lib/components/VCheckbox';\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VContainer } from 'vuetify/lib/components/VGrid';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VRow } from 'vuetify/lib/components/VGrid';\nimport { VScaleTransition } from 'vuetify/lib/components/transitions';\nimport { VSelect } from 'vuetify/lib/components/VSelect';\nimport { VTextField } from 'vuetify/lib/components/VTextField';\nimport { VTooltip } from 'vuetify/lib/components/VTooltip';\ninstallComponents(component, {VBtn,VCheckbox,VCol,VContainer,VIcon,VRow,VScaleTransition,VSelect,VTextField,VTooltip})\n","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Vue, { PropType } from 'vue'\nimport forms from '@/mixins/forms-mixin'\nimport extensionsMixin from '@/mixins/extension-options-mixin'\nimport { FormField } from '@/types/Form.interface'\nimport { Container, Draggable } from 'vue-smooth-dnd'\nimport FieldFormComponent from '@/components/FieldForm.vue'\nexport default Vue.extend({\n mixins: [forms, extensionsMixin],\n components: {\n Container,\n Draggable,\n 'field-form': FieldFormComponent\n },\n props: {\n defaultFields: {\n type: Array as PropType,\n required: true\n },\n formFields: {\n type: Array as PropType,\n required: true\n },\n loading: {\n type: Boolean,\n default: false\n }\n },\n data: () => ({\n // Determines if we have loaded everything\n mounted: false,\n awaitingExtensions: false\n }),\n mounted() {\n // Sort the fields such that the order matches\n this.formFields.sort((a: FormField, b: FormField) => {\n return a.order - b.order\n })\n\n // Indicate what we are done loading\n this.mounted = true\n },\n computed: {\n selectableFields(): FormField[] {\n // Get the selected form fields names\n const selectedFields = this.formFields.map((x: FormField) => x.name)\n\n // Our actual selectable fields are the fields that have NOT been selected\n const selectable = this.defaultFields.filter((x: FormField) => {\n // We want to filter out all fields that are currently selected\n return !selectedFields.includes(x.name)\n })\n\n // Return the selectable fields\n return selectable\n }\n },\n methods: {\n addField(field: FormField): void {\n // Get a default input\n const newInput = this.getDefaultInput(field.name)\n\n // Grab the length of our form fields\n const len = this.formFields.length\n\n // Our index is always going to be 1 ahead of the max length\n const idx = len + 1\n\n // Set our new input order based on the index\n newInput.order = idx\n\n // Append a new field at the end of the form\n this.formFields.push(newInput)\n\n // Call the updateForm method\n this.updateForm()\n },\n checkOrder(): void {\n // Iterate through our form fields\n for (let i = 0; i < this.formFields.length; i++) {\n // Grab our current form field\n let field = this.formFields[i]\n\n // If the order DOES match the current index, just skip\n if (field.order === i) continue\n\n // Else, update the order\n field.order = i\n return this.updateForm()\n }\n },\n deleteField(field: FormField[]): void {\n // Get index to delete from\n const index = this.formFields.findIndex((f) => f === field)\n\n // If index found, delete the field\n if (index !== -1) {\n // Delete a field\n this.formFields.splice(index, 1)\n }\n\n // this.checkOrder() will NOT update the form if last field was removed\n if (index >= this.formFields.length - 1) {\n this.updateForm()\n }\n\n // Evaluate order of fields (this will update the form)\n this.checkOrder()\n },\n fieldDuplicate(input: FormField): void {\n // Create a copy\n const temp = window._.cloneDeep(input)\n\n // Increment order from duplicated input\n temp.order = input.order + 1\n\n // Insert input into formFields array at its order position\n this.formFields.splice(temp.order - 1, 0, temp)\n\n // Check and update the order of the following fields\n this.checkOrder()\n },\n getChildPayload(index: number): number {\n return index\n },\n onDrop(dropResult): void {\n // Original index of input\n const index = dropResult.payload\n\n // Positive change to index\n const incr = dropResult.addedIndex\n\n // Negative change to index\n const decr = dropResult.removedIndex\n\n // New index to move to\n const newIndex = index + incr - decr\n\n // Copy input to new index and delete from old index\n this.formFields.splice(newIndex, 0, this.formFields.splice(index, 1)[0])\n\n // Update the order of the fields\n this.checkOrder()\n },\n popContactFieldHelp(): void {\n this.$store.dispatch('dialogOpen', {\n type: 'MESSAGE',\n title: 'Help',\n text: `These are the contact profile fields that update whenever a contact submits the form.`,\n icon: 'mdi-help-circle',\n color: 'primary'\n })\n },\n popExtensionForm(): void {\n // Instantiate a new extension option\n const extension = this.$store.getters.newExtensionOption\n\n // Create an object for our app form props\n const props = {\n model: extension,\n inputs: this.$store.getters.extensionOptionInputs(extension),\n loading: false\n }\n\n // Pop an app-form\n this.$store.dispatch('dialogOpen', {\n type: 'APP',\n title: 'Create New Custom Field',\n icon: 'mdi-format-annotation-plus',\n component: 'app-form',\n props: props,\n closeable: true,\n callback: async (extension) => {\n // Tell our loading prop to change\n props.loading = true\n\n // Create our extension\n await this.extensionCreate(extension)\n\n // We are done\n props.loading = false\n }\n })\n },\n popFieldForm(): void {\n // If they are all out of fields, then pop a warning\n if (this.selectableFields.length === 0) {\n return this.$store.dispatch('dialogOpen', {\n type: 'MESSAGE',\n title: 'Error',\n text: 'No more fields available.',\n icon: 'mdi-alert-circle-outline',\n color: 'primary'\n })\n }\n\n // Pop a create field dialog\n this.$store.dispatch('dialogOpen', {\n type: 'APP',\n title: 'Select field',\n titleStyles: 'text-align:center;',\n color: 'primary',\n closeable: true,\n closeOnSubmit: true,\n component: 'form-field-selector',\n props: {\n availableFields: this.selectableFields\n },\n callback: (field) => {\n // If there is no field that was created then do nothing\n if (!field) return\n\n // Else, go ahead and add it to our fields\n this.addField(field)\n }\n })\n },\n popFieldTypeHelp(): void {\n this.$store.dispatch('dialogOpen', {\n type: 'MESSAGE',\n title: 'Help',\n text: `Field types determine what information can be submitted. The following field types are text, numbers, dropdowns, dates, and phones. Text can contain alphanumeric characters. Numbers may only contain numeric characters. Dates are in ISO8601 format but are handled automatically by the calander input field. Dropdowns may only contain answers that mach one of the provided options. Phone numbers must contain 10-11 numeric characters.`,\n icon: 'mdi-help-circle',\n color: 'primary'\n })\n },\n popLabelHelp(): void {\n this.$store.dispatch('dialogOpen', {\n type: 'MESSAGE',\n title: 'Help',\n text: `Labels are the text that appear on the form fields that the contact will see when they open your form.`,\n icon: 'mdi-help-circle',\n color: 'primary'\n })\n },\n popRequiredHelp(): void {\n this.$store.dispatch('dialogOpen', {\n type: 'MESSAGE',\n title: 'Help',\n text: `Required fields must be filled out to be submitted.`,\n icon: 'mdi-help-circle',\n color: 'primary'\n })\n },\n async updateForm(): Promise {\n // Wait for this\n this.$emit('update')\n }\n }\n})\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FormFields.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FormFields.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./FormFields.vue?vue&type=template&id=dc699d34&scoped=true&\"\nimport script from \"./FormFields.vue?vue&type=script&lang=ts&\"\nexport * from \"./FormFields.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./FormFields.vue?vue&type=style&index=0&id=dc699d34&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 \"dc699d34\",\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","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!./ChatBotDemo.vue?vue&type=style&index=0&id=b257d9f4&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!./FormFields.vue?vue&type=style&index=0&id=dc699d34&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!./FormsProfile.vue?vue&type=style&index=0&id=837cceac&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!./FormStyleEditor.vue?vue&type=style&index=0&id=3a7772b0&scoped=true&lang=css&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-col',{attrs:{\"align\":\"center\"}},[_vm._l((_vm.links),function(link,i){return [_c('v-col',{key:i,staticClass:\"pa-0 my-2\"},[(link.header)?_c('v-row',{attrs:{\"justify\":\"center\",\"no-gutters\":\"\"}},[_c('span',{staticClass:\"grey--text text--darken-2\",staticStyle:{\"font-size\":\"1.15rem\",\"text-align\":\"center\"}},[_vm._v(\" \"+_vm._s(link.header.text)+\" \")]),(link.header.icon)?_c('v-icon',{staticStyle:{\"transform\":\"translateY(-0.1em)\"},attrs:{\"right\":\"\",\"small\":\"\"},on:{\"click\":link.header.callback}},[_vm._v(\" \"+_vm._s(link.header.icon)+\" \")]):_vm._e()],1):_vm._e(),_c('v-row',{staticClass:\"mb-1\",attrs:{\"justify\":\"center\",\"no-gutters\":\"\"}},[_c('v-text-field',{staticStyle:{\"max-width\":\"360px\"},attrs:{\"value\":link.value,\"rows\":1,\"color\":\"primary\",\"single-line\":\"\",\"readonly\":\"\",\"hint\":\"copied to clipboard\",\"outlined\":\"\",\"rounded\":\"\"},on:{\"click\":function($event){return link.value.copytoClipboard()}}}),(link.tooltip)?_c('v-tooltip',{attrs:{\"right\":\"\",\"open-on-click\":\"\",\"open-on-hover\":false},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nreturn [_c('v-btn',_vm._g({staticStyle:{\"transform\":\"translateY(0.7em)\"},attrs:{\"icon\":\"\"},on:{\"click\":function($event){return link.value.copytoClipboard()}}},on),[_c('v-icon',{attrs:{\"color\":\"primary\"}},[_vm._v(\"mdi-clipboard-text\")])],1)]}}],null,true)},[_c('span',[_vm._v(\"copied to clipboard\")])]):_vm._e()],1)],1)]})],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Vue from 'vue'\nexport default Vue.extend({\n props: {\n // The links being displayed\n links: {\n type: Array,\n required: true\n }\n }\n})\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FormLinks.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FormLinks.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./FormLinks.vue?vue&type=template&id=6c5f3e6b&\"\nimport script from \"./FormLinks.vue?vue&type=script&lang=ts&\"\nexport * from \"./FormLinks.vue?vue&type=script&lang=ts&\"\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 { 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';\nimport { VTextField } from 'vuetify/lib/components/VTextField';\nimport { VTooltip } from 'vuetify/lib/components/VTooltip';\ninstallComponents(component, {VBtn,VCol,VIcon,VRow,VTextField,VTooltip})\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (!_vm.formsEnabled || _vm.showPaywall)?_c('page-template',{attrs:{\"toolbar\":_vm.toolbar}},[_c('feature-disabled',{attrs:{\"block\":!_vm.formsEnabled,\"firstBtnTxt\":\"New Form\",\"metadata\":\"form_enabled\"},on:{\"create\":_vm.createNewForm}})],1):_c('page-template',{attrs:{\"toolbar\":_vm.toolbar},scopedSlots:_vm._u([{key:\"left-top\",fn:function(){return [_c('v-row',{staticClass:\"pa-2\",staticStyle:{\"max-height\":\"56px\",\"min-height\":\"56px\"},attrs:{\"no-gutters\":\"\",\"align\":\"center\"}},[_c('v-spacer'),_c('tri-panel-button',{attrs:{\"small\":\"\",\"icon\":\" mdi-pencil\",\"text\":_vm.$vuetify.breakpoint.xsOnly ? 'New' : 'New Form',\"color\":\"primary\",\"data-cy\":\"newForm\"},on:{\"click\":_vm.createNewForm}})],1)]},proxy:true}])},[_c('i-list',{ref:\"formsList\",attrs:{\"id\":\"formsViewFormsList\",\"selectable\":\"\",\"color\":\"primary\",\"items\":_vm.forms,\"placeholder\":_vm.formsListPlaceholder,\"tile\":_vm.formTile()}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Vue from 'vue'\nimport { mapGetters } from 'vuex'\nimport Form from '@/types/Form.interface'\nimport IListTile from '@/types/components/IListTile.interface'\nimport IListIcon, { IListIconType } from '@/types/components/IListIcon.interface'\nimport IListAction, { IListActionType } from '@/types/components/IListAction.interface'\nimport IListTileColumn from '@/types/components/IListTileColumn.interface'\nimport Button from '@/types/components/Button.interface'\nexport default Vue.extend({\n data() {\n return {\n formsListPlaceholder: {\n content: 'No Forms Found',\n img: 'noMessages'\n },\n // Our icon that gets displayed for our forms in the IList\n formIcon: {\n type: IListIconType.icon,\n content: 'mdi-form-select',\n color: 'primary'\n } as IListIcon,\n\n toolbar: {\n title: 'Forms',\n help: {\n title: 'Forms',\n body: 'Grow your text message subscriber list by sharing forms on your website, social pages, or with a QR code. Customize forms to collect the right information so you can organize your contacts into groups for Broadcast messaging.',\n button: {\n text: ' Learn More',\n link: `${process.env.VUE_APP_URL_LEARN}/en/articles/5076369-contact-forms-overview`\n }\n },\n left: [\n {\n title: 'Back',\n icon: 'mdi-chevron-left',\n back: '/settings',\n tooltip: 'Back',\n permission: 0,\n feature: null\n }\n ],\n right: []\n }\n }\n },\n computed: {\n ...mapGetters({\n forms: 'formsViewForms'\n }),\n formsEnabled(): boolean {\n // return this.$store.getters.getEnabled('form')\n return true\n },\n showPaywall(): boolean {\n // Grab our forms\n const forms = this.forms\n\n // Get the total number of forms\n const total = forms.length\n\n // If we have null OR if the total is 0, return true\n if (!forms || !total) return true\n\n // Else, get the number of required forms (if they changed the name, they're good)\n const required = forms.filter(\n (x: Form) => x.name === 'Lead Collection Form' && x.type === 'contactform'\n )\n\n // If we our required and total are the same length, return true\n if (required.length === total) return true\n\n // Else, we return false\n return false\n }\n },\n methods: {\n async createNewForm(): Promise {\n // Create the payload for our formsPost\n const payload = { type: 'dynamicform' }\n\n // Else, create the form\n const resp = await this.$store.dispatch('formsPost', payload)\n\n // If no response, do nothing\n if (!resp) return\n\n // If there was a response, navigate to the form profile\n this.$router.push(`/forms/${resp.id}`)\n },\n formActions(form: Form): IListAction {\n // Create our menu buttons\n const menu: Button[] = [\n {\n icon: 'bi-trash-fill',\n text: 'Delete',\n color: 'red',\n callback: () => this.formDelete(form)\n }\n ]\n\n // Create our list action\n const action: IListAction = {\n type: IListActionType.menu,\n menu: menu\n }\n\n // Return our list action\n return action\n },\n formColumns(form: Form): IListTileColumn[] {\n // Create our first column\n const one: IListTileColumn = {\n line2: form.name\n }\n\n // Create our second column\n const two: IListTileColumn = {\n line2: `Submissions: ${form.submissions}`\n }\n\n // Create our columns container\n const columns: IListTileColumn[] = [one, two]\n\n // Retunr our columns\n return columns\n },\n formDelete(form: Form): void {\n // If the form is a contact form, prompt the error message\n if (form.type === 'contactform') {\n return this.$store.dispatch('dialogOpen', {\n type: 'MESSAGE',\n title: 'Error',\n text: 'The anonymous leads collection form cannot be deleted.',\n icon: 'mdi-alert',\n color: 'red darken-2'\n })\n }\n\n // Else, prompt the user to delete the form\n this.$store.dispatch('dialogOpen', {\n type: 'CONFIRM',\n title: 'Delete Form?',\n text: `Are you sure you want to delete this form?`,\n icon: 'mdi-alert',\n color: 'red darken-2',\n callback: async (result: boolean): Promise => {\n // If the user selected 'NO', do nothing\n if (!result) return\n\n // Else, delete the form\n const res = await this.$store.dispatch('formsDelete', form.id)\n\n // If the request failed, do nothing\n if (!res) return\n\n // Else, notify the user of success\n this.$store.commit('appNotificationBarSet', {\n message: 'Form deleted'\n })\n }\n })\n },\n formTile(): IListTile {\n return {\n leftIcon: this.formIcon,\n actionContent: (form: Form) => this.formActions(form),\n columns: (form: Form) => this.formColumns(form),\n callback: (form: Form) => this.goToForm(form)\n }\n },\n // Set the selected form and nav to form profile\n goToForm(form: Form): void {\n // Navigate to the form\n this.$router.push(`/forms/${form.id}?sender=${this.$route.path}`)\n }\n }\n})\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FormsIndex.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FormsIndex.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./FormsIndex.vue?vue&type=template&id=0205359c&\"\nimport script from \"./FormsIndex.vue?vue&type=script&lang=ts&\"\nexport * from \"./FormsIndex.vue?vue&type=script&lang=ts&\"\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 { VRow } from 'vuetify/lib/components/VGrid';\nimport { VSpacer } from 'vuetify/lib/components/VGrid';\ninstallComponents(component, {VRow,VSpacer})\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!./ChatbotStyleEditor.vue?vue&type=style&index=0&id=b670f0b8&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!./FormMessages.vue?vue&type=style&index=0&id=a7dfdfa8&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!./FormSubmissions.vue?vue&type=style&index=0&id=c7f125c8&scoped=true&lang=css&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.mounted)?_c('v-col',{staticStyle:{\"margin\":\"0\",\"padding\":\"0\"}},_vm._l((_vm.messages),function(message,i){return _c('v-row',{key:i,attrs:{\"justify\":\"center\",\"align\":\"center\",\"no-gutters\":\"\"}},[(!message.hidden)?_c('v-col',[_c('v-row',{staticClass:\"mb-2\",attrs:{\"justify\":\"center\",\"no-gutters\":\"\"}},[(message.title)?_c('span',{staticClass:\"grey--text text--darken-2\"},[_vm._v(\" \"+_vm._s(message.title)+\" \")]):_vm._e(),(message.helpText)?_c('v-icon',{attrs:{\"right\":\"\",\"small\":\"\"},on:{\"click\":function($event){return _vm.popHelp(message.helpText)}}},[_vm._v(\" mdi-help-circle \")]):_vm._e()],1),_c('div',{staticClass:\"d-flex flex-column msg-container\"},[_c('v-fade-transition',{attrs:{\"origin\":\"bottom center 0\"}},[(!_vm.operator && _vm.errorList[i])?_c('div',{staticClass:\"font-italic red--text text--darken-1 caption error-msg\"},[_vm._v(\" edit this message to save \")]):_vm._e()]),_c('message-text-form',{key:_vm.messageKeys[i],attrs:{\"save\":\"\",\"send\":!_vm.operator && _vm.button,\"defaultMedia\":message.media,\"rows\":3,\"insert\":message.text,\"print\":false,\"color\":\"primary\",\"disabled\":_vm.operator},on:{\"mediaAdded\":function($event){message.media = $event},\"input\":function($event){message.text = $event},\"submit\":function($event){return _vm.submit(message, i, $event)}}})],1)],1):_vm._e()],1)}),1):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { FormMessage } from '@/types/Form.interface'\nimport Message from '@/types/Message.interface'\nimport { randomKey } from '@/utility/helpers'\nimport Vue from 'vue'\nexport default Vue.extend({\n props: {\n // Determines if the save/send button is shown\n button: {\n type: Boolean,\n required: false,\n default: true\n },\n // The messages to edit (only ever response and send messages from form)\n messages: {\n type: Array,\n required: true\n }\n },\n data: () => ({\n errorList: {},\n // Our message keys\n messageKeys: [randomKey(), randomKey()],\n // Determines if we have finished all of our setup\n mounted: false,\n // Contains the text and media for each message\n temp: {}\n }),\n mounted() {\n // Set our temp to have both messages\n this.cloneMessages()\n\n // We are finished mounting\n this.mounted = true\n },\n computed: {\n operator(): boolean {\n // Grab our current role\n const role = this.$store.getters.userRole(this.$store.getters.user)\n\n // Check if this role is an operator\n return window.getProps(role, ['name']) === 'Operator'\n }\n },\n methods: {\n cloneMessages() {\n // Iterate and clone each message\n this.messages.forEach((x: FormMessage) => {\n // Grab the message attribute\n const attr = x.attribute\n\n // The property will be named for the attribute\n this.temp[attr] = {\n text: x.text,\n media: x.media\n }\n })\n },\n // Checks if we have made any changes to our form message passed in\n isEdited(message: FormMessage): boolean {\n // Grab the attribute from our message\n const attr = message.attribute\n\n // Grab the message at this attribute from temp\n const tempMessage = this.temp[attr]\n\n // Our message has been edited if the message text OR media is different\n return !window._.isEqual(message, tempMessage)\n },\n popHelp(text: string): void {\n this.$store.dispatch('dialogOpen', {\n type: 'MESSAGE',\n title: 'Help',\n text: text,\n icon: 'mdi-help-circle',\n color: 'primary'\n })\n },\n async submit(formMsg: FormMessage, i: number, obj: Message): Promise {\n // Create our message\n const msg: FormMessage = {\n attribute: formMsg.attribute,\n text: obj.text,\n media: obj.media\n }\n\n // Check if our message has changed\n const edited = this.isEdited(msg)\n\n // Display error based on if it was edited or not\n this.errorList[i] = !edited\n\n // This allows the DOM to update\n this.errorList = { ...this.errorList }\n\n // Tell the parent that we have updated the message\n this.$emit('updateMessage', msg)\n }\n },\n watch: {\n messages: {\n deep: true,\n handler() {\n // Clone our new messages\n this.cloneMessages()\n\n // Reset our keys\n this.messageKeys[0] = randomKey()\n this.messageKeys[1] = randomKey()\n }\n }\n }\n})\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FormMessages.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FormMessages.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./FormMessages.vue?vue&type=template&id=a7dfdfa8&scoped=true&\"\nimport script from \"./FormMessages.vue?vue&type=script&lang=ts&\"\nexport * from \"./FormMessages.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./FormMessages.vue?vue&type=style&index=0&id=a7dfdfa8&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 \"a7dfdfa8\",\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 { VFadeTransition } from 'vuetify/lib/components/transitions';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VRow } from 'vuetify/lib/components/VGrid';\ninstallComponents(component, {VCol,VFadeTransition,VIcon,VRow})\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (!_vm.mounted)?_c('page-template',{attrs:{\"divider\":\"\",\"loader\":_vm.loading,\"toolbar\":_vm.toolbar,\"right-width\":_vm.$vuetify.breakpoint.smAndUp && _vm.rightWidth}}):_c('page-template',{attrs:{\"divider\":\"\",\"toolbar\":_vm.toolbar,\"right-width\":_vm.$vuetify.breakpoint.smAndUp && _vm.rightWidth},scopedSlots:_vm._u([{key:\"content\",fn:function(){return [(_vm.scriptLink)?_c('chatbot-demo',{ref:\"chatbot_demo\",attrs:{\"link\":_vm.scriptLink}}):_vm._e()]},proxy:true}])},[_c('v-row',{attrs:{\"justify\":\"center\",\"align-content\":\"center\",\"no-gutters\":\"\"}},[_c('v-expansion-panels',[_vm._l((_vm.chatbotPanels),function(panel,i){return [_c('v-expansion-panel',{key:i,staticStyle:{\"margin\":\"0 !important\"}},[_c('v-expansion-panel-header',{attrs:{\"color\":\"#F0F0F0\"}},[_c('v-row',{attrs:{\"justify\":\"start\",\"align-content\":\"center\",\"no-gutters\":\"\"}},[_c('v-col',[_c('div',{staticClass:\"panelStepTitle\"},[_vm._v(\" \"+_vm._s(panel.title)+\" \")]),_c('div',{staticClass:\"panelStepDesc\"},[_vm._v(\" \"+_vm._s(panel.description)+\" \")])])],1)],1),_c('v-expansion-panel-content',[(panel.type === 'fields')?_c('form-fields',{attrs:{\"defaultFields\":_vm.chatbotDefaultInputs,\"formFields\":_vm.chatbotFields,\"loading\":_vm.loading},on:{\"update\":_vm.updateChatbot}}):(panel.type === 'styles')?_c('chatbot-style-editor',{attrs:{\"chatbotStyles\":_vm.selectedChatbot.styles,\"chatbotSchema\":_vm.selectedChatbot.schema},on:{\"submit\":_vm.submitStyles,\"submitSchema\":_vm.submitSchema}}):(panel.type === 'messages' && _vm.responseMessage)?_c('form-messages',{attrs:{\"messages\":_vm.responseMessage},on:{\"updateMessage\":_vm.updateMessage}}):(panel.type === 'links')?_c('form-links',{attrs:{\"links\":_vm.links}}):_vm._e()],1)],1)]}),_c('v-expansion-panel',{staticStyle:{\"margin\":\"0 !important\"}},[_c('v-expansion-panel-header',{attrs:{\"color\":\"#F0F0F0\",\"expand-icon\":_vm.brandingEnabled ? \t'$expand' : 'mdi-lock',\"disable-icon-rotate\":!_vm.brandingEnabled},on:{\"click\":_vm.removeBranding}},[_c('v-row',{attrs:{\"justify\":\"start\",\"align-content\":\"center\",\"no-gutters\":\"\"}},[_c('v-col',[_c('div',{staticClass:\"panelStepTitle\"},[_vm._v(\" Remove MessageDesk Branding \")])])],1)],1),_c('v-expansion-panel-content',[(_vm.brandingEnabled)?_c('v-row',{attrs:{\"justify\":\"center\",\"no-gutters\":\"\"}},[(_vm.chatbotStylesIcon)?_c('form-style-image',{attrs:{\"image\":_vm.chatbotStylesIcon.image,\"text\":\"Select new bubble icon\"},on:{\"change\":_vm.setChatbotIcon,\"remove\":_vm.removeChatbotIcon}}):_vm._e()],1):_vm._e()],1)],1)],2)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _vm._m(0)}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"fill\",staticStyle:{\"z-index\":\"1\"}},[_c('img',{staticClass:\"background\",attrs:{\"src\":\"https://messagedesk-chatbot.s3.us-west-2.amazonaws.com/assets/media/chatbot-demo-background2.svg\",\"loading\":\"lazy\"}}),_c('div',{staticClass:\"fill\",attrs:{\"id\":\"msgdsk-chatbot\"}})])}]\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\nimport Vue from 'vue'\nexport default Vue.extend({\n props: {\n link: {\n type: String,\n required: true\n }\n },\n mounted() {\n this.insertChatbot()\n },\n beforeDestroy() {\n this.destroyChatbot()\n },\n methods: {\n destroyChatbot(): void {\n document.getElementById('msgdsk-chatbot-content')?.remove()\n },\n insertChatbot(): void {\n // Get our head tag\n const head = document.getElementsByTagName('head')[0]\n\n // Create a new script tag for our chatbot\n const script = document.createElement('script')\n\n // Add our chatbot to the script tag\n script.type = 'text/javascript'\n script.src = this.link\n\n // Insert the script tag into our head tag so it will display chatbot\n head.appendChild(script)\n }\n }\n})\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ChatBotDemo.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ChatBotDemo.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./ChatBotDemo.vue?vue&type=template&id=b257d9f4&scoped=true&\"\nimport script from \"./ChatBotDemo.vue?vue&type=script&lang=ts&\"\nexport * from \"./ChatBotDemo.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./ChatBotDemo.vue?vue&type=style&index=0&id=b257d9f4&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 \"b257d9f4\",\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('v-col',{staticClass:\"clean\"},[_c('v-expansion-panels',{staticClass:\"clean\"},[_c('v-expansion-panel',{staticClass:\"clean\"},[_c('v-expansion-panel-header',{attrs:{\"color\":_vm.panelHeaderColor}},[_vm._v(\" Unopened State \")]),_c('v-expansion-panel-content',[_c('v-col',{attrs:{\"cols\":12}},[_c('form-style-image',{staticClass:\"mb-2\",attrs:{\"image\":_vm.chatbotStyles.agent.image,\"text\":(\"Select \" + (_vm.chatbotStyles.agent.image ? 'new' : '') + \" agent image\")},on:{\"change\":_vm.setAgentImage,\"remove\":_vm.removeImage}}),_c('app-form',{ref:\"chatbot-style-unopened\",staticStyle:{\"width\":\"100%\",\"max-width\":\"500px\"},attrs:{\"model\":_vm.chatbotStyles,\"inputs\":_vm.calloutMessageInput,\"button\":false,\"formClass\":'px-4'},on:{\"blur\":_vm.updateModel}})],1)],1)],1),_c('v-expansion-panel',{staticClass:\"clean\"},[_c('v-expansion-panel-header',{attrs:{\"color\":_vm.panelHeaderColor}},[_vm._v(\" Opened State \")]),_c('v-expansion-panel-content',[_c('v-col',{staticClass:\"my-2\"},[_c('app-form',{ref:\"chatbot-style-opened\",staticClass:\"px-2\",staticStyle:{\"width\":\"100%\",\"max-width\":\"500px\"},attrs:{\"model\":_vm.chatbotStyles,\"inputs\":_vm.openedStateInputs,\"button\":false},on:{\"change\":_vm.updateModel,\"pickerClosed\":function($event){return _vm.$emit('submit', _vm.chatbotStyles)},\"blur\":function($event){return _vm.$emit('submit', _vm.chatbotStyles)},\"keydown\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\")){ return null; }return _vm.$emit('submit', _vm.chatbotStyles)}}}),_c('app-form',{ref:\"chatbot-schema-welcome\",staticClass:\"px-2\",staticStyle:{\"width\":\"100%\",\"max-width\":\"500px\"},attrs:{\"model\":_vm.chatbotSchema[0],\"inputs\":_vm.welcomeMessageInput,\"button\":false},on:{\"change\":_vm.updateWelcomeMessage,\"blur\":function($event){return _vm.$emit('submit', _vm.chatbotStyles)}}}),_c('app-form',{ref:\"chatbot-schema-submission-button\",staticClass:\"px-2\",staticStyle:{\"width\":\"100%\",\"max-width\":\"500px\"},attrs:{\"model\":_vm.chatbotSchema[1],\"inputs\":_vm.complianceSubmitInputs,\"button\":false},on:{\"change\":_vm.updateSchema,\"blur\":_vm.submitSchema}}),_c('div',{staticClass:\"px-4 mx-2\",staticStyle:{\"border\":\"1px solid #00000040\",\"border-radius\":\"6px\",\"width\":\"100%\",\"max-width\":\"500px\",\"position\":\"relative\"}},[_c('div',{staticClass:\"d-flex justify-start pt-1\",staticStyle:{\"position\":\"absolute\",\"background\":\"white\",\"padding\":\"1px 2px\",\"font-size\":\"14px\",\"top\":\"-13px\",\"left\":\"6px\",\"color\":\"#000099\",\"cursor\":\"default\"}},[_vm._v(\" Colors \")]),_c('div',{staticClass:\"d-flex flex-row\"},[_c('app-form',{ref:\"chatbot-style-color\",attrs:{\"model\":_vm.chatbotStyles,\"inputs\":_vm.colorInputs,\"button\":false},on:{\"change\":_vm.updateModel,\"pickerClosed\":function($event){return _vm.$emit('submit', _vm.chatbotStyles)},\"blur\":function($event){return _vm.$emit('submit', _vm.chatbotStyles)},\"keydown\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\")){ return null; }return _vm.$emit('submit', _vm.chatbotStyles)}}})],1)])],1)],1)],1),_c('v-expansion-panel',{staticClass:\"clean\"},[_c('v-expansion-panel-header',{attrs:{\"color\":_vm.panelHeaderColor}},[_vm._v(\" Form Submission \")]),_c('v-expansion-panel-content',[_c('app-form',{ref:\"chatbot-schema-submission\",staticClass:\"px-2\",staticStyle:{\"width\":\"100%\",\"max-width\":\"500px\"},attrs:{\"model\":_vm.chatbotSchema[1],\"inputs\":_vm.successMessageInput,\"button\":false},on:{\"change\":_vm.updateSuccessMessage,\"blur\":function($event){return _vm.$emit('submit', _vm.chatbotStyles)}}})],1)],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Vue, { PropType } from 'vue'\nimport { ChatbotSchemaEntry, ChatbotStyles } from '@/types/Chatbot.interface'\nimport Input, { ColorMode, InputType } from '@/types/Input.interface'\nimport FormStyleImage from '@/components/FormStyleImage.vue'\nimport { objectSet } from '@/utility/helpers'\nexport default Vue.extend({\n components: { FormStyleImage },\n props: {\n chatbotStyles: {\n type: Object as PropType,\n required: true\n },\n chatbotSchema: {\n type: Array as PropType,\n required: true\n },\n loading: {\n type: Boolean,\n default: false\n }\n },\n data() {\n return {\n panelHeaderColor: '#FAFAFA'\n }\n },\n computed: {\n calloutMessageInput(): Input[] {\n return [\n {\n type: InputType.TEXTAREA,\n name: 'Callout',\n label: 'Callout Message',\n path: 'agent.message',\n rows: '3',\n validate: 'max:45',\n disabled: this.loading\n }\n ]\n },\n colorInputs(): Input[] {\n return [\n {\n type: InputType.COLORBTN,\n name: 'Primary Color',\n label: 'Primary',\n path: 'colors.primary',\n colClass: `d-flex justify-start`,\n class: 'right',\n mode: ColorMode.hexa,\n disabled: this.loading\n },\n {\n type: InputType.COLORBTN,\n name: 'Background Color',\n label: 'Background',\n path: 'colors.background',\n colClass: `d-flex justify-start`,\n class: 'right',\n mode: ColorMode.hexa,\n disabled: this.loading\n }\n ]\n },\n complianceSubmitInputs(): Input[] {\n return [\n {\n type: InputType.TEXTAREA,\n name: 'Compliance Message',\n label: 'Compliance Message',\n path: 'content.complianceMessage',\n rows: 3,\n colClass: 'd-flex justify-start',\n validate: 'required|max:300',\n disabled: this.loading\n },\n {\n type: InputType.TEXT,\n name: 'Privacy Policy',\n label: 'Privacy Policy',\n path: 'content.privacyPolicyLink',\n rows: 2,\n colClass: 'd-flex justify-start',\n validate: 'url',\n disabled: this.loading\n },\n {\n type: InputType.TEXT,\n name: 'Terms of Service',\n label: 'Terms of Service',\n path: 'content.termsOfServiceLink',\n rows: 2,\n colClass: 'd-flex justify-start',\n validate: 'url',\n disabled: this.loading\n },\n {\n type: InputType.TEXT,\n name: 'Submit Button Text',\n label: 'Submit Button Text',\n path: 'content.submitMessage',\n validate: 'required|max:50',\n disabled: this.loading\n }\n ]\n },\n openedStateInputs(): Input[] {\n return [\n {\n type: InputType.TEXT,\n name: 'Title',\n label: 'Header Title',\n path: 'header.title',\n cols: 12,\n validate: 'max:100',\n disabled: this.loading\n },\n {\n type: InputType.TEXT,\n name: 'Subtitle',\n label: 'Header Subtitle',\n path: 'header.subtitle',\n cols: 12,\n validate: 'max:100',\n disabled: this.loading\n }\n ]\n },\n submitInput(): Input[] {\n return [\n {\n type: InputType.TEXT,\n name: 'Submit Button Text',\n label: 'Submit Button Text',\n path: 'content.submitMessage',\n validate: 'max:50',\n disabled: this.loading\n }\n ]\n },\n welcomeMessageInput(): Input[] {\n return [\n {\n type: InputType.TEXTAREA,\n name: 'Welcome Message',\n label: 'Welcome Message',\n path: 'content',\n rows: 3,\n colClass: `d-flex justify-start`,\n validate: 'max:300',\n disabled: this.loading\n }\n ]\n },\n successMessageInput(): Input[] {\n return [\n {\n type: InputType.TEXTAREA,\n name: 'Success',\n label: 'Success Message',\n path: 'content.successMessage',\n rows: '3',\n validate: 'max:300',\n disabled: this.loading\n }\n ]\n }\n },\n methods: {\n setAgentImage(link: string): void {\n // Set our chatbot agent image\n this.chatbotStyles.agent.image = link\n\n // Tell the parent to update\n this.$emit('submit', this.chatbotStyles)\n },\n async submitSchema(): Promise {\n // Grab our appform ref\n const appForm = this.$refs['chatbot-schema-submission-button']\n\n // Validate our input\n const valid = await appForm.$validator.validate()\n\n // If invalid, do nothing\n if (!valid) return\n\n // Else, we're valid so go ahead and submit\n this.$emit('submitSchema', this.chatbotSchema)\n },\n removeImage(): void {\n // Unset our agent image\n this.chatbotStyles.agent.image = null\n\n // Tell the parent to update\n this.$emit('submit', this.chatbotStyles)\n },\n updateModel(input: Input, val): void {\n // Set our value\n objectSet(input.path, val, this.chatbotStyles)\n\n // Check if we want to submit\n const submit = input.type !== 'COLORBTN' && input.type !== 'TEXT'\n\n // If we want to submit, then do it\n if (submit) this.$emit('submit', this.chatbotStyles)\n },\n async updateSchema(input: Input, val): Promise {\n // set our value\n objectSet(input.path, val, this.chatbotSchema[1])\n },\n updateWelcomeMessage(_, val: string): void {\n // Update the welcome message\n this.chatbotSchema[0].content = val\n },\n updateSuccessMessage(_, val: string): void {\n // Update the success message\n this.chatbotSchema[1].content.successMessage = val\n }\n },\n watch: {\n chatbotStyles: {\n deep: true,\n handler() {\n // Update all of our app forms\n for (const ref in this.$refs) {\n // Check if this ref contains \"style\"\n const valid = ref.includes('style')\n\n // If it is invalid, do nothing\n if (!valid) continue\n\n // Update temp\n this.$refs[ref].temp = window._.cloneDeep(this.chatbotStyles)\n }\n }\n },\n chatbotSchema: {\n deep: true,\n handler() {\n // Update all of our app forms\n for (const ref in this.$refs) {\n // Check if this ref contains \"schema\"\n const valid = ref.includes('schema')\n\n // If it is invalid, do nothing\n if (!valid) continue\n\n // Our clone depends on if this is for welcome or submission\n const model = ref.includes('submission')\n ? this.chatbotSchema[1]\n : this.chatbotSchema[0]\n\n // Update temp\n this.$refs[ref].temp = window._.cloneDeep(model)\n }\n }\n }\n }\n})\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ChatbotStyleEditor.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ChatbotStyleEditor.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./ChatbotStyleEditor.vue?vue&type=template&id=b670f0b8&scoped=true&\"\nimport script from \"./ChatbotStyleEditor.vue?vue&type=script&lang=ts&\"\nexport * from \"./ChatbotStyleEditor.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./ChatbotStyleEditor.vue?vue&type=style&index=0&id=b670f0b8&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 \"b670f0b8\",\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 { VExpansionPanel } from 'vuetify/lib/components/VExpansionPanel';\nimport { VExpansionPanelContent } from 'vuetify/lib/components/VExpansionPanel';\nimport { VExpansionPanelHeader } from 'vuetify/lib/components/VExpansionPanel';\nimport { VExpansionPanels } from 'vuetify/lib/components/VExpansionPanel';\ninstallComponents(component, {VCol,VExpansionPanel,VExpansionPanelContent,VExpansionPanelHeader,VExpansionPanels})\n","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Chatbot, {\n ChatbotSchemaContent,\n ChatbotSchemaEntry,\n ChatbotStyles,\n ChatbotStylesIcon\n} from '@/types/Chatbot.interface'\nimport ChatbotDemo from '@/components/ChatBotDemo.vue'\nimport ChatbotStyleEditor from '@/components/ChatbotStyleEditor.vue'\nimport { FormField, FormMessage } from '@/types/Form.interface'\nimport FormFields from '@/components/FormFields.vue'\nimport FormLinks from '@/components/FormLinks.vue'\nimport FormMessages from '@/components/FormMessages.vue'\nimport FormStyleImage from '@/components/FormStyleImage.vue'\nimport Vue from 'vue'\nexport default Vue.extend({\n components: {\n ChatbotDemo,\n ChatbotStyleEditor,\n FormFields,\n FormLinks,\n FormMessages,\n FormStyleImage\n },\n props: ['id'],\n data: () => ({\n // A loading spinner for when we are fetching chatbot\n loading: false,\n // Determines if we are ready to display data\n mounted: false,\n // Our page template toolbar\n toolbar: {\n title: 'Chatbot',\n help: {\n title: 'Chatbot',\n body: 'Grow your text message subscriber list by starting conversations directly from your website with the MessageDesk Chatbot',\n button: {\n text: 'Learn More',\n link: `${process.env.VUE_APP_URL_LEARN}/en/articles/5473493-chabot-overview`\n }\n },\n left: [\n {\n title: 'Back',\n icon: 'mdi-chevron-left',\n tooltip: 'Back',\n permission: 0,\n feature: null\n }\n ],\n right: []\n }\n }),\n async mounted() {\n // Don't begin mounting if chatbot is disabled\n if (!this.chatbotEnabled) return this.$router.push('/chatbots')\n\n // Check if a form is set in the url params\n const id = this.id\n\n // Start loading\n this.loading = true\n\n // If there is an id set, load it\n if (id) await this.$store.dispatch('chatbotsViewSelectedChatbotGet', id)\n\n // Stop loading\n this.loading = false\n\n // We use this mounted variable to track that we have finished setup\n this.mounted = true\n },\n computed: {\n brandingEnabled(): boolean {\n return this.$store.getters.getEnabled('branding')\n },\n chatbotDefaultInputs(): FormField[] {\n return this.$store.getters.chatbotDefaultInputs\n },\n chatbotFields(): ChatbotSchemaContent {\n // Grab our chatbot\n const chatbot = this.selectedChatbot\n\n // If we have no selected chatbot, return null\n if (!chatbot) return null\n\n // Grab the schema inputs\n const inputs = chatbot?.schema[1]?.content?.inputs\n\n // If no inputs, return null\n if (!inputs) return null\n\n // else, return our inputs\n return inputs\n },\n chatbotEnabled(): boolean {\n // return this.$store.getters.getEnabled('chatbot')\n return true\n },\n chatbotPanels(): object[] {\n return [\n {\n title: 'Step 1: Insert Form Fields',\n description:\n 'Add all of the fields you want to appear on your Chatbot form',\n type: 'fields'\n },\n {\n title: 'Step 2: Chatbot Styling',\n description: 'Add color and text styling to your form',\n type: 'styles'\n },\n {\n title: 'Step 3: Customize Message',\n description:\n 'Customize the message that is sent to your client upon form submission',\n type: 'messages'\n },\n {\n title: 'Step 4: Installation',\n description: 'Install the Chatbot on your website',\n type: 'links'\n }\n ]\n },\n chatbotStylesIcon(): ChatbotStylesIcon {\n // Grab the chatbot\n const chatbot = this.selectedChatbot\n\n // If no chatbot, return null\n if (!chatbot) return null\n\n // Else, grab the styles\n const styles = chatbot.styles\n\n // If no styles, return null\n if (!styles) return null\n\n // Else, return the icon from our styles\n return styles.icon\n },\n hasPhoneNumberField(): boolean {\n // If no selectedChatbot, return false\n if (!this.selectedChatbot) return false\n\n // GRab our frields from selectedChatbot\n const fields = this.chatbotFields\n\n // If no fields, do nothing\n if (!fields) return false\n\n // Check if we have a phone path in here\n const phone = fields.find((input: FormField) => {\n return input.name === 'Default Phone'\n })\n\n // The condition is based on whether or not phone exists\n return phone != null\n },\n links(): object[] {\n return [\n {\n header: {\n text: 'Embed Chatbot On Website',\n icon: 'mdi-help-circle',\n tooltip: true,\n callback: () => {\n this.$store.dispatch('dialogOpen', {\n type: 'MESSAGE',\n title: 'Help',\n text: 'Embed the chatbot on your website using this script tag',\n icon: 'mdi-help-circle',\n color: 'primary'\n })\n }\n },\n value: `