@kong-ui-public/i18n 0.4.8-pr.475.fef67c8.0 → 0.5.1-pr.518.1c0e93e.0

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/README.md CHANGED
@@ -5,6 +5,7 @@
5
5
  - [Global Registration](#global-registration)
6
6
  - [Vue Plugin](#vue-plugin)
7
7
  - [Use in application](#use-in-application)
8
+ - [Override config while create instance](#override-config-while-create-instance)
8
9
  - [Use in shared component](#use-in-shared-component)
9
10
  - [Formatting messages](#formatting-messages)
10
11
  - [Where is my helpText?](#where-is-my-helptext)
@@ -36,7 +37,7 @@ In order to provide full autocompletion for the translation keys, you need to pa
36
37
  import { createI18n, Translation } from '@kong-ui-public/i18n'
37
38
  import english from './locales/en.json'
38
39
 
39
- const i18n = createI18n<typeof english>('en-us', english, true)
40
+ const i18n = createI18n<typeof english>('en-us', english, {isGlobal: true})
40
41
  app.use(Translation.install<typeof english>, { i18n })
41
42
 
42
43
  // composables/index.ts
@@ -59,7 +60,7 @@ const i18n = composables.useI18n()
59
60
  import { Translation, createI18n } from '@kong-ui-public/i18n'
60
61
  import english from './locales/en.json'
61
62
 
62
- const i18n = createI18n<typeof english>('en-us', english, true)
63
+ const i18n = createI18n<typeof english>('en-us', english, {isGlobal: true})
63
64
  const app = createApp(App)
64
65
  app.use(Translation.install<typeof english>, { i18n })
65
66
 
@@ -79,9 +80,10 @@ import english from './locales/en.json'
79
80
  ...
80
81
 
81
82
  // this will create Application instance of Intl object
82
- createI18n<typeof english>('en-us', english, true)
83
+ createI18n<typeof english>('en-us', english, {isGlobal: true})
83
84
  ```
84
85
 
86
+
85
87
  And then, anywhere in application code where `i18n` is needed:
86
88
 
87
89
  ```html
@@ -96,6 +98,38 @@ const i18n = useI18n<typeof english>()
96
98
  </script>
97
99
  ```
98
100
 
101
+ ### Override config while create instance
102
+
103
+ For some applications there is a need to create Intl instance with config settings overridden. One example of this is when application needs to define error/warning handlers.
104
+
105
+ Example:
106
+
107
+ in `main.ts` (application hydration code):
108
+
109
+ ```ts
110
+ import { createI18n } from '@kong-ui-public/i18n'
111
+ import type { IntlConfigCore } from '@kong-ui-public/i18n'
112
+
113
+ import english from './locales/en.json'
114
+
115
+ ...
116
+
117
+ // this will create Application instance of Intl object
118
+ createI18n<typeof english>(
119
+ en-us',
120
+ english,
121
+ {
122
+ onError: (err) {
123
+ console.error(`this is my own i18n errorhandler ${err}`)
124
+ },
125
+ isGlobal: true
126
+ })
127
+ ```
128
+
129
+ and then use i18n as described above.
130
+
131
+ Third parameter to `createI18n` could be simple boolean (for backwards compatibility), or [IntlConfig object without locale and messages](https://formatjs.io/docs/intl/#intlshape)
132
+
99
133
  ## Use in shared component
100
134
 
101
135
  When used in [shared component](https://github.com/Kong/shared-ui-components/pull/118/files#diff-f296a0775f650cac9ecd4b5d7ccef015ca73587be833b40eeae1e396426b0f4fR45) (outside of application code), we need `Intl` that is local to that component, so that it is using component's own localization strings:
package/dist/i18n.es.js CHANGED
@@ -3286,6 +3286,7 @@ let Ve;
3286
3286
  const pr = (e, t, n = !1) => {
3287
3287
  const r = hr(
3288
3288
  {
3289
+ ...typeof n == "boolean" ? null : n,
3289
3290
  locale: e,
3290
3291
  messages: lr.flatten(t, {
3291
3292
  safe: !0
@@ -3300,7 +3301,7 @@ const pr = (e, t, n = !1) => {
3300
3301
  ...o,
3301
3302
  source: t
3302
3303
  };
3303
- return n && (Ve = u), u;
3304
+ return typeof n == "boolean" && n === !0 || typeof n != "boolean" && n.isGlobal === !0 ? (console.log("!!!!!!!!!!! global"), Ve = u) : console.log("!!!!!!!!!!! local"), u;
3304
3305
  };
3305
3306
  function gr() {
3306
3307
  return Ve;
@@ -3352,4 +3353,3 @@ export {
3352
3353
  cr as i18nTComponent,
3353
3354
  gr as useI18n
3354
3355
  };
3355
- //# sourceMappingURL=i18n.es.js.map
package/dist/i18n.umd.js CHANGED
@@ -19,5 +19,4 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
19
19
  Try polyfilling it using "@formatjs/intl-relativetimeformat"
20
20
  `,P.MISSING_INTL_API));try{return nr(e,t,i).format(n,r)}catch(o){e.onError(new I("Error formatting relative time.",e.locale,o))}return String(n)}var ar=["style","currency","currencyDisplay","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","currencyDisplay","currencySign","notation","signDisplay","unit","unitDisplay","numberingSystem"];function Ge(e,t,n){var r=e.locale,i=e.formats,a=e.onError;n===void 0&&(n={});var o=n.format,s=o&&ae(i,"number",o,a)||{},h=M(n,ar,s);return t(r,h)}function or(e,t,n,r){r===void 0&&(r={});try{return Ge(e,t,r).format(n)}catch(i){e.onError(new I("Error formatting number.",e.locale,i))}return String(n)}function sr(e,t,n,r){r===void 0&&(r={});try{return Ge(e,t,r).formatToParts(n)}catch(i){e.onError(new I("Error formatting number.",e.locale,i))}return[]}function ur(e){var t=e?e[Object.keys(e)[0]]:void 0;return typeof t=="string"}function hr(e){e.onWarn&&e.defaultRichTextElements&&ur(e.messages||{})&&e.onWarn(`[@formatjs/intl] "defaultRichTextElements" was specified but "message" was not pre-compiled.
21
21
  Please consider using "@formatjs/cli" to pre-compile your messages for performance.
22
- For more details see https://formatjs.io/docs/getting-started/message-distribution`)}function lr(e,t){var n=Vt(t),r=m(m({},jt),e),i=r.locale,a=r.defaultLocale,o=r.onError;return i?!Intl.NumberFormat.supportedLocalesOf(i).length&&o?o(new Oe('Missing locale data for locale: "'.concat(i,'" in Intl.NumberFormat. Using default locale: "').concat(a,'" as fallback. See https://formatjs.io/docs/react-intl#runtime-requirements for more details'))):!Intl.DateTimeFormat.supportedLocalesOf(i).length&&o&&o(new Oe('Missing locale data for locale: "'.concat(i,'" in Intl.DateTimeFormat. Using default locale: "').concat(a,'" as fallback. See https://formatjs.io/docs/react-intl#runtime-requirements for more details'))):(o&&o(new Dt('"locale" was not configured, using "'.concat(a,'" as fallback. See https://formatjs.io/docs/react-intl/api#intlshape for more details'))),r.locale=r.defaultLocale||"en"),hr(r),m(m({},r),{formatters:n,formatNumber:or.bind(null,r,n.getNumberFormat),formatNumberToParts:sr.bind(null,r,n.getNumberFormat),formatRelativeTime:ir.bind(null,r,n.getRelativeTimeFormat),formatDate:Xt.bind(null,r,n.getDateTimeFormat),formatDateToParts:zt.bind(null,r,n.getDateTimeFormat),formatTime:Zt.bind(null,r,n.getDateTimeFormat),formatDateTimeRange:Wt.bind(null,r,n.getDateTimeFormat),formatTimeToParts:qt.bind(null,r,n.getDateTimeFormat),formatPlural:tr.bind(null,r,n.getPluralRules),formatMessage:Ce.bind(null,r,n),$t:Ce.bind(null,r,n),formatList:Kt.bind(null,r,n.getListFormat),formatListToParts:Fe.bind(null,r,n.getListFormat),formatDisplayName:Qt.bind(null,r,n.getDisplayNames)})}var fr=U;U.flatten=U,U.unflatten=Ve;function Ue(e){return e&&e.constructor&&typeof e.constructor.isBuffer=="function"&&e.constructor.isBuffer(e)}function je(e){return e}function U(e,t){t=t||{};const n=t.delimiter||".",r=t.maxDepth,i=t.transformKey||je,a={};function o(s,h,l){l=l||1,Object.keys(s).forEach(function(u){const f=s[u],c=t.safe&&Array.isArray(f),p=Object.prototype.toString.call(f),b=Ue(f),E=p==="[object Object]"||p==="[object Array]",y=h?h+n+i(u):i(u);if(!c&&!b&&E&&Object.keys(f).length&&(!t.maxDepth||l<r))return o(f,y,l+1);a[y]=f})}return o(e),a}function Ve(e,t){t=t||{};const n=t.delimiter||".",r=t.overwrite||!1,i=t.transformKey||je,a={};if(Ue(e)||Object.prototype.toString.call(e)!=="[object Object]")return e;function s(u){const f=Number(u);return isNaN(f)||u.indexOf(".")!==-1||t.object?u:f}function h(u,f,c){return Object.keys(c).reduce(function(p,b){return p[u+n+b]=c[b],p},f)}function l(u){const f=Object.prototype.toString.call(u),c=f==="[object Array]",p=f==="[object Object]";if(u){if(c)return!u.length;if(p)return!Object.keys(u).length}else return!0}return e=Object.keys(e).reduce(function(u,f){const c=Object.prototype.toString.call(e[f]);return!(c==="[object Object]"||c==="[object Array]")||l(e[f])?(u[f]=e[f],u):h(f,u,U(e[f],t))},{}),Object.keys(e).forEach(function(u){const f=u.split(n).map(i);let c=s(f.shift()),p=s(f[0]),b=a;for(;p!==void 0;){if(c==="__proto__")return;const E=Object.prototype.toString.call(b[c]),y=E==="[object Object]"||E==="[object Array]";if(!r&&!y&&typeof b[c]<"u")return;(r&&!y||!r&&b[c]==null)&&(b[c]=typeof p=="number"&&!t.object?[]:{}),b=b[c],f.length>0&&(c=s(f.shift()),p=s(f[0]))}b[c]=Ve(e[u],t)}),a}const cr=Re();let ke;const mr=(e,t,n=!1)=>{const r=lr({locale:e,messages:fr.flatten(t,{safe:!0})},cr),{$t:i,...a}=r,o=a,u={t:(f,c,p)=>o.formatMessage({id:f},c,p),te:f=>!!o.messages[f],tm:f=>o.messages[f]||[],...o,source:t};return n&&(ke=u),u};function pr(){return ke}const Xe=(e=null)=>D.defineComponent({name:"I18nT",props:{i18n:{type:Object,default:null},keypath:{type:String,required:!0},tag:{type:String,default:"span"}},setup(t,{slots:n}){const r=i=>{if(!i)return[];const a=/(\{[^}]+\})/g;return i.split(a).filter(Boolean)};return()=>{const i=Object.keys(n).filter(s=>s!=="_"),a=(e||t.i18n).messages[t.keypath].toString();let o=r(a);return o=o.filter(s=>s!==""),o.forEach((s,h)=>{if(!s.startsWith("{")&&!s.endsWith("}"))return;const l=s.replace(/[\{\}]/g,"");l==="0"&&n.default?o[h]=n.default():i.includes(l)&&n[l]&&(o[h]=n[l]())}),D.h(t.tag,t,o)}}}),gr={install(e,t){const{i18n:n}=t;e.component("I18nT",Xe(n))}};N.Translation=gr,N.createI18n=mr,N.i18nTComponent=Xe,N.useI18n=pr,Object.defineProperty(N,Symbol.toStringTag,{value:"Module"})});
23
- //# sourceMappingURL=i18n.umd.js.map
22
+ For more details see https://formatjs.io/docs/getting-started/message-distribution`)}function lr(e,t){var n=Vt(t),r=m(m({},jt),e),i=r.locale,a=r.defaultLocale,o=r.onError;return i?!Intl.NumberFormat.supportedLocalesOf(i).length&&o?o(new Oe('Missing locale data for locale: "'.concat(i,'" in Intl.NumberFormat. Using default locale: "').concat(a,'" as fallback. See https://formatjs.io/docs/react-intl#runtime-requirements for more details'))):!Intl.DateTimeFormat.supportedLocalesOf(i).length&&o&&o(new Oe('Missing locale data for locale: "'.concat(i,'" in Intl.DateTimeFormat. Using default locale: "').concat(a,'" as fallback. See https://formatjs.io/docs/react-intl#runtime-requirements for more details'))):(o&&o(new Dt('"locale" was not configured, using "'.concat(a,'" as fallback. See https://formatjs.io/docs/react-intl/api#intlshape for more details'))),r.locale=r.defaultLocale||"en"),hr(r),m(m({},r),{formatters:n,formatNumber:or.bind(null,r,n.getNumberFormat),formatNumberToParts:sr.bind(null,r,n.getNumberFormat),formatRelativeTime:ir.bind(null,r,n.getRelativeTimeFormat),formatDate:Xt.bind(null,r,n.getDateTimeFormat),formatDateToParts:zt.bind(null,r,n.getDateTimeFormat),formatTime:Zt.bind(null,r,n.getDateTimeFormat),formatDateTimeRange:Wt.bind(null,r,n.getDateTimeFormat),formatTimeToParts:qt.bind(null,r,n.getDateTimeFormat),formatPlural:tr.bind(null,r,n.getPluralRules),formatMessage:Ce.bind(null,r,n),$t:Ce.bind(null,r,n),formatList:Kt.bind(null,r,n.getListFormat),formatListToParts:Fe.bind(null,r,n.getListFormat),formatDisplayName:Qt.bind(null,r,n.getDisplayNames)})}var fr=U;U.flatten=U,U.unflatten=Ve;function Ue(e){return e&&e.constructor&&typeof e.constructor.isBuffer=="function"&&e.constructor.isBuffer(e)}function je(e){return e}function U(e,t){t=t||{};const n=t.delimiter||".",r=t.maxDepth,i=t.transformKey||je,a={};function o(s,h,l){l=l||1,Object.keys(s).forEach(function(u){const f=s[u],c=t.safe&&Array.isArray(f),p=Object.prototype.toString.call(f),b=Ue(f),E=p==="[object Object]"||p==="[object Array]",y=h?h+n+i(u):i(u);if(!c&&!b&&E&&Object.keys(f).length&&(!t.maxDepth||l<r))return o(f,y,l+1);a[y]=f})}return o(e),a}function Ve(e,t){t=t||{};const n=t.delimiter||".",r=t.overwrite||!1,i=t.transformKey||je,a={};if(Ue(e)||Object.prototype.toString.call(e)!=="[object Object]")return e;function s(u){const f=Number(u);return isNaN(f)||u.indexOf(".")!==-1||t.object?u:f}function h(u,f,c){return Object.keys(c).reduce(function(p,b){return p[u+n+b]=c[b],p},f)}function l(u){const f=Object.prototype.toString.call(u),c=f==="[object Array]",p=f==="[object Object]";if(u){if(c)return!u.length;if(p)return!Object.keys(u).length}else return!0}return e=Object.keys(e).reduce(function(u,f){const c=Object.prototype.toString.call(e[f]);return!(c==="[object Object]"||c==="[object Array]")||l(e[f])?(u[f]=e[f],u):h(f,u,U(e[f],t))},{}),Object.keys(e).forEach(function(u){const f=u.split(n).map(i);let c=s(f.shift()),p=s(f[0]),b=a;for(;p!==void 0;){if(c==="__proto__")return;const E=Object.prototype.toString.call(b[c]),y=E==="[object Object]"||E==="[object Array]";if(!r&&!y&&typeof b[c]<"u")return;(r&&!y||!r&&b[c]==null)&&(b[c]=typeof p=="number"&&!t.object?[]:{}),b=b[c],f.length>0&&(c=s(f.shift()),p=s(f[0]))}b[c]=Ve(e[u],t)}),a}const cr=Re();let ke;const mr=(e,t,n=!1)=>{const r=lr({...typeof n=="boolean"?null:n,locale:e,messages:fr.flatten(t,{safe:!0})},cr),{$t:i,...a}=r,o=a,u={t:(f,c,p)=>o.formatMessage({id:f},c,p),te:f=>!!o.messages[f],tm:f=>o.messages[f]||[],...o,source:t};return typeof n=="boolean"&&n===!0||typeof n!="boolean"&&n.isGlobal===!0?(console.log("!!!!!!!!!!! global"),ke=u):console.log("!!!!!!!!!!! local"),u};function pr(){return ke}const Xe=(e=null)=>D.defineComponent({name:"I18nT",props:{i18n:{type:Object,default:null},keypath:{type:String,required:!0},tag:{type:String,default:"span"}},setup(t,{slots:n}){const r=i=>{if(!i)return[];const a=/(\{[^}]+\})/g;return i.split(a).filter(Boolean)};return()=>{const i=Object.keys(n).filter(s=>s!=="_"),a=(e||t.i18n).messages[t.keypath].toString();let o=r(a);return o=o.filter(s=>s!==""),o.forEach((s,h)=>{if(!s.startsWith("{")&&!s.endsWith("}"))return;const l=s.replace(/[\{\}]/g,"");l==="0"&&n.default?o[h]=n.default():i.includes(l)&&n[l]&&(o[h]=n[l]())}),D.h(t.tag,t,o)}}}),gr={install(e,t){const{i18n:n}=t;e.component("I18nT",Xe(n))}};N.Translation=gr,N.createI18n=mr,N.i18nTComponent=Xe,N.useI18n=pr,Object.defineProperty(N,Symbol.toStringTag,{value:"Module"})});
@@ -1,4 +1,11 @@
1
- import type { IntlShapeEx, SupportedLocales } from './types';
2
- export declare const createI18n: <MessageSource extends Record<string, any>>(locale: SupportedLocales, messages: MessageSource, isGlobal?: boolean) => IntlShapeEx<MessageSource>;
1
+ import type { IntlShapeEx, SupportedLocales, IntlConfigCore } from './types';
2
+ /**
3
+ * Creates and returns global or local instance of Intl
4
+ * @param {SupportedLocales} locale one of the locales supported
5
+ * @param {MessageSource} messages object with locale strings
6
+ * @param {boolean|IntlConfigCore} config to pass additional Intl config parameters or boolean for isGlobal (later is for backwards compatibility)
7
+ *
8
+ */
9
+ export declare const createI18n: <MessageSource extends Record<string, any>>(locale: SupportedLocales, messages: MessageSource, config?: boolean | IntlConfigCore) => IntlShapeEx<MessageSource>;
3
10
  export default function useI18n<MessageSource extends Record<string, any>>(): IntlShapeEx<MessageSource>;
4
11
  //# sourceMappingURL=i18n.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"i18n.d.ts","sourceRoot":"","sources":["../../src/i18n.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,WAAW,EAAqB,gBAAgB,EAA+B,MAAM,SAAS,CAAA;AAS5G,eAAO,MAAM,UAAU,sDAAuD,gBAAgB,sCAAqC,OAAO,+BA0CzI,CAAA;AAGD,MAAM,CAAC,OAAO,UAAU,OAAO,CAAC,aAAa,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,KAAK,WAAW,CAAC,aAAa,CAAC,CAEvG"}
1
+ {"version":3,"file":"i18n.d.ts","sourceRoot":"","sources":["../../src/i18n.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,WAAW,EAAqB,gBAAgB,EAA+B,cAAc,EAAE,MAAM,SAAS,CAAA;AAS5H;;;;;;EAME;AACF,eAAO,MAAM,UAAU,sDACd,gBAAgB,oCAAmC,OAAO,GAAC,cAAc,+BA+CjF,CAAA;AAGD,MAAM,CAAC,OAAO,UAAU,OAAO,CAAC,aAAa,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,KAAK,WAAW,CAAC,aAAa,CAAC,CAEvG"}
@@ -1,4 +1,5 @@
1
1
  import type { IntlShape } from '@formatjs/intl';
2
+ import { IntlConfig } from '@formatjs/intl';
2
3
  import type { Options as IntlMessageFormatOptions } from 'intl-messageformat';
3
4
  export type MessageFormatPrimitiveValue = string | number | boolean | null | undefined;
4
5
  export type SupportedLocales = 'en-us';
@@ -12,5 +13,8 @@ export type IntlShapeEx<MessageSource extends Record<string, any>> = Omit<IntlSh
12
13
  tm: (translationKey: PathToDotNotation<MessageSource, string>) => Array<string>;
13
14
  source: MessageSource;
14
15
  };
16
+ export interface IntlConfigCore extends Omit<IntlConfig, 'messages' | 'locale'> {
17
+ isGlobal: boolean;
18
+ }
15
19
  export {};
16
20
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/types/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAA;AAC/C,OAAO,KAAK,EAAE,OAAO,IAAI,wBAAwB,EAAE,MAAM,oBAAoB,CAAA;AAE7E,MAAM,MAAM,2BAA2B,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,IAAI,GAAG,SAAS,CAAA;AAEtF,MAAM,MAAM,gBAAgB,GAAG,OAA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