@cloudtower/parrot 0.32.42 → 0.32.44
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/dist/esm/index.js +104 -42
- package/dist/esm/stats1.html +1 -1
- package/dist/locales/en-US/index.d.ts +19 -0
- package/dist/locales/index.d.ts +31 -0
- package/dist/locales/zh-CN/index.d.ts +12 -0
- package/dist/umd/index.js +104 -42
- package/dist/umd/stats1.html +1 -1
- package/package.json +2 -2
package/dist/esm/index.js
CHANGED
@@ -29,16 +29,16 @@ var calculation$1 = "Computing";
|
|
29
29
|
var on$1 = "On";
|
30
30
|
var error_message$1 = "Error Message";
|
31
31
|
var retry$1 = "Retry";
|
32
|
-
var week_abbreviation$
|
33
|
-
var day_abbreviation$
|
34
|
-
var hour_abbreviation$
|
35
|
-
var minute_abbreviation$
|
36
|
-
var second_abbreviation$
|
37
|
-
var week$
|
38
|
-
var day$
|
39
|
-
var hour$
|
40
|
-
var minute$
|
41
|
-
var second$
|
32
|
+
var week_abbreviation$3 = "week";
|
33
|
+
var day_abbreviation$3 = "day";
|
34
|
+
var hour_abbreviation$3 = "h";
|
35
|
+
var minute_abbreviation$3 = "min";
|
36
|
+
var second_abbreviation$3 = "sec";
|
37
|
+
var week$3 = "Week";
|
38
|
+
var day$3 = "Day";
|
39
|
+
var hour$3 = "Hour";
|
40
|
+
var minute$3 = "Minute";
|
41
|
+
var second$3 = "Second";
|
42
42
|
var monday$1 = "Monday";
|
43
43
|
var tuesday$1 = "Tuesday";
|
44
44
|
var wednesday$1 = "Wednesday";
|
@@ -87,16 +87,16 @@ var common$1 = {
|
|
87
87
|
on: on$1,
|
88
88
|
error_message: error_message$1,
|
89
89
|
retry: retry$1,
|
90
|
-
week_abbreviation: week_abbreviation$
|
91
|
-
day_abbreviation: day_abbreviation$
|
92
|
-
hour_abbreviation: hour_abbreviation$
|
93
|
-
minute_abbreviation: minute_abbreviation$
|
94
|
-
second_abbreviation: second_abbreviation$
|
95
|
-
week: week$
|
96
|
-
day: day$
|
97
|
-
hour: hour$
|
98
|
-
minute: minute$
|
99
|
-
second: second$
|
90
|
+
week_abbreviation: week_abbreviation$3,
|
91
|
+
day_abbreviation: day_abbreviation$3,
|
92
|
+
hour_abbreviation: hour_abbreviation$3,
|
93
|
+
minute_abbreviation: minute_abbreviation$3,
|
94
|
+
second_abbreviation: second_abbreviation$3,
|
95
|
+
week: week$3,
|
96
|
+
day: day$3,
|
97
|
+
hour: hour$3,
|
98
|
+
minute: minute$3,
|
99
|
+
second: second$3,
|
100
100
|
monday: monday$1,
|
101
101
|
tuesday: tuesday$1,
|
102
102
|
wednesday: wednesday$1,
|
@@ -305,10 +305,48 @@ var metric$1 = {
|
|
305
305
|
max: max$1
|
306
306
|
};
|
307
307
|
|
308
|
+
var week_abbreviation$2 = "<0>{count}</0> <1>week</1>";
|
309
|
+
var day_abbreviation$2 = "<0>{count}</0> <1>day</1>";
|
310
|
+
var week_abbreviation_plural = "<0>{count}</0> <1>weeks</1>";
|
311
|
+
var day_abbreviation_plural = "<0>{count}</0> <1>days</1>";
|
312
|
+
var hour_abbreviation$2 = "<0>{count}</0> <1>h</1>";
|
313
|
+
var minute_abbreviation$2 = "<0>{count}</0> <1>min</1>";
|
314
|
+
var second_abbreviation$2 = "<0>{count}</0> <1>sec</1>";
|
315
|
+
var week_plural = "<0>{count}</0> <1>Weeks</1>";
|
316
|
+
var day_plural = "<0>{count}</0> <1>Days</1>";
|
317
|
+
var hour_plural = "<0>{count}</0> <1>Hours</1>";
|
318
|
+
var minute_plural = "<0>{count}</0> <1>Minutes</1>";
|
319
|
+
var second_plural = "<0>{count}</0> <1>Seconds</1>";
|
320
|
+
var week$2 = "<0>{count}</0> <1>Week</1>";
|
321
|
+
var day$2 = "<0>{count}</0> <1>Day</1>";
|
322
|
+
var hour$2 = "<0>{count}</0> <1>Hour</1>";
|
323
|
+
var minute$2 = "<0>{count}</0> <1>Minute</1>";
|
324
|
+
var second$2 = "<0>{count}</0> <1>Second</1>";
|
325
|
+
var unit$1 = {
|
326
|
+
week_abbreviation: week_abbreviation$2,
|
327
|
+
day_abbreviation: day_abbreviation$2,
|
328
|
+
week_abbreviation_plural: week_abbreviation_plural,
|
329
|
+
day_abbreviation_plural: day_abbreviation_plural,
|
330
|
+
hour_abbreviation: hour_abbreviation$2,
|
331
|
+
minute_abbreviation: minute_abbreviation$2,
|
332
|
+
second_abbreviation: second_abbreviation$2,
|
333
|
+
week_plural: week_plural,
|
334
|
+
day_plural: day_plural,
|
335
|
+
hour_plural: hour_plural,
|
336
|
+
minute_plural: minute_plural,
|
337
|
+
second_plural: second_plural,
|
338
|
+
week: week$2,
|
339
|
+
day: day$2,
|
340
|
+
hour: hour$2,
|
341
|
+
minute: minute$2,
|
342
|
+
second: second$2
|
343
|
+
};
|
344
|
+
|
308
345
|
const locale$1 = {
|
309
346
|
common: common$1,
|
310
347
|
components: components$1,
|
311
|
-
metric: metric$1
|
348
|
+
metric: metric$1,
|
349
|
+
unit: unit$1
|
312
350
|
};
|
313
351
|
|
314
352
|
var _action_ = "操作";
|
@@ -339,16 +377,16 @@ var calculation = "计算中";
|
|
339
377
|
var on = "开启";
|
340
378
|
var error_message = "错误信息";
|
341
379
|
var retry = "重试";
|
342
|
-
var week_abbreviation = "周";
|
343
|
-
var day_abbreviation = "天";
|
344
|
-
var hour_abbreviation = "小时";
|
345
|
-
var minute_abbreviation = "分钟";
|
346
|
-
var second_abbreviation = "秒";
|
347
|
-
var week = "周";
|
348
|
-
var day = "天";
|
349
|
-
var hour = "小时";
|
350
|
-
var minute = "分钟";
|
351
|
-
var second = "秒";
|
380
|
+
var week_abbreviation$1 = "周";
|
381
|
+
var day_abbreviation$1 = "天";
|
382
|
+
var hour_abbreviation$1 = "小时";
|
383
|
+
var minute_abbreviation$1 = "分钟";
|
384
|
+
var second_abbreviation$1 = "秒";
|
385
|
+
var week$1 = "周";
|
386
|
+
var day$1 = "天";
|
387
|
+
var hour$1 = "小时";
|
388
|
+
var minute$1 = "分钟";
|
389
|
+
var second$1 = "秒";
|
352
390
|
var monday = "周一";
|
353
391
|
var tuesday = "周二";
|
354
392
|
var wednesday = "周三";
|
@@ -393,16 +431,16 @@ var common = {
|
|
393
431
|
on: on,
|
394
432
|
error_message: error_message,
|
395
433
|
retry: retry,
|
396
|
-
week_abbreviation: week_abbreviation,
|
397
|
-
day_abbreviation: day_abbreviation,
|
398
|
-
hour_abbreviation: hour_abbreviation,
|
399
|
-
minute_abbreviation: minute_abbreviation,
|
400
|
-
second_abbreviation: second_abbreviation,
|
401
|
-
week: week,
|
402
|
-
day: day,
|
403
|
-
hour: hour,
|
404
|
-
minute: minute,
|
405
|
-
second: second,
|
434
|
+
week_abbreviation: week_abbreviation$1,
|
435
|
+
day_abbreviation: day_abbreviation$1,
|
436
|
+
hour_abbreviation: hour_abbreviation$1,
|
437
|
+
minute_abbreviation: minute_abbreviation$1,
|
438
|
+
second_abbreviation: second_abbreviation$1,
|
439
|
+
week: week$1,
|
440
|
+
day: day$1,
|
441
|
+
hour: hour$1,
|
442
|
+
minute: minute$1,
|
443
|
+
second: second$1,
|
406
444
|
monday: monday,
|
407
445
|
tuesday: tuesday,
|
408
446
|
wednesday: wednesday,
|
@@ -597,10 +635,34 @@ var metric = {
|
|
597
635
|
max: max
|
598
636
|
};
|
599
637
|
|
638
|
+
var week_abbreviation = "<0>{count}</0> <1>周</1>";
|
639
|
+
var day_abbreviation = "<0>{count}</0> <1>天</1>";
|
640
|
+
var hour_abbreviation = "<0>{count}</0> <1>小时</1>";
|
641
|
+
var minute_abbreviation = "<0>{count}</0> <1>分钟</1>";
|
642
|
+
var second_abbreviation = "<0>{count}</0> <1>秒</1>";
|
643
|
+
var week = "<0>{count}</0> <1>周</1>";
|
644
|
+
var day = "<0>{count}</0> <1>天</1>";
|
645
|
+
var hour = "<0>{count}</0> <1>小时</1>";
|
646
|
+
var minute = "<0>{count}</0> <1>分钟</1>";
|
647
|
+
var second = "<0>{count}</0> <1>秒</1>";
|
648
|
+
var unit = {
|
649
|
+
week_abbreviation: week_abbreviation,
|
650
|
+
day_abbreviation: day_abbreviation,
|
651
|
+
hour_abbreviation: hour_abbreviation,
|
652
|
+
minute_abbreviation: minute_abbreviation,
|
653
|
+
second_abbreviation: second_abbreviation,
|
654
|
+
week: week,
|
655
|
+
day: day,
|
656
|
+
hour: hour,
|
657
|
+
minute: minute,
|
658
|
+
second: second
|
659
|
+
};
|
660
|
+
|
600
661
|
const locale = {
|
601
662
|
common,
|
602
663
|
components,
|
603
|
-
metric
|
664
|
+
metric,
|
665
|
+
unit
|
604
666
|
};
|
605
667
|
|
606
668
|
const locales = {
|
package/dist/esm/stats1.html
CHANGED
@@ -6157,7 +6157,7 @@ var drawChart = (function (exports) {
|
|
6157
6157
|
</script>
|
6158
6158
|
<script>
|
6159
6159
|
/*<!--*/
|
6160
|
-
const data = {"version":2,"tree":{"name":"root","children":[{"name":"index.js","children":[{"name":"src","children":[{"name":"locales","children":[{"name":"en-US","children":[{"uid":"
|
6160
|
+
const data = {"version":2,"tree":{"name":"root","children":[{"name":"index.js","children":[{"name":"src","children":[{"name":"locales","children":[{"name":"en-US","children":[{"uid":"343d-29","name":"common.json"},{"uid":"343d-31","name":"components.json"},{"uid":"343d-33","name":"metric.json"},{"uid":"343d-35","name":"unit.json"},{"uid":"343d-37","name":"index.ts"}]},{"name":"zh-CN","children":[{"uid":"343d-39","name":"common.json"},{"uid":"343d-41","name":"components.json"},{"uid":"343d-43","name":"metric.json"},{"uid":"343d-45","name":"unit.json"},{"uid":"343d-47","name":"index.ts"}]},{"uid":"343d-49","name":"index.ts"}]},{"uid":"343d-51","name":"parrotI18n.ts"},{"uid":"343d-53","name":"index.ts"}]}]}],"isRoot":true},"nodeParts":{"343d-29":{"renderedLength":3121,"gzipLength":0,"brotliLength":0,"metaUid":"343d-28"},"343d-31":{"renderedLength":8097,"gzipLength":0,"brotliLength":0,"metaUid":"343d-30"},"343d-33":{"renderedLength":165,"gzipLength":0,"brotliLength":0,"metaUid":"343d-32"},"343d-35":{"renderedLength":1424,"gzipLength":0,"brotliLength":0,"metaUid":"343d-34"},"343d-37":{"renderedLength":104,"gzipLength":0,"brotliLength":0,"metaUid":"343d-36"},"343d-39":{"renderedLength":2597,"gzipLength":0,"brotliLength":0,"metaUid":"343d-38"},"343d-41":{"renderedLength":7006,"gzipLength":0,"brotliLength":0,"metaUid":"343d-40"},"343d-43":{"renderedLength":157,"gzipLength":0,"brotliLength":0,"metaUid":"343d-42"},"343d-45":{"renderedLength":769,"gzipLength":0,"brotliLength":0,"metaUid":"343d-44"},"343d-47":{"renderedLength":60,"gzipLength":0,"brotliLength":0,"metaUid":"343d-46"},"343d-49":{"renderedLength":59,"gzipLength":0,"brotliLength":0,"metaUid":"343d-48"},"343d-51":{"renderedLength":1945,"gzipLength":0,"brotliLength":0,"metaUid":"343d-50"},"343d-53":{"renderedLength":0,"gzipLength":0,"brotliLength":0,"metaUid":"343d-52"}},"nodeMetas":{"343d-28":{"id":"/src/locales/en-US/common.json","moduleParts":{"index.js":"343d-29"},"imported":[],"importedBy":[{"uid":"343d-36"}]},"343d-30":{"id":"/src/locales/en-US/components.json","moduleParts":{"index.js":"343d-31"},"imported":[],"importedBy":[{"uid":"343d-36"}]},"343d-32":{"id":"/src/locales/en-US/metric.json","moduleParts":{"index.js":"343d-33"},"imported":[],"importedBy":[{"uid":"343d-36"}]},"343d-34":{"id":"/src/locales/en-US/unit.json","moduleParts":{"index.js":"343d-35"},"imported":[],"importedBy":[{"uid":"343d-36"}]},"343d-36":{"id":"/src/locales/en-US/index.ts","moduleParts":{"index.js":"343d-37"},"imported":[{"uid":"343d-28"},{"uid":"343d-30"},{"uid":"343d-32"},{"uid":"343d-34"}],"importedBy":[{"uid":"343d-48"}]},"343d-38":{"id":"/src/locales/zh-CN/common.json","moduleParts":{"index.js":"343d-39"},"imported":[],"importedBy":[{"uid":"343d-46"}]},"343d-40":{"id":"/src/locales/zh-CN/components.json","moduleParts":{"index.js":"343d-41"},"imported":[],"importedBy":[{"uid":"343d-46"}]},"343d-42":{"id":"/src/locales/zh-CN/metric.json","moduleParts":{"index.js":"343d-43"},"imported":[],"importedBy":[{"uid":"343d-46"}]},"343d-44":{"id":"/src/locales/zh-CN/unit.json","moduleParts":{"index.js":"343d-45"},"imported":[],"importedBy":[{"uid":"343d-46"}]},"343d-46":{"id":"/src/locales/zh-CN/index.ts","moduleParts":{"index.js":"343d-47"},"imported":[{"uid":"343d-38"},{"uid":"343d-40"},{"uid":"343d-42"},{"uid":"343d-44"}],"importedBy":[{"uid":"343d-48"}]},"343d-48":{"id":"/src/locales/index.ts","moduleParts":{"index.js":"343d-49"},"imported":[{"uid":"343d-36"},{"uid":"343d-46"}],"importedBy":[{"uid":"343d-52"},{"uid":"343d-50"}]},"343d-50":{"id":"/src/parrotI18n.ts","moduleParts":{"index.js":"343d-51"},"imported":[{"uid":"343d-54"},{"uid":"343d-55"},{"uid":"343d-48"}],"importedBy":[{"uid":"343d-52"}]},"343d-52":{"id":"/src/index.ts","moduleParts":{"index.js":"343d-53"},"imported":[{"uid":"343d-48"},{"uid":"343d-50"}],"importedBy":[],"isEntry":true},"343d-54":{"id":"i18next","moduleParts":{},"imported":[],"importedBy":[{"uid":"343d-50"}],"isExternal":true},"343d-55":{"id":"lodash.merge","moduleParts":{},"imported":[],"importedBy":[{"uid":"343d-50"}],"isExternal":true}},"env":{"rollup":"3.29.4"},"options":{"gzip":false,"brotli":false,"sourcemap":false}};
|
6161
6161
|
|
6162
6162
|
const run = () => {
|
6163
6163
|
const width = window.innerWidth;
|
@@ -157,5 +157,24 @@ declare const locale: {
|
|
157
157
|
empty: string;
|
158
158
|
max: string;
|
159
159
|
};
|
160
|
+
unit: {
|
161
|
+
week_abbreviation: string;
|
162
|
+
day_abbreviation: string;
|
163
|
+
week_abbreviation_plural: string;
|
164
|
+
day_abbreviation_plural: string;
|
165
|
+
hour_abbreviation: string;
|
166
|
+
minute_abbreviation: string;
|
167
|
+
second_abbreviation: string;
|
168
|
+
week_plural: string;
|
169
|
+
day_plural: string;
|
170
|
+
hour_plural: string;
|
171
|
+
minute_plural: string;
|
172
|
+
second_plural: string;
|
173
|
+
week: string;
|
174
|
+
day: string;
|
175
|
+
hour: string;
|
176
|
+
minute: string;
|
177
|
+
second: string;
|
178
|
+
};
|
160
179
|
};
|
161
180
|
export default locale;
|
package/dist/locales/index.d.ts
CHANGED
@@ -158,6 +158,25 @@ declare const locales: {
|
|
158
158
|
empty: string;
|
159
159
|
max: string;
|
160
160
|
};
|
161
|
+
unit: {
|
162
|
+
week_abbreviation: string;
|
163
|
+
day_abbreviation: string;
|
164
|
+
week_abbreviation_plural: string;
|
165
|
+
day_abbreviation_plural: string;
|
166
|
+
hour_abbreviation: string;
|
167
|
+
minute_abbreviation: string;
|
168
|
+
second_abbreviation: string;
|
169
|
+
week_plural: string;
|
170
|
+
day_plural: string;
|
171
|
+
hour_plural: string;
|
172
|
+
minute_plural: string;
|
173
|
+
second_plural: string;
|
174
|
+
week: string;
|
175
|
+
day: string;
|
176
|
+
hour: string;
|
177
|
+
minute: string;
|
178
|
+
second: string;
|
179
|
+
};
|
161
180
|
};
|
162
181
|
"zh-CN": {
|
163
182
|
common: {
|
@@ -309,6 +328,18 @@ declare const locales: {
|
|
309
328
|
empty: string;
|
310
329
|
max: string;
|
311
330
|
};
|
331
|
+
unit: {
|
332
|
+
week_abbreviation: string;
|
333
|
+
day_abbreviation: string;
|
334
|
+
hour_abbreviation: string;
|
335
|
+
minute_abbreviation: string;
|
336
|
+
second_abbreviation: string;
|
337
|
+
week: string;
|
338
|
+
day: string;
|
339
|
+
hour: string;
|
340
|
+
minute: string;
|
341
|
+
second: string;
|
342
|
+
};
|
312
343
|
};
|
313
344
|
};
|
314
345
|
export default locales;
|
@@ -148,5 +148,17 @@ declare const locale: {
|
|
148
148
|
empty: string;
|
149
149
|
max: string;
|
150
150
|
};
|
151
|
+
unit: {
|
152
|
+
week_abbreviation: string;
|
153
|
+
day_abbreviation: string;
|
154
|
+
hour_abbreviation: string;
|
155
|
+
minute_abbreviation: string;
|
156
|
+
second_abbreviation: string;
|
157
|
+
week: string;
|
158
|
+
day: string;
|
159
|
+
hour: string;
|
160
|
+
minute: string;
|
161
|
+
second: string;
|
162
|
+
};
|
151
163
|
};
|
152
164
|
export default locale;
|
package/dist/umd/index.js
CHANGED
@@ -32,16 +32,16 @@
|
|
32
32
|
var on$1 = "On";
|
33
33
|
var error_message$1 = "Error Message";
|
34
34
|
var retry$1 = "Retry";
|
35
|
-
var week_abbreviation$
|
36
|
-
var day_abbreviation$
|
37
|
-
var hour_abbreviation$
|
38
|
-
var minute_abbreviation$
|
39
|
-
var second_abbreviation$
|
40
|
-
var week$
|
41
|
-
var day$
|
42
|
-
var hour$
|
43
|
-
var minute$
|
44
|
-
var second$
|
35
|
+
var week_abbreviation$3 = "week";
|
36
|
+
var day_abbreviation$3 = "day";
|
37
|
+
var hour_abbreviation$3 = "h";
|
38
|
+
var minute_abbreviation$3 = "min";
|
39
|
+
var second_abbreviation$3 = "sec";
|
40
|
+
var week$3 = "Week";
|
41
|
+
var day$3 = "Day";
|
42
|
+
var hour$3 = "Hour";
|
43
|
+
var minute$3 = "Minute";
|
44
|
+
var second$3 = "Second";
|
45
45
|
var monday$1 = "Monday";
|
46
46
|
var tuesday$1 = "Tuesday";
|
47
47
|
var wednesday$1 = "Wednesday";
|
@@ -90,16 +90,16 @@
|
|
90
90
|
on: on$1,
|
91
91
|
error_message: error_message$1,
|
92
92
|
retry: retry$1,
|
93
|
-
week_abbreviation: week_abbreviation$
|
94
|
-
day_abbreviation: day_abbreviation$
|
95
|
-
hour_abbreviation: hour_abbreviation$
|
96
|
-
minute_abbreviation: minute_abbreviation$
|
97
|
-
second_abbreviation: second_abbreviation$
|
98
|
-
week: week$
|
99
|
-
day: day$
|
100
|
-
hour: hour$
|
101
|
-
minute: minute$
|
102
|
-
second: second$
|
93
|
+
week_abbreviation: week_abbreviation$3,
|
94
|
+
day_abbreviation: day_abbreviation$3,
|
95
|
+
hour_abbreviation: hour_abbreviation$3,
|
96
|
+
minute_abbreviation: minute_abbreviation$3,
|
97
|
+
second_abbreviation: second_abbreviation$3,
|
98
|
+
week: week$3,
|
99
|
+
day: day$3,
|
100
|
+
hour: hour$3,
|
101
|
+
minute: minute$3,
|
102
|
+
second: second$3,
|
103
103
|
monday: monday$1,
|
104
104
|
tuesday: tuesday$1,
|
105
105
|
wednesday: wednesday$1,
|
@@ -308,10 +308,48 @@
|
|
308
308
|
max: max$1
|
309
309
|
};
|
310
310
|
|
311
|
+
var week_abbreviation$2 = "<0>{count}</0> <1>week</1>";
|
312
|
+
var day_abbreviation$2 = "<0>{count}</0> <1>day</1>";
|
313
|
+
var week_abbreviation_plural = "<0>{count}</0> <1>weeks</1>";
|
314
|
+
var day_abbreviation_plural = "<0>{count}</0> <1>days</1>";
|
315
|
+
var hour_abbreviation$2 = "<0>{count}</0> <1>h</1>";
|
316
|
+
var minute_abbreviation$2 = "<0>{count}</0> <1>min</1>";
|
317
|
+
var second_abbreviation$2 = "<0>{count}</0> <1>sec</1>";
|
318
|
+
var week_plural = "<0>{count}</0> <1>Weeks</1>";
|
319
|
+
var day_plural = "<0>{count}</0> <1>Days</1>";
|
320
|
+
var hour_plural = "<0>{count}</0> <1>Hours</1>";
|
321
|
+
var minute_plural = "<0>{count}</0> <1>Minutes</1>";
|
322
|
+
var second_plural = "<0>{count}</0> <1>Seconds</1>";
|
323
|
+
var week$2 = "<0>{count}</0> <1>Week</1>";
|
324
|
+
var day$2 = "<0>{count}</0> <1>Day</1>";
|
325
|
+
var hour$2 = "<0>{count}</0> <1>Hour</1>";
|
326
|
+
var minute$2 = "<0>{count}</0> <1>Minute</1>";
|
327
|
+
var second$2 = "<0>{count}</0> <1>Second</1>";
|
328
|
+
var unit$1 = {
|
329
|
+
week_abbreviation: week_abbreviation$2,
|
330
|
+
day_abbreviation: day_abbreviation$2,
|
331
|
+
week_abbreviation_plural: week_abbreviation_plural,
|
332
|
+
day_abbreviation_plural: day_abbreviation_plural,
|
333
|
+
hour_abbreviation: hour_abbreviation$2,
|
334
|
+
minute_abbreviation: minute_abbreviation$2,
|
335
|
+
second_abbreviation: second_abbreviation$2,
|
336
|
+
week_plural: week_plural,
|
337
|
+
day_plural: day_plural,
|
338
|
+
hour_plural: hour_plural,
|
339
|
+
minute_plural: minute_plural,
|
340
|
+
second_plural: second_plural,
|
341
|
+
week: week$2,
|
342
|
+
day: day$2,
|
343
|
+
hour: hour$2,
|
344
|
+
minute: minute$2,
|
345
|
+
second: second$2
|
346
|
+
};
|
347
|
+
|
311
348
|
const locale$1 = {
|
312
349
|
common: common$1,
|
313
350
|
components: components$1,
|
314
|
-
metric: metric$1
|
351
|
+
metric: metric$1,
|
352
|
+
unit: unit$1
|
315
353
|
};
|
316
354
|
|
317
355
|
var _action_ = "操作";
|
@@ -342,16 +380,16 @@
|
|
342
380
|
var on = "开启";
|
343
381
|
var error_message = "错误信息";
|
344
382
|
var retry = "重试";
|
345
|
-
var week_abbreviation = "周";
|
346
|
-
var day_abbreviation = "天";
|
347
|
-
var hour_abbreviation = "小时";
|
348
|
-
var minute_abbreviation = "分钟";
|
349
|
-
var second_abbreviation = "秒";
|
350
|
-
var week = "周";
|
351
|
-
var day = "天";
|
352
|
-
var hour = "小时";
|
353
|
-
var minute = "分钟";
|
354
|
-
var second = "秒";
|
383
|
+
var week_abbreviation$1 = "周";
|
384
|
+
var day_abbreviation$1 = "天";
|
385
|
+
var hour_abbreviation$1 = "小时";
|
386
|
+
var minute_abbreviation$1 = "分钟";
|
387
|
+
var second_abbreviation$1 = "秒";
|
388
|
+
var week$1 = "周";
|
389
|
+
var day$1 = "天";
|
390
|
+
var hour$1 = "小时";
|
391
|
+
var minute$1 = "分钟";
|
392
|
+
var second$1 = "秒";
|
355
393
|
var monday = "周一";
|
356
394
|
var tuesday = "周二";
|
357
395
|
var wednesday = "周三";
|
@@ -396,16 +434,16 @@
|
|
396
434
|
on: on,
|
397
435
|
error_message: error_message,
|
398
436
|
retry: retry,
|
399
|
-
week_abbreviation: week_abbreviation,
|
400
|
-
day_abbreviation: day_abbreviation,
|
401
|
-
hour_abbreviation: hour_abbreviation,
|
402
|
-
minute_abbreviation: minute_abbreviation,
|
403
|
-
second_abbreviation: second_abbreviation,
|
404
|
-
week: week,
|
405
|
-
day: day,
|
406
|
-
hour: hour,
|
407
|
-
minute: minute,
|
408
|
-
second: second,
|
437
|
+
week_abbreviation: week_abbreviation$1,
|
438
|
+
day_abbreviation: day_abbreviation$1,
|
439
|
+
hour_abbreviation: hour_abbreviation$1,
|
440
|
+
minute_abbreviation: minute_abbreviation$1,
|
441
|
+
second_abbreviation: second_abbreviation$1,
|
442
|
+
week: week$1,
|
443
|
+
day: day$1,
|
444
|
+
hour: hour$1,
|
445
|
+
minute: minute$1,
|
446
|
+
second: second$1,
|
409
447
|
monday: monday,
|
410
448
|
tuesday: tuesday,
|
411
449
|
wednesday: wednesday,
|
@@ -600,10 +638,34 @@
|
|
600
638
|
max: max
|
601
639
|
};
|
602
640
|
|
641
|
+
var week_abbreviation = "<0>{count}</0> <1>周</1>";
|
642
|
+
var day_abbreviation = "<0>{count}</0> <1>天</1>";
|
643
|
+
var hour_abbreviation = "<0>{count}</0> <1>小时</1>";
|
644
|
+
var minute_abbreviation = "<0>{count}</0> <1>分钟</1>";
|
645
|
+
var second_abbreviation = "<0>{count}</0> <1>秒</1>";
|
646
|
+
var week = "<0>{count}</0> <1>周</1>";
|
647
|
+
var day = "<0>{count}</0> <1>天</1>";
|
648
|
+
var hour = "<0>{count}</0> <1>小时</1>";
|
649
|
+
var minute = "<0>{count}</0> <1>分钟</1>";
|
650
|
+
var second = "<0>{count}</0> <1>秒</1>";
|
651
|
+
var unit = {
|
652
|
+
week_abbreviation: week_abbreviation,
|
653
|
+
day_abbreviation: day_abbreviation,
|
654
|
+
hour_abbreviation: hour_abbreviation,
|
655
|
+
minute_abbreviation: minute_abbreviation,
|
656
|
+
second_abbreviation: second_abbreviation,
|
657
|
+
week: week,
|
658
|
+
day: day,
|
659
|
+
hour: hour,
|
660
|
+
minute: minute,
|
661
|
+
second: second
|
662
|
+
};
|
663
|
+
|
603
664
|
const locale = {
|
604
665
|
common,
|
605
666
|
components,
|
606
|
-
metric
|
667
|
+
metric,
|
668
|
+
unit
|
607
669
|
};
|
608
670
|
|
609
671
|
const locales = {
|
package/dist/umd/stats1.html
CHANGED
@@ -6157,7 +6157,7 @@ var drawChart = (function (exports) {
|
|
6157
6157
|
</script>
|
6158
6158
|
<script>
|
6159
6159
|
/*<!--*/
|
6160
|
-
const data = {"version":2,"tree":{"name":"root","children":[{"name":"index.js","children":[{"name":"src","children":[{"name":"locales","children":[{"name":"en-US","children":[{"uid":"
|
6160
|
+
const data = {"version":2,"tree":{"name":"root","children":[{"name":"index.js","children":[{"name":"src","children":[{"name":"locales","children":[{"name":"en-US","children":[{"uid":"343d-1","name":"common.json"},{"uid":"343d-3","name":"components.json"},{"uid":"343d-5","name":"metric.json"},{"uid":"343d-7","name":"unit.json"},{"uid":"343d-9","name":"index.ts"}]},{"name":"zh-CN","children":[{"uid":"343d-11","name":"common.json"},{"uid":"343d-13","name":"components.json"},{"uid":"343d-15","name":"metric.json"},{"uid":"343d-17","name":"unit.json"},{"uid":"343d-19","name":"index.ts"}]},{"uid":"343d-21","name":"index.ts"}]},{"uid":"343d-23","name":"parrotI18n.ts"},{"uid":"343d-25","name":"index.ts"}]}]}],"isRoot":true},"nodeParts":{"343d-1":{"renderedLength":3351,"gzipLength":0,"brotliLength":0,"metaUid":"343d-0"},"343d-3":{"renderedLength":8453,"gzipLength":0,"brotliLength":0,"metaUid":"343d-2"},"343d-5":{"renderedLength":181,"gzipLength":0,"brotliLength":0,"metaUid":"343d-4"},"343d-7":{"renderedLength":1496,"gzipLength":0,"brotliLength":0,"metaUid":"343d-6"},"343d-9":{"renderedLength":116,"gzipLength":0,"brotliLength":0,"metaUid":"343d-8"},"343d-11":{"renderedLength":2811,"gzipLength":0,"brotliLength":0,"metaUid":"343d-10"},"343d-13":{"renderedLength":7342,"gzipLength":0,"brotliLength":0,"metaUid":"343d-12"},"343d-15":{"renderedLength":173,"gzipLength":0,"brotliLength":0,"metaUid":"343d-14"},"343d-17":{"renderedLength":813,"gzipLength":0,"brotliLength":0,"metaUid":"343d-16"},"343d-19":{"renderedLength":72,"gzipLength":0,"brotliLength":0,"metaUid":"343d-18"},"343d-21":{"renderedLength":67,"gzipLength":0,"brotliLength":0,"metaUid":"343d-20"},"343d-23":{"renderedLength":2059,"gzipLength":0,"brotliLength":0,"metaUid":"343d-22"},"343d-25":{"renderedLength":0,"gzipLength":0,"brotliLength":0,"metaUid":"343d-24"}},"nodeMetas":{"343d-0":{"id":"/src/locales/en-US/common.json","moduleParts":{"index.js":"343d-1"},"imported":[],"importedBy":[{"uid":"343d-8"}]},"343d-2":{"id":"/src/locales/en-US/components.json","moduleParts":{"index.js":"343d-3"},"imported":[],"importedBy":[{"uid":"343d-8"}]},"343d-4":{"id":"/src/locales/en-US/metric.json","moduleParts":{"index.js":"343d-5"},"imported":[],"importedBy":[{"uid":"343d-8"}]},"343d-6":{"id":"/src/locales/en-US/unit.json","moduleParts":{"index.js":"343d-7"},"imported":[],"importedBy":[{"uid":"343d-8"}]},"343d-8":{"id":"/src/locales/en-US/index.ts","moduleParts":{"index.js":"343d-9"},"imported":[{"uid":"343d-0"},{"uid":"343d-2"},{"uid":"343d-4"},{"uid":"343d-6"}],"importedBy":[{"uid":"343d-20"}]},"343d-10":{"id":"/src/locales/zh-CN/common.json","moduleParts":{"index.js":"343d-11"},"imported":[],"importedBy":[{"uid":"343d-18"}]},"343d-12":{"id":"/src/locales/zh-CN/components.json","moduleParts":{"index.js":"343d-13"},"imported":[],"importedBy":[{"uid":"343d-18"}]},"343d-14":{"id":"/src/locales/zh-CN/metric.json","moduleParts":{"index.js":"343d-15"},"imported":[],"importedBy":[{"uid":"343d-18"}]},"343d-16":{"id":"/src/locales/zh-CN/unit.json","moduleParts":{"index.js":"343d-17"},"imported":[],"importedBy":[{"uid":"343d-18"}]},"343d-18":{"id":"/src/locales/zh-CN/index.ts","moduleParts":{"index.js":"343d-19"},"imported":[{"uid":"343d-10"},{"uid":"343d-12"},{"uid":"343d-14"},{"uid":"343d-16"}],"importedBy":[{"uid":"343d-20"}]},"343d-20":{"id":"/src/locales/index.ts","moduleParts":{"index.js":"343d-21"},"imported":[{"uid":"343d-8"},{"uid":"343d-18"}],"importedBy":[{"uid":"343d-24"},{"uid":"343d-22"}]},"343d-22":{"id":"/src/parrotI18n.ts","moduleParts":{"index.js":"343d-23"},"imported":[{"uid":"343d-26"},{"uid":"343d-27"},{"uid":"343d-20"}],"importedBy":[{"uid":"343d-24"}]},"343d-24":{"id":"/src/index.ts","moduleParts":{"index.js":"343d-25"},"imported":[{"uid":"343d-20"},{"uid":"343d-22"}],"importedBy":[],"isEntry":true},"343d-26":{"id":"i18next","moduleParts":{},"imported":[],"importedBy":[{"uid":"343d-22"}],"isExternal":true},"343d-27":{"id":"lodash.merge","moduleParts":{},"imported":[],"importedBy":[{"uid":"343d-22"}],"isExternal":true}},"env":{"rollup":"3.29.4"},"options":{"gzip":false,"brotli":false,"sourcemap":false}};
|
6161
6161
|
|
6162
6162
|
const run = () => {
|
6163
6163
|
const width = window.innerWidth;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@cloudtower/parrot",
|
3
|
-
"version": "0.32.
|
3
|
+
"version": "0.32.44",
|
4
4
|
"description": "i18n modules for cloudtower sparrow and eagle",
|
5
5
|
"keywords": [
|
6
6
|
"i18n",
|
@@ -45,5 +45,5 @@
|
|
45
45
|
"typescript": "5.0.2",
|
46
46
|
"vitest": "^3.1.1"
|
47
47
|
},
|
48
|
-
"gitHead": "
|
48
|
+
"gitHead": "568531068636a5f03c142f47987eae0ac292661e"
|
49
49
|
}
|