minidev 0.0.3 → 0.0.4

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/package.json CHANGED
@@ -29,7 +29,7 @@
29
29
  "reflect-metadata": "^0.1.13",
30
30
  "uuid": "8.3.2"
31
31
  },
32
- "version": "0.0.3",
32
+ "version": "0.0.4",
33
33
  "types": "index.d.ts",
34
34
  "bin": {
35
35
  "minidev": "bin/minidev.js"
@@ -0,0 +1,180 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <link rel="manifest" href="manifest.json" />
5
+ <meta charset="utf-8">
6
+ <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=0, viewport-fit=cover"/>
7
+ <link rel="stylesheet" href="https://appx/af-appx.min.css" />
8
+ <style>
9
+ body {
10
+ background: transparent;
11
+ }
12
+ .a-cp-wrapper {
13
+ width: 100%;
14
+ height: 100vh;
15
+ display: -webkit-box;
16
+ display: -webkit-flex;
17
+ display: flex;
18
+ -webkit-box-align: center;
19
+ -webkit-align-items: center;
20
+ align-items: center;
21
+ -webkit-box-pack: center;
22
+ -webkit-justify-content: center;
23
+ justify-content: center;
24
+ flex-direction: column;
25
+ }
26
+ .a-cp-loading-indicator {
27
+ display: inline-block;
28
+ }
29
+ .a-cp-loading-item {
30
+ width: 10px;
31
+ height: 10px;
32
+ display: inline-block;
33
+ position: relative;
34
+ -webkit-transform: scale(0);
35
+ transform: scale(0);
36
+ opacity: 0;
37
+ -webkit-animation: ACPAULoadingScaleColorBoth 0.766s cubic-bezier(0.42, 0, 0.58, 1) infinite alternate;
38
+ animation: ACPAULoadingScaleColorBoth 0.766s cubic-bezier(0.42, 0, 0.58, 1) infinite alternate;
39
+ }
40
+ .a-cp-loading-item:before {
41
+ content: ' ';
42
+ position: absolute;
43
+ top: 50%;
44
+ left: 50%;
45
+ margin-left: -6.38px;
46
+ margin-top: -9.56px;
47
+ width: 12.75px;
48
+ height: 19.13px;
49
+ -webkit-transform: skew(-0.46rad) scale(0.5);
50
+ transform: skew(-.46rad) scale(.5);
51
+ -webkit-transform-origin: center center;
52
+ transform-origin: center center;
53
+ border-radius: 1px 2px 2px 3px;
54
+ background-color: #108ee9;
55
+ }
56
+
57
+ .a-cp-loading-item:nth-child(1) {
58
+ -webkit-animation-delay: -2.2s;
59
+ animation-delay: -2.2s
60
+ }
61
+ .a-cp-loading-item:nth-child(2) {
62
+ -webkit-animation-delay: -1.966s;
63
+ animation-delay: -1.966s
64
+ }
65
+ .a-cp-loading-item:nth-child(3) {
66
+ -webkit-animation-delay: -1.666s;
67
+ animation-delay: -1.666s
68
+ }
69
+ .a-cp-back-btn{
70
+ margin-top: 20px;
71
+ size: 20px;
72
+ border:1px solid;
73
+ border-color: #108ee9;
74
+ border-radius: 2px;
75
+ padding: 10px;
76
+ color: #108ee9;
77
+ display: none;
78
+ }
79
+ @keyframes ACPAULoadingScaleColorBoth {
80
+ 0% {
81
+ -webkit-transform: scale(0);
82
+ transform: scale(0);
83
+ opacity: 0
84
+ }
85
+
86
+ 35% {
87
+ -webkit-transform: scale(.12);
88
+ transform: scale(.12);
89
+ opacity: .001
90
+ }
91
+
92
+ 100% {
93
+ -webkit-transform: scale(1);
94
+ transform: scale(1);
95
+ opacity: 1
96
+ }
97
+ }
98
+ </style>
99
+ </head>
100
+ <body>
101
+
102
+ <div id="__react-content">
103
+ <div class="a-cp-wrapper">
104
+ <div class="a-cp-loading-indicator" aria-hidden="true">
105
+ <div class="a-cp-loading-item"></div>
106
+ <div class="a-cp-loading-item"></div>
107
+ <div class="a-cp-loading-item"></div>
108
+ </div>
109
+ <div id="btnRefresh" onclick="reloadPage()" class="a-cp-back-btn"> 返回 </div>
110
+ </div>
111
+ </div>
112
+ <script>
113
+ var userAgent = navigator.userAgent;
114
+ var androidMatch = userAgent.match(/\bAndroid (\d+)/);
115
+ var isAndroid = !!androidMatch;
116
+ var androidVersion = parseInt(androidMatch && androidMatch[1]) || 0;
117
+ var isUC = / UCBrowser\//.test(userAgent);
118
+
119
+ var _systemVersion = userAgent.match(/AlipayClient\/(\d+\.\d+\.\d+)/);
120
+ var systemVersion = (_systemVersion && _systemVersion[1] || '10.1.5').split('.');
121
+ var scriptTag = '';
122
+ var crossoriginTag = '';
123
+
124
+ if ((!isAndroid || (isUC || androidVersion >= 5)) && (
125
+ +systemVersion[0] > 10
126
+ || (+systemVersion[0] == 10 && +systemVersion[1] > 1)
127
+ || (+systemVersion[0] == 10 && +systemVersion[1] == 1 && +systemVersion[2] >= 8))
128
+ ) {
129
+ scriptTag = '#nebula-addcors';
130
+ crossoriginTag = ' crossorigin';
131
+ }
132
+ if (!window.Promise) {
133
+ document.writeln('<script src="https://appx/es6-promise.min.js' + scriptTag + '"' + crossoriginTag +'><' + '/' + 'script>');
134
+ }
135
+ if (!window.Set || !window.Map) {
136
+ document.writeln('<script src="https://gw.alipayobjects.com/os/rmsportal/hxolnkRHpppUOYwPNpsv.js' + scriptTag + '"' + crossoriginTag +'><' + '/' + 'script>');
137
+ }
138
+ </script>
139
+ <script>
140
+ if(self.ES6Promise) {
141
+ self.ES6Promise.polyfill();
142
+ }
143
+ </script>
144
+ <script>
145
+ document.writeln('<script src="https://appx/af-appx.min.js' + scriptTag + '"' + crossoriginTag +'>' + '<' + '/' + 'script>');
146
+ </script>
147
+ <script src="index.js"></script>
148
+ <script>
149
+ function reloadPage() {
150
+ if(AlipayJSBridge){
151
+ AlipayJSBridge.call('popWindow');
152
+ }
153
+ }
154
+ (function () {
155
+ function checkLoading() {
156
+ if(document.getElementsByClassName("a-cp-loading-indicator") && AlipayJSBridge){
157
+ var btnRefresh =document.getElementById("btnRefresh");
158
+ if(btnRefresh){
159
+ btnRefresh.style.display="block"
160
+ }
161
+
162
+ }
163
+ }
164
+ setTimeout(checkLoading,8000)
165
+ function onReady(callback) {
166
+ document.addEventListener('AlipayJSBridgeReady', function () {
167
+ callback({
168
+ bridge: window.AlipayJSBridge
169
+ });
170
+ });
171
+ }
172
+
173
+ window.bootstrapApp({
174
+ worker:'index.worker.js?version=WORKER_HASH',
175
+ onReady: onReady
176
+ });
177
+ })();
178
+ </script>
179
+ </body>
180
+ </html>
@@ -0,0 +1,216 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <link rel="manifest" href="manifest.json" />
5
+ <meta charset="utf-8">
6
+ <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=0, viewport-fit=cover"/>
7
+ <link rel="stylesheet" href="https://appx/af-appx.min.css" />
8
+ <style type="text/css">
9
+ body {
10
+ background: transparent;
11
+ }
12
+ .loading-wrapper {
13
+ width: 100%;
14
+ height: 100vh;
15
+ display: -webkit-box;
16
+ display: -webkit-flex;
17
+ display: flex;
18
+ -webkit-box-align: center;
19
+ -webkit-align-items: center;
20
+ align-items: center;
21
+ -webkit-box-pack: center;
22
+ -webkit-justify-content: center;
23
+ justify-content: center;
24
+ }
25
+ @keyframes load-show {
26
+ 0% {
27
+ opacity: 0;
28
+ }
29
+ 100% {
30
+ opacity: 1;
31
+ }
32
+ }
33
+ @-webkit-keyframes load-show {
34
+ 0% {
35
+ opacity: 0;
36
+ }
37
+ 100% {
38
+ opacity: 1;
39
+ }
40
+ }
41
+ .load-spinner {
42
+ position: relative;
43
+ opacity: 0;
44
+ width: 128px;
45
+ height: 128px;
46
+ -webkit-transform: translate(-50%, -50%) scale(.64) translate(50%, 50%);
47
+ transform: translate(-50%, -50%) scale(.64) translate(50%, 50%);
48
+ -webkit-transition: opacity 0s ease;
49
+ transition: opacity 0s ease;
50
+ -webkit-animation: load-show 0s 1 linear 0s;
51
+ animation: load-show 0s 1 linear 0s;
52
+ -webkit-animation-fill-mode: forwards;
53
+ animation-fill-mode: forwards;
54
+ -webkit-animation-delay: 2s;
55
+ animation-delay: 2s;
56
+ }
57
+ @keyframes load-spinner {
58
+ 0% {
59
+ opacity: 1;
60
+ }
61
+ 100% {
62
+ opacity: 0;
63
+ }
64
+ }
65
+ @-webkit-keyframes load-spinner {
66
+ 0% {
67
+ opacity: 1;
68
+ }
69
+ 100% {
70
+ opacity: 0;
71
+ }
72
+ }
73
+ .load-spinner div {
74
+ left: 94px;
75
+ top: 48px;
76
+ position: absolute;
77
+ -webkit-animation: load-spinner linear 1s infinite;
78
+ animation: load-spinner linear 1s infinite;
79
+ background: rgba(29, 14, 11, .67);
80
+ width: 4px;
81
+ height: 9px;
82
+ border-radius: 35%;
83
+ -webkit-transform-origin: 50% 200%;
84
+ transform-origin: 50% 200%;
85
+ }
86
+ .load-spinner div:nth-child(1) {
87
+ -webkit-transform: rotate(0deg);
88
+ transform: rotate(0deg);
89
+ -webkit-animation-delay: -0.916666666666667s;
90
+ animation-delay: -0.916666666666667s;
91
+ }
92
+ .load-spinner div:nth-child(2) {
93
+ -webkit-transform: rotate(30deg);
94
+ transform: rotate(30deg);
95
+ -webkit-animation-delay: -0.833333333333333s;
96
+ animation-delay: -0.833333333333333s;
97
+ }
98
+ .load-spinner div:nth-child(3) {
99
+ -webkit-transform: rotate(60deg);
100
+ transform: rotate(60deg);
101
+ -webkit-animation-delay: -0.75s;
102
+ animation-delay: -0.75s;
103
+ }
104
+ .load-spinner div:nth-child(4) {
105
+ -webkit-transform: rotate(90deg);
106
+ transform: rotate(90deg);
107
+ -webkit-animation-delay: -0.666666666666667s;
108
+ animation-delay: -0.666666666666667s;
109
+ }
110
+ .load-spinner div:nth-child(5) {
111
+ -webkit-transform: rotate(120deg);
112
+ transform: rotate(120deg);
113
+ -webkit-animation-delay: -0.583333333333333s;
114
+ animation-delay: -0.583333333333333s;
115
+ }
116
+ .load-spinner div:nth-child(6) {
117
+ -webkit-transform: rotate(150deg);
118
+ transform: rotate(150deg);
119
+ -webkit-animation-delay: -0.5s;
120
+ animation-delay: -0.5s;
121
+ }
122
+ .load-spinner div:nth-child(7) {
123
+ -webkit-transform: rotate(180deg);
124
+ transform: rotate(180deg);
125
+ -webkit-animation-delay: -0.416666666666667s;
126
+ animation-delay: -0.416666666666667s;
127
+ }
128
+ .load-spinner div:nth-child(8) {
129
+ -webkit-transform: rotate(210deg);
130
+ transform: rotate(210deg);
131
+ -webkit-animation-delay: -0.333333333333333s;
132
+ animation-delay: -0.333333333333333s;
133
+ }
134
+ .load-spinner div:nth-child(9) {
135
+ -webkit-transform: rotate(240deg);
136
+ transform: rotate(240deg);
137
+ -webkit-animation-delay: -0.25s;
138
+ animation-delay: -0.25s;
139
+ }
140
+ .load-spinner div:nth-child(10) {
141
+ -webkit-transform: rotate(270deg);
142
+ transform: rotate(270deg);
143
+ -webkit-animation-delay: -0.166666666666667s;
144
+ animation-delay: -0.166666666666667s;
145
+ }
146
+ .load-spinner div:nth-child(11) {
147
+ -webkit-transform: rotate(300deg);
148
+ transform: rotate(300deg);
149
+ -webkit-animation-delay: -0.083333333333333s;
150
+ animation-delay: -0.083333333333333s;
151
+ }
152
+ .load-spinner div:nth-child(12) {
153
+ -webkit-transform: rotate(330deg);
154
+ transform: rotate(330deg);
155
+ -webkit-animation-delay: 0s;
156
+ animation-delay: 0s;
157
+ }
158
+ </style>
159
+ </head>
160
+ <body>
161
+
162
+ <div id="__react-content">
163
+ <div class="loading-wrapper">
164
+ <div class="load-spinner">
165
+ <div></div>
166
+ <div></div>
167
+ <div></div>
168
+ <div></div>
169
+ <div></div>
170
+ <div></div>
171
+ <div></div>
172
+ <div></div>
173
+ <div></div>
174
+ <div></div>
175
+ <div></div>
176
+ <div></div>
177
+ </div>
178
+ </div>
179
+ </div>
180
+ <script>
181
+ var scriptTag = '';
182
+ var crossoriginTag = '';
183
+ if (!window.Promise) {
184
+ document.writeln('<script src="https://appx/es6-promise.min.js' + scriptTag + '"' + crossoriginTag +'><' + '/' + 'script>');
185
+ }
186
+ if (!window.Set || !window.Map) {
187
+ document.writeln('<script src="https://gw.alipayobjects.com/os/rmsportal/hxolnkRHpppUOYwPNpsv.js' + scriptTag + '"' + crossoriginTag +'><' + '/' + 'script>');
188
+ }
189
+ </script>
190
+ <script>
191
+ if(self.ES6Promise) {
192
+ self.ES6Promise.polyfill();
193
+ }
194
+ </script>
195
+ <script>
196
+ document.writeln('<script src="https://appx/af-appx.min.js' + scriptTag + '"' + crossoriginTag +'>' + '<' + '/' + 'script>');
197
+ </script>
198
+ <script src="index.js"></script>
199
+ <script>
200
+ (function () {
201
+ function onReady(callback) {
202
+ document.addEventListener('AlipayJSBridgeReady', function () {
203
+ callback({
204
+ bridge: window.AlipayJSBridge
205
+ });
206
+ });
207
+ }
208
+
209
+ window.bootstrapApp({
210
+ worker:'index.worker.js?version=WORKER_HASH',
211
+ onReady: onReady
212
+ });
213
+ })();
214
+ </script>
215
+ </body>
216
+ </html>
@@ -0,0 +1,50 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <link rel="manifest" href="manifest.json" />
5
+ <meta charset="utf-8">
6
+ <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=0, viewport-fit=cover"/>
7
+ <link rel="stylesheet" href="https://appx/af-appx.min.css" />
8
+ <style>
9
+ body {
10
+ background: transparent;
11
+ }
12
+ </style>
13
+ </head>
14
+ <body>
15
+
16
+ <div id="__react-content">
17
+ </div>
18
+ <script>
19
+ if (!window.Promise) {
20
+ document.writeln('<script src="https://gw.alipayobjects.com/as/g/appx_release/deps/1.0.1/es6-promise.js#nebula-addcors" crossorigin' + '>' + '<' + '/' + 'script>');
21
+ }
22
+ if (!window.Set || !window.Map) {
23
+ document.writeln('<script src="https://gw.alipayobjects.com/as/g/appx_release/deps/1.0.0/es6-set-map.js#nebula-addcors" crossorigin' + '>' + '<' + '/' + 'script>');
24
+ }
25
+ </script>
26
+ <script>
27
+ if(self.ES6Promise) {
28
+ self.ES6Promise.polyfill();
29
+ }
30
+ </script>
31
+ <script src="https://appx/af-appx.min.js#nebula-addcors" crossorigin data-from="cli"></script>
32
+ <script src="index.js"></script>
33
+ <script>
34
+ (function () {
35
+ function onReady(callback) {
36
+ document.addEventListener('AlipayJSBridgeReady', function () {
37
+ callback({
38
+ bridge: window.AlipayJSBridge
39
+ });
40
+ });
41
+ }
42
+
43
+ window.bootstrapApp({
44
+ worker: 'index.worker.js?version=WORKER_HASH',
45
+ onReady: onReady
46
+ });
47
+ })();
48
+ </script>
49
+ </body>
50
+ </html>
@@ -0,0 +1,12 @@
1
+ {
2
+ "window": {
3
+ "defaultTitle": "Error"
4
+ },
5
+ "pages": ["pages/index/index"],
6
+ "launchParams": {
7
+ "pages/index/index": {
8
+ "defaultTitle": "Error"
9
+ }
10
+ },
11
+ "prerenderPage": "index.html"
12
+ }
@@ -0,0 +1,31 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+
4
+ <head>
5
+ <meta charset="utf-8">
6
+ <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=0" />
7
+ <meta http-equiv="X-UA-Compatible" content="IE=edge" />
8
+
9
+ <style>
10
+ body {
11
+ background: transparent;
12
+ }
13
+ </style>
14
+ </head>
15
+
16
+ <body style="margin: 0px; max-width: 100vw;">
17
+ <div style="width: 100%; height: 100%; box-sizing: border-box; text-align: center; background-color: white;">
18
+ <div style="position: relative; display: inline-flex; flex-direction: column; height: 100%; width: 1024px; max-width: 100%; overflow: hidden auto; padding: 0.5rem; box-sizing: border-box; text-align: left; font-family: Consolas, Menlo, monospace; font-size: 11px; word-break: break-word; line-height: 1.5; color: black;">
19
+ <div style="font-size: 2em; font-family: sans-serif; color: rgb(206, 17, 38); margin: 0px 2rem 0.75rem 0px; flex: 0 0 auto; max-height: 50%; overflow: auto;">Failed to compile</div>
20
+ <div>
21
+ <!-- 不要换行,会影响pre输出 -->
22
+ <pre style="position: relative; display: block; padding: 0.5em; margin-top: 0.5em; margin-bottom: 0.5em; overflow-x: auto; white-space: pre-wrap; border-radius: 0.25rem; background-color: rgba(206, 17, 38, 0.05); color: inherit;"><code style="font-family: Consolas, Menlo, monospace;"><span data-ansi-line="true"><span id="j_errContent"><%- error %></span></span></code></pre>
23
+ </div>
24
+ </div>
25
+ </div>
26
+ <script>
27
+ var errContent = document.getElementById('j_errContent').innerText;
28
+ errContent && console.error(errContent);
29
+ </script>
30
+ </body>
31
+ </html>