@cloudtower/parrot 0.26.31 → 0.26.32

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.
@@ -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":"24b9-25","name":"common.json"},{"uid":"24b9-27","name":"components.json"},{"uid":"24b9-29","name":"metric.json"},{"uid":"24b9-31","name":"index.ts"}]},{"name":"zh-CN","children":[{"uid":"24b9-33","name":"common.json"},{"uid":"24b9-35","name":"components.json"},{"uid":"24b9-37","name":"metric.json"},{"uid":"24b9-39","name":"index.ts"}]},{"uid":"24b9-41","name":"index.ts"}]},{"uid":"24b9-43","name":"parrotI18n.ts"},{"uid":"24b9-45","name":"index.ts"}]}]}],"isRoot":true},"nodeParts":{"24b9-25":{"renderedLength":1829,"gzipLength":0,"brotliLength":0,"metaUid":"24b9-24"},"24b9-27":{"renderedLength":1698,"gzipLength":0,"brotliLength":0,"metaUid":"24b9-26"},"24b9-29":{"renderedLength":165,"gzipLength":0,"brotliLength":0,"metaUid":"24b9-28"},"24b9-31":{"renderedLength":88,"gzipLength":0,"brotliLength":0,"metaUid":"24b9-30"},"24b9-33":{"renderedLength":1694,"gzipLength":0,"brotliLength":0,"metaUid":"24b9-32"},"24b9-35":{"renderedLength":1587,"gzipLength":0,"brotliLength":0,"metaUid":"24b9-34"},"24b9-37":{"renderedLength":157,"gzipLength":0,"brotliLength":0,"metaUid":"24b9-36"},"24b9-39":{"renderedLength":52,"gzipLength":0,"brotliLength":0,"metaUid":"24b9-38"},"24b9-41":{"renderedLength":59,"gzipLength":0,"brotliLength":0,"metaUid":"24b9-40"},"24b9-43":{"renderedLength":1735,"gzipLength":0,"brotliLength":0,"metaUid":"24b9-42"},"24b9-45":{"renderedLength":0,"gzipLength":0,"brotliLength":0,"metaUid":"24b9-44"}},"nodeMetas":{"24b9-24":{"id":"/src/locales/en-US/common.json","moduleParts":{"index.js":"24b9-25"},"imported":[],"importedBy":[{"uid":"24b9-30"}]},"24b9-26":{"id":"/src/locales/en-US/components.json","moduleParts":{"index.js":"24b9-27"},"imported":[],"importedBy":[{"uid":"24b9-30"}]},"24b9-28":{"id":"/src/locales/en-US/metric.json","moduleParts":{"index.js":"24b9-29"},"imported":[],"importedBy":[{"uid":"24b9-30"}]},"24b9-30":{"id":"/src/locales/en-US/index.ts","moduleParts":{"index.js":"24b9-31"},"imported":[{"uid":"24b9-24"},{"uid":"24b9-26"},{"uid":"24b9-28"}],"importedBy":[{"uid":"24b9-40"}]},"24b9-32":{"id":"/src/locales/zh-CN/common.json","moduleParts":{"index.js":"24b9-33"},"imported":[],"importedBy":[{"uid":"24b9-38"}]},"24b9-34":{"id":"/src/locales/zh-CN/components.json","moduleParts":{"index.js":"24b9-35"},"imported":[],"importedBy":[{"uid":"24b9-38"}]},"24b9-36":{"id":"/src/locales/zh-CN/metric.json","moduleParts":{"index.js":"24b9-37"},"imported":[],"importedBy":[{"uid":"24b9-38"}]},"24b9-38":{"id":"/src/locales/zh-CN/index.ts","moduleParts":{"index.js":"24b9-39"},"imported":[{"uid":"24b9-32"},{"uid":"24b9-34"},{"uid":"24b9-36"}],"importedBy":[{"uid":"24b9-40"}]},"24b9-40":{"id":"/src/locales/index.ts","moduleParts":{"index.js":"24b9-41"},"imported":[{"uid":"24b9-30"},{"uid":"24b9-38"}],"importedBy":[{"uid":"24b9-44"},{"uid":"24b9-42"}]},"24b9-42":{"id":"/src/parrotI18n.ts","moduleParts":{"index.js":"24b9-43"},"imported":[{"uid":"24b9-46"},{"uid":"24b9-47"},{"uid":"24b9-40"}],"importedBy":[{"uid":"24b9-44"}]},"24b9-44":{"id":"/src/index.ts","moduleParts":{"index.js":"24b9-45"},"imported":[{"uid":"24b9-40"},{"uid":"24b9-42"}],"importedBy":[],"isEntry":true},"24b9-46":{"id":"i18next","moduleParts":{},"imported":[],"importedBy":[{"uid":"24b9-42"}],"isExternal":true},"24b9-47":{"id":"lodash.merge","moduleParts":{},"imported":[],"importedBy":[{"uid":"24b9-42"}],"isExternal":true}},"env":{"rollup":"3.15.0"},"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":"5f52-25","name":"common.json"},{"uid":"5f52-27","name":"components.json"},{"uid":"5f52-29","name":"metric.json"},{"uid":"5f52-31","name":"index.ts"}]},{"name":"zh-CN","children":[{"uid":"5f52-33","name":"common.json"},{"uid":"5f52-35","name":"components.json"},{"uid":"5f52-37","name":"metric.json"},{"uid":"5f52-39","name":"index.ts"}]},{"uid":"5f52-41","name":"index.ts"}]},{"uid":"5f52-43","name":"parrotI18n.ts"},{"uid":"5f52-45","name":"index.ts"}]}]}],"isRoot":true},"nodeParts":{"5f52-25":{"renderedLength":1829,"gzipLength":0,"brotliLength":0,"metaUid":"5f52-24"},"5f52-27":{"renderedLength":1698,"gzipLength":0,"brotliLength":0,"metaUid":"5f52-26"},"5f52-29":{"renderedLength":165,"gzipLength":0,"brotliLength":0,"metaUid":"5f52-28"},"5f52-31":{"renderedLength":88,"gzipLength":0,"brotliLength":0,"metaUid":"5f52-30"},"5f52-33":{"renderedLength":1694,"gzipLength":0,"brotliLength":0,"metaUid":"5f52-32"},"5f52-35":{"renderedLength":1587,"gzipLength":0,"brotliLength":0,"metaUid":"5f52-34"},"5f52-37":{"renderedLength":157,"gzipLength":0,"brotliLength":0,"metaUid":"5f52-36"},"5f52-39":{"renderedLength":52,"gzipLength":0,"brotliLength":0,"metaUid":"5f52-38"},"5f52-41":{"renderedLength":59,"gzipLength":0,"brotliLength":0,"metaUid":"5f52-40"},"5f52-43":{"renderedLength":1735,"gzipLength":0,"brotliLength":0,"metaUid":"5f52-42"},"5f52-45":{"renderedLength":0,"gzipLength":0,"brotliLength":0,"metaUid":"5f52-44"}},"nodeMetas":{"5f52-24":{"id":"/src/locales/en-US/common.json","moduleParts":{"index.js":"5f52-25"},"imported":[],"importedBy":[{"uid":"5f52-30"}]},"5f52-26":{"id":"/src/locales/en-US/components.json","moduleParts":{"index.js":"5f52-27"},"imported":[],"importedBy":[{"uid":"5f52-30"}]},"5f52-28":{"id":"/src/locales/en-US/metric.json","moduleParts":{"index.js":"5f52-29"},"imported":[],"importedBy":[{"uid":"5f52-30"}]},"5f52-30":{"id":"/src/locales/en-US/index.ts","moduleParts":{"index.js":"5f52-31"},"imported":[{"uid":"5f52-24"},{"uid":"5f52-26"},{"uid":"5f52-28"}],"importedBy":[{"uid":"5f52-40"}]},"5f52-32":{"id":"/src/locales/zh-CN/common.json","moduleParts":{"index.js":"5f52-33"},"imported":[],"importedBy":[{"uid":"5f52-38"}]},"5f52-34":{"id":"/src/locales/zh-CN/components.json","moduleParts":{"index.js":"5f52-35"},"imported":[],"importedBy":[{"uid":"5f52-38"}]},"5f52-36":{"id":"/src/locales/zh-CN/metric.json","moduleParts":{"index.js":"5f52-37"},"imported":[],"importedBy":[{"uid":"5f52-38"}]},"5f52-38":{"id":"/src/locales/zh-CN/index.ts","moduleParts":{"index.js":"5f52-39"},"imported":[{"uid":"5f52-32"},{"uid":"5f52-34"},{"uid":"5f52-36"}],"importedBy":[{"uid":"5f52-40"}]},"5f52-40":{"id":"/src/locales/index.ts","moduleParts":{"index.js":"5f52-41"},"imported":[{"uid":"5f52-30"},{"uid":"5f52-38"}],"importedBy":[{"uid":"5f52-44"},{"uid":"5f52-42"}]},"5f52-42":{"id":"/src/parrotI18n.ts","moduleParts":{"index.js":"5f52-43"},"imported":[{"uid":"5f52-46"},{"uid":"5f52-47"},{"uid":"5f52-40"}],"importedBy":[{"uid":"5f52-44"}]},"5f52-44":{"id":"/src/index.ts","moduleParts":{"index.js":"5f52-45"},"imported":[{"uid":"5f52-40"},{"uid":"5f52-42"}],"importedBy":[],"isEntry":true},"5f52-46":{"id":"i18next","moduleParts":{},"imported":[],"importedBy":[{"uid":"5f52-42"}],"isExternal":true},"5f52-47":{"id":"lodash.merge","moduleParts":{},"imported":[],"importedBy":[{"uid":"5f52-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;
@@ -0,0 +1 @@
1
+ export {};
@@ -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":"24b9-1","name":"common.json"},{"uid":"24b9-3","name":"components.json"},{"uid":"24b9-5","name":"metric.json"},{"uid":"24b9-7","name":"index.ts"}]},{"name":"zh-CN","children":[{"uid":"24b9-9","name":"common.json"},{"uid":"24b9-11","name":"components.json"},{"uid":"24b9-13","name":"metric.json"},{"uid":"24b9-15","name":"index.ts"}]},{"uid":"24b9-17","name":"index.ts"}]},{"uid":"24b9-19","name":"parrotI18n.ts"},{"uid":"24b9-21","name":"index.ts"}]}]}],"isRoot":true},"nodeParts":{"24b9-1":{"renderedLength":1973,"gzipLength":0,"brotliLength":0,"metaUid":"24b9-0"},"24b9-3":{"renderedLength":1796,"gzipLength":0,"brotliLength":0,"metaUid":"24b9-2"},"24b9-5":{"renderedLength":181,"gzipLength":0,"brotliLength":0,"metaUid":"24b9-4"},"24b9-7":{"renderedLength":98,"gzipLength":0,"brotliLength":0,"metaUid":"24b9-6"},"24b9-9":{"renderedLength":1838,"gzipLength":0,"brotliLength":0,"metaUid":"24b9-8"},"24b9-11":{"renderedLength":1685,"gzipLength":0,"brotliLength":0,"metaUid":"24b9-10"},"24b9-13":{"renderedLength":173,"gzipLength":0,"brotliLength":0,"metaUid":"24b9-12"},"24b9-15":{"renderedLength":62,"gzipLength":0,"brotliLength":0,"metaUid":"24b9-14"},"24b9-17":{"renderedLength":67,"gzipLength":0,"brotliLength":0,"metaUid":"24b9-16"},"24b9-19":{"renderedLength":1835,"gzipLength":0,"brotliLength":0,"metaUid":"24b9-18"},"24b9-21":{"renderedLength":0,"gzipLength":0,"brotliLength":0,"metaUid":"24b9-20"}},"nodeMetas":{"24b9-0":{"id":"/src/locales/en-US/common.json","moduleParts":{"index.js":"24b9-1"},"imported":[],"importedBy":[{"uid":"24b9-6"}]},"24b9-2":{"id":"/src/locales/en-US/components.json","moduleParts":{"index.js":"24b9-3"},"imported":[],"importedBy":[{"uid":"24b9-6"}]},"24b9-4":{"id":"/src/locales/en-US/metric.json","moduleParts":{"index.js":"24b9-5"},"imported":[],"importedBy":[{"uid":"24b9-6"}]},"24b9-6":{"id":"/src/locales/en-US/index.ts","moduleParts":{"index.js":"24b9-7"},"imported":[{"uid":"24b9-0"},{"uid":"24b9-2"},{"uid":"24b9-4"}],"importedBy":[{"uid":"24b9-16"}]},"24b9-8":{"id":"/src/locales/zh-CN/common.json","moduleParts":{"index.js":"24b9-9"},"imported":[],"importedBy":[{"uid":"24b9-14"}]},"24b9-10":{"id":"/src/locales/zh-CN/components.json","moduleParts":{"index.js":"24b9-11"},"imported":[],"importedBy":[{"uid":"24b9-14"}]},"24b9-12":{"id":"/src/locales/zh-CN/metric.json","moduleParts":{"index.js":"24b9-13"},"imported":[],"importedBy":[{"uid":"24b9-14"}]},"24b9-14":{"id":"/src/locales/zh-CN/index.ts","moduleParts":{"index.js":"24b9-15"},"imported":[{"uid":"24b9-8"},{"uid":"24b9-10"},{"uid":"24b9-12"}],"importedBy":[{"uid":"24b9-16"}]},"24b9-16":{"id":"/src/locales/index.ts","moduleParts":{"index.js":"24b9-17"},"imported":[{"uid":"24b9-6"},{"uid":"24b9-14"}],"importedBy":[{"uid":"24b9-20"},{"uid":"24b9-18"}]},"24b9-18":{"id":"/src/parrotI18n.ts","moduleParts":{"index.js":"24b9-19"},"imported":[{"uid":"24b9-22"},{"uid":"24b9-23"},{"uid":"24b9-16"}],"importedBy":[{"uid":"24b9-20"}]},"24b9-20":{"id":"/src/index.ts","moduleParts":{"index.js":"24b9-21"},"imported":[{"uid":"24b9-16"},{"uid":"24b9-18"}],"importedBy":[],"isEntry":true},"24b9-22":{"id":"i18next","moduleParts":{},"imported":[],"importedBy":[{"uid":"24b9-18"}],"isExternal":true},"24b9-23":{"id":"lodash.merge","moduleParts":{},"imported":[],"importedBy":[{"uid":"24b9-18"}],"isExternal":true}},"env":{"rollup":"3.15.0"},"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":"5f52-1","name":"common.json"},{"uid":"5f52-3","name":"components.json"},{"uid":"5f52-5","name":"metric.json"},{"uid":"5f52-7","name":"index.ts"}]},{"name":"zh-CN","children":[{"uid":"5f52-9","name":"common.json"},{"uid":"5f52-11","name":"components.json"},{"uid":"5f52-13","name":"metric.json"},{"uid":"5f52-15","name":"index.ts"}]},{"uid":"5f52-17","name":"index.ts"}]},{"uid":"5f52-19","name":"parrotI18n.ts"},{"uid":"5f52-21","name":"index.ts"}]}]}],"isRoot":true},"nodeParts":{"5f52-1":{"renderedLength":1973,"gzipLength":0,"brotliLength":0,"metaUid":"5f52-0"},"5f52-3":{"renderedLength":1796,"gzipLength":0,"brotliLength":0,"metaUid":"5f52-2"},"5f52-5":{"renderedLength":181,"gzipLength":0,"brotliLength":0,"metaUid":"5f52-4"},"5f52-7":{"renderedLength":98,"gzipLength":0,"brotliLength":0,"metaUid":"5f52-6"},"5f52-9":{"renderedLength":1838,"gzipLength":0,"brotliLength":0,"metaUid":"5f52-8"},"5f52-11":{"renderedLength":1685,"gzipLength":0,"brotliLength":0,"metaUid":"5f52-10"},"5f52-13":{"renderedLength":173,"gzipLength":0,"brotliLength":0,"metaUid":"5f52-12"},"5f52-15":{"renderedLength":62,"gzipLength":0,"brotliLength":0,"metaUid":"5f52-14"},"5f52-17":{"renderedLength":67,"gzipLength":0,"brotliLength":0,"metaUid":"5f52-16"},"5f52-19":{"renderedLength":1835,"gzipLength":0,"brotliLength":0,"metaUid":"5f52-18"},"5f52-21":{"renderedLength":0,"gzipLength":0,"brotliLength":0,"metaUid":"5f52-20"}},"nodeMetas":{"5f52-0":{"id":"/src/locales/en-US/common.json","moduleParts":{"index.js":"5f52-1"},"imported":[],"importedBy":[{"uid":"5f52-6"}]},"5f52-2":{"id":"/src/locales/en-US/components.json","moduleParts":{"index.js":"5f52-3"},"imported":[],"importedBy":[{"uid":"5f52-6"}]},"5f52-4":{"id":"/src/locales/en-US/metric.json","moduleParts":{"index.js":"5f52-5"},"imported":[],"importedBy":[{"uid":"5f52-6"}]},"5f52-6":{"id":"/src/locales/en-US/index.ts","moduleParts":{"index.js":"5f52-7"},"imported":[{"uid":"5f52-0"},{"uid":"5f52-2"},{"uid":"5f52-4"}],"importedBy":[{"uid":"5f52-16"}]},"5f52-8":{"id":"/src/locales/zh-CN/common.json","moduleParts":{"index.js":"5f52-9"},"imported":[],"importedBy":[{"uid":"5f52-14"}]},"5f52-10":{"id":"/src/locales/zh-CN/components.json","moduleParts":{"index.js":"5f52-11"},"imported":[],"importedBy":[{"uid":"5f52-14"}]},"5f52-12":{"id":"/src/locales/zh-CN/metric.json","moduleParts":{"index.js":"5f52-13"},"imported":[],"importedBy":[{"uid":"5f52-14"}]},"5f52-14":{"id":"/src/locales/zh-CN/index.ts","moduleParts":{"index.js":"5f52-15"},"imported":[{"uid":"5f52-8"},{"uid":"5f52-10"},{"uid":"5f52-12"}],"importedBy":[{"uid":"5f52-16"}]},"5f52-16":{"id":"/src/locales/index.ts","moduleParts":{"index.js":"5f52-17"},"imported":[{"uid":"5f52-6"},{"uid":"5f52-14"}],"importedBy":[{"uid":"5f52-20"},{"uid":"5f52-18"}]},"5f52-18":{"id":"/src/parrotI18n.ts","moduleParts":{"index.js":"5f52-19"},"imported":[{"uid":"5f52-22"},{"uid":"5f52-23"},{"uid":"5f52-16"}],"importedBy":[{"uid":"5f52-20"}]},"5f52-20":{"id":"/src/index.ts","moduleParts":{"index.js":"5f52-21"},"imported":[{"uid":"5f52-16"},{"uid":"5f52-18"}],"importedBy":[],"isEntry":true},"5f52-22":{"id":"i18next","moduleParts":{},"imported":[],"importedBy":[{"uid":"5f52-18"}],"isExternal":true},"5f52-23":{"id":"lodash.merge","moduleParts":{},"imported":[],"importedBy":[{"uid":"5f52-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.26.31",
3
+ "version": "0.26.32",
4
4
  "description": "i18n modules for cloudtower sparrow and eagle",
5
5
  "keywords": [
6
6
  "i18n",
@@ -20,6 +20,8 @@
20
20
  "url": "https://github.com/webzard-io/cloudtower-ui-kit.git"
21
21
  },
22
22
  "scripts": {
23
+ "test": "vitest",
24
+ "test:ci": "vitest run",
23
25
  "prebuild": "rm -rf dist",
24
26
  "build": "rollup --config rollup.config.js --bundleConfigAsCjs",
25
27
  "typings": "tsc -v && tsc --emitDeclarationOnly",
@@ -33,12 +35,15 @@
33
35
  "devDependencies": {
34
36
  "@rollup/plugin-json": "^6.0.0",
35
37
  "@types/lodash.merge": "^4.6.7",
38
+ "@types/lodash.xor": "^4.5.9",
36
39
  "ejs": "^3.1.8",
40
+ "lodash.xor": "^4.5.0",
37
41
  "rollup": "^3.12.1",
38
42
  "rollup-plugin-esbuild": "5.0.0",
39
43
  "rollup-plugin-polyfill-node": "^0.12.0",
40
44
  "rollup-plugin-visualizer": "5.9.0",
41
- "typescript": "5.0.2"
45
+ "typescript": "5.0.2",
46
+ "vitest": "^0.24.1"
42
47
  },
43
- "gitHead": "bfdc4a507e2eab46a3bc55751ab591ee5cb8b463"
48
+ "gitHead": "fcea0d16abe6ff47db170c3162e241a185523007"
44
49
  }