芝麻web文件管理V1.00
编辑当前文件:/home/digitalh/panoramawholesale.com/public/js/bundle/System_settings.26cd4ed245889bc4.js
/*! For license information please see System_settings.26cd4ed245889bc4.js.LICENSE.txt */ "use strict";(self.webpackChunk=self.webpackChunk||[]).push([[4806],{96466:(t,e,r)=>{r.r(e),r.d(e,{default:()=>m});var n=r(20629),a=r(74865),o=r.n(a);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 t};var t={},e=Object.prototype,r=e.hasOwnProperty,n=Object.defineProperty||function(t,e,r){t[e]=r.value},a="function"==typeof Symbol?Symbol:{},o=a.iterator||"@@iterator",l=a.asyncIterator||"@@asyncIterator",c=a.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,r){return t[e]=r}}function d(t,e,r,a){var o=e&&e.prototype instanceof p?e:p,i=Object.create(o.prototype),s=new L(a||[]);return n(i,"_invoke",{value:C(t,r,s)}),i}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=d;var m={};function p(){}function v(){}function g(){}var h={};u(h,o,(function(){return this}));var b=Object.getPrototypeOf,_=b&&b(b(P([])));_&&_!==e&&r.call(_,o)&&(h=_);var y=g.prototype=p.prototype=Object.create(h);function w(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function k(t,e){function a(n,o,s,l){var c=f(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 C(t,e,r){var n="suspendedStart";return function(a,o){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===a)throw o;return{value:void 0,done:!0}}for(r.method=a,r.arg=o;;){var i=r.delegate;if(i){var s=$(i,r);if(s){if(s===m)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var l=f(t,e,r);if("normal"===l.type){if(n=r.done?"completed":"suspendedYield",l.arg===m)continue;return{value:l.arg,done:r.done}}"throw"===l.type&&(n="completed",r.method="throw",r.arg=l.arg)}}}function $(t,e){var r=e.method,n=t.iterator[r];if(void 0===n)return e.delegate=null,"throw"===r&&t.iterator.return&&(e.method="return",e.arg=void 0,$(t,e),"throw"===e.method)||"return"!==r&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+r+"' method")),m;var a=f(n,t.iterator,e.arg);if("throw"===a.type)return e.method="throw",e.arg=a.arg,e.delegate=null,m;var o=a.arg;return o?o.done?(e[t.resultName]=o.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,m):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,m)}function S(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 x(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function L(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(S,this),this.reset(!0)}function P(t){if(t||""===t){var e=t[o];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,a=function e(){for(;++n
=0;--a){var o=this.tryEntries[a],i=o.completion;if("root"===o.tryLoc)return n("end");if(o.tryLoc<=this.prev){var s=r.call(o,"catchLoc"),l=r.call(o,"finallyLoc");if(s&&l){if(this.prev
=0;--n){var a=this.tryEntries[n];if(a.tryLoc<=this.prev&&r.call(a,"finallyLoc")&&this.prev
=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),x(r),m}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var a=n.arg;x(r)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:P(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),m}},t}function l(t,e,r,n,a,o,i){try{var s=t[o](i),l=s.value}catch(t){return void r(t)}s.done?e(l):Promise.resolve(l).then(n,a)}function c(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function u(t){for(var e=1;e
-1:t.setting.is_invoice_footer},on:{change:function(e){var r=t.setting.is_invoice_footer,n=e.target,a=!!n.checked;if(Array.isArray(r)){var o=t._i(r,null);n.checked?o<0&&t.$set(t.setting,"is_invoice_footer",r.concat([null])):o>-1&&t.$set(t.setting,"is_invoice_footer",r.slice(0,o).concat(r.slice(o+1)))}else t.$set(t.setting,"is_invoice_footer",a)}}}),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(r){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(r),"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(r.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 r=t.setting.quotation_with_stock,n=e.target,a=!!n.checked;if(Array.isArray(r)){var o=t._i(r,null);n.checked?o<0&&t.$set(t.setting,"quotation_with_stock",r.concat([null])):o>-1&&t.$set(t.setting,"quotation_with_stock",r.slice(0,o).concat(r.slice(o+1)))}else t.$set(t.setting,"quotation_with_stock",a)}}}),e("h5",[t._v(t._s(t.$t("Create_Quotation_with_Stock"))+" ")]),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}}]);