@adminforth/i18n 2.0.5 → 2.0.7

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/build.log CHANGED
@@ -15,9 +15,10 @@ custom/datepickerLocales.ts
15
15
  custom/dayjsLocales.ts
16
16
  custom/eventBus.ts
17
17
  custom/langCommon.ts
18
+ custom/package-lock.json
18
19
  custom/package.json
19
20
  custom/pnpm-lock.yaml
20
21
  custom/tsconfig.json
21
22
 
22
- sent 43,264 bytes received 286 bytes 87,100.00 bytes/sec
23
- total size is 42,173 speedup is 0.97
23
+ sent 44,717 bytes received 305 bytes 90,044.00 bytes/sec
24
+ total size is 43,554 speedup is 0.97
@@ -37,7 +37,7 @@
37
37
  <Button @click="selectAll" :disabled="allChecked">{{ t('Select All') }}</Button>
38
38
  <Button @click="uncheckAll" :disabled="noneChecked">{{ t('Uncheck All') }}</Button>
39
39
  <div class="col-span-2 grid grid-cols-3 gap-1 mt-4">
40
- <div class="group hover:bg-gray-100 dark:hover:bg-gray-600 px-2 py-2 flex items-center cursor-pointer" v-for="(index, lang) in checkedLanguages" :key="index" @click="toggleLanguage(lang)">
40
+ <div class="group hover:bg-gray-100 dark:hover:bg-gray-600 px-2 py-2 flex items-center cursor-pointer" v-for="(index, lang) in checkedLanguages" :key="lang" @click="toggleLanguage(lang)">
41
41
  <Checkbox v-model="checkedLanguages[lang]" />
42
42
  <span class="flag-icon mr-2"
43
43
  :class="`flag-icon-${getCountryCodeFromLangCode(lang)}`"
@@ -0,0 +1,43 @@
1
+ {
2
+ "name": "custom",
3
+ "version": "1.0.0",
4
+ "lockfileVersion": 3,
5
+ "requires": true,
6
+ "packages": {
7
+ "": {
8
+ "name": "custom",
9
+ "version": "1.0.0",
10
+ "license": "ISC",
11
+ "dependencies": {
12
+ "country-list": "^2.4.1",
13
+ "iso-639-1": "^3.1.5"
14
+ },
15
+ "devDependencies": {
16
+ "flag-icon-css": "^4.1.7"
17
+ }
18
+ },
19
+ "node_modules/country-list": {
20
+ "version": "2.4.1",
21
+ "resolved": "https://registry.npmjs.org/country-list/-/country-list-2.4.1.tgz",
22
+ "integrity": "sha512-KhVV/UfUV3dSNpsWIqHTQxLpYDKPKz1UwkRjadt+YbX2PRhyCEihEoS5XgB7J7AMXpkicvl+tRHvkNI5wbji/g==",
23
+ "license": "MIT"
24
+ },
25
+ "node_modules/flag-icon-css": {
26
+ "version": "4.1.7",
27
+ "resolved": "https://registry.npmjs.org/flag-icon-css/-/flag-icon-css-4.1.7.tgz",
28
+ "integrity": "sha512-AFjSU+fv98XbU0vnTQ32vcLj89UEr1MhwDFcooQv14qWJCjg9fGZzfh9BVyDhAhIOZW/pGmJmq38RqpgPaeybQ==",
29
+ "deprecated": "The project has been renamed to flag-icons",
30
+ "dev": true,
31
+ "license": "MIT"
32
+ },
33
+ "node_modules/iso-639-1": {
34
+ "version": "3.1.5",
35
+ "resolved": "https://registry.npmjs.org/iso-639-1/-/iso-639-1-3.1.5.tgz",
36
+ "integrity": "sha512-gXkz5+KN7HrG0Q5UGqSMO2qB9AsbEeyLP54kF1YrMsIxmu+g4BdB7rflReZTSTZGpfj8wywu6pfPBCylPIzGQA==",
37
+ "license": "MIT",
38
+ "engines": {
39
+ "node": ">=6.0"
40
+ }
41
+ }
42
+ }
43
+ }
@@ -37,7 +37,7 @@
37
37
  <Button @click="selectAll" :disabled="allChecked">{{ t('Select All') }}</Button>
38
38
  <Button @click="uncheckAll" :disabled="noneChecked">{{ t('Uncheck All') }}</Button>
39
39
  <div class="col-span-2 grid grid-cols-3 gap-1 mt-4">
40
- <div class="group hover:bg-gray-100 dark:hover:bg-gray-600 px-2 py-2 flex items-center cursor-pointer" v-for="(index, lang) in checkedLanguages" :key="index" @click="toggleLanguage(lang)">
40
+ <div class="group hover:bg-gray-100 dark:hover:bg-gray-600 px-2 py-2 flex items-center cursor-pointer" v-for="(index, lang) in checkedLanguages" :key="lang" @click="toggleLanguage(lang)">
41
41
  <Checkbox v-model="checkedLanguages[lang]" />
42
42
  <span class="flag-icon mr-2"
43
43
  :class="`flag-icon-${getCountryCodeFromLangCode(lang)}`"
@@ -0,0 +1,43 @@
1
+ {
2
+ "name": "custom",
3
+ "version": "1.0.0",
4
+ "lockfileVersion": 3,
5
+ "requires": true,
6
+ "packages": {
7
+ "": {
8
+ "name": "custom",
9
+ "version": "1.0.0",
10
+ "license": "ISC",
11
+ "dependencies": {
12
+ "country-list": "^2.4.1",
13
+ "iso-639-1": "^3.1.5"
14
+ },
15
+ "devDependencies": {
16
+ "flag-icon-css": "^4.1.7"
17
+ }
18
+ },
19
+ "node_modules/country-list": {
20
+ "version": "2.4.1",
21
+ "resolved": "https://registry.npmjs.org/country-list/-/country-list-2.4.1.tgz",
22
+ "integrity": "sha512-KhVV/UfUV3dSNpsWIqHTQxLpYDKPKz1UwkRjadt+YbX2PRhyCEihEoS5XgB7J7AMXpkicvl+tRHvkNI5wbji/g==",
23
+ "license": "MIT"
24
+ },
25
+ "node_modules/flag-icon-css": {
26
+ "version": "4.1.7",
27
+ "resolved": "https://registry.npmjs.org/flag-icon-css/-/flag-icon-css-4.1.7.tgz",
28
+ "integrity": "sha512-AFjSU+fv98XbU0vnTQ32vcLj89UEr1MhwDFcooQv14qWJCjg9fGZzfh9BVyDhAhIOZW/pGmJmq38RqpgPaeybQ==",
29
+ "deprecated": "The project has been renamed to flag-icons",
30
+ "dev": true,
31
+ "license": "MIT"
32
+ },
33
+ "node_modules/iso-639-1": {
34
+ "version": "3.1.5",
35
+ "resolved": "https://registry.npmjs.org/iso-639-1/-/iso-639-1-3.1.5.tgz",
36
+ "integrity": "sha512-gXkz5+KN7HrG0Q5UGqSMO2qB9AsbEeyLP54kF1YrMsIxmu+g4BdB7rflReZTSTZGpfj8wywu6pfPBCylPIzGQA==",
37
+ "license": "MIT",
38
+ "engines": {
39
+ "node": ">=6.0"
40
+ }
41
+ }
42
+ }
43
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adminforth/i18n",
3
- "version": "2.0.5",
3
+ "version": "2.0.7",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "type": "module",