@adminforth/i18n 2.0.15 → 2.0.16

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
@@ -20,5 +20,5 @@ custom/package.json
20
20
  custom/pnpm-lock.yaml
21
21
  custom/tsconfig.json
22
22
 
23
- sent 44,935 bytes received 305 bytes 90,480.00 bytes/sec
24
- total size is 43,788 speedup is 0.97
23
+ sent 45,122 bytes received 305 bytes 90,854.00 bytes/sec
24
+ total size is 43,959 speedup is 0.97
@@ -1,5 +1,6 @@
1
1
  <template>
2
2
  <Dialog
3
+ ref="dialogRef"
3
4
  class="w-[600px]"
4
5
  :buttons="[
5
6
  {
@@ -86,6 +87,16 @@
86
87
  clearCheckboxes: () => void;
87
88
  }>();
88
89
 
90
+
91
+ const dialogRef = ref();
92
+ async function openDialog(dialog: any) {
93
+ dialogRef.value.open();
94
+ }
95
+
96
+ defineExpose({
97
+ click: openDialog,
98
+ });
99
+
89
100
  const checkedLanguages = ref<Record<string, boolean>>({});
90
101
  const isLoading = ref(false);
91
102
  const allChecked = computed(() => Object.values(checkedLanguages.value).every(Boolean));
@@ -1,5 +1,6 @@
1
1
  <template>
2
2
  <Dialog
3
+ ref="dialogRef"
3
4
  class="w-[600px]"
4
5
  :buttons="[
5
6
  {
@@ -86,6 +87,16 @@
86
87
  clearCheckboxes: () => void;
87
88
  }>();
88
89
 
90
+
91
+ const dialogRef = ref();
92
+ async function openDialog(dialog: any) {
93
+ dialogRef.value.open();
94
+ }
95
+
96
+ defineExpose({
97
+ click: openDialog,
98
+ });
99
+
89
100
  const checkedLanguages = ref<Record<string, boolean>>({});
90
101
  const isLoading = ref(false);
91
102
  const allChecked = computed(() => Object.values(checkedLanguages.value).every(Boolean));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adminforth/i18n",
3
- "version": "2.0.15",
3
+ "version": "2.0.16",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "type": "module",