{"version":3,"file":"app.js","mappings":"qBAAAA,EAAOC,QAAU,y9hC,UCIjBD,EAAOC,QAAU,SAASC,GACzB,SAASC,EAAIC,GACQ,oBAAZC,UACJA,QAAQD,OAASC,QAAQF,KAAK,kBAAmBC,EACtD,CAOA,IAC2B,oBAAfE,YAJmB,oBAAhBC,aAA2D,oBAArBC,iBAKnDF,WAAWJ,GACe,oBAATO,KACjBA,KAAKC,KAAK,KAAMR,GAEhBC,EAAI,wCAEN,CAAE,MAAOC,GACRD,EAAIC,EACL,CACD,C,GCzBIO,EAA2B,CAAC,EAGhC,SAASC,EAAoBC,GAE5B,IAAIC,EAAeH,EAAyBE,GAC5C,QAAqBE,IAAjBD,EACH,OAAOA,EAAab,QAGrB,IAAID,EAASW,EAAyBE,GAAY,CAGjDZ,QAAS,CAAC,GAOX,OAHAe,EAAoBH,GAAUb,EAAQA,EAAOC,QAASW,GAG/CZ,EAAOC,OACf,CCtBA,EAAQ,IAAR,CAAoH,EAAQ,K","sources":["webpack://mex-dot-net-base/./Resources/assets/js/App.js","webpack://mex-dot-net-base/./node_modules/script-loader/addScript.js","webpack://mex-dot-net-base/webpack/bootstrap","webpack://mex-dot-net-base/./Resources/assets/js/App.js?7939"],"sourcesContent":["module.exports = \"\\r\\n/*var CkeditorCondigCustom = {\\r\\n\\t\\t\\t filebrowserImageBrowseUrl: baseWebSiteURL+'/laravel-filemanager?type=Images',\\r\\n\\t\\t\\t filebrowserImageUploadUrl: baseWebSiteURL+'/laravel-filemanager/upload?type=Images&_token='+$(\\\"input[name='_token']\\\").val(),\\r\\n\\t\\t\\t filebrowserBrowseUrl: baseWebSiteURL+'/laravel-filemanager?type=Files',\\r\\n\\t\\t\\t filebrowserUploadUrl: baseWebSiteURL+'/laravel-filemanager/upload?type=Files&_token='+$(\\\"input[name='_token']\\\").val()\\r\\n};*/\\r\\nfunction addLoader()\\r\\n{\\r\\n\\tvar overlay=\\\"
\\\";\\r\\n\\r\\n\\t$(\\\"body\\\").append(overlay);\\r\\n\\tconsole.log(\\\"Add Loader\\\");\\r\\n}\\r\\n\\r\\n\\r\\nfunction removeLoader()\\r\\n{\\r\\n\\t$(\\\"#overlay_admin_ajax\\\").remove();\\r\\n\\r\\n\\tconsole.log(\\\"Remove Loader\\\");\\r\\n}\\r\\n\\r\\n\\r\\nfunction urlCancelButton()\\r\\n{\\r\\n\\r\\n\\tif($(\\\".btn-cancel-button-redirect\\\").length>0)\\r\\n\\t{\\r\\n\\t\\t$(\\\".btn-cancel-button-redirect\\\").click(function(){\\r\\n\\t\\t\\talertify.confirm( ADMINISTRATOR, LEAVE_THE_CURRENT_PAGE,\\r\\n\\t\\t\\t\\tfunction()\\r\\n\\t\\t\\t\\t{\\r\\n\\t\\t\\t\\t\\tvar url=$(\\\".btn-cancel-button-redirect\\\").data(\\\"url\\\");\\r\\n\\t\\t\\t\\t\\tdocument.location=url;\\r\\n\\t\\t\\t\\t},\\r\\n\\t\\t\\t\\tfunction(){}\\r\\n\\t );\\r\\n\\t\\t});\\r\\n\\r\\n\\t}\\r\\n\\r\\n}\\r\\nurlCancelButton();\\r\\n\\r\\n\\r\\n\\r\\nfunction urlDeleteButtonModule(classButtonDelete = \\\".btn-primary-delete-module-select\\\", sDataTableSelector =\\\"#tbl-module\\\")\\r\\n{\\r\\n\\tif($(classButtonDelete).length>0)\\r\\n\\t\\t{\\r\\n\\t\\t\\t$(sDataTableSelector).on('click', classButtonDelete, null, function(e){\\r\\n\\t\\t\\t\\te.preventDefault();\\r\\n\\r\\n\\t\\t\\t\\tvar ObjClickButton=$(this);\\r\\n\\r\\n\\t\\t\\t\\talertify.confirm(ADMINISTRATOR, DELETE_THIS_RECORD,\\r\\n\\t\\t\\t\\t\\tfunction()\\r\\n\\t\\t\\t\\t\\t{\\r\\n\\t\\t\\t\\t\\t\\taddLoader();\\r\\n\\t\\t\\t\\t\\t\\tfetch(ObjClickButton.attr(\\\"href\\\"), {\\r\\n\\t\\t\\t\\t\\t\\t\\tmethod: 'GET',\\r\\n\\t\\t\\t\\t\\t\\t\\theaders: {\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t'RequestVerificationToken': getToken(),\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t'Accept': 'application/json',\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t'X-Requested-With': 'XMLHttpRequest' \\r\\n\\t\\t\\t\\t\\t\\t\\t},\\r\\n\\t\\t\\t\\t\\t\\t})\\r\\n\\t\\t\\t\\t\\t\\t.then(async response => {\\r\\n\\t\\t\\t\\t\\t\\t\\tremoveLoader();\\r\\n\\t\\t\\t\\t\\t\\t\\tconst data = await response.json();\\r\\n\\t\\t\\t\\t\\t\\t\\tif (data.type == \\\"success\\\") {\\r\\n\\t\\t\\t\\t\\t\\t\\t\\talertify.set('notifier', 'position', 'top-right');\\r\\n\\t\\t\\t\\t\\t\\t\\t\\talertify.success(DELETED_SUCCESS);\\r\\n\\t\\t\\t\\t\\t\\t\\t\\tsetTimeout(function () {\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\tif($(\\\"#rows-module\\\")?.DataTable && $(\\\"#rows-module\\\")?.DataTable()?.ajax?.url()){\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t$(\\\"#rows-module\\\").DataTable().ajax.reload();\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t} else if($(sDataTableSelector)?.DataTable && $(sDataTableSelector)?.DataTable()?.ajax?.url()){\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t$(sDataTableSelector).DataTable().ajax.reload();\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t} else {\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tlocation.reload();\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t}, 1000);\\r\\n\\t\\t\\t\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\t\\t\\t\\telse if (data.type == \\\"error\\\") {\\r\\n\\t\\t\\t\\t\\t\\t\\t\\talertify.set('notifier', 'position', 'top-right');\\r\\n\\t\\t\\t\\t\\t\\t\\t\\talertify.error(data.message);\\r\\n\\t\\t\\t\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\t\\t\\t\\telse {\\r\\n\\t\\t\\t\\t\\t\\t\\t\\talertify.set('notifier', 'position', 'top-right');\\r\\n\\t\\t\\t\\t\\t\\t\\t\\tif (data.ReturnUrl) {\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\talertify.error(DONT_HAVE_PRIVILEGES);\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t} else {\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\talertify.error(NOT_DELETE_RECORD);\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\t\\t\\t})\\r\\n\\t\\t\\t\\t\\t\\t.catch((error) => {\\r\\n\\t\\t\\t\\t\\t\\t\\tremoveLoader();\\r\\n\\t\\t\\t\\t\\t\\t\\talertify.error(NOT_DELETE_RECORD);\\r\\n\\t\\t\\t\\t\\t\\t});\\r\\n\\r\\n\\t\\t\\t\\t\\t},\\r\\n\\t\\t\\t\\t\\tfunction()\\r\\n\\t\\t \\t{\\r\\n\\r\\n\\t\\t \\t}\\r\\n\\t\\t );\\r\\n\\t\\t\\t});\\r\\n\\r\\n\\t\\t}\\r\\n}\\r\\n\\r\\nfunction urlBlockButtonModule(classButtonBlock = \\\".btn-primary-block-module-select\\\", sDataTableSelector = \\\"#tbl-module\\\") {\\r\\n\\tif ($(classButtonBlock).length > 0) {\\r\\n\\t\\t$(sDataTableSelector).on('click', classButtonBlock, null, function (e) {\\r\\n\\t\\t\\te.preventDefault();\\r\\n\\r\\n\\t\\t\\tvar ObjClickButton = $(this);\\r\\n\\r\\n\\t\\t\\talertify.confirm(ADMINISTRATOR, BLOCK_THIS_USER,\\r\\n\\t\\t\\t\\tfunction () {\\r\\n\\t\\t\\t\\t\\taddLoader();\\r\\n\\t\\t\\t\\t\\tfetch(ObjClickButton.attr(\\\"href\\\"), {\\r\\n\\t\\t\\t\\t\\t\\tmethod: 'GET',\\r\\n\\t\\t\\t\\t\\t\\theaders: {\\r\\n\\t\\t\\t\\t\\t\\t\\t'RequestVerificationToken': getToken(),\\r\\n\\t\\t\\t\\t\\t\\t\\t'Accept': 'application/json',\\r\\n\\t\\t\\t\\t\\t\\t\\t'X-Requested-With': 'XMLHttpRequest' \\r\\n\\t\\t\\t\\t\\t\\t},\\r\\n\\t\\t\\t\\t\\t})\\r\\n\\t\\t\\t\\t\\t\\t.then(async response => {\\r\\n\\t\\t\\t\\t\\t\\t\\tremoveLoader();\\r\\n\\t\\t\\t\\t\\t\\t\\tconst data = await response.json();\\r\\n\\t\\t\\t\\t\\t\\t\\tif (data.type == \\\"success\\\") {\\r\\n\\t\\t\\t\\t\\t\\t\\t\\talertify.set('notifier', 'position', 'top-right');\\r\\n\\t\\t\\t\\t\\t\\t\\t\\talertify.success(USER_BLOCKED);\\r\\n\\t\\t\\t\\t\\t\\t\\t\\tsetTimeout(function () {\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\tif($(\\\"#rows-module\\\")?.DataTable()?.ajax?.url()){\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t$(\\\"#rows-module\\\").DataTable().ajax.reload();\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t} else if($(sDataTableSelector)?.DataTable()?.ajax?.url()){\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t$(sDataTableSelector).DataTable().ajax.reload();\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t} else {\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tlocation.reload();\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t}, 1000);\\r\\n\\t\\t\\t\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\t\\t\\t\\telse if (data.type == \\\"error\\\") {\\r\\n\\t\\t\\t\\t\\t\\t\\t\\talertify.set('notifier', 'position', 'top-right');\\r\\n\\t\\t\\t\\t\\t\\t\\t\\talertify.error(data.message);\\r\\n\\t\\t\\t\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\t\\t\\t\\telse\\r\\n\\t\\t\\t\\t\\t\\t\\t{\\r\\n\\t\\t\\t\\t\\t\\t\\t\\talertify.set('notifier', 'position', 'top-right');\\r\\n\\t\\t\\t\\t\\t\\t\\t\\tif (data.ReturnUrl) {\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\talertify.error(DONT_HAVE_PRIVILEGES);\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t} else {\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\talertify.error(NOT_BLOCK_USER);\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\t\\t\\t})\\r\\n\\t\\t\\t\\t\\t\\t.catch((error) => {\\r\\n\\t\\t\\t\\t\\t\\t\\tremoveLoader();\\r\\n\\t\\t\\t\\t\\t\\t\\talertify.error(NOT_BLOCK_USER);\\r\\n\\t\\t\\t\\t\\t\\t});\\r\\n\\r\\n\\t\\t\\t\\t},\\r\\n\\t\\t\\t\\tfunction () {\\r\\n\\r\\n\\t\\t\\t\\t}\\r\\n\\t\\t\\t);\\r\\n\\t\\t});\\r\\n\\r\\n\\t}\\r\\n}\\r\\n\\r\\nfunction urlUnBlockButtonModule(classButtonBlock = \\\".btn-primary-unblock-module-select\\\", sDataTableSelector = \\\"#tbl-module\\\") {\\r\\n\\tif ($(classButtonBlock).length > 0) {\\r\\n\\t\\t$(sDataTableSelector).on('click', classButtonBlock, null, function (e) {\\r\\n\\t\\t\\te.preventDefault();\\r\\n\\r\\n\\t\\t\\tvar ObjClickButton = $(this);\\r\\n\\r\\n\\t\\t\\talertify.confirm(ADMINISTRATOR, UNBLOCK_THIS_USER,\\r\\n\\t\\t\\t\\tfunction () {\\r\\n\\t\\t\\t\\t\\taddLoader();\\r\\n\\t\\t\\t\\t\\tfetch(ObjClickButton.attr(\\\"href\\\"), {\\r\\n\\t\\t\\t\\t\\t\\tmethod: 'GET',\\r\\n\\t\\t\\t\\t\\t\\theaders: {\\r\\n\\t\\t\\t\\t\\t\\t\\t'RequestVerificationToken': getToken(),\\r\\n\\t\\t\\t\\t\\t\\t\\t'Accept': 'application/json',\\r\\n\\t\\t\\t\\t\\t\\t\\t'X-Requested-With': 'XMLHttpRequest' \\r\\n\\t\\t\\t\\t\\t\\t},\\r\\n\\t\\t\\t\\t\\t})\\r\\n\\t\\t\\t\\t\\t\\t.then(async response => {\\r\\n\\t\\t\\t\\t\\t\\t\\tremoveLoader();\\r\\n\\t\\t\\t\\t\\t\\t\\tconst data = await response.json();\\r\\n\\t\\t\\t\\t\\t\\t\\tif (data.type == \\\"success\\\") {\\r\\n\\t\\t\\t\\t\\t\\t\\t\\talertify.set('notifier', 'position', 'top-right');\\r\\n\\t\\t\\t\\t\\t\\t\\t\\talertify.success(UNCLOCK_SUCCESS);\\r\\n\\t\\t\\t\\t\\t\\t\\t\\tsetTimeout(function () {\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\tif($(\\\"#rows-module\\\")?.DataTable()?.ajax?.url()){\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t$(\\\"#rows-module\\\").DataTable().ajax.reload();\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t} else if($(sDataTableSelector)?.DataTable()?.ajax?.url()){\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t$(sDataTableSelector).DataTable().ajax.reload();\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t} else {\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\tlocation.reload();\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t}, 1000);\\r\\n\\t\\t\\t\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\t\\t\\t\\telse if (data.type == \\\"error\\\") {\\r\\n\\t\\t\\t\\t\\t\\t\\t\\talertify.set('notifier', 'position', 'top-right');\\r\\n\\t\\t\\t\\t\\t\\t\\t\\talertify.error(data.message);\\r\\n\\t\\t\\t\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\t\\t\\t\\telse {\\r\\n\\t\\t\\t\\t\\t\\t\\t\\talertify.set('notifier', 'position', 'top-right');\\r\\n\\t\\t\\t\\t\\t\\t\\t\\tif (data.ReturnUrl) {\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\talertify.error(DONT_HAVE_PRIVILEGES);\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t} else {\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t\\talertify.error(UNBLOCK_ERROR);\\r\\n\\t\\t\\t\\t\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\t\\t\\t})\\r\\n\\t\\t\\t\\t\\t\\t.catch((error) => {\\r\\n\\t\\t\\t\\t\\t\\t\\tremoveLoader();\\r\\n\\t\\t\\t\\t\\t\\t\\talertify.error(UNBLOCK_ERROR);\\r\\n\\t\\t\\t\\t\\t\\t});\\r\\n\\r\\n\\t\\t\\t\\t},\\r\\n\\t\\t\\t\\tfunction () {\\r\\n\\r\\n\\t\\t\\t\\t}\\r\\n\\t\\t\\t);\\r\\n\\t\\t});\\r\\n\\r\\n\\t}\\r\\n}\\r\\n\\r\\nif (document.querySelector(\\\"form.add-record\\\")) {\\r\\n\\tdocument.querySelector(\\\"form.add-record\\\").addEventListener('submit', function (event) {\\r\\n\\t\\tevent.preventDefault();\\r\\n\\t\\tconst oFormData = new FormData(event.target);\\r\\n\\t\\tconst sRedirect = event.target.getAttribute('data-redirect');\\r\\n\\r\\n\\t\\taddLoader();\\r\\n\\t\\tfetch(event.target.getAttribute('action'), {\\r\\n\\t\\t\\tmethod: 'POST',\\r\\n\\t\\t\\theaders: {\\r\\n\\t\\t\\t\\t'RequestVerificationToken': getToken(),\\r\\n\\t\\t\\t\\t'Accept': 'application/json',\\r\\n\\t\\t\\t\\t'X-Requested-With': 'XMLHttpRequest'\\r\\n\\t\\t\\t},\\r\\n\\t\\t\\tbody: oFormData,\\r\\n\\t\\t})\\r\\n\\t\\t.then(async response => {\\r\\n\\t\\t\\tremoveLoader();\\r\\n\\t\\t\\tconst data = await response.json();\\r\\n\\t\\t\\tconsole.log(data);\\r\\n\\t\\t\\tif (data.type == \\\"success\\\") {\\r\\n\\t\\t\\t\\talertify.success(SUCCESS_SAVE);\\r\\n\\t\\t\\t\\tsetTimeout(() => {\\r\\n\\t\\t\\t\\t\\tif (sRedirect) {\\r\\n\\t\\t\\t\\t\\t\\twindow.location = sRedirect;\\r\\n\\t\\t\\t\\t\\t} else {\\r\\n\\t\\t\\t\\t\\t\\twindow.location = window.location.href.replace(/\\\\/[A-Za-z0-9]*$/, '');\\r\\n\\t\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\t}, 250);\\r\\n\\t\\t\\t}\\r\\n\\t\\t\\telse if (data.type == \\\"error\\\") {\\r\\n\\t\\t\\t\\talertify.error(data.message);\\r\\n\\t\\t\\t} else {\\r\\n\\t\\t\\t\\talertify.error(data.message || NOT_SAVE_RECORD);\\r\\n\\t\\t\\t}\\r\\n\\t\\t})\\r\\n\\t\\t.catch((error) => {\\r\\n\\t\\t\\tremoveLoader();\\r\\n\\t\\t\\talertify.error(NOT_SAVE_RECORD);\\r\\n\\t\\t});\\r\\n\\t});\\r\\n}\\r\\n\\r\\nif (document.querySelector(\\\"form.edit-record\\\")) {\\r\\n\\tdocument.querySelector(\\\"form.edit-record\\\").addEventListener('submit', function (event) {\\r\\n\\t\\tevent.preventDefault();\\r\\n\\t\\tconst oFormData = new FormData(event.target);\\r\\n\\t\\tconst sRedirect = event.target.getAttribute('data-redirect');\\r\\n\\r\\n\\t\\taddLoader();\\r\\n\\t\\tfetch(event.target.getAttribute('action'), {\\r\\n\\t\\t\\tmethod: 'POST',\\r\\n\\t\\t\\theaders: {\\r\\n\\t\\t\\t\\t'RequestVerificationToken': getToken(),\\r\\n\\t\\t\\t\\t'Accept': 'application/json',\\r\\n\\t\\t\\t\\t'X-Requested-With': 'XMLHttpRequest'\\r\\n\\t\\t\\t},\\r\\n\\t\\t\\tbody: oFormData,\\r\\n\\t\\t})\\r\\n\\t\\t\\t.then(async response => {\\r\\n\\t\\t\\t\\tremoveLoader();\\r\\n\\t\\t\\t\\tconst data = await response.json();\\r\\n\\t\\t\\t\\tconsole.log(data);\\r\\n\\t\\t\\t\\tif (data.type == \\\"success\\\") {\\r\\n\\t\\t\\t\\t\\talertify.success(UPDATED_SUCCESS);\\r\\n\\t\\t\\t\\t\\tsetTimeout(() => {\\r\\n\\t\\t\\t\\t\\t\\tif (sRedirect) {\\r\\n\\t\\t\\t\\t\\t\\t\\twindow.location = sRedirect;\\r\\n\\t\\t\\t\\t\\t\\t} else {\\r\\n\\t\\t\\t\\t\\t\\t\\twindow.location = window.location.href.replace(/\\\\/[A-Za-z0-9]*\\\\/[0-9]*$/, '');\\r\\n\\t\\t\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\t\\t}, 250);\\r\\n\\t\\t\\t\\t}\\r\\n\\t\\t\\t\\telse if (data.type == \\\"error\\\") {\\r\\n\\t\\t\\t\\t\\talertify.error(data.message);\\r\\n\\t\\t\\t\\t} else {\\r\\n\\t\\t\\t\\t\\talertify.error(data.message || UPDATED_ERROR);\\r\\n\\t\\t\\t\\t}\\r\\n\\t\\t\\t})\\r\\n\\t\\t\\t.catch((error) => {\\r\\n\\t\\t\\t\\tremoveLoader();\\r\\n\\t\\t\\t\\talertify.error(UPDATED_ERROR);\\r\\n\\t\\t\\t});\\r\\n\\t});\\r\\n}\\r\\n\\r\\n\\r\\nfunction activatePemsExtras()\\r\\n{\\r\\n\\tif ($(\\\".input-area-checks\\\").length > 0)\\r\\n\\t{\\r\\n\\t\\t$(\\\".input-area-checks\\\").click(function () {\\r\\n\\r\\n\\t\\t\\tif ($(this).is(\\\":checked\\\")) {\\r\\n\\t\\t\\t\\t$(\\\".\\\" + $(this).attr(\\\"data-classParents\\\")).prop(\\\"checked\\\", true);\\r\\n\\t\\t\\t}\\r\\n\\t\\t\\telse {\\r\\n\\t\\t\\t\\t$(\\\".\\\" + $(this).attr(\\\"data-classParents\\\")).prop(\\\"checked\\\", false);\\r\\n\\t\\t\\t}\\r\\n\\t\\t});\\r\\n\\t}\\r\\n\\tif($(\\\".input-text-perms-checks\\\").length>0)\\r\\n\\t{\\r\\n\\t\\t$(\\\".input-text-perms-checks\\\").click(function(){\\r\\n\\r\\n\\t\\t\\tif($(this).is(\\\":checked\\\"))\\r\\n\\t\\t\\t{\\r\\n\\t\\t\\t\\t$(\\\".\\\"+$(this).attr(\\\"data-classChilds\\\") ).prop( \\\"checked\\\", true );\\r\\n\\t\\t\\t}\\r\\n\\t\\t\\telse\\r\\n\\t\\t\\t{\\r\\n\\t\\t\\t\\t$(\\\".\\\"+$(this).attr(\\\"data-classChilds\\\") ).prop( \\\"checked\\\", false );\\r\\n\\t\\t\\t}\\r\\n\\t\\t});\\r\\n\\t}\\r\\n}\\r\\nactivatePemsExtras();\\r\\n\\r\\n\\r\\nfunction setDataTableFilters(){\\r\\n\\t\\r\\n\\tif (typeof JTable == 'undefined') { console.log('JTable not defined'); return; }\\r\\n\\tif (typeof oTableSearchParams == 'undefined') { console.log('oTableSearchParams not defined'); return; }\\r\\n\\tif (!document.querySelector('.search-card')) { console.log('search-card not defined'); return; }\\r\\n\\tconst aIdSelects = [];\\r\\n\\r\\n\\tlet sExportButton = '';\\r\\n\\tif(oTableSearchParams.exportButton){\\r\\n\\t\\tsExportButton = `\\r\\n\\t\\t\\tId | \\r\\n\\t${DESCRIPTION} | \\r\\n\\t${DATE} | \\r\\n\\t${USER} | \\r\\n\\t${ADDITIONAL_INFO} | \\r\\n\\t
---|---|---|---|---|
Id | \\r\\n\\t${DESCRIPTION} | \\r\\n\\t${DATE} | \\r\\n\\t${USER} | \\r\\n\\t${ADDITIONAL_INFO} | \\r\\n\\t