@cloudtower/parrot 0.33.1 → 0.33.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 +66 -10
- package/dist/esm/stats1.html +1 -1
- package/dist/locales/en-US/index.d.ts +16 -0
- package/dist/locales/index.d.ts +28 -0
- package/dist/locales/zh-CN/index.d.ts +12 -0
- package/dist/umd/index.js +66 -10
- package/dist/umd/stats1.html +1 -1
- package/package.json +2 -2
    
        package/dist/esm/index.js
    CHANGED
    
    | @@ -9,7 +9,7 @@ var clear_query$1 = "Clear the filter criteria"; | |
| 9 9 | 
             
            var close$1 = "Close";
         | 
| 10 10 | 
             
            var contains$3 = "Contains";
         | 
| 11 11 | 
             
            var confirm$3 = "Confirm";
         | 
| 12 | 
            -
            var empty$ | 
| 12 | 
            +
            var empty$5 = "No ";
         | 
| 13 13 | 
             
            var enable$1 = "Enable";
         | 
| 14 14 | 
             
            var enabled$1 = "Enabled";
         | 
| 15 15 | 
             
            var disabled$1 = "Disabled";
         | 
| @@ -48,6 +48,15 @@ var saturday$1 = "Saturday"; | |
| 48 48 | 
             
            var sunday$1 = "Sunday";
         | 
| 49 49 | 
             
            var month$1 = "Month";
         | 
| 50 50 | 
             
            var year$1 = "Year";
         | 
| 51 | 
            +
            var day_count$1 = "{count} day";
         | 
| 52 | 
            +
            var day_count_plural = "{count} days";
         | 
| 53 | 
            +
            var hour_count$1 = "{count} hour";
         | 
| 54 | 
            +
            var hour_count_plural = "{count} hours";
         | 
| 55 | 
            +
            var minute_count$1 = "{count} minute";
         | 
| 56 | 
            +
            var minute_count_plural = "{count} minutes";
         | 
| 57 | 
            +
            var month_measure_count$1 = "{count} month";
         | 
| 58 | 
            +
            var month_measure_count_plural = "{count} months";
         | 
| 59 | 
            +
            var show_unpassed$1 = "Show Failed only";
         | 
| 51 60 | 
             
            var common$1 = {
         | 
| 52 61 | 
             
            	_action_: _action_$1,
         | 
| 53 62 | 
             
            	action: action$1,
         | 
| @@ -57,7 +66,7 @@ var common$1 = { | |
| 57 66 | 
             
            	close: close$1,
         | 
| 58 67 | 
             
            	contains: contains$3,
         | 
| 59 68 | 
             
            	confirm: confirm$3,
         | 
| 60 | 
            -
            	empty: empty$ | 
| 69 | 
            +
            	empty: empty$5,
         | 
| 61 70 | 
             
            	enable: enable$1,
         | 
| 62 71 | 
             
            	enabled: enabled$1,
         | 
| 63 72 | 
             
            	disabled: disabled$1,
         | 
| @@ -95,7 +104,16 @@ var common$1 = { | |
| 95 104 | 
             
            	saturday: saturday$1,
         | 
| 96 105 | 
             
            	sunday: sunday$1,
         | 
| 97 106 | 
             
            	month: month$1,
         | 
| 98 | 
            -
            	year: year$1
         | 
| 107 | 
            +
            	year: year$1,
         | 
| 108 | 
            +
            	day_count: day_count$1,
         | 
| 109 | 
            +
            	day_count_plural: day_count_plural,
         | 
| 110 | 
            +
            	hour_count: hour_count$1,
         | 
| 111 | 
            +
            	hour_count_plural: hour_count_plural,
         | 
| 112 | 
            +
            	minute_count: minute_count$1,
         | 
| 113 | 
            +
            	minute_count_plural: minute_count_plural,
         | 
| 114 | 
            +
            	month_measure_count: month_measure_count$1,
         | 
| 115 | 
            +
            	month_measure_count_plural: month_measure_count_plural,
         | 
| 116 | 
            +
            	show_unpassed: show_unpassed$1
         | 
| 99 117 | 
             
            };
         | 
| 100 118 |  | 
| 101 119 | 
             
            var contains$2 = "Contains";
         | 
| @@ -175,6 +193,13 @@ var prev$1 = "Previous"; | |
| 175 193 | 
             
            var next$1 = "Next";
         | 
| 176 194 | 
             
            var clear$1 = "Clear";
         | 
| 177 195 | 
             
            var loading$1 = "Loading...";
         | 
| 196 | 
            +
            var upgrade_to_version$1 = "<0>{{text}}</0> upgraded to <1>{{version}}</1>";
         | 
| 197 | 
            +
            var update_to_version$1 = "<0>{{text}}</0> updated to <1>{{version}}</1>";
         | 
| 198 | 
            +
            var failed_upgrade_to_version$1 = "<0>{{text}}</0> failed to upgrade to <1>{{version}}</1>";
         | 
| 199 | 
            +
            var config_updated$1 = "<0>{{text}}</0> updated <1>{{version}}</1>";
         | 
| 200 | 
            +
            var db_migrated$1 = "<0>{{text}}</0> migrated to <1>{{version}}</1>";
         | 
| 201 | 
            +
            var empty$4 = "No history records";
         | 
| 202 | 
            +
            var view_detail$1 = "View Details";
         | 
| 178 203 | 
             
            var components$1 = {
         | 
| 179 204 | 
             
            	contains: contains$2,
         | 
| 180 205 | 
             
            	custom_column: custom_column$1,
         | 
| @@ -260,15 +285,22 @@ var components$1 = { | |
| 260 285 | 
             
            	prev: prev$1,
         | 
| 261 286 | 
             
            	next: next$1,
         | 
| 262 287 | 
             
            	clear: clear$1,
         | 
| 263 | 
            -
            	loading: loading$1
         | 
| 288 | 
            +
            	loading: loading$1,
         | 
| 289 | 
            +
            	upgrade_to_version: upgrade_to_version$1,
         | 
| 290 | 
            +
            	update_to_version: update_to_version$1,
         | 
| 291 | 
            +
            	failed_upgrade_to_version: failed_upgrade_to_version$1,
         | 
| 292 | 
            +
            	config_updated: config_updated$1,
         | 
| 293 | 
            +
            	db_migrated: db_migrated$1,
         | 
| 294 | 
            +
            	empty: empty$4,
         | 
| 295 | 
            +
            	view_detail: view_detail$1
         | 
| 264 296 | 
             
            };
         | 
| 265 297 |  | 
| 266 298 | 
             
            var current$1 = "Current value";
         | 
| 267 | 
            -
            var empty$ | 
| 299 | 
            +
            var empty$3 = "No data in this time range";
         | 
| 268 300 | 
             
            var max$1 = "Max";
         | 
| 269 301 | 
             
            var metric$1 = {
         | 
| 270 302 | 
             
            	current: current$1,
         | 
| 271 | 
            -
            	empty: empty$ | 
| 303 | 
            +
            	empty: empty$3,
         | 
| 272 304 | 
             
            	max: max$1
         | 
| 273 305 | 
             
            };
         | 
| 274 306 |  | 
| @@ -286,7 +318,7 @@ var clear_query = "清空筛选条件"; | |
| 286 318 | 
             
            var close = "关闭";
         | 
| 287 319 | 
             
            var contains$1 = "包含";
         | 
| 288 320 | 
             
            var confirm$1 = "确定";
         | 
| 289 | 
            -
            var empty$ | 
| 321 | 
            +
            var empty$2 = "无";
         | 
| 290 322 | 
             
            var enable = "启用";
         | 
| 291 323 | 
             
            var enabled = "启用";
         | 
| 292 324 | 
             
            var disable = "禁用";
         | 
| @@ -325,6 +357,11 @@ var saturday = "周六"; | |
| 325 357 | 
             
            var sunday = "周日";
         | 
| 326 358 | 
             
            var month = "月";
         | 
| 327 359 | 
             
            var year = "年";
         | 
| 360 | 
            +
            var day_count = "{count} 天";
         | 
| 361 | 
            +
            var hour_count = "{count} 小时";
         | 
| 362 | 
            +
            var minute_count = "{count} 分钟";
         | 
| 363 | 
            +
            var month_measure_count = "{count} 个月";
         | 
| 364 | 
            +
            var show_unpassed = "只看未满足";
         | 
| 328 365 | 
             
            var common = {
         | 
| 329 366 | 
             
            	_action_: _action_,
         | 
| 330 367 | 
             
            	action: action,
         | 
| @@ -334,7 +371,7 @@ var common = { | |
| 334 371 | 
             
            	close: close,
         | 
| 335 372 | 
             
            	contains: contains$1,
         | 
| 336 373 | 
             
            	confirm: confirm$1,
         | 
| 337 | 
            -
            	empty: empty$ | 
| 374 | 
            +
            	empty: empty$2,
         | 
| 338 375 | 
             
            	enable: enable,
         | 
| 339 376 | 
             
            	enabled: enabled,
         | 
| 340 377 | 
             
            	disable: disable,
         | 
| @@ -372,7 +409,12 @@ var common = { | |
| 372 409 | 
             
            	saturday: saturday,
         | 
| 373 410 | 
             
            	sunday: sunday,
         | 
| 374 411 | 
             
            	month: month,
         | 
| 375 | 
            -
            	year: year
         | 
| 412 | 
            +
            	year: year,
         | 
| 413 | 
            +
            	day_count: day_count,
         | 
| 414 | 
            +
            	hour_count: hour_count,
         | 
| 415 | 
            +
            	minute_count: minute_count,
         | 
| 416 | 
            +
            	month_measure_count: month_measure_count,
         | 
| 417 | 
            +
            	show_unpassed: show_unpassed
         | 
| 376 418 | 
             
            };
         | 
| 377 419 |  | 
| 378 420 | 
             
            var contains = "包含";
         | 
| @@ -447,6 +489,13 @@ var prev = "上一个"; | |
| 447 489 | 
             
            var next = "下一个";
         | 
| 448 490 | 
             
            var clear = "清空";
         | 
| 449 491 | 
             
            var loading = "正在加载...";
         | 
| 492 | 
            +
            var upgrade_to_version = "<0>{{text}}</0>升级到<1>{{version}}</1>";
         | 
| 493 | 
            +
            var update_to_version = "<0>{{text}}</0>更新到<1>{{version}}</1>";
         | 
| 494 | 
            +
            var failed_upgrade_to_version = "<0>{{text}}</0>升级<1>{{version}}</1>失败";
         | 
| 495 | 
            +
            var config_updated = "<0>{{text}}</0>更新<1>{{version}}</1>";
         | 
| 496 | 
            +
            var db_migrated = "<0>{{text}}</0>迁移到<1>{{version}}</1>";
         | 
| 497 | 
            +
            var empty$1 = "暂无历史记录";
         | 
| 498 | 
            +
            var view_detail = "查看详情";
         | 
| 450 499 | 
             
            var components = {
         | 
| 451 500 | 
             
            	contains: contains,
         | 
| 452 501 | 
             
            	custom_column: custom_column,
         | 
| @@ -527,7 +576,14 @@ var components = { | |
| 527 576 | 
             
            	prev: prev,
         | 
| 528 577 | 
             
            	next: next,
         | 
| 529 578 | 
             
            	clear: clear,
         | 
| 530 | 
            -
            	loading: loading
         | 
| 579 | 
            +
            	loading: loading,
         | 
| 580 | 
            +
            	upgrade_to_version: upgrade_to_version,
         | 
| 581 | 
            +
            	update_to_version: update_to_version,
         | 
| 582 | 
            +
            	failed_upgrade_to_version: failed_upgrade_to_version,
         | 
| 583 | 
            +
            	config_updated: config_updated,
         | 
| 584 | 
            +
            	db_migrated: db_migrated,
         | 
| 585 | 
            +
            	empty: empty$1,
         | 
| 586 | 
            +
            	view_detail: view_detail
         | 
| 531 587 | 
             
            };
         | 
| 532 588 |  | 
| 533 589 | 
             
            var current = "当前值";
         | 
    
        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":"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}};
         | 
| 6161 6161 |  | 
| 6162 6162 | 
             
                const run = () => {
         | 
| 6163 6163 | 
             
                  const width = window.innerWidth;
         | 
| @@ -47,6 +47,15 @@ declare const locale: { | |
| 47 47 | 
             
                    sunday: string;
         | 
| 48 48 | 
             
                    month: string;
         | 
| 49 49 | 
             
                    year: string;
         | 
| 50 | 
            +
                    day_count: string;
         | 
| 51 | 
            +
                    day_count_plural: string;
         | 
| 52 | 
            +
                    hour_count: string;
         | 
| 53 | 
            +
                    hour_count_plural: string;
         | 
| 54 | 
            +
                    minute_count: string;
         | 
| 55 | 
            +
                    minute_count_plural: string;
         | 
| 56 | 
            +
                    month_measure_count: string;
         | 
| 57 | 
            +
                    month_measure_count_plural: string;
         | 
| 58 | 
            +
                    show_unpassed: string;
         | 
| 50 59 | 
             
                };
         | 
| 51 60 | 
             
                components: {
         | 
| 52 61 | 
             
                    contains: string;
         | 
| @@ -134,6 +143,13 @@ declare const locale: { | |
| 134 143 | 
             
                    next: string;
         | 
| 135 144 | 
             
                    clear: string;
         | 
| 136 145 | 
             
                    loading: string;
         | 
| 146 | 
            +
                    upgrade_to_version: string;
         | 
| 147 | 
            +
                    update_to_version: string;
         | 
| 148 | 
            +
                    failed_upgrade_to_version: string;
         | 
| 149 | 
            +
                    config_updated: string;
         | 
| 150 | 
            +
                    db_migrated: string;
         | 
| 151 | 
            +
                    empty: string;
         | 
| 152 | 
            +
                    view_detail: string;
         | 
| 137 153 | 
             
                };
         | 
| 138 154 | 
             
                metric: {
         | 
| 139 155 | 
             
                    current: string;
         | 
    
        package/dist/locales/index.d.ts
    CHANGED
    
    | @@ -48,6 +48,15 @@ declare const locales: { | |
| 48 48 | 
             
                        sunday: string;
         | 
| 49 49 | 
             
                        month: string;
         | 
| 50 50 | 
             
                        year: string;
         | 
| 51 | 
            +
                        day_count: string;
         | 
| 52 | 
            +
                        day_count_plural: string;
         | 
| 53 | 
            +
                        hour_count: string;
         | 
| 54 | 
            +
                        hour_count_plural: string;
         | 
| 55 | 
            +
                        minute_count: string;
         | 
| 56 | 
            +
                        minute_count_plural: string;
         | 
| 57 | 
            +
                        month_measure_count: string;
         | 
| 58 | 
            +
                        month_measure_count_plural: string;
         | 
| 59 | 
            +
                        show_unpassed: string;
         | 
| 51 60 | 
             
                    };
         | 
| 52 61 | 
             
                    components: {
         | 
| 53 62 | 
             
                        contains: string;
         | 
| @@ -135,6 +144,13 @@ declare const locales: { | |
| 135 144 | 
             
                        next: string;
         | 
| 136 145 | 
             
                        clear: string;
         | 
| 137 146 | 
             
                        loading: string;
         | 
| 147 | 
            +
                        upgrade_to_version: string;
         | 
| 148 | 
            +
                        update_to_version: string;
         | 
| 149 | 
            +
                        failed_upgrade_to_version: string;
         | 
| 150 | 
            +
                        config_updated: string;
         | 
| 151 | 
            +
                        db_migrated: string;
         | 
| 152 | 
            +
                        empty: string;
         | 
| 153 | 
            +
                        view_detail: string;
         | 
| 138 154 | 
             
                    };
         | 
| 139 155 | 
             
                    metric: {
         | 
| 140 156 | 
             
                        current: string;
         | 
| @@ -191,6 +207,11 @@ declare const locales: { | |
| 191 207 | 
             
                        sunday: string;
         | 
| 192 208 | 
             
                        month: string;
         | 
| 193 209 | 
             
                        year: string;
         | 
| 210 | 
            +
                        day_count: string;
         | 
| 211 | 
            +
                        hour_count: string;
         | 
| 212 | 
            +
                        minute_count: string;
         | 
| 213 | 
            +
                        month_measure_count: string;
         | 
| 214 | 
            +
                        show_unpassed: string;
         | 
| 194 215 | 
             
                    };
         | 
| 195 216 | 
             
                    components: {
         | 
| 196 217 | 
             
                        contains: string;
         | 
| @@ -273,6 +294,13 @@ declare const locales: { | |
| 273 294 | 
             
                        next: string;
         | 
| 274 295 | 
             
                        clear: string;
         | 
| 275 296 | 
             
                        loading: string;
         | 
| 297 | 
            +
                        upgrade_to_version: string;
         | 
| 298 | 
            +
                        update_to_version: string;
         | 
| 299 | 
            +
                        failed_upgrade_to_version: string;
         | 
| 300 | 
            +
                        config_updated: string;
         | 
| 301 | 
            +
                        db_migrated: string;
         | 
| 302 | 
            +
                        empty: string;
         | 
| 303 | 
            +
                        view_detail: string;
         | 
| 276 304 | 
             
                    };
         | 
| 277 305 | 
             
                    metric: {
         | 
| 278 306 | 
             
                        current: string;
         | 
| @@ -47,6 +47,11 @@ declare const locale: { | |
| 47 47 | 
             
                    sunday: string;
         | 
| 48 48 | 
             
                    month: string;
         | 
| 49 49 | 
             
                    year: string;
         | 
| 50 | 
            +
                    day_count: string;
         | 
| 51 | 
            +
                    hour_count: string;
         | 
| 52 | 
            +
                    minute_count: string;
         | 
| 53 | 
            +
                    month_measure_count: string;
         | 
| 54 | 
            +
                    show_unpassed: string;
         | 
| 50 55 | 
             
                };
         | 
| 51 56 | 
             
                components: {
         | 
| 52 57 | 
             
                    contains: string;
         | 
| @@ -129,6 +134,13 @@ declare const locale: { | |
| 129 134 | 
             
                    next: string;
         | 
| 130 135 | 
             
                    clear: string;
         | 
| 131 136 | 
             
                    loading: string;
         | 
| 137 | 
            +
                    upgrade_to_version: string;
         | 
| 138 | 
            +
                    update_to_version: string;
         | 
| 139 | 
            +
                    failed_upgrade_to_version: string;
         | 
| 140 | 
            +
                    config_updated: string;
         | 
| 141 | 
            +
                    db_migrated: string;
         | 
| 142 | 
            +
                    empty: string;
         | 
| 143 | 
            +
                    view_detail: string;
         | 
| 132 144 | 
             
                };
         | 
| 133 145 | 
             
                metric: {
         | 
| 134 146 | 
             
                    current: string;
         | 
    
        package/dist/umd/index.js
    CHANGED
    
    | @@ -12,7 +12,7 @@ | |
| 12 12 | 
             
              var close$1 = "Close";
         | 
| 13 13 | 
             
              var contains$3 = "Contains";
         | 
| 14 14 | 
             
              var confirm$3 = "Confirm";
         | 
| 15 | 
            -
              var empty$ | 
| 15 | 
            +
              var empty$5 = "No ";
         | 
| 16 16 | 
             
              var enable$1 = "Enable";
         | 
| 17 17 | 
             
              var enabled$1 = "Enabled";
         | 
| 18 18 | 
             
              var disabled$1 = "Disabled";
         | 
| @@ -51,6 +51,15 @@ | |
| 51 51 | 
             
              var sunday$1 = "Sunday";
         | 
| 52 52 | 
             
              var month$1 = "Month";
         | 
| 53 53 | 
             
              var year$1 = "Year";
         | 
| 54 | 
            +
              var day_count$1 = "{count} day";
         | 
| 55 | 
            +
              var day_count_plural = "{count} days";
         | 
| 56 | 
            +
              var hour_count$1 = "{count} hour";
         | 
| 57 | 
            +
              var hour_count_plural = "{count} hours";
         | 
| 58 | 
            +
              var minute_count$1 = "{count} minute";
         | 
| 59 | 
            +
              var minute_count_plural = "{count} minutes";
         | 
| 60 | 
            +
              var month_measure_count$1 = "{count} month";
         | 
| 61 | 
            +
              var month_measure_count_plural = "{count} months";
         | 
| 62 | 
            +
              var show_unpassed$1 = "Show Failed only";
         | 
| 54 63 | 
             
              var common$1 = {
         | 
| 55 64 | 
             
              	_action_: _action_$1,
         | 
| 56 65 | 
             
              	action: action$1,
         | 
| @@ -60,7 +69,7 @@ | |
| 60 69 | 
             
              	close: close$1,
         | 
| 61 70 | 
             
              	contains: contains$3,
         | 
| 62 71 | 
             
              	confirm: confirm$3,
         | 
| 63 | 
            -
              	empty: empty$ | 
| 72 | 
            +
              	empty: empty$5,
         | 
| 64 73 | 
             
              	enable: enable$1,
         | 
| 65 74 | 
             
              	enabled: enabled$1,
         | 
| 66 75 | 
             
              	disabled: disabled$1,
         | 
| @@ -98,7 +107,16 @@ | |
| 98 107 | 
             
              	saturday: saturday$1,
         | 
| 99 108 | 
             
              	sunday: sunday$1,
         | 
| 100 109 | 
             
              	month: month$1,
         | 
| 101 | 
            -
              	year: year$1
         | 
| 110 | 
            +
              	year: year$1,
         | 
| 111 | 
            +
              	day_count: day_count$1,
         | 
| 112 | 
            +
              	day_count_plural: day_count_plural,
         | 
| 113 | 
            +
              	hour_count: hour_count$1,
         | 
| 114 | 
            +
              	hour_count_plural: hour_count_plural,
         | 
| 115 | 
            +
              	minute_count: minute_count$1,
         | 
| 116 | 
            +
              	minute_count_plural: minute_count_plural,
         | 
| 117 | 
            +
              	month_measure_count: month_measure_count$1,
         | 
| 118 | 
            +
              	month_measure_count_plural: month_measure_count_plural,
         | 
| 119 | 
            +
              	show_unpassed: show_unpassed$1
         | 
| 102 120 | 
             
              };
         | 
| 103 121 |  | 
| 104 122 | 
             
              var contains$2 = "Contains";
         | 
| @@ -178,6 +196,13 @@ | |
| 178 196 | 
             
              var next$1 = "Next";
         | 
| 179 197 | 
             
              var clear$1 = "Clear";
         | 
| 180 198 | 
             
              var loading$1 = "Loading...";
         | 
| 199 | 
            +
              var upgrade_to_version$1 = "<0>{{text}}</0> upgraded to <1>{{version}}</1>";
         | 
| 200 | 
            +
              var update_to_version$1 = "<0>{{text}}</0> updated to <1>{{version}}</1>";
         | 
| 201 | 
            +
              var failed_upgrade_to_version$1 = "<0>{{text}}</0> failed to upgrade to <1>{{version}}</1>";
         | 
| 202 | 
            +
              var config_updated$1 = "<0>{{text}}</0> updated <1>{{version}}</1>";
         | 
| 203 | 
            +
              var db_migrated$1 = "<0>{{text}}</0> migrated to <1>{{version}}</1>";
         | 
| 204 | 
            +
              var empty$4 = "No history records";
         | 
| 205 | 
            +
              var view_detail$1 = "View Details";
         | 
| 181 206 | 
             
              var components$1 = {
         | 
| 182 207 | 
             
              	contains: contains$2,
         | 
| 183 208 | 
             
              	custom_column: custom_column$1,
         | 
| @@ -263,15 +288,22 @@ | |
| 263 288 | 
             
              	prev: prev$1,
         | 
| 264 289 | 
             
              	next: next$1,
         | 
| 265 290 | 
             
              	clear: clear$1,
         | 
| 266 | 
            -
              	loading: loading$1
         | 
| 291 | 
            +
              	loading: loading$1,
         | 
| 292 | 
            +
              	upgrade_to_version: upgrade_to_version$1,
         | 
| 293 | 
            +
              	update_to_version: update_to_version$1,
         | 
| 294 | 
            +
              	failed_upgrade_to_version: failed_upgrade_to_version$1,
         | 
| 295 | 
            +
              	config_updated: config_updated$1,
         | 
| 296 | 
            +
              	db_migrated: db_migrated$1,
         | 
| 297 | 
            +
              	empty: empty$4,
         | 
| 298 | 
            +
              	view_detail: view_detail$1
         | 
| 267 299 | 
             
              };
         | 
| 268 300 |  | 
| 269 301 | 
             
              var current$1 = "Current value";
         | 
| 270 | 
            -
              var empty$ | 
| 302 | 
            +
              var empty$3 = "No data in this time range";
         | 
| 271 303 | 
             
              var max$1 = "Max";
         | 
| 272 304 | 
             
              var metric$1 = {
         | 
| 273 305 | 
             
              	current: current$1,
         | 
| 274 | 
            -
              	empty: empty$ | 
| 306 | 
            +
              	empty: empty$3,
         | 
| 275 307 | 
             
              	max: max$1
         | 
| 276 308 | 
             
              };
         | 
| 277 309 |  | 
| @@ -289,7 +321,7 @@ | |
| 289 321 | 
             
              var close = "关闭";
         | 
| 290 322 | 
             
              var contains$1 = "包含";
         | 
| 291 323 | 
             
              var confirm$1 = "确定";
         | 
| 292 | 
            -
              var empty$ | 
| 324 | 
            +
              var empty$2 = "无";
         | 
| 293 325 | 
             
              var enable = "启用";
         | 
| 294 326 | 
             
              var enabled = "启用";
         | 
| 295 327 | 
             
              var disable = "禁用";
         | 
| @@ -328,6 +360,11 @@ | |
| 328 360 | 
             
              var sunday = "周日";
         | 
| 329 361 | 
             
              var month = "月";
         | 
| 330 362 | 
             
              var year = "年";
         | 
| 363 | 
            +
              var day_count = "{count} 天";
         | 
| 364 | 
            +
              var hour_count = "{count} 小时";
         | 
| 365 | 
            +
              var minute_count = "{count} 分钟";
         | 
| 366 | 
            +
              var month_measure_count = "{count} 个月";
         | 
| 367 | 
            +
              var show_unpassed = "只看未满足";
         | 
| 331 368 | 
             
              var common = {
         | 
| 332 369 | 
             
              	_action_: _action_,
         | 
| 333 370 | 
             
              	action: action,
         | 
| @@ -337,7 +374,7 @@ | |
| 337 374 | 
             
              	close: close,
         | 
| 338 375 | 
             
              	contains: contains$1,
         | 
| 339 376 | 
             
              	confirm: confirm$1,
         | 
| 340 | 
            -
              	empty: empty$ | 
| 377 | 
            +
              	empty: empty$2,
         | 
| 341 378 | 
             
              	enable: enable,
         | 
| 342 379 | 
             
              	enabled: enabled,
         | 
| 343 380 | 
             
              	disable: disable,
         | 
| @@ -375,7 +412,12 @@ | |
| 375 412 | 
             
              	saturday: saturday,
         | 
| 376 413 | 
             
              	sunday: sunday,
         | 
| 377 414 | 
             
              	month: month,
         | 
| 378 | 
            -
              	year: year
         | 
| 415 | 
            +
              	year: year,
         | 
| 416 | 
            +
              	day_count: day_count,
         | 
| 417 | 
            +
              	hour_count: hour_count,
         | 
| 418 | 
            +
              	minute_count: minute_count,
         | 
| 419 | 
            +
              	month_measure_count: month_measure_count,
         | 
| 420 | 
            +
              	show_unpassed: show_unpassed
         | 
| 379 421 | 
             
              };
         | 
| 380 422 |  | 
| 381 423 | 
             
              var contains = "包含";
         | 
| @@ -450,6 +492,13 @@ | |
| 450 492 | 
             
              var next = "下一个";
         | 
| 451 493 | 
             
              var clear = "清空";
         | 
| 452 494 | 
             
              var loading = "正在加载...";
         | 
| 495 | 
            +
              var upgrade_to_version = "<0>{{text}}</0>升级到<1>{{version}}</1>";
         | 
| 496 | 
            +
              var update_to_version = "<0>{{text}}</0>更新到<1>{{version}}</1>";
         | 
| 497 | 
            +
              var failed_upgrade_to_version = "<0>{{text}}</0>升级<1>{{version}}</1>失败";
         | 
| 498 | 
            +
              var config_updated = "<0>{{text}}</0>更新<1>{{version}}</1>";
         | 
| 499 | 
            +
              var db_migrated = "<0>{{text}}</0>迁移到<1>{{version}}</1>";
         | 
| 500 | 
            +
              var empty$1 = "暂无历史记录";
         | 
| 501 | 
            +
              var view_detail = "查看详情";
         | 
| 453 502 | 
             
              var components = {
         | 
| 454 503 | 
             
              	contains: contains,
         | 
| 455 504 | 
             
              	custom_column: custom_column,
         | 
| @@ -530,7 +579,14 @@ | |
| 530 579 | 
             
              	prev: prev,
         | 
| 531 580 | 
             
              	next: next,
         | 
| 532 581 | 
             
              	clear: clear,
         | 
| 533 | 
            -
              	loading: loading
         | 
| 582 | 
            +
              	loading: loading,
         | 
| 583 | 
            +
              	upgrade_to_version: upgrade_to_version,
         | 
| 584 | 
            +
              	update_to_version: update_to_version,
         | 
| 585 | 
            +
              	failed_upgrade_to_version: failed_upgrade_to_version,
         | 
| 586 | 
            +
              	config_updated: config_updated,
         | 
| 587 | 
            +
              	db_migrated: db_migrated,
         | 
| 588 | 
            +
              	empty: empty$1,
         | 
| 589 | 
            +
              	view_detail: view_detail
         | 
| 534 590 | 
             
              };
         | 
| 535 591 |  | 
| 536 592 | 
             
              var current = "当前值";
         | 
    
        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":"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}};
         | 
| 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 | 
            +
              "version": "0.33.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": "^3.0.2"
         | 
| 47 47 | 
             
              },
         | 
| 48 | 
            -
              "gitHead": " | 
| 48 | 
            +
              "gitHead": "c6df587e1cbce01345375eb4b5dc6f0e6165734d"
         | 
| 49 49 | 
             
            }
         |