@cloudtower/parrot 0.25.16 → 0.25.18
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 +3 -1
- package/dist/esm/stats1.html +1 -1
- package/dist/umd/index.js +3 -1
- package/dist/umd/stats1.html +1 -1
- package/package.json +2 -2
package/dist/esm/index.js
CHANGED
@@ -309,7 +309,9 @@ const defaultOptions = {
|
|
309
309
|
};
|
310
310
|
const parrotI18n = i18next.createInstance(defaultOptions);
|
311
311
|
const initParrotI18n = (options, callback) => {
|
312
|
-
parrotI18n.
|
312
|
+
if (!parrotI18n.isInitialized) {
|
313
|
+
parrotI18n.init(merge(defaultOptions, options), callback);
|
314
|
+
}
|
313
315
|
};
|
314
316
|
|
315
317
|
export { 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":"bae8-25","name":"common.json"},{"uid":"bae8-27","name":"components.json"},{"uid":"bae8-29","name":"metric.json"},{"uid":"bae8-31","name":"index.ts"}]},{"name":"zh-CN","children":[{"uid":"bae8-33","name":"common.json"},{"uid":"bae8-35","name":"components.json"},{"uid":"bae8-37","name":"metric.json"},{"uid":"bae8-39","name":"index.ts"}]},{"uid":"bae8-41","name":"index.ts"}]},{"uid":"bae8-43","name":"parrotI18n.ts"},{"uid":"bae8-45","name":"index.ts"}]}]}],"isRoot":true},"nodeParts":{"bae8-25":{"renderedLength":1829,"gzipLength":0,"brotliLength":0,"metaUid":"bae8-24"},"bae8-27":{"renderedLength":1426,"gzipLength":0,"brotliLength":0,"metaUid":"bae8-26"},"bae8-29":{"renderedLength":165,"gzipLength":0,"brotliLength":0,"metaUid":"bae8-28"},"bae8-31":{"renderedLength":88,"gzipLength":0,"brotliLength":0,"metaUid":"bae8-30"},"bae8-33":{"renderedLength":1694,"gzipLength":0,"brotliLength":0,"metaUid":"bae8-32"},"bae8-35":{"renderedLength":1587,"gzipLength":0,"brotliLength":0,"metaUid":"bae8-34"},"bae8-37":{"renderedLength":157,"gzipLength":0,"brotliLength":0,"metaUid":"bae8-36"},"bae8-39":{"renderedLength":52,"gzipLength":0,"brotliLength":0,"metaUid":"bae8-38"},"bae8-41":{"renderedLength":59,"gzipLength":0,"brotliLength":0,"metaUid":"bae8-40"},"bae8-43":{"renderedLength":1235,"gzipLength":0,"brotliLength":0,"metaUid":"bae8-42"},"bae8-45":{"renderedLength":0,"gzipLength":0,"brotliLength":0,"metaUid":"bae8-44"}},"nodeMetas":{"bae8-24":{"id":"/src/locales/en-US/common.json","moduleParts":{"index.js":"bae8-25"},"imported":[],"importedBy":[{"uid":"bae8-30"}]},"bae8-26":{"id":"/src/locales/en-US/components.json","moduleParts":{"index.js":"bae8-27"},"imported":[],"importedBy":[{"uid":"bae8-30"}]},"bae8-28":{"id":"/src/locales/en-US/metric.json","moduleParts":{"index.js":"bae8-29"},"imported":[],"importedBy":[{"uid":"bae8-30"}]},"bae8-30":{"id":"/src/locales/en-US/index.ts","moduleParts":{"index.js":"bae8-31"},"imported":[{"uid":"bae8-24"},{"uid":"bae8-26"},{"uid":"bae8-28"}],"importedBy":[{"uid":"bae8-40"}]},"bae8-32":{"id":"/src/locales/zh-CN/common.json","moduleParts":{"index.js":"bae8-33"},"imported":[],"importedBy":[{"uid":"bae8-38"}]},"bae8-34":{"id":"/src/locales/zh-CN/components.json","moduleParts":{"index.js":"bae8-35"},"imported":[],"importedBy":[{"uid":"bae8-38"}]},"bae8-36":{"id":"/src/locales/zh-CN/metric.json","moduleParts":{"index.js":"bae8-37"},"imported":[],"importedBy":[{"uid":"bae8-38"}]},"bae8-38":{"id":"/src/locales/zh-CN/index.ts","moduleParts":{"index.js":"bae8-39"},"imported":[{"uid":"bae8-32"},{"uid":"bae8-34"},{"uid":"bae8-36"}],"importedBy":[{"uid":"bae8-40"}]},"bae8-40":{"id":"/src/locales/index.ts","moduleParts":{"index.js":"bae8-41"},"imported":[{"uid":"bae8-30"},{"uid":"bae8-38"}],"importedBy":[{"uid":"bae8-44"},{"uid":"bae8-42"}]},"bae8-42":{"id":"/src/parrotI18n.ts","moduleParts":{"index.js":"bae8-43"},"imported":[{"uid":"bae8-46"},{"uid":"bae8-47"},{"uid":"bae8-40"}],"importedBy":[{"uid":"bae8-44"}]},"bae8-44":{"id":"/src/index.ts","moduleParts":{"index.js":"bae8-45"},"imported":[{"uid":"bae8-40"},{"uid":"bae8-42"}],"importedBy":[],"isEntry":true},"bae8-46":{"id":"i18next","moduleParts":{},"imported":[],"importedBy":[{"uid":"bae8-42"}],"isExternal":true},"bae8-47":{"id":"lodash.merge","moduleParts":{},"imported":[],"importedBy":[{"uid":"bae8-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;
|
package/dist/umd/index.js
CHANGED
@@ -312,7 +312,9 @@
|
|
312
312
|
};
|
313
313
|
const parrotI18n = i18next.createInstance(defaultOptions);
|
314
314
|
const initParrotI18n = (options, callback) => {
|
315
|
-
parrotI18n.
|
315
|
+
if (!parrotI18n.isInitialized) {
|
316
|
+
parrotI18n.init(merge(defaultOptions, options), callback);
|
317
|
+
}
|
316
318
|
};
|
317
319
|
|
318
320
|
exports.initParrotI18n = initParrotI18n;
|
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":"bae8-1","name":"common.json"},{"uid":"bae8-3","name":"components.json"},{"uid":"bae8-5","name":"metric.json"},{"uid":"bae8-7","name":"index.ts"}]},{"name":"zh-CN","children":[{"uid":"bae8-9","name":"common.json"},{"uid":"bae8-11","name":"components.json"},{"uid":"bae8-13","name":"metric.json"},{"uid":"bae8-15","name":"index.ts"}]},{"uid":"bae8-17","name":"index.ts"}]},{"uid":"bae8-19","name":"parrotI18n.ts"},{"uid":"bae8-21","name":"index.ts"}]}]}],"isRoot":true},"nodeParts":{"bae8-1":{"renderedLength":1973,"gzipLength":0,"brotliLength":0,"metaUid":"bae8-0"},"bae8-3":{"renderedLength":1504,"gzipLength":0,"brotliLength":0,"metaUid":"bae8-2"},"bae8-5":{"renderedLength":181,"gzipLength":0,"brotliLength":0,"metaUid":"bae8-4"},"bae8-7":{"renderedLength":98,"gzipLength":0,"brotliLength":0,"metaUid":"bae8-6"},"bae8-9":{"renderedLength":1838,"gzipLength":0,"brotliLength":0,"metaUid":"bae8-8"},"bae8-11":{"renderedLength":1685,"gzipLength":0,"brotliLength":0,"metaUid":"bae8-10"},"bae8-13":{"renderedLength":173,"gzipLength":0,"brotliLength":0,"metaUid":"bae8-12"},"bae8-15":{"renderedLength":62,"gzipLength":0,"brotliLength":0,"metaUid":"bae8-14"},"bae8-17":{"renderedLength":67,"gzipLength":0,"brotliLength":0,"metaUid":"bae8-16"},"bae8-19":{"renderedLength":1317,"gzipLength":0,"brotliLength":0,"metaUid":"bae8-18"},"bae8-21":{"renderedLength":0,"gzipLength":0,"brotliLength":0,"metaUid":"bae8-20"}},"nodeMetas":{"bae8-0":{"id":"/src/locales/en-US/common.json","moduleParts":{"index.js":"bae8-1"},"imported":[],"importedBy":[{"uid":"bae8-6"}]},"bae8-2":{"id":"/src/locales/en-US/components.json","moduleParts":{"index.js":"bae8-3"},"imported":[],"importedBy":[{"uid":"bae8-6"}]},"bae8-4":{"id":"/src/locales/en-US/metric.json","moduleParts":{"index.js":"bae8-5"},"imported":[],"importedBy":[{"uid":"bae8-6"}]},"bae8-6":{"id":"/src/locales/en-US/index.ts","moduleParts":{"index.js":"bae8-7"},"imported":[{"uid":"bae8-0"},{"uid":"bae8-2"},{"uid":"bae8-4"}],"importedBy":[{"uid":"bae8-16"}]},"bae8-8":{"id":"/src/locales/zh-CN/common.json","moduleParts":{"index.js":"bae8-9"},"imported":[],"importedBy":[{"uid":"bae8-14"}]},"bae8-10":{"id":"/src/locales/zh-CN/components.json","moduleParts":{"index.js":"bae8-11"},"imported":[],"importedBy":[{"uid":"bae8-14"}]},"bae8-12":{"id":"/src/locales/zh-CN/metric.json","moduleParts":{"index.js":"bae8-13"},"imported":[],"importedBy":[{"uid":"bae8-14"}]},"bae8-14":{"id":"/src/locales/zh-CN/index.ts","moduleParts":{"index.js":"bae8-15"},"imported":[{"uid":"bae8-8"},{"uid":"bae8-10"},{"uid":"bae8-12"}],"importedBy":[{"uid":"bae8-16"}]},"bae8-16":{"id":"/src/locales/index.ts","moduleParts":{"index.js":"bae8-17"},"imported":[{"uid":"bae8-6"},{"uid":"bae8-14"}],"importedBy":[{"uid":"bae8-20"},{"uid":"bae8-18"}]},"bae8-18":{"id":"/src/parrotI18n.ts","moduleParts":{"index.js":"bae8-19"},"imported":[{"uid":"bae8-22"},{"uid":"bae8-23"},{"uid":"bae8-16"}],"importedBy":[{"uid":"bae8-20"}]},"bae8-20":{"id":"/src/index.ts","moduleParts":{"index.js":"bae8-21"},"imported":[{"uid":"bae8-16"},{"uid":"bae8-18"}],"importedBy":[],"isEntry":true},"bae8-22":{"id":"i18next","moduleParts":{},"imported":[],"importedBy":[{"uid":"bae8-18"}],"isExternal":true},"bae8-23":{"id":"lodash.merge","moduleParts":{},"imported":[],"importedBy":[{"uid":"bae8-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.25.
|
3
|
+
"version": "0.25.18",
|
4
4
|
"description": "i18n modules for cloudtower sparrow and eagle",
|
5
5
|
"keywords": [
|
6
6
|
"i18n",
|
@@ -40,5 +40,5 @@
|
|
40
40
|
"rollup-plugin-visualizer": "5.9.0",
|
41
41
|
"typescript": "5.0.2"
|
42
42
|
},
|
43
|
-
"gitHead": "
|
43
|
+
"gitHead": "28d57d3aa5d1701234204cb320f1be137573d648"
|
44
44
|
}
|