altair-static 4.4.0 → 4.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/dist/{100.js → 304.js} +1 -1
- package/build/dist/3rdpartylicenses.txt +238 -0
- package/build/dist/471.js +1 -1
- package/build/dist/{267.js → 74.js} +1 -1
- package/build/dist/794.js +1 -1
- package/build/dist/main.js +1 -1
- package/build/index.js +1 -1
- package/package.json +4 -4
- package/src/index.ts +1 -1
- package/yarn-error.log +3396 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkaltair_app=self.webpackChunkaltair_app||[]).push([[
|
|
1
|
+
"use strict";(self.webpackChunkaltair_app=self.webpackChunkaltair_app||[]).push([[304],{21304:(se,Q,S)=>{S.r(Q),S.d(Q,{GraphQLWsSubscriptionProvider:()=>_});var H=S(71251),J=S(82475),h=S(8239);const E=Object.prototype.hasOwnProperty;function C(e){return"object"==typeof e&&null!==e}function O(e,n){return E.call(e,n)}function A(e,n){return E.call(e,n)&&C(e[n])}function w(e,n){return E.call(e,n)&&"string"==typeof e[n]}const K="graphql-transport-ws";var s=(()=>{return(e=s||(s={})).ConnectionInit="connection_init",e.ConnectionAck="connection_ack",e.Ping="ping",e.Pong="pong",e.Subscribe="subscribe",e.Next="next",e.Error="error",e.Complete="complete",s;var e})();function G(e){if(C(e)){if(!w(e,"type"))return!1;switch(e.type){case s.ConnectionInit:return!O(e,"payload")||void 0===e.payload||C(e.payload);case s.ConnectionAck:case s.Ping:case s.Pong:return!O(e,"payload")||void 0===e.payload||C(e.payload);case s.Subscribe:return w(e,"id")&&A(e,"payload")&&(!O(e.payload,"operationName")||null==e.payload.operationName||"string"==typeof e.payload.operationName)&&w(e.payload,"query")&&(!O(e.payload,"variables")||null==e.payload.variables||A(e.payload,"variables"))&&(!O(e.payload,"extensions")||null==e.payload.extensions||A(e.payload,"extensions"));case s.Next:return w(e,"id")&&A(e,"payload");case s.Error:return w(e,"id")&&function(e){return Array.isArray(e)&&e.length>0&&e.every(n=>"message"in n)}(e.payload);case s.Complete:return w(e,"id");default:return!1}}return!1}function V(e,n){if(G(e))return e;if("string"!=typeof e)throw new Error("Message not parsable");const l=JSON.parse(e,n);if(!G(l))throw new Error("Invalid message");return l}function N(e,n){if(!G(e))throw new Error("Cannot stringify invalid message");return JSON.stringify(e,n)}function v(e){return C(e)&&"code"in e&&"reason"in e}class _ extends H.q{createClient(){this.client=function(e){const{url:n,connectionParams:l,lazy:y=!0,onNonLazyError:R=console.error,lazyCloseTimeout:M=0,keepAlive:T=0,disablePong:ee,retryAttempts:q=5,retryWait:ne=function(){var t=(0,h.Z)(function*(c){let i=1e3;for(let o=0;o<c;o++)i*=2;yield new Promise(o=>setTimeout(o,i+Math.floor(2700*Math.random()+300)))});return function(c){return t.apply(this,arguments)}}(),isFatalConnectionProblem:te=(t=>!v(t)),on:r,webSocketImpl:Z,generateID:re=function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,u=>{const c=16*Math.random()|0;return("x"==u?c:3&c|8).toString(16)})},jsonMessageReplacer:z,jsonMessageReviver:oe}=e;let b;if(Z){if(!function(e){return"function"==typeof e&&"constructor"in e&&"CLOSED"in e&&"CLOSING"in e&&"CONNECTING"in e&&"OPEN"in e}(Z))throw new Error("Invalid WebSocket implementation provided");b=Z}else"undefined"!=typeof WebSocket?b=WebSocket:"undefined"!=typeof global?b=global.WebSocket||global.MozWebSocket:"undefined"!=typeof window&&(b=window.WebSocket||window.MozWebSocket);if(!b)throw new Error("WebSocket implementation missing");const k=b,p=(()=>{const t=(()=>{const c={};return{on:(i,o)=>(c[i]=o,()=>{delete c[i]}),emit(i){var o;"id"in i&&(null===(o=c[i.id])||void 0===o||o.call(c,i))}}})(),u={connecting:(null==r?void 0:r.connecting)?[r.connecting]:[],connected:(null==r?void 0:r.connected)?[r.connected]:[],ping:(null==r?void 0:r.ping)?[r.ping]:[],pong:(null==r?void 0:r.pong)?[r.pong]:[],message:(null==r?void 0:r.message)?[t.emit,r.message]:[t.emit],closed:(null==r?void 0:r.closed)?[r.closed]:[],error:(null==r?void 0:r.error)?[r.error]:[]};return{onMessage:t.on,on(c,i){const o=u[c];return o.push(i),()=>{o.splice(o.indexOf(i),1)}},emit(c,...i){for(const o of u[c])o(...i)}}})();let m,g=0,F=!1,I=0,U=!1;function j(){return D.apply(this,arguments)}function D(){return(D=(0,h.Z)(function*(){const[t,u]=yield null!=m?m:m=new Promise((o,x)=>(0,h.Z)(function*(){if(F){if(yield ne(I),!g)return m=void 0,x({code:1e3,reason:"All Subscriptions Gone"});I++}p.emit("connecting");const a=new k("function"==typeof n?yield n():n,K);let P;function W(){isFinite(T)&&T>0&&(clearTimeout(P),P=setTimeout(()=>{a.readyState===k.OPEN&&(a.send(N({type:s.Ping})),p.emit("ping",!1,void 0))},T))}a.onerror=f=>{p.emit("error",f)},a.onclose=f=>{m=void 0,clearTimeout(P),p.emit("closed",f),x(f)},a.onopen=(0,h.Z)(function*(){try{a.send(N({type:s.ConnectionInit,payload:"function"==typeof l?yield l():l},z)),W()}catch(f){a.close(4400,f instanceof Error?f.message:new Error(f).message)}});let L=!1;a.onmessage=({data:f})=>{try{const d=V(f,oe);if(p.emit("message",d),"ping"===d.type||"pong"===d.type)return p.emit(d.type,!0,d.payload),void("pong"===d.type?W():ee||(a.send(N(d.payload?{type:s.Pong,payload:d.payload}:{type:s.Pong})),p.emit("pong",!1,d.payload)));if(L)return;if(d.type!==s.ConnectionAck)throw new Error(`First message cannot be of type ${d.type}`);L=!0,p.emit("connected",a,d.payload),F=!1,I=0,o([a,new Promise((le,ie)=>a.addEventListener("close",ie))])}catch(d){a.close(4400,d instanceof Error?d.message:new Error(d).message)}}})());t.readyState===k.CLOSING&&(yield u);let c=()=>{};const i=new Promise(o=>c=o);return[t,c,Promise.race([i.then(()=>{if(!g){const o=()=>t.close(1e3,"Normal Closure");isFinite(M)&&M>0?setTimeout(()=>{!g&&t.readyState===k.OPEN&&o()},M):o()}}),u])]})).apply(this,arguments)}function B(t){if(v(t)&&[1002,1011,4400,4401,4409,4429].includes(t.code))throw t;if(U)return!1;if(v(t)&&1e3===t.code)return g>0;if(!q||I>=q||te(t))throw t;return F=!0}return y||(0,h.Z)(function*(){for(g++;;)try{const[,,t]=yield j();yield t}catch(t){try{if(!B(t))return}catch(u){return null==R?void 0:R(u)}}})(),{on:p.on,subscribe(t,u){const c=re();let i=!1,o=!1,x=()=>{g--,i=!0};return(0,h.Z)(function*(){for(g++;;)try{const[a,P,W]=yield j();if(i)return P();const L=p.onMessage(c,f=>{switch(f.type){case s.Next:return void u.next(f.payload);case s.Error:return o=!0,i=!0,u.error(f.payload),void x();case s.Complete:return i=!0,void x()}});return a.send(N({id:c,type:s.Subscribe,payload:t},z)),x=()=>{!i&&a.readyState===k.OPEN&&a.send(N({id:c,type:s.Complete},z)),g--,i=!0,P()},void(yield W.finally(L))}catch(a){if(!B(a))return}})().catch(u.error).then(()=>{o||u.complete()}),()=>{i||x()}},dispose:()=>(0,h.Z)(function*(){if(U=!0,m){const[t]=yield m;t.close(1e3,"Normal Closure")}})()}}({url:this.subscriptionUrl,connectionParams:this.connectionParams,on:{connected:()=>{var n,l;null==(l=null==(n=this.extraOptions)?void 0:n.onConnected)||l.call(n,void 0,void 0)},error:n=>{var l,y;null==(y=null==(l=this.extraOptions)?void 0:l.onConnected)||y.call(l,n,void 0)}}})}execute(n){if(this.createClient(),!this.client)throw new Error("Could not create subscription client!");return new J.y(l=>this.client.subscribe({query:n.query,variables:n.variables,operationName:n.operationName},{next:(...y)=>l.next(...y),error:(...y)=>l.error(...y),complete:()=>l.complete()}))}close(){var n;null==(n=this.client)||n.dispose(),this.client=void 0}}}}]);
|
|
@@ -1965,6 +1965,66 @@ Apache License
|
|
|
1965
1965
|
|
|
1966
1966
|
|
|
1967
1967
|
|
|
1968
|
+
dom-serializer
|
|
1969
|
+
MIT
|
|
1970
|
+
License
|
|
1971
|
+
|
|
1972
|
+
(The MIT License)
|
|
1973
|
+
|
|
1974
|
+
Copyright (c) 2014 The cheeriojs contributors
|
|
1975
|
+
|
|
1976
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
1977
|
+
|
|
1978
|
+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
1979
|
+
|
|
1980
|
+
THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
1981
|
+
|
|
1982
|
+
|
|
1983
|
+
domelementtype
|
|
1984
|
+
BSD-2-Clause
|
|
1985
|
+
Copyright (c) Felix Böhm
|
|
1986
|
+
All rights reserved.
|
|
1987
|
+
|
|
1988
|
+
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
|
|
1989
|
+
|
|
1990
|
+
Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
|
|
1991
|
+
|
|
1992
|
+
Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
|
|
1993
|
+
|
|
1994
|
+
THIS IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS,
|
|
1995
|
+
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
1996
|
+
|
|
1997
|
+
|
|
1998
|
+
domhandler
|
|
1999
|
+
BSD-2-Clause
|
|
2000
|
+
Copyright (c) Felix Böhm
|
|
2001
|
+
All rights reserved.
|
|
2002
|
+
|
|
2003
|
+
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
|
|
2004
|
+
|
|
2005
|
+
Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
|
|
2006
|
+
|
|
2007
|
+
Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
|
|
2008
|
+
|
|
2009
|
+
THIS IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS,
|
|
2010
|
+
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
2011
|
+
|
|
2012
|
+
|
|
2013
|
+
domutils
|
|
2014
|
+
BSD-2-Clause
|
|
2015
|
+
Copyright (c) Felix Böhm
|
|
2016
|
+
All rights reserved.
|
|
2017
|
+
|
|
2018
|
+
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
|
|
2019
|
+
|
|
2020
|
+
Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
|
|
2021
|
+
|
|
2022
|
+
Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
|
|
2023
|
+
|
|
2024
|
+
THIS IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS,
|
|
2025
|
+
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
2026
|
+
|
|
2027
|
+
|
|
1968
2028
|
emotion
|
|
1969
2029
|
MIT
|
|
1970
2030
|
MIT License
|
|
@@ -1990,6 +2050,21 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
|
1990
2050
|
SOFTWARE.
|
|
1991
2051
|
|
|
1992
2052
|
|
|
2053
|
+
entities
|
|
2054
|
+
BSD-2-Clause
|
|
2055
|
+
Copyright (c) Felix Böhm
|
|
2056
|
+
All rights reserved.
|
|
2057
|
+
|
|
2058
|
+
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
|
|
2059
|
+
|
|
2060
|
+
Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
|
|
2061
|
+
|
|
2062
|
+
Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
|
|
2063
|
+
|
|
2064
|
+
THIS IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS,
|
|
2065
|
+
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
2066
|
+
|
|
2067
|
+
|
|
1993
2068
|
es-abstract
|
|
1994
2069
|
MIT
|
|
1995
2070
|
The MIT License (MIT)
|
|
@@ -2052,6 +2127,19 @@ OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
|
2052
2127
|
PERFORMANCE OF THIS SOFTWARE.
|
|
2053
2128
|
|
|
2054
2129
|
|
|
2130
|
+
escape-string-regexp
|
|
2131
|
+
MIT
|
|
2132
|
+
MIT License
|
|
2133
|
+
|
|
2134
|
+
Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (https://sindresorhus.com)
|
|
2135
|
+
|
|
2136
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
2137
|
+
|
|
2138
|
+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
2139
|
+
|
|
2140
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
2141
|
+
|
|
2142
|
+
|
|
2055
2143
|
event-emitter
|
|
2056
2144
|
MIT
|
|
2057
2145
|
Copyright (C) 2012-2015 Mariusz Nowak (www.medikoo.com)
|
|
@@ -2709,6 +2797,27 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
|
2709
2797
|
SOFTWARE.
|
|
2710
2798
|
|
|
2711
2799
|
|
|
2800
|
+
htmlparser2
|
|
2801
|
+
MIT
|
|
2802
|
+
Copyright 2010, 2011, Chris Winberry <chris@winberry.net>. All rights reserved.
|
|
2803
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
2804
|
+
of this software and associated documentation files (the "Software"), to
|
|
2805
|
+
deal in the Software without restriction, including without limitation the
|
|
2806
|
+
rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
|
2807
|
+
sell copies of the Software, and to permit persons to whom the Software is
|
|
2808
|
+
furnished to do so, subject to the following conditions:
|
|
2809
|
+
|
|
2810
|
+
The above copyright notice and this permission notice shall be included in
|
|
2811
|
+
all copies or substantial portions of the Software.
|
|
2812
|
+
|
|
2813
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
2814
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
2815
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
2816
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
2817
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
2818
|
+
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
|
2819
|
+
IN THE SOFTWARE.
|
|
2820
|
+
|
|
2712
2821
|
ieee754
|
|
2713
2822
|
BSD-3-Clause
|
|
2714
2823
|
Copyright 2008 Fair Oaks Labs, Inc.
|
|
@@ -2816,6 +2925,31 @@ IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
|
|
2816
2925
|
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
2817
2926
|
|
|
2818
2927
|
|
|
2928
|
+
is-plain-object
|
|
2929
|
+
MIT
|
|
2930
|
+
The MIT License (MIT)
|
|
2931
|
+
|
|
2932
|
+
Copyright (c) 2014-2017, Jon Schlinkert.
|
|
2933
|
+
|
|
2934
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
2935
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
2936
|
+
in the Software without restriction, including without limitation the rights
|
|
2937
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
2938
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
2939
|
+
furnished to do so, subject to the following conditions:
|
|
2940
|
+
|
|
2941
|
+
The above copyright notice and this permission notice shall be included in
|
|
2942
|
+
all copies or substantial portions of the Software.
|
|
2943
|
+
|
|
2944
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
2945
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
2946
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
2947
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
2948
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
2949
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
2950
|
+
THE SOFTWARE.
|
|
2951
|
+
|
|
2952
|
+
|
|
2819
2953
|
is-promise
|
|
2820
2954
|
MIT
|
|
2821
2955
|
Copyright (c) 2014 Forbes Lindesay
|
|
@@ -3505,6 +3639,30 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
|
3505
3639
|
SOFTWARE.
|
|
3506
3640
|
|
|
3507
3641
|
|
|
3642
|
+
nanoid
|
|
3643
|
+
MIT
|
|
3644
|
+
The MIT License (MIT)
|
|
3645
|
+
|
|
3646
|
+
Copyright 2017 Andrey Sitnik <andrey@sitnik.ru>
|
|
3647
|
+
|
|
3648
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
|
3649
|
+
this software and associated documentation files (the "Software"), to deal in
|
|
3650
|
+
the Software without restriction, including without limitation the rights to
|
|
3651
|
+
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
|
3652
|
+
the Software, and to permit persons to whom the Software is furnished to do so,
|
|
3653
|
+
subject to the following conditions:
|
|
3654
|
+
|
|
3655
|
+
The above copyright notice and this permission notice shall be included in all
|
|
3656
|
+
copies or substantial portions of the Software.
|
|
3657
|
+
|
|
3658
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
3659
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
|
3660
|
+
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
|
3661
|
+
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
|
3662
|
+
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
|
3663
|
+
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
3664
|
+
|
|
3665
|
+
|
|
3508
3666
|
new-github-issue-url
|
|
3509
3667
|
MIT
|
|
3510
3668
|
MIT License
|
|
@@ -3763,9 +3921,78 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
|
3763
3921
|
SOFTWARE.
|
|
3764
3922
|
|
|
3765
3923
|
|
|
3924
|
+
parse-srcset
|
|
3925
|
+
MIT
|
|
3926
|
+
The MIT License (MIT)
|
|
3927
|
+
|
|
3928
|
+
Copyright (c) 2014 Alex Bell
|
|
3929
|
+
|
|
3930
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
3931
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
3932
|
+
in the Software without restriction, including without limitation the rights
|
|
3933
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
3934
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
3935
|
+
furnished to do so, subject to the following conditions:
|
|
3936
|
+
|
|
3937
|
+
The above copyright notice and this permission notice shall be included in all
|
|
3938
|
+
copies or substantial portions of the Software.
|
|
3939
|
+
|
|
3940
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
3941
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
3942
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
3943
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
3944
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
3945
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
3946
|
+
SOFTWARE.
|
|
3947
|
+
|
|
3948
|
+
|
|
3949
|
+
|
|
3950
|
+
picocolors
|
|
3951
|
+
ISC
|
|
3952
|
+
ISC License
|
|
3953
|
+
|
|
3954
|
+
Copyright (c) 2021 Alexey Raspopov, Kostiantyn Denysov, Anton Verinov
|
|
3955
|
+
|
|
3956
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
3957
|
+
purpose with or without fee is hereby granted, provided that the above
|
|
3958
|
+
copyright notice and this permission notice appear in all copies.
|
|
3959
|
+
|
|
3960
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
|
|
3961
|
+
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
|
|
3962
|
+
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
|
|
3963
|
+
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
|
3964
|
+
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
|
3965
|
+
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
|
3966
|
+
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
|
3967
|
+
|
|
3968
|
+
|
|
3766
3969
|
popper.js
|
|
3767
3970
|
MIT
|
|
3768
3971
|
|
|
3972
|
+
postcss
|
|
3973
|
+
MIT
|
|
3974
|
+
The MIT License (MIT)
|
|
3975
|
+
|
|
3976
|
+
Copyright 2013 Andrey Sitnik <andrey@sitnik.ru>
|
|
3977
|
+
|
|
3978
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
|
3979
|
+
this software and associated documentation files (the "Software"), to deal in
|
|
3980
|
+
the Software without restriction, including without limitation the rights to
|
|
3981
|
+
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
|
3982
|
+
the Software, and to permit persons to whom the Software is furnished to do so,
|
|
3983
|
+
subject to the following conditions:
|
|
3984
|
+
|
|
3985
|
+
The above copyright notice and this permission notice shall be included in all
|
|
3986
|
+
copies or substantial portions of the Software.
|
|
3987
|
+
|
|
3988
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
3989
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
|
3990
|
+
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
|
3991
|
+
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
|
3992
|
+
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
|
3993
|
+
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
3994
|
+
|
|
3995
|
+
|
|
3769
3996
|
prettier
|
|
3770
3997
|
MIT
|
|
3771
3998
|
Copyright © James Long and contributors
|
|
@@ -4055,6 +4282,17 @@ Apache-2.0
|
|
|
4055
4282
|
|
|
4056
4283
|
|
|
4057
4284
|
|
|
4285
|
+
sanitize-html
|
|
4286
|
+
MIT
|
|
4287
|
+
Copyright (c) 2013, 2014, 2015 P'unk Avenue LLC
|
|
4288
|
+
|
|
4289
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
4290
|
+
|
|
4291
|
+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
4292
|
+
|
|
4293
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
4294
|
+
|
|
4295
|
+
|
|
4058
4296
|
sortablejs
|
|
4059
4297
|
MIT
|
|
4060
4298
|
MIT License
|
package/build/dist/471.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkaltair_app=self.webpackChunkaltair_app||[]).push([[471],{95471:(F,y,u)=>{u.r(y),u.d(y,{DocUtils:()=>O});var I=u(8239),E=u(67729),b=u(70708),A=u(51316),M=u(62762);class O{constructor(e){this.searchIndex=[],e&&this.updateSchema(e)}updateSchema(e){this.schema=(0,b.I)(e)}generateSearchIndex(){if(!this.schema)return[];let e=[];(0,A.Z)(this.schema).forEach(t=>{e=[...e,...this.getTypeIndices(t,!0,e)]});const r=this.schema.getTypeMap();return Object.keys(r).forEach(t=>{/^__/.test(t)||(e=[...e,...this.getTypeIndices(r[t],!1,e)])}),this.searchIndex=e,e}getFieldsIndices(e,i,r,t){let s=[];return Object.keys(e).forEach(n=>{const a=e[n],c={search:a.name,name:a.name,description:a.description?a.description:"",args:a.args?a.args.map(h=>({name:h.name,description:h.description})):[],cat:"field",type:i.name,isQuery:r,highlight:"field"};s=[...s,c],a.args&&a.args.length&&a.args.forEach(h=>{s=[...s,{...c,search:h.name,highlight:"argument"}]}),a.type&&(s=[...s,...this.getTypeIndices(a.type,!1,[...t,...s]).filter(h=>!!h)])}),s}getTypeIndices(e,i,r){let t=null;if(!e.name)return[];if(r.some(n=>n.name===e.name&&"type"===n.cat))return[];e.getFields&&(t=e.getFields());const s=[{search:e.name,name:e.name,cat:"type",description:e.description?e.description:"",isRoot:i,highlight:"type"}];return t?[...s,...this.getFieldsIndices(t,e,i,[...r,...s]).filter(n=>!!n)]:s}searchDocs(e){return this.searchIndex.length?new E.Z(this.searchIndex,{keys:["search"],threshold:.4}).search(e).map(r=>r.item):[]}generateQuery(e,i,r){let t="",s=!1;if(!this.schema)return;switch(i){case this.schema.getQueryType()&&this.schema.getQueryType().name:t+="query";break;case this.schema.getMutationType()&&this.schema.getMutationType().name:t+="mutation";break;case this.schema.getSubscriptionType()&&this.schema.getSubscriptionType().name:t+="subscription";break;default:t+=`fragment _____ on ${i}`,s=!0}const n=this.generateFieldData(e,i,[],1,r);if(!n)return;t+=`{\n${n.query}\n}`;const a={...n.meta};return a.hasArgs=s||a.hasArgs,{query:t,meta:a}}generateQueryV2(e,i,r){var t=this;return(0,I.Z)(function*(){if(!t.schema)return;const s=yield(0,M.Ku)(t.schema,e,i,{maxDepth:r.addQueryDepthLimit,tabSize:r.tabSize});return{query:s.generated,meta:s.metas.find(n=>n.hasArgs)||{}}})()}cleanName(e){return e.replace(/[\[\]!]/g,"")}generateFieldData(e,i,r,t,s={}){if(!(e&&i&&r&&this.schema))return{query:"",meta:{}};const n=s.tabSize||2,a=this.schema.getType(i),c=a&&a.getFields()[e];if(!c)return{query:"",meta:{}};const h={hasArgs:!1};let d=" ".repeat(t*n)+c.name;c.args&&c.args.length&&(h.hasArgs=!0,d+=`(${c.args.reduce((
|
|
1
|
+
"use strict";(self.webpackChunkaltair_app=self.webpackChunkaltair_app||[]).push([[471],{95471:(F,y,u)=>{u.r(y),u.d(y,{DocUtils:()=>O});var I=u(8239),E=u(67729),b=u(70708),A=u(51316),M=u(62762);class O{constructor(e){this.searchIndex=[],e&&this.updateSchema(e)}updateSchema(e){this.schema=(0,b.I)(e)}generateSearchIndex(){if(!this.schema)return[];let e=[];(0,A.Z)(this.schema).forEach(t=>{e=[...e,...this.getTypeIndices(t,!0,e)]});const r=this.schema.getTypeMap();return Object.keys(r).forEach(t=>{/^__/.test(t)||(e=[...e,...this.getTypeIndices(r[t],!1,e)])}),this.searchIndex=e,e}getFieldsIndices(e,i,r,t){let s=[];return Object.keys(e).forEach(n=>{const a=e[n],c={search:a.name,name:a.name,description:a.description?a.description:"",args:a.args?a.args.map(h=>({name:h.name,description:h.description})):[],cat:"field",type:i.name,isQuery:r,highlight:"field"};s=[...s,c],a.args&&a.args.length&&a.args.forEach(h=>{s=[...s,{...c,search:h.name,highlight:"argument"}]}),a.type&&(s=[...s,...this.getTypeIndices(a.type,!1,[...t,...s]).filter(h=>!!h)])}),s}getTypeIndices(e,i,r){let t=null;if(!e.name)return[];if(r.some(n=>n.name===e.name&&"type"===n.cat))return[];e.getFields&&(t=e.getFields());const s=[{search:e.name,name:e.name,cat:"type",description:e.description?e.description:"",isRoot:i,highlight:"type"}];return t?[...s,...this.getFieldsIndices(t,e,i,[...r,...s]).filter(n=>!!n)]:s}searchDocs(e){return this.searchIndex.length?new E.Z(this.searchIndex,{keys:["search"],threshold:.4}).search(e).map(r=>r.item):[]}generateQuery(e,i,r){let t="",s=!1;if(!this.schema)return;switch(i){case this.schema.getQueryType()&&this.schema.getQueryType().name:t+="query";break;case this.schema.getMutationType()&&this.schema.getMutationType().name:t+="mutation";break;case this.schema.getSubscriptionType()&&this.schema.getSubscriptionType().name:t+="subscription";break;default:t+=`fragment _____ on ${i}`,s=!0}const n=this.generateFieldData(e,i,[],1,r);if(!n)return;t+=`{\n${n.query}\n}`;const a={...n.meta};return a.hasArgs=s||a.hasArgs,{query:t,meta:a}}generateQueryV2(e,i,r){var t=this;return(0,I.Z)(function*(){if(!t.schema)return;const s=yield(0,M.Ku)(t.schema,e,i,{maxDepth:r.addQueryDepthLimit,tabSize:r.tabSize});return{query:s.generated,meta:s.metas.find(n=>n.hasArgs)||{}}})()}cleanName(e){return e.replace(/[\[\]!]/g,"")}generateFieldData(e,i,r,t,s={}){if(!(e&&i&&r&&this.schema))return{query:"",meta:{}};const n=s.tabSize||2,a=this.schema.getType(i),c=a&&a.getFields()[e];if(!c)return{query:"",meta:{}};const h={hasArgs:!1};let d=" ".repeat(t*n)+c.name;c.args&&c.args.length&&(h.hasArgs=!0,d+=`(${c.args.reduce((f,l)=>f+", "+l.name+": ______","").substring(2)})`);const m=this.cleanName(c.type.inspect()),o=this.schema.getType(m);if(r.filter(g=>g.type===m).length)return{query:"",meta:{}};if(t>=(s.addQueryDepthLimit||0))return{query:"",meta:{}};const p=o&&o.getFields&&o.getFields();let _="";return p&&(_=Object.keys(p).reduce((g,f)=>{if(r.filter(T=>T.name===f&&T.type===m).length)return"";const l=this.generateFieldData(f,m,[...r,{name:e,type:m}],t+1,s);if(!l)return g;const D=l.query;return h.hasArgs=h.hasArgs||l.meta.hasArgs||!1,D?g+"\n"+D:g},"").substring(1)),_&&(d+=`{\n${_}\n`,d+=" ".repeat(t*n)+"}"),{query:d,meta:h}}}}}]);
|