芝麻web文件管理V1.00
编辑当前文件:/home/digitalh/erp.digitalhubbd.com/public/js/bundle/System_settings.8c074ad4fafc5fde.js
/*! For license information please see System_settings.8c074ad4fafc5fde.js.LICENSE.txt */ "use strict";(self.webpackChunk=self.webpackChunk||[]).push([[3452],{40474:(t,e,a)=>{a.r(e),a.d(e,{default:()=>g});var r=a(95353),n=a(5947),o=a.n(n);function i(t){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i(t)}function s(){s=function(){return e};var t,e={},a=Object.prototype,r=a.hasOwnProperty,n=Object.defineProperty||function(t,e,a){t[e]=a.value},o="function"==typeof Symbol?Symbol:{},l=o.iterator||"@@iterator",c=o.asyncIterator||"@@asyncIterator",u=o.toStringTag||"@@toStringTag";function d(t,e,a){return Object.defineProperty(t,e,{value:a,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{d({},"")}catch(t){d=function(t,e,a){return t[e]=a}}function f(t,e,a,r){var o=e&&e.prototype instanceof _?e:_,i=Object.create(o.prototype),s=new j(r||[]);return n(i,"_invoke",{value:P(t,a,s)}),i}function g(t,e,a){try{return{type:"normal",arg:t.call(e,a)}}catch(t){return{type:"throw",arg:t}}}e.wrap=f;var m="suspendedStart",p="suspendedYield",v="executing",h="completed",b={};function _(){}function y(){}function w(){}var k={};d(k,l,(function(){return this}));var C=Object.getPrototypeOf,$=C&&C(C(N([])));$&&$!==a&&r.call($,l)&&(k=$);var S=w.prototype=_.prototype=Object.create(k);function x(t){["next","throw","return"].forEach((function(e){d(t,e,(function(t){return this._invoke(e,t)}))}))}function L(t,e){function a(n,o,s,l){var c=g(t[n],t,o);if("throw"!==c.type){var u=c.arg,d=u.value;return d&&"object"==i(d)&&r.call(d,"__await")?e.resolve(d.__await).then((function(t){a("next",t,s,l)}),(function(t){a("throw",t,s,l)})):e.resolve(d).then((function(t){u.value=t,s(u)}),(function(t){return a("throw",t,s,l)}))}l(c.arg)}var o;n(this,"_invoke",{value:function(t,r){function n(){return new e((function(e,n){a(t,r,e,n)}))}return o=o?o.then(n,n):n()}})}function P(e,a,r){var n=m;return function(o,i){if(n===v)throw Error("Generator is already running");if(n===h){if("throw"===o)throw i;return{value:t,done:!0}}for(r.method=o,r.arg=i;;){var s=r.delegate;if(s){var l=E(s,r);if(l){if(l===b)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(n===m)throw n=h,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n=v;var c=g(e,a,r);if("normal"===c.type){if(n=r.done?h:p,c.arg===b)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(n=h,r.method="throw",r.arg=c.arg)}}}function E(e,a){var r=a.method,n=e.iterator[r];if(n===t)return a.delegate=null,"throw"===r&&e.iterator.return&&(a.method="return",a.arg=t,E(e,a),"throw"===a.method)||"return"!==r&&(a.method="throw",a.arg=new TypeError("The iterator does not provide a '"+r+"' method")),b;var o=g(n,e.iterator,a.arg);if("throw"===o.type)return a.method="throw",a.arg=o.arg,a.delegate=null,b;var i=o.arg;return i?i.done?(a[e.resultName]=i.value,a.next=e.nextLoc,"return"!==a.method&&(a.method="next",a.arg=t),a.delegate=null,b):i:(a.method="throw",a.arg=new TypeError("iterator result is not an object"),a.delegate=null,b)}function O(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function A(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function j(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(O,this),this.reset(!0)}function N(e){if(e||""===e){var a=e[l];if(a)return a.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,o=function a(){for(;++n
=0;--o){var i=this.tryEntries[o],s=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var l=r.call(i,"catchLoc"),c=r.call(i,"finallyLoc");if(l&&c){if(this.prev
=0;--a){var n=this.tryEntries[a];if(n.tryLoc<=this.prev&&r.call(n,"finallyLoc")&&this.prev
=0;--e){var a=this.tryEntries[e];if(a.finallyLoc===t)return this.complete(a.completion,a.afterLoc),A(a),b}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var a=this.tryEntries[e];if(a.tryLoc===t){var r=a.completion;if("throw"===r.type){var n=r.arg;A(a)}return n}}throw Error("illegal catch attempt")},delegateYield:function(e,a,r){return this.delegate={iterator:N(e),resultName:a,nextLoc:r},"next"===this.method&&(this.arg=t),b}},e}function l(t,e,a,r,n,o,i){try{var s=t[o](i),l=s.value}catch(t){return void a(t)}s.done?e(l):Promise.resolve(l).then(r,n)}function c(t,e){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),a.push.apply(a,r)}return a}function u(t){for(var e=1;e
-1:t.setting.is_invoice_footer},on:{change:function(e){var a=t.setting.is_invoice_footer,r=e.target,n=!!r.checked;if(Array.isArray(a)){var o=t._i(a,null);r.checked?o<0&&t.$set(t.setting,"is_invoice_footer",a.concat([null])):o>-1&&t.$set(t.setting,"is_invoice_footer",a.slice(0,o).concat(a.slice(o+1)))}else t.$set(t.setting,"is_invoice_footer",n)}}}),e("h5",[t._v(t._s(t.$t("invoice_footer"))+" ")]),e("span",{staticClass:"checkmark"})])]),t._v(" "),t.setting.is_invoice_footer?e("b-col",{staticClass:"mt-4 mb-4",attrs:{md:"6",sm:"6"}},[e("validation-provider",{attrs:{name:"invoice_footer",rules:{required:!0}},scopedSlots:t._u([{key:"default",fn:function(a){return[e("b-form-group",{attrs:{label:t.$t("invoice_footer")+" *"}},[e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.setting.invoice_footer,expression:"setting.invoice_footer"}],staticClass:"form-control",attrs:{state:t.getValidationState(a),"aria-describedby":"invoice_footer-feedback",placeholder:t.$t("invoice_footer")},domProps:{value:t.setting.invoice_footer},on:{input:function(e){e.target.composing||t.$set(t.setting,"invoice_footer",e.target.value)}}}),t._v(" "),e("b-form-invalid-feedback",{attrs:{id:"invoice_footer-feedback"}},[t._v(t._s(a.errors[0]))])],1)]}}],null,!1,4052989155)})],1):t._e(),t._v(" "),e("b-col",{staticClass:"mt-4 mb-4",attrs:{md:"4"}},[e("label",{staticClass:"checkbox checkbox-primary mb-3"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.setting.quotation_with_stock,expression:"setting.quotation_with_stock"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.setting.quotation_with_stock)?t._i(t.setting.quotation_with_stock,null)>-1:t.setting.quotation_with_stock},on:{change:function(e){var a=t.setting.quotation_with_stock,r=e.target,n=!!r.checked;if(Array.isArray(a)){var o=t._i(a,null);r.checked?o<0&&t.$set(t.setting,"quotation_with_stock",a.concat([null])):o>-1&&t.$set(t.setting,"quotation_with_stock",a.slice(0,o).concat(a.slice(o+1)))}else t.$set(t.setting,"quotation_with_stock",n)}}}),e("h5",[t._v(t._s(t.$t("Create_Quotation_with_Stock"))+" ")]),e("span",{staticClass:"checkmark"})])]),t._v(" "),e("b-col",{staticClass:"mt-4 mb-4",attrs:{md:"4"}},[e("label",{staticClass:"checkbox checkbox-primary mb-3"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.setting.show_language,expression:"setting.show_language"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.setting.show_language)?t._i(t.setting.show_language,null)>-1:t.setting.show_language},on:{change:function(e){var a=t.setting.show_language,r=e.target,n=!!r.checked;if(Array.isArray(a)){var o=t._i(a,null);r.checked?o<0&&t.$set(t.setting,"show_language",a.concat([null])):o>-1&&t.$set(t.setting,"show_language",a.slice(0,o).concat(a.slice(o+1)))}else t.$set(t.setting,"show_language",n)}}}),e("h5",[t._v("Show Languages ")]),e("span",{staticClass:"checkmark"})])]),t._v(" "),e("b-col",{attrs:{md:"12"}},[e("b-form-group",[e("b-button",{attrs:{variant:"primary",type:"submit"}},[e("i",{staticClass:"i-Yes me-2 font-weight-bold"}),t._v(" "+t._s(t.$t("submit")))])],1)],1)],1)],1)],1)],1)],1)],1)],1),t._v(" "),t.isLoading?t._e():e("b-form",{on:{submit:function(e){return e.preventDefault(),t.Clear_Cache.apply(null,arguments)}}},[e("b-row",{staticClass:"mt-5"},[e("b-col",{attrs:{lg:"12",md:"12",sm:"12"}},[e("b-card",{attrs:{"no-body":"",header:t.$t("Clear_Cache")}},[e("b-card-body",[e("b-row",[e("b-col",{attrs:{md:"12"}},[e("b-form-group",[e("b-button",{attrs:{variant:"primary"},on:{click:function(e){return t.Clear_Cache()}}},[t._v(t._s(t.$t("Clear_Cache")))])],1)],1)],1)],1)],1)],1)],1)],1)],1)}),[],!1,null,null,null).exports}}]);