@cloudtower/parrot 0.27.3-alpha.0 → 0.27.3
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 +142 -5
- package/dist/esm/stats1.html +1 -1
- package/dist/locales/en-US/index.d.ts +33 -0
- package/dist/locales/index.d.ts +66 -0
- package/dist/locales/zh-CN/index.d.ts +33 -0
- package/dist/parrotI18n.d.ts +4 -0
- package/dist/umd/index.js +142 -4
- package/dist/umd/stats1.html +1 -1
- package/package.json +2 -2
package/dist/esm/index.js
CHANGED
@@ -37,6 +37,13 @@ var day$1 = "Day";
|
|
37
37
|
var hour$1 = "Hour";
|
38
38
|
var minute$1 = "Minute";
|
39
39
|
var second$1 = "Second";
|
40
|
+
var monday$1 = "Monday";
|
41
|
+
var tuesday$1 = "Tuesday";
|
42
|
+
var wednesday$1 = "Wednesday";
|
43
|
+
var thursday$1 = "Thursday";
|
44
|
+
var friday$1 = "Friday";
|
45
|
+
var saturday$1 = "Saturday";
|
46
|
+
var sunday$1 = "Sunday";
|
40
47
|
var common$1 = {
|
41
48
|
_action_: _action_$1,
|
42
49
|
action: action$1,
|
@@ -73,7 +80,14 @@ var common$1 = {
|
|
73
80
|
day: day$1,
|
74
81
|
hour: hour$1,
|
75
82
|
minute: minute$1,
|
76
|
-
second: second$1
|
83
|
+
second: second$1,
|
84
|
+
monday: monday$1,
|
85
|
+
tuesday: tuesday$1,
|
86
|
+
wednesday: wednesday$1,
|
87
|
+
thursday: thursday$1,
|
88
|
+
friday: friday$1,
|
89
|
+
saturday: saturday$1,
|
90
|
+
sunday: sunday$1
|
77
91
|
};
|
78
92
|
|
79
93
|
var contains$2 = "Contains";
|
@@ -99,6 +113,32 @@ var remove$1 = "Remove";
|
|
99
113
|
var add$1 = "Add";
|
100
114
|
var prefix$1 = "Prefix";
|
101
115
|
var suffix$1 = "Suffix";
|
116
|
+
var as_day$1 = "By Day";
|
117
|
+
var count$1 = "";
|
118
|
+
var per_day_1$1 = "Repeat every";
|
119
|
+
var per_day_2$1 = "day(s) at";
|
120
|
+
var per_day_3$1 = "";
|
121
|
+
var execution_time$1 = "Execution Time: ";
|
122
|
+
var as_week$1 = "By Week";
|
123
|
+
var as_month$1 = "By Month";
|
124
|
+
var week_with_below_date$1 = "week(s), on the following day(s):";
|
125
|
+
var month_with_below_date$1 = "month(s), on the following days(s):";
|
126
|
+
var will_excute_at_last_day_with_date$1 = "If there is no {date} in the current month, it will be executed in the last day of the month.";
|
127
|
+
var retain_with_count$1 = "Retain {count} reports";
|
128
|
+
var start_date$1 = "Start Date";
|
129
|
+
var retain_date$1 = "Retain copies";
|
130
|
+
var next_generate_with_date$1 = "The next report will be generated on {date}";
|
131
|
+
var will_save_one_to_thirty_report$1 = "You can retain 1-30 copies of the most recently generated reports.";
|
132
|
+
var every_day_with_time$1 = "Every day at {time}";
|
133
|
+
var every_day_with_count_and_time$1 = "Every {count} days at {time}";
|
134
|
+
var every_week_with_time$1 = "Every week at {time}";
|
135
|
+
var every_week_with_day_and_time$1 = "Every week on {day} at {time}";
|
136
|
+
var every_weeks_with_count_and_time$1 = "Every {count} weeks at {time}";
|
137
|
+
var every_weeks_with_count_and_day_and_time$1 = "Every {count} weeks on {day} at {time}";
|
138
|
+
var every_month_with_time$1 = "Every month at {time}";
|
139
|
+
var every_month_with_day_and_time$1 = "Every month on the day of {day} at {time}";
|
140
|
+
var every_months_with_count_and_time$1 = "Every {count} months at {time}";
|
141
|
+
var every_months_with_count_and_day_and_time$1 = "Every {count} months on the day of {day} at {time}";
|
102
142
|
var components$1 = {
|
103
143
|
contains: contains$2,
|
104
144
|
custom_column: custom_column$1,
|
@@ -123,7 +163,33 @@ var components$1 = {
|
|
123
163
|
remove: remove$1,
|
124
164
|
add: add$1,
|
125
165
|
prefix: prefix$1,
|
126
|
-
suffix: suffix$1
|
166
|
+
suffix: suffix$1,
|
167
|
+
as_day: as_day$1,
|
168
|
+
count: count$1,
|
169
|
+
per_day_1: per_day_1$1,
|
170
|
+
per_day_2: per_day_2$1,
|
171
|
+
per_day_3: per_day_3$1,
|
172
|
+
execution_time: execution_time$1,
|
173
|
+
as_week: as_week$1,
|
174
|
+
as_month: as_month$1,
|
175
|
+
week_with_below_date: week_with_below_date$1,
|
176
|
+
month_with_below_date: month_with_below_date$1,
|
177
|
+
will_excute_at_last_day_with_date: will_excute_at_last_day_with_date$1,
|
178
|
+
retain_with_count: retain_with_count$1,
|
179
|
+
start_date: start_date$1,
|
180
|
+
retain_date: retain_date$1,
|
181
|
+
next_generate_with_date: next_generate_with_date$1,
|
182
|
+
will_save_one_to_thirty_report: will_save_one_to_thirty_report$1,
|
183
|
+
every_day_with_time: every_day_with_time$1,
|
184
|
+
every_day_with_count_and_time: every_day_with_count_and_time$1,
|
185
|
+
every_week_with_time: every_week_with_time$1,
|
186
|
+
every_week_with_day_and_time: every_week_with_day_and_time$1,
|
187
|
+
every_weeks_with_count_and_time: every_weeks_with_count_and_time$1,
|
188
|
+
every_weeks_with_count_and_day_and_time: every_weeks_with_count_and_day_and_time$1,
|
189
|
+
every_month_with_time: every_month_with_time$1,
|
190
|
+
every_month_with_day_and_time: every_month_with_day_and_time$1,
|
191
|
+
every_months_with_count_and_time: every_months_with_count_and_time$1,
|
192
|
+
every_months_with_count_and_day_and_time: every_months_with_count_and_day_and_time$1
|
127
193
|
};
|
128
194
|
|
129
195
|
var current$1 = "Current value";
|
@@ -177,6 +243,13 @@ var day = "天";
|
|
177
243
|
var hour = "小时";
|
178
244
|
var minute = "分钟";
|
179
245
|
var second = "秒";
|
246
|
+
var monday = "周一";
|
247
|
+
var tuesday = "周二";
|
248
|
+
var wednesday = "周三";
|
249
|
+
var thursday = "周四";
|
250
|
+
var friday = "周五";
|
251
|
+
var saturday = "周六";
|
252
|
+
var sunday = "周日";
|
180
253
|
var common = {
|
181
254
|
_action_: _action_,
|
182
255
|
action: action,
|
@@ -213,7 +286,14 @@ var common = {
|
|
213
286
|
day: day,
|
214
287
|
hour: hour,
|
215
288
|
minute: minute,
|
216
|
-
second: second
|
289
|
+
second: second,
|
290
|
+
monday: monday,
|
291
|
+
tuesday: tuesday,
|
292
|
+
wednesday: wednesday,
|
293
|
+
thursday: thursday,
|
294
|
+
friday: friday,
|
295
|
+
saturday: saturday,
|
296
|
+
sunday: sunday
|
217
297
|
};
|
218
298
|
|
219
299
|
var contains = "包含";
|
@@ -239,6 +319,32 @@ var remove = "移除";
|
|
239
319
|
var add = "添加";
|
240
320
|
var prefix = "前缀";
|
241
321
|
var suffix = "后缀";
|
322
|
+
var as_day = "按天";
|
323
|
+
var count = "份";
|
324
|
+
var per_day_1 = "每";
|
325
|
+
var per_day_2 = "天,";
|
326
|
+
var per_day_3 = "生成。";
|
327
|
+
var execution_time = "生成时间:";
|
328
|
+
var as_week = "按周";
|
329
|
+
var as_month = "按月";
|
330
|
+
var week_with_below_date = "周的如下日期:";
|
331
|
+
var month_with_below_date = "个月的如下日期:";
|
332
|
+
var will_excute_at_last_day_with_date = "如果当月没有 {date} 号,则会提前至该月最后一天执行。";
|
333
|
+
var retain_with_count = "保留 {count} 份";
|
334
|
+
var start_date = "开始日期";
|
335
|
+
var retain_date = "保留份数";
|
336
|
+
var next_generate_with_date = "下次生成将会发生在:{date}";
|
337
|
+
var will_save_one_to_thirty_report = "可以保留 1~30 份最近自动生成的报表。";
|
338
|
+
var every_day_with_time = "每天的 {time}";
|
339
|
+
var every_day_with_count_and_time = "每 {count} 天的 {time}";
|
340
|
+
var every_week_with_time = "每周的 {time}";
|
341
|
+
var every_week_with_day_and_time = "每周的周{day} {time}";
|
342
|
+
var every_weeks_with_count_and_time = "每 {count} 周的 {time}";
|
343
|
+
var every_weeks_with_count_and_day_and_time = "每 {count} 周的周{day} {time}";
|
344
|
+
var every_month_with_time = "每月的 {time}";
|
345
|
+
var every_month_with_day_and_time = "每月的 {day} 号 {time}";
|
346
|
+
var every_months_with_count_and_time = "每 {count} 月的 {time}";
|
347
|
+
var every_months_with_count_and_day_and_time = "每 {count} 月的 {day} 号 {time}";
|
242
348
|
var components = {
|
243
349
|
contains: contains,
|
244
350
|
custom_column: custom_column,
|
@@ -263,7 +369,33 @@ var components = {
|
|
263
369
|
remove: remove,
|
264
370
|
add: add,
|
265
371
|
prefix: prefix,
|
266
|
-
suffix: suffix
|
372
|
+
suffix: suffix,
|
373
|
+
as_day: as_day,
|
374
|
+
count: count,
|
375
|
+
per_day_1: per_day_1,
|
376
|
+
per_day_2: per_day_2,
|
377
|
+
per_day_3: per_day_3,
|
378
|
+
execution_time: execution_time,
|
379
|
+
as_week: as_week,
|
380
|
+
as_month: as_month,
|
381
|
+
week_with_below_date: week_with_below_date,
|
382
|
+
month_with_below_date: month_with_below_date,
|
383
|
+
will_excute_at_last_day_with_date: will_excute_at_last_day_with_date,
|
384
|
+
retain_with_count: retain_with_count,
|
385
|
+
start_date: start_date,
|
386
|
+
retain_date: retain_date,
|
387
|
+
next_generate_with_date: next_generate_with_date,
|
388
|
+
will_save_one_to_thirty_report: will_save_one_to_thirty_report,
|
389
|
+
every_day_with_time: every_day_with_time,
|
390
|
+
every_day_with_count_and_time: every_day_with_count_and_time,
|
391
|
+
every_week_with_time: every_week_with_time,
|
392
|
+
every_week_with_day_and_time: every_week_with_day_and_time,
|
393
|
+
every_weeks_with_count_and_time: every_weeks_with_count_and_time,
|
394
|
+
every_weeks_with_count_and_day_and_time: every_weeks_with_count_and_day_and_time,
|
395
|
+
every_month_with_time: every_month_with_time,
|
396
|
+
every_month_with_day_and_time: every_month_with_day_and_time,
|
397
|
+
every_months_with_count_and_time: every_months_with_count_and_time,
|
398
|
+
every_months_with_count_and_day_and_time: every_months_with_count_and_day_and_time
|
267
399
|
};
|
268
400
|
|
269
401
|
var current = "当前值";
|
@@ -305,6 +437,11 @@ var __spreadValues = (a, b) => {
|
|
305
437
|
return a;
|
306
438
|
};
|
307
439
|
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
440
|
+
var ParrotLngs = /* @__PURE__ */ ((ParrotLngs2) => {
|
441
|
+
ParrotLngs2["zh"] = "zh-CN";
|
442
|
+
ParrotLngs2["en"] = "en-US";
|
443
|
+
return ParrotLngs2;
|
444
|
+
})(ParrotLngs || {});
|
308
445
|
const defaultOptions = {
|
309
446
|
lng: "zh-CN" /* zh */,
|
310
447
|
fallbackLng: ["zh-CN" /* zh */, "en-US" /* en */],
|
@@ -337,4 +474,4 @@ const initParrotI18n = (options, callback) => {
|
|
337
474
|
}
|
338
475
|
};
|
339
476
|
|
340
|
-
export { initParrotI18n, locales, parrotI18n };
|
477
|
+
export { ParrotLngs, initParrotI18n, locales, parrotI18n };
|
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":"4ec7-25","name":"common.json"},{"uid":"4ec7-27","name":"components.json"},{"uid":"4ec7-29","name":"metric.json"},{"uid":"4ec7-31","name":"index.ts"}]},{"name":"zh-CN","children":[{"uid":"4ec7-33","name":"common.json"},{"uid":"4ec7-35","name":"components.json"},{"uid":"4ec7-37","name":"metric.json"},{"uid":"4ec7-39","name":"index.ts"}]},{"uid":"4ec7-41","name":"index.ts"}]},{"uid":"4ec7-43","name":"parrotI18n.ts"},{"uid":"4ec7-45","name":"index.ts"}]}]}],"isRoot":true},"nodeParts":{"4ec7-25":{"renderedLength":2217,"gzipLength":0,"brotliLength":0,"metaUid":"4ec7-24"},"4ec7-27":{"renderedLength":4452,"gzipLength":0,"brotliLength":0,"metaUid":"4ec7-26"},"4ec7-29":{"renderedLength":165,"gzipLength":0,"brotliLength":0,"metaUid":"4ec7-28"},"4ec7-31":{"renderedLength":88,"gzipLength":0,"brotliLength":0,"metaUid":"4ec7-30"},"4ec7-33":{"renderedLength":2041,"gzipLength":0,"brotliLength":0,"metaUid":"4ec7-32"},"4ec7-35":{"renderedLength":4103,"gzipLength":0,"brotliLength":0,"metaUid":"4ec7-34"},"4ec7-37":{"renderedLength":157,"gzipLength":0,"brotliLength":0,"metaUid":"4ec7-36"},"4ec7-39":{"renderedLength":52,"gzipLength":0,"brotliLength":0,"metaUid":"4ec7-38"},"4ec7-41":{"renderedLength":59,"gzipLength":0,"brotliLength":0,"metaUid":"4ec7-40"},"4ec7-43":{"renderedLength":1894,"gzipLength":0,"brotliLength":0,"metaUid":"4ec7-42"},"4ec7-45":{"renderedLength":0,"gzipLength":0,"brotliLength":0,"metaUid":"4ec7-44"}},"nodeMetas":{"4ec7-24":{"id":"/src/locales/en-US/common.json","moduleParts":{"index.js":"4ec7-25"},"imported":[],"importedBy":[{"uid":"4ec7-30"}]},"4ec7-26":{"id":"/src/locales/en-US/components.json","moduleParts":{"index.js":"4ec7-27"},"imported":[],"importedBy":[{"uid":"4ec7-30"}]},"4ec7-28":{"id":"/src/locales/en-US/metric.json","moduleParts":{"index.js":"4ec7-29"},"imported":[],"importedBy":[{"uid":"4ec7-30"}]},"4ec7-30":{"id":"/src/locales/en-US/index.ts","moduleParts":{"index.js":"4ec7-31"},"imported":[{"uid":"4ec7-24"},{"uid":"4ec7-26"},{"uid":"4ec7-28"}],"importedBy":[{"uid":"4ec7-40"}]},"4ec7-32":{"id":"/src/locales/zh-CN/common.json","moduleParts":{"index.js":"4ec7-33"},"imported":[],"importedBy":[{"uid":"4ec7-38"}]},"4ec7-34":{"id":"/src/locales/zh-CN/components.json","moduleParts":{"index.js":"4ec7-35"},"imported":[],"importedBy":[{"uid":"4ec7-38"}]},"4ec7-36":{"id":"/src/locales/zh-CN/metric.json","moduleParts":{"index.js":"4ec7-37"},"imported":[],"importedBy":[{"uid":"4ec7-38"}]},"4ec7-38":{"id":"/src/locales/zh-CN/index.ts","moduleParts":{"index.js":"4ec7-39"},"imported":[{"uid":"4ec7-32"},{"uid":"4ec7-34"},{"uid":"4ec7-36"}],"importedBy":[{"uid":"4ec7-40"}]},"4ec7-40":{"id":"/src/locales/index.ts","moduleParts":{"index.js":"4ec7-41"},"imported":[{"uid":"4ec7-30"},{"uid":"4ec7-38"}],"importedBy":[{"uid":"4ec7-44"},{"uid":"4ec7-42"}]},"4ec7-42":{"id":"/src/parrotI18n.ts","moduleParts":{"index.js":"4ec7-43"},"imported":[{"uid":"4ec7-46"},{"uid":"4ec7-47"},{"uid":"4ec7-40"}],"importedBy":[{"uid":"4ec7-44"}]},"4ec7-44":{"id":"/src/index.ts","moduleParts":{"index.js":"4ec7-45"},"imported":[{"uid":"4ec7-40"},{"uid":"4ec7-42"}],"importedBy":[],"isEntry":true},"4ec7-46":{"id":"i18next","moduleParts":{},"imported":[],"importedBy":[{"uid":"4ec7-42"}],"isExternal":true},"4ec7-47":{"id":"lodash.merge","moduleParts":{},"imported":[],"importedBy":[{"uid":"4ec7-42"}],"isExternal":true}},"env":{"rollup":"3.15.0"},"options":{"gzip":false,"brotli":false,"sourcemap":false}};
|
6161
6161
|
|
6162
6162
|
const run = () => {
|
6163
6163
|
const width = window.innerWidth;
|
@@ -36,6 +36,13 @@ declare const locale: {
|
|
36
36
|
hour: string;
|
37
37
|
minute: string;
|
38
38
|
second: string;
|
39
|
+
monday: string;
|
40
|
+
tuesday: string;
|
41
|
+
wednesday: string;
|
42
|
+
thursday: string;
|
43
|
+
friday: string;
|
44
|
+
saturday: string;
|
45
|
+
sunday: string;
|
39
46
|
};
|
40
47
|
components: {
|
41
48
|
contains: string;
|
@@ -62,6 +69,32 @@ declare const locale: {
|
|
62
69
|
add: string;
|
63
70
|
prefix: string;
|
64
71
|
suffix: string;
|
72
|
+
as_day: string;
|
73
|
+
count: string;
|
74
|
+
per_day_1: string;
|
75
|
+
per_day_2: string;
|
76
|
+
per_day_3: string;
|
77
|
+
execution_time: string;
|
78
|
+
as_week: string;
|
79
|
+
as_month: string;
|
80
|
+
week_with_below_date: string;
|
81
|
+
month_with_below_date: string;
|
82
|
+
will_excute_at_last_day_with_date: string;
|
83
|
+
retain_with_count: string;
|
84
|
+
start_date: string;
|
85
|
+
retain_date: string;
|
86
|
+
next_generate_with_date: string;
|
87
|
+
will_save_one_to_thirty_report: string;
|
88
|
+
every_day_with_time: string;
|
89
|
+
every_day_with_count_and_time: string;
|
90
|
+
every_week_with_time: string;
|
91
|
+
every_week_with_day_and_time: string;
|
92
|
+
every_weeks_with_count_and_time: string;
|
93
|
+
every_weeks_with_count_and_day_and_time: string;
|
94
|
+
every_month_with_time: string;
|
95
|
+
every_month_with_day_and_time: string;
|
96
|
+
every_months_with_count_and_time: string;
|
97
|
+
every_months_with_count_and_day_and_time: string;
|
65
98
|
};
|
66
99
|
metric: {
|
67
100
|
current: string;
|
package/dist/locales/index.d.ts
CHANGED
@@ -37,6 +37,13 @@ declare const locales: {
|
|
37
37
|
hour: string;
|
38
38
|
minute: string;
|
39
39
|
second: string;
|
40
|
+
monday: string;
|
41
|
+
tuesday: string;
|
42
|
+
wednesday: string;
|
43
|
+
thursday: string;
|
44
|
+
friday: string;
|
45
|
+
saturday: string;
|
46
|
+
sunday: string;
|
40
47
|
};
|
41
48
|
components: {
|
42
49
|
contains: string;
|
@@ -63,6 +70,32 @@ declare const locales: {
|
|
63
70
|
add: string;
|
64
71
|
prefix: string;
|
65
72
|
suffix: string;
|
73
|
+
as_day: string;
|
74
|
+
count: string;
|
75
|
+
per_day_1: string;
|
76
|
+
per_day_2: string;
|
77
|
+
per_day_3: string;
|
78
|
+
execution_time: string;
|
79
|
+
as_week: string;
|
80
|
+
as_month: string;
|
81
|
+
week_with_below_date: string;
|
82
|
+
month_with_below_date: string;
|
83
|
+
will_excute_at_last_day_with_date: string;
|
84
|
+
retain_with_count: string;
|
85
|
+
start_date: string;
|
86
|
+
retain_date: string;
|
87
|
+
next_generate_with_date: string;
|
88
|
+
will_save_one_to_thirty_report: string;
|
89
|
+
every_day_with_time: string;
|
90
|
+
every_day_with_count_and_time: string;
|
91
|
+
every_week_with_time: string;
|
92
|
+
every_week_with_day_and_time: string;
|
93
|
+
every_weeks_with_count_and_time: string;
|
94
|
+
every_weeks_with_count_and_day_and_time: string;
|
95
|
+
every_month_with_time: string;
|
96
|
+
every_month_with_day_and_time: string;
|
97
|
+
every_months_with_count_and_time: string;
|
98
|
+
every_months_with_count_and_day_and_time: string;
|
66
99
|
};
|
67
100
|
metric: {
|
68
101
|
current: string;
|
@@ -108,6 +141,13 @@ declare const locales: {
|
|
108
141
|
hour: string;
|
109
142
|
minute: string;
|
110
143
|
second: string;
|
144
|
+
monday: string;
|
145
|
+
tuesday: string;
|
146
|
+
wednesday: string;
|
147
|
+
thursday: string;
|
148
|
+
friday: string;
|
149
|
+
saturday: string;
|
150
|
+
sunday: string;
|
111
151
|
};
|
112
152
|
components: {
|
113
153
|
contains: string;
|
@@ -134,6 +174,32 @@ declare const locales: {
|
|
134
174
|
add: string;
|
135
175
|
prefix: string;
|
136
176
|
suffix: string;
|
177
|
+
as_day: string;
|
178
|
+
count: string;
|
179
|
+
per_day_1: string;
|
180
|
+
per_day_2: string;
|
181
|
+
per_day_3: string;
|
182
|
+
execution_time: string;
|
183
|
+
as_week: string;
|
184
|
+
as_month: string;
|
185
|
+
week_with_below_date: string;
|
186
|
+
month_with_below_date: string;
|
187
|
+
will_excute_at_last_day_with_date: string;
|
188
|
+
retain_with_count: string;
|
189
|
+
start_date: string;
|
190
|
+
retain_date: string;
|
191
|
+
next_generate_with_date: string;
|
192
|
+
will_save_one_to_thirty_report: string;
|
193
|
+
every_day_with_time: string;
|
194
|
+
every_day_with_count_and_time: string;
|
195
|
+
every_week_with_time: string;
|
196
|
+
every_week_with_day_and_time: string;
|
197
|
+
every_weeks_with_count_and_time: string;
|
198
|
+
every_weeks_with_count_and_day_and_time: string;
|
199
|
+
every_month_with_time: string;
|
200
|
+
every_month_with_day_and_time: string;
|
201
|
+
every_months_with_count_and_time: string;
|
202
|
+
every_months_with_count_and_day_and_time: string;
|
137
203
|
};
|
138
204
|
metric: {
|
139
205
|
current: string;
|
@@ -36,6 +36,13 @@ declare const locale: {
|
|
36
36
|
hour: string;
|
37
37
|
minute: string;
|
38
38
|
second: string;
|
39
|
+
monday: string;
|
40
|
+
tuesday: string;
|
41
|
+
wednesday: string;
|
42
|
+
thursday: string;
|
43
|
+
friday: string;
|
44
|
+
saturday: string;
|
45
|
+
sunday: string;
|
39
46
|
};
|
40
47
|
components: {
|
41
48
|
contains: string;
|
@@ -62,6 +69,32 @@ declare const locale: {
|
|
62
69
|
add: string;
|
63
70
|
prefix: string;
|
64
71
|
suffix: string;
|
72
|
+
as_day: string;
|
73
|
+
count: string;
|
74
|
+
per_day_1: string;
|
75
|
+
per_day_2: string;
|
76
|
+
per_day_3: string;
|
77
|
+
execution_time: string;
|
78
|
+
as_week: string;
|
79
|
+
as_month: string;
|
80
|
+
week_with_below_date: string;
|
81
|
+
month_with_below_date: string;
|
82
|
+
will_excute_at_last_day_with_date: string;
|
83
|
+
retain_with_count: string;
|
84
|
+
start_date: string;
|
85
|
+
retain_date: string;
|
86
|
+
next_generate_with_date: string;
|
87
|
+
will_save_one_to_thirty_report: string;
|
88
|
+
every_day_with_time: string;
|
89
|
+
every_day_with_count_and_time: string;
|
90
|
+
every_week_with_time: string;
|
91
|
+
every_week_with_day_and_time: string;
|
92
|
+
every_weeks_with_count_and_time: string;
|
93
|
+
every_weeks_with_count_and_day_and_time: string;
|
94
|
+
every_month_with_time: string;
|
95
|
+
every_month_with_day_and_time: string;
|
96
|
+
every_months_with_count_and_time: string;
|
97
|
+
every_months_with_count_and_day_and_time: string;
|
65
98
|
};
|
66
99
|
metric: {
|
67
100
|
current: string;
|
package/dist/parrotI18n.d.ts
CHANGED
@@ -1,4 +1,8 @@
|
|
1
1
|
import { Callback, InitOptions } from "i18next";
|
2
|
+
export declare enum ParrotLngs {
|
3
|
+
zh = "zh-CN",
|
4
|
+
en = "en-US"
|
5
|
+
}
|
2
6
|
declare const parrotI18n: import("i18next").i18n;
|
3
7
|
export default parrotI18n;
|
4
8
|
export declare const initParrotI18n: (options?: InitOptions, callback?: Callback | undefined) => void;
|
package/dist/umd/index.js
CHANGED
@@ -40,6 +40,13 @@
|
|
40
40
|
var hour$1 = "Hour";
|
41
41
|
var minute$1 = "Minute";
|
42
42
|
var second$1 = "Second";
|
43
|
+
var monday$1 = "Monday";
|
44
|
+
var tuesday$1 = "Tuesday";
|
45
|
+
var wednesday$1 = "Wednesday";
|
46
|
+
var thursday$1 = "Thursday";
|
47
|
+
var friday$1 = "Friday";
|
48
|
+
var saturday$1 = "Saturday";
|
49
|
+
var sunday$1 = "Sunday";
|
43
50
|
var common$1 = {
|
44
51
|
_action_: _action_$1,
|
45
52
|
action: action$1,
|
@@ -76,7 +83,14 @@
|
|
76
83
|
day: day$1,
|
77
84
|
hour: hour$1,
|
78
85
|
minute: minute$1,
|
79
|
-
second: second$1
|
86
|
+
second: second$1,
|
87
|
+
monday: monday$1,
|
88
|
+
tuesday: tuesday$1,
|
89
|
+
wednesday: wednesday$1,
|
90
|
+
thursday: thursday$1,
|
91
|
+
friday: friday$1,
|
92
|
+
saturday: saturday$1,
|
93
|
+
sunday: sunday$1
|
80
94
|
};
|
81
95
|
|
82
96
|
var contains$2 = "Contains";
|
@@ -102,6 +116,32 @@
|
|
102
116
|
var add$1 = "Add";
|
103
117
|
var prefix$1 = "Prefix";
|
104
118
|
var suffix$1 = "Suffix";
|
119
|
+
var as_day$1 = "By Day";
|
120
|
+
var count$1 = "";
|
121
|
+
var per_day_1$1 = "Repeat every";
|
122
|
+
var per_day_2$1 = "day(s) at";
|
123
|
+
var per_day_3$1 = "";
|
124
|
+
var execution_time$1 = "Execution Time: ";
|
125
|
+
var as_week$1 = "By Week";
|
126
|
+
var as_month$1 = "By Month";
|
127
|
+
var week_with_below_date$1 = "week(s), on the following day(s):";
|
128
|
+
var month_with_below_date$1 = "month(s), on the following days(s):";
|
129
|
+
var will_excute_at_last_day_with_date$1 = "If there is no {date} in the current month, it will be executed in the last day of the month.";
|
130
|
+
var retain_with_count$1 = "Retain {count} reports";
|
131
|
+
var start_date$1 = "Start Date";
|
132
|
+
var retain_date$1 = "Retain copies";
|
133
|
+
var next_generate_with_date$1 = "The next report will be generated on {date}";
|
134
|
+
var will_save_one_to_thirty_report$1 = "You can retain 1-30 copies of the most recently generated reports.";
|
135
|
+
var every_day_with_time$1 = "Every day at {time}";
|
136
|
+
var every_day_with_count_and_time$1 = "Every {count} days at {time}";
|
137
|
+
var every_week_with_time$1 = "Every week at {time}";
|
138
|
+
var every_week_with_day_and_time$1 = "Every week on {day} at {time}";
|
139
|
+
var every_weeks_with_count_and_time$1 = "Every {count} weeks at {time}";
|
140
|
+
var every_weeks_with_count_and_day_and_time$1 = "Every {count} weeks on {day} at {time}";
|
141
|
+
var every_month_with_time$1 = "Every month at {time}";
|
142
|
+
var every_month_with_day_and_time$1 = "Every month on the day of {day} at {time}";
|
143
|
+
var every_months_with_count_and_time$1 = "Every {count} months at {time}";
|
144
|
+
var every_months_with_count_and_day_and_time$1 = "Every {count} months on the day of {day} at {time}";
|
105
145
|
var components$1 = {
|
106
146
|
contains: contains$2,
|
107
147
|
custom_column: custom_column$1,
|
@@ -126,7 +166,33 @@
|
|
126
166
|
remove: remove$1,
|
127
167
|
add: add$1,
|
128
168
|
prefix: prefix$1,
|
129
|
-
suffix: suffix$1
|
169
|
+
suffix: suffix$1,
|
170
|
+
as_day: as_day$1,
|
171
|
+
count: count$1,
|
172
|
+
per_day_1: per_day_1$1,
|
173
|
+
per_day_2: per_day_2$1,
|
174
|
+
per_day_3: per_day_3$1,
|
175
|
+
execution_time: execution_time$1,
|
176
|
+
as_week: as_week$1,
|
177
|
+
as_month: as_month$1,
|
178
|
+
week_with_below_date: week_with_below_date$1,
|
179
|
+
month_with_below_date: month_with_below_date$1,
|
180
|
+
will_excute_at_last_day_with_date: will_excute_at_last_day_with_date$1,
|
181
|
+
retain_with_count: retain_with_count$1,
|
182
|
+
start_date: start_date$1,
|
183
|
+
retain_date: retain_date$1,
|
184
|
+
next_generate_with_date: next_generate_with_date$1,
|
185
|
+
will_save_one_to_thirty_report: will_save_one_to_thirty_report$1,
|
186
|
+
every_day_with_time: every_day_with_time$1,
|
187
|
+
every_day_with_count_and_time: every_day_with_count_and_time$1,
|
188
|
+
every_week_with_time: every_week_with_time$1,
|
189
|
+
every_week_with_day_and_time: every_week_with_day_and_time$1,
|
190
|
+
every_weeks_with_count_and_time: every_weeks_with_count_and_time$1,
|
191
|
+
every_weeks_with_count_and_day_and_time: every_weeks_with_count_and_day_and_time$1,
|
192
|
+
every_month_with_time: every_month_with_time$1,
|
193
|
+
every_month_with_day_and_time: every_month_with_day_and_time$1,
|
194
|
+
every_months_with_count_and_time: every_months_with_count_and_time$1,
|
195
|
+
every_months_with_count_and_day_and_time: every_months_with_count_and_day_and_time$1
|
130
196
|
};
|
131
197
|
|
132
198
|
var current$1 = "Current value";
|
@@ -180,6 +246,13 @@
|
|
180
246
|
var hour = "小时";
|
181
247
|
var minute = "分钟";
|
182
248
|
var second = "秒";
|
249
|
+
var monday = "周一";
|
250
|
+
var tuesday = "周二";
|
251
|
+
var wednesday = "周三";
|
252
|
+
var thursday = "周四";
|
253
|
+
var friday = "周五";
|
254
|
+
var saturday = "周六";
|
255
|
+
var sunday = "周日";
|
183
256
|
var common = {
|
184
257
|
_action_: _action_,
|
185
258
|
action: action,
|
@@ -216,7 +289,14 @@
|
|
216
289
|
day: day,
|
217
290
|
hour: hour,
|
218
291
|
minute: minute,
|
219
|
-
second: second
|
292
|
+
second: second,
|
293
|
+
monday: monday,
|
294
|
+
tuesday: tuesday,
|
295
|
+
wednesday: wednesday,
|
296
|
+
thursday: thursday,
|
297
|
+
friday: friday,
|
298
|
+
saturday: saturday,
|
299
|
+
sunday: sunday
|
220
300
|
};
|
221
301
|
|
222
302
|
var contains = "包含";
|
@@ -242,6 +322,32 @@
|
|
242
322
|
var add = "添加";
|
243
323
|
var prefix = "前缀";
|
244
324
|
var suffix = "后缀";
|
325
|
+
var as_day = "按天";
|
326
|
+
var count = "份";
|
327
|
+
var per_day_1 = "每";
|
328
|
+
var per_day_2 = "天,";
|
329
|
+
var per_day_3 = "生成。";
|
330
|
+
var execution_time = "生成时间:";
|
331
|
+
var as_week = "按周";
|
332
|
+
var as_month = "按月";
|
333
|
+
var week_with_below_date = "周的如下日期:";
|
334
|
+
var month_with_below_date = "个月的如下日期:";
|
335
|
+
var will_excute_at_last_day_with_date = "如果当月没有 {date} 号,则会提前至该月最后一天执行。";
|
336
|
+
var retain_with_count = "保留 {count} 份";
|
337
|
+
var start_date = "开始日期";
|
338
|
+
var retain_date = "保留份数";
|
339
|
+
var next_generate_with_date = "下次生成将会发生在:{date}";
|
340
|
+
var will_save_one_to_thirty_report = "可以保留 1~30 份最近自动生成的报表。";
|
341
|
+
var every_day_with_time = "每天的 {time}";
|
342
|
+
var every_day_with_count_and_time = "每 {count} 天的 {time}";
|
343
|
+
var every_week_with_time = "每周的 {time}";
|
344
|
+
var every_week_with_day_and_time = "每周的周{day} {time}";
|
345
|
+
var every_weeks_with_count_and_time = "每 {count} 周的 {time}";
|
346
|
+
var every_weeks_with_count_and_day_and_time = "每 {count} 周的周{day} {time}";
|
347
|
+
var every_month_with_time = "每月的 {time}";
|
348
|
+
var every_month_with_day_and_time = "每月的 {day} 号 {time}";
|
349
|
+
var every_months_with_count_and_time = "每 {count} 月的 {time}";
|
350
|
+
var every_months_with_count_and_day_and_time = "每 {count} 月的 {day} 号 {time}";
|
245
351
|
var components = {
|
246
352
|
contains: contains,
|
247
353
|
custom_column: custom_column,
|
@@ -266,7 +372,33 @@
|
|
266
372
|
remove: remove,
|
267
373
|
add: add,
|
268
374
|
prefix: prefix,
|
269
|
-
suffix: suffix
|
375
|
+
suffix: suffix,
|
376
|
+
as_day: as_day,
|
377
|
+
count: count,
|
378
|
+
per_day_1: per_day_1,
|
379
|
+
per_day_2: per_day_2,
|
380
|
+
per_day_3: per_day_3,
|
381
|
+
execution_time: execution_time,
|
382
|
+
as_week: as_week,
|
383
|
+
as_month: as_month,
|
384
|
+
week_with_below_date: week_with_below_date,
|
385
|
+
month_with_below_date: month_with_below_date,
|
386
|
+
will_excute_at_last_day_with_date: will_excute_at_last_day_with_date,
|
387
|
+
retain_with_count: retain_with_count,
|
388
|
+
start_date: start_date,
|
389
|
+
retain_date: retain_date,
|
390
|
+
next_generate_with_date: next_generate_with_date,
|
391
|
+
will_save_one_to_thirty_report: will_save_one_to_thirty_report,
|
392
|
+
every_day_with_time: every_day_with_time,
|
393
|
+
every_day_with_count_and_time: every_day_with_count_and_time,
|
394
|
+
every_week_with_time: every_week_with_time,
|
395
|
+
every_week_with_day_and_time: every_week_with_day_and_time,
|
396
|
+
every_weeks_with_count_and_time: every_weeks_with_count_and_time,
|
397
|
+
every_weeks_with_count_and_day_and_time: every_weeks_with_count_and_day_and_time,
|
398
|
+
every_month_with_time: every_month_with_time,
|
399
|
+
every_month_with_day_and_time: every_month_with_day_and_time,
|
400
|
+
every_months_with_count_and_time: every_months_with_count_and_time,
|
401
|
+
every_months_with_count_and_day_and_time: every_months_with_count_and_day_and_time
|
270
402
|
};
|
271
403
|
|
272
404
|
var current = "当前值";
|
@@ -308,6 +440,11 @@
|
|
308
440
|
return a;
|
309
441
|
};
|
310
442
|
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
443
|
+
var ParrotLngs = /* @__PURE__ */ ((ParrotLngs2) => {
|
444
|
+
ParrotLngs2["zh"] = "zh-CN";
|
445
|
+
ParrotLngs2["en"] = "en-US";
|
446
|
+
return ParrotLngs2;
|
447
|
+
})(ParrotLngs || {});
|
311
448
|
const defaultOptions = {
|
312
449
|
lng: "zh-CN" /* zh */,
|
313
450
|
fallbackLng: ["zh-CN" /* zh */, "en-US" /* en */],
|
@@ -340,6 +477,7 @@
|
|
340
477
|
}
|
341
478
|
};
|
342
479
|
|
480
|
+
exports.ParrotLngs = ParrotLngs;
|
343
481
|
exports.initParrotI18n = initParrotI18n;
|
344
482
|
exports.locales = locales;
|
345
483
|
exports.parrotI18n = parrotI18n;
|
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":"4ec7-1","name":"common.json"},{"uid":"4ec7-3","name":"components.json"},{"uid":"4ec7-5","name":"metric.json"},{"uid":"4ec7-7","name":"index.ts"}]},{"name":"zh-CN","children":[{"uid":"4ec7-9","name":"common.json"},{"uid":"4ec7-11","name":"components.json"},{"uid":"4ec7-13","name":"metric.json"},{"uid":"4ec7-15","name":"index.ts"}]},{"uid":"4ec7-17","name":"index.ts"}]},{"uid":"4ec7-19","name":"parrotI18n.ts"},{"uid":"4ec7-21","name":"index.ts"}]}]}],"isRoot":true},"nodeParts":{"4ec7-1":{"renderedLength":2393,"gzipLength":0,"brotliLength":0,"metaUid":"4ec7-0"},"4ec7-3":{"renderedLength":4654,"gzipLength":0,"brotliLength":0,"metaUid":"4ec7-2"},"4ec7-5":{"renderedLength":181,"gzipLength":0,"brotliLength":0,"metaUid":"4ec7-4"},"4ec7-7":{"renderedLength":98,"gzipLength":0,"brotliLength":0,"metaUid":"4ec7-6"},"4ec7-9":{"renderedLength":2217,"gzipLength":0,"brotliLength":0,"metaUid":"4ec7-8"},"4ec7-11":{"renderedLength":4305,"gzipLength":0,"brotliLength":0,"metaUid":"4ec7-10"},"4ec7-13":{"renderedLength":173,"gzipLength":0,"brotliLength":0,"metaUid":"4ec7-12"},"4ec7-15":{"renderedLength":62,"gzipLength":0,"brotliLength":0,"metaUid":"4ec7-14"},"4ec7-17":{"renderedLength":67,"gzipLength":0,"brotliLength":0,"metaUid":"4ec7-16"},"4ec7-19":{"renderedLength":2004,"gzipLength":0,"brotliLength":0,"metaUid":"4ec7-18"},"4ec7-21":{"renderedLength":0,"gzipLength":0,"brotliLength":0,"metaUid":"4ec7-20"}},"nodeMetas":{"4ec7-0":{"id":"/src/locales/en-US/common.json","moduleParts":{"index.js":"4ec7-1"},"imported":[],"importedBy":[{"uid":"4ec7-6"}]},"4ec7-2":{"id":"/src/locales/en-US/components.json","moduleParts":{"index.js":"4ec7-3"},"imported":[],"importedBy":[{"uid":"4ec7-6"}]},"4ec7-4":{"id":"/src/locales/en-US/metric.json","moduleParts":{"index.js":"4ec7-5"},"imported":[],"importedBy":[{"uid":"4ec7-6"}]},"4ec7-6":{"id":"/src/locales/en-US/index.ts","moduleParts":{"index.js":"4ec7-7"},"imported":[{"uid":"4ec7-0"},{"uid":"4ec7-2"},{"uid":"4ec7-4"}],"importedBy":[{"uid":"4ec7-16"}]},"4ec7-8":{"id":"/src/locales/zh-CN/common.json","moduleParts":{"index.js":"4ec7-9"},"imported":[],"importedBy":[{"uid":"4ec7-14"}]},"4ec7-10":{"id":"/src/locales/zh-CN/components.json","moduleParts":{"index.js":"4ec7-11"},"imported":[],"importedBy":[{"uid":"4ec7-14"}]},"4ec7-12":{"id":"/src/locales/zh-CN/metric.json","moduleParts":{"index.js":"4ec7-13"},"imported":[],"importedBy":[{"uid":"4ec7-14"}]},"4ec7-14":{"id":"/src/locales/zh-CN/index.ts","moduleParts":{"index.js":"4ec7-15"},"imported":[{"uid":"4ec7-8"},{"uid":"4ec7-10"},{"uid":"4ec7-12"}],"importedBy":[{"uid":"4ec7-16"}]},"4ec7-16":{"id":"/src/locales/index.ts","moduleParts":{"index.js":"4ec7-17"},"imported":[{"uid":"4ec7-6"},{"uid":"4ec7-14"}],"importedBy":[{"uid":"4ec7-20"},{"uid":"4ec7-18"}]},"4ec7-18":{"id":"/src/parrotI18n.ts","moduleParts":{"index.js":"4ec7-19"},"imported":[{"uid":"4ec7-22"},{"uid":"4ec7-23"},{"uid":"4ec7-16"}],"importedBy":[{"uid":"4ec7-20"}]},"4ec7-20":{"id":"/src/index.ts","moduleParts":{"index.js":"4ec7-21"},"imported":[{"uid":"4ec7-16"},{"uid":"4ec7-18"}],"importedBy":[],"isEntry":true},"4ec7-22":{"id":"i18next","moduleParts":{},"imported":[],"importedBy":[{"uid":"4ec7-18"}],"isExternal":true},"4ec7-23":{"id":"lodash.merge","moduleParts":{},"imported":[],"importedBy":[{"uid":"4ec7-18"}],"isExternal":true}},"env":{"rollup":"3.15.0"},"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.27.3
|
3
|
+
"version": "0.27.3",
|
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": "^0.24.1"
|
47
47
|
},
|
48
|
-
"gitHead": "
|
48
|
+
"gitHead": "0b58116a659f025665b7858ee4f19f43cc89930e"
|
49
49
|
}
|