芝麻web文件管理V1.00
编辑当前文件:/home/qrafawbu/portpulselogistics.com/public/assets/custom/js/custom.js.map
{"version":3,"file":"/assets/custom/js/custom.js","mappings":";;;;;;;;;AAKAA,CAAC,CAACC,QAAD,CAAD,CAAYC,EAAZ,CAAe,QAAf,EAAyB,mBAAzB,EAA8C,UAASC,CAAT,EAAY;AACtD,MAAIC,IAAI,GAAGJ,CAAC,CAAC,IAAD,CAAZ;AAAA,MACIK,YAAY,GAAGD,IAAI,CAAC,CAAD,CAAJ,CAAQE,OAD3B;AAAA,MAEIC,MAAM,GAAGF,YAAY,GAAG,SAAH,GAAe,QAFxC;AAAA,MAGIG,GAAG,GAAGJ,IAAI,CAACK,IAAL,CAAU,KAAV,CAHV;AAAA,MAIIC,YAAY,GAAGN,IAAI,CAACK,IAAL,CAAU,eAAV,CAJnB;AAAA,MAKIE,YAAY,GAAGP,IAAI,CAACK,IAAL,CAAU,eAAV,CALnB;AAAA,MAMIG,cAAc,GAAGL,MAAM,IAAI,SAAV,GAAsB,SAAtB,GAAkC,QANvD;AAAA,MAOIM,aAAa,GAAGN,MAAM,IAAI,SAAV,GAAsBG,YAAtB,GAAqCC,YAPzD;AAAA,MAQIG,OAAO,GAAGV,IAAI,CAACK,IAAL,CAAU,UAAV,CARd;AAAA,MASIM,SAAS,GAAG,IAThB;AAAA,MAUIN,IAAI,GAAG;AACHO,IAAAA,GAAG,EAAE,CAACF,OAAD,CADF;AAEHP,IAAAA,MAAM,EAAEA,MAFL;AAGHU,IAAAA,MAAM,EAAEC;AAHL,GAVX;AAeIC,EAAAA,KAAK,CAACC,IAAN,CAAWZ,GAAX,EAAgBC,IAAhB,EAAsBY,IAAtB,CAA2B,UAAAC,GAAG,EAAI;AAC9BC,IAAAA,KAAK,CAACC,IAAN,CAAW;AACPC,MAAAA,IAAI,EAAE,SADC;AAEPC,MAAAA,KAAK,EAAEJ,GAAG,CAACb,IAAJ,CAASkB,OAAT,GAAmBL,GAAG,CAACb,IAAJ,CAASkB,O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AAZ;AACAI,IAAAA,IAAI,CAACmC,MAAL,CAAY,sBAAZ,EAAoCC,IAApC,CAAyC,2BAAzC,EAAsEC,QAAtE,CAA+E,QAA/E;AACArC,IAAAA,IAAI,CAACmC,MAAL,CAAY,sBAAZ,EAAoCC,IAApC,CAAyC,mBAAiBpC,IAAI,CAACsC,GAAL,EAA1D,EAAsEC,WAAtE,CAAkF,QAAlF,EAA4FC,KAA5F;AACH,GAJD;AAOA5C,EAAAA,CAAC,CAAC,kBAAD,CAAD,CAAsB8C,OAAtB,CAA8B;AAC1BK,IAAAA,uBAAuB,EAAE,CAAC;AADA,GAA9B;AAGH,CAdD;;;;;;UCDA;UACA;;UAEA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;;UAEA;UACA;;UAEA;UACA;UACA;;;;;;;;;ACpBAwB,mBAAO,CAAC,4EAAD,CAAP;;AAEAA,mBAAO,CAAC,0EAAD,CAAP;;AAEAA,mBAAO,CAAC,sFAAD,CAAP;;AAEAA,mBAAO,CAAC,oEAAD,CAAP;;AAEAA,mBAAO,CAAC,0EAAD,CAAP,C","sources":["webpack:///./resources/assets/custom/js/comment_approval.js","webpack:///./resources/assets/custom/js/multilingual-selector.js","webpack:///./resources/assets/custom/js/settings-fields.js","webpack:///./resources/assets/custom/js/switch-in-table.js","webpack:///./resources/assets/custom/js/url-selector.js","webpack:///webpack/bootstrap","webpack:///./resources/assets/custom/js/custom.js"],"sourcesContent":["\n\n\n\n\n$(document).on('change', '.comment_approval', function(e) {\n var self = $(this),\n currentValue = self[0].checked,\n action = currentValue ? 'approve' : 'reject',\n url = self.data('url'),\n approvedText = self.data('approved-text'),\n rejectedText = self.data('rejected-text'),\n class_approved = action == 'approve' ? 'success' : 'danger',\n text_approved = action == 'approve' ? approvedText : rejectedText,\n modelId = self.data('model-id'),\n timeAlert = 2000,\n data = {\n ids: [modelId],\n action: action,\n _token: _csrf_token,\n };\n axios.post(url, data).then(res => {\n Toast.fire({\n icon: 'success',\n title: res.data.message ? res.data.message : `Comment has been updated successfully`,\n timer: timeAlert\n })\n var badge = `
\n ${text_approved}\n
`;\n $('.approval-status').filter(`.model-id-${modelId}`).html(badge);\n\n }).catch(error => {\n if (error.response && error.response.status) {\n if (error.response.status == 403) {\n if (error.response.data.message) {\n Toast.fire({\n icon: 'error',\n title: error.response.data.message,\n timer: timeAlert\n })\n }\n } else if (error.response.status == 500) {\n Toast.fire({\n icon: 'error',\n title: 'Server Error!',\n timer: timeAlert\n })\n } else if (error.response.status == 422) {\n Toast.fire({\n icon: 'error',\n title: error.response.data.message,\n timer: timeAlert\n })\n } else if (error.response.status == 404) {\n Toast.fire({\n icon: 'error',\n title: 'Request not found',\n timer: timeAlert\n })\n } else if (error.response.status == 401) {\n window.location.reload();\n }\n }\n });\n\n});","\n\n\n\n\n$(document).ready(function(){\n /*!*******************************************************!*\\\n !*** Changing current language for inputs ***!\n \\*******************************************************/\n $(document).on('change', '.change_language', function (e) {\n var self = $(this);\n self.parent('.lang_container').find('.form-control-multilingual').addClass('d-none');\n self.parent('.lang_container').find('.form-control-'+self.val()).removeClass('d-none').focus();\n\n if(self.parent('.lang_container').find('.editor_container').length > 0){\n self.parent('.lang_container').find('.editor_container').addClass('d-none');\n self.parent('.lang_container').find('#editor_container_'+self.val()).removeClass('d-none').focus();\n }\n });\n\n $(\".change_language\").select2({\n templateResult: formatFlag,\n templateSelection: formatState,\n minimumResultsForSearch: -1,\n width: '100%'\n });\n});\n\nfunction formatFlag (lang) {\n if (!lang.id) { return lang.text; }\n var $img = $(lang.element).attr(\"data-flag\");\n if($img) {\n var $lang = $(\n '
' + lang.text + '
'\n );\n }else{\n var $lang = $(\n '
' + lang.text + '
'\n );\n }\n return $lang;\n}\nfunction formatState (lang) {\n if (!lang.id) {\n return lang.text;\n }\n var $img = $(lang.element).attr(\"data-flag\");\n if($img) {\n var $lang = $(\n '
' + lang.text + '
'\n );\n }else{\n var $lang = $(\n '
' + lang.text + '
'\n );\n }\n return $lang;\n};\n\n\n","$(document).ready(function(){\n /*!*******************************************************!*\\\n !*** Select fields ***!\n \\*******************************************************/\n $(\"select.form-select\").select2();\n if(typeof formatFlag !== 'undefined') {\n $(\".change_language\").select2({\n templateResult: formatFlag,\n templateSelection: formatState,\n minimumResultsForSearch: -1,\n width: '100%'\n });\n }\n /*!*******************************************************!*\\\n !*** Color picker fields ***!\n \\*******************************************************/\n if(typeof spectrum === 'function') {\n $('.color_picker_input').spectrum({\n type: \"component\",\n showInput: true,\n showInitial: true,\n clickoutFiresChange: true,\n allowEmpty: true,\n maxSelectionSize: 8,\n });\n }\n});","\n\n\n\n\n$(document).on('change', '.switch_table', function(e) {\n var self = $(this),\n url = self.data('url'),\n modelId = self.data('model-id'),\n parentEle = self.data('parent'),\n timeAlert = 2000,\n data = {\n _token: _csrf_token,\n };\n axios.post(url, data).then(res => {\n Toast.fire({\n icon: 'success',\n title: res.data.message ? res.data.message : `Language has been set default successfully.`,\n timer: timeAlert\n })\n var current_switch_table_checkbox = $(parentEle).find('#switch_table_' + modelId);\n current_switch_table_checkbox.attr('disabled', true);\n var all_switch_table_checkbox = $(parentEle).find('.switch_table').not(current_switch_table_checkbox)\n all_switch_table_checkbox.removeAttr('disabled').removeAttr('checked')\n all_switch_table_checkbox.each(function(i, checkbox) {\n checkbox.checked = false\n })\n }).catch(error => {\n if (error.response && error.response.status) {\n if (error.response.status == 403) {\n if (error.response.data.message) {\n Toast.fire({\n icon: 'error',\n title: error.response.data.message,\n timer: timeAlert\n })\n }\n } else if (error.response.status == 500) {\n Toast.fire({\n icon: 'error',\n title: 'Server Error!',\n timer: timeAlert\n })\n } else if (error.response.status == 422) {\n Toast.fire({\n icon: 'error',\n title: error.response.data.message,\n timer: timeAlert\n })\n } else if (error.response.status == 404) {\n Toast.fire({\n icon: 'error',\n title: 'Request not found',\n timer: timeAlert\n })\n } else if (error.response.status == 401) {\n window.location.reload();\n }\n }\n });\n\n});","\n$(document).ready(function(){\n /*!*******************************************************!*\\\n !*** Changing current url type for inputs ***!\n \\*******************************************************/\n $(document).on('change', '.change_url_type', function (e) {\n var self = $(this);\n self.parent('.url_input_container').find('.form-control-choose-type').addClass('d-none');\n self.parent('.url_input_container').find('.form-control-'+self.val()).removeClass('d-none').focus();\n });\n\n\n $(\".change_url_type\").select2({\n minimumResultsForSearch: -1,\n });\n});","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","\n\nrequire('./comment_approval');\n\nrequire('./switch-in-table');\n\nrequire('./multilingual-selector');\n\nrequire('./url-selector');\n\nrequire('./settings-fields');"],"names":["$","document","on","e","self","currentValue","checked","action","url","data","approvedText","rejectedText","class_approved","text_approved","modelId","timeAlert","ids","_token","_csrf_token","axios","post","then","res","Toast","fire","icon","title","message","timer","badge","filter","html","error","response","status","window","location","reload","ready","parent","find","addClass","val","removeClass","focus","length","select2","templateResult","formatFlag","templateSelection","formatState","minimumResultsForSearch","width","lang","id","text","$img","element","attr","$lang","spectrum","type","showInput","showInitial","clickoutFiresChange","allowEmpty","maxSelectionSize","parentEle","current_switch_table_checkbox","all_switch_table_checkbox","not","removeAttr","each","i","checkbox","require"],"sourceRoot":""}