From 25ca87b6502e912a6c5b7dcb5bebae86b5b328a2 Mon Sep 17 00:00:00 2001 From: Christopher Joe Date: Fri, 14 Oct 2016 15:33:07 +1300 Subject: [PATCH] Clean up build files to be more consistent --- Dev/Install/client/dist/styles/install.css | 5 +- admin/client/dist/js/CMSSecurity.js | 2 - admin/client/dist/js/LeftAndMain.Ping.js | 2 - admin/client/dist/js/MemberImportForm.js | 2 - admin/client/dist/js/TinyMCE_SSPlugin.js | 2 - admin/client/dist/js/UploadField_select.js | 2 - admin/client/dist/js/bundle.js | 87 +++++++++++----------- admin/client/dist/js/leaktools.js | 2 - admin/client/dist/js/vendor.js | 2 - client/dist/styles/debug.css | 5 +- 10 files changed, 47 insertions(+), 64 deletions(-) diff --git a/Dev/Install/client/dist/styles/install.css b/Dev/Install/client/dist/styles/install.css index 95538d722..a34b557a5 100644 --- a/Dev/Install/client/dist/styles/install.css +++ b/Dev/Install/client/dist/styles/install.css @@ -588,7 +588,4 @@ body #Footer p{ font-size:18px; padding:0 2px 2px 0; font-weight:700; -} - - -/*# sourceMappingURL=install.css.map*/ \ No newline at end of file +} \ No newline at end of file diff --git a/admin/client/dist/js/CMSSecurity.js b/admin/client/dist/js/CMSSecurity.js index 29133a7d5..b73ff309c 100644 --- a/admin/client/dist/js/CMSSecurity.js +++ b/admin/client/dist/js/CMSSecurity.js @@ -2,5 +2,3 @@ webpackJsonp([0],[function(t,n,e){"use strict" function s(t){return t&&t.__esModule?t:{"default":t}}var u=e(1),i=s(u) i["default"].noConflict(),i["default"].entwine.warningLevel=i["default"].entwine.WARN_LEVEL_BESTPRACTISE,i["default"].entwine("ss",function(t){t('.cms input[type="submit"], .cms button, .cms input[type="reset"], .cms .ss-ui-button').entwine({ onadd:function n(){this.addClass("ss-ui-button"),this.data("button")||this.button(),this._super()},onremove:function e(){this.data("button")&&this.button("destroy"),this._super()}})})}]) - -//# sourceMappingURL=CMSSecurity.js.map \ No newline at end of file diff --git a/admin/client/dist/js/LeftAndMain.Ping.js b/admin/client/dist/js/LeftAndMain.Ping.js index d2c1bd0c9..7486cd345 100644 --- a/admin/client/dist/js/LeftAndMain.Ping.js +++ b/admin/client/dist/js/LeftAndMain.Ping.js @@ -4,5 +4,3 @@ a["default"].entwine("ss.ping",function(n){n(".cms-container").entwine({PingInte } setInterval(function(){n.ajax({url:"Security/ping",global:!1,type:"POST",complete:e})},1e3*this.getPingIntervalSeconds())}})})}]) - -//# sourceMappingURL=LeftAndMain.Ping.js.map \ No newline at end of file diff --git a/admin/client/dist/js/MemberImportForm.js b/admin/client/dist/js/MemberImportForm.js index 03935cd3f..3a8ceca45 100644 --- a/admin/client/dist/js/MemberImportForm.js +++ b/admin/client/dist/js/MemberImportForm.js @@ -2,5 +2,3 @@ webpackJsonp([2],[function(n,t,e){"use strict" function i(n){return n&&n.__esModule?n:{"default":n}}var o=e(1),c=i(o) c["default"].entwine("ss",function(n){n(".import-form .advanced").entwine({onmatch:function t(){this._super(),this.hide()},onunmatch:function e(){this._super()}}),n(".import-form a.toggle-advanced").entwine({ onclick:function i(n){return this.parents("form:eq(0)").find(".advanced").toggle(),!1}})})}]) - -//# sourceMappingURL=MemberImportForm.js.map \ No newline at end of file diff --git a/admin/client/dist/js/TinyMCE_SSPlugin.js b/admin/client/dist/js/TinyMCE_SSPlugin.js index d1efe4cc5..fb2325c9c 100644 --- a/admin/client/dist/js/TinyMCE_SSPlugin.js +++ b/admin/client/dist/js/TinyMCE_SSPlugin.js @@ -16,5 +16,3 @@ return r.attr("data-"+t,c[t])}),i=i.replace(n[0],t("
").append(r).html())}f alt:c.alt,title:c.title,"data-id":c.id}) i=i.replace(n[0],t("
").append(r).html())}e.content=i})}} tinymce.PluginManager.add("ssbuttons",function(t){e.init(t)})}()}).call(e,n(1))}]) - -//# sourceMappingURL=TinyMCE_SSPlugin.js.map \ No newline at end of file diff --git a/admin/client/dist/js/UploadField_select.js b/admin/client/dist/js/UploadField_select.js index 3b49f0802..30bfc0590 100644 --- a/admin/client/dist/js/UploadField_select.js +++ b/admin/client/dist/js/UploadField_select.js @@ -4,5 +4,3 @@ r["default"].entwine("ss",function(e){e("form.uploadfield-form .TreeDropdownFiel var e=this this.bind("change",function(){var n=e.closest("form").find(".grid-field") n.setState("ParentID",e.getValue()),n.reload()})},onunmatch:function t(){this._super()}})})}]) - -//# sourceMappingURL=UploadField_select.js.map \ No newline at end of file diff --git a/admin/client/dist/js/bundle.js b/admin/client/dist/js/bundle.js index b2df9a38e..801e30768 100644 --- a/admin/client/dist/js/bundle.js +++ b/admin/client/dist/js/bundle.js @@ -59,64 +59,69 @@ return this.fetch(e,{method:"put",credentials:"same-origin",body:s(t),headers:n} return this.fetch(e,{method:"delete",credentials:"same-origin",body:s(t),headers:n}).then(a)}}]),e}(),O=new P t["default"]=O},function(e,t,n){n(8),e.exports=self.fetch.bind(self)},function(e,t){!function(e){"use strict" function t(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.\^_`|~]/i.test(e))throw new TypeError("Invalid character in header field name") -return e.toLowerCase()}function n(e){return"string"!=typeof e&&(e=String(e)),e}function i(e){this.map={},e instanceof i?e.forEach(function(e,t){this.append(t,e)},this):e&&Object.getOwnPropertyNames(e).forEach(function(t){ -this.append(t,e[t])},this)}function r(e){return e.bodyUsed?Promise.reject(new TypeError("Already read")):void(e.bodyUsed=!0)}function o(e){return new Promise(function(t,n){e.onload=function(){t(e.result) +return e.toLowerCase()}function n(e){return"string"!=typeof e&&(e=String(e)),e}function i(e){var t={next:function(){var t=e.shift() +return{done:void 0===t,value:t}}} +return m.iterable&&(t[Symbol.iterator]=function(){return t}),t}function r(e){this.map={},e instanceof r?e.forEach(function(e,t){this.append(t,e)},this):e&&Object.getOwnPropertyNames(e).forEach(function(t){ +this.append(t,e[t])},this)}function o(e){return e.bodyUsed?Promise.reject(new TypeError("Already read")):void(e.bodyUsed=!0)}function a(e){return new Promise(function(t,n){e.onload=function(){t(e.result) -},e.onerror=function(){n(e.error)}})}function a(e){var t=new FileReader -return t.readAsArrayBuffer(e),o(t)}function s(e){var t=new FileReader -return t.readAsText(e),o(t)}function l(){return this.bodyUsed=!1,this._initBody=function(e){if(this._bodyInit=e,"string"==typeof e)this._bodyText=e -else if(h.blob&&Blob.prototype.isPrototypeOf(e))this._bodyBlob=e -else if(h.formData&&FormData.prototype.isPrototypeOf(e))this._bodyFormData=e -else if(e){if(!h.arrayBuffer||!ArrayBuffer.prototype.isPrototypeOf(e))throw new Error("unsupported BodyInit type")}else this._bodyText="" -this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type&&this.headers.set("content-type",this._bodyBlob.type)) +},e.onerror=function(){n(e.error)}})}function s(e){var t=new FileReader +return t.readAsArrayBuffer(e),a(t)}function l(e){var t=new FileReader +return t.readAsText(e),a(t)}function u(){return this.bodyUsed=!1,this._initBody=function(e){if(this._bodyInit=e,"string"==typeof e)this._bodyText=e +else if(m.blob&&Blob.prototype.isPrototypeOf(e))this._bodyBlob=e +else if(m.formData&&FormData.prototype.isPrototypeOf(e))this._bodyFormData=e +else if(m.searchParams&&URLSearchParams.prototype.isPrototypeOf(e))this._bodyText=e.toString() +else if(e){if(!m.arrayBuffer||!ArrayBuffer.prototype.isPrototypeOf(e))throw new Error("unsupported BodyInit type")}else this._bodyText="" +this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):m.searchParams&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8")) -},h.blob?(this.blob=function(){var e=r(this) +},m.blob?(this.blob=function(){var e=o(this) if(e)return e if(this._bodyBlob)return Promise.resolve(this._bodyBlob) if(this._bodyFormData)throw new Error("could not read FormData body as blob") -return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this.blob().then(a)},this.text=function(){var e=r(this) +return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this.blob().then(s)},this.text=function(){var e=o(this) if(e)return e -if(this._bodyBlob)return s(this._bodyBlob) +if(this._bodyBlob)return l(this._bodyBlob) if(this._bodyFormData)throw new Error("could not read FormData body as text") -return Promise.resolve(this._bodyText)}):this.text=function(){var e=r(this) -return e?e:Promise.resolve(this._bodyText)},h.formData&&(this.formData=function(){return this.text().then(c)}),this.json=function(){return this.text().then(JSON.parse)},this}function u(e){var t=e.toUpperCase() +return Promise.resolve(this._bodyText)}):this.text=function(){var e=o(this) +return e?e:Promise.resolve(this._bodyText)},m.formData&&(this.formData=function(){return this.text().then(f)}),this.json=function(){return this.text().then(JSON.parse)},this}function d(e){var t=e.toUpperCase() -return m.indexOf(t)>-1?t:e}function d(e,t){t=t||{} +return g.indexOf(t)>-1?t:e}function c(e,t){t=t||{} var n=t.body -if(d.prototype.isPrototypeOf(e)){if(e.bodyUsed)throw new TypeError("Already read") -this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new i(e.headers)),this.method=e.method,this.mode=e.mode,n||(n=e._bodyInit,e.bodyUsed=!0)}else this.url=e -if(this.credentials=t.credentials||this.credentials||"omit",!t.headers&&this.headers||(this.headers=new i(t.headers)),this.method=u(t.method||this.method||"GET"),this.mode=t.mode||this.mode||null,this.referrer=null, +if(c.prototype.isPrototypeOf(e)){if(e.bodyUsed)throw new TypeError("Already read") +this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new r(e.headers)),this.method=e.method,this.mode=e.mode,n||(n=e._bodyInit,e.bodyUsed=!0)}else this.url=e +if(this.credentials=t.credentials||this.credentials||"omit",!t.headers&&this.headers||(this.headers=new r(t.headers)),this.method=d(t.method||this.method||"GET"),this.mode=t.mode||this.mode||null,this.referrer=null, ("GET"===this.method||"HEAD"===this.method)&&n)throw new TypeError("Body not allowed for GET or HEAD requests") -this._initBody(n)}function c(e){var t=new FormData +this._initBody(n)}function f(e){var t=new FormData return e.trim().split("&").forEach(function(e){if(e){var n=e.split("="),i=n.shift().replace(/\+/g," "),r=n.join("=").replace(/\+/g," ") -t.append(decodeURIComponent(i),decodeURIComponent(r))}}),t}function f(e){var t=new i,n=e.getAllResponseHeaders().trim().split("\n") +t.append(decodeURIComponent(i),decodeURIComponent(r))}}),t}function p(e){var t=new r,n=(e.getAllResponseHeaders()||"").trim().split("\n") return n.forEach(function(e){var n=e.trim().split(":"),i=n.shift().trim(),r=n.join(":").trim() -t.append(i,r)}),t}function p(e,t){t||(t={}),this.type="default",this.status=t.status,this.ok=this.status>=200&&this.status<300,this.statusText=t.statusText,this.headers=t.headers instanceof i?t.headers:new i(t.headers), -this.url=t.url||"",this._initBody(e)}if(!e.fetch){i.prototype.append=function(e,i){e=t(e),i=n(i) +t.append(i,r)}),t}function h(e,t){t||(t={}),this.type="default",this.status=t.status,this.ok=this.status>=200&&this.status<300,this.statusText=t.statusText,this.headers=t.headers instanceof r?t.headers:new r(t.headers), +this.url=t.url||"",this._initBody(e)}if(!e.fetch){var m={searchParams:"URLSearchParams"in e,iterable:"Symbol"in e&&"iterator"in Symbol,blob:"FileReader"in e&&"Blob"in e&&function(){try{return new Blob, +!0}catch(e){return!1}}(),formData:"FormData"in e,arrayBuffer:"ArrayBuffer"in e} +r.prototype.append=function(e,i){e=t(e),i=n(i) var r=this.map[e] -r||(r=[],this.map[e]=r),r.push(i)},i.prototype["delete"]=function(e){delete this.map[t(e)]},i.prototype.get=function(e){var n=this.map[t(e)] -return n?n[0]:null},i.prototype.getAll=function(e){return this.map[t(e)]||[]},i.prototype.has=function(e){return this.map.hasOwnProperty(t(e))},i.prototype.set=function(e,i){this.map[t(e)]=[n(i)]},i.prototype.forEach=function(e,t){ -Object.getOwnPropertyNames(this.map).forEach(function(n){this.map[n].forEach(function(i){e.call(t,i,n,this)},this)},this)} -var h={blob:"FileReader"in e&&"Blob"in e&&function(){try{return new Blob,!0}catch(e){return!1}}(),formData:"FormData"in e,arrayBuffer:"ArrayBuffer"in e},m=["DELETE","GET","HEAD","OPTIONS","POST","PUT"] - - -d.prototype.clone=function(){return new d(this)},l.call(d.prototype),l.call(p.prototype),p.prototype.clone=function(){return new p(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new i(this.headers), -url:this.url})},p.error=function(){var e=new p(null,{status:0,statusText:""}) +r||(r=[],this.map[e]=r),r.push(i)},r.prototype["delete"]=function(e){delete this.map[t(e)]},r.prototype.get=function(e){var n=this.map[t(e)] +return n?n[0]:null},r.prototype.getAll=function(e){return this.map[t(e)]||[]},r.prototype.has=function(e){return this.map.hasOwnProperty(t(e))},r.prototype.set=function(e,i){this.map[t(e)]=[n(i)]},r.prototype.forEach=function(e,t){ +Object.getOwnPropertyNames(this.map).forEach(function(n){this.map[n].forEach(function(i){e.call(t,i,n,this)},this)},this)},r.prototype.keys=function(){var e=[] +return this.forEach(function(t,n){e.push(n)}),i(e)},r.prototype.values=function(){var e=[] +return this.forEach(function(t){e.push(t)}),i(e)},r.prototype.entries=function(){var e=[] +return this.forEach(function(t,n){e.push([n,t])}),i(e)},m.iterable&&(r.prototype[Symbol.iterator]=r.prototype.entries) +var g=["DELETE","GET","HEAD","OPTIONS","POST","PUT"] +c.prototype.clone=function(){return new c(this)},u.call(c.prototype),u.call(h.prototype),h.prototype.clone=function(){return new h(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new r(this.headers), +url:this.url})},h.error=function(){var e=new h(null,{status:0,statusText:""}) return e.type="error",e} -var g=[301,302,303,307,308] -p.redirect=function(e,t){if(g.indexOf(t)===-1)throw new RangeError("Invalid status code") -return new p(null,{status:t,headers:{location:e}})},e.Headers=i,e.Request=d,e.Response=p,e.fetch=function(e,t){return new Promise(function(n,i){function r(){return"responseURL"in a?a.responseURL:/^X-Request-URL:/m.test(a.getAllResponseHeaders())?a.getResponseHeader("X-Request-URL"):void 0 +var v=[301,302,303,307,308] +h.redirect=function(e,t){if(v.indexOf(t)===-1)throw new RangeError("Invalid status code") +return new h(null,{status:t,headers:{location:e}})},e.Headers=r,e.Request=c,e.Response=h,e.fetch=function(e,t){return new Promise(function(n,i){function r(){return"responseURL"in a?a.responseURL:/^X-Request-URL:/m.test(a.getAllResponseHeaders())?a.getResponseHeader("X-Request-URL"):void 0 }var o -o=d.prototype.isPrototypeOf(e)&&!t?e:new d(e,t) +o=c.prototype.isPrototypeOf(e)&&!t?e:new c(e,t) var a=new XMLHttpRequest -a.onload=function(){var e=1223===a.status?204:a.status -if(e<100||e>599)return void i(new TypeError("Network request failed")) -var t={status:e,statusText:a.statusText,headers:f(a),url:r()},o="response"in a?a.response:a.responseText -n(new p(o,t))},a.onerror=function(){i(new TypeError("Network request failed"))},a.open(o.method,o.url,!0),"include"===o.credentials&&(a.withCredentials=!0),"responseType"in a&&h.blob&&(a.responseType="blob"), -o.headers.forEach(function(e,t){a.setRequestHeader(t,e)}),a.send("undefined"==typeof o._bodyInit?null:o._bodyInit)})},e.fetch.polyfill=!0}}("undefined"!=typeof self?self:this)},function(e,t,n){var i;(function(t,r){ -!function(t,n){e.exports=n()}(this,function(){"use strict" +a.onload=function(){var e={status:a.status,statusText:a.statusText,headers:p(a),url:r()},t="response"in a?a.response:a.responseText +n(new h(t,e))},a.onerror=function(){i(new TypeError("Network request failed"))},a.ontimeout=function(){i(new TypeError("Network request failed"))},a.open(o.method,o.url,!0),"include"===o.credentials&&(a.withCredentials=!0), +"responseType"in a&&m.blob&&(a.responseType="blob"),o.headers.forEach(function(e,t){a.setRequestHeader(t,e)}),a.send("undefined"==typeof o._bodyInit?null:o._bodyInit)})},e.fetch.polyfill=!0}}("undefined"!=typeof self?self:this) + +},function(e,t,n){var i;(function(t,r){!function(t,n){e.exports=n()}(this,function(){"use strict" function e(e){return"function"==typeof e||"object"==typeof e&&null!==e}function o(e){return"function"==typeof e}function a(e){K=e}function s(e){Y=e}function l(){return function(){return t.nextTick(p)}} function u(){return function(){Q(p)}}function d(){var e=0,t=new ee(p),n=document.createTextNode("") return t.observe(n,{characterData:!0}),function(){n.data=e=++e%2}}function c(){var e=new MessageChannel @@ -2578,5 +2583,3 @@ href:"",className:"cms-content__back-btn font-icon-left-open-big"}),u["default"] }}]),t}(p["default"]) h.propTypes={itemLinks:u["default"].PropTypes.object,itemId:u["default"].PropTypes.number},t["default"]=h}]) - -//# sourceMappingURL=bundle.js.map \ No newline at end of file diff --git a/admin/client/dist/js/leaktools.js b/admin/client/dist/js/leaktools.js index f3e36c4e7..9b574f1ea 100644 --- a/admin/client/dist/js/leaktools.js +++ b/admin/client/dist/js/leaktools.js @@ -6,5 +6,3 @@ e.each(function(o,t){e.not(t).each(function(e,o){c(t)==c(o)&&(n=!0,console.log(t var n=this.handle&&this.handle.elem if(n){for(var o=n;o&&1==o.nodeType;)o=o.parentNode o?o!==document&&console.log("Attached, but to",o,"not our document",n):(console.log("Unattached",n),console.log(this.events),e&&(0,a["default"])(n).unbind().remove())}})}}}]) - -//# sourceMappingURL=leaktools.js.map \ No newline at end of file diff --git a/admin/client/dist/js/vendor.js b/admin/client/dist/js/vendor.js index 90589660b..522c519db 100644 --- a/admin/client/dist/js/vendor.js +++ b/admin/client/dist/js/vendor.js @@ -9133,5 +9133,3 @@ l=0,u=a.length;l",{style:o}),t.text(this.search_field.val()),e("body").append(t),s=t.width()+25,t.remove(),n=this.container.outerWidth(),s>n-10&&(s=n-10),this.search_field.css({width:s+"px"})}},n}(n) }).call(this)}).call(e,n(1))}]) - -//# sourceMappingURL=vendor.js.map \ No newline at end of file diff --git a/client/dist/styles/debug.css b/client/dist/styles/debug.css index d571a1834..9515a1539 100644 --- a/client/dist/styles/debug.css +++ b/client/dist/styles/debug.css @@ -149,7 +149,4 @@ fieldset{ background:#ffe9e9; border:1px solid #c80700; border-radius:4px; -} - - -/*# sourceMappingURL=debug.css.map*/ \ No newline at end of file +} \ No newline at end of file