diff --git a/js/.gitignore b/js/.gitignore index 7d1ff9f902..53763e272d 100644 --- a/js/.gitignore +++ b/js/.gitignore @@ -8,7 +8,6 @@ pids *.seed # Directory for instrumented libs generated by jscoverage/JSCover -lib-cov # Coverage directory used by tools like istanbul coverage @@ -30,4 +29,3 @@ node_modules .idea .vscode -lib diff --git a/js/lib/atk4JS.min.js b/js/lib/atk4JS.min.js new file mode 100644 index 0000000000..c943cf17e3 --- /dev/null +++ b/js/lib/atk4JS.min.js @@ -0,0 +1 @@ +!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("jQuery")):"function"==typeof define&&define.amd?define("atk4JS",["jQuery"],t):"object"==typeof exports?exports.atk4JS=t(require("jQuery")):e.atk4JS=t(e.jQuery)}(this,function(e){return function(e){function t(r){if(n[r])return n[r].exports;var u=n[r]={i:r,l:!1,exports:{}};return e[r].call(u.exports,u,u.exports,t),u.l=!0,u.exports}var n={};return t.m=e,t.c=n,t.i=function(e){return e},t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=6)}([function(t,n){t.exports=e},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function u(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r="__"+e,u=i.default.fn[e];i.default.fn[e]=function(e){return this.each(function(){var n=(0,i.default)(this),u=n.data(r),o=i.default.extend({},t.DEFAULTS,n.data(),"object"===(void 0===e?"undefined":a(e))&&e);u||n.data(r,u=new t(this,o)),"string"==typeof e&&u[e]()})},n&&(i.default[e]=function(t){return(0,i.default)({})[e](t)}),i.default.fn[e].noConflict=function(){return i.default.fn[e]=u}}Object.defineProperty(t,"__esModule",{value:!0});var a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.default=u;var o=n(0),i=r(o);e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var a=n(0),o=r(a),i=function e(t,n){u(this,e);var r=n.url;return o.default.isEmptyObject(n.params)||(r+=(r.indexOf("?")>=0?"&":"?")+o.default.param(n.params)),r};t.default=i,i.DEFAULTS={url:null,params:{}},e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var a=n(0),o=r(a),i=function e(t,n){u(this,e);var r=(0,o.default)(t);n.confirm&&!confirm(n.confirm)||r.api({on:"now",url:n.uri,data:n.uri_options,method:"POST",obj:r})};t.default=i,i.DEFAULTS={uri:null,uri_options:{},confirm:null},e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var a=n(0),o=r(a),i=function e(t,n){u(this,e);var r=(0,o.default)(t);r.spinner({loaderText:"",active:!0,inline:!0,centered:!0,replace:!0}),n.uri&&o.default.get(n.uri,n.uri_options,function(e){r.replaceWith(e)})};t.default=i,i.DEFAULTS={uri:null,uri_options:{}},e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var a=function(){function e(e,t){for(var n=0;n2&&void 0!==arguments[2]&&arguments[2]&&e.empty(),e.append(t)}}]),e}();t.default=l,l.DEFAULTS={active:!1,replace:!1,dimmed:!1,inline:!1,indeterminate:!1,loaderText:"Loading",centered:!1,baseDimmerMarkup:'
',baseLoaderMarkup:'
'},e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}var u=n(0),a=r(u),o=n(1),i=r(o),l=n(5),f=r(l),d=n(4),c=r(d),s=n(3),p=r(s),m=n(2),v=r(m);(0,i.default)("spinner",f.default),(0,i.default)("reloadView",c.default),(0,i.default)("ajaxec",p.default),(0,i.default)("addParams",v.default),a.default.addParams=function(e,t){return a.default.isEmptyObject(t)||(e+=(e.indexOf("?")>=0?"&":"?")+a.default.param(t)),e}}])}); \ No newline at end of file