adminforth 2.12.11 → 2.13.0-next.10

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.
Files changed (52) hide show
  1. package/dist/dataConnectors/baseConnector.js +1 -1
  2. package/dist/dataConnectors/baseConnector.js.map +1 -1
  3. package/dist/index.d.ts.map +1 -1
  4. package/dist/index.js +3 -1
  5. package/dist/index.js.map +1 -1
  6. package/dist/modules/configValidator.d.ts.map +1 -1
  7. package/dist/modules/configValidator.js +12 -5
  8. package/dist/modules/configValidator.js.map +1 -1
  9. package/dist/modules/restApi.d.ts.map +1 -1
  10. package/dist/modules/restApi.js +30 -3
  11. package/dist/modules/restApi.js.map +1 -1
  12. package/dist/spa/package-lock.json +1406 -749
  13. package/dist/spa/package.json +32 -32
  14. package/dist/spa/src/App.vue +87 -14
  15. package/dist/spa/src/adminforth.ts +2 -2
  16. package/dist/spa/src/afcl/AreaChart.vue +0 -1
  17. package/dist/spa/src/afcl/Dropzone.vue +138 -41
  18. package/dist/spa/src/afcl/Input.vue +5 -9
  19. package/dist/spa/src/afcl/Table.vue +114 -15
  20. package/dist/spa/src/afcl/Textarea.vue +23 -19
  21. package/dist/spa/src/afcl/VerticalTabs.vue +5 -0
  22. package/dist/spa/src/components/Filters.vue +2 -2
  23. package/dist/spa/src/components/GroupsTable.vue +1 -1
  24. package/dist/spa/src/components/MenuLink.vue +11 -6
  25. package/dist/spa/src/components/ResourceForm.vue +5 -0
  26. package/dist/spa/src/components/ResourceListTable.vue +12 -16
  27. package/dist/spa/src/components/ResourceListTableVirtual.vue +10 -13
  28. package/dist/spa/src/components/Sidebar.vue +10 -8
  29. package/dist/spa/src/components/Toast.vue +1 -1
  30. package/dist/spa/src/components/UserMenuSettingsButton.vue +2 -2
  31. package/dist/spa/src/components/ValueRenderer.vue +1 -1
  32. package/dist/spa/src/stores/core.ts +9 -0
  33. package/dist/spa/src/types/Back.ts +7 -1
  34. package/dist/spa/src/types/Common.ts +19 -1
  35. package/dist/spa/src/types/FrontendAPI.ts +1 -18
  36. package/dist/spa/src/types/adapters/StorageAdapter.ts +4 -2
  37. package/dist/spa/src/utils.ts +7 -3
  38. package/dist/spa/src/views/CreateView.vue +25 -1
  39. package/dist/spa/src/views/EditView.vue +26 -1
  40. package/dist/spa/src/views/SettingsView.vue +4 -4
  41. package/dist/types/Back.d.ts +6 -0
  42. package/dist/types/Back.d.ts.map +1 -1
  43. package/dist/types/Back.js.map +1 -1
  44. package/dist/types/Common.d.ts +18 -1
  45. package/dist/types/Common.d.ts.map +1 -1
  46. package/dist/types/Common.js.map +1 -1
  47. package/dist/types/FrontendAPI.d.ts +1 -15
  48. package/dist/types/FrontendAPI.d.ts.map +1 -1
  49. package/dist/types/FrontendAPI.js.map +1 -1
  50. package/dist/types/adapters/StorageAdapter.d.ts +2 -0
  51. package/dist/types/adapters/StorageAdapter.d.ts.map +1 -1
  52. package/package.json +1 -1
@@ -37,12 +37,14 @@ export interface StorageAdapter {
37
37
  * @param key - The key of the file to be uploaded e.g. "uploads/file.txt"
38
38
  */
39
39
  markKeyForDeletation(key: string): Promise<void>;
40
+ markKeyForDeletion(key: string): Promise<void>;
40
41
  /**
41
42
  * This method should mark the file to not be deleted.
42
43
  * This method should be used to cancel the deletion of the file if it was marked for deletion.
43
44
  * @param key - The key of the file to be uploaded e.g. "uploads/file.txt"
44
45
  */
45
46
  markKeyForNotDeletation(key: string): Promise<void>;
47
+ markKeyForNotDeletion(key: string): Promise<void>;
46
48
  /**
47
49
  * This method can start needed schedullers, cron jobs, etc. to clean up the storage.
48
50
  * @param adapterUserUniqueRepresentation - The unique representation of the plugin instance which
@@ -1 +1 @@
1
- {"version":3,"file":"StorageAdapter.d.ts","sourceRoot":"","sources":["../../../types/adapters/StorageAdapter.ts"],"names":[],"mappings":"AACA;;;;;GAKG;AACH,MAAM,WAAW,cAAc;IAC7B;;;;;;;;;;;OAWG;IACH,kBAAkB,CAAC,GAAG,EAAE,MAAM,EAAE,WAAW,EA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E;;;;;OAKG;IACH,oBAAoB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IACjD,kBAAkB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAG/C;;;;OAIG;IACH,uBAAuB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IACpD,qBAAqB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAGlD;;;;OAIG;IACH,cAAc,CAAC,+BAA+B,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAEvE;;OAEG;IACH,0BAA0B,IAAI,OAAO,CAAC,OAAO,CAAC,CAAC;IAE/C;;;;OAIG;IACH,eAAe,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC;CAC/C"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "adminforth",
3
- "version": "2.12.11",
3
+ "version": "2.13.0-next.10",
4
4
  "description": "OpenSource Vue3 powered forth-generation admin panel",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",