@adminforth/user-soft-delete 1.2.11 → 1.2.13

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
@@ -8,5 +8,5 @@ custom/DisableButton.vue
8
8
  custom/UserSoftDeleteFilterSetter.vue
9
9
  custom/tsconfig.json
10
10
 
11
- sent 2,874 bytes received 77 bytes 5,902.00 bytes/sec
12
- total size is 2,576 speedup is 0.87
11
+ sent 2,906 bytes received 77 bytes 5,966.00 bytes/sec
12
+ total size is 2,608 speedup is 0.87
@@ -1,6 +1,6 @@
1
1
  <template>
2
2
  <Tooltip>
3
- <button @click="onClick">
3
+ <button @click="onClick" class="user-soft-delete-button">
4
4
  <IconUserRemoveSolid class="w-5 h-5 me-2"/>
5
5
  </button>
6
6
  <template #tooltip>
@@ -1,6 +1,6 @@
1
1
  <template>
2
2
  <Tooltip>
3
- <button @click="onClick">
3
+ <button @click="onClick" class="user-soft-delete-button">
4
4
  <IconUserRemoveSolid class="w-5 h-5 me-2"/>
5
5
  </button>
6
6
  <template #tooltip>
package/dist/index.js CHANGED
@@ -60,6 +60,7 @@ export default class UserSoftDelete extends AdminForthPlugin {
60
60
  }
61
61
  return { allowed: true };
62
62
  }));
63
+ this.adminforth.config.auth.beforeLoginConfirmation = beforeLoginConfirmationArray;
63
64
  if (!resourceConfig.options.pageInjections) {
64
65
  resourceConfig.options.pageInjections = {};
65
66
  }
package/index.ts CHANGED
@@ -58,6 +58,8 @@ export default class UserSoftDelete extends AdminForthPlugin {
58
58
  return { allowed: true };
59
59
  }
60
60
  );
61
+
62
+ this.adminforth.config.auth.beforeLoginConfirmation = beforeLoginConfirmationArray;
61
63
 
62
64
  if ( !resourceConfig.options.pageInjections ) {
63
65
  resourceConfig.options.pageInjections = {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adminforth/user-soft-delete",
3
- "version": "1.2.11",
3
+ "version": "1.2.13",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "type": "module",