{"version":3,"sources":["webpack:///./src/reporting/ReportEditor.vue?e7c5","webpack:///./src/reporting/dialogs/ContextDlg.vue?e872","webpack:///./src/reporting/dialogs/PreviewDlg.vue?ade0","webpack:///./src/reporting/ReportEditor.vue?7b79","webpack:///./src/reporting/components/CellAccordion.vue?7141","webpack:///./src/reporting/components/CellProps.vue?a10b","webpack:///./src/reporting/components/ColorPicker.vue?8890","webpack:///src/reporting/components/ColorPicker.vue","webpack:///./src/reporting/components/ColorPicker.vue?0c93","webpack:///./src/reporting/components/ColorPicker.vue","webpack:///./src/reporting/components/ColumnEditor.vue?1efc","webpack:///src/reporting/components/ColumnEditor.vue","webpack:///./src/reporting/components/ColumnEditor.vue?3b8a","webpack:///./src/reporting/components/ColumnEditor.vue","webpack:///./src/reporting/components/ListEditor.vue?5f3b","webpack:///src/reporting/components/ListEditor.vue","webpack:///./src/reporting/components/ListEditor.vue?1efe","webpack:///./src/reporting/components/ListEditor.vue","webpack:///./src/reporting/components/PaddingEditor.vue?df69","webpack:///src/reporting/components/PaddingEditor.vue","webpack:///./src/reporting/components/PaddingEditor.vue?3806","webpack:///./src/reporting/components/PaddingEditor.vue","webpack:///./src/reporting/components/BindingEditor.vue?d1a7","webpack:///./src/reporting/components/BindingSuggest.vue?ecc7","webpack:///./src/reporting/components/BindingSuggest.vue","webpack:///./src/reporting/components/BindingEditor.vue","webpack:///./src/reporting/components/BindingSuggest.vue?ebd8","webpack:///./src/reporting/components/BindingSuggest.vue?e763","webpack:///./src/reporting/components/BindingEditor.vue?959c","webpack:///./src/reporting/components/BindingEditor.vue?18ec","webpack:///./src/reporting/components/ReqFields.vue?8b6f","webpack:///src/reporting/components/ReqFields.vue","webpack:///./src/reporting/components/ReqFields.vue?7dc8","webpack:///./src/reporting/components/ReqFields.vue","webpack:///./src/reporting/dialogs/BindingDlg.vue?f5bf","webpack:///./src/reporting/dialogs/BindingDlg.vue","webpack:///./src/reporting/dialogs/BindingDlg.vue?aaf0","webpack:///./src/reporting/dialogs/BindingDlg.vue?6e9a","webpack:///./src/dialogs/ClinicImagesDlg.vue?cb29","webpack:///./src/dialogs/ClinicImagesDlg.vue","webpack:///./src/dialogs/ClinicImagesDlg.vue?1c82","webpack:///./src/dialogs/ClinicImagesDlg.vue?a3e2","webpack:///./src/reporting/dialogs/RichTextPresets.vue?967a","webpack:///./src/reporting/dialogs/RichTextPresets.vue","webpack:///./src/reporting/dialogs/RichTextPresets.vue?2807","webpack:///./src/reporting/dialogs/RichTextPresets.vue?0613","webpack:///./src/reporting/components/CellProps.vue","webpack:///./src/reporting/components/CellProps.vue?f8a2","webpack:///./src/reporting/components/CellProps.vue?960f","webpack:///src/reporting/components/CellAccordion.vue","webpack:///./src/reporting/components/CellAccordion.vue?a200","webpack:///./src/reporting/components/CellAccordion.vue","webpack:///./src/reporting/components/Toolbox.vue?7e65","webpack:///src/reporting/components/Toolbox.vue","webpack:///./src/reporting/components/Toolbox.vue?aa3d","webpack:///./src/reporting/components/Toolbox.vue","webpack:///./src/reporting/components/Menu.vue?a843","webpack:///./src/reporting/dialogs/PreviewDlg.vue?5ea0","webpack:///./src/reporting/dialogs/ContextDlg.vue?13c3","webpack:///./src/reporting/dialogs/ContextDlg.vue","webpack:///./src/reporting/dialogs/ContextDlg.vue?83e4","webpack:///./src/reporting/dialogs/ContextDlg.vue?2d13","webpack:///./src/reporting/dialogs/PreviewDlg.vue","webpack:///./src/reporting/dialogs/PreviewDlg.vue?06bc","webpack:///./src/reporting/dialogs/PreviewDlg.vue?c7d3","webpack:///./src/reporting/components/UndoRedo.vue?a679","webpack:///src/reporting/components/UndoRedo.vue","webpack:///./src/reporting/components/UndoRedo.vue?0b87","webpack:///./src/reporting/components/UndoRedo.vue","webpack:///./src/reporting/dialogs/SaveReportAsDlg.vue?69e9","webpack:///./src/reporting/dialogs/SaveReportAsDlg.vue","webpack:///./src/reporting/dialogs/SaveReportAsDlg.vue?1e40","webpack:///./src/reporting/dialogs/SaveReportAsDlg.vue?f000","webpack:///./src/reporting/dialogs/PartnerFieldMapDlg.vue?05e1","webpack:///./src/reporting/dialogs/PartnerFieldMapDlg/IncomingMappings.vue?3d2b","webpack:///./src/reporting/dialogs/PartnerFieldMapDlg/MappingsMixin.ts","webpack:///./src/reporting/dialogs/PartnerFieldMapDlg/IncomingMappings.vue","webpack:///./src/reporting/dialogs/PartnerFieldMapDlg/IncomingMappings.vue?a816","webpack:///./src/reporting/dialogs/PartnerFieldMapDlg/IncomingMappings.vue?36b7","webpack:///./src/reporting/dialogs/PartnerFieldMapDlg/OutgoingMappings.vue?07fa","webpack:///./src/reporting/dialogs/PartnerFieldMapDlg/OutgoingMappings.vue","webpack:///./src/reporting/dialogs/PartnerFieldMapDlg/OutgoingMappings.vue?72fc","webpack:///./src/reporting/dialogs/PartnerFieldMapDlg/OutgoingMappings.vue?d31c","webpack:///./src/reporting/dialogs/PartnerFieldMapDlg.vue","webpack:///./src/reporting/dialogs/PartnerFieldMapDlg.vue?b01b","webpack:///./src/reporting/components/Editor.vue","webpack:///./src/reporting/dialogs/PartnerFieldMapDlg.vue?3117","webpack:///src/reporting/components/Menu.vue","webpack:///./src/reporting/components/Menu.vue?c82c","webpack:///./src/reporting/components/Menu.vue","webpack:///./src/reporting/components/Editor.vue?a6ce","webpack:///./src/reporting/components/Editor.vue?2fde","webpack:///./src/reporting/components/Editor.vue?67d5","webpack:///./src/reporting/ReportEditor.vue","webpack:///./src/reporting/ReportEditor.vue?a01c","webpack:///./src/reporting/ReportEditor.vue?4a69","webpack:///./src/reporting/components/CellProps.vue?a98a","webpack:///./src/reporting/components/Menu.vue?bafd","webpack:///./src/assets/compressed/asteris-omni-logo-white.png","webpack:///./src/reporting/components/Toolbox.vue?8dbf","webpack:///./src/reporting/components/ColorPicker.vue?b432","webpack:///./src/reporting/dialogs/BindingDlg.vue?a314","webpack:///./src/reporting/components/BindingSuggest.vue?529b","webpack:///./src/dialogs/AboutOmni.vue?13a4","webpack:///./src/reporting/components/Editor.vue?b1d1","webpack:///./src/components/HelpMenu.vue?8cee","webpack:///./src/dialogs/AboutOmni.vue?9709","webpack:///src/dialogs/AboutOmni.vue","webpack:///./src/dialogs/AboutOmni.vue?2ea2","webpack:///./src/dialogs/AboutOmni.vue","webpack:///./src/dialogs/AboutCommunity.vue?8f13","webpack:///src/dialogs/AboutCommunity.vue","webpack:///./src/dialogs/AboutCommunity.vue?18b7","webpack:///./src/dialogs/AboutCommunity.vue","webpack:///src/components/HelpMenu.vue","webpack:///./src/components/HelpMenu.vue?c903","webpack:///./src/components/HelpMenu.vue","webpack:///./src/reporting/components/ColumnEditor.vue?a094","webpack:///./src/components/Banner.vue?febe","webpack:///src/components/Banner.vue","webpack:///./src/components/Banner.vue?d050","webpack:///./src/components/Banner.vue","webpack:///./src/components/CommunityUpsellPromo.vue?11f8","webpack:///src/components/CommunityUpsellPromo.vue","webpack:///./src/components/CommunityUpsellPromo.vue?281b","webpack:///./src/components/CommunityUpsellPromo.vue","webpack:///./src/reporting/components/CellAccordion.vue?5ef8","webpack:///./src/components/ToolbarMenu.vue?05f4","webpack:///./src/reporting/components/StatusTag.vue?2104","webpack:///src/reporting/components/StatusTag.vue","webpack:///./src/reporting/components/StatusTag.vue?2fb0","webpack:///./src/reporting/components/StatusTag.vue","webpack:///./src/reporting/dialogs/RichTextPresets.vue?7da4","webpack:///./src/components/Tabs.vue?0e19","webpack:///src/components/Tabs.vue","webpack:///./src/components/Tabs.vue?8bfc","webpack:///./src/components/Tabs.vue","webpack:///./src/reporting/components/BindingEditor.vue?eb70","webpack:///./src/reporting/dialogs/PartnerFieldMapDlg.vue?0a21","webpack:///./src/dialogs/AboutCommunity.vue?6c18","webpack:///./src/components/Banner.vue?5a84","webpack:///./src/reporting/dialogs/PartnerFieldMapDlg.vue?c408","webpack:///./src/components/ToolbarBranding.vue?68f2","webpack:///src/components/ToolbarBranding.vue","webpack:///./src/components/ToolbarBranding.vue?d63a","webpack:///./src/components/ToolbarBranding.vue","webpack:///./src/reporting/components/StatusTag.vue?763f","webpack:///./src/reporting/components/ListEditor.vue?5239","webpack:///./src/components/ToolbarMenu.vue?1957","webpack:///src/components/ToolbarMenu.vue","webpack:///./src/components/ToolbarMenu.vue?6568","webpack:///./src/components/ToolbarMenu.vue","webpack:///./src/components/ToolbarBranding.vue?c7d1","webpack:///./src/reporting/components/PaddingEditor.vue?4749"],"names":["render","_vm","this","_h","$createElement","_c","_self","attrs","state","staticClass","on","$event","isLoadingSet","_l","cell","i","key","_e","set","staticStyle","_v","openSettings","staticRenderFns","class","isExpanded","expand","selCell","_s","title","preventDefault","saveProps","directives","name","rawName","value","expression","modifiers","domProps","$forceUpdate","target","composing","layoutName","trim","removeInvalidNameCharacters","template","$set","selectWatermarkImage","_n","isRoot","type","cellName","prop","cellMayAppearOnPdf","model","callback","$$v","label","openRichTextPresets","alignment","emValue","style","fontSize","option","binding","item","$$selectedVal","Array","prototype","filter","call","options","o","selected","map","val","_value","multiple","ref","refInFor","nativeOn","editBinding","optionsPropOptions","includes","min","max","widgets","length","widget","edit","deleteWidget","addNewWidget","imageType","browseImages","props","updateTable","changeCellType","selectLayout","layout","editWidget","reset","deleteCell","deleteComp","color","colorOptions","$emit","scopedSlots","_u","fn","colorOption","background","getColorVariable","isTextColor","event","String","default","Boolean","data","methods","prefix","concat","component","updateColumns","col","newWidths","maxWidth","columns","deleteColumn","error","validationErrors","resetWidths","addColumn","Object","required","computed","get","isPendingChange","_this","some","w","_this2","MIN_MAX_ERROR","SUM_ERROR","errors","isInvalid","push","reduce","a","b","watch","handler","immediate","_toConsumableArray","_this3","forEach","setColumnWidth","index","removeColumnCells","c","remove","shiftHigherColumnCellsToTheLeft","cells","splice","list","moveItemUp","moveItemDown","addOption","newOption","moveItem","_ref","from","to","Set","singlePaddingValue","_m","padding","showOneInput","components","AstCheckbox","every","p","text","readOnly","update","showSuggest","suggestTop","suggestLeft","activeNode","nodeValue","insertSuggestion","suggestions","stopPropagation","suggestion","highlighted","highlightedIndex","description","select","method","bindPath","hasChildren","icon","Suggestion","_ref$method","undefined","_ref$bindPath","_ref$description","_classCallCheck","_createClass","path","tool","reportService","tools","find","t","BindPath","parent","arguments","children","result","isContextItemAllowed","meta","sets","templates","layouts","selLayout","buildContextItem","obj","items","ContextMeta","buildBindPath","isBindable","bindableControls","childParent","primitive","sub","l","controls","buildBindPaths","term","activePath","root","group","isCurrentTemplate","templatePath","isNotCurrentCell","activeCell","widgetPath","termPaths","split","_loop","matchingPath","updateDebounce","top","Number","left","showMethodsOnly","showValuesOnly","searchTerm","paths","replace","allSuggestions","apply","methodSuggestions","keys","METHODS","m","suggestionSort","startsWithTerm","s","RegExp","test","toLowerCase","sort","filteredSuggestions","moveMenu","mounted","document","addEventListener","onKeydown","$once","removeEventListener","e","$refs","display","newIndex","scrollIntoView","block","_this4","$nextTick","offScreenX","Math","getBoundingClientRect","right","window","innerWidth","offScreenY","bottom","innerHeight","insertText","BindingSuggest","Binding","storedAnchorOffset","storedFocusOffset","editor","innerText","clearTimeout","setTimeout","selection","getSelection","anchorNode","nodeType","Node","TEXT_NODE","storeSelection","positionSuggest","renderBinding","restoreSelection","parse","anchorOffset","focusOffset","focusNode","textNodes","getTextNodes","sumPrecedingNodes","node","nodeIndex","indexOf","precedingNodes","n","range","getRangeAt","cursorRange","createRange","setStart","startOffset","setEnd","collapse","cursorMarker","createElement","insertNode","offsetTop","offsetLeft","_parse","html","getExpressions","_ref2","args","expressions","expressionStart","precedingText","slice","join","classList","innerHTML","isEmpty","isConnected","setBaseAndExtent","lastNode","_context","stop","_callee","currentOffset","nodeEndOffset","isExpression","parentElement","dataset","element","childNodes","ELEMENT_NODE","save","values","created","close","toggleSuggest","cancel","BindingDlg","DlgHeader","ModalWrapper","BindingEditor","button","methodsButton","valuesButton","offsetHeight","dlg","openBindingDlg","open","changeFile","img","id","url","selectedUrl","clearImage","selectImage","ClinicImagesDlg","ImageFileInput","images","preSelectedUrl","userData","getClinicImages","sent","deleteClinicImage","found","_context2","_callee2","files","file","MAX_SIZE","size","addNotification","userImage","clinicCode","filename","image","saveClinicImage","openClinicImagesDlg","isRefreshing","selectPreset","addPreset","selectedPreset","savePreset","deletePreset","RichTextPresets","RichText","preset","currentValue","trySaveChanges","next","message","showConfirm","confirmText","cancelText","showCloseHeader","shouldSave","presets","presetIndex","findIndex","_context3","refreshEditor","_callee3","openPromptDlg","prompt","requireInput","_context4","abrupt","showAlert","_callee4","labelToSelect","presetButton","$el","querySelector","click","_context5","_callee5","AstRadio","ColorPicker","ColumnEditor","ListEditor","PaddingEditor","ReqFields","panelList","panels","isPanel","visibleProps","isHiddenBorderProp","isTableCell","panel","border","canDeleteCell","isUserLayout","isUserLayoutForThisCell","isPdfTemplateRoot","isPdfTemplate","pageHeader","pageFooter","isImageCommentLayout","verticalAlignmentOptions","optionsProp","canReset","createProps","previousCell","renameCell","renameLayout","configureTable","widgetName","editableLayouts","nextCell","cellBelow","cellAbove","refreshPropValue","propName","def","assign","invalidName","rename","isArray","imageCommentColumns","createNewLayout","r","openTabIndex","openLayouts","removeLayout","closeLayout","resetLayout","useSignatureImage","useLogoImage","confirm","watermarkUrl","_context6","_callee6","CellProps","toolGroup","selTool","setTool","setDragTool","isInvalidTemplate","invalidTemplates","isInvalidLayout","invalidLayouts","isInvalidControl","isCommonControl","validTemplates","isFormField","isBasicElement","isTemplateControl","alphabetize","toolGroups","formFields","basicElements","templateControls","g","newLayout","dataTransfer","setData","goBack","helpItems","status","isLegacy","isActive","warnings","isLoading","retire","hasUnsavedChanges","saveAs","isTeleconsultation","setActive","copy","canPaste","paste","openPreviewDlg","hasPartnerMappings","openPartnerFieldMapDlg","warningCount","showWarnings","setConsultant","tabs","userId","loadPdf","fullName","consultantId","showMobile","showDark","pdfData","mobile","json","ContextDlg","modal","JSON","stringify","context","el","onkeydown","keyCode","focus","openContextDlg","getSample","child","sample","previewData","contextValues","templateType","requestValues","responseValues","reportValues","culture","PreviewDlg","PdfViewer","isAdmin","users","consultants","$store","getters","themeIsDark","user","claims","permissions","serverAdministration","isStandard","getAllUsers","consultations","getConsultantGroupMembers","static","prev","saveValues","savePreviewTemplateData","copyReportContextValuesToPreviewContext","report","getPreviewContext","hydrate","setActiveTemplate","preview","dispatch","mode","toJSON","getLocale","downloadPdfTemplatePreview","then","Uint8Array","alert","editContext","newContext","setContext","previewContext","patient","birthdate","breed","gender","species","owner","weight","weightUnit","consultant","address","email","organization","phone","website","client","city","postalCode","TemplateSet","load","Vue","ReportDetail","billingCodes","priorities","services","isImageOptional","imageComment","htmlValue","textValue","editDateTime","reportImageId","imageId","order","acquisitionDate","anatomy","limb","view","imageComments","addendum","fromUserDetail","addendums","attachments","relatedReports","clinic","originalClientId","standard","getTemplate","request","response","canRespond","isPreview","canUndo","undo","canRedo","redo","ToolbarButton","isUndoingOrRedoing","isThrottled","undoStack","redoStack","newState","oldState","THROTTLE_DURATION_MS","setJson","setId","setStatus","resetStateStorage","replaceStoredState","storeState","deep","beforeDestroy","ctrlKey","metaKey","yKey","zKey","shiftKey","setName","SaveReportAsDlg","openSaveAsDlg","partner","dataflow","_f","activeTabId","activeTab","_b","availableFields","field","selItem","selectItem","onDragStart","onDragEnd","control","getControlIcon","selectable","isControlSelectable","addControlToField","onDragOver","onDragLeave","onDrop","fields","f","removeControlFromField","loadedTemplate","loadedPartner","selectorName","prevKey","updateTemplateFieldMap","loadSelectedLayout","loadTemplateFieldMap","first","partnerLayoutMap","allControls","validLayoutNames","validLayouts","fieldMap","mappedControlPaths","partnerFieldMap","isValidType","fieldTypes","togglePaneSelected","isOver","dropEffect","pane","closest","_this5","idx","_this6","newMap","layoutMap","mixins","MappingsMixin","availableControls","isFieldSelectable","moveControlUp","moveControlDown","isUnassigned","PartnerFieldMapDlg","IncomingMappings","OutgoingMappings","Tabs","buildTabs","sortTabs","partnerFields","partnerTemplates","partnerTemplateFields","partnerTemplateDataflows","dropPanel","dropIndex","AstToolbar","StatusTag","ToolbarBranding","UserMenu","UndoRedo","HelpMenu","onClose","auth","count","$router","query","prevRoute","_asyncToGenerator","_regeneratorRuntime","mark","publishedSetWithSameName","_message","wrap","getTemplateSets","TemplateSetStatus","Published","setTemplateSetStatus","Retired","Draft","saveTemplateSet","newName","saveTemplateSetAs","params","finish","settingView","showErrors","pageHeaderWrapper","pageFooterWrapper","main","dropIndicator","onMouseDown","empty","dragCell","updateDropIndicator","onMouseMove","elCell","__vue__","isPageBreak","Panel","altPanel","rect","diff","pageY","process","arrow","transparent","width","clientWidth","height","borderTop","borderBottom","borderLeft","borderRight","clientHeight","appendChild","half","onMouseUp","dropCell","createCell","Layout","Cell","newValue","oldLayout","isPdf","unsetTheme","onKeyDown","cellLeft","cellRight","lastCell","firstCell","unsavedChangesWarning","extend","CellAccordion","Toolbox","TopMenu","Editor","cellChain","reverse","getTemplateSet","loadTemplateSet","updateDocumentTitle","toggle","confirmUnload","closeTemplate","beforeRouteLeave","isAuthenticated","confirmNavigation","eventBus","once","beforeRouteUpdate","beforeRouteEnter","returnValue","module","exports","completeList","release","browser","version","os","AboutOmniDlg","AstDataTable","config","detect","openAboutOmniDlg","AboutCommunityDlg","CommunityUpsellPromo","openAboutCommunityDlg","AstToolbarDropdown","clinicAPI","_objectSpread","mapState","iconName","importMachineName","canShow","activeClinicUrl","noAction","command","activeClinicCode","$route","openReportIssue","isCommunityUser","openReleaseNotes","isRounded","_t","learnMoreLink","learnMore","isClosable","isVisible","bannerId","storage","getItem","setItem","$attrs","Banner","displayStatus","tabs_","onWheel","accent","lowContrast","tab","selectedTab","closable","selectTab","onDragEnter","closeTab","canReorder","offset","normalizeTabs","value_","draggedOverEl","mq","small","paddingLeft","focusTab","onSelect","moveTab","fromIndex","toIndex","tabId","findAncestor","cls","contains","findTabItem","effectAllowed","add","itemId","getData","wrapper","deltaY","scrollLeft","compact","isCompact","community","mapGetters","hasBorder","onClick","captureEvent"],"mappings":"gHAAA,W,oCCAA,W,6DCAA,W,2CCAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAA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,IAAO,YAAc,SAASrD,GAAQA,EAAOkB,oBAAqB,CAAC5B,EAAI+3B,GAAG,OAAO,CAAEh0B,EAAS,KAAE3D,EAAG,WAAW,CAACc,YAAY,CAAC,eAAe,OAAOZ,MAAM,CAAC,KAAOyD,EAAKuI,QAAQtM,EAAIgB,KAAM+C,EAAU,MAAE3D,EAAG,MAAM,CAACc,YAAY,CAAC,MAAQ,OAAO,eAAe,OAAOZ,MAAM,CAAC,IAAO,OAAUyD,EAAU,MAAI,OAAQ,IAAM,MAAM/D,EAAIgB,KAAKhB,EAAImB,GAAG,iBAAiBnB,EAAI0B,GAAGqC,EAAKR,OAASQ,GAAM,iBAAiB,CAAC,KAAOA,KAAQ,MAAK,MAAM,IAClyB1C,EAAkB,GC+BP,GACfU,KAAA,cACA6D,MAAA,CACAstB,MAAA,CACAlwB,KAAAgE,OACAC,QAAA,QAEAgH,MAAA,CACAjL,KAAAiB,MACAgD,aAAAwF,GAEA2uB,aAAA,CACAp4B,KAAAkE,QACAD,SAAA,IAGAG,QAAA,CACA+zB,QAAA,SAAAp0B,EAAAhD,GACA,KAAAq3B,aACA,KAAA70B,MAAA,UAAAQ,QAAAhD,SAEA,KAAAwC,MAAA,SAAAxC,MCrDoV,I,wBCQhVwD,EAAY,eACd,EACAxH,EACAsB,GACA,EACA,KACA,WACA,MAIa,OAAAkG,E,2CCnBf,W,kCCAA","file":"js/ReportEditor.715e2829bf0cedc3d781.bundle.js","sourcesContent":["export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../node_modules/sass-loader/lib/loader.js??ref--8-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ReportEditor.vue?vue&type=style&index=0&id=794d6594&prod&lang=scss\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/lib/loader.js??ref--8-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ContextDlg.vue?vue&type=style&index=0&id=68de10f8&prod&lang=scss\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/lib/loader.js??ref--8-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PreviewDlg.vue?vue&type=style&index=0&id=6b76c988&prod&lang=scss\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{attrs:{\"id\":\"ReportEditor\"}},[_c('top-menu'),(_vm.state.set)?_c('div',{staticClass:\"tab-content\"},[_c('div',{staticClass:\"sidebar\"},[_c('toolbox')],1),_c('editor',{on:{\"hook:mounted\":function($event){_vm.isLoadingSet = false}}}),_c('div',{staticClass:\"sidebar props\"},_vm._l((_vm.cellChain),function(cell,i){return _c('cell-accordion',{key:i,attrs:{\"cell\":cell}})}),1)],1):_vm._e(),(!_vm.state.set && !_vm.isLoadingSet)?_c('div',{staticStyle:{\"display\":\"flex\",\"flex-direction\":\"column\",\"align-items\":\"center\",\"justify-content\":\"center\",\"height\":\"100%\",\"font-size\":\"1.2em\"}},[_vm._v(\"\\n\\t\\tTemplate sets can be accessed or created from within Settings.\\n\\t\\t\"),_c('button',{staticClass:\"btn btn-primary\",staticStyle:{\"margin-top\":\"16px\"},on:{\"click\":_vm.openSettings}},[_c('svg-icon',{attrs:{\"icon\":\"settings\",\"fixed\":\"\"}}),_vm._v(\" Open Settings\\n\\t\\t\")],1)]):_vm._e()],1)}\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',{staticClass:\"cell-accordion\",class:{ 'is-expanded': _vm.isExpanded }},[_c('div',{staticStyle:{\"user-select\":\"none\",\"font-weight\":\"600\"},on:{\"click\":_vm.expand,\"mouseenter\":function($event){_vm.state.selCell = _vm.cell}}},[_c('svg-icon',{staticClass:\"expand-arrow\",attrs:{\"icon\":\"chevron-right\"}}),_vm._v(\"\\n\\t\\t\"+_vm._s(_vm.title)+\"\\n\\t\")],1),(_vm.isExpanded)?_c('cell-props',{attrs:{\"cell\":_vm.cell,\"title\":_vm.title}}):_vm._e()],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.state.activeCell)?_c('form',{staticClass:\"cell-props\",on:{\"submit\":function($event){$event.preventDefault();return _vm.saveProps($event)}}},[(_vm.isUserLayout)?_c('div',{staticClass:\"dlgrow\"},[_c('label',[_vm._v(\"Name\")]),_c('input',{directives:[{name:\"model\",rawName:\"v-model.trim\",value:(_vm.layoutName),expression:\"layoutName\",modifiers:{\"trim\":true}}],staticClass:\"input\",domProps:{\"value\":(_vm.layoutName)},on:{\"blur\":[_vm.saveProps,function($event){return _vm.$forceUpdate()}],\"input\":[function($event){if($event.target.composing){ return; }_vm.layoutName=$event.target.value.trim()},_vm.removeInvalidNameCharacters]}})]):_vm._e(),(_vm.isPdfTemplateRoot)?_c('div',{staticClass:\"dlgrow\"},[_c('label',[_vm._v(\"Draft Watermark\")]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.cell.template.draftWatermark),expression:\"cell.template.draftWatermark\"}],staticClass:\"input\",attrs:{\"placeholder\":\"Draft\"},domProps:{\"value\":(_vm.cell.template.draftWatermark)},on:{\"blur\":_vm.saveProps,\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.cell.template, \"draftWatermark\", $event.target.value)}}}),_c('label',[_vm._v(\"Watermark Image\")]),_c('div',{staticStyle:{\"display\":\"flex\"}},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.cell.template.watermarkUrl),expression:\"cell.template.watermarkUrl\"}],staticClass:\"input\",staticStyle:{\"flex-grow\":\"1\"},attrs:{\"placeholder\":\"Watermark Url\"},domProps:{\"value\":(_vm.cell.template.watermarkUrl)},on:{\"blur\":_vm.saveProps,\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.cell.template, \"watermarkUrl\", $event.target.value)}}}),_c('button',{staticClass:\"btn btn-default\",on:{\"click\":function($event){return _vm.selectWatermarkImage()}}},[_vm._v(\"…\")])]),_c('label',[_vm._v(\"Watermark Opacity \")]),_c('div',{staticStyle:{\"display\":\"flex\",\"align-items\":\"center\"}},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.cell.template.watermarkOpacity),expression:\"cell.template.watermarkOpacity\"}],staticClass:\"input\",attrs:{\"max\":\"100\",\"min\":\"10\",\"type\":\"number\"},domProps:{\"value\":(_vm.cell.template.watermarkOpacity)},on:{\"blur\":_vm.saveProps,\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.cell.template, \"watermarkOpacity\", $event.target.value)}}}),_c('span',[_vm._v(\" %\")])]),_c('div',[_c('label',[_vm._v(\"Image Comment Columns\")]),_c('input',{directives:[{name:\"model\",rawName:\"v-model.number\",value:(_vm.cell.template.imageCommentColumns),expression:\"cell.template.imageCommentColumns\",modifiers:{\"number\":true}}],staticClass:\"input\",attrs:{\"type\":\"number\"},domProps:{\"value\":(_vm.cell.template.imageCommentColumns)},on:{\"blur\":[_vm.saveProps,function($event){return _vm.$forceUpdate()}],\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.cell.template, \"imageCommentColumns\", _vm._n($event.target.value))}}})])]):(!_vm.cell.isRoot && _vm.cell.type !== 'Layout Wrapper')?_c('div',{staticClass:\"dlgrow\"},[_c('label',[_vm._v(\"Name\")]),_c('input',{directives:[{name:\"model\",rawName:\"v-model.trim\",value:(_vm.cellName),expression:\"cellName\",modifiers:{\"trim\":true}}],staticClass:\"input\",attrs:{\"data-prop-name\":\"name\"},domProps:{\"value\":(_vm.cellName)},on:{\"blur\":[_vm.saveProps,function($event){return _vm.$forceUpdate()}],\"input\":[function($event){if($event.target.composing){ return; }_vm.cellName=$event.target.value.trim()},_vm.removeInvalidNameCharacters]}})]):_vm._e(),_vm._l((_vm.visibleProps),function(prop){return _c('div',{key:prop.name,staticStyle:{\"margin-top\":\"8px\"}},[(prop.type === 'toggle')?[(prop.name !== 'avoidPageBreak' || _vm.cellMayAppearOnPdf)?_c('ast-checkbox',{on:{\"input\":_vm.saveProps},model:{value:(prop.value),callback:function ($$v) {_vm.$set(prop, \"value\", $$v)},expression:\"prop.value\"}},[_c('span',{staticStyle:{\"text-transform\":\"capitalize\"}},[_vm._v(_vm._s(prop.label || prop.name))])]):_vm._e()]:(prop.type === 'private')?[(_vm.cellMayAppearOnPdf)?_c('ast-checkbox',{attrs:{\"type\":\"checkbox\",\"title\":\"Anything marked Private can be optionally hidden on the generated PDF report.\"},on:{\"input\":_vm.saveProps},model:{value:(prop.value),callback:function ($$v) {_vm.$set(prop, \"value\", $$v)},expression:\"prop.value\"}},[_c('span',[_vm._v(\"Private\")])]):_vm._e()]:(prop.type === 'presets')?_c('button',{staticClass:\"btn btn-default\",on:{\"click\":function($event){return _vm.openRichTextPresets(_vm.cell)}}},[_vm._v(\"\\n\\t\\t\\tEdit preset values …\\n\\t\\t\")]):_c('label',{staticStyle:{\"text-transform\":\"capitalize\"}},[(prop.label)?_c('span',[_vm._v(_vm._s(prop.label))]):_c('span',[_vm._v(_vm._s(prop.name))])]),(prop.type === 'alignment')?_c('div',_vm._l((['left', 'center', 'right', 'justify']),function(alignment){return _c('button',{key:alignment,staticClass:\"btn\",class:prop.value === alignment ? 'btn-success' : 'btn-default',attrs:{\"title\":alignment,\"type\":\"button\"},on:{\"click\":function($event){prop.value = alignment\n\t\t\t\t\t_vm.saveProps()}}},[_c('svg-icon',{attrs:{\"icon\":(\"format-align-\" + alignment)}})],1)}),0):(prop.type === 'verticalAlignment')?_c('div',_vm._l((_vm.verticalAlignmentOptions),function(alignment){return _c('button',{key:alignment,staticClass:\"btn\",class:prop.value === alignment ? 'btn-success' : 'btn-default',attrs:{\"title\":alignment,\"type\":\"button\"},on:{\"click\":function($event){prop.value = alignment\n\t\t\t\t\t_vm.saveProps()}}},[_c('svg-icon',{attrs:{\"icon\":(\"format-align-\" + alignment)}})],1)}),0):(prop.type === 'font-size')?_c('div',_vm._l((['0.6', '0.8', '1', '1.2', '1.4']),function(emValue,i){return _c('button',{key:i,staticClass:\"btn\",class:(+prop.value || 2) === i + 1 ? 'btn-success' : 'btn-default',staticStyle:{\"height\":\"36px\"},attrs:{\"title\":i + 1,\"type\":\"button\"},on:{\"click\":function($event){prop.value = i + 1\n\t\t\t\t\t_vm.saveProps()}}},[_c('svg-icon',{style:({ fontSize: (emValue + \"em\") }),attrs:{\"icon\":\"font\"}})],1)}),0):(prop.type === 'reqfields')?_c('req-fields',{attrs:{\"prop\":prop},on:{\"input\":_vm.saveProps}}):(prop.type === 'border')?_c('div',_vm._l((['none', 'sides', 'all']),function(option){return _c('button',{key:option,staticClass:\"btn\",class:prop.value === option ? 'btn-success' : 'btn-default',attrs:{\"title\":option,\"type\":\"button\"},on:{\"click\":function($event){prop.value = option\n\t\t\t\t\t_vm.saveProps()}}},[_c('svg-icon',{attrs:{\"icon\":(\"border-\" + option)}})],1)}),0):(prop.type == 'textblock')?[_c('textarea',{directives:[{name:\"model\",rawName:\"v-model\",value:(prop.value),expression:\"prop.value\"}],staticClass:\"input\",attrs:{\"data-prop-name\":\"text\"},domProps:{\"value\":(prop.value)},on:{\"input\":[function($event){if($event.target.composing){ return; }_vm.$set(prop, \"value\", $event.target.value)},_vm.saveProps]}}),_c('span',{directives:[{name:\"show\",rawName:\"v-show\",value:(prop.value && _vm.cell.binding),expression:\"prop.value && cell.binding\"}],staticClass:\"is-warning\",staticStyle:{\"font-size\":\"0.9em\"}},[_c('svg-icon',{attrs:{\"icon\":\"exclamation-triangle\"}}),_vm._v(\"\\n\\t\\t\\t\\tText value will not be used since there is a data binding.\\n\\t\\t\\t\")],1)]:(prop.type === 'radio')?_c('div',{staticStyle:{\"margin-top\":\"-4px\"}},_vm._l((prop.options),function(item){return _c('ast-radio',{key:item,attrs:{\"value\":item},on:{\"input\":_vm.saveProps},model:{value:(prop.value),callback:function ($$v) {_vm.$set(prop, \"value\", $$v)},expression:\"prop.value\"}},[_vm._v(\"\\n\\t\\t\\t\\t\"+_vm._s(item)+\"\\n\\t\\t\\t\")])}),1):(prop.type === 'panel-view-binding')?_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(prop.value),expression:\"prop.value\"}],staticClass:\"select\",on:{\"change\":[function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.$set(prop, \"value\", $event.target.multiple ? $$selectedVal : $$selectedVal[0])},_vm.saveProps]}},_vm._l((_vm.panelList),function(item){return _c('option',{key:item},[_vm._v(_vm._s(item))])}),0):(prop.type == 'binding')?[_c('binding-editor',{ref:\"bindingEditor\",refInFor:true,attrs:{\"read-only\":\"\"},nativeOn:{\"click\":function($event){return _vm.editBinding(prop)}},model:{value:(_vm.binding),callback:function ($$v) {_vm.binding=$$v},expression:\"binding\"}}),_c('div',{staticClass:\"buttons\",staticStyle:{\"margin-top\":\"0\"}},[_c('button',{staticClass:\"btn btn-default\",attrs:{\"type\":\"button\",\"data-prop-name\":\"binding\"},on:{\"click\":function($event){return _vm.editBinding(prop)}}},[_c('svg-icon',{attrs:{\"icon\":\"edit\",\"fixed\":\"\"}}),_vm._v(\"\\n\\t\\t\\t\\t\\tEdit Binding\\n\\t\\t\\t\\t\")],1)])]:(prop.type === 'select')?_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(prop.value),expression:\"prop.value\"}],staticClass:\"select\",on:{\"change\":[function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.$set(prop, \"value\", $event.target.multiple ? $$selectedVal : $$selectedVal[0])},_vm.saveProps]}},_vm._l((prop.options),function(item){return _c('option',{key:item},[_vm._v(_vm._s(item))])}),0):(prop.type === 'columns')?_c('column-editor',{attrs:{\"cell\":_vm.cell},on:{\"input\":_vm.saveProps},model:{value:(prop.value),callback:function ($$v) {_vm.$set(prop, \"value\", $$v)},expression:\"prop.value\"}}):(prop.type === 'bg-color')?_c('color-picker',{on:{\"input\":_vm.saveProps},model:{value:(prop.value),callback:function ($$v) {_vm.$set(prop, \"value\", $$v)},expression:\"prop.value\"}}):(prop.type === 'text-color')?_c('color-picker',{attrs:{\"is-text-color\":\"\"},on:{\"input\":_vm.saveProps},model:{value:(prop.value),callback:function ($$v) {_vm.$set(prop, \"value\", $$v)},expression:\"prop.value\"}}):(prop.type === 'list')?_c('list-editor',{on:{\"input\":_vm.saveProps},model:{value:(prop.value),callback:function ($$v) {_vm.$set(prop, \"value\", $$v)},expression:\"prop.value\"}}):(prop.type === 'options-default')?_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(prop.value),expression:\"prop.value\"}],staticClass:\"select\",on:{\"change\":[function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.$set(prop, \"value\", $event.target.multiple ? $$selectedVal : $$selectedVal[0])},_vm.saveProps]}},[(!_vm.optionsPropOptions.includes(''))?_c('option'):_vm._e(),_vm._l((_vm.optionsPropOptions),function(item){return _c('option',{key:item},[_vm._v(_vm._s(item))])})],2):(prop.type === 'padding')?_c('padding-editor',{on:{\"input\":_vm.saveProps},model:{value:(prop.value),callback:function ($$v) {_vm.$set(prop, \"value\", $$v)},expression:\"prop.value\"}}):(prop.type === 'number')?_c('input',{directives:[{name:\"model\",rawName:\"v-model.number\",value:(prop.value),expression:\"prop.value\",modifiers:{\"number\":true}}],staticClass:\"input\",attrs:{\"type\":\"number\",\"min\":prop.min || 0,\"max\":prop.max,\"data-prop-name\":prop.name},domProps:{\"value\":(prop.value)},on:{\"input\":[function($event){if($event.target.composing){ return; }_vm.$set(prop, \"value\", _vm._n($event.target.value))},_vm.saveProps],\"blur\":function($event){return _vm.$forceUpdate()}}}):(prop.type === 'layouts')?_c('div',{staticStyle:{\"display\":\"flex\",\"flex-direction\":\"column\"}},[(!_vm.cell.widgets.length)?_c('div',{staticStyle:{\"padding\":\"4px\",\"font-size\":\"0.9em\"}},[_c('em',{staticClass:\"is-danger\"},[_vm._v(\"No \"+_vm._s(prop.label)+\" specified\")])]):_vm._e(),_vm._l((_vm.cell.widgets),function(widget,i){return _c('div',{key:widget.name,staticClass:\"widget\"},[_c('button',{staticClass:\"btn btn-default\",attrs:{\"type\":\"button\",\"data-prop-name\":'widgets-' + i},on:{\"click\":function($event){return _vm.edit(widget.name)}}},[_c('svg-icon',{attrs:{\"icon\":\"edit\",\"fixed\":\"\"}}),_c('span',[_vm._v(_vm._s(widget.name))])],1),_c('button',{staticClass:\"btn btn-default btn-delete\",attrs:{\"type\":\"button\"},on:{\"click\":function($event){return _vm.deleteWidget(widget.name)}}},[_c('svg-icon',{attrs:{\"icon\":\"close\"}})],1)])}),_c('button',{staticClass:\"btn btn-primary\",staticStyle:{\"margin-top\":\"4px\"},attrs:{\"type\":\"button\"},on:{\"click\":function($event){return _vm.addNewWidget()}}},[_c('svg-icon',{attrs:{\"icon\":\"plus-circle-outline\"}}),_vm._v(\"\\n\\t\\t\\t\\tAdd New Form\\n\\t\\t\\t\")],1)],2):(prop.type === 'image')?_c('div',[_c('div',{staticStyle:{\"display\":\"flex\"}},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(prop.value),expression:\"prop.value\"}],staticClass:\"input\",staticStyle:{\"flex-grow\":\"1\"},attrs:{\"data-prop-name\":prop.name},domProps:{\"value\":(prop.value)},on:{\"blur\":_vm.saveProps,\"input\":function($event){if($event.target.composing){ return; }_vm.$set(prop, \"value\", $event.target.value)}}}),(_vm.imageType == '')?_c('button',{staticClass:\"btn btn-default\",on:{\"click\":function($event){return _vm.browseImages(prop)}}},[_vm._v(\"…\")]):_vm._e()]),_c('div',{staticStyle:{\"margin-top\":\"6px\",\"display\":\"flex\",\"flex-direction\":\"column\"}},[_c('div',{staticClass:\"input-group\"},[_c('ast-radio',{attrs:{\"value\":\"\"},on:{\"input\":_vm.saveProps},model:{value:(_vm.imageType),callback:function ($$v) {_vm.imageType=$$v},expression:\"imageType\"}},[_vm._v(\"URL\")]),(_vm.isImageCommentLayout)?_c('ast-radio',{attrs:{\"value\":\"[Image Comment]\"},on:{\"input\":_vm.saveProps},model:{value:(_vm.imageType),callback:function ($$v) {_vm.imageType=$$v},expression:\"imageType\"}},[_vm._v(\"\\n\\t\\t\\t\\t\\t\\tImage Comment\\n\\t\\t\\t\\t\\t\")]):_vm._e(),_c('ast-radio',{attrs:{\"value\":\"[Signature]\"},on:{\"input\":_vm.saveProps},model:{value:(_vm.imageType),callback:function ($$v) {_vm.imageType=$$v},expression:\"imageType\"}},[_vm._v(\"\\n\\t\\t\\t\\t\\t\\tSignature\\n\\t\\t\\t\\t\\t\")]),_c('ast-radio',{attrs:{\"value\":\"[Logo]\"},on:{\"input\":_vm.saveProps},model:{value:(_vm.imageType),callback:function ($$v) {_vm.imageType=$$v},expression:\"imageType\"}},[_vm._v(\"Logo\")])],1)])]):(!['private', 'toggle', 'presets'].includes(prop.type))?_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(prop.value),expression:\"prop.value\"}],staticClass:\"input\",attrs:{\"data-prop-name\":prop.name},domProps:{\"value\":(prop.value)},on:{\"input\":[function($event){if($event.target.composing){ return; }_vm.$set(prop, \"value\", $event.target.value)},_vm.saveProps]}}):_vm._e()],2)}),(_vm.cell.isTableCell)?_c('div',{staticClass:\"dlgrow\"},[_c('label',[_vm._v(\"Column Span\")]),_c('input',{directives:[{name:\"model\",rawName:\"v-model.number\",value:(_vm.cell.props.colspan),expression:\"cell.props.colspan\",modifiers:{\"number\":true}}],staticClass:\"input\",attrs:{\"type\":\"number\"},domProps:{\"value\":(_vm.cell.props.colspan)},on:{\"input\":[function($event){if($event.target.composing){ return; }_vm.$set(_vm.cell.props, \"colspan\", _vm._n($event.target.value))},_vm.updateTable],\"blur\":function($event){return _vm.$forceUpdate()}}})]):_vm._e(),(_vm.cell.isTableCell)?_c('div',{staticClass:\"dlgrow\"},[_c('label',[_vm._v(\"Row Span\")]),_c('input',{directives:[{name:\"model\",rawName:\"v-model.number\",value:(_vm.cell.props.rowspan),expression:\"cell.props.rowspan\",modifiers:{\"number\":true}}],staticClass:\"input\",attrs:{\"type\":\"number\"},domProps:{\"value\":(_vm.cell.props.rowspan)},on:{\"input\":[function($event){if($event.target.composing){ return; }_vm.$set(_vm.cell.props, \"rowspan\", _vm._n($event.target.value))},_vm.updateTable],\"blur\":function($event){return _vm.$forceUpdate()}}})]):_vm._e(),(_vm.cell.type === 'Billing Code Selector')?_c('div',{staticClass:\"dlgrow\"},[_c('ast-checkbox',{on:{\"change\":_vm.saveProps},model:{value:(_vm.cell.props.isRequired),callback:function ($$v) {_vm.$set(_vm.cell.props, \"isRequired\", $$v)},expression:\"cell.props.isRequired\"}},[_vm._v(\"\\n\\t\\t\\tRequired\\n\\t\\t\")])],1):_vm._e(),_c('div',{staticClass:\"buttons\"},[(_vm.cell.type === 'Radio Group')?_c('button',{staticClass:\"btn btn-default\",attrs:{\"type\":\"button\"},on:{\"click\":function($event){return _vm.changeCellType('Checkbox Group')}}},[_c('svg-icon',{attrs:{\"icon\":\"checkbox-multiple-marked\",\"fixed\":\"\"}}),_vm._v(\"\\n\\t\\t\\tConvert to Checkbox Group\\n\\t\\t\")],1):_vm._e(),(_vm.cell.type === 'Radio Group')?_c('button',{staticClass:\"btn btn-default\",attrs:{\"type\":\"button\"},on:{\"click\":function($event){return _vm.changeCellType('Dropdown')}}},[_c('svg-icon',{attrs:{\"icon\":\"caret-square-o-down\",\"fixed\":\"\"}}),_vm._v(\"\\n\\t\\t\\tConvert to Dropdown\\n\\t\\t\")],1):_vm._e(),(['Dropdown', 'Checkbox Group'].includes(_vm.cell.type))?_c('button',{staticClass:\"btn btn-default\",attrs:{\"type\":\"button\"},on:{\"click\":function($event){return _vm.changeCellType('Radio Group')}}},[_c('svg-icon',{attrs:{\"icon\":\"radiobox-marked\",\"fixed\":\"\"}}),_vm._v(\"\\n\\t\\t\\tConvert to Radio Group\\n\\t\\t\")],1):_vm._e(),(_vm.cell.type === 'Layout Wrapper')?_c('button',{staticClass:\"btn btn-primary\",attrs:{\"type\":\"button\",\"data-prop-name\":\"widget\"},on:{\"click\":function($event){return _vm.state.selectLayout(_vm.cell.layout)}}},[_c('svg-icon',{attrs:{\"icon\":\"edit\",\"fixed\":\"\"}}),_c('span',[_vm._v(\"Edit \"+_vm._s(_vm.cell.layout.name))])],1):(_vm.cell.editWidget)?_c('button',{staticClass:\"btn btn-primary\",attrs:{\"type\":\"button\",\"data-prop-name\":\"widget\"},on:{\"click\":function($event){return _vm.edit(_vm.cell.editWidget)}}},[_c('svg-icon',{attrs:{\"icon\":\"edit\",\"fixed\":\"\"}}),_c('span',[_vm._v(\"Edit \"+_vm._s(_vm.title))])],1):_vm._e(),(_vm.canReset)?_c('button',{staticClass:\"btn btn-default btn-delete\",attrs:{\"type\":\"button\"},on:{\"click\":function($event){return _vm.reset()}}},[_c('svg-icon',{attrs:{\"icon\":\"undo\",\"fixed\":\"\"}}),_c('span',[_vm._v(\"Reset \"+_vm._s(_vm.title))])],1):_vm._e(),(_vm.canDeleteCell)?_c('button',{staticClass:\"btn btn-default btn-delete\",attrs:{\"type\":\"button\"},on:{\"click\":function($event){return _vm.deleteCell()}}},[_c('svg-icon',{attrs:{\"icon\":\"close\",\"fixed\":\"\"}}),_c('span',[_vm._v(\"Delete \"+_vm._s(_vm.title))])],1):_vm._e(),(_vm.isUserLayout)?_c('button',{staticClass:\"btn btn-default btn-delete\",attrs:{\"type\":\"button\"},on:{\"click\":function($event){return _vm.deleteComp()}}},[_c('svg-icon',{attrs:{\"icon\":\"close\",\"fixed\":\"\"}}),_c('span',[_vm._v(\"Delete \"+_vm._s(_vm.title))])],1):_vm._e()]),_c('button',{staticStyle:{\"display\":\"none\"},attrs:{\"type\":\"submit\"}})],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 _c('v-select',{attrs:{\"value\":_vm.color,\"options\":_vm.colorOptions},on:{\"input\":function($event){return _vm.$emit('input', $event)}},scopedSlots:_vm._u([{key:\"selected-option\",fn:function(ref){\nvar colorOption = ref.label;\nreturn [(colorOption)?_c('div',{staticClass:\"color-swatch\",style:({ background: (\"var(--\" + (_vm.getColorVariable(colorOption)) + \")\") }),attrs:{\"data-color\":(\"\" + (_vm.getColorVariable(colorOption)))}}):_vm._e()]}},{key:\"option\",fn:function(ref){\nvar colorOption = ref.label;\nreturn [(!colorOption)?_c('span',[_vm._v(_vm._s(_vm.isTextColor ? 'Default' : 'None'))]):_c('div',{staticClass:\"color-swatch\",style:({ background: (\"var(--\" + (_vm.getColorVariable(colorOption)) + \")\") })})]}}])})}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\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!./ColorPicker.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!./ColorPicker.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./ColorPicker.vue?vue&type=template&id=6848da82\"\nimport script from \"./ColorPicker.vue?vue&type=script&lang=js\"\nexport * from \"./ColorPicker.vue?vue&type=script&lang=js\"\nimport style0 from \"./ColorPicker.vue?vue&type=style&index=0&id=6848da82&prod&lang=scss\"\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","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('form',{staticClass:\"report-table-column-editor\",staticStyle:{\"display\":\"flex\",\"flex-direction\":\"column\"},on:{\"submit\":function($event){$event.preventDefault();return _vm.updateColumns($event)}}},[_vm._l((_vm.columns),function(col,i){return _c('div',{key:i,staticStyle:{\"display\":\"flex\",\"align-items\":\"center\",\"margin-bottom\":\"4px\"}},[_c('input',{directives:[{name:\"model\",rawName:\"v-model.number\",value:(_vm.newWidths[i]),expression:\"newWidths[i]\",modifiers:{\"number\":true}}],staticClass:\"input\",class:{\n\t\t\t\t'is-changed': _vm.newWidths[i] !== col,\n\t\t\t\t'is-invalid': _vm.newWidths[i] < 10 || _vm.newWidths[i] > _vm.maxWidth,\n\t\t\t},attrs:{\"type\":\"number\"},domProps:{\"value\":(_vm.newWidths[i])},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.newWidths, i, _vm._n($event.target.value))},\"blur\":function($event){return _vm.$forceUpdate()}}}),_c('span',{staticStyle:{\"padding\":\"0 24px 0 4px\"}},[_vm._v(\"%\")]),_c('button',{staticClass:\"btn btn-default btn-delete\",staticStyle:{\"margin-left\":\"4px\"},attrs:{\"disabled\":_vm.columns.length === 1,\"type\":\"button\"},on:{\"click\":function($event){return _vm.deleteColumn(i)}}},[_c('svg-icon',{attrs:{\"icon\":\"close\"}})],1)])}),_c('transition',{attrs:{\"name\":\"expand\"}},[(_vm.isPendingChange)?_c('div',{staticStyle:{\"display\":\"flex\",\"flex-direction\":\"column\",\"margin-bottom\":\"8px\"}},[_vm._l((_vm.validationErrors),function(error){return _c('p',{key:error,staticStyle:{\"text-align\":\"center\",\"padding\":\"4px 0\",\"font-size\":\"0.9em\"}},[_c('svg-icon',{staticClass:\"is-warning\",attrs:{\"icon\":\"exclamation-triangle\"}}),_vm._v(\"\\n\\t\\t\\t\\t\"+_vm._s(error)+\"\\n\\t\\t\\t\")],1)}),_c('button',{staticClass:\"btn btn-success\",attrs:{\"disabled\":_vm.validationErrors.length > 0,\"type\":\"button\"},on:{\"click\":_vm.updateColumns}},[_c('svg-icon',{attrs:{\"icon\":\"check\"}}),_vm._v(\"\\n\\t\\t\\t\\tApply Changes\\n\\t\\t\\t\")],1),_c('button',{staticClass:\"btn btn-default\",attrs:{\"type\":\"button\"},on:{\"click\":_vm.resetWidths}},[_c('svg-icon',{attrs:{\"icon\":\"undo\"}}),_vm._v(\"\\n\\t\\t\\t\\tDiscard Changes\\n\\t\\t\\t\")],1)],2):_vm._e()]),_c('button',{staticClass:\"btn btn-default\",attrs:{\"type\":\"button\",\"disabled\":_vm.columns.length >= 10},on:{\"click\":_vm.addColumn}},[_c('svg-icon',{attrs:{\"icon\":\"plus-circle-outline\"}}),_vm._v(\"\\n\\t\\tAdd Column\\n\\t\")],1)],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\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!./ColumnEditor.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!./ColumnEditor.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./ColumnEditor.vue?vue&type=template&id=b7c3a836\"\nimport script from \"./ColumnEditor.vue?vue&type=script&lang=js\"\nexport * from \"./ColumnEditor.vue?vue&type=script&lang=js\"\nimport style0 from \"./ColumnEditor.vue?vue&type=style&index=0&id=b7c3a836&prod&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","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"option-list-editor\"},[_vm._l((_vm.list),function(option,i){return _c('div',{key:i,staticStyle:{\"display\":\"flex\",\"align-items\":\"center\",\"margin-bottom\":\"4px\"}},[_c('input',{directives:[{name:\"model\",rawName:\"v-model.trim\",value:(_vm.list[i]),expression:\"list[i]\",modifiers:{\"trim\":true}}],staticClass:\"input\",domProps:{\"value\":(_vm.list[i])},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.list, i, $event.target.value.trim())},\"blur\":function($event){return _vm.$forceUpdate()}}}),_c('button',{staticClass:\"btn btn-default\",attrs:{\"disabled\":i === 0,\"title\":\"Move up\"},on:{\"click\":function($event){return _vm.moveItemUp(i)}}},[_c('svg-icon',{attrs:{\"icon\":\"caret-up\"}})],1),_c('button',{staticClass:\"btn btn-default\",attrs:{\"disabled\":i === _vm.list.length - 1,\"title\":\"Move down\"},on:{\"click\":function($event){return _vm.moveItemDown(i)}}},[_c('svg-icon',{attrs:{\"icon\":\"caret-down\"}})],1),_c('button',{staticClass:\"btn btn-default btn-delete\",attrs:{\"disabled\":_vm.list.length === 1,\"title\":\"Remove option\"},on:{\"click\":function($event){return _vm.list.splice(i, 1)}}},[_c('svg-icon',{attrs:{\"icon\":\"close\"}})],1)])}),_c('form',{staticStyle:{\"display\":\"flex\",\"align-items\":\"center\",\"margin-bottom\":\"4px\"},on:{\"submit\":function($event){$event.preventDefault();return _vm.addOption($event)}}},[_c('input',{directives:[{name:\"model\",rawName:\"v-model.trim\",value:(_vm.newOption),expression:\"newOption\",modifiers:{\"trim\":true}}],staticClass:\"input\",attrs:{\"placeholder\":\"New option ...\"},domProps:{\"value\":(_vm.newOption)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.newOption=$event.target.value.trim()},\"blur\":function($event){return _vm.$forceUpdate()}}}),_c('button',{staticClass:\"btn btn-default\",attrs:{\"type\":\"submit\"}},[_c('svg-icon',{attrs:{\"icon\":\"plus-circle-outline\",\"title\":\"Add new option\"}})],1)])],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\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!./ListEditor.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!./ListEditor.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./ListEditor.vue?vue&type=template&id=810aeda6\"\nimport script from \"./ListEditor.vue?vue&type=script&lang=js\"\nexport * from \"./ListEditor.vue?vue&type=script&lang=js\"\nimport style0 from \"./ListEditor.vue?vue&type=style&index=0&id=810aeda6&prod&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","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"padding-editor\"},[(_vm.showOneInput)?_c('input',{directives:[{name:\"model\",rawName:\"v-model.number\",value:(_vm.singlePaddingValue),expression:\"singlePaddingValue\",modifiers:{\"number\":true}}],staticClass:\"input\",attrs:{\"type\":\"number\",\"min\":\"0\"},domProps:{\"value\":(_vm.singlePaddingValue)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.singlePaddingValue=_vm._n($event.target.value)},\"blur\":function($event){return _vm.$forceUpdate()}}}):_c('table',{staticStyle:{\"font-size\":\"0.9em\"}},[_c('tr',[_vm._m(0),_c('td',[_c('input',{directives:[{name:\"model\",rawName:\"v-model.number\",value:(_vm.padding[0]),expression:\"padding[0]\",modifiers:{\"number\":true}}],staticClass:\"input\",attrs:{\"type\":\"number\",\"min\":\"0\"},domProps:{\"value\":(_vm.padding[0])},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.padding, 0, _vm._n($event.target.value))},\"blur\":function($event){return _vm.$forceUpdate()}}})])]),_c('tr',[_vm._m(1),_c('td',[_c('input',{directives:[{name:\"model\",rawName:\"v-model.number\",value:(_vm.padding[1]),expression:\"padding[1]\",modifiers:{\"number\":true}}],staticClass:\"input\",attrs:{\"type\":\"number\",\"min\":\"0\"},domProps:{\"value\":(_vm.padding[1])},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.padding, 1, _vm._n($event.target.value))},\"blur\":function($event){return _vm.$forceUpdate()}}})])]),_c('tr',[_vm._m(2),_c('td',[_c('input',{directives:[{name:\"model\",rawName:\"v-model.number\",value:(_vm.padding[2]),expression:\"padding[2]\",modifiers:{\"number\":true}}],staticClass:\"input\",attrs:{\"type\":\"number\",\"min\":\"0\"},domProps:{\"value\":(_vm.padding[2])},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.padding, 2, _vm._n($event.target.value))},\"blur\":function($event){return _vm.$forceUpdate()}}})])]),_c('tr',[_vm._m(3),_c('td',[_c('input',{directives:[{name:\"model\",rawName:\"v-model.number\",value:(_vm.padding[3]),expression:\"padding[3]\",modifiers:{\"number\":true}}],staticClass:\"input\",attrs:{\"type\":\"number\",\"min\":\"0\"},domProps:{\"value\":(_vm.padding[3])},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.padding, 3, _vm._n($event.target.value))},\"blur\":function($event){return _vm.$forceUpdate()}}})])])]),_c('ast-checkbox',{model:{value:(_vm.showOneInput),callback:function ($$v) {_vm.showOneInput=$$v},expression:\"showOneInput\"}},[_c('span',[_vm._v(\"Use equal padding on all sides\")])])],1)}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('td',[_c('label',[_vm._v(\"Top\")])])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('td',[_c('label',[_vm._v(\"Right\")])])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('td',[_c('label',[_vm._v(\"Bottom\")])])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('td',[_c('label',[_vm._v(\"Left\")])])}]\n\nexport { render, staticRenderFns }","\n\n\n\n\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!./PaddingEditor.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!./PaddingEditor.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./PaddingEditor.vue?vue&type=template&id=4e43b9ca\"\nimport script from \"./PaddingEditor.vue?vue&type=script&lang=js\"\nexport * from \"./PaddingEditor.vue?vue&type=script&lang=js\"\nimport style0 from \"./PaddingEditor.vue?vue&type=style&index=0&id=4e43b9ca&prod&lang=scss\"\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","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"binding-editor\"},[_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.binding.text || !_vm.readOnly),expression:\"binding.text || !readOnly\"}],ref:\"editor\",staticClass:\"inputbox input\",attrs:{\"contenteditable\":!_vm.readOnly,\"spellcheck\":\"false\"},on:{\"input\":_vm.update}}),(_vm.showSuggest && !_vm.readOnly)?_c('binding-suggest',{attrs:{\"top\":_vm.suggestTop,\"left\":_vm.suggestLeft,\"term\":_vm.activeNode && _vm.activeNode.nodeValue},on:{\"select\":_vm.insertSuggestion,\"close\":function($event){_vm.showSuggest = false}}}):_vm._e()],1)}\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',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.suggestions.length > 0),expression:\"suggestions.length > 0\"}],staticClass:\"binding-suggest\"},[_c('div',{staticClass:\"outside-click-overlay\",on:{\"click\":function($event){$event.stopPropagation();return _vm.$emit('close')}}}),_c('ol',{ref:\"list\",staticClass:\"binding-suggest\"},_vm._l((_vm.suggestions),function(suggestion,i){return _c('li',{key:i,ref:\"suggestions\",refInFor:true,staticClass:\"suggestion\",class:{ highlighted: _vm.highlightedIndex === i },attrs:{\"title\":suggestion.description || suggestion.name},on:{\"mouseover\":function($event){_vm.highlightedIndex = i},\"click\":function($event){return _vm.select(suggestion)}}},[_c('div',{staticStyle:{\"display\":\"flex\",\"align-items\":\"center\",\"overflow\":\"hidden\"}},[_c('svg-icon',{class:{\n\t\t\t\t\t\t'is-method': !!suggestion.method,\n\t\t\t\t\t\t'is-value': suggestion.bindPath && !suggestion.bindPath.hasChildren,\n\t\t\t\t\t},attrs:{\"icon\":suggestion.icon,\"fixed\":\"\"}}),_vm._v(\"\\n\\t\\t\\t\\t\"+_vm._s(suggestion.name)+\"\\n\\t\\t\\t\\t\"),(suggestion.description)?_c('p',{staticClass:\"description\"},[_vm._v(\"\\n\\t\\t\\t\\t\\t\"+_vm._s(suggestion.description)+\"\\n\\t\\t\\t\\t\")]):_vm._e()],1),(suggestion.bindPath && suggestion.bindPath.hasChildren)?_c('span',{staticClass:\"is-muted\"},[_vm._v(\"\\n\\t\\t\\t\\t…\\n\\t\\t\\t\")]):_vm._e()])}),0)])}\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\nimport { METHODS } from '../binding'\nimport { ContextMeta } from '../context'\nimport { TemplateSet, Cell } from '../classes'\nimport reportService from '@services/reportService'\n\nclass Suggestion {\n\tmethod?: string\n\tbindPath?: BindPath\n\tdescription?: string\n\n\tconstructor({ method = undefined, bindPath = undefined, description = undefined }) {\n\t\tthis.method = method\n\t\tthis.bindPath = bindPath\n\t\tthis.description = description\n\t}\n\tget name(): string {\n\t\tif (this.method) return this.method\n\t\treturn this.bindPath.name\n\t}\n\tget insertText(): string {\n\t\tif (this.method) return this.name + '('\n\t\tlet text = this.bindPath.path\n\t\tif (this.bindPath.hasChildren) text += '.'\n\t\treturn text\n\t}\n\tget icon(): string {\n\t\tif (this.method) return 'function'\n\t\tif (this.bindPath && this.bindPath.hasChildren) return 'cube-outline'\n\t\tif (this.bindPath.cell && this.bindPath.cell.type) {\n\t\t\tconst tool = reportService.tools.find(t => t.name === this.bindPath.cell.type)\n\t\t\treturn tool ? tool.icon : 'window-maximize'\n\t\t}\n\t\treturn 'file-document-box-outline'\n\t}\n}\n\nclass BindPath {\n\tname: string\n\tchildren?: BindPath[] = []\n\tparent?: BindPath = null\n\tcell?: Cell\n\n\tconstructor(name: string, parent: BindPath = null, cell: Cell = null) {\n\t\tthis.name = name\n\t\tthis.parent = parent\n\t\tthis.cell = cell\n\t\tif (parent) {\n\t\t\tparent.children.push(this)\n\t\t}\n\t}\n\n\tget path(): string {\n\t\tlet result = ''\n\t\tlet p: BindPath = this\n\t\twhile (!p.isRoot) {\n\t\t\tif (result) {\n\t\t\t\tresult = `${p.name}.${result}`\n\t\t\t} else {\n\t\t\t\tresult = p.name\n\t\t\t}\n\n\t\t\tp = p.parent\n\t\t}\n\t\treturn result\n\t}\n\tget hasChildren() {\n\t\treturn this.children.length > 0\n\t}\n\tget isRoot() {\n\t\treturn !this.parent\n\t}\n}\n\nfunction isContextItemAllowed(meta) {\n\tif (!meta) return true\n\tif (meta.sets && !meta.sets.includes(reportService.set.type)) return false\n\tif (meta.templates && !meta.templates.includes(reportService.template.type)) return false\n\tif (meta.layouts && !meta.layouts.includes(reportService.selLayout.name)) return false\n\treturn true\n}\n\nfunction buildContextItem(obj: any, parent?: BindPath) {\n\tfor (let prop in obj.items) {\n\t\tconst meta = ContextMeta[parent.name] && ContextMeta[parent.name].items[prop]\n\t\tif (!isContextItemAllowed(meta)) continue\n\t\tlet item = new BindPath(prop, parent)\n\t\tlet value = obj[prop]\n\t\tif (value instanceof Object) {\n\t\t\tbuildContextItem(value, item)\n\t\t}\n\t}\n}\n\nfunction buildBindPath(cell: Cell, parent?: BindPath) {\n\tconst isBindable = cell.layout.bindableControls.includes(cell)\n\tlet childParent = isBindable ? new BindPath(cell.name, parent, cell) : parent\n\n\tif (!cell.primitive) {\n\t\tlet sub = cell.template.layouts.find(l => l.name === cell.type)\n\t\tif (sub) {\n\t\t\tsub.controls.forEach(c => buildBindPath(c, childParent))\n\t\t}\n\t}\n}\n\nfunction buildBindPaths(term?: string): BindPath {\n\tlet activePath = new BindPath('root')\n\tfor (let prop in ContextMeta) {\n\t\tconst meta = ContextMeta[prop]\n\t\tif (!isContextItemAllowed(meta)) continue\n\t\tbuildContextItem(ContextMeta[prop], new BindPath(prop, activePath))\n\t}\n\n\treportService.set.templates.forEach(t => {\n\t\t// cannot bind to Response fields on Request template\n\t\tif (reportService.template.type === 'Request' && t.type === 'Response') return\n\t\t// cannot bind to PDF Report from other templates\n\t\tif (t.type === 'PDF Report') return\n\t\t// only add template path if template's root layout or widgets have bindable controls\n\t\tconst layouts = t.layouts.filter(l => l !== t.root && !!l.group)\n\t\tif ([t.root, ...layouts].some(l => l.bindableControls.length)) {\n\t\t\t// do not nest controls for current template\n\t\t\tconst isCurrentTemplate = reportService.template.type === t.type\n\t\t\tlet templatePath = isCurrentTemplate ? activePath : new BindPath(t.type, activePath)\n\t\t\t// exclude active cell from suggestions\n\t\t\tconst isNotCurrentCell = c => c !== reportService.activeCell\n\t\t\tt.root.controls.filter(isNotCurrentCell).forEach(c => buildBindPath(c, templatePath))\n\t\t\tlayouts.forEach(w => {\n\t\t\t\t// nest widget controls under widget name\n\t\t\t\tlet widgetPath = new BindPath(w.name, templatePath)\n\t\t\t\tw.controls.filter(isNotCurrentCell).forEach(c => buildBindPath(c, widgetPath))\n\t\t\t})\n\t\t}\n\t})\n\tconst termPaths = term.split('.')\n\tif (termPaths.length === 1) return activePath\n\tfor (let i = 0; i < termPaths.length; i++) {\n\t\tconst matchingPath = activePath.children.find(p => p.name === termPaths[i])\n\t\tif (!matchingPath) break\n\t\tactivePath = matchingPath\n\t}\n\treturn activePath\n}\n\nexport default {\n\tname: 'BindingSuggest',\n\tprops: {\n\t\ttop: {\n\t\t\ttype: Number,\n\t\t\tdefault: 0,\n\t\t},\n\t\tleft: {\n\t\t\ttype: Number,\n\t\t\tdefault: 0,\n\t\t},\n\t\tterm: {\n\t\t\ttype: String,\n\t\t\tdefault: '',\n\t\t},\n\t\tshowMethodsOnly: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: false,\n\t\t},\n\t\tshowValuesOnly: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: false,\n\t\t},\n\t},\n\tdata() {\n\t\treturn {\n\t\t\thighlightedIndex: 0,\n\t\t}\n\t},\n\tcomputed: {\n\t\tactivePath() {\n\t\t\treturn buildBindPaths(this.term.trim())\n\t\t},\n\t\tsearchTerm() {\n\t\t\t// e.g. change 'Report.ReferredBy.Name' => 'Name'\n\t\t\tif (!this.term) return ''\n\t\t\tconst paths = this.term.trim().split('.')\n\t\t\treturn paths[paths.length - 1].replace(/[.*+?^${}()|[\\]\\\\]/g, '\\\\$&') // escape for regex\n\t\t},\n\t\tsuggestions() {\n\t\t\tconst allSuggestions = []\n\t\t\tif (!this.showMethodsOnly)\n\t\t\t\tallSuggestions.push(...this.activePath.children.map(p => new Suggestion({ bindPath: p })))\n\t\t\tif (!this.showValuesOnly && this.activePath.isRoot) {\n\t\t\t\tconst methodSuggestions = Object.keys(METHODS).map(\n\t\t\t\t\tm =>\n\t\t\t\t\t\tnew Suggestion({\n\t\t\t\t\t\t\tmethod: m,\n\t\t\t\t\t\t\tdescription: this.showMethodsOnly ? METHODS[m].description : undefined,\n\t\t\t\t\t\t})\n\t\t\t\t)\n\t\t\t\tallSuggestions.push(...methodSuggestions)\n\t\t\t}\n\t\t\tconst suggestionSort = (a, b) => {\n\t\t\t\tconst startsWithTerm = s => new RegExp('^' + this.searchTerm, 'i').test(s.name)\n\t\t\t\tif (startsWithTerm(a) && !startsWithTerm(b)) return -1\n\t\t\t\tif (startsWithTerm(b) && !startsWithTerm(a)) return 1\n\t\t\t\tif (a.bindPath && !b.bindPath) return -1\n\t\t\t\tif (b.bindPath && !a.bindPath) return 1\n\t\t\t\tif (a.bindPath && a.bindPath.hasChildren && (b.bindPath && !b.bindPath.hasChildren))\n\t\t\t\t\treturn -1\n\t\t\t\tif (b.bindPath && b.bindPath.hasChildren && (a.bindPath && !a.bindPath.hasChildren))\n\t\t\t\t\treturn 1\n\t\t\t\tif (a.name.toLowerCase() < b.name.toLowerCase()) return -1\n\t\t\t\treturn 0\n\t\t\t}\n\n\t\t\tif (!this.searchTerm) return allSuggestions.sort(suggestionSort)\n\n\t\t\tconst filteredSuggestions = allSuggestions.filter(s =>\n\t\t\t\tnew RegExp(this.searchTerm, 'i').test(s.name)\n\t\t\t)\n\t\t\treturn filteredSuggestions.sort(suggestionSort)\n\t\t},\n\t},\n\twatch: {\n\t\ttop() {\n\t\t\tthis.moveMenu()\n\t\t},\n\t\tleft() {\n\t\t\tthis.moveMenu()\n\t\t},\n\t\tsuggestions() {\n\t\t\tthis.highlightedIndex = 0\n\t\t},\n\t},\n\tmounted() {\n\t\tthis.moveMenu()\n\t\tdocument.addEventListener('keydown', this.onKeydown)\n\t\tthis.$once('hook:beforeDestroy', () => {\n\t\t\tdocument.removeEventListener('keydown', this.onKeydown)\n\t\t})\n\t},\n\tmethods: {\n\t\tonKeydown(e) {\n\t\t\tconst list = this.$refs.list\n\t\t\tif (list && list.style && list.style.display === 'none') return\n\t\t\tif (!['ArrowDown', 'ArrowUp', 'Escape', 'Enter', 'Tab'].includes(e.key)) return\n\t\t\te.preventDefault()\n\t\t\te.stopPropagation()\n\t\t\tif (e.key === 'Escape') return this.$emit('close')\n\t\t\tif (['Enter', 'Tab'].includes(e.key))\n\t\t\t\treturn this.select(this.suggestions[this.highlightedIndex])\n\t\t\tlet newIndex = this.highlightedIndex\n\t\t\tnewIndex += e.key === 'ArrowDown' ? 1 : -1\n\t\t\tif (newIndex >= this.suggestions.length) newIndex = 0\n\t\t\tif (newIndex < 0) newIndex = this.suggestions.length - 1\n\t\t\tthis.highlightedIndex = newIndex\n\t\t\tthis.$refs.suggestions[newIndex].scrollIntoView({ block: 'nearest' })\n\t\t},\n\t\tmoveMenu() {\n\t\t\tconst list = this.$refs.list\n\t\t\tif (!list || !list.style) return\n\t\t\tlist.style.left = this.left + 'px'\n\t\t\tlist.style.top = this.top + 'px'\n\t\t\tthis.$nextTick(() => {\n\t\t\t\tconst offScreenX =\n\t\t\t\t\tMath.max(0, list.getBoundingClientRect().right - window.innerWidth) ||\n\t\t\t\t\tMath.min(0, list.getBoundingClientRect().left)\n\t\t\t\tconst offScreenY =\n\t\t\t\t\tMath.max(0, list.getBoundingClientRect().bottom - window.innerHeight) ||\n\t\t\t\t\tMath.min(0, list.getBoundingClientRect().top)\n\t\t\t\tif (offScreenX) list.style.left = this.left - offScreenX + 'px'\n\t\t\t\tif (offScreenY) list.style.top = this.top - offScreenY + 'px'\n\t\t\t})\n\t\t},\n\t\tselect(suggestion?: Suggestion) {\n\t\t\tif (suggestion) this.$emit('select', suggestion.insertText)\n\t\t\tif (\n\t\t\t\tthis.showValuesOnly ||\n\t\t\t\t!suggestion ||\n\t\t\t\t!suggestion.bindPath ||\n\t\t\t\t!suggestion.bindPath.hasChildren\n\t\t\t)\n\t\t\t\tthis.$emit('close')\n\t\t},\n\t},\n}\n","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Binding, Expression } from '../binding'\nimport BindingSuggest from '@reporting/components/BindingSuggest.vue'\nlet updateDebounce\n\nexport default {\n\tname: 'BindingEditor',\n\tcomponents: {\n\t\tBindingSuggest,\n\t},\n\tmodel: {\n\t\tprop: 'binding',\n\t\tevent: 'input',\n\t},\n\tprops: {\n\t\tbinding: {\n\t\t\ttype: Binding,\n\t\t\trequired: true,\n\t\t},\n\t\tinsertText: {\n\t\t\ttype: String,\n\t\t\tdefault: '',\n\t\t},\n\t\treadOnly: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: false,\n\t\t},\n\t},\n\tdata() {\n\t\treturn {\n\t\t\tactiveNode: undefined,\n\t\t\tshowSuggest: false,\n\t\t\tsuggestTop: 32,\n\t\t\tsuggestLeft: 0,\n\t\t\tstoredAnchorOffset: 0,\n\t\t\tstoredFocusOffset: 0,\n\t\t}\n\t},\n\twatch: {\n\t\tinsertText() {\n\t\t\tif (this.insertText) this.insertSuggestion(this.insertText)\n\t\t\tthis.$emit('insert')\n\t\t},\n\t\tbinding() {\n\t\t\tthis.$refs.editor.innerText = this.binding.text\n\t\t\tthis.update()\n\t\t},\n\t},\n\tmounted() {\n\t\tif (this.$refs.editor) this.$refs.editor.innerText = this.binding.text\n\t\tthis.update()\n\t},\n\tmethods: {\n\t\tupdate(e) {\n\t\t\tclearTimeout(updateDebounce)\n\t\t\tupdateDebounce = setTimeout(() => {\n\t\t\t\tconst selection = document.getSelection()\n\t\t\t\tif (!this.readOnly && selection && selection.anchorNode && selection.anchorNode.nodeType === Node.TEXT_NODE) {\n\t\t\t\t\tthis.storeSelection(selection)\n\t\t\t\t\tthis.positionSuggest(selection)\n\t\t\t\t}\n\t\t\t\tthis.renderBinding()\n\t\t\t\tif (!this.readOnly && selection) {\n\t\t\t\t\tthis.restoreSelection()\n\t\t\t\t\tthis.binding.parse(this.$refs.editor.innerText)\n\t\t\t\t}\n\t\t\t\tif (e) this.showSuggest = !!this.$refs.editor.innerText.trim() // only show suggest after typing something\n\t\t\t}, 50)\n\t\t},\n\t\tstoreSelection({ anchorOffset, focusOffset, anchorNode, focusNode }) {\n\t\t\tconst textNodes = getTextNodes(this.$refs.editor)\n\t\t\tthis.storedAnchorOffset = sumPrecedingNodes(anchorNode) + anchorOffset\n\t\t\tthis.storedFocusOffset = sumPrecedingNodes(focusNode) + focusOffset\n\n\t\t\tfunction sumPrecedingNodes(node: Node): number {\n\t\t\t\tconst nodeIndex = textNodes.indexOf(node)\n\t\t\t\tconst precedingNodes = textNodes.filter((n, i) => i < nodeIndex)\n\t\t\t\treturn precedingNodes.reduce((a, n) => a + n.nodeValue.length, 0)\n\t\t\t}\n\t\t},\n\t\tpositionSuggest(selection) {\n\t\t\tconst range = selection.getRangeAt(0)\n\t\t\tconst cursorRange = document.createRange()\n\t\t\tcursorRange.setStart(selection.anchorNode, range.startOffset)\n\t\t\tcursorRange.setEnd(selection.anchorNode, range.startOffset)\n\t\t\trange.collapse(true)\n\t\t\tconst cursorMarker = document.createElement('span')\n\t\t\trange.insertNode(cursorMarker)\n\t\t\tthis.suggestTop = cursorMarker.offsetTop + 20\n\t\t\tthis.suggestLeft = cursorMarker.offsetLeft\n\t\t\tcursorMarker.remove()\n\t\t},\n\t\trenderBinding() {\n\t\t\tlet text = this.$refs.editor.innerText\n\t\t\tthis.binding._parse(text)\n\t\t\tlet html = ''\n\t\t\tconst getExpressions = (e: Expression) => [e].concat(...e.args.map(e => getExpressions(e)))\n\t\t\tconst expressions = getExpressions(this.binding.expression) // flattened array\n\t\t\texpressions.forEach((e, i) => {\n\t\t\t\tconst expressionStart = text.indexOf(e.term)\n\t\t\t\tif (expressionStart < 0) html += text\n\t\t\t\telse {\n\t\t\t\t\tconst precedingText = text.slice(0, expressionStart)\n\t\t\t\t\thtml += precedingText\n\t\t\t\t\tconst title = e.errors.length ? e.errors.join('\\n') : e.type\n\t\t\t\t\thtml += `${e.term}`\n\t\t\t\t\ttext = text.slice(expressionStart + e.term.length)\n\t\t\t\t\tif (i === expressions.length - 1) html += text\n\t\t\t\t}\n\t\t\t})\n\t\t\tthis.$refs.editor.innerHTML = html\n\t\t},\n\t\tasync insertSuggestion(suggestion) {\n\t\t\tconst selection = document.getSelection()\n\t\t\tconst isEmpty = !getTextNodes(this.$refs.editor).length\n\t\t\tif (isEmpty || !this.activeNode || !this.activeNode.isConnected) {\n\t\t\t\tthis.$refs.editor.innerText += suggestion\n\t\t\t\tconst textNodes = getTextNodes(this.$refs.editor)\n\t\t\t\tconst lastNode = textNodes[textNodes.length - 1]\n\t\t\t\tselection.setBaseAndExtent(lastNode, lastNode.length, lastNode, lastNode.length)\n\t\t\t} else {\n\t\t\t\tthis.activeNode.nodeValue = suggestion\n\t\t\t\tselection.setBaseAndExtent(this.activeNode, this.activeNode.length, this.activeNode, this.activeNode.length)\n\t\t\t}\n\t\t\tthis.update()\n\t\t\tthis.showSuggest = true\n\t\t},\n\t\trestoreSelection() {\n\t\t\tconst selection = document.getSelection()\n\t\t\tconst textNodes = getTextNodes(this.$refs.editor)\n\t\t\tlet anchorNode = this.$refs.editor\n\t\t\tlet anchorOffset = 0\n\t\t\tlet focusNode = this.$refs.editor\n\t\t\tlet focusOffset = 0\n\t\t\tlet currentOffset = 0\n\t\t\ttextNodes.forEach(node => {\n\t\t\t\tconst nodeEndOffset = currentOffset + node.nodeValue.length\n\t\t\t\tif (currentOffset <= this.storedAnchorOffset && this.storedAnchorOffset <= nodeEndOffset) {\n\t\t\t\t\tanchorNode = node\n\t\t\t\t\tanchorOffset = this.storedAnchorOffset - currentOffset\n\t\t\t\t}\n\t\t\t\tif (currentOffset <= this.storedFocusOffset && this.storedFocusOffset <= nodeEndOffset) {\n\t\t\t\t\tfocusNode = node\n\t\t\t\t\tfocusOffset = this.storedFocusOffset - currentOffset\n\t\t\t\t\tconst isExpression = focusNode.parentElement.dataset.isExpression !== undefined\n\t\t\t\t\tif (isExpression) this.activeNode = focusNode // can be replaced by insertSuggestion\n\t\t\t\t}\n\t\t\t\tcurrentOffset = nodeEndOffset\n\t\t\t})\n\t\t\tselection.setBaseAndExtent(anchorNode, anchorOffset, focusNode, focusOffset)\n\t\t},\n\t},\n}\n\nfunction getTextNodes(element: Node) {\n\tconst textNodes = []\n\tArray.from(element.childNodes).forEach(node => {\n\t\tswitch (node.nodeType) {\n\t\t\tcase Node.TEXT_NODE:\n\t\t\t\ttextNodes.push(node)\n\t\t\t\tbreak\n\t\t\tcase Node.ELEMENT_NODE:\n\t\t\t\ttextNodes.splice(textNodes.length, 0, ...getTextNodes(node))\n\t\t\t\tbreak\n\t\t}\n\t})\n\treturn textNodes\n}\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BindingSuggest.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BindingSuggest.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./BindingSuggest.vue?vue&type=template&id=6cb554e8\"\nimport script from \"./BindingSuggest.vue?vue&type=script&lang=ts\"\nexport * from \"./BindingSuggest.vue?vue&type=script&lang=ts\"\nimport style0 from \"./BindingSuggest.vue?vue&type=style&index=0&id=6cb554e8&prod&lang=scss\"\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","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BindingEditor.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BindingEditor.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./BindingEditor.vue?vue&type=template&id=25888e73\"\nimport script from \"./BindingEditor.vue?vue&type=script&lang=ts\"\nexport * from \"./BindingEditor.vue?vue&type=script&lang=ts\"\nimport style0 from \"./BindingEditor.vue?vue&type=style&index=0&id=25888e73&prod&lang=scss\"\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","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',_vm._l((_vm.prop.options),function(item){return _c('ast-checkbox',{key:item,on:{\"input\":function($event){return _vm.save()}},model:{value:(_vm.values[item]),callback:function ($$v) {_vm.$set(_vm.values, item, $$v)},expression:\"values[item]\"}},[_vm._v(\"\\n\\t\\t\"+_vm._s(item)+\"\\n\\t\")])}),1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\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!./ReqFields.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!./ReqFields.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./ReqFields.vue?vue&type=template&id=181dc9bc\"\nimport script from \"./ReqFields.vue?vue&type=script&lang=js\"\nexport * from \"./ReqFields.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 null,\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('modal-wrapper',{attrs:{\"close-on-escape\":false},on:{\"close\":_vm.close}},[_c('div',{staticClass:\"dialog\"},[_c('dlg-header',{attrs:{\"title\":((_vm.cell.name) + \" Binding\")},on:{\"close\":_vm.close}}),_c('div',{attrs:{\"id\":\"binding-dialog\"}},[_c('div',{staticStyle:{\"padding\":\"16px 16px 0 16px\"}},[_c('p',[_c('svg-icon',{staticClass:\"is-info\",attrs:{\"icon\":\"info-circle\"}}),_vm._v(\"\\n\\t\\t\\t\\t\\tYou can bind directly to the value of a form control or other report data, or you can\\n\\t\\t\\t\\t\\tenter a formula.\\n\\t\\t\\t\\t\")],1)]),_c('div',{staticClass:\"insert-buttons\",staticStyle:{\"padding\":\"16px 16px 0 16px\"}},[_c('button',{ref:\"methodsButton\",staticClass:\"btn btn-default\",staticStyle:{\"margin-right\":\"4px\"},on:{\"click\":function($event){return _vm.toggleSuggest('methods')}}},[_c('svg-icon',{attrs:{\"icon\":\"function\",\"fixed\":\"\"}}),_vm._v(\"\\n\\t\\t\\t\\t\\tFunctions\\n\\t\\t\\t\\t\")],1),_c('button',{ref:\"valuesButton\",staticClass:\"btn btn-default\",on:{\"click\":function($event){return _vm.toggleSuggest('values')}}},[_c('svg-icon',{attrs:{\"icon\":\"file-document-box-outline\",\"fixed\":\"\"}}),_vm._v(\"\\n\\t\\t\\t\\t\\tValues\\n\\t\\t\\t\\t\")],1)]),_c('binding-editor',{staticStyle:{\"padding\":\"16px\"},attrs:{\"insert-text\":_vm.insertText},on:{\"insert\":function($event){_vm.insertText = ''}},model:{value:(_vm.binding),callback:function ($$v) {_vm.binding=$$v},expression:\"binding\"}}),_c('div',{staticStyle:{\"padding\":\"0 16px 16px 16px\"}},[(_vm.binding)?_c('ul',{staticClass:\"errors is-danger\"},[_c('transition-group',{attrs:{\"name\":\"expand\"}},_vm._l((_vm.binding.errors),function(error){return _c('li',{key:error},[_vm._v(\"\\n\\t\\t\\t\\t\\t\\t\\t\"+_vm._s(error)+\"\\n\\t\\t\\t\\t\\t\\t\")])}),0)],1):_vm._e(),_c('h4',{staticStyle:{\"padding-top\":\"16px\"}},[_vm._v(\"Examples:\")]),_c('ul',{staticClass:\"examples\",staticStyle:{\"list-style\":\"none\"}},[_c('li',[_c('code',{staticClass:\"is-value\"},[_vm._v(\"ReferredBy.Name\")])]),_c('li',[_c('code',[_c('span',{staticClass:\"is-method\"},[_vm._v(\"CONCAT\")]),_vm._v(\"(\"),_c('span',{staticClass:\"is-constant\"},[_vm._v(\"'Call '\")]),_vm._v(\",\\n\\t\\t\\t\\t\\t\\t\\t\"),_c('span',{staticClass:\"is-value\"},[_vm._v(\"Consultant.Name\")]),_vm._v(\",\\n\\t\\t\\t\\t\\t\\t\\t\"),_c('span',{staticClass:\"is-constant\"},[_vm._v(\"' at '\")]),_vm._v(\",\\n\\t\\t\\t\\t\\t\\t\\t\"),_c('span',{staticClass:\"is-value\"},[_vm._v(\"Consultant.Phone\")]),_vm._v(\")\")])]),_c('li',[_c('code',[_c('span',{staticClass:\"is-method\"},[_vm._v(\"SUM\")]),_vm._v(\"(\"),_c('span',{staticClass:\"is-value\"},[_vm._v(\"Request.Length1\")]),_vm._v(\",\\n\\t\\t\\t\\t\\t\\t\\t\"),_c('span',{staticClass:\"is-value\"},[_vm._v(\"Request.Length2\")]),_vm._v(\", \"),_c('span',{staticClass:\"is-constant\"},[_vm._v(\"10\")]),_vm._v(\")\\n\\t\\t\\t\\t\\t\\t\")])])])])],1),(_vm.showSuggest)?_c('binding-suggest',{attrs:{\"top\":_vm.suggestTop,\"left\":_vm.suggestLeft,\"show-methods-only\":_vm.showSuggest === 'methods',\"show-values-only\":_vm.showSuggest === 'values'},on:{\"select\":function($event){_vm.insertText = $event},\"close\":function($event){_vm.showSuggest = false}}}):_vm._e(),_c('div',{staticClass:\"footer right\",staticStyle:{\"padding\":\"0 16px 16px 16px\"}},[_c('button',{staticClass:\"btn btn-default\",staticStyle:{\"width\":\"80px\"},on:{\"click\":_vm.cancel}},[_vm._v(\"Cancel\")]),_c('button',{staticClass:\"btn btn-primary\",staticStyle:{\"width\":\"80px\"},on:{\"click\":_vm.close}},[_vm._v(\"OK\")])])],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\n\n\n\n\n\nimport { Binding } from '../binding'\nimport BindingEditor from '@reporting/components/BindingEditor.vue'\nimport BindingSuggest from '@reporting/components/BindingSuggest.vue'\nimport DlgHeader from '@components/DlgHeader.vue'\nimport ModalWrapper from '@components/ModalWrapper.vue'\nimport { dlg } from '@utils/dlgUtils'\nconst BindingDlg = {\n\tname: 'BindingDlg',\n\tprops: {\n\t\tprop: {\n\t\t\ttype: Object,\n\t\t\trequired: true,\n\t\t},\n\t\tcell: {\n\t\t\ttype: Object,\n\t\t\trequired: true,\n\t\t},\n\t},\n\tcomponents: {\n\t\tBindingSuggest,\n\t\tDlgHeader,\n\t\tModalWrapper,\n\t\tBindingEditor,\n\t},\n\tdata() {\n\t\treturn {\n\t\t\tshowSuggest: '', // '', 'methods', or 'values'\n\t\t\tinsertText: '',\n\t\t\tbinding: undefined,\n\t\t}\n\t},\n\tcomputed: {\n\t\tsuggestTop() {\n\t\t\tconst button =\n\t\t\t\tthis.showSuggest === 'methods' ? this.$refs.methodsButton : this.$refs.valuesButton\n\t\t\treturn button.offsetTop + button.offsetHeight\n\t\t},\n\t\tsuggestLeft() {\n\t\t\tconst button =\n\t\t\t\tthis.showSuggest === 'methods' ? this.$refs.methodsButton : this.$refs.valuesButton\n\t\t\treturn button.offsetLeft\n\t\t},\n\t},\n\tcreated() {\n\t\tthis.binding = new Binding(this.cell)\n\t},\n\tmethods: {\n\t\ttoggleSuggest(type) {\n\t\t\tif (this.showSuggest === type) this.showSuggest = ''\n\t\t\telse this.showSuggest = type\n\t\t},\n\t\tcancel() {\n\t\t\tdlg.close(this, true)\n\t\t},\n\t\tclose() {\n\t\t\tdlg.close(this, true, this.binding)\n\t\t},\n\t},\n}\n\nexport default BindingDlg\n\nexport function openBindingDlg(cell, prop): Promise {\n\treturn dlg.open(BindingDlg, { cell, prop })\n}\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BindingDlg.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BindingDlg.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./BindingDlg.vue?vue&type=template&id=0ff20482&scoped=true\"\nimport script from \"./BindingDlg.vue?vue&type=script&lang=ts\"\nexport * from \"./BindingDlg.vue?vue&type=script&lang=ts\"\nimport style0 from \"./BindingDlg.vue?vue&type=style&index=0&id=0ff20482&prod&lang=scss&scoped=true\"\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 \"0ff20482\",\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('modal-wrapper',{on:{\"close\":_vm.close}},[_c('div',{staticClass:\"dialog\",staticStyle:{\"display\":\"flex\",\"flex-direction\":\"column\",\"padding\":\"0\"},attrs:{\"id\":\"clinicImagesDlg\"}},[_c('dlg-header',{attrs:{\"title\":\"Uploaded Images\"},on:{\"close\":_vm.close}}),_c('div',{staticStyle:{\"display\":\"flex\",\"flex-wrap\":\"wrap\",\"overflow\":\"auto\",\"padding\":\"0 16px\"}},[_c('image-file-input',{attrs:{\"url\":null},on:{\"change\":_vm.changeFile}}),_vm._l((_vm.images),function(img){return _c('div',{key:img.id},[_c('image-file-input',{attrs:{\"id\":img.id,\"url\":img.url,\"selectable\":true,\"selected\":_vm.selectedUrl === img.url},on:{\"change\":_vm.changeFile,\"clear\":_vm.clearImage,\"select\":_vm.selectImage}})],1)}),_c('image-file-input',{attrs:{\"url\":null,\"selectable\":true,\"is-no-selection\":true,\"selected\":_vm.selectedUrl == null},on:{\"select\":_vm.selectImage}})],2),_c('div',{staticClass:\"footer right\",staticStyle:{\"padding\":\"0 16px 16px 16px\"}},[_c('button',{staticClass:\"btn btn-default\",on:{\"click\":_vm.close}},[_vm._v(\"Done\")])])],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\nimport { dlg } from '@utils/dlgUtils'\nimport DlgHeader from '@components/DlgHeader.vue'\nimport ImageFileInput from '@components/ImageFileInput.vue'\nimport ModalWrapper from '@components/ModalWrapper.vue'\nimport { userData } from '@services/userData'\nimport { addNotification } from '@services/notificationService'\n\nconst ClinicImagesDlg = {\n\tname: 'ConfirmDlg',\n\tcomponents: {\n\t\tDlgHeader,\n\t\tModalWrapper,\n\t\tImageFileInput,\n\t},\n\tdata() {\n\t\treturn {\n\t\t\timages: [],\n\t\t\tselectedUrl: null,\n\t\t}\n\t},\n\tprops: {\n\t\tpreSelectedUrl: {\n\t\t\ttype: String,\n\t\t\tdefault: null,\n\t\t},\n\t},\n\tasync created() {\n\t\tthis.images = await userData.getClinicImages()\n\t\tthis.selectedUrl = this.preSelectedUrl || null\n\t},\n\tmethods: {\n\t\tclose() {\n\t\t\tdlg.close(this, true, this.selectedUrl)\n\t\t},\n\t\tasync clearImage(id) {\n\t\t\tawait userData.deleteClinicImage(id)\n\t\t\tlet found = this.images.find(i => i.id === id)\n\t\t\tif (found.url === this.selectedUrl) {\n\t\t\t\tthis.selectedUrl = null\n\t\t\t}\n\t\t\tthis.images = this.images.filter(i => i.id !== id)\n\t\t},\n\t\tselectImage(id: string) {\n\t\t\tlet item = this.images.find(i => i.id === id)\n\t\t\tthis.selectedUrl = item && item.url\n\t\t},\n\t\tchangeFile({ target }) {\n\t\t\tif (!target.files.length) return\n\t\t\tlet file: File = target.files[0]\n\n\t\t\tconst MAX_SIZE = 10000000 // 10 MB\n\t\t\tif (file.size > MAX_SIZE) {\n\t\t\t\taddNotification('Images cannot exceed 10 MB', 'error')\n\t\t\t\treturn\n\t\t\t}\n\n\t\t\tlet userImage: IClinicImage = {\n\t\t\t\tid: undefined,\n\t\t\t\tclinicCode: undefined,\n\t\t\t\tfilename: undefined,\n\t\t\t\timage: undefined,\n\t\t\t\turl: undefined,\n\t\t\t}\n\n\t\t\tthis.images.push(userImage)\n\n\t\t\tuserData.saveClinicImage(userImage, file)\n\t\t},\n\t},\n}\n\nexport default ClinicImagesDlg\n\nexport function openClinicImagesDlg(preSelectedUrl: string) {\n\treturn dlg.open(ClinicImagesDlg, { preSelectedUrl }, false)\n}\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--14-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ClinicImagesDlg.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--14-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ClinicImagesDlg.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./ClinicImagesDlg.vue?vue&type=template&id=7e099a4b\"\nimport script from \"./ClinicImagesDlg.vue?vue&type=script&lang=ts\"\nexport * from \"./ClinicImagesDlg.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","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('modal-wrapper',{attrs:{\"close-on-overlay-click\":false},on:{\"close\":_vm.close}},[_c('div',{staticClass:\"rich-text-presets dialog\"},[_c('dlg-header',{attrs:{\"title\":(\"Presets - \" + (_vm.cell.name))},on:{\"close\":_vm.close}}),_c('div',{staticStyle:{\"padding\":\"16px\"}},[_c('p',{staticStyle:{\"margin-bottom\":\"16px\"}},[_vm._v(\" Select a preset to edit, or select \"),_c('b',[_vm._v(\"Add new preset\")]),_vm._v(\". \")]),(!_vm.isRefreshing)?_c('rich-text',{staticStyle:{\"max-width\":\"1168px\",\"margin-right\":\"200px\"},attrs:{\"cell\":_vm.cell,\"editing-presets\":\"\"},on:{\"select-preset\":_vm.selectPreset,\"add-preset\":_vm.addPreset}}):_vm._e(),_c('div',{staticStyle:{\"margin-top\":\"16px\"}},[_c('button',{staticClass:\"btn btn-primary\",attrs:{\"type\":\"button\",\"disabled\":!_vm.selectedPreset || _vm.selectedPreset.value === _vm.cell.value},on:{\"click\":function($event){return _vm.savePreset(_vm.cell.value)}}},[_c('svg-icon',{attrs:{\"icon\":\"floppy-o\",\"fixed\":\"\"}}),_vm._v(\"\\n\\t\\t\\t\\t\\tSave current preset\\n\\t\\t\\t\\t\")],1),_c('button',{staticClass:\"btn btn-default\",staticStyle:{\"margin-left\":\"8px\"},attrs:{\"type\":\"button\",\"disabled\":!_vm.selectedPreset},on:{\"click\":_vm.deletePreset}},[_c('svg-icon',{staticClass:\"is-danger\",attrs:{\"icon\":\"delete\",\"fixed\":\"\"}}),_vm._v(\"\\n\\t\\t\\t\\t\\tDelete\\n\\t\\t\\t\\t\")],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\nimport { dlg } from '@utils/dlgUtils'\nimport DlgHeader from '@components/DlgHeader.vue'\nimport ModalWrapper from '@components/ModalWrapper.vue'\nimport RichText from '../primitives/RichText.vue'\nimport { Cell } from '../classes'\nimport { showConfirm } from '@/dialogs/ConfirmDlg.vue'\nimport { openPromptDlg } from '@/dialogs/TextPromptDlg.vue'\nimport { showAlert } from '@/dialogs/MessageDlg.vue'\n\nconst RichTextPresets = {\n\tname: 'RichTextPresets',\n\tcomponents: {\n\t\tDlgHeader,\n\t\tModalWrapper,\n\t\tRichText,\n\t},\n\tprops: ['cell'],\n\tdata() {\n\t\treturn {\n\t\t\tisRefreshing: false,\n\t\t\tselectedPreset: null,\n\t\t}\n\t},\n\tmethods: {\n\t\tasync selectPreset({ preset, currentValue }) {\n\t\t\tawait this.trySaveChanges()\n\t\t\tthis.selectedPreset = preset\n\t\t},\n\t\tasync trySaveChanges(value) {\n\t\t\tif (!value) value = this.cell.value\n\t\t\tif (this.selectedPreset && this.selectedPreset.value !== value) {\n\t\t\t\tconst message = `Do you want to save changes to \"${this.selectedPreset.label}\"?`\n\t\t\t\tconst shouldSave = await showConfirm(message, {\n\t\t\t\t\tconfirmText: 'Save changes',\n\t\t\t\t\tcancelText: 'Discard',\n\t\t\t\t\tshowCloseHeader: false,\n\t\t\t\t\ttitle: 'Save changes',\n\t\t\t\t})\n\t\t\t\tif (shouldSave) this.savePreset(value)\n\t\t\t}\n\t\t},\n\t\tsavePreset(value) {\n\t\t\tif (!this.selectedPreset) return\n\t\t\tthis.selectedPreset.value = value || this.cell.value\n\t\t\tif (!this.cell.props.presets) this.cell.props.presets = []\n\t\t\tconst presetIndex = this.cell.props.presets.findIndex(p => p.label === this.selectedPreset.label)\n\t\t\tthis.cell.props.presets.splice(presetIndex, 1, this.selectedPreset)\n\t\t},\n\t\tasync deletePreset() {\n\t\t\tif (await showConfirm(`Are you sure you want to delete \"${this.selectedPreset.label}\"?`)) {\n\t\t\t\tconst presetIndex = this.cell.props.presets.findIndex(p => p.label === this.selectedPreset.label)\n\t\t\t\tthis.cell.props.presets.splice(presetIndex, 1)\n\t\t\t\tthis.selectedPreset = null\n\t\t\t\tthis.refreshEditor()\n\t\t\t}\n\t\t},\n\t\tasync addPreset() {\n\t\t\tconst label = await openPromptDlg({\n\t\t\t\ttitle: 'New Preset',\n\t\t\t\tprompt: 'Name (shown in Preset menu):',\n\t\t\t\trequireInput: true,\n\t\t\t})\n\t\t\tif (!label) return\n\t\t\tif (this.cell.props.presets.some(p => p.label === label)) {\n\t\t\t\tawait showAlert('A preset with that name already exists.')\n\t\t\t\treturn this.addPreset()\n\t\t\t}\n\t\t\tthis.cell.props.presets.push({\n\t\t\t\tlabel,\n\t\t\t\tvalue: this.cell.value,\n\t\t\t})\n\t\t\tthis.refreshEditor(label)\n\t\t},\n\t\trefreshEditor(labelToSelect) {\n\t\t\t// toggle the RichText v-if for a tick to force it to rebuild toolbar\n\t\t\tthis.isRefreshing = true\n\t\t\tthis.$nextTick(() => {\n\t\t\t\tthis.isRefreshing = false\n\t\t\t\tif (labelToSelect) {\n\t\t\t\t\tthis.$nextTick(() => {\n\t\t\t\t\t\t// select newly added preset from dropdown\n setTimeout(() => {\n const presetButton = this.$el.querySelector('button.tox-tbtn.tox-tbtn--select[aria-label=\"Presets\"]')\n if (presetButton) {\n presetButton.click()\n setTimeout(() => {\n const option = document.querySelector(`div[title=\"${labelToSelect}\"]`)\n // @ts-ignore\n if (option) option.click()\n }, 10)\n }\n },20)\n\t\t\t\t\t})\n\t\t\t\t}\n\t\t\t})\n\t\t},\n\t\tasync close() {\n\t\t\tawait this.trySaveChanges()\n\t\t\tthis.cell.value = null\n\t\t\tdlg.close(this)\n\t\t},\n\t},\n}\n\nexport default RichTextPresets\n\nexport function openRichTextPresets(cell: Cell) {\n\treturn dlg.open(RichTextPresets, { cell })\n}\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./RichTextPresets.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./RichTextPresets.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./RichTextPresets.vue?vue&type=template&id=cf5207fe\"\nimport script from \"./RichTextPresets.vue?vue&type=script&lang=ts\"\nexport * from \"./RichTextPresets.vue?vue&type=script&lang=ts\"\nimport style0 from \"./RichTextPresets.vue?vue&type=style&index=0&id=cf5207fe&prod&lang=scss\"\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\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\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'\nimport { Cell, Layout, Template } from '../classes'\nimport { Binding } from '../binding'\nimport state from '@services/reportService'\nimport ColorPicker from './ColorPicker.vue'\nimport ColumnEditor from './ColumnEditor.vue'\nimport ListEditor from './ListEditor.vue'\nimport PaddingEditor from './PaddingEditor.vue'\nimport AstCheckbox from '@components/Checkbox.vue'\nimport AstRadio from '@components/Radio.vue'\nimport BindingEditor from '@reporting/components/BindingEditor.vue'\nimport ReqFields from '@reporting/components/ReqFields.vue'\nimport { openBindingDlg } from '@reporting/dialogs/BindingDlg.vue'\nimport { showConfirm } from '@dialogs/ConfirmDlg.vue'\nimport { showAlert } from '@dialogs/MessageDlg.vue'\nimport { openClinicImagesDlg } from '@/dialogs/ClinicImagesDlg.vue'\nimport { openRichTextPresets } from '../dialogs/RichTextPresets.vue'\n\nexport default {\n\tname: 'CellProps',\n\tcomponents: {\n\t\tAstCheckbox,\n\t\tAstRadio,\n\t\tColorPicker,\n\t\tColumnEditor,\n\t\tListEditor,\n\t\tPaddingEditor,\n\t\tBindingEditor,\n\t\tReqFields,\n\t},\n\tprops: ['cell', 'title'],\n\tdata() {\n\t\treturn {\n\t\t\tstate,\n\t\t\tprops: [],\n\t\t\tcellName: null,\n\t\t\tlayoutName: null,\n\t\t}\n\t},\n\tcomputed: {\n\t\tpanelList() {\n\t\t\tlet result: string[] = []\n\t\t\tlet cell: Cell = this.cell\n\t\t\tlet templates = state.set.templates.filter(t => t !== state.template)\n\t\t\ttemplates.forEach(t => {\n\t\t\t\tlet panels = t.root.controls.filter(c => c.isPanel)\n\t\t\t\tresult = panels.map(p => `${t.type}.${p.name}`)\n\t\t\t})\n\t\t\tif (result.length) {\n\t\t\t\tresult.splice(0, 0, null)\n\t\t\t}\n\t\t\treturn result\n\t\t},\n\t\tvisibleProps() {\n\t\t\t// hide Border Color prop if this is a Table Cell in a Table with no borders\n\t\t\tconst isHiddenBorderProp = prop => {\n\t\t\t\tif (!this.cell.isTableCell || prop.name !== 'borderColor') return false\n\t\t\t\treturn !this.cell.panel.props.border || this.cell.panel.props.border === 'none'\n\t\t\t}\n\n\t\t\treturn this.props.filter(p => p.type !== 'hidden' && !isHiddenBorderProp(p))\n\t\t},\n\t\tcanDeleteCell() {\n\t\t\treturn !this.cell.isRoot && !this.cell.isTableCell && this.cell.type !== 'Layout Wrapper'\n\t\t},\n\t\tbinding() {\n\t\t\treturn this.cell.binding || new Binding(this.cell)\n\t\t},\n\t\tisUserLayout() {\n\t\t\tif (!this.cell.isRoot) return false\n\t\t\tconst isUserLayoutForThisCell = l => l.name === this.cell.layout.name && l.group\n\t\t\treturn this.cell.template.layouts.some(isUserLayoutForThisCell)\n\t\t},\n\t\tisPdfTemplateRoot() {\n\t\t\t// show Draft Watermark prop for root PDF panel\n\t\t\tif (!this.cell.isRoot || !this.cell.template.isPdfTemplate) return false\n\t\t\t// do not show on Page Header and Page Footer root panels\n\t\t\treturn ![this.cell.template.pageHeader, this.cell.template.pageFooter].includes(this.cell.layout)\n\t\t},\n\t\tcellMayAppearOnPdf() {\n\t\t\t// only show Private checkbox if the panel could appear on the PDF\n\t\t\t// (i.e. it is either in the PDF Report layout or any request/response selector layout)\n\t\t\treturn (this.cell.template.type === 'PDF Report' && !this.cell.isRoot) || !!this.cell.layout.group\n\t\t},\n\t\tisImageCommentLayout() {\n\t\t\treturn this.cell.layout.name === 'Image Comment' && !this.cell.layout.group\n\t\t},\n\t\tverticalAlignmentOptions() {\n\t\t\tconst options = ['top', 'middle', 'bottom']\n\t\t\t// only allow stretch on non-PDF templates due to lack of flexbox support in PDF/email render\n\t\t\tif (!this.cell.template.type.includes('PDF')) options.push('stretch')\n\t\t\treturn options\n\t\t},\n\t\toptionsPropOptions() {\n\t\t\tconst optionsProp = this.visibleProps.find(p => p.name === 'options')\n\t\t\tif (!optionsProp) return null\n\t\t\treturn optionsProp.value\n\t\t},\n\t\tcanReset() {\n\t\t\treturn this.cell.isRoot && this.cell.template.meta.layouts.find(w => !w.group && w.name === this.cell.layout.name)\n\t\t},\n\t\timageType: {\n\t\t\tget() {\n\t\t\t\tlet prop = this.props.find(p => p.name === 'source')\n\t\t\t\tif (!['[Signature]', '[Logo]', '[Image Comment]'].includes(prop.value)) {\n\t\t\t\t\treturn ''\n\t\t\t\t} else return prop.value\n\t\t\t},\n\t\t\tset(value) {\n\t\t\t\tlet prop = this.props.find(p => p.name === 'source')\n\t\t\t\tprop.value = value\n\t\t\t},\n\t\t},\n\t},\n\twatch: {\n\t\t'cell.props.cols'() {\n\t\t\tthis.createProps()\n\t\t},\n\t\tcell: {\n\t\t\tasync handler(cell, previousCell) {\n\t\t\t\tif (previousCell) {\n\t\t\t\t\t// ensure any pending rename operations take place\n\t\t\t\t\tthis.renameCell(previousCell)\n\t\t\t\t\tthis.renameLayout(previousCell)\n\t\t\t\t}\n\t\t\t\tthis.layoutName = this.cell.layout.name\n\t\t\t\tthis.cellName = this.cell.name\n\t\t\t\tthis.createProps()\n\t\t\t},\n\t\t\timmediate: true,\n\t\t},\n\t},\n\tmethods: {\n\t\topenRichTextPresets,\n\t\tupdateTable() {\n\t\t\tthis.cell.panel.configureTable()\n\t\t},\n\t\tasync editBinding(prop) {\n\t\t\tconst binding = await openBindingDlg(this.cell, prop)\n\t\t\tif (binding === undefined) return\n\t\t\tthis.cell.binding = binding.text ? binding : null\n\t\t\tprop.value = binding.text\n\t\t\tthis.saveProps()\n\t\t},\n\t\tedit(widgetName) {\n\t\t\tlet layout = state.editableLayouts.find(l => l.name === widgetName)\n\t\t\tstate.selectLayout(layout)\n\t\t},\n\t\tchangeCellType(type) {\n\t\t\tthis.cell.type = type\n\t\t\tthis.saveProps()\n\t\t},\n\t\tdeleteCell() {\n\t\t\tconst nextCell =\n\t\t\t\tthis.cell.panel.cellBelow(this.cell, false) || this.cell.panel.cellAbove(this.cell, false) || this.cell.panel\n\t\t\tthis.cell.remove()\n\t\t\tstate.activeCell = nextCell\n\t\t},\n\t\trefreshPropValue(propName) {\n\t\t\tlet prop = this.props.find(p => p.name === propName)\n\t\t\tif (prop) {\n\t\t\t\tprop.value = this.cell.props[propName]\n\t\t\t}\n\t\t},\n\t\tcreateProps() {\n\t\t\tlet props = []\n\t\t\tlet cell = this.cell\n\t\t\tif (cell.def) {\n\t\t\t\tcell.def.props.forEach(p => {\n\t\t\t\t\tlet prop = { ...p }\n\t\t\t\t\tprop.value = cell.props[p.name]\n\t\t\t\t\tprops.push(prop)\n\t\t\t\t})\n\t\t\t}\n\t\t\tthis.props = props\n\t\t},\n\t\tremoveInvalidNameCharacters() {\n\t\t\tif (!this.cell) return\n\t\t\tconst invalidName = /[^a-z0-9-_ ]/gi\n\t\t\tthis.layoutName = this.layoutName.replace(invalidName, '')\n\t\t\tthis.cellName = this.cellName.replace(invalidName, '')\n\t\t},\n\t\trenameCell(cell) {\n\t\t\tcell = cell || this.cell\n\t\t\tif (this.cellName !== cell.name) {\n\t\t\t\ttry {\n\t\t\t\t\tcell.rename(this.cellName)\n\t\t\t\t} catch (e) {\n\t\t\t\t\tshowAlert(e.message)\n\t\t\t\t\tthis.cellName = cell.name\n\t\t\t\t}\n\t\t\t}\n\t\t},\n\t\trenameLayout(cell) {\n\t\t\tcell = cell || this.cell\n\t\t\tif (this.layoutName !== cell.layout.name) {\n\t\t\t\ttry {\n\t\t\t\t\tcell.layout.rename(this.layoutName)\n\t\t\t\t} catch (e) {\n\t\t\t\t\tshowAlert(e.message)\n\t\t\t\t\tthis.layoutName = cell.layout.name\n\t\t\t\t}\n\t\t\t}\n\t\t},\n\t\tsaveProps() {\n\t\t\tif (!this.cell) return\n\t\t\tthis.removeInvalidNameCharacters()\n\t\t\tthis.renameCell()\n\t\t\tthis.renameLayout()\n\n\t\t\tthis.props.forEach(p => {\n\t\t\t\tif (p.type === 'list') {\n\t\t\t\t\tif (!Array.isArray(p.value)) {\n\t\t\t\t\t\tp.value = p.value.split(',')\n\t\t\t\t\t}\n\t\t\t\t\t// remove dupes\n\t\t\t\t\tp.value = Array.from(new Set(p.value))\n\t\t\t\t}\n\t\t\t\tthis.cell.props[p.name] = p.value\n\t\t\t})\n\n\t\t\tif (this.cell.type === 'Table') {\n\t\t\t\tthis.cell.configureTable()\n\t\t\t}\n\n\t\t\tif (this.isPdfTemplateRoot) {\n\t\t\t\tstate.set.templates.forEach(t => (t.imageCommentColumns = this.cell.template.imageCommentColumns))\n\t\t\t}\n\n\t\t\treturn false\n\t\t},\n\t\taddNewWidget() {\n\t\t\tlet layout = state.createNewLayout()\n\t\t\tlayout.group = this.cell.type\n\t\t},\n\t\tasync deleteWidget(widgetName) {\n\t\t\tlet r = await showConfirm(`Are you sure you want to delete ${widgetName}?`)\n\t\t\tif (r !== true) return\n\t\t\tlet template = this.cell.template\n\t\t\tconst openTabIndex = state.openLayouts.findIndex(l => l.name === widgetName)\n\t\t\tif (openTabIndex >= 0) state.openLayouts.splice(openTabIndex, 1)\n\t\t\tlet layout = state.editableLayouts.find(l => l.name === widgetName)\n\t\t\ttemplate.removeLayout(layout)\n\t\t},\n\t\tasync reset() {\n\t\t\tlet r = await showConfirm(`Are you sure you want to reset the ${this.title} layout?`)\n\t\t\tif (!r) return\n\t\t\tstate.closeLayout(this.cell.layout)\n\t\t\tlet layout = this.cell.template.resetLayout(this.cell.layout.name)\n\t\t\tstate.selectLayout(layout)\n\t\t},\n\t\tuseSignatureImage() {\n\t\t\tthis.cell.props.binding = '[Signature]'\n\t\t\tthis.refreshPropValue('binding')\n\t\t},\n\t\tuseLogoImage() {\n\t\t\tthis.cell.props.binding = '[Logo]'\n\t\t\tthis.refreshPropValue('binding')\n\t\t},\n\t\tdeleteComp() {\n\t\t\tif (confirm(`Are you sure you want to delete ${this.title}?`)) {\n\t\t\t\tstate.closeLayout(this.cell.layout)\n\t\t\t\tstate.template.removeLayout(this.cell.layout)\n\t\t\t}\n\t\t},\n\t\tasync selectWatermarkImage() {\n\t\t\tlet url = await openClinicImagesDlg(this.cell.template.watermarkUrl)\n\t\t\tthis.cell.template.watermarkUrl = url\n\t\t\tthis.saveProps()\n\t\t},\n\t\tasync browseImages(prop) {\n\t\t\tlet url = await openClinicImagesDlg(prop.value)\n\t\t\tprop.value = url\n\t\t\tthis.saveProps()\n\t\t},\n\t},\n\ttemplate: '#layout-pane',\n}\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CellProps.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CellProps.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./CellProps.vue?vue&type=template&id=19df1386\"\nimport script from \"./CellProps.vue?vue&type=script&lang=ts\"\nexport * from \"./CellProps.vue?vue&type=script&lang=ts\"\nimport style0 from \"./CellProps.vue?vue&type=style&index=0&id=19df1386&prod&lang=scss\"\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\n\n\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!./CellAccordion.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!./CellAccordion.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./CellAccordion.vue?vue&type=template&id=b8efad22\"\nimport script from \"./CellAccordion.vue?vue&type=script&lang=js\"\nexport * from \"./CellAccordion.vue?vue&type=script&lang=js\"\nimport style0 from \"./CellAccordion.vue?vue&type=style&index=0&id=b8efad22&prod&lang=scss\"\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","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"side-pane\",attrs:{\"id\":\"toolbox\"}},_vm._l((_vm.toolGroups),function(toolGroup){return _c('ul',{key:toolGroup.name},[_c('h4',[_vm._v(_vm._s(toolGroup.name))]),_vm._l((toolGroup.tools),function(tool){return _c('li',{key:tool.name,class:{ selected: _vm.state.selTool === tool.name },attrs:{\"draggable\":\"true\",\"title\":tool.description},on:{\"click\":function($event){return _vm.setTool(tool.name)},\"dragstart\":function($event){return _vm.setDragTool($event, tool.name)}}},[_c('span',{staticStyle:{\"display\":\"inline-flex\",\"align-items\":\"baseline\"}},[_c('svg-icon',{staticClass:\"is-muted\",staticStyle:{\"margin-left\":\"-4px\"},attrs:{\"icon\":\"drag-vertical\",\"fixed\":\"\"}}),(tool.icon)?_c('svg-icon',{staticStyle:{\"margin-right\":\"4px\"},attrs:{\"icon\":tool.icon,\"fixed\":\"\"}}):_vm._e(),_vm._v(\"\\n\\t\\t\\t\\t\"+_vm._s(tool.name)+\"\\n\\t\\t\\t\")],1),(_vm.state.selTool === tool.name)?_c('svg-icon',{attrs:{\"icon\":\"chevron-right\"}}):_vm._e()],1)})],2)}),0)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\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!./Toolbox.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!./Toolbox.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./Toolbox.vue?vue&type=template&id=64694fce\"\nimport script from \"./Toolbox.vue?vue&type=script&lang=js\"\nexport * from \"./Toolbox.vue?vue&type=script&lang=js\"\nimport style0 from \"./Toolbox.vue?vue&type=style&index=0&id=64694fce&prod&lang=scss\"\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","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('section',{attrs:{\"id\":\"reportEditorMenu\"}},[_c('ast-toolbar',{staticStyle:{\"align-items\":\"center\"},attrs:{\"is-primary\":true}},[_c('toolbar-branding'),_c('toolbar-button',{attrs:{\"icon\":\"arrow-left\"},nativeOn:{\"click\":function($event){return _vm.goBack()}}}),_c('h3',{staticStyle:{\"margin\":\"0 0 0 1em\"}},[_vm._v(\"Template Editor\")]),_c('span',{staticStyle:{\"flex-grow\":\"1\"}}),_c('help-menu',{attrs:{\"items\":_vm.helpItems}}),_c('user-menu')],1),(_vm.state.set)?_c('ast-toolbar',[_c('div',{staticStyle:{\"display\":\"flex\",\"align-items\":\"center\",\"font-size\":\"0.9em\"}},[_c('status-tag',{staticStyle:{\"margin-left\":\"8px\"},attrs:{\"status\":_vm.set.status,\"is-legacy\":_vm.set.isLegacy}}),_c('span',{staticStyle:{\"padding\":\"8px\"}},[_vm._v(\"Template Set\")]),_c('input',{directives:[{name:\"model\",rawName:\"v-model.trim\",value:(_vm.state.set.name),expression:\"state.set.name\",modifiers:{\"trim\":true}}],staticClass:\"input\",staticStyle:{\"width\":\"200px\",\"margin-right\":\"8px\"},attrs:{\"disabled\":_vm.set.isActive,\"placeholder\":\"Name\"},domProps:{\"value\":(_vm.state.set.name)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.state.set, \"name\", $event.target.value.trim())},\"blur\":function($event){return _vm.$forceUpdate()}}})],1),_c('toolbar-button',{attrs:{\"icon\":\"folder-open-outline\",\"label\":\"Open\"},nativeOn:{\"click\":function($event){return _vm.openSettings()}}}),(_vm.set.isActive && _vm.set.type !== 'Teleconsultation' && !_vm.set.isLegacy)?_c('toolbar-button',{attrs:{\"disabled\":!!_vm.state.set.warnings.length || _vm.isLoading,\"icon\":\"stop-circle\",\"label\":\"Retire\"},nativeOn:{\"click\":function($event){return _vm.retire()}}}):_vm._e(),_c('toolbar-button',{attrs:{\"disabled\":_vm.set.isActive || !_vm.hasUnsavedChanges || _vm.isLoading,\"icon\":\"floppy-o\",\"label\":\"Save\"},nativeOn:{\"click\":function($event){return _vm.save($event)}}}),_c('toolbar-button',{attrs:{\"icon\":\"save-copy\",\"label\":\"Save Copy\",\"disabled\":_vm.isLoading},nativeOn:{\"click\":function($event){return _vm.saveAs($event)}}}),(!_vm.set.isActive || _vm.isTeleconsultation)?_c('toolbar-button',{attrs:{\"disabled\":_vm.set.isActive || !!_vm.state.set.warnings.length || _vm.isLoading,\"icon\":\"check-circle\",\"label\":\"Publish\"},nativeOn:{\"click\":function($event){return _vm.setActive()}}}):_vm._e(),_c('undo-redo'),_c('toolbar-button',{attrs:{\"icon\":\"copy\",\"label\":\"Copy\",\"disabled\":_vm.isLoading || !_vm.state.activeCell,\"title\":\"Copy (Ctrl+C)\"},nativeOn:{\"click\":function($event){return _vm.state.copy($event)}}}),_c('toolbar-button',{attrs:{\"icon\":\"content-paste\",\"label\":\"Paste\",\"disabled\":_vm.isLoading || !_vm.state.canPaste,\"title\":\"Paste (Ctrl+V)\"},nativeOn:{\"click\":function($event){return _vm.state.paste($event)}}}),_c('toolbar-button',{attrs:{\"icon\":\"eye\",\"label\":\"Preview\"},nativeOn:{\"click\":function($event){return _vm.openPreviewDlg()}}}),(_vm.hasPartnerMappings && _vm.isTeleconsultation)?_c('toolbar-button',{attrs:{\"icon\":\"link\",\"label\":\"Map Fields\"},nativeOn:{\"click\":function($event){return _vm.openPartnerFieldMapDlg($event)}}}):_vm._e(),(_vm.state.set.warnings.length)?_c('toolbar-button',{staticClass:\"is-warning\",attrs:{\"icon\":\"exclamation-triangle\",\"label\":_vm.warningCount},nativeOn:{\"click\":function($event){return _vm.showWarnings()}}}):_vm._e(),_c('span',{staticStyle:{\"flex-grow\":\"1\"}}),(_vm.setConsultant)?_c('div',{staticStyle:{\"display\":\"flex\",\"flex-wrap\":\"wrap\",\"align-items\":\"center\",\"font-size\":\"0.8em\",\"padding\":\"16px\"}},[_c('span',{staticClass:\"is-muted\"},[_vm._v(\"Editing for \")]),_c('svg-icon',{attrs:{\"icon\":\"account\",\"fixed\":\"\"}}),_vm._v(\"\\n\\t\\t\\t\"+_vm._s(_vm.setConsultant)+\"\\n\\t\\t\")],1):_vm._e()],1):_vm._e(),(_vm.state.set)?_c('tabs',{attrs:{\"tabs\":_vm.tabs,\"value\":_vm.state.selLayout,\"accent\":\"\"},on:{\"input\":function($event){return _vm.state.selectLayout($event)}}}):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('modal-wrapper',{staticClass:\"preview-dialog\",on:{\"close\":_vm.close}},[_c('div',{staticClass:\"dialog\"},[_c('div',{staticClass:\"buttons\"},[_c('h3',[_vm._v(\"Preview\")]),_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.template),expression:\"template\"}],staticClass:\"select\",on:{\"change\":function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.template=$event.target.multiple ? $$selectedVal : $$selectedVal[0]}}},_vm._l((_vm.set.templates),function(t){return _c('option',{key:t.type,domProps:{\"value\":t}},[_vm._v(\"\\n\\t\\t\\t\\t\\t\"+_vm._s(t.type.replace('Standard ', ''))+\"\\n\\t\\t\\t\\t\")])}),0),(!_vm.template.isPdfTemplate)?[_c('div',[_c('button',{staticClass:\"btn\",class:{ 'btn-default': !_vm.showMobile, 'btn-success': _vm.showMobile },attrs:{\"title\":\"Mobile Size\"},on:{\"click\":function($event){_vm.showMobile = true}}},[_c('svg-icon',{attrs:{\"icon\":\"cellphone-android\",\"fixed\":\"\"}})],1),_c('button',{staticClass:\"btn\",class:{ 'btn-default': _vm.showMobile, 'btn-success': !_vm.showMobile },attrs:{\"title\":\"Desktop Size\"},on:{\"click\":function($event){_vm.showMobile = false}}},[_c('svg-icon',{attrs:{\"icon\":\"laptop\",\"fixed\":\"\"}})],1)]),_c('div',[_c('button',{staticClass:\"btn\",class:{ 'btn-default': !_vm.showDark, 'btn-success': _vm.showDark },attrs:{\"title\":\"Dark Mode\"},on:{\"click\":function($event){_vm.showDark = true}}},[_c('svg-icon',{attrs:{\"icon\":\"moon\",\"fixed\":\"\"}})],1),_c('button',{staticClass:\"btn\",class:{ 'btn-default': _vm.showDark, 'btn-success': !_vm.showDark },attrs:{\"title\":\"Light Mode\"},on:{\"click\":function($event){_vm.showDark = false}}},[_c('svg-icon',{attrs:{\"icon\":\"sun\",\"fixed\":\"\"}})],1)])]:(_vm.isAdmin)?_c('div',[(_vm.set.isStandard)?_c('div',[_c('label',{staticStyle:{\"display\":\"inline\"}},[_vm._v(\"User: \")]),_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.userId),expression:\"userId\"}],staticClass:\"select\",staticStyle:{\"display\":\"inline\"},on:{\"change\":[function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.userId=$event.target.multiple ? $$selectedVal : $$selectedVal[0]},function($event){return _vm.loadPdf()}]}},_vm._l((_vm.users),function(c){return _c('option',{key:c.id,domProps:{\"value\":c.id}},[_vm._v(\"\\n\\t\\t\\t\\t\\t\\t\\t\"+_vm._s(c.fullName)+\"\\n\\t\\t\\t\\t\\t\\t\")])}),0)]):_c('div',[_c('label',{staticStyle:{\"display\":\"inline\"}},[_vm._v(\"Consultant: \")]),_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.consultantId),expression:\"consultantId\"}],staticClass:\"select\",staticStyle:{\"display\":\"inline\"},on:{\"change\":[function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.consultantId=$event.target.multiple ? $$selectedVal : $$selectedVal[0]},function($event){return _vm.loadPdf()}]}},_vm._l((_vm.consultants),function(c){return _c('option',{key:c.id,domProps:{\"value\":c.id}},[_vm._v(\"\\n\\t\\t\\t\\t\\t\\t\\t\"+_vm._s(c.name)+\"\\n\\t\\t\\t\\t\\t\\t\")])}),0)])]):_vm._e(),_c('span',{staticStyle:{\"flex-grow\":\"1\"}}),_c('button',{staticClass:\"btn btn-close\",on:{\"click\":function($event){return _vm.close()}}},[_c('svg-icon',{attrs:{\"icon\":\"close\"}})],1)],2),(_vm.pdfData)?_c('pdf-viewer',{attrs:{\"src\":_vm.pdfData,\"show-review-button\":false,\"show-close-button\":false,\"show-download-button\":false}}):_vm._e(),(!_vm.template.isPdfTemplate)?_c('div',{staticClass:\"preview-container\"},[_c('div',{ref:\"preview\",staticClass:\"preview\",class:{ mobile: _vm.showMobile }},[_c('layout',{attrs:{\"layout\":_vm.template.root}})],1)]):_vm._e()],1)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('modal',{on:{\"close\":_vm.close}},[_c('div',{staticClass:\"dialog\",attrs:{\"id\":\"contextDlg\"}},[_c('h3',{staticClass:\"flatHeader\"},[_vm._v(\"Data Context\")]),_c('textarea',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.json),expression:\"json\"}],attrs:{\"spellcheck\":\"false\"},domProps:{\"value\":(_vm.json)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.json=$event.target.value}}}),_c('div',{staticClass:\"footer\"},[_c('button',{on:{\"click\":function($event){return _vm.close()}}},[_vm._v(\"Done\")])])])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\nimport modal from '@components/ModalWrapper.vue'\nimport { dlg } from '@utils/dlgUtils'\n\nconst ContextDlg = {\n\tname: 'ContextDlg',\n\tprops: ['context'],\n\tdata() {\n\t\treturn {\n\t\t\tjson: '',\n\t\t}\n\t},\n\tcomponents: {\n\t\tmodal,\n\t},\n\tmethods: {\n\t\tclose() {\n\t\t\tdlg.close(this, true, JSON.parse(this.json))\n\t\t},\n\t},\n\tcreated() {\n\t\tthis.json = JSON.stringify(this.context, null, 4)\n\t},\n\tmounted() {\n\t\tlet el: HTMLTextAreaElement = this.$el.querySelector('textarea')\n\t\tel.onkeydown = (e: KeyboardEvent) => {\n\t\t\tif (e.keyCode === 9) {\n\t\t\t\te.stopPropagation()\n\t\t\t\tel.value += '\\t'\n\t\t\t\treturn false\n\t\t\t}\n\t\t}\n\t\tel.focus()\n\t},\n}\n\nexport default ContextDlg\n\nexport function openContextDlg(context: any): Promise {\n\treturn dlg.open(ContextDlg, { context })\n}\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ContextDlg.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ContextDlg.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./ContextDlg.vue?vue&type=template&id=68de10f8\"\nimport script from \"./ContextDlg.vue?vue&type=script&lang=ts\"\nexport * from \"./ContextDlg.vue?vue&type=script&lang=ts\"\nimport style0 from \"./ContextDlg.vue?vue&type=style&index=0&id=68de10f8&prod&lang=scss\"\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\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\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 DlgHeader from '@components/DlgHeader.vue'\nimport ModalWrapper from '@components/ModalWrapper.vue'\nimport { dlg } from '@utils/dlgUtils'\nimport { Template, TemplateSet, ReportDetail } from '../classes'\nimport { openContextDlg } from '../dialogs/ContextDlg.vue'\nimport { ContextMeta, getPreviewContext } from '../context'\nimport Vue from 'vue'\nimport reportService from '@services/reportService'\nimport PdfViewer from '@components/PdfViewer.vue'\nimport { getLocale } from '@utils/locale'\nimport { user } from '@services/user'\nimport consultations from '@services/consultationService'\n\nfunction getSample(parent, child) {\n\tif (!child) return ContextMeta[parent].sample\n\n let result\n if (ContextMeta[parent].items[child]) {\n result = ContextMeta[parent].items[child].sample\n }\n\n\tlet p = previewData.contextValues[parent]\n\tif (p) {\n\t\tresult = p[child] || result\n\t}\n\treturn result\n}\n\nlet previewData: IPdfTemplatePreview = {\n\ttemplateType: undefined,\n\tset: undefined,\n\tconsultantId: undefined,\n\tuserId: undefined,\n\tcontextValues: {},\n\trequestValues: {},\n\tresponseValues: {},\n\treportValues: {},\n\tculture: undefined,\n}\n\nconst PreviewDlg = {\n\tname: 'PreviewDlg',\n\tprops: ['set'],\n\tcomponents: {\n\t\tDlgHeader,\n\t\tModalWrapper,\n\t\tPdfViewer,\n\t},\n\tdata() {\n\t\treturn {\n\t\t\tisAdmin: false,\n\t\t\tuserId: null,\n\t\t\tusers: [],\n\t\t\tconsultantId: null,\n\t\t\tconsultants: [],\n\t\t\tpdfData: null,\n\t\t\ttemplate: null,\n\t\t\tshowMobile: false,\n\t\t\tshowDark: this.$store.getters.themeIsDark,\n\t\t}\n\t},\n\tasync created() {\n\t\tlet set: TemplateSet = this.set\n\t\tlet type = reportService.template.type\n\t\tthis.template = set.templates.find(t => t.type === type)\n\n\t\tthis.userId = user.claims.userId\n\t\tthis.consultantId = set.consultantId\n\n\t\tthis.isAdmin = user.permissions.serverAdministration\n\t\tif (this.isAdmin) {\n\t\t\tif (set.isStandard) {\n\t\t\t\tthis.users = await user.getAllUsers()\n\t\t\t} else {\n\t\t\t\tlet consultants = await consultations.getConsultantGroupMembers(set.consultantId)\n\t\t\t\tlet setConsultant = consultants.find(c => c.id === set.consultantId)\n\t\t\t\tif (!setConsultant) {\n\t\t\t\t\tsetConsultant = this.$store.state.static.consultants.find(c => c.id === set.consultantId)\n\t\t\t\t\tconsultants.splice(0, 0, setConsultant)\n\t\t\t\t}\n\t\t\t\tthis.consultants = consultants\n\t\t\t}\n\t\t}\n\t},\n\twatch: {\n\t\ttemplate: function(template: Template, prev: Template) {\n\t\t\tthis.pdfData = null\n\n\t\t\tif (prev != null && !prev.isPdfTemplate) {\n\t\t\t\tprev.saveValues()\n\t\t\t\tsavePreviewTemplateData(prev)\n\t\t\t\tcopyReportContextValuesToPreviewContext(previewData.contextValues, prev.report)\n\t\t\t}\n\n\t\t\tif (template.isPdfTemplate) {\n\t\t\t\tthis.loadPdf()\n\t\t\t} else {\n\t\t\t\tlet context = getPreviewContext()\n\t\t\t\ttemplate.hydrate(context)\n\t\t\t\ttemplate.report.setActiveTemplate(template)\n\t\t\t}\n\t\t},\n\t\tshowDark(showDark) {\n\t\t\tconst root = this.$refs.preview\n\t\t\tthis.$store.dispatch('applyTheme', { mode: showDark ? 'dark' : 'light', root })\n\t\t},\n\t},\n\tmethods: {\n\t\tloadPdf() {\n\t\t\tthis.pdfData = null\n\t\t\tlet data: IPdfTemplatePreview = {\n\t\t\t\ttemplateType: this.template.type,\n\t\t\t\tset: this.set.toJSON(),\n\t\t\t\tconsultantId: this.consultantId,\n\t\t\t\tuserId: this.userId,\n\t\t\t\tcontextValues: getPreviewContext(['Consultant', 'FinalizedBy']),\n\t\t\t\trequestValues: previewData.requestValues,\n\t\t\t\tresponseValues: previewData.responseValues,\n\t\t\t\treportValues: previewData.reportValues,\n\t\t\t\tculture: getLocale(),\n\t\t\t}\n\n\t\t\tfor (let prop in previewData.contextValues) {\n\t\t\t\tdata.contextValues[prop] = previewData.contextValues[prop]\n\t\t\t}\n\n\t\t\treportService.downloadPdfTemplatePreview(data).then(r => {\n\t\t\t\tthis.pdfData = new Uint8Array(r.data)\n\t\t\t\tpreviewData = data\n\t\t\t})\n\t\t},\n\t\tsave() {\n\t\t\tlet values = this.template.saveValues()\n\t\t\tlet json = JSON.stringify(values, null, 4)\n\t\t\talert(json)\n\t\t},\n\t\tclose() {\n\t\t\tlet prev: Template = this.template\n\t\t\tif (prev && !prev.isPdfTemplate) {\n\t\t\t\tsavePreviewTemplateData(prev)\n\t\t\t\tcopyReportContextValuesToPreviewContext(previewData.contextValues, prev.report)\n\t\t\t}\n\t\t\tdlg.close(this)\n\t\t},\n\t\topenContextDlg,\n\t\tasync editContext() {\n\t\t\tlet newContext = await openContextDlg(this.template.root.context)\n\t\t\tthis.template.setContext(newContext)\n\t\t},\n\t},\n}\n\nfunction savePreviewTemplateData(t: Template) {\n\tif (t.type === 'Request') {\n\t\tpreviewData.requestValues = t.values\n\t} else if (t.type === 'Response') {\n\t\tpreviewData.responseValues = t.values\n\t} else if (t.type === 'Report') {\n\t\tpreviewData.reportValues = t.values\n\t}\n}\n\nfunction copyReportContextValuesToPreviewContext(previewContext: ValueMap, report: ReportDetail) {\n\tlet patient = (previewContext['Patient'] = {})\n\tpatient['Birthdate'] = report.patient.birthdate\n\tpatient['Breed'] = report.patient.breed\n\tpatient['Gender'] = report.patient.gender\n\tpatient['Species'] = report.patient.species\n\tpatient['Owner'] = report.patient.owner\n\tpatient['Weight'] = report.patient.weight\n\tpatient['WeightUnit'] = report.patient.weightUnit\n\tpatient['PatientId'] = report.patient.id\n\tpatient['Name'] = report.patient.name\n\n\tlet consultant = (previewContext['Consultant'] = {})\n\tconsultant['Address'] = report.consultant.address\n\tconsultant['Email'] = report.consultant.email\n\tconsultant['Name'] = report.consultant.name\n\tconsultant['Organization'] = report.consultant.organization\n\tconsultant['Phone'] = report.consultant.phone\n\tconsultant['Website'] = report.consultant.website\n\n\tlet client = (previewContext['ReferredBy'] = {})\n\tclient['Address'] = report.client.address\n\tclient['City'] = report.client.city\n\tclient['State'] = report.client.state\n\tclient['PostalCode'] = report.client.postalCode\n\tclient['Email'] = report.client.email\n\tclient['Name'] = report.client.name\n\tclient['Organization'] = report.client.organization\n\tclient['Phone'] = report.client.phone\n}\n\nexport default PreviewDlg\n\nexport function openPreviewDlg(json: ITemplateSet) {\n\tjson.templates.forEach(t => (t.meta = reportService.meta))\n\tlet set = TemplateSet.load(json)\n\n\t// hack to get around Vue bug\n\tlet vm = new Vue({\n\t\tdata: {\n\t\t\tset,\n\t\t},\n\t})\n\tlet report = new ReportDetail()\n\treport.consultants = []\n\treport.billingCodes = [\n\t\t{ id: '1', name: 'Sample 1', value: 'SAMPLE-1' },\n\t\t{ id: '2', name: 'Sample 2', value: 'SAMPLE-2' },\n\t]\n\treport.priorities = [{ name: 'Standard', value: 0 }, { name: 'STAT', value: 1 }]\n\treport.services = [{ name: 'Normal', id: '0' }, { name: 'Expedited', id: '1' }]\n\n\treport.patient = {\n\t\tbirthdate: getSample('Patient', 'Birthdate'),\n\t\tbreed: getSample('Patient', 'Breed'),\n\t\tgender: getSample('Patient', 'Gender'),\n\t\tname: getSample('Patient', 'Name'),\n\t\towner: getSample('Patient', 'Owner'),\n\t\tid: getSample('Patient', 'PatientId'),\n\t\tspecies: getSample('Patient', 'Species'),\n\t\tweight: getSample('Patient', 'Weight'),\n\t\tweightUnit: 'KGS',\n\t}\n\n\treport.consultant = {\n\t\tid: null,\n\t\ttype: null,\n\t\tisImageOptional: null,\n\t\tcity: getSample('Consultant', 'City'),\n\t\tstate: getSample('Consultant', 'State'),\n\t\taddress: getSample('Consultant', 'Address'),\n\t\temail: getSample('Consultant', 'Email'),\n\t\tname: getSample('Consultant', 'Name'),\n\t\torganization: getSample('Consultant', 'Organization'),\n\t\tclinicCode: getSample('Consultant', 'ClinicCode'),\n\t\tphone: getSample('Consultant', 'Phone'),\n\t\twebsite: getSample('Consultant', 'Website'),\n\t}\n\n\treport.images = []\n\tconst imageComment = {\n\t\thtmlValue: getSample('ImageComment', 'Comment'),\n\t\ttextValue: '',\n\t\teditDateTime: getSample('ImageComment', 'EditDateTime'),\n\t\treportImageId: '',\n\t\timageId: '',\n\t\torder: 0,\n\t\tacquisitionDate: getSample('ImageComment', 'AcquisitionDate'),\n\t\tanatomy: getSample('ImageComment', 'Anatomy'),\n\t\tlimb: getSample('ImageComment', 'Limb'),\n\t\turl: '',\n\t\tview: getSample('ImageComment', 'View'),\n\t}\n\treport.imageComments = [imageComment]\n\tconst addendum = {\n\t\tfromUserDetail: getSample('Addendum', 'AddedBy'),\n\t\ttextValue: '',\n\t\thtmlValue: getSample('Addendum', 'Message'),\n\t\teditDateTime: getSample('Addendum', 'DateTime'),\n\t}\n\treport.addendums = [addendum]\n\treport.attachments = []\n\treport.relatedReports = []\n\n\treport.client = {\n\t\tid: null,\n\t\tlabel: null,\n\t\taddress: getSample('ReferredBy', 'Address'),\n\t\tcity: getSample('ReferredBy', 'City'),\n\t\tstate: getSample('ReferredBy', 'State'),\n\t\tpostalCode: getSample('ReferredBy', 'PostalCode'),\n\t\temail: getSample('ReferredBy', 'Email'),\n\t\tname: getSample('ReferredBy', 'Name'),\n\t\torganization: getSample('ReferredBy', 'Organization'),\n\t\tphone: getSample('ReferredBy', 'Phone'),\n\t\tclinic: null,\n\t\toriginalClientId: null\n\t}\n\treport.standard = set.getTemplate('Report')\n\treport.request = set.getTemplate('Request')\n\treport.response = set.getTemplate('Response')\n\treport.setActiveTemplate(set.templates[0])\n\treport.canRespond = true\n\treport.isPreview = true\n\tset.templates.forEach(t => {\n\t\tt.report = report\n\t\tif (previewData) {\n\t\t\tif (t.type === 'Request') t.values = previewData.requestValues\n\t\t\tif (t.type === 'Response') t.values = previewData.responseValues\n\t\t\tif (t.type === 'Report') t.values = previewData.reportValues\n\t\t}\n\t})\n\treturn dlg.open(PreviewDlg, { set })\n}\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PreviewDlg.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PreviewDlg.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./PreviewDlg.vue?vue&type=template&id=6b76c988\"\nimport script from \"./PreviewDlg.vue?vue&type=script&lang=ts\"\nexport * from \"./PreviewDlg.vue?vue&type=script&lang=ts\"\nimport style0 from \"./PreviewDlg.vue?vue&type=style&index=0&id=6b76c988&prod&lang=scss\"\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","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('span',{staticStyle:{\"display\":\"inline-flex\"}},[_c('toolbar-button',{attrs:{\"title\":\"Undo (Ctrl+Z)\",\"icon\":\"undo\",\"label\":\"Undo\",\"disabled\":!_vm.canUndo},nativeOn:{\"click\":function($event){return _vm.undo($event)}}}),_c('toolbar-button',{attrs:{\"title\":\"Redo (Ctrl+Y / Shift+Ctrl+Z)\",\"icon\":\"redo\",\"label\":\"Redo\",\"disabled\":!_vm.canRedo},nativeOn:{\"click\":function($event){return _vm.redo($event)}}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\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!./UndoRedo.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!./UndoRedo.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./UndoRedo.vue?vue&type=template&id=17aa8cb9\"\nimport script from \"./UndoRedo.vue?vue&type=script&lang=js\"\nexport * from \"./UndoRedo.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 null,\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('modal-wrapper',{on:{\"close\":_vm.close}},[_c('div',{staticClass:\"dialog\",staticStyle:{\"padding\":\"0\"},attrs:{\"id\":\"loadTemplateDlg\"}},[_c('dlg-header',{attrs:{\"title\":\"Copy Template Set\"},on:{\"close\":_vm.close}}),_c('form',{staticStyle:{\"padding\":\"0 16px 16px 16px\"},on:{\"submit\":function($event){$event.stopPropagation();$event.preventDefault();return _vm.save()}}},[_c('div',{staticClass:\"form-row\"},[_c('label',[_vm._v(\"New Name:\")]),_c('input',{directives:[{name:\"model\",rawName:\"v-model.trim\",value:(_vm.setName),expression:\"setName\",modifiers:{\"trim\":true}},{name:\"focus\",rawName:\"v-focus\"}],staticClass:\"input\",domProps:{\"value\":(_vm.setName)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.setName=$event.target.value.trim()},\"blur\":function($event){return _vm.$forceUpdate()}}})]),_c('div',{staticClass:\"footer right\"},[_c('button',{staticClass:\"btn btn-default\",attrs:{\"type\":\"button\"},on:{\"click\":function($event){return _vm.close()}}},[_vm._v(\"Cancel\")]),_c('button',{staticClass:\"btn btn-primary\",attrs:{\"type\":\"submit\",\"disabled\":!_vm.setName || !_vm.setName.length}},[_vm._v(\"\\n\\t\\t\\t\\t\\tSave\\n\\t\\t\\t\\t\")])])])],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\nimport DlgHeader from '@components/DlgHeader.vue'\nimport ModalWrapper from '@components/ModalWrapper.vue'\nimport { dlg } from '@utils/dlgUtils'\nimport state from '@services/reportService'\nimport { TemplateSet } from '../classes'\n\nconst SaveReportAsDlg = {\n\tname: 'SaveReportAsDlg',\n\tprops: ['set'],\n\tdata() {\n\t\treturn { setName: '' }\n\t},\n\tcomponents: {\n\t\tDlgHeader,\n\t\tModalWrapper,\n\t},\n\tmethods: {\n\t\tsave() {\n\t\t\tif (!this.setName || !this.setName.length) return\n\t\t\tdlg.close(this, true, this.setName)\n\t\t},\n\t\tclose() {\n\t\t\tdlg.close(this, false)\n\t\t},\n\t},\n\tcreated() {\n\t\tthis.setName = this.set.name\n\t},\n}\n\nexport default SaveReportAsDlg\n\nexport function openSaveAsDlg(set: TemplateSet) {\n\treturn dlg.open(SaveReportAsDlg, { set })\n}\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SaveReportAsDlg.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SaveReportAsDlg.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./SaveReportAsDlg.vue?vue&type=template&id=1671eb82\"\nimport script from \"./SaveReportAsDlg.vue?vue&type=script&lang=ts\"\nexport * from \"./SaveReportAsDlg.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","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('modal-wrapper',{on:{\"close\":_vm.close}},[_c('div',{staticClass:\"dialog\",attrs:{\"id\":\"partnerFieldMapDlg\"}},[_c('dlg-header',{attrs:{\"title\":\"Map Fields\"},on:{\"close\":_vm.close}}),_c('tabs',{attrs:{\"tabs\":_vm.tabs,\"accent\":\"\"},scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\nvar template = ref.template;\nvar partner = ref.partner;\nvar dataflow = ref.dataflow;\nreturn [_vm._v(\"\\n\\t\\t\\t\\t\"+_vm._s(_vm._f(\"capitalize\")(dataflow === 'incoming' ? partner : template))+\"\\n\\t\\t\\t\\t\"),_c('svg-icon',{staticClass:\"is-muted\",staticStyle:{\"font-size\":\"0.8em\",\"margin\":\"0 2px\"},attrs:{\"icon\":\"arrow-right\",\"fixed\":\"\"}}),_vm._v(\"\\n\\t\\t\\t\\t\"+_vm._s(_vm._f(\"capitalize\")(dataflow !== 'incoming' ? partner : template))+\"\\n\\t\\t\\t\")]}}]),model:{value:(_vm.activeTabId),callback:function ($$v) {_vm.activeTabId=$$v},expression:\"activeTabId\"}}),(_vm.activeTab && _vm.activeTab.dataflow === 'incoming')?_c('incoming-mappings',_vm._b({staticClass:\"dialog-body\"},'incoming-mappings',_vm.activeTab,false)):_vm._e(),(_vm.activeTab && _vm.activeTab.dataflow === 'outgoing')?_c('outgoing-mappings',_vm._b({staticClass:\"dialog-body\"},'outgoing-mappings',_vm.activeTab,false)):_vm._e(),_c('div',{staticClass:\"footer right\"},[_c('button',{staticClass:\"btn btn-default\",attrs:{\"type\":\"button\"},on:{\"click\":_vm.close}},[_vm._v(\"Close\")])])],1)])}\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',[_c('div',[_c('h4',[_vm._v(_vm._s(_vm._f(\"capitalize\")(_vm.partner))+\" fields\")]),_c('p',{staticStyle:{\"font-size\":\"0.9em\"}},[_c('span',{staticClass:\"touch-only\"},[_vm._v(\"\\n\\t\\t\\t\\tSelect a source \"+_vm._s(_vm._f(\"capitalize\")(_vm.partner))+\" field, followed by its destination form field.\\n\\t\\t\\t\")]),_c('span',{staticClass:\"mouse-only\"},[_vm._v(\"\\n\\t\\t\\t\\tAssign a \"+_vm._s(_vm._f(\"capitalize\")(_vm.partner))+\" field to a form field by clicking or dragging.\\n\\t\\t\\t\")]),_c('br'),_vm._v(\"\\n\\t\\t\\tFields marked \"),_c('span',{staticClass:\"required-field\"}),_vm._v(\" must be mapped to a form field.\\n\\t\\t\")]),_c('div',{staticClass:\"item-bucket\"},[(!_vm.availableFields.length)?_c('p',{staticStyle:{\"opacity\":\"0.5\",\"font-style\":\"italic\"}},[_vm._v(\"\\n\\t\\t\\t\\tNo available fields\\n\\t\\t\\t\")]):_vm._e(),_vm._l((_vm.availableFields),function(field){return _c('div',{key:field.name,staticClass:\"item\",class:{ selected: _vm.selItem === field },attrs:{\"draggable\":\"true\",\"title\":field.name},on:{\"click\":function($event){return _vm.selectItem(field)},\"dragstart\":function($event){return _vm.onDragStart(field, $event)},\"dragend\":_vm.onDragEnd}},[_c('svg-icon',{staticClass:\"is-muted\",staticStyle:{\"margin-left\":\"-8px\"},attrs:{\"icon\":\"drag-vertical\",\"fixed\":\"\"}}),_c('span',{class:{ 'required-field': field.required }},[_vm._v(_vm._s(field.display))])],1)})],2)]),_c('div',[_c('h4',[_vm._v(_vm._s(_vm.template)+\" form fields\")]),_c('p',{staticStyle:{\"font-size\":\"0.9em\"}},[_vm._v(\"\\n\\t\\t\\tOnly one \"+_vm._s(_vm._f(\"capitalize\")(_vm.partner))+\" field may be mapped to a form field.\\n\\t\\t\")]),(_vm.layouts.length > 1)?_c('div',{staticStyle:{\"margin-top\":\"6px\"}},[(_vm.template === 'Request')?_c('div',[_vm._v(\"Selected Request Type:\")]):_c('div',[_vm._v(\"Selected Response Type:\")]),_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.layout),expression:\"layout\"}],staticClass:\"select\",on:{\"change\":function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.layout=$event.target.multiple ? $$selectedVal : $$selectedVal[0]}}},_vm._l((_vm.layouts),function(layout){return _c('option',{key:layout.name,domProps:{\"value\":layout.name}},[_vm._v(_vm._s(layout.name))])}),0)]):_vm._e(),(!_vm.controls.length)?_c('p',{staticStyle:{\"padding-top\":\"16px\",\"font-style\":\"italic\"}},[_vm._v(\"\\n\\t\\t\\tNo mappable controls have been added to the \"+_vm._s(_vm.template)+\" form.\\n\\t\\t\")]):_vm._e(),_vm._l((_vm.controls),function(control){return _c('div',{key:control.path,staticStyle:{\"padding-top\":\"16px\"}},[_c('h5',[_c('svg-icon',{staticClass:\"tool-icon\",attrs:{\"icon\":_vm.getControlIcon(control),\"inline\":\"\",\"fixed\":\"\"}}),_vm._v(\"\\n\\t\\t\\t\\t\"+_vm._s(control.path)+\":\\n\\t\\t\\t\")],1),_c('div',{staticClass:\"item-bucket\",class:{ selectable: _vm.isControlSelectable(control) },on:{\"click\":function($event){return _vm.addControlToField(_vm.selItem, control)},\"dragover\":function($event){$event.preventDefault();return _vm.onDragOver($event)},\"dragleave\":function($event){$event.preventDefault();return _vm.onDragLeave($event)},\"drop\":function($event){$event.preventDefault();return _vm.onDrop(control, $event)}}},_vm._l((_vm.fields.filter(function (f) { return f.controls.includes(control); })),function(field){return _c('div',{key:field.name,staticClass:\"item\",attrs:{\"draggable\":\"true\",\"title\":field.name},on:{\"dragstart\":function($event){return _vm.onDragStart(field, $event)},\"dragend\":_vm.onDragEnd}},[_vm._v(\"\\n\\t\\t\\t\\t\\t\"+_vm._s(field.display)+\"\\n\\t\\t\\t\\t\\t\"),_c('button',{staticClass:\"remove\",on:{\"click\":function($event){return _vm.removeControlFromField(field, control)}}},[_c('svg-icon',{attrs:{\"icon\":\"close\"}})],1)])}),0)])})],2)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { showAlert } from '@/dialogs/MessageDlg.vue'\nimport { Template } from '@/reporting/classes'\nimport state from '@services/reportService'\n\nexport default {\n\tprops: {\n\t\tdataflow: {\n\t\t\ttype: String,\n\t\t\trequired: true,\n\t\t},\n\t\tpartner: {\n\t\t\ttype: String,\n\t\t\trequired: true,\n\t\t},\n\t\ttemplate: {\n\t\t\ttype: String,\n\t\t\trequired: true,\n\t\t},\n\t},\n\tdata() {\n\t\treturn {\n\t\t\tstate,\n\t\t\tcontrols: [],\n\t\t\tfields: [],\n\t\t\tselItem: null,\n\t\t\tlayout: null,\n\t\t\tloadedTemplate: null,\n\t\t\tloadedPartner: null,\n\t\t}\n\t},\n\tcomputed: {\n\t\tkey() {\n\t\t\treturn `${this.partner}_${this.template}`\n\t\t},\n\t\tlayouts() {\n\t\t\tconst template: Template = this.state.set.templates.find(t => t.type === this.template)\n\t\t\tlet selectorName = template.type === 'Response' ? 'Response Selector' : 'Request Selector'\n\t\t\treturn template.layouts.filter(l => l.group === selectorName)\n\t\t},\n\t},\n\twatch: {\n\t\tkey: {\n\t\t\thandler(key, prevKey) {\n\t\t\t\tif (prevKey) this.updateTemplateFieldMap()\n\t\t\t\tthis.loadSelectedLayout()\n\t\t\t\tthis.loadTemplateFieldMap()\n\t\t\t\tthis.loadedPartner = this.partner\n\t\t\t\tthis.loadedTemplate = this.template\n\t\t\t},\n\t\t\timmediate: true,\n\t\t},\n\t\tlayout() {\n\t\t\tthis.loadTemplateFieldMap()\n\t\t},\n\t},\n\tbeforeDestroy() {\n\t\tthis.updateTemplateFieldMap()\n\t},\n\tmethods: {\n\t\tloadSelectedLayout() {\n\t\t\tif (this.dataflow === 'incoming') {\n\t\t\t\tconst template = state.set.templates.find(t => t.type === this.template)\n\t\t\t\tlet first = this.layouts[0]\n\t\t\t\tlet result = template.partnerLayoutMap[this.partner] || null\n\t\t\t\tif (!result && first) {\n\t\t\t\t\tresult = first.name\n\t\t\t\t}\n\n\t\t\t\tthis.layout = result\n\t\t\t} else this.layout = null\n\t\t},\n\t\tloadTemplateFieldMap() {\n\t\t\tconst template = state.set.templates.find(t => t.type === this.template)\n\t\t\tconst allControls = []\n\n\t\t\tlet validLayoutNames = {}\n\t\t\tlet validLayouts = template.layouts.filter(l => {\n\t\t\t\tif (l.isRoot) return true\n\t\t\t\t// exclude any Image Comment & Addendum controls\n\t\t\t\telse if (!l.group) return false\n\t\t\t\telse return !this.layout || l.name === this.layout\n\t\t\t})\n\n\t\t\tvalidLayouts.forEach(l => {\n\t\t\t\tvalidLayoutNames[l.name] = true\n\t\t\t\tallControls.push(...l.controls)\n\t\t\t})\n\n\t\t\tthis.fields = state.fieldMap[this.partner]\n\t\t\t\t.filter(f => f.template === this.template && f.dataflow === this.dataflow && f.display)\n\t\t\t\t.map(f => {\n\t\t\t\t\t// load field controls from existing template field map\n\t\t\t\t\tconst mappedControlPaths = template.partnerFieldMap[f.name] || []\n\t\t\t\t\tconst controls = mappedControlPaths\n\t\t\t\t\t\t.map(p => allControls.find(c => c.path === p))\n\t\t\t\t\t\t.filter(c => !!c && validLayoutNames[c.layout.name]) // do not retain mappings to invalid control paths\n\t\t\t\t\treturn { ...f, controls }\n\t\t\t\t})\n\t\t\tconst isValidType = c => this.fields.some(f => f.fieldTypes.includes(c.type))\n\t\t\tthis.controls = allControls.filter(isValidType)\n\t\t},\n\t\tselectItem(item: [IPartnerField, ICell]) {\n\t\t\tif (this.selItem === item) this.selItem = null\n\t\t\telse this.selItem = item\n\t\t},\n\t\tgetControlIcon(control: ICell): string {\n\t\t\tconst tool = state.tools.find(t => t.name === control.type)\n\t\t\tif (!tool) return\n\t\t\treturn tool.icon\n\t\t},\n\t\tonDragStart(item: [IPartnerField, ICell], e: DragEvent) {\n\t\t\tthis.selItem = item\n\t\t\te.dataTransfer.setData('text', '') // not used, but required for Firefox\n\t\t},\n\t\tonDragEnd() {\n\t\t\t// clear selected item in case drop is not successful\n\t\t\tthis.$nextTick(() => (this.selItem = null))\n\t\t},\n\t\tonDragOver(e: DragEvent) {\n\t\t\tthis.togglePaneSelected(e, true)\n\t\t},\n\t\tonDragLeave(e: DragEvent) {\n\t\t\tthis.togglePaneSelected(e, false)\n\t\t},\n\t\tonDrop(item: [IPartnerField, ICell], e) {\n\t\t\tthis.togglePaneSelected(e, false)\n\t\t\tif (this.dataflow === 'incoming') {\n\t\t\t\t// dropping onto a control\n\t\t\t\tthis.addControlToField(this.selItem, item)\n\t\t\t} else {\n\t\t\t\t// dropping onto a field\n\t\t\t\tthis.addControlToField(item, this.selItem)\n\t\t\t}\n\t\t},\n\t\ttogglePaneSelected(e: DragEvent, isOver: boolean) {\n\t\t\te.dataTransfer.dropEffect = 'move'\n\t\t\tif (!event.target) return\n\t\t\tconst method = isOver ? 'add' : 'remove'\n\t\t\tconst target = event.target as HTMLDivElement\n\t\t\tconst pane = target.closest('.item-bucket') as HTMLDivElement\n\t\t\tif (pane) pane.classList[method]('selected')\n\t\t},\n\t\taddControlToField(field: IPartnerField, control: ICell) {\n\t\t\tif (!field || !control || field.controls.includes(control)) return\n\t\t\tif (this.dataflow === 'incoming' && this.fields.some(f => f.controls.includes(control))) return // enforce 1-to-1\n\t\t\tif (field.fieldTypes && !field.fieldTypes.includes(control.type)) {\n\t\t\t\tshowAlert(`${field.display} can only be mapped to ${field.fieldTypes.join(',')} controls.`)\n\t\t\t\treturn\n\t\t\t}\n\t\t\tthis.fields.forEach(f => this.removeControlFromField(f, control))\n\t\t\tif (this.dataflow === 'incoming') field.controls = [] // enforce 1-to-1\n\t\t\tfield.controls.push(control)\n\t\t\tthis.selItem = null\n\t\t},\n\t\tremoveControlFromField(field: IPartnerField, control: ICell) {\n\t\t\tlet idx = field.controls.indexOf(control)\n\t\t\tif (idx >= 0) field.controls.splice(idx, 1)\n\t\t},\n\t\tupdateTemplateFieldMap() {\n\t\t\tconst template = state.set.templates.find(t => t.type === this.loadedTemplate)\n\t\t\tlet newMap = { ...template.partnerFieldMap }\n\t\t\tthis.fields.forEach(f => {\n\t\t\t\tnewMap[f.name] = f.controls.map(i => i.path)\n\t\t\t})\n\t\t\ttemplate.partnerFieldMap = newMap\n\n\t\t\tlet layoutMap = template.partnerLayoutMap\n\t\t\tlayoutMap[this.loadedPartner] = this.layout\n\t\t\ttemplate.partnerLayoutMap = layoutMap\n\t\t},\n\t},\n}\n","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\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 state from '@services/reportService'\nimport MappingsMixin from './MappingsMixin'\n\nexport default {\n\tname: 'IncomingMappings',\n\tmixins: [MappingsMixin],\n\tcomputed: {\n\t\tavailableFields() {\n\t\t\treturn this.fields.filter(f => !f.controls.length)\n\t\t},\n\t},\n\tmethods: {\n\t\tisControlSelectable(control: ICell): boolean {\n\t\t\tif (!this.selItem) return false\n\t\t\tif (this.selItem.controls.includes(control)) return true\n\t\t\tif (this.fields.some(f => f.controls.includes(control))) return false\n\t\t\treturn this.selItem.fieldTypes.includes(control.type)\n\t\t},\n\t},\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./IncomingMappings.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./IncomingMappings.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./IncomingMappings.vue?vue&type=template&id=fc839692\"\nimport script from \"./IncomingMappings.vue?vue&type=script&lang=ts\"\nexport * from \"./IncomingMappings.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","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',[_c('h4',[_vm._v(_vm._s(_vm.template)+\" form fields\")]),_c('p',{staticStyle:{\"font-size\":\"0.9em\"}},[_c('span',{staticClass:\"touch-only\"},[_vm._v(\"\\n\\t\\t\\t\\tSelect a source form field, followed by its \"+_vm._s(_vm._f(\"capitalize\")(_vm.partner))+\" field.\\n\\t\\t\\t\")]),_c('span',{staticClass:\"mouse-only\"},[_vm._v(\"\\n\\t\\t\\t\\tAssign a form field to a \"+_vm._s(_vm._f(\"capitalize\")(_vm.partner))+\" field by clicking or dragging.\\n\\t\\t\\t\")])]),_c('div',{staticClass:\"item-bucket\"},[(!_vm.availableControls.length)?_c('p',{staticStyle:{\"opacity\":\"0.5\",\"font-style\":\"italic\"}},[_vm._v(\"\\n\\t\\t\\t\\tNo available form fields\\n\\t\\t\\t\")]):_vm._e(),_vm._l((_vm.availableControls),function(control){return _c('div',{key:control.path,staticClass:\"item\",class:{ selected: _vm.selItem === control },attrs:{\"draggable\":\"true\"},on:{\"click\":function($event){return _vm.selectItem(control)},\"dragstart\":function($event){return _vm.onDragStart(control, $event)},\"dragend\":_vm.onDragEnd}},[_c('svg-icon',{staticClass:\"is-muted\",staticStyle:{\"margin-left\":\"-8px\"},attrs:{\"icon\":\"drag-vertical\",\"fixed\":\"\"}}),_c('svg-icon',{staticClass:\"tool-icon\",attrs:{\"icon\":_vm.getControlIcon(control)}}),_vm._v(\"\\n\\t\\t\\t\\t\"+_vm._s(control.path)+\"\\n\\t\\t\\t\")],1)})],2)]),_c('div',[_c('h4',[_vm._v(_vm._s(_vm._f(\"capitalize\")(_vm.partner))+\" fields\")]),_vm._m(0),_vm._l((_vm.fields),function(field){return _c('div',{key:field.name,staticStyle:{\"padding-top\":\"16px\"}},[_c('h5',{class:{ 'required-field': field.required }},[_vm._v(_vm._s(field.display)+\":\")]),_c('div',{staticClass:\"item-bucket\",class:{ selectable: _vm.isFieldSelectable(field) },on:{\"click\":function($event){return _vm.addControlToField(field, _vm.selItem)},\"dragover\":function($event){$event.preventDefault();return _vm.onDragOver($event)},\"dragleave\":function($event){$event.preventDefault();return _vm.onDragLeave($event)},\"drop\":function($event){$event.preventDefault();return _vm.onDrop(field, $event)}}},[_c('transition-group',{attrs:{\"name\":\"rearrange-list\"}},_vm._l((field.controls),function(control,i){return _c('div',{key:control.path,staticClass:\"item\",attrs:{\"draggable\":\"true\"},on:{\"dragstart\":function($event){return _vm.onDragStart(control, $event)},\"dragend\":_vm.onDragEnd}},[_vm._v(\"\\n\\t\\t\\t\\t\\t\\t\"+_vm._s(control.name)+\"\\n\\t\\t\\t\\t\\t\\t\"),_c('button',{staticClass:\"move-up\",attrs:{\"disabled\":i === 0},on:{\"click\":function($event){return _vm.moveControlUp(field, control)}}},[_c('svg-icon',{attrs:{\"icon\":\"caret-up\"}})],1),_c('button',{staticClass:\"move-down\",attrs:{\"disabled\":i === field.controls.length - 1},on:{\"click\":function($event){return _vm.moveControlDown(field, control)}}},[_c('svg-icon',{attrs:{\"icon\":\"caret-down\"}})],1),_c('button',{staticClass:\"remove\",on:{\"click\":function($event){return _vm.removeControlFromField(field, control)}}},[_c('svg-icon',{attrs:{\"icon\":\"close\"}})],1)])}),0)],1)])})],2)])}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('p',{staticStyle:{\"font-size\":\"0.9em\"}},[_vm._v(\"\\n\\t\\t\\tIf combining multiple form fields, you may reorder them by clicking the arrows.\"),_c('br'),_vm._v(\"\\n\\t\\t\\tFields marked \"),_c('span',{staticClass:\"required-field\"}),_vm._v(\" must be mapped to a form field.\\n\\t\\t\")])}]\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\n\n\n\n\nimport state from '@services/reportService'\nimport MappingsMixin from './MappingsMixin'\n\nexport default {\n\tname: 'OutgoingMappings',\n\tmixins: [MappingsMixin],\n\tcomputed: {\n\t\tavailableControls() {\n\t\t\tconst isUnassigned = c => this.fields.every(f => !f.controls.includes(c))\n\t\t\treturn this.controls.filter(isUnassigned)\n\t\t},\n\t},\n\tmethods: {\n\t\tisFieldSelectable(field: IPartnerField): boolean {\n\t\t\tif (!this.selItem) return false\n\t\t\treturn field.fieldTypes.includes(this.selItem.type)\n\t\t},\n\t\tmoveControlUp(field: IPartnerField, control: ICell) {\n\t\t\tconst index = field.controls.indexOf(control)\n\t\t\tif (index === 0) return\n\t\t\tfield.controls.splice(index - 1, 0, field.controls.splice(index, 1)[0])\n\t\t},\n\t\tmoveControlDown(field: IPartnerField, control: ICell) {\n\t\t\tconst index = field.controls.indexOf(control)\n\t\t\tif (index === field.controls.length - 1) return\n\t\t\tfield.controls.splice(index + 1, 0, field.controls.splice(index, 1)[0])\n\t\t},\n\t},\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./OutgoingMappings.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./OutgoingMappings.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./OutgoingMappings.vue?vue&type=template&id=fff0fdbc\"\nimport script from \"./OutgoingMappings.vue?vue&type=script&lang=ts\"\nexport * from \"./OutgoingMappings.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\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport DlgHeader from '@components/DlgHeader.vue'\nimport ModalWrapper from '@components/ModalWrapper.vue'\nimport Tabs from '@components/Tabs.vue'\nimport IncomingMappings from './PartnerFieldMapDlg/IncomingMappings.vue'\nimport OutgoingMappings from './PartnerFieldMapDlg/OutgoingMappings.vue'\nimport { dlg } from '@utils/dlgUtils'\nimport state from '@services/reportService'\nimport { TemplateSet } from '../classes'\n\ninterface IMappingTab {\n\tid: string\n\tpartner: string\n\ttemplate: string\n\tdataflow: string // 'incoming' | 'outgoing'\n}\n\nconst PartnerFieldMapDlg = {\n\tname: 'PartnerFieldMapDlg',\n\tdata() {\n\t\treturn {\n\t\t\tstate,\n\t\t\tactiveTabId: null,\n\t\t\ttabs: [],\n\t\t}\n\t},\n\tcomponents: {\n\t\tDlgHeader,\n\t\tIncomingMappings,\n\t\tOutgoingMappings,\n\t\tModalWrapper,\n\t\tTabs,\n\t},\n\tcomputed: {\n\t\tactiveTab() {\n\t\t\treturn this.tabs.find(t => t.id === this.activeTabId)\n\t\t},\n\t},\n\tasync created() {\n\t\tthis.buildTabs()\n\t},\n\tmethods: {\n\t\tbuildTabs() {\n\t\t\tconst tabs: IMappingTab[] = []\n\t\t\t// create a tab for each partner + template + dataflow\n\t\t\tObject.keys(state.fieldMap).forEach(partner => {\n\t\t\t\tconst partnerFields = state.fieldMap[partner]\n\t\t\t\tconst partnerTemplates = [...new Set(partnerFields.map(f => f.template))]\n\t\t\t\tpartnerTemplates.forEach(template => {\n\t\t\t\t\tconst partnerTemplateFields = partnerFields.filter(f => f.template === template)\n\t\t\t\t\tconst partnerTemplateDataflows = [...new Set(partnerTemplateFields.map(f => f.dataflow))]\n\t\t\t\t\tpartnerTemplateDataflows.forEach(dataflow => {\n\t\t\t\t\t\ttabs.push({\n\t\t\t\t\t\t\tid: template + partner + dataflow,\n\t\t\t\t\t\t\tpartner,\n\t\t\t\t\t\t\ttemplate,\n\t\t\t\t\t\t\tdataflow,\n\t\t\t\t\t\t})\n\t\t\t\t\t})\n\t\t\t\t})\n\t\t\t})\n\t\t\ttabs.sort(sortTabs)\n\t\t\tthis.tabs = tabs\n\t\t\tthis.activeTabId = tabs[0].id\n\n\t\t\tfunction sortTabs(a, b) {\n\t\t\t\t// Place Request tabs first\n\t\t\t\tif (a.template < b.template) return -1\n\t\t\t\tif (b.template < a.template) return 1\n\t\t\t\t// Then place Incoming tabs before Outgoing\n\t\t\t\tif (a.dataflow < b.dataflow) return -1\n\t\t\t\tif (b.dataflow < a.dataflow) return 1\n\t\t\t\t// Then sort by partner\n\t\t\t\tif (a.partner < b.partner) return -1\n\t\t\t\tif (b.partner < a.partner) return 1\n\t\t\t\treturn 0\n\t\t\t}\n\t\t},\n\t\tclose() {\n\t\t\tdlg.close(this)\n\t\t},\n\t},\n}\n\nexport default PartnerFieldMapDlg\n\nexport function openPartnerFieldMapDlg(partner): Promise {\n\treturn dlg.open(PartnerFieldMapDlg, { partner })\n}\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PartnerFieldMapDlg.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PartnerFieldMapDlg.vue?vue&type=script&lang=ts\"","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport state from '@services/reportService'\nimport { Cell, Panel } from '../classes'\nimport Layout from './Layout.vue'\nimport LayoutPageHeader from './LayoutPageHeader.vue'\n\nlet main = null\nlet dropPanel: Panel\nlet dropIndex: number\nlet dragEl: HTMLElement\n\nlet dropIndicator: HTMLElement = document.createElement('div')\ndropIndicator.id = 'dropIndicator'\n\nfunction onMouseDown(e) {\n\twindow.getSelection().empty()\n\tif (state.selCell) {\n\t\tstate.activeCell = state.selCell\n\t}\n}\n\nfunction onDragEnd(e: DragEvent) {\n\tstate.dragCell = null\n}\n\nfunction onDragOver(e: DragEvent) {\n\te.preventDefault()\n\tif (state.selTool || state.dragCell) updateDropIndicator(e)\n}\n\nfunction onMouseMove(e: MouseEvent) {\n\tif (state.selTool || state.dragCell) updateDropIndicator(e)\n}\n\nfunction updateDropIndicator(e: MouseEvent) {\n\tlet t = e.target as HTMLElement\n\tlet elCell: any = t.closest('.report-layout .cell')\n\tif (!elCell) return\n\tlet cell = elCell.__vue__.cell as Cell\n\tconst isPageBreak = state.selTool === 'Page Break' || (state.dragCell && state.dragCell.type === 'Page Break')\n\t// page breaks can only be dropped into root panels\n\tif (isPageBreak) dropPanel = cell.layout.root\n\telse {\n\t\t// default to dropping into cell's parent panel (excluding panels that wrap tables)\n\t\tdropPanel = cell.panel && cell.panel.type !== 'Table' ? cell.panel : null\n\t\tif (cell instanceof Panel && cell.type !== 'Table') {\n\t\t\t// if cell itself is a panel, we will drop into that instead\n\t\t\tdropPanel = cell\n\t\t\t// add some tolerance for dropping into a child panel's parent panel even if zero padding\n\t\t\tif (!cell.isRoot && cell.panel.type !== 'Table') {\n\t\t\t\tlet altPanel = cell.panel\n\t\t\t\tvar rect = cell.el.getBoundingClientRect()\n\t\t\t\tlet diff = e.pageY - rect.top\n\t\t\t\tif (diff < 5) {\n\t\t\t\t\tdropPanel = altPanel\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\tdropIndex = undefined\n\tlet el: HTMLElement\n\n\tfunction process() {\n\t\tfor (let i = 0; i < dropPanel.cells.length; i++) {\n\t\t\tlet c = dropPanel.cells[i]\n\t\t\tvar rect = c.el.getBoundingClientRect()\n\t\t\tlet diff = e.pageY - rect.top\n\t\t\tlet half = rect.height / 2\n\t\t\tif (diff < half) {\n\t\t\t\tel = c.el\n\t\t\t\tdropIndex = c.index\n\t\t\t\tbreak\n\t\t\t}\n\t\t}\n\t}\n\n\tif (dropPanel && cell) {\n\t\tlet p = dropPanel.el.querySelector('.panel-cells')\n\t\tprocess()\n\n\t\tconst arrow = '8px solid var(--icon-success)'\n\t\tconst transparent = '8px solid transparent'\n\n\t\tdropIndicator.style.width = p.clientWidth + 'px'\n\t\tdropIndicator.style.height = '17px'\n\t\tdropIndicator.style.borderTop = transparent\n\t\tdropIndicator.style.borderBottom = transparent\n\t\tdropIndicator.style.borderLeft = arrow\n\t\tdropIndicator.style.borderRight = arrow\n\t\tdropIndicator.style.top = el ? `${el.offsetTop - 8}px` : `${p.clientHeight - 8}px`\n\t\tdropIndicator.style.left = '0px'\n\n\t\tp.appendChild(dropIndicator)\n\t\tstate.selCell = dropPanel\n\t}\n}\n\nfunction onMouseUp(e: MouseEvent) {\n\tif (state.dragCell) {\n\t\tstate.dropCell(dropPanel, dropIndex)\n\t\te && e.stopPropagation()\n\t\treturn false\n\t}\n\tif (state.selTool) {\n\t\tlet cell = state.selLayout.createCell(state.selTool, dropPanel, dropIndex)\n\t\tstate.selTool = null\n\t\tif (cell.def) state.activeCell = cell\n\t}\n}\n\nexport default {\n\tname: 'Editor',\n\tcomponents: {\n\t\tLayout,\n\t},\n\tdata() {\n\t\treturn {\n\t\t\tstate,\n\t\t}\n\t},\n\tcomputed: {\n\t\tpageHeaderWrapper() {\n\t\t\tif (this.state.pageHeader) {\n\t\t\t\treturn new Cell('Layout Wrapper', this.state.pageHeader, 'Page Header')\n\t\t\t}\n\t\t\treturn null\n\t\t},\n\t\tpageFooterWrapper() {\n\t\t\tif (this.state.pageFooter) {\n\t\t\t\treturn new Cell('Layout Wrapper', this.state.pageFooter, 'Page Footer')\n\t\t\t}\n\t\t\treturn null\n\t\t},\n\t},\n\twatch: {\n\t\t'state.selTool'(newValue) {\n\t\t\tdropIndicator.remove()\n\t\t},\n\t\t'state.dragCell'(newValue) {\n\t\t\tdropIndicator.remove()\n\t\t},\n\t\t'state.selLayout': {\n\t\t\thandler(newLayout, oldLayout) {\n\t\t\t\tconst isPdf = l => l && l.template && l.template.type.includes('PDF Report')\n\t\t\t\tif (isPdf(newLayout) && !isPdf(oldLayout)) this.$store.dispatch('applyTheme', { mode: 'light', root: this.$el })\n\t\t\t\tif (isPdf(oldLayout) && !isPdf(newLayout))\n\t\t\t\t\tthis.$store.dispatch('applyTheme', { mode: 'light', root: this.$el, unsetTheme: true })\n\t\t\t},\n\t\t\timmediate: true,\n\t\t},\n\t},\n\tbeforeDestroy() {\n\t\tmain.removeEventListener('mousemove', onMouseMove)\n\t\tmain.removeEventListener('dragover', onDragOver)\n\t\tmain.removeEventListener('mouseup', onMouseUp)\n\t\tmain.removeEventListener('mousedown', onMouseDown)\n\t\tmain.removeEventListener('keydown', this.onKeyDown)\n\t\tmain.removeEventListener('drop', onMouseUp)\n\t\tdocument.removeEventListener('dragend', onDragEnd)\n\t},\n\tmounted() {\n\t\tmain = this.$el\n\t\tmain.addEventListener('mousemove', onMouseMove)\n\t\tmain.addEventListener('dragover', onDragOver)\n\t\tmain.addEventListener('mouseup', onMouseUp)\n\t\tmain.addEventListener('mousedown', onMouseDown)\n\t\tmain.addEventListener('keydown', this.onKeyDown)\n\t\tmain.addEventListener('drop', onMouseUp)\n\t\tdocument.addEventListener('dragend', onDragEnd)\n\t},\n\tmethods: {\n\t\tonKeyDown(e) {\n\t\t\tconst cell = state.activeCell\n\t\t\tif (!cell) return\n\t\t\tlet stopPropagation = true\n\t\t\tlet cellAbove = null\n\t\t\tlet cellBelow = null\n\t\t\tlet cellLeft = null\n\t\t\tlet cellRight = null\n\t\t\tif (cell.panel) {\n\t\t\t\tcellAbove = cell.panel.cellAbove(cell, true)\n\t\t\t\tcellBelow = cell.panel.cellBelow(cell, true)\n\t\t\t\tcellLeft = cell.panel.cellLeft(cell)\n\t\t\t\tcellRight = cell.panel.cellRight(cell)\n\t\t\t} else if (cell.isPanel) {\n\t\t\t\tcellAbove = (cell as Panel).lastCell\n\t\t\t\tcellBelow = (cell as Panel).firstCell\n\t\t\t}\n\t\t\tswitch (e.key) {\n\t\t\t\tcase 'c':\n\t\t\t\t\tif (e.ctrlKey || e.metaKey) state.copy()\n\t\t\t\t\tbreak\n\t\t\t\tcase 'v':\n\t\t\t\t\tif (e.ctrlKey || e.metaKey) state.paste()\n\t\t\t\t\tbreak\n\t\t\t\tcase 'Del':\n\t\t\t\tcase 'Delete':\n\t\t\t\tcase 'Backspace':\n\t\t\t\t\tif (cell.isRoot || cell.isTableCell) return\n\t\t\t\t\tconst nextCell = cell.panel.cellBelow(cell, false) || cell.panel.cellAbove(cell, false) || cell.panel\n\t\t\t\t\tstate.activeCell.remove()\n\t\t\t\t\tstate.activeCell = nextCell\n\t\t\t\t\t// Focus active cell\n\t\t\t\t\tif (nextCell) {\n\t\t\t\t\t\tnextCell.el.focus()\n\t\t\t\t\t}\n\t\t\t\t\tbreak\n\t\t\t\tcase 'Tab':\n\t\t\t\t\tstate.activeCell = e.shiftKey ? cellAbove : cellBelow\n\t\t\t\t\tbreak\n\t\t\t\tcase 'ArrowUp':\n\t\t\t\t\tstate.activeCell = cellAbove || cell\n\t\t\t\t\te.preventDefault()\n\t\t\t\t\tbreak\n\t\t\t\tcase 'ArrowDown':\n\t\t\t\t\tstate.activeCell = cellBelow || cell\n\t\t\t\t\te.preventDefault()\n\t\t\t\t\tbreak\n\t\t\t\tcase 'ArrowLeft':\n\t\t\t\t\tstate.activeCell = cellLeft || cell\n\t\t\t\t\te.preventDefault()\n\t\t\t\t\tbreak\n\t\t\t\tcase 'ArrowRight':\n\t\t\t\t\tstate.activeCell = cellRight || cell\n\t\t\t\t\te.preventDefault()\n\t\t\t\t\tbreak\n\t\t\t\tcase 'Home':\n\t\t\t\t\tstate.activeCell = cell.panel.firstCell\n\t\t\t\t\tbreak\n\t\t\t\tcase 'End':\n\t\t\t\t\tstate.activeCell = cell.panel.lastCell\n\t\t\t\t\tbreak\n\t\t\t\tdefault:\n\t\t\t\t\tstopPropagation = false\n\t\t\t\t\tif (stopPropagation) e.stopPropagation()\n\t\t\t}\n\t\t},\n\t},\n}\n","import { render, staticRenderFns } from \"./PartnerFieldMapDlg.vue?vue&type=template&id=3eb9e060\"\nimport script from \"./PartnerFieldMapDlg.vue?vue&type=script&lang=ts\"\nexport * from \"./PartnerFieldMapDlg.vue?vue&type=script&lang=ts\"\nimport style0 from \"./PartnerFieldMapDlg.vue?vue&type=style&index=0&id=3eb9e060&prod&lang=scss\"\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\n\n\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!./Menu.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!./Menu.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./Menu.vue?vue&type=template&id=4e7f340c\"\nimport script from \"./Menu.vue?vue&type=script&lang=js\"\nexport * from \"./Menu.vue?vue&type=script&lang=js\"\nimport style0 from \"./Menu.vue?vue&type=style&index=0&id=4e7f340c&prod&lang=scss\"\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","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:{ 'is-pdf': _vm.state.selLayout.name === 'PDF Report' },attrs:{\"id\":\"report-editor-main\"}},[_c('div',{staticClass:\"page-wrapper\"},[(_vm.pageHeaderWrapper)?_c('div',{staticClass:\"report-layout editorMode selected page-header\",staticStyle:{\"flex-grow\":\"0\"}},[_c('cell',{attrs:{\"cell\":_vm.pageHeaderWrapper}})],1):_vm._e(),(_vm.state.selLayout)?_c('layout',{attrs:{\"layout\":_vm.state.selLayout}}):_vm._e(),(_vm.pageFooterWrapper)?_c('div',{staticClass:\"report-layout editorMode selected page-footer\",staticStyle:{\"flex-grow\":\"0\"}},[_c('cell',{attrs:{\"cell\":_vm.pageFooterWrapper}})],1):_vm._e()],1)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Editor.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Editor.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./Editor.vue?vue&type=template&id=022d74f4\"\nimport script from \"./Editor.vue?vue&type=script&lang=ts\"\nexport * from \"./Editor.vue?vue&type=script&lang=ts\"\nimport style0 from \"./Editor.vue?vue&type=style&index=0&id=022d74f4&prod&lang=scss\"\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\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'\nimport state from '@services/reportService'\nimport CellAccordion from './components/CellAccordion.vue'\nimport Toolbox from './components/Toolbox.vue'\nimport TopMenu from './components/Menu.vue'\nimport Editor from './components/Editor.vue'\nimport { showConfirm } from '@dialogs/ConfirmDlg.vue'\nimport { openSettings } from '@dialogs/Settings.vue'\nimport { eventBus } from '@services/eventBus'\n\nconst unsavedChangesWarning = 'You have unsaved changes. Are you sure you want to leave without saving?'\n\nexport default Vue.extend({\n\tname: 'ReportEditor',\n\tcomponents: {\n\t\tCellAccordion,\n\t\tToolbox,\n\t\tTopMenu,\n\t\tEditor,\n\t},\n\tprops: {\n\t\tsetId: {\n\t\t\ttype: String,\n\t\t\trequired: true,\n\t\t},\n\t},\n\tdata() {\n\t\treturn {\n\t\t\tstate,\n\t\t\tisLoadingSet: false,\n\t\t}\n\t},\n\tcomputed: {\n\t\tcellChain() {\n\t\t\tlet result = []\n\t\t\tlet cell = this.state.activeCell\n\t\t\twhile (cell) {\n\t\t\t\tresult.push(cell)\n\t\t\t\tcell = cell.panel\n\t\t\t}\n\t\t\treturn result.reverse()\n\t\t},\n\t},\n\twatch: {\n\t\tsetId: {\n\t\t\tasync handler() {\n\t\t\t\tif (this.setId && (!state.set || this.setId !== state.set.id)) {\n\t\t\t\t\tstate.openLayouts = []\n\t\t\t\t\tthis.isLoadingSet = true\n\t\t\t\t\tconst set = await state.getTemplateSet(this.setId)\n\t\t\t\t\tstate.loadTemplateSet(set)\n\t\t\t\t}\n\t\t\t},\n\t\t\timmediate: true,\n\t\t},\n\t\t'state.set.name'() {\n\t\t\tthis.updateDocumentTitle()\n\t\t},\n\t\t'state.hasUnsavedChanges': {\n\t\t\thandler(hasUnsavedChanges) {\n\t\t\t\tconst toggle = hasUnsavedChanges ? window.addEventListener : window.removeEventListener\n\t\t\t\ttoggle('beforeunload', this.confirmUnload)\n\t\t\t\tthis.updateDocumentTitle()\n\t\t\t},\n\t\t\timmediate: true,\n\t\t},\n\t},\n\tbeforeDestroy() {\n\t\tstate.closeTemplate()\n\t\tstate.resetStateStorage()\n\t\twindow.removeEventListener('beforeunload', this.confirmUnload)\n\t},\n\tasync beforeRouteLeave(to, from, next) {\n\t\tif (!this.$store.getters.isAuthenticated) return next() // if logout already confirmed, leave\n\t\tif (await this.confirmNavigation()) {\n\t\t\tlet dlg = to.query.dlg\n\t\t\tlet settingView = to.query.settingView\n\t\t\tif (dlg && settingView) {\n\t\t\t\teventBus.once('routechanged', () => {\n\t\t\t\t\topenSettings(settingView)\n\t\t\t\t})\n\t\t\t}\n\t\t\tnext() // confirm leaving if unsaved changes\n\t\t} else {\n\t\t\tnext(false)\n\t\t}\n\t},\n\tasync beforeRouteUpdate(to, from, next) {\n\t\tif (to.params.setId === from.params.setId) return next()\n\t\tif (await this.confirmNavigation()) return next()\n\t\tnext(false)\n\t},\n\tbeforeRouteEnter(to, from, next) {\n\t\tstate.prevRoute = from\n\t\tnext()\n\t},\n\tmethods: {\n\t\topenSettings() {\n\t\t\topenSettings()\n\t\t},\n\t\tupdateDocumentTitle() {\n\t\t\tif (!state.set || !state.set.name) return\n\t\t\tdocument.title = `${state.hasUnsavedChanges ? '*' : ''}${state.set.name} - Keystone Omni`\n\t\t},\n\t\tconfirmNavigation() {\n\t\t\tif (!state.set || !state.hasUnsavedChanges) return true\n\t\t\treturn showConfirm(unsavedChangesWarning)\n\t\t},\n\t\tconfirmUnload(e) {\n\t\t\te.returnValue = unsavedChangesWarning\n\t\t\treturn unsavedChangesWarning\n\t\t},\n\t},\n})\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--14-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ReportEditor.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--14-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ReportEditor.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./ReportEditor.vue?vue&type=template&id=794d6594\"\nimport script from \"./ReportEditor.vue?vue&type=script&lang=ts\"\nexport * from \"./ReportEditor.vue?vue&type=script&lang=ts\"\nimport style0 from \"./ReportEditor.vue?vue&type=style&index=0&id=794d6594&prod&lang=scss\"\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","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/lib/loader.js??ref--8-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CellProps.vue?vue&type=style&index=0&id=19df1386&prod&lang=scss\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/lib/loader.js??ref--8-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Menu.vue?vue&type=style&index=0&id=4e7f340c&prod&lang=scss\"","module.exports = __webpack_public_path__ + \"img/asteris-omni-logo-white.dec6fc77.png\";","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/lib/loader.js??ref--8-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Toolbox.vue?vue&type=style&index=0&id=64694fce&prod&lang=scss\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/lib/loader.js??ref--8-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ColorPicker.vue?vue&type=style&index=0&id=6848da82&prod&lang=scss\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/lib/loader.js??ref--8-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BindingDlg.vue?vue&type=style&index=0&id=0ff20482&prod&lang=scss&scoped=true\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/lib/loader.js??ref--8-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BindingSuggest.vue?vue&type=style&index=0&id=6cb554e8&prod&lang=scss\"","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../node_modules/sass-loader/lib/loader.js??ref--8-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AboutOmni.vue?vue&type=style&index=0&id=15595f87&prod&lang=scss&scoped=true\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/lib/loader.js??ref--8-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Editor.vue?vue&type=style&index=0&id=022d74f4&prod&lang=scss\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('ast-toolbar-dropdown',{staticClass:\"help-btn\",attrs:{\"icon\":\"help-circle\",\"title\":\"Help\",\"items\":_vm.completeList}})}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('modal-wrapper',{on:{\"close\":function($event){return _vm.close()}}},[_c('div',{staticClass:\"dialog\",staticStyle:{\"width\":\"400px\"}},[_c('dlg-header',{attrs:{\"title\":\"About Omni\"},on:{\"close\":_vm.close}}),_c('div',{staticStyle:{\"padding\":\"16px\"}},[_c('p',{staticStyle:{\"margin-bottom\":\"35px\"}},[_vm._v(\"\\n\\t\\t\\t\\tKeystone Omni is a modern progressive web application (PWA). Below is a brief summary of\\n\\t\\t\\t\\tinformation that may be helpful for diagnostic purposes:\\n\\t\\t\\t\")]),_c('ast-data-table',{attrs:{\"is-hoverable\":false,\"is-striped\":true,\"is-condensed\":true}},[_c('tbody',[_c('tr',[_c('td',{staticClass:\"title-row\",attrs:{\"colspan\":\"2\"}},[_vm._v(\"Omni\")])]),_c('tr',[_c('td',[_vm._v(\"Release:\")]),_c('td',[_vm._v(_vm._s(_vm.release))])]),_c('tr',[_c('td',{staticClass:\"title-row\",attrs:{\"colspan\":\"2\"}},[_vm._v(\"Browser\")])]),_c('tr',[_c('td',[_vm._v(\"Name:\")]),_c('td',[_vm._v(_vm._s(_vm.browser.name))])]),_c('tr',[_c('td',[_vm._v(\"Version:\")]),_c('td',[_vm._v(_vm._s(_vm.browser.version))])]),_c('tr',[_c('td',[_vm._v(\"OS:\")]),_c('td',[_vm._v(_vm._s(_vm.browser.os))])])])])],1)],1)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\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!./AboutOmni.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!./AboutOmni.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./AboutOmni.vue?vue&type=template&id=15595f87&scoped=true\"\nimport script from \"./AboutOmni.vue?vue&type=script&lang=js\"\nexport * from \"./AboutOmni.vue?vue&type=script&lang=js\"\nimport style0 from \"./AboutOmni.vue?vue&type=style&index=0&id=15595f87&prod&lang=scss&scoped=true\"\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 \"15595f87\",\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('modal-wrapper',{on:{\"close\":function($event){return _vm.close()}}},[_c('div',{staticClass:\"dialog\",staticStyle:{\"width\":\"400px\"}},[_c('dlg-header',{attrs:{\"title\":\"About Community\"},on:{\"close\":_vm.close}}),_c('div',{staticStyle:{\"padding\":\"16px\"}},[_c('p',{staticStyle:{\"margin-bottom\":\"35px\"}},[_vm._v(\"\\n\\t\\t\\t\\tAsteris Community is a modern progressive web application (PWA). Below is a brief summary\\n\\t\\t\\t\\tof information that may be helpful for diagnostic purposes:\\n\\t\\t\\t\")]),_c('ast-data-table',{attrs:{\"is-hoverable\":false,\"is-striped\":true,\"is-condensed\":true}},[_c('tbody',[_c('tr',[_c('td',{staticClass:\"title-row\",attrs:{\"colspan\":\"2\"}},[_vm._v(\"Community\")])]),_c('tr',[_c('td',[_vm._v(\"Release:\")]),_c('td',[_vm._v(_vm._s(_vm.release))])]),_c('tr',[_c('td',{staticClass:\"title-row\",attrs:{\"colspan\":\"2\"}},[_vm._v(\"Browser\")])]),_c('tr',[_c('td',[_vm._v(\"Name:\")]),_c('td',[_vm._v(_vm._s(_vm.browser.name))])]),_c('tr',[_c('td',[_vm._v(\"Version:\")]),_c('td',[_vm._v(_vm._s(_vm.browser.version))])]),_c('tr',[_c('td',[_vm._v(\"OS:\")]),_c('td',[_vm._v(_vm._s(_vm.browser.os))])])])])],1),_c('community-upsell-promo')],1)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\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!./AboutCommunity.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!./AboutCommunity.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./AboutCommunity.vue?vue&type=template&id=d816edec&scoped=true\"\nimport script from \"./AboutCommunity.vue?vue&type=script&lang=js\"\nexport * from \"./AboutCommunity.vue?vue&type=script&lang=js\"\nimport style0 from \"./AboutCommunity.vue?vue&type=style&index=0&id=d816edec&prod&lang=scss&scoped=true\"\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 \"d816edec\",\n null\n \n)\n\nexport default component.exports","\n\n\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!./HelpMenu.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!./HelpMenu.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./HelpMenu.vue?vue&type=template&id=cb46a3ca\"\nimport script from \"./HelpMenu.vue?vue&type=script&lang=js\"\nexport * from \"./HelpMenu.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 null,\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/index.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!./ColumnEditor.vue?vue&type=style&index=0&id=b7c3a836&prod&lang=css\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('transition',{attrs:{\"name\":\"fade\"}},[(_vm.isVisible)?_c('div',[_c('div',{staticClass:\"banner\",class:[{ 'is-rounded': _vm.isRounded }, (\"banner-\" + _vm.type)]},[(_vm.isClosable)?_c('span',{staticClass:\"close-button\",on:{\"click\":_vm.close}},[_vm._v(\"×\")]):_vm._e(),_c('svg-icon',{attrs:{\"icon\":\"info-circle\"}}),_c('div',{staticClass:\"content\"},[_c('div',{staticClass:\"message\"},[_vm._t(\"default\",[_vm._v(\"Insert banner message here\")])],2),_vm._t(\"learn-more\",[_c('a',{staticClass:\"learn-more\",attrs:{\"href\":_vm.learnMoreLink,\"target\":\"hidden-iframe\"},on:{\"click\":_vm.learnMore}},[_vm._v(\"\\n\\t\\t\\t\\t\\t\\tLearn more.\\n\\t\\t\\t\\t\\t\")])])],2)],1)]):_vm._e()])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\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!./Banner.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!./Banner.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./Banner.vue?vue&type=template&id=0abe1cff&scoped=true\"\nimport script from \"./Banner.vue?vue&type=script&lang=js\"\nexport * from \"./Banner.vue?vue&type=script&lang=js\"\nimport style0 from \"./Banner.vue?vue&type=style&index=0&id=0abe1cff&prod&lang=scss&scoped=true\"\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 \"0abe1cff\",\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.$store.getters.isCommunityUser)?_c('banner',_vm._b({attrs:{\"id\":\"community-upsell\",\"learn-more-link\":\"mailto:sales@asteris.com?subject=Community user interested in other Asteris Apps\"}},'banner',_vm.$attrs,false),[_vm._v(\"\\n\\tAsteris has other apps that can help you manage your images.\\n\")]):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\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!./CommunityUpsellPromo.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!./CommunityUpsellPromo.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./CommunityUpsellPromo.vue?vue&type=template&id=06c41108\"\nimport script from \"./CommunityUpsellPromo.vue?vue&type=script&lang=js\"\nexport * from \"./CommunityUpsellPromo.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 null,\n null\n \n)\n\nexport default component.exports","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/lib/loader.js??ref--8-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CellAccordion.vue?vue&type=style&index=0&id=b8efad22&prod&lang=scss\"","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../node_modules/sass-loader/lib/loader.js??ref--8-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ToolbarMenu.vue?vue&type=style&index=0&id=5cefcf41&prod&lang=scss&scoped=true\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"status-tag\",class:_vm.displayStatus.toLowerCase()},[(_vm.status === 'Published')?_c('svg-icon',{staticStyle:{\"margin-right\":\"2px\"},attrs:{\"icon\":\"check-circle\",\"fixed\":\"\"}}):_vm._e(),_vm._v(\"\\n\\t\"+_vm._s(_vm.displayStatus)+\"\\n\")],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\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!./StatusTag.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!./StatusTag.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./StatusTag.vue?vue&type=template&id=1a1e0c29\"\nimport script from \"./StatusTag.vue?vue&type=script&lang=js\"\nexport * from \"./StatusTag.vue?vue&type=script&lang=js\"\nimport style0 from \"./StatusTag.vue?vue&type=style&index=0&id=1a1e0c29&prod&lang=scss\"\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","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/lib/loader.js??ref--8-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./RichTextPresets.vue?vue&type=style&index=0&id=cf5207fe&prod&lang=scss\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.tabs_.length)?_c('div',{ref:\"wrapper\",staticClass:\"tabs-wrapper\",on:{\"wheel\":_vm.onWheel}},[_c('div',{staticClass:\"tabs\",class:{ 'is-accent': _vm.accent, 'is-low-contrast': _vm.lowContrast },style:(_vm.style)},_vm._l((_vm.tabs_),function(tab){return _c('div',{key:tab.id,staticClass:\"tab-item\",class:{ 'is-selected': tab === _vm.selectedTab, 'is-closable': tab.closable },attrs:{\"data-id\":tab.id,\"draggable\":\"\"},on:{\"click\":function($event){return _vm.selectTab(tab)},\"dragstart\":function($event){return _vm.onDragStart($event, tab)},\"dragenter\":function($event){$event.preventDefault();},\"dragover\":function($event){return _vm.onDragEnter($event, tab)},\"dragleave\":function($event){return _vm.onDragLeave($event, tab)},\"drop\":function($event){return _vm.onDrop($event, tab)}}},[_vm._t(\"default\",[_vm._v(\"\\n\\t\\t\\t\\t\"+_vm._s(tab.label)+\"\\n\\t\\t\\t\")],null,tab),_c('div',{staticClass:\"close\"},[(tab.closable)?_c('svg-icon',{attrs:{\"icon\":\"close\"},nativeOn:{\"click\":function($event){$event.stopPropagation();return _vm.closeTab(tab)}}}):_vm._e()],1)],2)}),0)]):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\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!./Tabs.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!./Tabs.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./Tabs.vue?vue&type=template&id=2f1fe94e\"\nimport script from \"./Tabs.vue?vue&type=script&lang=js\"\nexport * from \"./Tabs.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 null,\n null\n \n)\n\nexport default component.exports","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/lib/loader.js??ref--8-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BindingEditor.vue?vue&type=style&index=0&id=25888e73&prod&lang=scss\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/lib/loader.js??ref--8-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PartnerFieldMapDlg.vue?vue&type=style&index=0&id=3eb9e060&prod&lang=scss\"","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../node_modules/sass-loader/lib/loader.js??ref--8-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AboutCommunity.vue?vue&type=style&index=0&id=d816edec&prod&lang=scss&scoped=true\"","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../node_modules/sass-loader/lib/loader.js??ref--8-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Banner.vue?vue&type=style&index=0&id=0abe1cff&prod&lang=scss&scoped=true\"","// extracted by mini-css-extract-plugin\nmodule.exports = {\"small\":\"640px\",\"medium\":\"800px\",\"large\":\"1024px\",\"xLarge\":\"1280px\"};","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"branding\",class:{ compact: _vm.isCompact },attrs:{\"title\":_vm.title}},[_c('svg',{staticClass:\"logo\",class:{ community: _vm.isCommunityUser },attrs:{\"width\":\"167\",\"height\":\"25\",\"xmlns\":\"http://www.w3.org/2000/svg\",\"clip-rule\":\"evenodd\"}},[_c('image',{attrs:{\"href\":require(\"@/assets/compressed/asteris-omni-logo-white.png\"),\"alt\":_vm.title,\"width\":\"167\",\"height\":\"25\",\"fill\":\"currentColor\"}})])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\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!./ToolbarBranding.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!./ToolbarBranding.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./ToolbarBranding.vue?vue&type=template&id=0fe3026a&scoped=true\"\nimport script from \"./ToolbarBranding.vue?vue&type=script&lang=js\"\nexport * from \"./ToolbarBranding.vue?vue&type=script&lang=js\"\nimport style0 from \"./ToolbarBranding.vue?vue&type=style&index=0&id=0fe3026a&prod&lang=scss&scoped=true\"\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 \"0fe3026a\",\n null\n \n)\n\nexport default component.exports","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/lib/loader.js??ref--8-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./StatusTag.vue?vue&type=style&index=0&id=1a1e0c29&prod&lang=scss\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/css-loader/index.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!./ListEditor.vue?vue&type=style&index=0&id=810aeda6&prod&lang=css\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"menu\",style:({ width: _vm.width })},[_vm._t(\"default\",[_c('ul',_vm._l((_vm.items),function(item,i){return _c('li',{key:i,class:{ 'has-border': item.hasBorder, 'no-action': item.noAction },on:{\"mousedown\":function($event){$event.preventDefault();return _vm.onClick($event, item)},\"contextmenu\":function($event){$event.preventDefault();}}},[_vm._t(\"item\",[(item.icon)?_c('svg-icon',{staticStyle:{\"margin-right\":\"8px\"},attrs:{\"icon\":item.icon}}):_vm._e(),(item.image)?_c('img',{staticStyle:{\"width\":\"16px\",\"margin-right\":\"8px\"},attrs:{\"src\":(\"img/\" + (item.image) + \".svg\"),\"alt\":\"\"}}):_vm._e(),_vm._v(\"\\n\\t\\t\\t\\t\\t\\t\"+_vm._s(item.label || item)+\"\\n\\t\\t\\t\\t\\t\")],{\"item\":item})],2)}),0)])],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\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!./ToolbarMenu.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!./ToolbarMenu.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./ToolbarMenu.vue?vue&type=template&id=5cefcf41&scoped=true\"\nimport script from \"./ToolbarMenu.vue?vue&type=script&lang=js\"\nexport * from \"./ToolbarMenu.vue?vue&type=script&lang=js\"\nimport style0 from \"./ToolbarMenu.vue?vue&type=style&index=0&id=5cefcf41&prod&lang=scss&scoped=true\"\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 \"5cefcf41\",\n null\n \n)\n\nexport default component.exports","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../node_modules/sass-loader/lib/loader.js??ref--8-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ToolbarBranding.vue?vue&type=style&index=0&id=0fe3026a&prod&lang=scss&scoped=true\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/lib/loader.js??ref--8-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PaddingEditor.vue?vue&type=style&index=0&id=4e43b9ca&prod&lang=scss\""],"sourceRoot":""}