@ckbox/i18n 2.11.0 → 2.12.0-rc.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
@@ -13,7 +13,7 @@ Using a build served from the CDN is the simplest and fastest way of embedding C
13
13
  To start using CKBox on your website, embed the following `script` element in the HTML code of the page:
14
14
 
15
15
  ```html
16
- <script src="https://cdn.ckbox.io/ckbox/2.11.0/ckbox.js"></script>
16
+ <script src="https://cdn.ckbox.io/ckbox/2.12.0-rc.0/ckbox.js"></script>
17
17
  ```
18
18
 
19
19
  Quick implementation example:
@@ -23,7 +23,7 @@ Quick implementation example:
23
23
  <html>
24
24
  <head>
25
25
  <meta charset="UTF-8" />
26
- <script src="https://cdn.ckbox.io/ckbox/2.11.0/ckbox.js"></script>
26
+ <script src="https://cdn.ckbox.io/ckbox/2.12.0-rc.0/ckbox.js"></script>
27
27
  </head>
28
28
  <body>
29
29
  <div id="ckbox"></div>
@@ -48,12 +48,12 @@ The code snippet below presents the simplest scenario for integration of CKEdito
48
48
  <html>
49
49
  <head>
50
50
  <meta charset="UTF-8" />
51
- <script src="https://cdn.ckbox.io/ckbox/2.11.0/ckbox.js"></script>
51
+ <script src="https://cdn.ckbox.io/ckbox/2.12.0-rc.0/ckbox.js"></script>
52
52
  <link
53
53
  rel="stylesheet"
54
- href="https://cdn.ckbox.io/ckbox/2.11.0/styles/themes/lark.css"
54
+ href="https://cdn.ckbox.io/ckbox/2.12.0-rc.0/styles/themes/lark.css"
55
55
  />
56
- <link rel="stylesheet" href="https://cdn.ckeditor.com/ckeditor5/42.0.0/ckeditor5.css" />
56
+ <link rel="stylesheet" href="https://cdn.ckeditor.com/ckeditor5/47.6.1/ckeditor5.css" />
57
57
  </head>
58
58
  <body>
59
59
  <div id="editor"></div>
@@ -61,8 +61,8 @@ The code snippet below presents the simplest scenario for integration of CKEdito
61
61
  <script type="importmap">
62
62
  {
63
63
  "imports": {
64
- "ckeditor5": "https://cdn.ckeditor.com/ckeditor5/42.0.0/ckeditor5.js",
65
- "ckeditor5/": "https://cdn.ckeditor.com/ckeditor5/42.0.0/"
64
+ "ckeditor5": "https://cdn.ckeditor.com/ckeditor5/47.6.1/ckeditor5.js",
65
+ "ckeditor5/": "https://cdn.ckeditor.com/ckeditor5/47.6.1/"
66
66
  }
67
67
  }
68
68
  </script>
@@ -70,57 +70,46 @@ The code snippet below presents the simplest scenario for integration of CKEdito
70
70
  <script type="module">
71
71
  import {
72
72
  ClassicEditor,
73
- CKBox,
74
- Bold,
75
- CloudServices,
76
73
  Essentials,
77
- Font,
74
+ CloudServices,
75
+ CKBox,
76
+ CKBoxImageEdit,
77
+ PictureEditing,
78
78
  Image,
79
+ ImageUpload,
79
80
  ImageUploadEditing,
80
81
  ImageUploadProgress,
81
- Italic,
82
82
  LinkEditing,
83
+ Heading,
84
+ Font,
85
+ Bold,
86
+ Italic,
87
+ BlockQuote,
83
88
  Paragraph,
84
- PictureEditing,
85
- } from "ckeditor5";
86
-
87
- ClassicEditor.create(document.querySelector("#editor"), {
88
- plugins: [
89
- ClassicEditor,
90
- CKBox,
91
- Bold,
92
- CloudServices,
93
- Essentials,
94
- Font,
95
- Image,
96
- ImageUploadEditing,
97
- ImageUploadProgress,
98
- Italic,
99
- LinkEditing,
100
- Paragraph,
101
- PictureEditing,
102
- ],
103
- ckbox: {
104
- tokenUrl: "https://your.token.url",
105
- theme: "lark",
106
- },
107
- toolbar: [
108
- "ckbox",
109
- "|",
110
- "undo",
111
- "redo",
112
- "|",
113
- "bold",
114
- "italic",
115
- "|",
116
- "fontSize",
117
- "fontFamily",
118
- "fontColor",
119
- "fontBackgroundColor",
120
- ],
121
- }).catch((error) => {
122
- console.error(error);
123
- });
89
+ Indent,
90
+ Link,
91
+ List
92
+ } from 'ckeditor5';
93
+
94
+ ClassicEditor
95
+ .create( document.querySelector( '#editor' ), {
96
+ plugins: [
97
+ CKBox, CloudServices, Essentials, Bold, Italic, Font, Paragraph, LinkEditing,
98
+ PictureEditing, Image, ImageUploadEditing, ImageUploadProgress, BlockQuote,
99
+ Indent, Heading, Link, List, CKBoxImageEdit, ImageUpload
100
+ ],
101
+ ckbox: {
102
+ tokenUrl: 'https://your.token.url',
103
+ theme: 'lark',
104
+ },
105
+ toolbar: [
106
+ 'ckbox', 'imageUpload', '|', 'heading', '|', 'undo', 'redo', '|', 'bold', 'italic', '|',
107
+ 'blockQuote', 'indent', 'link', '|', 'bulletedList', 'numberedList'
108
+ ],
109
+ } )
110
+ .catch( error => {
111
+ console.error( error );
112
+ } );
124
113
  </script>
125
114
  </body>
126
115
  </html>
package/dist/index.d.ts CHANGED
@@ -1,5 +1,6 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2021-2026, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md.
3
4
  */
4
5
  import * as React from 'react';
5
6
 
package/dist/index.js CHANGED
@@ -1,4 +1,5 @@
1
1
  /**
2
- * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
2
+ * @license Copyright (c) 2021-2026, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md.
3
4
  */
4
- const _0x4e7cac=_0x139f;function _0x139f(_0x3c4cd0,_0xc53f11){_0x3c4cd0=_0x3c4cd0-0x1c8;const _0x2db8b1=_0x2db8();let _0x139f66=_0x2db8b1[_0x3c4cd0];return _0x139f66;}(function(_0x4aea94,_0x132a26){const _0x4a49de=_0x139f,_0x1d4689=_0x4aea94();while(!![]){try{const _0x8b4476=parseInt(_0x4a49de(0x1ea))/0x1+parseInt(_0x4a49de(0x1cb))/0x2+-parseInt(_0x4a49de(0x1cf))/0x3+parseInt(_0x4a49de(0x1d2))/0x4+parseInt(_0x4a49de(0x1d7))/0x5*(parseInt(_0x4a49de(0x1e7))/0x6)+-parseInt(_0x4a49de(0x1dc))/0x7+-parseInt(_0x4a49de(0x1ec))/0x8;if(_0x8b4476===_0x132a26)break;else _0x1d4689['push'](_0x1d4689['shift']());}catch(_0x437ddd){_0x1d4689['push'](_0x1d4689['shift']());}}}(_0x2db8,0xa0b76));import*as _0x58eb36 from'react';function _0x2db8(){const _0x47170f=['isSupported','getKey','1242839MYaACi','map','13304336ahwghx','pluralUtils','strong','useContext','charAt','1053164jNMbUg','\x27\x20is\x20missing.','indexOf','plural','725721AbLTxR','Provider','exec','2671068EWDoIB','PluralRules','createElement','length','push','470sCTmiN','lang','select','warn','slice','6764233mcFuQE','keys','values','filter','Plural\x20rules\x20could\x20not\x20be\x20created.\x20Perhaps\x20`Intl.PluralRules`\x20is\x20not\x20supported?','_rules','text','useEffect','code','createContext','Plural\x20form\x20for\x20language\x20\x22','69726hEppwJ'];_0x2db8=function(){return _0x47170f;};return _0x2db8();}import{sprintf}from'sprintf-js';class Plural{constructor(_0x373808){const _0x5818ac=_0x139f;this[_0x5818ac(0x1d8)]=_0x373808;try{this[_0x5818ac(0x1e1)]=new Intl[(_0x5818ac(0x1d3))](_0x373808);}catch(_0x3e5b7d){console[_0x5818ac(0x1da)](_0x5818ac(0x1e0));}}[_0x4e7cac(0x1e9)](_0x248747,_0xd5123c){const _0x20e4a6=_0x4e7cac;if(!this['_rules'])return _0x248747+'_one';const _0x1f1eef=this[_0x20e4a6(0x1e1)][_0x20e4a6(0x1d9)](_0xd5123c);return _0x248747+'_'+_0x1f1eef;}}Plural['isSupported']=_0x388392=>{const _0x5bdfc1=_0x4e7cac;try{return Intl[_0x5bdfc1(0x1d3)]['supportedLocalesOf']([_0x388392])[_0x5bdfc1(0x1d5)]>0x0;}catch(_0x4a1a78){return![];}};const I18nContext=_0x58eb36[_0x4e7cac(0x1e5)]({'debug':![],'lang':'en','resources':{},'pluralUtils':new Plural('en')}),I18nProvider=({children:_0xa6e784,debug:debug=![],lang:lang='en',resources:resources={}})=>{const _0x3a2a37=_0x4e7cac;return _0x58eb36[_0x3a2a37(0x1e3)](()=>{const _0x265b7a=_0x3a2a37,_0x28f045=Plural[_0x265b7a(0x1e8)](lang);!_0x28f045&&console[_0x265b7a(0x1da)](_0x265b7a(0x1e6)+lang+'\x22\x20is\x20not\x20supported.');},[lang]),_0x58eb36[_0x3a2a37(0x1d4)](I18nContext[_0x3a2a37(0x1d0)],{'value':{'debug':debug,'lang':lang,'pluralUtils':new Plural(lang),'resources':resources}},_0xa6e784);},TAG_REGEX=/<[a-zA-Z0-9\-!/](?:"[^"]*"|'[^']*'|[^'">])*>/g,ALLOWED_TAGS=['em',_0x4e7cac(0x1c8),_0x4e7cac(0x1e4)],getMsg=(_0xf00c2e,_0x30198d={},_0x4e7f3a)=>{const _0x32d21d=_0x4e7cac,_0x37b23a=_0x4e7f3a[_0x32d21d(0x1ce)];if(_0x30198d[_0xf00c2e]&&_0x37b23a===undefined)return{'found':!![],'msg':_0x30198d[_0xf00c2e]};const _0x410afb=Object[_0x32d21d(0x1dd)](_0x30198d)[_0x32d21d(0x1df)](_0x20e5b0=>_0x20e5b0[_0x32d21d(0x1cd)](_0xf00c2e)===0x0);if(_0x410afb[_0x32d21d(0x1d5)]===0x0||_0x37b23a===undefined)return{'found':![],'msg':_0xf00c2e};const _0x27b59a=_0x4e7f3a[_0x32d21d(0x1ed)][_0x32d21d(0x1e9)](_0xf00c2e,_0x37b23a);return{'found':!![],'msg':_0x30198d[_0x27b59a]};},parseMsgTags=_0x20fb22=>{const _0x2ddf6d=_0x4e7cac,_0xfbca3=[];let _0x40fa55=0x0,_0x2e8fd5;while((_0x2e8fd5=TAG_REGEX[_0x2ddf6d(0x1d1)](_0x20fb22))!==null){const _0x438e75=_0x2e8fd5[0x0],{index:_0x5e1cb6}=_0x2e8fd5,_0x501448=_0x438e75[_0x2ddf6d(0x1ca)](0x1)==='/',_0x3dd872=_0x501448?_0x438e75[_0x2ddf6d(0x1db)](0x2,-0x1):_0x438e75[_0x2ddf6d(0x1db)](0x1,-0x1),_0x2fd023=ALLOWED_TAGS['includes'](_0x3dd872);if(!_0x2fd023)continue;const _0x3fb10c=_0x20fb22[_0x2ddf6d(0x1db)](_0x40fa55,_0x5e1cb6);if(!_0x3fb10c){_0x40fa55=_0x5e1cb6+_0x438e75[_0x2ddf6d(0x1d5)];continue;}_0x501448?_0xfbca3[_0x2ddf6d(0x1d6)]({'type':'tag','name':_0x438e75[_0x2ddf6d(0x1db)](0x2,-0x1),'content':_0x3fb10c}):_0xfbca3[_0x2ddf6d(0x1d6)]({'type':_0x2ddf6d(0x1e2),'content':_0x3fb10c}),_0x40fa55=_0x5e1cb6+_0x438e75[_0x2ddf6d(0x1d5)];}return _0x40fa55<_0x20fb22[_0x2ddf6d(0x1d5)]&&_0xfbca3['push']({'type':_0x2ddf6d(0x1e2),'content':_0x20fb22[_0x2ddf6d(0x1db)](_0x40fa55)}),_0xfbca3;};function formatMsgWithTags(_0x442e4a){const _0x2bc5df=_0x4e7cac,_0x9547fc=parseMsgTags(_0x442e4a),_0x23e99b=_0x9547fc[_0x2bc5df(0x1eb)](({content:_0x36acd4,type:_0xcac469,name:_0x3d6ec9},_0x5204f8)=>{const _0x398b5b=_0x2bc5df,_0x4aa4f2=_0xcac469!==_0x398b5b(0x1e2)&&_0x3d6ec9?_0x3d6ec9:_0x58eb36['Fragment'];return _0x58eb36[_0x398b5b(0x1d4)](_0x4aa4f2,{'key':''+_0x5204f8},_0x36acd4);});return _0x23e99b;}function formatMsg(_0x5eb00d,_0x3d4296,_0x15f8c4){const _0x6243aa=sprintf(_0x5eb00d,..._0x3d4296!==null&&_0x3d4296!==void 0x0?_0x3d4296:[]);if(!_0x15f8c4)return _0x6243aa;return formatMsgWithTags(_0x6243aa);}const useTranslation=()=>{const _0xa99a33=_0x4e7cac,{lang:_0x645cad,debug:_0x158a50,pluralUtils:_0x2f3aa5,resources:_0x13ba8f}=_0x58eb36[_0xa99a33(0x1c9)](I18nContext);function _0x2c3185(_0x58799f,_0x541030){const _0x13bcad=_0xa99a33,{found:_0x126a17,msg:_0x2d139c}=getMsg(_0x58799f,_0x13ba8f[_0x645cad],{'plural':_0x541030===null||_0x541030===void 0x0?void 0x0:_0x541030['plural'],'pluralUtils':_0x2f3aa5});_0x158a50&&!_0x126a17&&console['log']('['+_0x645cad+']:\x20Translation\x20for\x20key\x20\x27'+_0x58799f+_0x13bcad(0x1cc));if(_0x541030===null||_0x541030===void 0x0?void 0x0:_0x541030['processTags'])return formatMsg(_0x2d139c,_0x541030===null||_0x541030===void 0x0?void 0x0:_0x541030[_0x13bcad(0x1de)],!![]);return formatMsg(_0x2d139c,_0x541030===null||_0x541030===void 0x0?void 0x0:_0x541030[_0x13bcad(0x1de)],![]);}return{'t':_0x2c3185,'lang':_0x645cad};};export{I18nContext,I18nProvider,useTranslation};
5
+ const _0x177e8b=_0x51a2;(function(_0x42e217,_0x4c7f39){const _0x1301f5=_0x51a2,_0x1c7134=_0x42e217();while(!![]){try{const _0xdc2bb2=parseInt(_0x1301f5(0x1ce))/0x1+-parseInt(_0x1301f5(0x1bc))/0x2+-parseInt(_0x1301f5(0x1be))/0x3*(parseInt(_0x1301f5(0x1bd))/0x4)+-parseInt(_0x1301f5(0x1de))/0x5+-parseInt(_0x1301f5(0x1d9))/0x6*(parseInt(_0x1301f5(0x1e0))/0x7)+-parseInt(_0x1301f5(0x1cd))/0x8*(parseInt(_0x1301f5(0x1c1))/0x9)+parseInt(_0x1301f5(0x1bf))/0xa*(parseInt(_0x1301f5(0x1d1))/0xb);if(_0xdc2bb2===_0x4c7f39)break;else _0x1c7134['push'](_0x1c7134['shift']());}catch(_0x305781){_0x1c7134['push'](_0x1c7134['shift']());}}}(_0x1cc2,0xf19b4));import*as _0x2229a6 from'react';function _0x1cc2(){const _0x504f55=['7380340pXXnlU','PluralRules','1316gCyOPh','createElement','Plural\x20form\x20for\x20language\x20\x22','processTags','getKey','createContext','2206704VClJND','10232dgLjOc','612GYBfTO','7880VQOaUu','_rules','2371617ztvOVl','indexOf','charAt','length','supportedLocalesOf','isSupported','_one','push','Plural\x20rules\x20could\x20not\x20be\x20created.\x20Perhaps\x20`Intl.PluralRules`\x20is\x20not\x20supported?','text','values','\x27\x20is\x20missing.','48FGEybl','1229478arwENc',']:\x20Translation\x20for\x20key\x20\x27','useContext','80432XcWilV','tag','Provider','keys','select','filter','log','plural','42108lDAaKT','slice','lang','useEffect','warn'];_0x1cc2=function(){return _0x504f55;};return _0x1cc2();}import{sprintf}from'sprintf-js';class Plural{constructor(_0x58eb81){const _0x3dfc27=_0x51a2;this[_0x3dfc27(0x1db)]=_0x58eb81;try{this['_rules']=new Intl[(_0x3dfc27(0x1df))](_0x58eb81);}catch(_0x4c185e){console[_0x3dfc27(0x1dd)](_0x3dfc27(0x1c9));}}[_0x177e8b(0x1ba)](_0x324e43,_0x90f176){const _0x3e936f=_0x177e8b;if(!this[_0x3e936f(0x1c0)])return _0x324e43+_0x3e936f(0x1c7);const _0x1e893=this[_0x3e936f(0x1c0)][_0x3e936f(0x1d5)](_0x90f176);return _0x324e43+'_'+_0x1e893;}}Plural['isSupported']=_0x37fde2=>{const _0x8141e8=_0x177e8b;try{return Intl[_0x8141e8(0x1df)][_0x8141e8(0x1c5)]([_0x37fde2])[_0x8141e8(0x1c4)]>0x0;}catch(_0x1cdd46){return![];}};const I18nContext=_0x2229a6[_0x177e8b(0x1bb)]({'debug':![],'lang':'en','resources':{},'pluralUtils':new Plural('en')}),I18nProvider=({children:_0xae78ac,debug:debug=![],lang:lang='en',resources:resources={}})=>{const _0x547c18=_0x177e8b;return _0x2229a6[_0x547c18(0x1dc)](()=>{const _0x509e90=_0x547c18,_0x12fe15=Plural[_0x509e90(0x1c6)](lang);!_0x12fe15&&console[_0x509e90(0x1dd)](_0x509e90(0x1e2)+lang+'\x22\x20is\x20not\x20supported.');},[lang]),_0x2229a6[_0x547c18(0x1e1)](I18nContext[_0x547c18(0x1d3)],{'value':{'debug':debug,'lang':lang,'pluralUtils':new Plural(lang),'resources':resources}},_0xae78ac);},TAG_REGEX=/<[a-zA-Z0-9\-!/](?:"[^"]*"|'[^']*'|[^'">])*>/g,ALLOWED_TAGS=['em','strong','code'],getMsg=(_0x26f315,_0x2abaad={},_0x32353c)=>{const _0x20dd07=_0x177e8b,_0x4392eb=_0x32353c[_0x20dd07(0x1d8)];if(_0x2abaad[_0x26f315]&&_0x4392eb===undefined)return{'found':!![],'msg':_0x2abaad[_0x26f315]};const _0x331494=Object[_0x20dd07(0x1d4)](_0x2abaad)[_0x20dd07(0x1d6)](_0xbf250d=>_0xbf250d[_0x20dd07(0x1c2)](_0x26f315)===0x0);if(_0x331494[_0x20dd07(0x1c4)]===0x0||_0x4392eb===undefined)return{'found':![],'msg':_0x26f315};const _0x1e30b7=_0x32353c['pluralUtils']['getKey'](_0x26f315,_0x4392eb);return{'found':!![],'msg':_0x2abaad[_0x1e30b7]};},parseMsgTags=_0x56a7f3=>{const _0x331ce9=_0x177e8b,_0x5b1141=[];let _0x3b82ec=0x0,_0x2efcde;while((_0x2efcde=TAG_REGEX['exec'](_0x56a7f3))!==null){const _0x19bb78=_0x2efcde[0x0],{index:_0x1789e5}=_0x2efcde,_0x29ef81=_0x19bb78[_0x331ce9(0x1c3)](0x1)==='/',_0x5cbd64=_0x29ef81?_0x19bb78['slice'](0x2,-0x1):_0x19bb78[_0x331ce9(0x1da)](0x1,-0x1),_0xf36513=ALLOWED_TAGS['includes'](_0x5cbd64);if(!_0xf36513)continue;const _0x3febdf=_0x56a7f3[_0x331ce9(0x1da)](_0x3b82ec,_0x1789e5);if(!_0x3febdf){_0x3b82ec=_0x1789e5+_0x19bb78[_0x331ce9(0x1c4)];continue;}_0x29ef81?_0x5b1141['push']({'type':_0x331ce9(0x1d2),'name':_0x19bb78[_0x331ce9(0x1da)](0x2,-0x1),'content':_0x3febdf}):_0x5b1141[_0x331ce9(0x1c8)]({'type':_0x331ce9(0x1ca),'content':_0x3febdf}),_0x3b82ec=_0x1789e5+_0x19bb78[_0x331ce9(0x1c4)];}return _0x3b82ec<_0x56a7f3[_0x331ce9(0x1c4)]&&_0x5b1141[_0x331ce9(0x1c8)]({'type':_0x331ce9(0x1ca),'content':_0x56a7f3['slice'](_0x3b82ec)}),_0x5b1141;};function formatMsgWithTags(_0x4f6ded){const _0x2e29e8=parseMsgTags(_0x4f6ded),_0x3163e9=_0x2e29e8['map'](({content:_0x14d1e4,type:_0x53a884,name:_0x40eccd},_0x2a6537)=>{const _0x4e6a40=_0x51a2,_0x256289=_0x53a884!==_0x4e6a40(0x1ca)&&_0x40eccd?_0x40eccd:_0x2229a6['Fragment'];return _0x2229a6[_0x4e6a40(0x1e1)](_0x256289,{'key':''+_0x2a6537},_0x14d1e4);});return _0x3163e9;}function _0x51a2(_0x2b156e,_0x337c58){_0x2b156e=_0x2b156e-0x1b9;const _0x1cc2b6=_0x1cc2();let _0x51a243=_0x1cc2b6[_0x2b156e];return _0x51a243;}function formatMsg(_0x3faa28,_0x4be57e,_0x48c38b){const _0x3c1eb8=sprintf(_0x3faa28,..._0x4be57e!==null&&_0x4be57e!==void 0x0?_0x4be57e:[]);if(!_0x48c38b)return _0x3c1eb8;return formatMsgWithTags(_0x3c1eb8);}const useTranslation=()=>{const _0x55bd0f=_0x177e8b,{lang:_0x13c782,debug:_0x414c03,pluralUtils:_0x2416ab,resources:_0x2fe15a}=_0x2229a6[_0x55bd0f(0x1d0)](I18nContext);function _0x57d27a(_0x2659fe,_0x285e1b){const _0x736099=_0x55bd0f,{found:_0x309826,msg:_0x59892f}=getMsg(_0x2659fe,_0x2fe15a[_0x13c782],{'plural':_0x285e1b===null||_0x285e1b===void 0x0?void 0x0:_0x285e1b[_0x736099(0x1d8)],'pluralUtils':_0x2416ab});_0x414c03&&!_0x309826&&console[_0x736099(0x1d7)]('['+_0x13c782+_0x736099(0x1cf)+_0x2659fe+_0x736099(0x1cc));if(_0x285e1b===null||_0x285e1b===void 0x0?void 0x0:_0x285e1b[_0x736099(0x1b9)])return formatMsg(_0x59892f,_0x285e1b===null||_0x285e1b===void 0x0?void 0x0:_0x285e1b[_0x736099(0x1cb)],!![]);return formatMsg(_0x59892f,_0x285e1b===null||_0x285e1b===void 0x0?void 0x0:_0x285e1b['values'],![]);}return{'t':_0x57d27a,'lang':_0x13c782};};export{I18nContext,I18nProvider,useTranslation};
package/package.json CHANGED
@@ -22,7 +22,7 @@
22
22
  ],
23
23
  "license": "SEE LICENSE IN LICENSE.md",
24
24
  "name": "@ckbox/i18n",
25
- "version": "2.11.0",
25
+ "version": "2.12.0-rc.0",
26
26
  "description": "I18n utils of CKBox",
27
27
  "main": "dist/index.js",
28
28
  "types": "dist/index.d.ts",