@cloudtower/parrot 0.35.7 → 0.35.8
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 +58 -32
- package/dist/esm/stats1.html +1 -1
- package/dist/locales/en-US/index.d.ts +14 -7
- package/dist/locales/index.d.ts +20 -7
- package/dist/locales/zh-CN/index.d.ts +6 -0
- package/dist/umd/index.js +58 -32
- package/dist/umd/stats1.html +1 -1
- package/package.json +2 -2
package/dist/esm/index.js
CHANGED
|
@@ -46,8 +46,8 @@ var thursday$1 = "Thursday";
|
|
|
46
46
|
var friday$1 = "Friday";
|
|
47
47
|
var saturday$1 = "Saturday";
|
|
48
48
|
var sunday$1 = "Sunday";
|
|
49
|
-
var month$
|
|
50
|
-
var year$
|
|
49
|
+
var month$3 = "Month";
|
|
50
|
+
var year$3 = "Year";
|
|
51
51
|
var day_count$1 = "{count} day";
|
|
52
52
|
var day_count_plural = "{count} days";
|
|
53
53
|
var hour_count$1 = "{count} hour";
|
|
@@ -116,8 +116,8 @@ var common$1 = {
|
|
|
116
116
|
friday: friday$1,
|
|
117
117
|
saturday: saturday$1,
|
|
118
118
|
sunday: sunday$1,
|
|
119
|
-
month: month$
|
|
120
|
-
year: year$
|
|
119
|
+
month: month$3,
|
|
120
|
+
year: year$3,
|
|
121
121
|
day_count: day_count$1,
|
|
122
122
|
day_count_plural: day_count_plural,
|
|
123
123
|
hour_count: hour_count$1,
|
|
@@ -341,41 +341,55 @@ var metric$1 = {
|
|
|
341
341
|
max: max$1
|
|
342
342
|
};
|
|
343
343
|
|
|
344
|
-
var
|
|
345
|
-
var
|
|
346
|
-
var
|
|
347
|
-
var
|
|
344
|
+
var year_abbreviation$1 = "<0>{count}</0> <1>y</1>";
|
|
345
|
+
var month_abbreviation$1 = "<0>{count}</0> <1>m</1>";
|
|
346
|
+
var week_abbreviation$2 = "<0>{count}</0> <1>w</1>";
|
|
347
|
+
var day_abbreviation$2 = "<0>{count}</0> <1>d</1>";
|
|
348
348
|
var hour_abbreviation$2 = "<0>{count}</0> <1>h</1>";
|
|
349
349
|
var minute_abbreviation$2 = "<0>{count}</0> <1>min</1>";
|
|
350
|
-
var second_abbreviation$2 = "<0>{count}</0> <1>
|
|
351
|
-
var
|
|
352
|
-
var
|
|
353
|
-
var
|
|
354
|
-
var
|
|
355
|
-
var
|
|
356
|
-
var week$2 = "<0>{count}</0> <1>
|
|
357
|
-
var
|
|
358
|
-
var
|
|
359
|
-
var
|
|
360
|
-
var
|
|
350
|
+
var second_abbreviation$2 = "<0>{count}</0> <1>s</1>";
|
|
351
|
+
var millisecond_abbreviation$1 = "<0>{count}</0> <1>ms</1>";
|
|
352
|
+
var year$2 = "<0>{count}</0> <1>year</1>";
|
|
353
|
+
var year_plural = "<0>{count}</0> <1>years</1>";
|
|
354
|
+
var month$2 = "<0>{count}</0> <1>month</1>";
|
|
355
|
+
var month_plural = "<0>{count}</0> <1>months</1>";
|
|
356
|
+
var week$2 = "<0>{count}</0> <1>week</1>";
|
|
357
|
+
var week_plural = "<0>{count}</0> <1>weeks</1>";
|
|
358
|
+
var day$2 = "<0>{count}</0> <1>day</1>";
|
|
359
|
+
var day_plural = "<0>{count}</0> <1>days</1>";
|
|
360
|
+
var hour$2 = "<0>{count}</0> <1>hour</1>";
|
|
361
|
+
var hour_plural = "<0>{count}</0> <1>hours</1>";
|
|
362
|
+
var minute$2 = "<0>{count}</0> <1>minute</1>";
|
|
363
|
+
var minute_plural = "<0>{count}</0> <1>minutes</1>";
|
|
364
|
+
var second$2 = "<0>{count}</0> <1>second</1>";
|
|
365
|
+
var second_plural = "<0>{count}</0> <1>seconds</1>";
|
|
366
|
+
var millisecond$1 = "<0>{count}</0> <1>millisecond</1>";
|
|
367
|
+
var millisecond_plural = "<0>{count}</0> <1>milliseconds</1>";
|
|
361
368
|
var unit$1 = {
|
|
369
|
+
year_abbreviation: year_abbreviation$1,
|
|
370
|
+
month_abbreviation: month_abbreviation$1,
|
|
362
371
|
week_abbreviation: week_abbreviation$2,
|
|
363
372
|
day_abbreviation: day_abbreviation$2,
|
|
364
|
-
week_abbreviation_plural: week_abbreviation_plural,
|
|
365
|
-
day_abbreviation_plural: day_abbreviation_plural,
|
|
366
373
|
hour_abbreviation: hour_abbreviation$2,
|
|
367
374
|
minute_abbreviation: minute_abbreviation$2,
|
|
368
375
|
second_abbreviation: second_abbreviation$2,
|
|
376
|
+
millisecond_abbreviation: millisecond_abbreviation$1,
|
|
377
|
+
year: year$2,
|
|
378
|
+
year_plural: year_plural,
|
|
379
|
+
month: month$2,
|
|
380
|
+
month_plural: month_plural,
|
|
381
|
+
week: week$2,
|
|
369
382
|
week_plural: week_plural,
|
|
383
|
+
day: day$2,
|
|
370
384
|
day_plural: day_plural,
|
|
385
|
+
hour: hour$2,
|
|
371
386
|
hour_plural: hour_plural,
|
|
387
|
+
minute: minute$2,
|
|
372
388
|
minute_plural: minute_plural,
|
|
389
|
+
second: second$2,
|
|
373
390
|
second_plural: second_plural,
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
hour: hour$2,
|
|
377
|
-
minute: minute$2,
|
|
378
|
-
second: second$2
|
|
391
|
+
millisecond: millisecond$1,
|
|
392
|
+
millisecond_plural: millisecond_plural
|
|
379
393
|
};
|
|
380
394
|
|
|
381
395
|
const locale$1 = {
|
|
@@ -430,8 +444,8 @@ var thursday = "周四";
|
|
|
430
444
|
var friday = "周五";
|
|
431
445
|
var saturday = "周六";
|
|
432
446
|
var sunday = "周日";
|
|
433
|
-
var month = "月";
|
|
434
|
-
var year = "年";
|
|
447
|
+
var month$1 = "月";
|
|
448
|
+
var year$1 = "年";
|
|
435
449
|
var day_count = "{count} 天";
|
|
436
450
|
var hour_count = "{count} 小时";
|
|
437
451
|
var minute_count = "{count} 分钟";
|
|
@@ -496,8 +510,8 @@ var common = {
|
|
|
496
510
|
friday: friday,
|
|
497
511
|
saturday: saturday,
|
|
498
512
|
sunday: sunday,
|
|
499
|
-
month: month,
|
|
500
|
-
year: year,
|
|
513
|
+
month: month$1,
|
|
514
|
+
year: year$1,
|
|
501
515
|
day_count: day_count,
|
|
502
516
|
hour_count: hour_count,
|
|
503
517
|
minute_count: minute_count,
|
|
@@ -705,27 +719,39 @@ var metric = {
|
|
|
705
719
|
max: max
|
|
706
720
|
};
|
|
707
721
|
|
|
722
|
+
var year_abbreviation = "<0>{count}</0> <1>年</1>";
|
|
723
|
+
var month_abbreviation = "<0>{count}</0> <1>月</1>";
|
|
708
724
|
var week_abbreviation = "<0>{count}</0> <1>周</1>";
|
|
709
725
|
var day_abbreviation = "<0>{count}</0> <1>天</1>";
|
|
710
726
|
var hour_abbreviation = "<0>{count}</0> <1>小时</1>";
|
|
711
|
-
var minute_abbreviation = "<0>{count}</0> <1
|
|
727
|
+
var minute_abbreviation = "<0>{count}</0> <1>分</1>";
|
|
712
728
|
var second_abbreviation = "<0>{count}</0> <1>秒</1>";
|
|
729
|
+
var millisecond_abbreviation = "<0>{count}</0> <1>毫秒</1>";
|
|
730
|
+
var year = "<0>{count}</0> <1>年</1>";
|
|
731
|
+
var month = "<0>{count}</0> <1>月</1>";
|
|
713
732
|
var week = "<0>{count}</0> <1>周</1>";
|
|
714
733
|
var day = "<0>{count}</0> <1>天</1>";
|
|
715
734
|
var hour = "<0>{count}</0> <1>小时</1>";
|
|
716
735
|
var minute = "<0>{count}</0> <1>分钟</1>";
|
|
717
736
|
var second = "<0>{count}</0> <1>秒</1>";
|
|
737
|
+
var millisecond = "<0>{count}</0> <1>毫秒</1>";
|
|
718
738
|
var unit = {
|
|
739
|
+
year_abbreviation: year_abbreviation,
|
|
740
|
+
month_abbreviation: month_abbreviation,
|
|
719
741
|
week_abbreviation: week_abbreviation,
|
|
720
742
|
day_abbreviation: day_abbreviation,
|
|
721
743
|
hour_abbreviation: hour_abbreviation,
|
|
722
744
|
minute_abbreviation: minute_abbreviation,
|
|
723
745
|
second_abbreviation: second_abbreviation,
|
|
746
|
+
millisecond_abbreviation: millisecond_abbreviation,
|
|
747
|
+
year: year,
|
|
748
|
+
month: month,
|
|
724
749
|
week: week,
|
|
725
750
|
day: day,
|
|
726
751
|
hour: hour,
|
|
727
752
|
minute: minute,
|
|
728
|
-
second: second
|
|
753
|
+
second: second,
|
|
754
|
+
millisecond: millisecond
|
|
729
755
|
};
|
|
730
756
|
|
|
731
757
|
const locale = {
|
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":"e602-29","name":"common.json"},{"uid":"e602-31","name":"components.json"},{"uid":"e602-33","name":"metric.json"},{"uid":"e602-35","name":"unit.json"},{"uid":"e602-37","name":"index.ts"}]},{"name":"zh-CN","children":[{"uid":"e602-39","name":"common.json"},{"uid":"e602-41","name":"components.json"},{"uid":"e602-43","name":"metric.json"},{"uid":"e602-45","name":"unit.json"},{"uid":"e602-47","name":"index.ts"}]},{"uid":"e602-49","name":"index.ts"}]},{"uid":"e602-51","name":"parrotI18n.ts"},{"uid":"e602-53","name":"index.ts"}]}]}],"isRoot":true},"nodeParts":{"e602-29":{"renderedLength":4088,"gzipLength":0,"brotliLength":0,"metaUid":"e602-28"},"e602-31":{"renderedLength":8667,"gzipLength":0,"brotliLength":0,"metaUid":"e602-30"},"e602-33":{"renderedLength":165,"gzipLength":0,"brotliLength":0,"metaUid":"e602-32"},"e602-35":{"renderedLength":1964,"gzipLength":0,"brotliLength":0,"metaUid":"e602-34"},"e602-37":{"renderedLength":104,"gzipLength":0,"brotliLength":0,"metaUid":"e602-36"},"e602-39":{"renderedLength":3549,"gzipLength":0,"brotliLength":0,"metaUid":"e602-38"},"e602-41":{"renderedLength":7443,"gzipLength":0,"brotliLength":0,"metaUid":"e602-40"},"e602-43":{"renderedLength":157,"gzipLength":0,"brotliLength":0,"metaUid":"e602-42"},"e602-45":{"renderedLength":1255,"gzipLength":0,"brotliLength":0,"metaUid":"e602-44"},"e602-47":{"renderedLength":60,"gzipLength":0,"brotliLength":0,"metaUid":"e602-46"},"e602-49":{"renderedLength":59,"gzipLength":0,"brotliLength":0,"metaUid":"e602-48"},"e602-51":{"renderedLength":1945,"gzipLength":0,"brotliLength":0,"metaUid":"e602-50"},"e602-53":{"renderedLength":0,"gzipLength":0,"brotliLength":0,"metaUid":"e602-52"}},"nodeMetas":{"e602-28":{"id":"/src/locales/en-US/common.json","moduleParts":{"index.js":"e602-29"},"imported":[],"importedBy":[{"uid":"e602-36"}]},"e602-30":{"id":"/src/locales/en-US/components.json","moduleParts":{"index.js":"e602-31"},"imported":[],"importedBy":[{"uid":"e602-36"}]},"e602-32":{"id":"/src/locales/en-US/metric.json","moduleParts":{"index.js":"e602-33"},"imported":[],"importedBy":[{"uid":"e602-36"}]},"e602-34":{"id":"/src/locales/en-US/unit.json","moduleParts":{"index.js":"e602-35"},"imported":[],"importedBy":[{"uid":"e602-36"}]},"e602-36":{"id":"/src/locales/en-US/index.ts","moduleParts":{"index.js":"e602-37"},"imported":[{"uid":"e602-28"},{"uid":"e602-30"},{"uid":"e602-32"},{"uid":"e602-34"}],"importedBy":[{"uid":"e602-48"}]},"e602-38":{"id":"/src/locales/zh-CN/common.json","moduleParts":{"index.js":"e602-39"},"imported":[],"importedBy":[{"uid":"e602-46"}]},"e602-40":{"id":"/src/locales/zh-CN/components.json","moduleParts":{"index.js":"e602-41"},"imported":[],"importedBy":[{"uid":"e602-46"}]},"e602-42":{"id":"/src/locales/zh-CN/metric.json","moduleParts":{"index.js":"e602-43"},"imported":[],"importedBy":[{"uid":"e602-46"}]},"e602-44":{"id":"/src/locales/zh-CN/unit.json","moduleParts":{"index.js":"e602-45"},"imported":[],"importedBy":[{"uid":"e602-46"}]},"e602-46":{"id":"/src/locales/zh-CN/index.ts","moduleParts":{"index.js":"e602-47"},"imported":[{"uid":"e602-38"},{"uid":"e602-40"},{"uid":"e602-42"},{"uid":"e602-44"}],"importedBy":[{"uid":"e602-48"}]},"e602-48":{"id":"/src/locales/index.ts","moduleParts":{"index.js":"e602-49"},"imported":[{"uid":"e602-36"},{"uid":"e602-46"}],"importedBy":[{"uid":"e602-52"},{"uid":"e602-50"}]},"e602-50":{"id":"/src/parrotI18n.ts","moduleParts":{"index.js":"e602-51"},"imported":[{"uid":"e602-54"},{"uid":"e602-55"},{"uid":"e602-48"}],"importedBy":[{"uid":"e602-52"}]},"e602-52":{"id":"/src/index.ts","moduleParts":{"index.js":"e602-53"},"imported":[{"uid":"e602-48"},{"uid":"e602-50"}],"importedBy":[],"isEntry":true},"e602-54":{"id":"i18next","moduleParts":{},"imported":[],"importedBy":[{"uid":"e602-50"}],"isExternal":true},"e602-55":{"id":"lodash.merge","moduleParts":{},"imported":[],"importedBy":[{"uid":"e602-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;
|
|
@@ -176,23 +176,30 @@ declare const locale: {
|
|
|
176
176
|
max: string;
|
|
177
177
|
};
|
|
178
178
|
unit: {
|
|
179
|
+
year_abbreviation: string;
|
|
180
|
+
month_abbreviation: string;
|
|
179
181
|
week_abbreviation: string;
|
|
180
182
|
day_abbreviation: string;
|
|
181
|
-
week_abbreviation_plural: string;
|
|
182
|
-
day_abbreviation_plural: string;
|
|
183
183
|
hour_abbreviation: string;
|
|
184
184
|
minute_abbreviation: string;
|
|
185
185
|
second_abbreviation: string;
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
186
|
+
millisecond_abbreviation: string;
|
|
187
|
+
year: string;
|
|
188
|
+
year_plural: string;
|
|
189
|
+
month: string;
|
|
190
|
+
month_plural: string;
|
|
191
191
|
week: string;
|
|
192
|
+
week_plural: string;
|
|
192
193
|
day: string;
|
|
194
|
+
day_plural: string;
|
|
193
195
|
hour: string;
|
|
196
|
+
hour_plural: string;
|
|
194
197
|
minute: string;
|
|
198
|
+
minute_plural: string;
|
|
195
199
|
second: string;
|
|
200
|
+
second_plural: string;
|
|
201
|
+
millisecond: string;
|
|
202
|
+
millisecond_plural: string;
|
|
196
203
|
};
|
|
197
204
|
};
|
|
198
205
|
export default locale;
|
package/dist/locales/index.d.ts
CHANGED
|
@@ -177,23 +177,30 @@ declare const locales: {
|
|
|
177
177
|
max: string;
|
|
178
178
|
};
|
|
179
179
|
unit: {
|
|
180
|
+
year_abbreviation: string;
|
|
181
|
+
month_abbreviation: string;
|
|
180
182
|
week_abbreviation: string;
|
|
181
183
|
day_abbreviation: string;
|
|
182
|
-
week_abbreviation_plural: string;
|
|
183
|
-
day_abbreviation_plural: string;
|
|
184
184
|
hour_abbreviation: string;
|
|
185
185
|
minute_abbreviation: string;
|
|
186
186
|
second_abbreviation: string;
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
187
|
+
millisecond_abbreviation: string;
|
|
188
|
+
year: string;
|
|
189
|
+
year_plural: string;
|
|
190
|
+
month: string;
|
|
191
|
+
month_plural: string;
|
|
192
192
|
week: string;
|
|
193
|
+
week_plural: string;
|
|
193
194
|
day: string;
|
|
195
|
+
day_plural: string;
|
|
194
196
|
hour: string;
|
|
197
|
+
hour_plural: string;
|
|
195
198
|
minute: string;
|
|
199
|
+
minute_plural: string;
|
|
196
200
|
second: string;
|
|
201
|
+
second_plural: string;
|
|
202
|
+
millisecond: string;
|
|
203
|
+
millisecond_plural: string;
|
|
197
204
|
};
|
|
198
205
|
};
|
|
199
206
|
"zh-CN": {
|
|
@@ -364,16 +371,22 @@ declare const locales: {
|
|
|
364
371
|
max: string;
|
|
365
372
|
};
|
|
366
373
|
unit: {
|
|
374
|
+
year_abbreviation: string;
|
|
375
|
+
month_abbreviation: string;
|
|
367
376
|
week_abbreviation: string;
|
|
368
377
|
day_abbreviation: string;
|
|
369
378
|
hour_abbreviation: string;
|
|
370
379
|
minute_abbreviation: string;
|
|
371
380
|
second_abbreviation: string;
|
|
381
|
+
millisecond_abbreviation: string;
|
|
382
|
+
year: string;
|
|
383
|
+
month: string;
|
|
372
384
|
week: string;
|
|
373
385
|
day: string;
|
|
374
386
|
hour: string;
|
|
375
387
|
minute: string;
|
|
376
388
|
second: string;
|
|
389
|
+
millisecond: string;
|
|
377
390
|
};
|
|
378
391
|
};
|
|
379
392
|
};
|
|
@@ -166,16 +166,22 @@ declare const locale: {
|
|
|
166
166
|
max: string;
|
|
167
167
|
};
|
|
168
168
|
unit: {
|
|
169
|
+
year_abbreviation: string;
|
|
170
|
+
month_abbreviation: string;
|
|
169
171
|
week_abbreviation: string;
|
|
170
172
|
day_abbreviation: string;
|
|
171
173
|
hour_abbreviation: string;
|
|
172
174
|
minute_abbreviation: string;
|
|
173
175
|
second_abbreviation: string;
|
|
176
|
+
millisecond_abbreviation: string;
|
|
177
|
+
year: string;
|
|
178
|
+
month: string;
|
|
174
179
|
week: string;
|
|
175
180
|
day: string;
|
|
176
181
|
hour: string;
|
|
177
182
|
minute: string;
|
|
178
183
|
second: string;
|
|
184
|
+
millisecond: string;
|
|
179
185
|
};
|
|
180
186
|
};
|
|
181
187
|
export default locale;
|
package/dist/umd/index.js
CHANGED
|
@@ -49,8 +49,8 @@
|
|
|
49
49
|
var friday$1 = "Friday";
|
|
50
50
|
var saturday$1 = "Saturday";
|
|
51
51
|
var sunday$1 = "Sunday";
|
|
52
|
-
var month$
|
|
53
|
-
var year$
|
|
52
|
+
var month$3 = "Month";
|
|
53
|
+
var year$3 = "Year";
|
|
54
54
|
var day_count$1 = "{count} day";
|
|
55
55
|
var day_count_plural = "{count} days";
|
|
56
56
|
var hour_count$1 = "{count} hour";
|
|
@@ -119,8 +119,8 @@
|
|
|
119
119
|
friday: friday$1,
|
|
120
120
|
saturday: saturday$1,
|
|
121
121
|
sunday: sunday$1,
|
|
122
|
-
month: month$
|
|
123
|
-
year: year$
|
|
122
|
+
month: month$3,
|
|
123
|
+
year: year$3,
|
|
124
124
|
day_count: day_count$1,
|
|
125
125
|
day_count_plural: day_count_plural,
|
|
126
126
|
hour_count: hour_count$1,
|
|
@@ -344,41 +344,55 @@
|
|
|
344
344
|
max: max$1
|
|
345
345
|
};
|
|
346
346
|
|
|
347
|
-
var
|
|
348
|
-
var
|
|
349
|
-
var
|
|
350
|
-
var
|
|
347
|
+
var year_abbreviation$1 = "<0>{count}</0> <1>y</1>";
|
|
348
|
+
var month_abbreviation$1 = "<0>{count}</0> <1>m</1>";
|
|
349
|
+
var week_abbreviation$2 = "<0>{count}</0> <1>w</1>";
|
|
350
|
+
var day_abbreviation$2 = "<0>{count}</0> <1>d</1>";
|
|
351
351
|
var hour_abbreviation$2 = "<0>{count}</0> <1>h</1>";
|
|
352
352
|
var minute_abbreviation$2 = "<0>{count}</0> <1>min</1>";
|
|
353
|
-
var second_abbreviation$2 = "<0>{count}</0> <1>
|
|
354
|
-
var
|
|
355
|
-
var
|
|
356
|
-
var
|
|
357
|
-
var
|
|
358
|
-
var
|
|
359
|
-
var week$2 = "<0>{count}</0> <1>
|
|
360
|
-
var
|
|
361
|
-
var
|
|
362
|
-
var
|
|
363
|
-
var
|
|
353
|
+
var second_abbreviation$2 = "<0>{count}</0> <1>s</1>";
|
|
354
|
+
var millisecond_abbreviation$1 = "<0>{count}</0> <1>ms</1>";
|
|
355
|
+
var year$2 = "<0>{count}</0> <1>year</1>";
|
|
356
|
+
var year_plural = "<0>{count}</0> <1>years</1>";
|
|
357
|
+
var month$2 = "<0>{count}</0> <1>month</1>";
|
|
358
|
+
var month_plural = "<0>{count}</0> <1>months</1>";
|
|
359
|
+
var week$2 = "<0>{count}</0> <1>week</1>";
|
|
360
|
+
var week_plural = "<0>{count}</0> <1>weeks</1>";
|
|
361
|
+
var day$2 = "<0>{count}</0> <1>day</1>";
|
|
362
|
+
var day_plural = "<0>{count}</0> <1>days</1>";
|
|
363
|
+
var hour$2 = "<0>{count}</0> <1>hour</1>";
|
|
364
|
+
var hour_plural = "<0>{count}</0> <1>hours</1>";
|
|
365
|
+
var minute$2 = "<0>{count}</0> <1>minute</1>";
|
|
366
|
+
var minute_plural = "<0>{count}</0> <1>minutes</1>";
|
|
367
|
+
var second$2 = "<0>{count}</0> <1>second</1>";
|
|
368
|
+
var second_plural = "<0>{count}</0> <1>seconds</1>";
|
|
369
|
+
var millisecond$1 = "<0>{count}</0> <1>millisecond</1>";
|
|
370
|
+
var millisecond_plural = "<0>{count}</0> <1>milliseconds</1>";
|
|
364
371
|
var unit$1 = {
|
|
372
|
+
year_abbreviation: year_abbreviation$1,
|
|
373
|
+
month_abbreviation: month_abbreviation$1,
|
|
365
374
|
week_abbreviation: week_abbreviation$2,
|
|
366
375
|
day_abbreviation: day_abbreviation$2,
|
|
367
|
-
week_abbreviation_plural: week_abbreviation_plural,
|
|
368
|
-
day_abbreviation_plural: day_abbreviation_plural,
|
|
369
376
|
hour_abbreviation: hour_abbreviation$2,
|
|
370
377
|
minute_abbreviation: minute_abbreviation$2,
|
|
371
378
|
second_abbreviation: second_abbreviation$2,
|
|
379
|
+
millisecond_abbreviation: millisecond_abbreviation$1,
|
|
380
|
+
year: year$2,
|
|
381
|
+
year_plural: year_plural,
|
|
382
|
+
month: month$2,
|
|
383
|
+
month_plural: month_plural,
|
|
384
|
+
week: week$2,
|
|
372
385
|
week_plural: week_plural,
|
|
386
|
+
day: day$2,
|
|
373
387
|
day_plural: day_plural,
|
|
388
|
+
hour: hour$2,
|
|
374
389
|
hour_plural: hour_plural,
|
|
390
|
+
minute: minute$2,
|
|
375
391
|
minute_plural: minute_plural,
|
|
392
|
+
second: second$2,
|
|
376
393
|
second_plural: second_plural,
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
hour: hour$2,
|
|
380
|
-
minute: minute$2,
|
|
381
|
-
second: second$2
|
|
394
|
+
millisecond: millisecond$1,
|
|
395
|
+
millisecond_plural: millisecond_plural
|
|
382
396
|
};
|
|
383
397
|
|
|
384
398
|
const locale$1 = {
|
|
@@ -433,8 +447,8 @@
|
|
|
433
447
|
var friday = "周五";
|
|
434
448
|
var saturday = "周六";
|
|
435
449
|
var sunday = "周日";
|
|
436
|
-
var month = "月";
|
|
437
|
-
var year = "年";
|
|
450
|
+
var month$1 = "月";
|
|
451
|
+
var year$1 = "年";
|
|
438
452
|
var day_count = "{count} 天";
|
|
439
453
|
var hour_count = "{count} 小时";
|
|
440
454
|
var minute_count = "{count} 分钟";
|
|
@@ -499,8 +513,8 @@
|
|
|
499
513
|
friday: friday,
|
|
500
514
|
saturday: saturday,
|
|
501
515
|
sunday: sunday,
|
|
502
|
-
month: month,
|
|
503
|
-
year: year,
|
|
516
|
+
month: month$1,
|
|
517
|
+
year: year$1,
|
|
504
518
|
day_count: day_count,
|
|
505
519
|
hour_count: hour_count,
|
|
506
520
|
minute_count: minute_count,
|
|
@@ -708,27 +722,39 @@
|
|
|
708
722
|
max: max
|
|
709
723
|
};
|
|
710
724
|
|
|
725
|
+
var year_abbreviation = "<0>{count}</0> <1>年</1>";
|
|
726
|
+
var month_abbreviation = "<0>{count}</0> <1>月</1>";
|
|
711
727
|
var week_abbreviation = "<0>{count}</0> <1>周</1>";
|
|
712
728
|
var day_abbreviation = "<0>{count}</0> <1>天</1>";
|
|
713
729
|
var hour_abbreviation = "<0>{count}</0> <1>小时</1>";
|
|
714
|
-
var minute_abbreviation = "<0>{count}</0> <1
|
|
730
|
+
var minute_abbreviation = "<0>{count}</0> <1>分</1>";
|
|
715
731
|
var second_abbreviation = "<0>{count}</0> <1>秒</1>";
|
|
732
|
+
var millisecond_abbreviation = "<0>{count}</0> <1>毫秒</1>";
|
|
733
|
+
var year = "<0>{count}</0> <1>年</1>";
|
|
734
|
+
var month = "<0>{count}</0> <1>月</1>";
|
|
716
735
|
var week = "<0>{count}</0> <1>周</1>";
|
|
717
736
|
var day = "<0>{count}</0> <1>天</1>";
|
|
718
737
|
var hour = "<0>{count}</0> <1>小时</1>";
|
|
719
738
|
var minute = "<0>{count}</0> <1>分钟</1>";
|
|
720
739
|
var second = "<0>{count}</0> <1>秒</1>";
|
|
740
|
+
var millisecond = "<0>{count}</0> <1>毫秒</1>";
|
|
721
741
|
var unit = {
|
|
742
|
+
year_abbreviation: year_abbreviation,
|
|
743
|
+
month_abbreviation: month_abbreviation,
|
|
722
744
|
week_abbreviation: week_abbreviation,
|
|
723
745
|
day_abbreviation: day_abbreviation,
|
|
724
746
|
hour_abbreviation: hour_abbreviation,
|
|
725
747
|
minute_abbreviation: minute_abbreviation,
|
|
726
748
|
second_abbreviation: second_abbreviation,
|
|
749
|
+
millisecond_abbreviation: millisecond_abbreviation,
|
|
750
|
+
year: year,
|
|
751
|
+
month: month,
|
|
727
752
|
week: week,
|
|
728
753
|
day: day,
|
|
729
754
|
hour: hour,
|
|
730
755
|
minute: minute,
|
|
731
|
-
second: second
|
|
756
|
+
second: second,
|
|
757
|
+
millisecond: millisecond
|
|
732
758
|
};
|
|
733
759
|
|
|
734
760
|
const locale = {
|
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":"e602-1","name":"common.json"},{"uid":"e602-3","name":"components.json"},{"uid":"e602-5","name":"metric.json"},{"uid":"e602-7","name":"unit.json"},{"uid":"e602-9","name":"index.ts"}]},{"name":"zh-CN","children":[{"uid":"e602-11","name":"common.json"},{"uid":"e602-13","name":"components.json"},{"uid":"e602-15","name":"metric.json"},{"uid":"e602-17","name":"unit.json"},{"uid":"e602-19","name":"index.ts"}]},{"uid":"e602-21","name":"index.ts"}]},{"uid":"e602-23","name":"parrotI18n.ts"},{"uid":"e602-25","name":"index.ts"}]}]}],"isRoot":true},"nodeParts":{"e602-1":{"renderedLength":4366,"gzipLength":0,"brotliLength":0,"metaUid":"e602-0"},"e602-3":{"renderedLength":9047,"gzipLength":0,"brotliLength":0,"metaUid":"e602-2"},"e602-5":{"renderedLength":181,"gzipLength":0,"brotliLength":0,"metaUid":"e602-4"},"e602-7":{"renderedLength":2064,"gzipLength":0,"brotliLength":0,"metaUid":"e602-6"},"e602-9":{"renderedLength":116,"gzipLength":0,"brotliLength":0,"metaUid":"e602-8"},"e602-11":{"renderedLength":3811,"gzipLength":0,"brotliLength":0,"metaUid":"e602-10"},"e602-13":{"renderedLength":7799,"gzipLength":0,"brotliLength":0,"metaUid":"e602-12"},"e602-15":{"renderedLength":173,"gzipLength":0,"brotliLength":0,"metaUid":"e602-14"},"e602-17":{"renderedLength":1323,"gzipLength":0,"brotliLength":0,"metaUid":"e602-16"},"e602-19":{"renderedLength":72,"gzipLength":0,"brotliLength":0,"metaUid":"e602-18"},"e602-21":{"renderedLength":67,"gzipLength":0,"brotliLength":0,"metaUid":"e602-20"},"e602-23":{"renderedLength":2059,"gzipLength":0,"brotliLength":0,"metaUid":"e602-22"},"e602-25":{"renderedLength":0,"gzipLength":0,"brotliLength":0,"metaUid":"e602-24"}},"nodeMetas":{"e602-0":{"id":"/src/locales/en-US/common.json","moduleParts":{"index.js":"e602-1"},"imported":[],"importedBy":[{"uid":"e602-8"}]},"e602-2":{"id":"/src/locales/en-US/components.json","moduleParts":{"index.js":"e602-3"},"imported":[],"importedBy":[{"uid":"e602-8"}]},"e602-4":{"id":"/src/locales/en-US/metric.json","moduleParts":{"index.js":"e602-5"},"imported":[],"importedBy":[{"uid":"e602-8"}]},"e602-6":{"id":"/src/locales/en-US/unit.json","moduleParts":{"index.js":"e602-7"},"imported":[],"importedBy":[{"uid":"e602-8"}]},"e602-8":{"id":"/src/locales/en-US/index.ts","moduleParts":{"index.js":"e602-9"},"imported":[{"uid":"e602-0"},{"uid":"e602-2"},{"uid":"e602-4"},{"uid":"e602-6"}],"importedBy":[{"uid":"e602-20"}]},"e602-10":{"id":"/src/locales/zh-CN/common.json","moduleParts":{"index.js":"e602-11"},"imported":[],"importedBy":[{"uid":"e602-18"}]},"e602-12":{"id":"/src/locales/zh-CN/components.json","moduleParts":{"index.js":"e602-13"},"imported":[],"importedBy":[{"uid":"e602-18"}]},"e602-14":{"id":"/src/locales/zh-CN/metric.json","moduleParts":{"index.js":"e602-15"},"imported":[],"importedBy":[{"uid":"e602-18"}]},"e602-16":{"id":"/src/locales/zh-CN/unit.json","moduleParts":{"index.js":"e602-17"},"imported":[],"importedBy":[{"uid":"e602-18"}]},"e602-18":{"id":"/src/locales/zh-CN/index.ts","moduleParts":{"index.js":"e602-19"},"imported":[{"uid":"e602-10"},{"uid":"e602-12"},{"uid":"e602-14"},{"uid":"e602-16"}],"importedBy":[{"uid":"e602-20"}]},"e602-20":{"id":"/src/locales/index.ts","moduleParts":{"index.js":"e602-21"},"imported":[{"uid":"e602-8"},{"uid":"e602-18"}],"importedBy":[{"uid":"e602-24"},{"uid":"e602-22"}]},"e602-22":{"id":"/src/parrotI18n.ts","moduleParts":{"index.js":"e602-23"},"imported":[{"uid":"e602-26"},{"uid":"e602-27"},{"uid":"e602-20"}],"importedBy":[{"uid":"e602-24"}]},"e602-24":{"id":"/src/index.ts","moduleParts":{"index.js":"e602-25"},"imported":[{"uid":"e602-20"},{"uid":"e602-22"}],"importedBy":[],"isEntry":true},"e602-26":{"id":"i18next","moduleParts":{},"imported":[],"importedBy":[{"uid":"e602-22"}],"isExternal":true},"e602-27":{"id":"lodash.merge","moduleParts":{},"imported":[],"importedBy":[{"uid":"e602-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.35.
|
|
3
|
+
"version": "0.35.8",
|
|
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": "e96b47aab33c09ba4ab6a0a35ad167e5dcd28a98"
|
|
49
49
|
}
|