{"version":3,"sources":["jquery.watable.js"],"names":["Object","keys","hasOwnProperty","prototype","hasDontEnumBug","toString","propertyIsEnumerable","DontEnums","DontEnumsLength","length","o","TypeError","result","name","call","push","i","a","b","c","d","hasStarted","e","assyncPaginacao","options","url","urlData","urlPost","debug","filter","columnPicker","pageSize","pageSizes","actions","hidePagerOnEmpty","preFill","types","string","number","bool","date","ext","XDate","h","this","arguments","y","f","G","k","j","parsers","F","apply","u","g","getFullYear","getMonth","getDate","getHours","getMinutes","getSeconds","getMilliseconds","x","s","t","v","clone","setUTCMode","D","toDate","setUTCHours","round","l","floor","setUTCDate","getUTCDate","getUTCDay","m","setTime","n","locales","defaultLocale","match","E","substr","index","q","r","p","parseInt","replace","formatters","A","substring","toLowerCase","getTimezoneOffset","abs","isNaN","B","getUTCFullYear","getUTCMonth","getUTCHours","getUTCMinutes","getUTCSeconds","getUTCMilliseconds","w","concat","slice","z","split","C","UTC","toUTCString","H","splice","getUTCMode","Number","getWeek","getUTCWeek","setWeek","setUTCWeek","addWeeks","addDays","diffWeeks","setUTCMinutes","parse","toGMTString","toISOString","","monthNames","monthNamesShort","dayNames","dayNamesShort","amDesignator","pmDesignator","valid","clearTime","setHours","now","today","getDaysInMonth","module","exports","Date","Math","Array","init","id","String","option","window","on","windowResized","cols","dummy","friendly","type","rows","setData","update","createTable","count","page","appendTo","find","remove","prependTo","sort","tooltip","hidden","checkToggleChanged","sorting","column","columnClicked","title","placement","delay","show","hide","map","prop","removeClass","addClass","trim","trigger","filterChanged","placeHolder","datePicker","datepicker","op","dpOpChanged","input","dpClicked","console","log","col","val","insertAfter","rowChecked","rowClicked","toRow","fromRow","each","classer","sistema","unique","data","format","html","utc","elementInViewport","prev","ceil","I","J","K","L","first","last","min","textTrad","idiomasAdmin","tabela","numeroRegistosTabela","M","N","O","P","Q","R","S","pageIndex","pageChanged","T","U","W","pageSizeChanged","columnPickerClicked","X","custom","tableCreated","get","table","JSON","stringify","ajax","dataType","contentType","async","success","dataCallback","newData","pag","error","extend","rowsOrg","max","sortOrder","getRow","isHtml","jQuery","text","charAt","indexOf","xx","Boolean","getBoundingClientRect","top","left","bottom","innerHeight","right","innerWidth","clearTimeout","value","hasClass","preventDefault","is","setTimeout","off","stopPropagation","closest","target","event","row","join","resetPage","getData","fn","WATable","RegExp"],"mappings":"AAIAA,OAAOC,KAAOD,OAAOC,MAAQ,WACzB,IAAIC,EAAiBF,OAAOG,UAAUD,eAClCE,GAAkB,CAACC,SAAS,MAAMC,qBAAqB,YACvDC,EAAY,CACR,WACA,iBACA,UACA,iBACA,gBACA,uBACA,eAEJC,EAAkBD,EAAUE,OAEhC,OAAO,SAAUC,GACb,GAAgB,iBAALA,GAA6B,mBAALA,GAAyB,OAANA,EAClD,MAAM,IAAIC,UAAU,sCAExB,IAAIC,EAAS,GACb,IAAK,IAAIC,KAAQH,EACTR,EAAeY,KAAKJ,EAAGG,IACvBD,EAAOG,KAAKF,GAGpB,GAAIT,EACA,IAAK,IAAIY,EAAI,EAAGA,EAAIR,EAAiBQ,IAC7Bd,EAAeY,KAAKJ,EAAGH,EAAUS,KACjCJ,EAAOG,KAAKR,EAAUS,IAIlC,OAAOJ,GA/Bc,GA0D7B,SAAWK,EAAGC,GACV,IAAIC,EAAI,WACJ,IAAIA,EAAI,GACJC,EAAI,GACJC,GAAa,EAEbC,EAAI,CACbC,kBAFKJ,EAAEK,QAAU,IAGRC,IAAK,GACLC,QAAS,GACTC,SAAS,EACTC,OAAO,EACPC,QAAQ,EACRC,cAAc,EACdC,SAAU,GACVC,UAAW,CAAC,GAAI,GAAI,GAAI,GAAI,GAAI,OAChCC,QAAS,GACTC,kBAAkB,EAClBC,SAAS,EACTC,MAAO,CACHC,OAAQ,GACRC,OAAQ,GACRC,KAAM,GACNC,KAAM,KAGdrB,EAAEsB,IAAM,GACRtB,EAAEsB,IAAIC,MAAQ,SAAUzB,EAAGC,EAAGC,EAAGC,GAC7B,SAASE,IACL,IAGIqB,EAHAzB,EAAI0B,gBAAgBtB,E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C,GACNE,GAEXA,EAAEkI,OAAS,SAAUrI,EAAGK,GAEpB,OADIH,EAAEK,QAAQI,OAAOsK,QAAQC,IAAI,sBAC7B7K,GAAKJ,EAAUC,EAAEK,QAAQP,IAC7BE,EAAEK,QAAQP,GAAKK,EAGfmD,EADAxB,EADAN,EAAI,KAGJxB,EAAE8I,cACK7I,IAEJA,GAEXH,EAAEgR,GAAGC,QAAU,SAAUhR,GAErB,OADAA,EAAIA,GAAK,GACF0B,KAAK+J,KAAK,WACbzL,EAAEkI,GAAKxG,KACP3B,EAAE2B,MAAMmK,KAAK,WAAW,IAAK5L,GAAGgI,KAAKjI,OAG7CmI,OAAOlJ,UAAU6M,OAAS3D,OAAOlJ,UAAU4C,EAAI,WAG3C,IAFA,IAAI9B,EAAI2B,KACJ1B,EAAI2B,UAAUpC,OACXS,KAAKD,EAAIA,EAAE0E,QAAQ,IAAIwM,OAAO,MAAQjR,EAAI,MAAO,MAAO2B,UAAU3B,IACzE,OAAOD,GAx0Cf,CA00CGoP","file":"jquery.watable.js","sourcesContent":["/* \r\nThrowing Object.keys error in IE8 fix:\r\nhttp://whattheheadsaid.com/2010/10/a-safer-object-keys-compatibility-implementation \r\n*/\r\nObject.keys = Object.keys || (function () {\r\n var hasOwnProperty = Object.prototype.hasOwnProperty,\r\n hasDontEnumBug = !{toString:null}.propertyIsEnumerable(\"toString\"),\r\n DontEnums = [\r\n 'toString',\r\n 'toLocaleString',\r\n 'valueOf',\r\n 'hasOwnProperty',\r\n 'isPrototypeOf',\r\n 'propertyIsEnumerable',\r\n 'constructor'\r\n ],\r\n DontEnumsLength = DontEnums.length;\r\n \r\n return function (o) {\r\n if (typeof o != \"object\" && typeof o != \"function\" || o === null)\r\n throw new TypeError(\"Object.keys called on a non-object\");\r\n \r\n var result = [];\r\n for (var name in o) {\r\n if (hasOwnProperty.call(o, name))\r\n result.push(name);\r\n }\r\n \r\n if (hasDontEnumBug) {\r\n for (var i = 0; i < DontEnumsLength; i++) {\r\n if (hasOwnProperty.call(o, DontEnums[i]))\r\n result.push(DontEnums[i]);\r\n } \r\n }\r\n \r\n return result;\r\n };\r\n})();\r\n\r\n/*\r\n WATable 1.05\r\n Copyright (c) 2012 Andreas Petersson, http://wootapa-watable.appspot.com/\r\n\r\n Permission is hereby granted, free of charge, to any person obtaining\r\n a copy of this software and associated documentation files (the\r\n \"Software\"), to deal in the Software without restriction, including\r\n without limitation the rights to use, copy, modify, merge, publish,\r\n distribute, sublicense, and/or sell copies of the Software, and to\r\n permit persons to whom the Software is furnished to do so, subject to\r\n the following conditions:\r\n\r\n The above copyright notice and this permission notice shall be\r\n included in all copies or substantial portions of the Software.\r\n\r\n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\r\n EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\r\n MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\r\n NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE\r\n LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION\r\n OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION\r\n WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\r\n */\r\n(function (a, b) {\r\n var c = function () {\r\n var c = {};\r\n var d = {};\r\n var hasStarted = false;\r\n c.options = {};\r\n var e = {\r\n\t\t\tassyncPaginacao:false,\r\n url: \"\",\r\n urlData: \"\",\r\n urlPost: false,\r\n debug: false,\r\n filter: false,\r\n columnPicker: false,\r\n pageSize: 10,\r\n pageSizes: [10, 20, 30, 40, 50, \"All\"],\r\n actions: \"\",\r\n hidePagerOnEmpty: false,\r\n preFill: false,\r\n types: {\r\n string: {},\r\n number: {},\r\n bool: {},\r\n date: {}\r\n }\r\n };\r\n c.ext = {};\r\n c.ext.XDate = function (a, b, c, d) {\r\n function e() {\r\n var b = this instanceof e ? this : new e,\r\n c = arguments,\r\n d = c.length,\r\n h;\r\n typeof c[d - 1] == \"boolean\" && (h = c[--d], c = y(c, 0, d));\r\n if (d)\r\n if (d == 1)\r\n if (d = c[0], d instanceof a || typeof d == \"number\") b[0] = new a(+d);\r\n else if (d instanceof e) {\r\n var c = b,\r\n i = new a(+d[0]);\r\n if (f(d)) i.toString = G;\r\n c[0] = i\r\n } else {\r\n if (typeof d == \"string\") {\r\n b[0] = new a(0);\r\n a: {\r\n for (var c = d, d = h || !1, i = e.parsers, j = 0, k; j < i.length; j++)\r\n if (k = i[j](c, d, b)) {\r\n b = k;\r\n break a\r\n }\r\n b[0] = new a(c)\r\n }\r\n }\r\n } else b[0] = new a(F.apply(a, c)), h || (b[0] = u(b[0]));\r\n else b[0] = new a;\r\n typeof h == \"boolean\" && g(b, h);\r\n return b\r\n }\r\n\r\n function f(a) {\r\n return a[0].toString === G\r\n }\r\n\r\n function g(b, c, d) {\r\n if (c) {\r\n if (!f(b)) d && (b[0] = new a(F(b[0].getFullYear(), b[0].getMonth(), b[0].getDate(), b[0].getHours(), b[0].getMinutes(), b[0].getSeconds(), b[0].getMilliseconds()))), b[0].toString = G\r\n } else f(b) && (b[0] = d ? u(b[0]) : new a(+b[0]));\r\n return b\r\n }\r\n\r\n function h(a, b, c, d, e) {\r\n var f = x(s, a[0], e),\r\n a = x(t, a[0], e),\r\n e = b == 1 ? c % 12 : f(1),\r\n g = !1;\r\n d.length == 2 && typeof d[1] == \"boolean\" && (g = d[1], d = [c]);\r\n a(b, d);\r\n g && f(1) != e && (a(1, [f(1) - 1]), a(2, [v(f(0), f(1))]))\r\n }\r\n\r\n function i(a, c, d, e) {\r\n var d = Number(d),\r\n f = b.floor(d);\r\n a[\"set\" + B[c]](a[\"get\" + B[c]]() + f, e || !1);\r\n f != d && c < 6 && i(a, c + 1, (d - f) * D[c], e)\r\n }\r\n\r\n function j(a, c, d) {\r\n var a = a.clone().setUTCMode(!0, !0),\r\n c = e(c).setUTCMode(!0, !0),\r\n f = 0;\r\n if (d == 0 || d == 1) {\r\n for (var g = 6; g >= d; g--) f /= D[g], f += s(c, !1, g) - s(a, !1, g);\r\n d == 1 && (f += (c.getFullYear() - a.getFullYear()) * 12)\r\n } else d == 2 ? (d = a.toDate().setUTCHours(0, 0, 0, 0), f = c.toDate().setUTCHours(0, 0, 0, 0), f = b.round((f - d) / 864e5) + (c - f - (a - d)) / 864e5) : f = (c - a) / [36e5, 6e4, 1e3, 1][d - 3];\r\n return f\r\n }\r\n\r\n function k(c) {\r\n var d = c(0),\r\n e = c(1),\r\n c = c(2),\r\n e = new a(F(d, e, c)),\r\n f = l(d),\r\n c = f;\r\n e < f ? c = l(d - 1) : (d = l(d + 1), e >= d && (c = d));\r\n return b.floor(b.round((e - c) / 864e5) / 7) + 1\r\n }\r\n\r\n function l(b) {\r\n b = new a(F(b, 0, 4));\r\n b.setUTCDate(b.getUTCDate() - (b.getUTCDay() + 6) % 7);\r\n return b\r\n }\r\n\r\n function m(a, b, c, e) {\r\n var f = x(s, a, e),\r\n g = x(t, a, e),\r\n c = l(c === d ? f(0) : c);\r\n e || (c = u(c));\r\n a.setTime(+c);\r\n g(2, [f(2) + (b - 1) * 7])\r\n }\r\n\r\n function n(a, b, c, d, f) {\r\n var g = e.locales,\r\n h = g[e.defaultLocale] || {}, i = x(s, a, f),\r\n c = (typeof c == \"string\" ? g[c] : c) || {};\r\n return o(a, b, function (a) {\r\n if (d)\r\n for (var b = (a == 7 ? 2 : a) - 1; b >= 0; b--) d.push(i(b));\r\n return i(a)\r\n }, function (a) {\r\n return c[a] || h[a]\r\n }, f)\r\n }\r\n\r\n function o(a, b, c, e, f) {\r\n for (var g, h, i = \"\"; g = b.match(E);) {\r\n i += b.substr(0, g.index);\r\n if (g[1]) {\r\n h = i;\r\n for (var i = a, j = g[1], k = c, l = e, m = f, n = j.length, q = void 0, r = \"\"; n > 0;) q = p(i, j.substr(0, n), k, l, m), q !== d ? (r += q, j = j.substr(n), n = j.length) : n--;\r\n i = h + (r + j)\r\n } else g[3] ? (h = o(a, g[4], c, e, f), parseInt(h.replace(/\\D/g, \"\"), 10) && (i += h)) : i += g[7] || \"'\";\r\n b = b.substr(g.index + g[0].length)\r\n }\r\n return i + b\r\n }\r\n\r\n function p(a, c, d, f, g) {\r\n var h = e.formatters[c];\r\n if (typeof h == \"string\") return o(a, h, d, f, g);\r\n else if (typeof h == \"function\") return h(a, g || !1, f);\r\n switch (c) {\r\n case \"fff\":\r\n return A(d(6), 3);\r\n case \"s\":\r\n return d(5);\r\n case \"ss\":\r\n return A(d(5));\r\n case \"m\":\r\n return d(4);\r\n case \"mm\":\r\n return A(d(4));\r\n case \"h\":\r\n return d(3) % 12 || 12;\r\n case \"hh\":\r\n return A(d(3) % 12 || 12);\r\n case \"H\":\r\n return d(3);\r\n case \"HH\":\r\n return A(d(3));\r\n case \"d\":\r\n return d(2);\r\n case \"dd\":\r\n return A(d(2));\r\n case \"ddd\":\r\n return f(\"dayNamesShort\")[d(7)] || \"\";\r\n case \"dddd\":\r\n return f(\"dayNames\")[d(7)] || \"\";\r\n case \"M\":\r\n return d(1) + 1;\r\n case \"MM\":\r\n return A(d(1) + 1);\r\n case \"MMM\":\r\n return f(\"monthNamesShort\")[d(1)] || \"\";\r\n case \"MMMM\":\r\n return f(\"monthNames\")[d(1)] || \"\";\r\n case \"yy\":\r\n return (d(0) + \"\").substring(2);\r\n case \"yyyy\":\r\n return d(0);\r\n case \"t\":\r\n return q(d, f).substr(0, 1).toLowerCase();\r\n case \"tt\":\r\n return q(d, f).toLowerCase();\r\n case \"T\":\r\n return q(d, f).substr(0, 1);\r\n case \"TT\":\r\n return q(d, f);\r\n case \"z\":\r\n case \"zz\":\r\n case \"zzz\":\r\n return g ? c = \"Z\" : (f = a.getTimezoneOffset(), a = f < 0 ? \"+\" : \"-\", d = b.floor(b.abs(f) / 60), f = b.abs(f) % 60, g = d, c == \"zz\" ? g = A(d) : c == \"zzz\" && (g = A(d) + \":\" + A(f)), c = a + g), c;\r\n case \"w\":\r\n return k(d);\r\n case \"ww\":\r\n return A(k(d));\r\n case \"S\":\r\n return c = d(2), c > 10 && c < 20 ? \"th\" : [\"st\", \"nd\", \"rd\"][c % 10 - 1] || \"th\"\r\n }\r\n }\r\n\r\n function q(a, b) {\r\n return a(3) < 12 ? b(\"amDesignator\") : b(\"pmDesignator\")\r\n }\r\n\r\n function r(a) {\r\n return !isNaN(+a[0])\r\n }\r\n\r\n function s(a, b, c) {\r\n return a[\"get\" + (b ? \"UTC\" : \"\") + B[c]]()\r\n }\r\n\r\n function t(a, b, c, d) {\r\n a[\"set\" + (b ? \"UTC\" : \"\") + B[c]].apply(a, d)\r\n }\r\n\r\n function u(b) {\r\n return new a(b.getUTCFullYear(), b.getUTCMonth(), b.getUTCDate(), b.getUTCHours(), b.getUTCMinutes(), b.getUTCSeconds(), b.getUTCMilliseconds())\r\n }\r\n\r\n function v(b, c) {\r\n return 32 - (new a(F(b, c, 32))).getUTCDate()\r\n }\r\n\r\n function w(a) {\r\n return function () {\r\n return a.apply(d, [this].concat(y(arguments)))\r\n }\r\n }\r\n\r\n function x(a) {\r\n var b = y(arguments, 1);\r\n return function () {\r\n return a.apply(d, b.concat(y(arguments)))\r\n }\r\n }\r\n\r\n function y(a, b, e) {\r\n return c.prototype.slice.call(a, b || 0, e === d ? a.length : e)\r\n }\r\n\r\n function z(a, b) {\r\n for (var c = 0; c < a.length; c++) b(a[c], c)\r\n }\r\n\r\n function A(a, b) {\r\n b = b || 2;\r\n for (a += \"\"; a.length < b;) a = \"0\" + a;\r\n return a\r\n }\r\n var B = \"FullYear,Month,Date,Hours,Minutes,Seconds,Milliseconds,Day,Year\".split(\",\"),\r\n C = [\"Years\", \"Months\", \"Days\"],\r\n D = [12, 31, 24, 60, 60, 1e3, 1],\r\n E = /(([a-zA-Z])\\2*)|(\\((('.*?'|\\(.*?\\)|.)*?)\\))|('(.*?)')/,\r\n F = a.UTC,\r\n G = a.prototype.toUTCString,\r\n H = e.prototype;\r\n H.length = 1;\r\n H.splice = c.prototype.splice;\r\n H.getUTCMode = w(f);\r\n H.setUTCMode = w(g);\r\n H.getTimezoneOffset = function () {\r\n return f(this) ? 0 : this[0].getTimezoneOffset()\r\n };\r\n z(B, function (a, b) {\r\n H[\"get\" + a] = function () {\r\n return s(this[0], f(this), b)\r\n };\r\n b != 8 && (H[\"getUTC\" + a] = function () {\r\n return s(this[0], !0, b)\r\n });\r\n b != 7 && (H[\"set\" + a] = function (a) {\r\n h(this, b, a, arguments, f(this));\r\n return this\r\n }, b != 8 && (H[\"setUTC\" + a] = function (a) {\r\n h(this, b, a, arguments, !0);\r\n return this\r\n }, H[\"add\" + (C[b] || a)] = function (a, c) {\r\n i(this, b, a, c);\r\n return this\r\n }, H[\"diff\" + (C[b] || a)] = function (a) {\r\n return j(this, a, b)\r\n }))\r\n });\r\n H.getWeek = function () {\r\n return k(x(s, this, !1))\r\n };\r\n H.getUTCWeek = function () {\r\n return k(x(s, this, !0))\r\n };\r\n H.setWeek = function (a, b) {\r\n m(this, a, b, !1);\r\n return this\r\n };\r\n H.setUTCWeek = function (a, b) {\r\n m(this, a, b, !0);\r\n return this\r\n };\r\n H.addWeeks = function (a) {\r\n return this.addDays(Number(a) * 7)\r\n };\r\n H.diffWeeks = function (a) {\r\n return j(this, a, 2) / 7\r\n };\r\n e.parsers = [\r\n function (b, c, d) {\r\n if (b = b.match(/^(\\d{4})(-(\\d{2})(-(\\d{2})([T ](\\d{2}):(\\d{2})(:(\\d{2})(\\.(\\d+))?)?(Z|(([-+])(\\d{2})(:?(\\d{2}))?))?)?)?)?$/)) {\r\n var e = new a(F(b[1], b[3] ? b[3] - 1 : 0, b[5] || 1, b[7] || 0, b[8] || 0, b[10] || 0, b[12] ? Number(\"0.\" + b[12]) * 1e3 : 0));\r\n b[13] ? b[14] && e.setUTCMinutes(e.getUTCMinutes() + (b[15] == \"-\" ? 1 : -1) * (Number(b[16]) * 60 + (b[18] ? Number(b[18]) : 0))) : c || (e = u(e));\r\n return d.setTime(+e)\r\n }\r\n }\r\n ];\r\n e.parse = function (a) {\r\n return +e(\"\" + a)\r\n };\r\n H.toString = function (a, b, c) {\r\n return a === d || !r(this) ? this[0].toString() : n(this, a, b, c, f(this))\r\n };\r\n H.toUTCString = H.toGMTString = function (a, b, c) {\r\n return a === d || !r(this) ? this[0].toUTCString() : n(this, a, b, c, !0)\r\n };\r\n H.toISOString = function () {\r\n return this.toUTCString(\"yyyy-MM-dd'T'HH:mm:ss(.fff)zzz\")\r\n };\r\n e.defaultLocale = \"\";\r\n e.locales = {\r\n \"\": {\r\n monthNames: \"January,February,March,April,May,June,July,August,September,October,November,December\".split(\",\"),\r\n monthNamesShort: \"Jan,Feb,Mar,Apr,May,Jun,Jul,Aug,Sep,Oct,Nov,Dec\".split(\",\"),\r\n dayNames: \"Sunday,Monday,Tuesday,Wednesday,Thursday,Friday,Saturday\".split(\",\"),\r\n dayNamesShort: \"Sun,Mon,Tue,Wed,Thu,Fri,Sat\".split(\",\"),\r\n amDesignator: \"AM\",\r\n pmDesignator: \"PM\"\r\n }\r\n };\r\n e.formatters = {\r\n i: \"yyyy-MM-dd'T'HH:mm:ss(.fff)\",\r\n u: \"yyyy-MM-dd'T'HH:mm:ss(.fff)zzz\"\r\n };\r\n z(\"getTime,valueOf,toDateString,toTimeString,toLocaleString,toLocaleDateString,toLocaleTimeString,toJSON\".split(\",\"), function (a) {\r\n H[a] = function () {\r\n return this[0][a]()\r\n }\r\n });\r\n H.setTime = function (a) {\r\n this[0].setTime(a);\r\n return this\r\n };\r\n H.valid = w(r);\r\n H.clone = function () {\r\n return new e(this)\r\n };\r\n H.clearTime = function () {\r\n return this.setHours(0, 0, 0, 0)\r\n };\r\n H.toDate = function () {\r\n return new a(+this[0])\r\n };\r\n e.now = function () {\r\n return +(new a)\r\n };\r\n e.today = function () {\r\n return (new e).clearTime()\r\n };\r\n e.UTC = F;\r\n e.getDaysInMonth = v;\r\n if (typeof module !== \"undefined\" && module.exports) module.exports = e;\r\n return e\r\n }(Date, Math, Array);\r\n var f = null;\r\n var g = null;\r\n var h = null;\r\n var i = null;\r\n var j = null;\r\n var k = null;\r\n var l = null;\r\n var m = null;\r\n var n = 1;\r\n var o = null;\r\n var p = null;\r\n var q = null;\r\n var r = false;\r\n var s = null;\r\n var t = {};\r\n var u = null;\r\n var v = null;\r\n var w = {};\r\n var x = false;\r\n c.init = function () {\r\n f = c.options.id;\r\n if (String(c.options.pageSize).toLowerCase() == \"auto\") {\r\n c.options[option] = -1;\r\n o = c.options.pageSize;\r\n a(window).on(\"resize\", c.windowResized)\r\n }\r\n c.options.types.string = (c.options.types || {}).string || {};\r\n c.options.types.number = (c.options.types || {}).number || {};\r\n c.options.types.bool = (c.options.types || {}).bool || {};\r\n c.options.types.date = (c.options.types || {}).date || {};\r\n if (c.options.preFill) {\r\n var b = {\r\n cols: {\r\n dummy: {\r\n index: 1,\r\n friendly: \" \",\r\n type: \"none\"\r\n }\r\n },\r\n rows: []\r\n };\r\n for (var d = 0; d < c.options.pageSize; d++) b.rows.push({\r\n dummy: \" \"\r\n });\r\n c.setData(b)\r\n }\r\n c.update()\r\n };\r\n c.createTable = function (count, page) {\r\n var d = new c.ext.XDate;\r\n if (g == null) {\r\n h = k = l = null;\r\n g = a('
').appendTo(f)\r\n }\r\n if (h == null) {\r\n g.find(\"thead\").remove();\r\n i = j = null;\r\n h = a(\"\").prependTo(g)\r\n }\r\n var e = Object.keys(m.cols).sort(function (a, b) {\r\n return m.cols[a].index - m.cols[b].index\r\n });\r\n if (i == null) {\r\n h.find(\".sort i\").tooltip(\"hide\");\r\n h.find(\".sort\").remove();\r\n i = a('').prependTo(h);\r\n if (v && !m.cols[v].hidden) {\r\n var s = x ? \"checked\" : \"\";\r\n var u = a(\"\").appendTo(i);\r\n var y = a(''.f(s)).appendTo(u);\r\n y.on(\"change\", c.checkToggleChanged)\r\n }\r\n for (var z = 0; z < e.length; z++) {\r\n var A = e[z];\r\n var B = m.cols[A];\r\n if (!B.hidden) {\r\n var u = a(\"\").appendTo(i);\r\n\r\n var C = null;\r\n\r\n if (B.sorting != \"false\") {\r\n C = a('{0}'.f(B.friendly || A));\r\n C.on(\"click\", {\r\n column: A\r\n }, c.columnClicked).appendTo(u);\r\n } else {\r\n C = a('{0}'.f(B.friendly || A)).appendTo(u);\r\n }\r\n\r\n if (B.tooltip) a('').tooltip({\r\n title: B.tooltip,\r\n placement: \"top\",\r\n delay: {\r\n show: 500,\r\n hide: 100\r\n }\r\n }).appendTo(C);\r\n if (A == q) {\r\n if (r) a('').appendTo(u);\r\n else a('').appendTo(u)\r\n }\r\n }\r\n }\r\n }\r\n if (j == null && c.options.filter) {\r\n h.find(\".filter\").remove();\r\n j = a('').appendTo(h);\r\n var u;\r\n var y;\r\n var D = \"\";\r\n var E = \"\";\r\n if (v && !m.cols[v].hidden) {\r\n E = c.options.types.bool.tooltip || \"Toggle between:
indeterminate,
checked,
unchecked\";\r\n var u = a(\"\").appendTo(j);\r\n var y = a('').appendTo(u);\r\n a.map(t, function (a, b) {\r\n if (b == \"unique\") {\r\n if (a.filter) y.prop(\"checked\", true).removeClass(\"indeterminate\");\r\n else if (!a.filter) y.prop(\"checked\", false).removeClass(\"indeterminate\");\r\n else if (a.filter == \"\") y.addClass(\"indeterminate\")\r\n }\r\n });\r\n E = E.trim();\r\n if (E) y.tooltip({\r\n title: E,\r\n trigger: \"hover\",\r\n placement: \"top\",\r\n delay: {\r\n show: 500,\r\n hide: 100\r\n }\r\n });\r\n y.on(\"click\", {\r\n column: \"unique\"\r\n }, c.filterChanged)\r\n }\r\n for (var z = 0; z < e.length; z++) {\r\n var A = e[z];\r\n var B = m.cols[A];\r\n B.filter = B.filter === false ? false : true;\r\n if (!B.hidden) {\r\n u = a(\"\").appendTo(j);\r\n switch (B.type || \"none\") {\r\n case \"number\":\r\n D = c.options.types.number.placeHolder || \">10 <20 =50\";\r\n E = c.options.types.number.tooltip || \"Values 10 to 20:
>10 <20
Values exactly 50:
=50\";\r\n y = a(''.f(D));\r\n y.on(\"keyup\", {\r\n column: A\r\n }, c.filterChanged);\r\n break;\r\n case \"date\":\r\n D = c.options.types.date.placeHolder || \">-7 <0\";\r\n E = c.options.types.date.tooltip || \"Today:
>0 <1
A week today excluded:
>-7 <0\";\r\n y = a('
'.f(D));\r\n if (c.options.types.date.datePicker === true || c.options.types.date.datePicker == b) {\r\n if (a().datepicker) {\r\n y.addClass(\"date-wrap\");\r\n var F = (new c.ext.XDate(false)).setHours(0, 0, 0, 0).toString(\"yyyy-MM-dd\");\r\n var G = a('
'.f(F, \"yyyy-mm-dd\")).appendTo(y);\r\n a('').appendTo(G);\r\n a('').on(\"click\", {\r\n op: \">\"\r\n }, c.dpOpChanged).appendTo(G);\r\n a('').on(\"click\", {\r\n op: \"<\"\r\n }, c.dpOpChanged).appendTo(G);\r\n G.datepicker();\r\n G.on(\"changeDate\", {\r\n column: A,\r\n input: a(\"input.filter\", y)\r\n }, c.dpClicked)\r\n } else if (c.options.debug) console.log(\"datepicker plugin not found\")\r\n }\r\n y.on(\"keyup\", \"input.filter\", {\r\n column: A\r\n }, c.filterChanged);\r\n break;\r\n case \"bool\":\r\n E = c.options.types.bool.tooltip || \"Toggle between:
indeterminate,
checked,
unchecked\";\r\n y = a('');\r\n y.on(\"click\", {\r\n column: A\r\n }, c.filterChanged);\r\n break;\r\n case \"string\":\r\n D = c.options.types.string.placeHolder || \"John Doe\";\r\n E = c.options.types.string.tooltip || \"Find John Doe:
John Doe
Find all but John Doe:
!John Doe\";\r\n y = a(''.f(D));\r\n y.on(\"keyup\", {\r\n column: A\r\n }, c.filterChanged);\r\n break;\r\n case \"none\":\r\n y = a(\"
 
\");\r\n break\r\n }\r\n E = E.trim();\r\n if (E) y.tooltip({\r\n title: E,\r\n trigger: \"hover\",\r\n placement: \"top\",\r\n delay: {\r\n show: 500,\r\n hide: 100\r\n }\r\n });\r\n if (y && B.filter) {\r\n a.map(t, function (a, b) {\r\n if (b == A) {\r\n if (a.col.type == \"bool\") {\r\n if (a.filter) y.prop(\"checked\", true).removeClass(\"indeterminate\");\r\n else if (!a.filter) y.prop(\"checked\", false).removeClass(\"indeterminate\");\r\n else if (a.filter == \"\") y.addClass(\"indeterminate\")\r\n } else y.val(a.filter)\r\n }\r\n });\r\n y.appendTo(u)\r\n }\r\n }\r\n }\r\n }\r\n if (k == null) {\r\n g.find(\"tbody\").remove();\r\n k = a(\"\").insertAfter(h);\r\n k.on(\"change\", \".unique\", c.rowChecked);\r\n k.on(\"click\", \"td\", c.rowClicked);\r\n if (c.options.pageSize == -1) m.toRow = m.rows.length;\r\n else {\r\n m.toRow = m.fromRow + c.options.pageSize;\r\n if (m.toRow > m.rows.length) m.toRow = m.rows.length\r\n }\r\n var H = 0;\r\n a.each(m.rows.slice(m.fromRow, m.toRow), function (b, d) {\r\n var h = a(\"\").appendTo(k);\r\n if (v && !m.cols[v].hidden) {\r\n var i = w[d[v]] != null ? \"checked\" : \"\";\r\n var j = a(\"\").appendTo(h);\r\n var classer = d.sistema == \"1\" ? \"disabled='disabled'\" : \"\";\r\n var l = a(''.f(i)).appendTo(j);\r\n }\r\n for (var n = 0; n < e.length; n++) {\r\n var o = e[n];\r\n var p = d[o] || \"\";\r\n if (!m.cols[o]) return;\r\n if (m.cols[o].unique) h.data(\"unique\", p);\r\n if (!m.cols[o].hidden) {\r\n var j = a(\"\").appendTo(h);\r\n j.data(\"column\", m.cols[o]);\r\n var q = d[o + \"Format\"] || m.cols[o].format || \"{0}\";\r\n switch (m.cols[o].type) {\r\n case \"string\":\r\n case \"number\":\r\n case \"none\":\r\n j.html(q.f(p));\r\n break;\r\n case \"date\":\r\n p = (new c.ext.XDate(p, c.options.types.date.utc === true)).toString(c.options.types.date.format || \"yyyy-MM-dd HH:mm:ss\");\r\n j.html(q.f(p));\r\n break;\r\n case \"bool\":\r\n a(''.f(p ? \"checked\" : \"\")).appendTo(j);\r\n break\r\n }\r\n }\r\n }\r\n H++;\r\n if (c.options.pageSize == -1) {\r\n if (!c.elementInViewport(f)) {\r\n var r = g.find(\"tfoot\").length;\r\n if (!r && h.prev()) {\r\n h.prev().remove();\r\n H--\r\n }\r\n if (!r && h.prev()) {\r\n h.prev().remove();\r\n H--\r\n }\r\n if (!r && h.prev()) {\r\n h.prev().remove();\r\n H--\r\n }\r\n h.remove();\r\n H--;\r\n m.toRow = m.fromRow + H;\r\n return false\r\n }\r\n } else {\r\n if (H >= c.options.pageSize) {\r\n m.toRow = m.fromRow + H;\r\n return false\r\n }\r\n }\r\n });\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\tif(m.count){\t\t\t\r\n\t\t\t\t\t//n = parseInt(m.pag,10)>>0;\r\n\t\t\t\t o = H;\r\n\t\t\t\t //p = (m.count / c.options.pageSize) >> 0\r\n\t\t\t\t\tp = Math.ceil(m.count / c.options.pageSize);\r\n\t\t\t\t}else if (n == 1) {\r\n o = H;\r\n p = Math.round(Math.ceil(m.rows.length / o));\r\n }\r\n \r\n\t\t\t\tif (n == p) {\r\n while (H < o) {\r\n var I = a(\"\").appendTo(k);\r\n if (v && !m.cols[v].hidden) {\r\n var J = a(\"\").appendTo(I);\r\n var y = a('').appendTo(J)\r\n }\r\n a.each(m.cols, function (b, c) {\r\n if (!c.hidden) {\r\n a(\" \").appendTo(I)\r\n }\r\n });\r\n H++\r\n }\r\n }\r\n }\r\n if (l == null) {\r\n g.find(\"tfoot\").remove();\r\n l = a(\"\").insertAfter(k);\r\n var K = a(\"\").appendTo(l);\r\n var L = a('').appendTo(K);\r\n\r\n \r\n if (c.options.assyncPaginacao) {\r\n\r\n var first = (page * c.options.pageSize) - (c.options.pageSize) + 1;\r\n var last = Math.min(first + c.options.pageSize - 1, count);\r\n\r\n if (count > 0) {\r\n\r\n var textTrad = idiomasAdmin.tabela.numeroRegistosTabela.replace(\"{x}\", first).replace(\"{y}\", last).replace(\"{z}\", count);\r\n\r\n a(\"

\" + textTrad + \"

\").appendTo(L);\r\n }\r\n else {\r\n //var textTrad = idiomasAdmin.tabela.tabelaSemRegistos;\r\n //a(\"

\" + textTrad + \"

\").appendTo(L);\r\n\r\n a(\"

Sem registos

\").appendTo(L);\r\n p = 0\r\n }\r\n\r\n } else {\r\n\r\n if (m.rows.length > 0) {\r\n\r\n\r\n //textTrad = idiomasAdmin.tabela.numeroRegistosTabela.replace(\"{x}\", m.fromRow + 1).replace(\"{y}\", Math.min(m.toRow, m.rows.length)).replace(\"{z}\", m.rows.length);\r\n //a(\"

\" + textTrad + \"

\").appendTo(L);\r\n\r\n a(\"

Registos {0}-{1} de {2}

\".f(m.fromRow + 1, Math.min(m.toRow, m.rows.length), m.rows.length)).appendTo(L);\r\n }\r\n else {\r\n a(\"

Sem registos

\").appendTo(L);\r\n\r\n //var textTrad = idiomasAdmin.tabela.tabelaSemRegistos;\r\n //a(\"

\" + textTrad + \"

\").appendTo(L);\r\n\r\n p = 0\r\n }\r\n\r\n }\r\n \r\n\r\n \r\n var M = n - 2;\r\n var N = n + 2;\r\n if (N > p) {\r\n var O = N - p;\r\n N = p;\r\n M -= O\r\n }\r\n if (M < 1) M = 1;\r\n if (N < 5) N = 5;\r\n var P = a('
').appendTo(L);\r\n var Q = a('
').appendTo(P);\r\n var R = a('
').appendTo(Q);\r\n var S = a(\"\").appendTo(R);\r\n a('
  • <
  • '.f(n == 1 ? \"disabled\" : \"\")).on(\"click\", {\r\n pageIndex: n - 1\r\n }, c.pageChanged).appendTo(S);\r\n\t\t\t\t\r\n for (var z = M; z <= N; z++) {\r\n\t\t\t\t\t\t\t\t\r\n var C = null;\r\n if (z != n) C = a('
  • {0}
  • '.f(z, z > p ? \"disabled\" : \"\"));\r\n if (z == n) C = a('
  • {0}
  • '.f(z));\r\n if (C != null) {\r\n C.on(\"click\", {\r\n pageIndex: z\r\n }, c.pageChanged);\r\n C.appendTo(S)\r\n }\r\n }\r\n\t\t\t\t\r\n\r\n a('
  • >
  • '.f(n == p ? \"disabled\" : \"\")).on(\"click\", {\r\n pageIndex: n + 1\r\n }, c.pageChanged).appendTo(S);\r\n if (c.options.pageSizes.length) {\r\n var T = a('
    ').appendTo(P);\r\n var U = a('').appendTo(T);\r\n var V = a('').appendTo(U);\r\n var W = a('