{"version":3,"sources":["webpack:///./src/mixins/shared/alertable/alertableMixin.js","webpack:///./src/components/shared/core/dialogs/DocumentEditorDialog.vue","webpack:///src/components/shared/core/dialogs/DocumentEditorDialog.vue","webpack:///./src/components/shared/core/dialogs/DocumentEditorDialog.vue?a0c0","webpack:///./src/components/shared/core/dialogs/DocumentEditorDialog.vue?112b","webpack:///./src/design/components/alert/alertModel.js","webpack:///./src/mixins/shared/reactive/reactiveMixin.js","webpack:///./src/mixins/shared/base/dialog/modalDialogMixin.js","webpack:///./src/mixins/shared/base/dialog/dialogOutlineMixin.js"],"names":["alertableMixin","components","BaseAlert","data","internalAlert","undefined","alertTypeName","alertType","computed","showAlert","get","this","visibleAlert","set","value","message","$emit","eventNames","alertVisibilityChanged","_this$internalAlert","isEmpty","currentAlertType","_this$internalAlert2","info","type","alertMessage","_this$internalAlert3","isAlertDismissible","_this$internalAlert$d","_this$internalAlert4","dismissible","methods","createAlert","createAlertError","error","createAlertWarning","warning","createAlertInfo","createAlertSuccess","success","formatAlertError","action","clearAlert","render","_vm","_c","_self","attrs","scopedSlots","_u","key","fn","showDialog","id","version","openScanDialog","on","updateRecord","$event","closeDialog","_e","proxy","model","callback","$$v","expression","staticRenderFns","name","mixins","dialogOutlineMixin","inheritAttrs","DocumentViewer","props","Number","default","Boolean","record","component","Object","freeze","alertTypes","border","top","right","bottom","left","borders","reactiveMixin","visibleOnMdAndUp","$vuetify","breakpoint","mdAndUp","visibleOnSmAndUp","smAndUp","visibleOnSmAndDown","smAndDown","modalDialogMixin","iconCloseDialog","iconClose","visible","opened","close","dialogIcon","visibleDialogIcon","dialogTitle","closeDialogTooltip","dialogCloseCommandLabel","dialogOkCommandLabel","commandNames","ok","dialogCancelCommandLabel","cancel","openDialog","DialogOutline","BaseButton","BaseTooltipButton","displayProgress","onDialogOpened","onDialogClosed","timeOut","Promise","resolve","setTimeout","delay","e","console","watch","newValue"],"mappings":"mIAAA,0EAaO,MAAMA,EAAiB,CAC5BC,WAAY,CACVC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ASF,KAOpD,sBAAsBxG,GACpB,IACEJ,KAAKP,cAAgBO,KAAKqB,YACxBrB,KAAKL,cAAciC,QACnBxB,SAEIJ,KAAKgH,QACXhH,KAAKgD,cACL,MAAOiE,GACPC,QAAQ3F,MAAM0F,MAIpBE,MAAO,CACL1E,WAAW2E,GACLA,EACFpH,KAAK0G,iBAEL1G,KAAK2G","file":"js/chunk-585bd290.bde405d2.js","sourcesContent":["// design\r\nimport {\r\n alertType,\r\n createAlert,\r\n formatAlertError\r\n} from \"@/design/components/alert/alertModel\";\r\n\r\n// utils\r\nimport { isEmpty } from \"@/utils\";\r\n\r\n// model\r\nimport { eventNames } from \"@/model/common/events/eventConst\";\r\n\r\nexport const alertableMixin = {\r\n components: {\r\n BaseAlert: () => import(\"@/components/shared/base/BaseAlert\")\r\n },\r\n data() {\r\n return {\r\n /**\r\n * internal alert to be displayed\r\n * @type {{type: string, message: string, dismissible : boolean}}\r\n */\r\n internalAlert: undefined,\r\n\r\n /**\r\n * alert Type name enum\r\n * @type {{success: string, warning: string, error: string, info: string}}\r\n */\r\n alertTypeName: alertType\r\n };\r\n },\r\n computed: {\r\n showAlert: {\r\n get() {\r\n return this.visibleAlert;\r\n },\r\n set(value) {\r\n if (!value) {\r\n if (this.internalAlert) {\r\n this.internalAlert.message = undefined;\r\n }\r\n }\r\n this.$emit(eventNames.alertVisibilityChanged, value);\r\n }\r\n },\r\n\r\n /**\r\n * determines whether alert should be visible\r\n * @return {boolean} true if alert should be visible\r\n */\r\n visibleAlert() {\r\n return !isEmpty(this.internalAlert?.message);\r\n },\r\n\r\n /**\r\n * current Alert Type\r\n * @return {string|undefined} current Alert Type\r\n */\r\n currentAlertType() {\r\n return isEmpty(this.internalAlert?.message)\r\n ? alertType.info\r\n : this.internalAlert.type;\r\n },\r\n\r\n /**\r\n * alert Message\r\n * @return {string|undefined}\r\n */\r\n alertMessage() {\r\n return this.internalAlert?.message;\r\n },\r\n\r\n /**\r\n * compute whether Alert should be Dismissible\r\n * @return {boolean} if true Alert should be Dismissible\r\n */\r\n isAlertDismissible() {\r\n return this.internalAlert?.dismissible ?? false;\r\n }\r\n },\r\n methods: {\r\n /**\r\n * create Alert\r\n * @param {string} type Alert type\r\n * @param {string} message Alert message\r\n * @param {boolean} dismissible Alert dismissible\r\n * @return {{type: string, message: string, dismissible: boolean}}\r\n */\r\n createAlert(type, message, dismissible = false) {\r\n return createAlert(type, message, dismissible);\r\n },\r\n\r\n /**\r\n * create Error type Alert\r\n * @param {string} message Error Alert message\r\n * @param {boolean} dismissible Error Alert dismissible\r\n * @return {{type: string, message: string, dismissible: boolean}}\r\n */\r\n createAlertError(message, dismissible = false) {\r\n return createAlert(alertType.error, message, dismissible);\r\n },\r\n\r\n /**\r\n * create Warning type Alert\r\n * @param {string} message Warning Alert message\r\n * @param {boolean} dismissible Warning Alert dismissible\r\n * @return {{type: string, message: string, dismissible: boolean}}\r\n */\r\n createAlertWarning(message, dismissible = false) {\r\n return createAlert(alertType.warning, message, dismissible);\r\n },\r\n\r\n /**\r\n * create Info type Alert\r\n * @param {string} message Info Alert message\r\n * @param {boolean} dismissible Info Alert dismissible\r\n * @return {{type: string, message: string, dismissible: boolean}}\r\n */\r\n createAlertInfo(message, dismissible = false) {\r\n return createAlert(alertType.info, message, dismissible);\r\n },\r\n\r\n /**\r\n * create Success type Alert\r\n * @param {string} message Success Alert message\r\n * @param {boolean} dismissible Success Alert dismissible\r\n * @return {{type: string, message: string, dismissible: boolean}}\r\n */\r\n createAlertSuccess(message, dismissible = false) {\r\n return createAlert(alertType.success, message, dismissible);\r\n },\r\n\r\n /**\r\n * format Alert Error\r\n * @param {String} action\r\n * @param {String} error\r\n * @return {string} formatted Alert Error\r\n */\r\n formatAlertError(action, error) {\r\n return formatAlertError(action, error);\r\n },\r\n\r\n /**\r\n * clear current Alert\r\n */\r\n clearAlert() {\r\n this.internalAlert = undefined;\r\n }\r\n }\r\n};\r\n","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('dialog-outline',{attrs:{\"max-width\":\"100%\",\"visible-header\":false},scopedSlots:_vm._u([{key:\"context\",fn:function(){return [(_vm.showDialog)?_c('document-viewer',{attrs:{\"record-id\":_vm.id,\"record-version\":_vm.version,\"show-close-button\":true,\"is-open-document\":_vm.showDialog,\"is-scan-action-request\":_vm.openScanDialog},on:{\"update-record\":_vm.updateRecord,\"close\":function($event){return _vm.closeDialog()}}}):_vm._e()]},proxy:true}]),model:{value:(_vm.showDialog),callback:function ($$v) {_vm.showDialog=$$v},expression:\"showDialog\"}})\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n\r\n\r\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DocumentEditorDialog.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DocumentEditorDialog.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./DocumentEditorDialog.vue?vue&type=template&id=403a0294\"\nimport script from \"./DocumentEditorDialog.vue?vue&type=script&lang=js\"\nexport * from \"./DocumentEditorDialog.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","/**\r\n * Alert Type (map to vuetify Alert types)\r\n * @type {{success: string, warning: string, error: string, info: string}}\r\n */\r\nconst alertType = Object.freeze({\r\n success: \"success\",\r\n info: \"info\",\r\n warning: \"warning\",\r\n error: \"error\"\r\n});\r\n\r\n/**\r\n * Get the list of available Alert Types\r\n * @type {(string)[]}\r\n */\r\nconst alertTypes = Object.freeze([\r\n alertType.success,\r\n alertType.info,\r\n alertType.warning,\r\n alertType.error\r\n]);\r\n\r\n/**\r\n * Alert border\r\n * @type {Readonly<{top: string, left: string, bottom: string, right: string}>}\r\n */\r\nconst border = Object.freeze({\r\n top: \"top \",\r\n right: \"right \",\r\n bottom: \"bottom \",\r\n left: \"left\"\r\n});\r\n\r\n/**\r\n * Alert borders\r\n * @type {(string)[]}\r\n */\r\nconst borders = Object.freeze([\r\n border.top,\r\n border.right,\r\n border.bottom,\r\n border.left\r\n]);\r\n\r\n/**\r\n * create Alert\r\n * @param {string} type Alert type\r\n * @param {string} message Alert message\r\n * @param {boolean} dismissible dismissible Alert\r\n * @return {{type : string, message : string, dismissible : boolean}}\r\n */\r\nconst createAlert = (type, message, dismissible = false) => {\r\n return {\r\n type: type,\r\n message: message,\r\n dismissible: dismissible\r\n };\r\n};\r\n\r\n/**\r\n * format Alert Error\r\n * @param action full operation action\r\n * @param error error message\r\n * @return {`Couldn't ${string}. ${string}`}\r\n */\r\nconst formatAlertError = (action, error) => {\r\n return `Couldn't ${action}. ${error}`;\r\n};\r\n\r\nexport {\r\n alertType,\r\n alertTypes,\r\n border,\r\n borders,\r\n createAlert,\r\n formatAlertError\r\n};\r\n","/**\r\n * Reactive Mixin used by components that needs to be reactive\r\n * @type {{computed: {visibleOnMdAndUp(): reactiveMixin.computed.$vuetify.breakpoint.mdAndUp}}}\r\n */\r\nexport const reactiveMixin = {\r\n computed: {\r\n /**\r\n * Get breakpoint mdAndUp\r\n * @return {boolean}\r\n */\r\n visibleOnMdAndUp() {\r\n return this.$vuetify.breakpoint.mdAndUp;\r\n },\r\n /**\r\n * Get breakpoint smAndUp\r\n * @returns {boolean}\r\n */\r\n visibleOnSmAndUp() {\r\n return this.$vuetify.breakpoint.smAndUp;\r\n },\r\n /**\r\n * Get breakpoint smAndDown\r\n * @returns {boolean}\r\n */\r\n visibleOnSmAndDown() {\r\n return this.$vuetify.breakpoint.smAndDown;\r\n }\r\n }\r\n};\r\n","// design\r\nimport { iconClose } from \"@/design/icon/iconConst\";\r\n\r\n// model\r\nimport { commandNames } from \"@/model/common/commands/commandModel\";\r\nimport { eventNames } from \"@/model/common/events/eventConst\";\r\n\r\n/**\r\n * modal Dialog Mixin encapsulate basic modal Dialog functionality\r\n */\r\nexport const modalDialogMixin = {\r\n data() {\r\n return {\r\n iconCloseDialog: iconClose\r\n };\r\n },\r\n props: {\r\n visible: {\r\n type: Boolean,\r\n default: false\r\n }\r\n },\r\n computed: {\r\n /**\r\n * get/set showDialog value which indicates whether the dialog is visible or hidden.\r\n */\r\n showDialog: {\r\n get() {\r\n return this.visible;\r\n },\r\n set(value) {\r\n if (value) {\r\n this.$emit(eventNames.opened);\r\n } else {\r\n this.$emit(eventNames.close);\r\n }\r\n }\r\n },\r\n\r\n /**\r\n * dialog Icon (provides default dialog Icon)\r\n * @return {undefined} default dialog Icon name\r\n */\r\n dialogIcon() {\r\n return undefined;\r\n },\r\n\r\n /**\r\n * compute Dialog Icon visibility\r\n * @return {boolean} true when Dialog Icon is visible\r\n */\r\n visibleDialogIcon() {\r\n return !this.dialogIcon;\r\n },\r\n\r\n /**\r\n * dialog Title (provides default dialog Title)\r\n * @return {undefined} default dialog Title\r\n */\r\n dialogTitle() {\r\n return undefined;\r\n },\r\n\r\n /**\r\n * Close Dialog Tooltip\r\n * @return {string} close Dialog Tooltip\r\n */\r\n closeDialogTooltip() {\r\n return this.dialogTitle\r\n ? `${this.dialogCloseCommandLabel} ${this.dialogTitle} Dialog`\r\n : `${this.dialogCloseCommandLabel} Dialog}`;\r\n },\r\n\r\n /**\r\n * OK command Label\r\n * @return {string} ok Dialog Label\r\n */\r\n dialogOkCommandLabel() {\r\n return commandNames.ok;\r\n },\r\n\r\n /**\r\n * dialog Cancel command Label\r\n * @return {string} dialog Cancel Command Label\r\n */\r\n dialogCancelCommandLabel() {\r\n return commandNames.cancel;\r\n },\r\n\r\n /**\r\n * dialog Close Command Label\r\n * @return {string} dialog Close Command Label\r\n */\r\n dialogCloseCommandLabel() {\r\n return commandNames.close;\r\n }\r\n },\r\n methods: {\r\n /**\r\n * open Dialog\r\n */\r\n openDialog() {\r\n this.showDialog = true;\r\n },\r\n /**\r\n * close Dialog\r\n */\r\n closeDialog() {\r\n this.showDialog = false;\r\n }\r\n }\r\n};\r\n","// mixins\r\nimport { modalDialogMixin } from \"@/mixins/shared/base/dialog/modalDialogMixin\";\r\nimport { alertableMixin } from \"@/mixins/shared/alertable/alertableMixin\";\r\nimport { reactiveMixin } from \"@/mixins/shared/reactive/reactiveMixin\";\r\n\r\n/**\r\n * dialogOutlineMixin encapsulate dialog Outline functionality\r\n */\r\nexport const dialogOutlineMixin = {\r\n mixins: [modalDialogMixin, alertableMixin, reactiveMixin],\r\n components: {\r\n DialogOutline: () =>\r\n import(\"@/components/shared/core/dialogs/DialogOutline\"),\r\n BaseButton: () => import(\"@/components/shared/base/BaseButton\"),\r\n BaseTooltipButton: () =>\r\n import(\"@/components/shared/base/BaseTooltipButton\")\r\n },\r\n data() {\r\n return {\r\n displayProgress: false\r\n };\r\n },\r\n methods: {\r\n /**\r\n * Handle on Dialog Opened event\r\n */\r\n onDialogOpened() {\r\n this.internalAlert = undefined;\r\n },\r\n\r\n /**\r\n * Handle on Dialog Closed event\r\n */\r\n onDialogClosed() {\r\n this.internalAlert = undefined;\r\n },\r\n\r\n /**\r\n * wait before the specified function or code is executed.\r\n * @param {number} timeOut The time, in milliseconds that the timer should wait before the specified function or code is executed\r\n * @return {Promise}\r\n */\r\n async delay(timeOut = 1500) {\r\n return new Promise(resolve => setTimeout(resolve, timeOut));\r\n },\r\n\r\n /**\r\n * Auto Close Dialog\r\n * @return {Promise}\r\n */\r\n async autoCloseDialog(message) {\r\n try {\r\n this.internalAlert = this.createAlert(\r\n this.alertTypeName.success,\r\n message\r\n );\r\n await this.delay();\r\n this.closeDialog();\r\n } catch (e) {\r\n console.error(e);\r\n }\r\n }\r\n },\r\n watch: {\r\n showDialog(newValue) {\r\n if (newValue) {\r\n this.onDialogOpened();\r\n } else {\r\n this.onDialogClosed();\r\n }\r\n }\r\n }\r\n};\r\n"],"sourceRoot":""}