@cloudtower/parrot 0.33.3 → 0.33.5

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 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$1 = "week";
33
- var day_abbreviation$1 = "day";
34
- var hour_abbreviation$1 = "h";
35
- var minute_abbreviation$1 = "min";
36
- var second_abbreviation$1 = "sec";
37
- var week$1 = "Week";
38
- var day$1 = "Day";
39
- var hour$1 = "Hour";
40
- var minute$1 = "Minute";
41
- var second$1 = "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";
@@ -64,6 +64,7 @@ var common$1 = {
64
64
  cancel: cancel$1,
65
65
  clear_query: clear_query$1,
66
66
  close: close$1,
67
+ "delete": "Delete",
67
68
  contains: contains$3,
68
69
  confirm: confirm$3,
69
70
  empty: empty$5,
@@ -86,16 +87,16 @@ var common$1 = {
86
87
  on: on$1,
87
88
  error_message: error_message$1,
88
89
  retry: retry$1,
89
- week_abbreviation: week_abbreviation$1,
90
- day_abbreviation: day_abbreviation$1,
91
- hour_abbreviation: hour_abbreviation$1,
92
- minute_abbreviation: minute_abbreviation$1,
93
- second_abbreviation: second_abbreviation$1,
94
- week: week$1,
95
- day: day$1,
96
- hour: hour$1,
97
- minute: minute$1,
98
- second: second$1,
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,
99
100
  monday: monday$1,
100
101
  tuesday: tuesday$1,
101
102
  wednesday: wednesday$1,
@@ -304,10 +305,48 @@ var metric$1 = {
304
305
  max: max$1
305
306
  };
306
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
+
307
345
  const locale$1 = {
308
346
  common: common$1,
309
347
  components: components$1,
310
- metric: metric$1
348
+ metric: metric$1,
349
+ unit: unit$1
311
350
  };
312
351
 
313
352
  var _action_ = "操作";
@@ -338,16 +377,16 @@ var calculation = "计算中";
338
377
  var on = "开启";
339
378
  var error_message = "错误信息";
340
379
  var retry = "重试";
341
- var week_abbreviation = "周";
342
- var day_abbreviation = "天";
343
- var hour_abbreviation = "小时";
344
- var minute_abbreviation = "分钟";
345
- var second_abbreviation = "秒";
346
- var week = "周";
347
- var day = "天";
348
- var hour = "小时";
349
- var minute = "分钟";
350
- 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 = "秒";
351
390
  var monday = "周一";
352
391
  var tuesday = "周二";
353
392
  var wednesday = "周三";
@@ -369,6 +408,7 @@ var common = {
369
408
  cancel: cancel,
370
409
  clear_query: clear_query,
371
410
  close: close,
411
+ "delete": "删除",
372
412
  contains: contains$1,
373
413
  confirm: confirm$1,
374
414
  empty: empty$2,
@@ -391,16 +431,16 @@ var common = {
391
431
  on: on,
392
432
  error_message: error_message,
393
433
  retry: retry,
394
- week_abbreviation: week_abbreviation,
395
- day_abbreviation: day_abbreviation,
396
- hour_abbreviation: hour_abbreviation,
397
- minute_abbreviation: minute_abbreviation,
398
- second_abbreviation: second_abbreviation,
399
- week: week,
400
- day: day,
401
- hour: hour,
402
- minute: minute,
403
- 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,
404
444
  monday: monday,
405
445
  tuesday: tuesday,
406
446
  wednesday: wednesday,
@@ -595,10 +635,34 @@ var metric = {
595
635
  max: max
596
636
  };
597
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
+
598
661
  const locale = {
599
662
  common,
600
663
  components,
601
- metric
664
+ metric,
665
+ unit
602
666
  };
603
667
 
604
668
  const locales = {
@@ -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":"397d-25","name":"common.json"},{"uid":"397d-27","name":"components.json"},{"uid":"397d-29","name":"metric.json"},{"uid":"397d-31","name":"index.ts"}]},{"name":"zh-CN","children":[{"uid":"397d-33","name":"common.json"},{"uid":"397d-35","name":"components.json"},{"uid":"397d-37","name":"metric.json"},{"uid":"397d-39","name":"index.ts"}]},{"uid":"397d-41","name":"index.ts"}]},{"uid":"397d-43","name":"parrotI18n.ts"},{"uid":"397d-45","name":"index.ts"}]}]}],"isRoot":true},"nodeParts":{"397d-25":{"renderedLength":3100,"gzipLength":0,"brotliLength":0,"metaUid":"397d-24"},"397d-27":{"renderedLength":8097,"gzipLength":0,"brotliLength":0,"metaUid":"397d-26"},"397d-29":{"renderedLength":165,"gzipLength":0,"brotliLength":0,"metaUid":"397d-28"},"397d-31":{"renderedLength":88,"gzipLength":0,"brotliLength":0,"metaUid":"397d-30"},"397d-33":{"renderedLength":2536,"gzipLength":0,"brotliLength":0,"metaUid":"397d-32"},"397d-35":{"renderedLength":7006,"gzipLength":0,"brotliLength":0,"metaUid":"397d-34"},"397d-37":{"renderedLength":157,"gzipLength":0,"brotliLength":0,"metaUid":"397d-36"},"397d-39":{"renderedLength":52,"gzipLength":0,"brotliLength":0,"metaUid":"397d-38"},"397d-41":{"renderedLength":59,"gzipLength":0,"brotliLength":0,"metaUid":"397d-40"},"397d-43":{"renderedLength":1945,"gzipLength":0,"brotliLength":0,"metaUid":"397d-42"},"397d-45":{"renderedLength":0,"gzipLength":0,"brotliLength":0,"metaUid":"397d-44"}},"nodeMetas":{"397d-24":{"id":"/src/locales/en-US/common.json","moduleParts":{"index.js":"397d-25"},"imported":[],"importedBy":[{"uid":"397d-30"}]},"397d-26":{"id":"/src/locales/en-US/components.json","moduleParts":{"index.js":"397d-27"},"imported":[],"importedBy":[{"uid":"397d-30"}]},"397d-28":{"id":"/src/locales/en-US/metric.json","moduleParts":{"index.js":"397d-29"},"imported":[],"importedBy":[{"uid":"397d-30"}]},"397d-30":{"id":"/src/locales/en-US/index.ts","moduleParts":{"index.js":"397d-31"},"imported":[{"uid":"397d-24"},{"uid":"397d-26"},{"uid":"397d-28"}],"importedBy":[{"uid":"397d-40"}]},"397d-32":{"id":"/src/locales/zh-CN/common.json","moduleParts":{"index.js":"397d-33"},"imported":[],"importedBy":[{"uid":"397d-38"}]},"397d-34":{"id":"/src/locales/zh-CN/components.json","moduleParts":{"index.js":"397d-35"},"imported":[],"importedBy":[{"uid":"397d-38"}]},"397d-36":{"id":"/src/locales/zh-CN/metric.json","moduleParts":{"index.js":"397d-37"},"imported":[],"importedBy":[{"uid":"397d-38"}]},"397d-38":{"id":"/src/locales/zh-CN/index.ts","moduleParts":{"index.js":"397d-39"},"imported":[{"uid":"397d-32"},{"uid":"397d-34"},{"uid":"397d-36"}],"importedBy":[{"uid":"397d-40"}]},"397d-40":{"id":"/src/locales/index.ts","moduleParts":{"index.js":"397d-41"},"imported":[{"uid":"397d-30"},{"uid":"397d-38"}],"importedBy":[{"uid":"397d-44"},{"uid":"397d-42"}]},"397d-42":{"id":"/src/parrotI18n.ts","moduleParts":{"index.js":"397d-43"},"imported":[{"uid":"397d-46"},{"uid":"397d-47"},{"uid":"397d-40"}],"importedBy":[{"uid":"397d-44"}]},"397d-44":{"id":"/src/index.ts","moduleParts":{"index.js":"397d-45"},"imported":[{"uid":"397d-40"},{"uid":"397d-42"}],"importedBy":[],"isEntry":true},"397d-46":{"id":"i18next","moduleParts":{},"imported":[],"importedBy":[{"uid":"397d-42"}],"isExternal":true},"397d-47":{"id":"lodash.merge","moduleParts":{},"imported":[],"importedBy":[{"uid":"397d-42"}],"isExternal":true}},"env":{"rollup":"3.29.4"},"options":{"gzip":false,"brotli":false,"sourcemap":false}};
6160
+ const data = {"version":2,"tree":{"name":"root","children":[{"name":"index.js","children":[{"name":"src","children":[{"name":"locales","children":[{"name":"en-US","children":[{"uid":"8504-29","name":"common.json"},{"uid":"8504-31","name":"components.json"},{"uid":"8504-33","name":"metric.json"},{"uid":"8504-35","name":"unit.json"},{"uid":"8504-37","name":"index.ts"}]},{"name":"zh-CN","children":[{"uid":"8504-39","name":"common.json"},{"uid":"8504-41","name":"components.json"},{"uid":"8504-43","name":"metric.json"},{"uid":"8504-45","name":"unit.json"},{"uid":"8504-47","name":"index.ts"}]},{"uid":"8504-49","name":"index.ts"}]},{"uid":"8504-51","name":"parrotI18n.ts"},{"uid":"8504-53","name":"index.ts"}]}]}],"isRoot":true},"nodeParts":{"8504-29":{"renderedLength":3121,"gzipLength":0,"brotliLength":0,"metaUid":"8504-28"},"8504-31":{"renderedLength":8097,"gzipLength":0,"brotliLength":0,"metaUid":"8504-30"},"8504-33":{"renderedLength":165,"gzipLength":0,"brotliLength":0,"metaUid":"8504-32"},"8504-35":{"renderedLength":1424,"gzipLength":0,"brotliLength":0,"metaUid":"8504-34"},"8504-37":{"renderedLength":104,"gzipLength":0,"brotliLength":0,"metaUid":"8504-36"},"8504-39":{"renderedLength":2597,"gzipLength":0,"brotliLength":0,"metaUid":"8504-38"},"8504-41":{"renderedLength":7006,"gzipLength":0,"brotliLength":0,"metaUid":"8504-40"},"8504-43":{"renderedLength":157,"gzipLength":0,"brotliLength":0,"metaUid":"8504-42"},"8504-45":{"renderedLength":769,"gzipLength":0,"brotliLength":0,"metaUid":"8504-44"},"8504-47":{"renderedLength":60,"gzipLength":0,"brotliLength":0,"metaUid":"8504-46"},"8504-49":{"renderedLength":59,"gzipLength":0,"brotliLength":0,"metaUid":"8504-48"},"8504-51":{"renderedLength":1945,"gzipLength":0,"brotliLength":0,"metaUid":"8504-50"},"8504-53":{"renderedLength":0,"gzipLength":0,"brotliLength":0,"metaUid":"8504-52"}},"nodeMetas":{"8504-28":{"id":"/src/locales/en-US/common.json","moduleParts":{"index.js":"8504-29"},"imported":[],"importedBy":[{"uid":"8504-36"}]},"8504-30":{"id":"/src/locales/en-US/components.json","moduleParts":{"index.js":"8504-31"},"imported":[],"importedBy":[{"uid":"8504-36"}]},"8504-32":{"id":"/src/locales/en-US/metric.json","moduleParts":{"index.js":"8504-33"},"imported":[],"importedBy":[{"uid":"8504-36"}]},"8504-34":{"id":"/src/locales/en-US/unit.json","moduleParts":{"index.js":"8504-35"},"imported":[],"importedBy":[{"uid":"8504-36"}]},"8504-36":{"id":"/src/locales/en-US/index.ts","moduleParts":{"index.js":"8504-37"},"imported":[{"uid":"8504-28"},{"uid":"8504-30"},{"uid":"8504-32"},{"uid":"8504-34"}],"importedBy":[{"uid":"8504-48"}]},"8504-38":{"id":"/src/locales/zh-CN/common.json","moduleParts":{"index.js":"8504-39"},"imported":[],"importedBy":[{"uid":"8504-46"}]},"8504-40":{"id":"/src/locales/zh-CN/components.json","moduleParts":{"index.js":"8504-41"},"imported":[],"importedBy":[{"uid":"8504-46"}]},"8504-42":{"id":"/src/locales/zh-CN/metric.json","moduleParts":{"index.js":"8504-43"},"imported":[],"importedBy":[{"uid":"8504-46"}]},"8504-44":{"id":"/src/locales/zh-CN/unit.json","moduleParts":{"index.js":"8504-45"},"imported":[],"importedBy":[{"uid":"8504-46"}]},"8504-46":{"id":"/src/locales/zh-CN/index.ts","moduleParts":{"index.js":"8504-47"},"imported":[{"uid":"8504-38"},{"uid":"8504-40"},{"uid":"8504-42"},{"uid":"8504-44"}],"importedBy":[{"uid":"8504-48"}]},"8504-48":{"id":"/src/locales/index.ts","moduleParts":{"index.js":"8504-49"},"imported":[{"uid":"8504-36"},{"uid":"8504-46"}],"importedBy":[{"uid":"8504-52"},{"uid":"8504-50"}]},"8504-50":{"id":"/src/parrotI18n.ts","moduleParts":{"index.js":"8504-51"},"imported":[{"uid":"8504-54"},{"uid":"8504-55"},{"uid":"8504-48"}],"importedBy":[{"uid":"8504-52"}]},"8504-52":{"id":"/src/index.ts","moduleParts":{"index.js":"8504-53"},"imported":[{"uid":"8504-48"},{"uid":"8504-50"}],"importedBy":[],"isEntry":true},"8504-54":{"id":"i18next","moduleParts":{},"imported":[],"importedBy":[{"uid":"8504-50"}],"isExternal":true},"8504-55":{"id":"lodash.merge","moduleParts":{},"imported":[],"importedBy":[{"uid":"8504-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;
@@ -6,6 +6,7 @@ declare const locale: {
6
6
  cancel: string;
7
7
  clear_query: string;
8
8
  close: string;
9
+ delete: string;
9
10
  contains: string;
10
11
  confirm: string;
11
12
  empty: string;
@@ -156,5 +157,24 @@ declare const locale: {
156
157
  empty: string;
157
158
  max: string;
158
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
+ };
159
179
  };
160
180
  export default locale;
@@ -7,6 +7,7 @@ declare const locales: {
7
7
  cancel: string;
8
8
  clear_query: string;
9
9
  close: string;
10
+ delete: string;
10
11
  contains: string;
11
12
  confirm: string;
12
13
  empty: string;
@@ -157,6 +158,25 @@ declare const locales: {
157
158
  empty: string;
158
159
  max: string;
159
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
+ };
160
180
  };
161
181
  "zh-CN": {
162
182
  common: {
@@ -166,6 +186,7 @@ declare const locales: {
166
186
  cancel: string;
167
187
  clear_query: string;
168
188
  close: string;
189
+ delete: string;
169
190
  contains: string;
170
191
  confirm: string;
171
192
  empty: string;
@@ -307,6 +328,18 @@ declare const locales: {
307
328
  empty: string;
308
329
  max: string;
309
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
+ };
310
343
  };
311
344
  };
312
345
  export default locales;
@@ -6,6 +6,7 @@ declare const locale: {
6
6
  cancel: string;
7
7
  clear_query: string;
8
8
  close: string;
9
+ delete: string;
9
10
  contains: string;
10
11
  confirm: string;
11
12
  empty: string;
@@ -147,5 +148,17 @@ declare const locale: {
147
148
  empty: string;
148
149
  max: string;
149
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
+ };
150
163
  };
151
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$1 = "week";
36
- var day_abbreviation$1 = "day";
37
- var hour_abbreviation$1 = "h";
38
- var minute_abbreviation$1 = "min";
39
- var second_abbreviation$1 = "sec";
40
- var week$1 = "Week";
41
- var day$1 = "Day";
42
- var hour$1 = "Hour";
43
- var minute$1 = "Minute";
44
- var second$1 = "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";
@@ -67,6 +67,7 @@
67
67
  cancel: cancel$1,
68
68
  clear_query: clear_query$1,
69
69
  close: close$1,
70
+ "delete": "Delete",
70
71
  contains: contains$3,
71
72
  confirm: confirm$3,
72
73
  empty: empty$5,
@@ -89,16 +90,16 @@
89
90
  on: on$1,
90
91
  error_message: error_message$1,
91
92
  retry: retry$1,
92
- week_abbreviation: week_abbreviation$1,
93
- day_abbreviation: day_abbreviation$1,
94
- hour_abbreviation: hour_abbreviation$1,
95
- minute_abbreviation: minute_abbreviation$1,
96
- second_abbreviation: second_abbreviation$1,
97
- week: week$1,
98
- day: day$1,
99
- hour: hour$1,
100
- minute: minute$1,
101
- second: second$1,
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,
102
103
  monday: monday$1,
103
104
  tuesday: tuesday$1,
104
105
  wednesday: wednesday$1,
@@ -307,10 +308,48 @@
307
308
  max: max$1
308
309
  };
309
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
+
310
348
  const locale$1 = {
311
349
  common: common$1,
312
350
  components: components$1,
313
- metric: metric$1
351
+ metric: metric$1,
352
+ unit: unit$1
314
353
  };
315
354
 
316
355
  var _action_ = "操作";
@@ -341,16 +380,16 @@
341
380
  var on = "开启";
342
381
  var error_message = "错误信息";
343
382
  var retry = "重试";
344
- var week_abbreviation = "周";
345
- var day_abbreviation = "天";
346
- var hour_abbreviation = "小时";
347
- var minute_abbreviation = "分钟";
348
- var second_abbreviation = "秒";
349
- var week = "周";
350
- var day = "天";
351
- var hour = "小时";
352
- var minute = "分钟";
353
- 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 = "秒";
354
393
  var monday = "周一";
355
394
  var tuesday = "周二";
356
395
  var wednesday = "周三";
@@ -372,6 +411,7 @@
372
411
  cancel: cancel,
373
412
  clear_query: clear_query,
374
413
  close: close,
414
+ "delete": "删除",
375
415
  contains: contains$1,
376
416
  confirm: confirm$1,
377
417
  empty: empty$2,
@@ -394,16 +434,16 @@
394
434
  on: on,
395
435
  error_message: error_message,
396
436
  retry: retry,
397
- week_abbreviation: week_abbreviation,
398
- day_abbreviation: day_abbreviation,
399
- hour_abbreviation: hour_abbreviation,
400
- minute_abbreviation: minute_abbreviation,
401
- second_abbreviation: second_abbreviation,
402
- week: week,
403
- day: day,
404
- hour: hour,
405
- minute: minute,
406
- 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,
407
447
  monday: monday,
408
448
  tuesday: tuesday,
409
449
  wednesday: wednesday,
@@ -598,10 +638,34 @@
598
638
  max: max
599
639
  };
600
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
+
601
664
  const locale = {
602
665
  common,
603
666
  components,
604
- metric
667
+ metric,
668
+ unit
605
669
  };
606
670
 
607
671
  const locales = {
@@ -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":"397d-1","name":"common.json"},{"uid":"397d-3","name":"components.json"},{"uid":"397d-5","name":"metric.json"},{"uid":"397d-7","name":"index.ts"}]},{"name":"zh-CN","children":[{"uid":"397d-9","name":"common.json"},{"uid":"397d-11","name":"components.json"},{"uid":"397d-13","name":"metric.json"},{"uid":"397d-15","name":"index.ts"}]},{"uid":"397d-17","name":"index.ts"}]},{"uid":"397d-19","name":"parrotI18n.ts"},{"uid":"397d-21","name":"index.ts"}]}]}],"isRoot":true},"nodeParts":{"397d-1":{"renderedLength":3328,"gzipLength":0,"brotliLength":0,"metaUid":"397d-0"},"397d-3":{"renderedLength":8453,"gzipLength":0,"brotliLength":0,"metaUid":"397d-2"},"397d-5":{"renderedLength":181,"gzipLength":0,"brotliLength":0,"metaUid":"397d-4"},"397d-7":{"renderedLength":98,"gzipLength":0,"brotliLength":0,"metaUid":"397d-6"},"397d-9":{"renderedLength":2748,"gzipLength":0,"brotliLength":0,"metaUid":"397d-8"},"397d-11":{"renderedLength":7342,"gzipLength":0,"brotliLength":0,"metaUid":"397d-10"},"397d-13":{"renderedLength":173,"gzipLength":0,"brotliLength":0,"metaUid":"397d-12"},"397d-15":{"renderedLength":62,"gzipLength":0,"brotliLength":0,"metaUid":"397d-14"},"397d-17":{"renderedLength":67,"gzipLength":0,"brotliLength":0,"metaUid":"397d-16"},"397d-19":{"renderedLength":2059,"gzipLength":0,"brotliLength":0,"metaUid":"397d-18"},"397d-21":{"renderedLength":0,"gzipLength":0,"brotliLength":0,"metaUid":"397d-20"}},"nodeMetas":{"397d-0":{"id":"/src/locales/en-US/common.json","moduleParts":{"index.js":"397d-1"},"imported":[],"importedBy":[{"uid":"397d-6"}]},"397d-2":{"id":"/src/locales/en-US/components.json","moduleParts":{"index.js":"397d-3"},"imported":[],"importedBy":[{"uid":"397d-6"}]},"397d-4":{"id":"/src/locales/en-US/metric.json","moduleParts":{"index.js":"397d-5"},"imported":[],"importedBy":[{"uid":"397d-6"}]},"397d-6":{"id":"/src/locales/en-US/index.ts","moduleParts":{"index.js":"397d-7"},"imported":[{"uid":"397d-0"},{"uid":"397d-2"},{"uid":"397d-4"}],"importedBy":[{"uid":"397d-16"}]},"397d-8":{"id":"/src/locales/zh-CN/common.json","moduleParts":{"index.js":"397d-9"},"imported":[],"importedBy":[{"uid":"397d-14"}]},"397d-10":{"id":"/src/locales/zh-CN/components.json","moduleParts":{"index.js":"397d-11"},"imported":[],"importedBy":[{"uid":"397d-14"}]},"397d-12":{"id":"/src/locales/zh-CN/metric.json","moduleParts":{"index.js":"397d-13"},"imported":[],"importedBy":[{"uid":"397d-14"}]},"397d-14":{"id":"/src/locales/zh-CN/index.ts","moduleParts":{"index.js":"397d-15"},"imported":[{"uid":"397d-8"},{"uid":"397d-10"},{"uid":"397d-12"}],"importedBy":[{"uid":"397d-16"}]},"397d-16":{"id":"/src/locales/index.ts","moduleParts":{"index.js":"397d-17"},"imported":[{"uid":"397d-6"},{"uid":"397d-14"}],"importedBy":[{"uid":"397d-20"},{"uid":"397d-18"}]},"397d-18":{"id":"/src/parrotI18n.ts","moduleParts":{"index.js":"397d-19"},"imported":[{"uid":"397d-22"},{"uid":"397d-23"},{"uid":"397d-16"}],"importedBy":[{"uid":"397d-20"}]},"397d-20":{"id":"/src/index.ts","moduleParts":{"index.js":"397d-21"},"imported":[{"uid":"397d-16"},{"uid":"397d-18"}],"importedBy":[],"isEntry":true},"397d-22":{"id":"i18next","moduleParts":{},"imported":[],"importedBy":[{"uid":"397d-18"}],"isExternal":true},"397d-23":{"id":"lodash.merge","moduleParts":{},"imported":[],"importedBy":[{"uid":"397d-18"}],"isExternal":true}},"env":{"rollup":"3.29.4"},"options":{"gzip":false,"brotli":false,"sourcemap":false}};
6160
+ const data = {"version":2,"tree":{"name":"root","children":[{"name":"index.js","children":[{"name":"src","children":[{"name":"locales","children":[{"name":"en-US","children":[{"uid":"8504-1","name":"common.json"},{"uid":"8504-3","name":"components.json"},{"uid":"8504-5","name":"metric.json"},{"uid":"8504-7","name":"unit.json"},{"uid":"8504-9","name":"index.ts"}]},{"name":"zh-CN","children":[{"uid":"8504-11","name":"common.json"},{"uid":"8504-13","name":"components.json"},{"uid":"8504-15","name":"metric.json"},{"uid":"8504-17","name":"unit.json"},{"uid":"8504-19","name":"index.ts"}]},{"uid":"8504-21","name":"index.ts"}]},{"uid":"8504-23","name":"parrotI18n.ts"},{"uid":"8504-25","name":"index.ts"}]}]}],"isRoot":true},"nodeParts":{"8504-1":{"renderedLength":3351,"gzipLength":0,"brotliLength":0,"metaUid":"8504-0"},"8504-3":{"renderedLength":8453,"gzipLength":0,"brotliLength":0,"metaUid":"8504-2"},"8504-5":{"renderedLength":181,"gzipLength":0,"brotliLength":0,"metaUid":"8504-4"},"8504-7":{"renderedLength":1496,"gzipLength":0,"brotliLength":0,"metaUid":"8504-6"},"8504-9":{"renderedLength":116,"gzipLength":0,"brotliLength":0,"metaUid":"8504-8"},"8504-11":{"renderedLength":2811,"gzipLength":0,"brotliLength":0,"metaUid":"8504-10"},"8504-13":{"renderedLength":7342,"gzipLength":0,"brotliLength":0,"metaUid":"8504-12"},"8504-15":{"renderedLength":173,"gzipLength":0,"brotliLength":0,"metaUid":"8504-14"},"8504-17":{"renderedLength":813,"gzipLength":0,"brotliLength":0,"metaUid":"8504-16"},"8504-19":{"renderedLength":72,"gzipLength":0,"brotliLength":0,"metaUid":"8504-18"},"8504-21":{"renderedLength":67,"gzipLength":0,"brotliLength":0,"metaUid":"8504-20"},"8504-23":{"renderedLength":2059,"gzipLength":0,"brotliLength":0,"metaUid":"8504-22"},"8504-25":{"renderedLength":0,"gzipLength":0,"brotliLength":0,"metaUid":"8504-24"}},"nodeMetas":{"8504-0":{"id":"/src/locales/en-US/common.json","moduleParts":{"index.js":"8504-1"},"imported":[],"importedBy":[{"uid":"8504-8"}]},"8504-2":{"id":"/src/locales/en-US/components.json","moduleParts":{"index.js":"8504-3"},"imported":[],"importedBy":[{"uid":"8504-8"}]},"8504-4":{"id":"/src/locales/en-US/metric.json","moduleParts":{"index.js":"8504-5"},"imported":[],"importedBy":[{"uid":"8504-8"}]},"8504-6":{"id":"/src/locales/en-US/unit.json","moduleParts":{"index.js":"8504-7"},"imported":[],"importedBy":[{"uid":"8504-8"}]},"8504-8":{"id":"/src/locales/en-US/index.ts","moduleParts":{"index.js":"8504-9"},"imported":[{"uid":"8504-0"},{"uid":"8504-2"},{"uid":"8504-4"},{"uid":"8504-6"}],"importedBy":[{"uid":"8504-20"}]},"8504-10":{"id":"/src/locales/zh-CN/common.json","moduleParts":{"index.js":"8504-11"},"imported":[],"importedBy":[{"uid":"8504-18"}]},"8504-12":{"id":"/src/locales/zh-CN/components.json","moduleParts":{"index.js":"8504-13"},"imported":[],"importedBy":[{"uid":"8504-18"}]},"8504-14":{"id":"/src/locales/zh-CN/metric.json","moduleParts":{"index.js":"8504-15"},"imported":[],"importedBy":[{"uid":"8504-18"}]},"8504-16":{"id":"/src/locales/zh-CN/unit.json","moduleParts":{"index.js":"8504-17"},"imported":[],"importedBy":[{"uid":"8504-18"}]},"8504-18":{"id":"/src/locales/zh-CN/index.ts","moduleParts":{"index.js":"8504-19"},"imported":[{"uid":"8504-10"},{"uid":"8504-12"},{"uid":"8504-14"},{"uid":"8504-16"}],"importedBy":[{"uid":"8504-20"}]},"8504-20":{"id":"/src/locales/index.ts","moduleParts":{"index.js":"8504-21"},"imported":[{"uid":"8504-8"},{"uid":"8504-18"}],"importedBy":[{"uid":"8504-24"},{"uid":"8504-22"}]},"8504-22":{"id":"/src/parrotI18n.ts","moduleParts":{"index.js":"8504-23"},"imported":[{"uid":"8504-26"},{"uid":"8504-27"},{"uid":"8504-20"}],"importedBy":[{"uid":"8504-24"}]},"8504-24":{"id":"/src/index.ts","moduleParts":{"index.js":"8504-25"},"imported":[{"uid":"8504-20"},{"uid":"8504-22"}],"importedBy":[],"isEntry":true},"8504-26":{"id":"i18next","moduleParts":{},"imported":[],"importedBy":[{"uid":"8504-22"}],"isExternal":true},"8504-27":{"id":"lodash.merge","moduleParts":{},"imported":[],"importedBy":[{"uid":"8504-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.33.3",
3
+ "version": "0.33.5",
4
4
  "description": "i18n modules for cloudtower sparrow and eagle",
5
5
  "keywords": [
6
6
  "i18n",
@@ -43,7 +43,7 @@
43
43
  "rollup-plugin-polyfill-node": "^0.12.0",
44
44
  "rollup-plugin-visualizer": "5.9.0",
45
45
  "typescript": "5.0.2",
46
- "vitest": "^3.0.2"
46
+ "vitest": "^3.1.1"
47
47
  },
48
- "gitHead": "c6df587e1cbce01345375eb4b5dc6f0e6165734d"
48
+ "gitHead": "8369a9fccb4c88d56d874294796ddf49a3ea2f50"
49
49
  }