diff --git a/THIRD_PARTY.txt b/THIRD_PARTY.txt index 73d5c10e..4f908da6 100644 --- a/THIRD_PARTY.txt +++ b/THIRD_PARTY.txt @@ -1708,6 +1708,8 @@ https://cdnjs.cloudflare.com/ajax/libs/stickyfill/1.1.4/stickyfill.min.js https://cdnjs.cloudflare.com/ajax/libs/stickyfill/2.1.0/stickyfill.min.js https://cdnjs.cloudflare.com/ajax/libs/sticky-js/1.3.0/sticky.min.js https://cdnjs.cloudflare.com/ajax/libs/store.js/2.0.12/store.legacy.min.js +https://cdnjs.cloudflare.com/ajax/libs/swagger-ui/4.15.5/swagger-ui-bundle.min.js +https://cdnjs.cloudflare.com/ajax/libs/swagger-ui/4.15.5/swagger-ui.min.css https://cdnjs.cloudflare.com/ajax/libs/swfobject/2.2/swfobject.js https://cdnjs.cloudflare.com/ajax/libs/Swiper/3.4.2/css/swiper.min.css https://cdnjs.cloudflare.com/ajax/libs/Swiper/3.4.2/js/swiper.min.js diff --git a/core/mappings.js b/core/mappings.js index 577a95d5..786b28bc 100644 --- a/core/mappings.js +++ b/core/mappings.js @@ -481,6 +481,18 @@ mappings.cdn = { 'sticky-js/{version}/sticky.min.js': resources.stickyJS, 'stickyfill/{version}/stickyfill.': resources.stickyfill, 'socket.io/{version}/socket.io.': resources.socketIO, + 'swagger-ui/{version}/swagger-ui.js': resources.swaggerUiJS, + 'swagger-ui/{version}/swagger-ui.min.js': resources.swaggerUiJS, + 'swagger-ui/{version}/swagger-ui-bundle.js': resources.swaggerUiJS, + 'swagger-ui/{version}/swagger-ui-bundle.min.js': resources.swaggerUiJS, + 'swagger-ui/{version}/swagger-ui-es-bundle-core.js': resources.swaggerUiJS, + 'swagger-ui/{version}/swagger-ui-es-bundle-core.min.js': resources.swaggerUiJS, + 'swagger-ui/{version}/swagger-ui-es-bundle.js': resources.swaggerUiJS, + 'swagger-ui/{version}/swagger-ui-es-bundle.min.js': resources.swaggerUiJS, + 'swagger-ui/{version}/swagger-ui-standalone-preset.js': resources.swaggerUiJS, + 'swagger-ui/{version}/swagger-ui-standalone-preset.min.js': resources.swaggerUiJS, + 'swagger-ui/{version}/swagger-ui.css': resources.swaggerUiCSS, + 'swagger-ui/{version}/swagger-ui.min.css': resources.swaggerUiCSS, 'swfobject/{version}/swfobject.': resources.swfobject, 'Swiper/{version}/css/swiper.': resources.swiperCSS, 'Swiper/{version}/js/swiper.': resources.swiperJS, @@ -666,6 +678,20 @@ mappings.cdn = { 'react@{version}/umd/react.production.min.js': resources.react, 'search-insights@{version}/dist/search-insights.': resources.searchInsights, 'select2@{version}/': resources.select2, + + 'swagger-ui-dist@{version}/swagger-ui.js': resources.swaggerUiJS, + 'swagger-ui-dist@{version}/swagger-ui.min.js': resources.swaggerUiJS, + 'swagger-ui-dist@{version}/swagger-ui-bundle.js': resources.swaggerUiJS, + 'swagger-ui-dist@{version}/swagger-ui-bundle.min.js': resources.swaggerUiJS, + 'swagger-ui-dist@{version}/swagger-ui-es-bundle-core.js': resources.swaggerUiJS, + 'swagger-ui-dist@{version}/swagger-ui-es-bundle-core.min.js': resources.swaggerUiJS, + 'swagger-ui-dist@{version}/swagger-ui-es-bundle.js': resources.swaggerUiJS, + 'swagger-ui-dist@{version}/swagger-ui-es-bundle.min.js': resources.swaggerUiJS, + 'swagger-ui-dist@{version}/swagger-ui-standalone-preset.js': resources.swaggerUiJS, + 'swagger-ui-dist@{version}/swagger-ui-standalone-preset.min.js': resources.swaggerUiJS, + 'swagger-ui-dist@{version}/swagger-ui.css': resources.swaggerUiCSS, + 'swagger-ui-dist@{version}/swagger-ui.min.css': resources.swaggerUiCSS, + 'swiper@{version}/swiper-bundle.css': resources.swiperCSS, 'swiper@{version}/swiper-bundle.min.css': resources.swiperCSS, 'swiper@{version}/swiper-bundle.js': resources.swiperJS, diff --git a/core/resources.js b/core/resources.js index 6c1b4433..baf1cb23 100644 --- a/core/resources.js +++ b/core/resources.js @@ -1040,6 +1040,13 @@ var resources = { 'storeJS': { 'path': 'resources/store.js/{version}/store.legacy.min.jsm' }, + // swagger-ui + 'swaggerUiJS': { + 'path': 'resources/swagger-ui/{version}/swagger-ui-bundle.min.jsm' + }, + 'swaggerUiCSS': { + 'path': 'resources/swagger-ui/{version}/swagger-ui.min.css' + }, // SWFObject [Deprecated] 'swfobject': { 'path': 'resources/swfobject/{version}/swfobject.jsm' diff --git a/modules/internal/targets.js b/modules/internal/targets.js index d0d05292..52173305 100644 --- a/modules/internal/targets.js +++ b/modules/internal/targets.js @@ -435,6 +435,7 @@ targets.setLastVersion = function (type, version) { if (type.startsWith('/stickyfill/2.')) return '2.1.0'; if (type.startsWith('/sticky-js/')) return '1.3.0'; if (type.startsWith('/store.js/2.')) return '2.0.12'; + if (type.startsWith('/swagger-ui/4.')) return '4.15.5'; if (type.startsWith('/swfobject/2.')) return '2.2'; if (type.startsWith('/Swiper/3.')) return '3.4.2'; if (type.startsWith('/Swiper/4.')) return '4.5.1'; @@ -499,6 +500,8 @@ targets.determineResourceName = function (filename) { }; const ListOfFiles = { + 'swagger-ui-bundle.min.jsm': 'Swagger-UI (JS)', + 'swagger-ui.min.css': 'Swagger-UI (CSS)', 'knockout.mapping.min.jsm': 'knockout.mapping', 'jquery.colorbox-min.jsm': 'Colorbox', 'rangeslider.min.css': 'rangeslider.js (CSS)', diff --git a/pages/updates/updates.html b/pages/updates/updates.html index a28ec8d1..ccca0c93 100644 --- a/pages/updates/updates.html +++ b/pages/updates/updates.html @@ -38,6 +38,7 @@
Added
Fixed
G(t,o,e,a)));return p.wrapped?(_[b]=i,q()(c)||_[b].push({_attr:c})):_=i,_}if("object"!==f)return _[b]=q()(c)?e:[{_attr:c},e],_;if("string"==typeof e)return e;for(var I in e)!Object.prototype.hasOwnProperty.call(e,I)||n&&A[I]&&A[I].readOnly&&!y||n&&A[I]&&A[I].writeOnly&&!v||(n&&A[I]&&A[I].xml&&A[I].xml.attribute?c[A[I].xml.name||I]=e[I]:k(I,e[I]));return q()(c)||_[b].push({_attr:c}),_}if("object"===f){for(var N in A)!Object.prototype.hasOwnProperty.call(A,N)||A[N]&&A[N].deprecated||A[N]&&A[N].readOnly&&!y||A[N]&&A[N].writeOnly&&!v||k(N);if(a&&c&&_[b].push({_attr:c}),O())return _;if(!0===m)a?_[b].push({additionalProp:"Anything can be here"}):_.additionalProp1={},C++;else if(m){const t=(0,V.mz)(m),P=G(t,o,void 0,a);if(a&&t.xml&&t.xml.name&&"notagname"!==t.xml.name)_[b].push(P);else{const o=null!==n.minProperties&&void 0!==n.minProperties&&Cs&&(t=s-l),a=t;0<=a;a--){let t=!0;for(let e=0;e>>=0,isFinite(n)?(n>>>=0,void 0===e&&(e="utf8")):(e=n,n=void 0)}var o,a,i,s,l,u,c=this.length-r;if((void 0===n||c{var a=r(78834),i=r(96059),s=r(14229);e.exports=function(e,t,r){var n,o;i(e);try{if(!(n=s(e,"return"))){if("throw"===t)throw r;return r}n=a(n,e)}catch(e){o=!0,n=e}if("throw"===t)throw r;if(o)throw n;return i(n),r}},35143:(e,t,r)=>{"use strict";var n,o,a=r(95981),i=r(57475),s=r(29290),l=r(249),u=r(99754),c=r(99813),r=r(82529),p=c("iterator"),c=!1;[].keys&&("next"in(o=[].keys())?(l=l(l(o)))!==Object.prototype&&(n=l):c=!0),null==n||a(function(){var e={};return n[p].call(e)!==e})?n={}:r&&(n=s(n)),i(n[p])||u(n,p,function(){return this}),e.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:c}},12077:e=>{e.exports={}},10623:(e,t,r)=>{var n=r(43057);e.exports=function(e){return n(e.length)}},66132:(e,t,r)=>{var n,o,a,i,s,l,u,c=r(21899),p=r(86843),f=r(49677).f,h=r(42941).set,d=r(22749),m=r(4470),g=r(58045),y=r(6049),r=c.MutationObserver||c.WebKitMutationObserver,v=c.document,b=c.process,w=c.Promise,f=f(c,"queueMicrotask"),f=f&&f.value;f||(n=function(){var e,t;for(y&&(e=b.domain)&&e.exit();o;){t=o.fn,o=o.next;try{t()}catch(e){throw o?i():a=void 0,e}}a=void 0,e&&e.enter()},i=d||y||g||!r||!v?!m&&w&&w.resolve?((d=w.resolve(void 0)).constructor=w,u=p(d.then,d),function(){u(n)}):y?function(){b.nextTick(n)}:(h=p(h,c),function(){h(n)}):(s=!0,l=v.createTextNode(""),new r(n).observe(l,{characterData:!0}),function(){l.data=s=!s})),e.exports=f||function(e){e={fn:e,next:void 0};a&&(a.next=e),o||(o=e,i()),a=e}},19297:(e,t,r)=>{r=r(21899);e.exports=r.Promise},72497:(e,t,r)=>{var n=r(53385),r=r(95981);e.exports=!!Object.getOwnPropertySymbols&&!r(function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&n&&n<41})},28468:(e,t,r)=>{var n=r(95981),o=r(99813),a=r(82529),i=o("iterator");e.exports=!n(function(){var e=new URL("b?a=1&b=2&c=3","http://a"),r=e.searchParams,n="";return e.pathname="c%20d",r.forEach(function(e,t){r.delete("b"),n+=t+e}),a&&!e.toJSON||!r.sort||"http://a/c%20d?a=1&c=3"!==e.href||"3"!==r.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!r[i]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://тест").host||"#%D0%B1"!==new URL("http://a#б").hash||"a1c3"!==n||"x"!==new URL("http://x",void 0).host})},38019:(e,t,r)=>{var n=r(21899),o=r(57475),r=r(81302),n=n.WeakMap;e.exports=o(n)&&/native code/.test(r(n))},69520:(e,t,r)=>{"use strict";function n(e){var r,n;this.promise=new e(function(e,t){if(void 0!==r||void 0!==n)throw TypeError("Bad Promise constructor");r=e,n=t}),this.resolve=o(r),this.reject=o(n)}var o=r(24883);e.exports.f=function(e){return new n(e)}},14649:(e,t,r)=>{var n=r(85803);e.exports=function(e,t){return void 0===e?arguments.length<2?"":t:n(e)}},70344:(e,t,r)=>{var n=r(21899),o=r(60685),a=n.TypeError;e.exports=function(e){if(o(e))throw a("The method doesn't accept regular expressions");return e}},24420:(e,t,r)=>{"use strict";var f=r(55746),n=r(95329),h=r(78834),o=r(95981),d=r(14771),m=r(87857),g=r(36760),y=r(89678),v=r(37026),a=Object.assign,i=Object.defineProperty,b=n([].concat);e.exports=!a||o(function(){if(f&&1!==a({b:1},a(i({},"a",{enumerable:!0,get:function(){i(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},r=Symbol(),n="abcdefghijklmnopqrst";return e[r]=7,n.split("").forEach(function(e){t[e]=e}),7!=a({},e)[r]||d(a({},t)).join("")!=n})?function(e,t){for(var r=y(e),n=arguments.length,o=1,a=m.f,i=g.f;o