adminforth 1.2.59 → 1.2.60

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 (60) hide show
  1. package/package.json +2 -2
  2. package/dist/spa/spa/.eslintrc.cjs +0 -14
  3. package/dist/spa/spa/README.md +0 -39
  4. package/dist/spa/spa/env.d.ts +0 -1
  5. package/dist/spa/spa/index.html +0 -23
  6. package/dist/spa/spa/package-lock.json +0 -4573
  7. package/dist/spa/spa/package.json +0 -49
  8. package/dist/spa/spa/postcss.config.js +0 -6
  9. package/dist/spa/spa/public/assets/favicon.png +0 -0
  10. package/dist/spa/spa/src/App.vue +0 -314
  11. package/dist/spa/spa/src/assets/base.css +0 -2
  12. package/dist/spa/spa/src/assets/logo.svg +0 -19
  13. package/dist/spa/spa/src/components/AcceptModal.vue +0 -45
  14. package/dist/spa/spa/src/components/Breadcrumbs.vue +0 -41
  15. package/dist/spa/spa/src/components/BreadcrumbsWithButtons.vue +0 -26
  16. package/dist/spa/spa/src/components/CustomDatePicker.vue +0 -176
  17. package/dist/spa/spa/src/components/CustomDateRangePicker.vue +0 -218
  18. package/dist/spa/spa/src/components/CustomRangePicker.vue +0 -152
  19. package/dist/spa/spa/src/components/Dropdown.vue +0 -168
  20. package/dist/spa/spa/src/components/Filters.vue +0 -222
  21. package/dist/spa/spa/src/components/HelloWorld.vue +0 -17
  22. package/dist/spa/spa/src/components/MenuLink.vue +0 -24
  23. package/dist/spa/spa/src/components/ResourceForm.vue +0 -294
  24. package/dist/spa/spa/src/components/ResourceListTable.vue +0 -394
  25. package/dist/spa/spa/src/components/SingleSkeletLoader.vue +0 -13
  26. package/dist/spa/spa/src/components/SkeleteLoader.vue +0 -23
  27. package/dist/spa/spa/src/components/Toast.vue +0 -77
  28. package/dist/spa/spa/src/components/ValueRenderer.vue +0 -66
  29. package/dist/spa/spa/src/components/icons/IconCalendar.vue +0 -5
  30. package/dist/spa/spa/src/components/icons/IconCommunity.vue +0 -7
  31. package/dist/spa/spa/src/components/icons/IconDocumentation.vue +0 -7
  32. package/dist/spa/spa/src/components/icons/IconEcosystem.vue +0 -7
  33. package/dist/spa/spa/src/components/icons/IconSupport.vue +0 -7
  34. package/dist/spa/spa/src/components/icons/IconTime.vue +0 -5
  35. package/dist/spa/spa/src/components/icons/IconTooling.vue +0 -19
  36. package/dist/spa/spa/src/composables/useFrontendApi.ts +0 -26
  37. package/dist/spa/spa/src/composables/useStores.ts +0 -127
  38. package/dist/spa/spa/src/index.scss +0 -27
  39. package/dist/spa/spa/src/main.ts +0 -18
  40. package/dist/spa/spa/src/router/index.ts +0 -63
  41. package/dist/spa/spa/src/spa_types/core.ts +0 -51
  42. package/dist/spa/spa/src/stores/core.ts +0 -144
  43. package/dist/spa/spa/src/stores/filters.ts +0 -22
  44. package/dist/spa/spa/src/stores/modal.ts +0 -48
  45. package/dist/spa/spa/src/stores/toast.ts +0 -15
  46. package/dist/spa/spa/src/stores/user.ts +0 -72
  47. package/dist/spa/spa/src/types/AdminForthConfig.ts +0 -1477
  48. package/dist/spa/spa/src/types/FrontendAPI.ts +0 -121
  49. package/dist/spa/spa/src/utils.ts +0 -103
  50. package/dist/spa/spa/src/views/CreateView.vue +0 -156
  51. package/dist/spa/spa/src/views/EditView.vue +0 -157
  52. package/dist/spa/spa/src/views/ListView.vue +0 -258
  53. package/dist/spa/spa/src/views/LoginView.vue +0 -160
  54. package/dist/spa/spa/src/views/ResourceParent.vue +0 -17
  55. package/dist/spa/spa/src/views/ShowView.vue +0 -184
  56. package/dist/spa/spa/tailwind.config.js +0 -17
  57. package/dist/spa/spa/tsconfig.app.json +0 -14
  58. package/dist/spa/spa/tsconfig.json +0 -11
  59. package/dist/spa/spa/tsconfig.node.json +0 -19
  60. package/dist/spa/spa/vite.config.ts +0 -56
@@ -1,19 +0,0 @@
1
- {
2
- "extends": "@tsconfig/node20/tsconfig.json",
3
- "include": [
4
- "vite.config.*",
5
- "vitest.config.*",
6
- "cypress.config.*",
7
- "nightwatch.conf.*",
8
- "playwright.config.*"
9
- ],
10
- "compilerOptions": {
11
- "composite": true,
12
- "noEmit": true,
13
- "tsBuildInfoFile": "./node_modules/.tmp/tsconfig.node.tsbuildinfo",
14
-
15
- "module": "ESNext",
16
- "moduleResolution": "Bundler",
17
- "types": ["node"]
18
- }
19
- }
@@ -1,56 +0,0 @@
1
- import { fileURLToPath, URL } from 'node:url'
2
-
3
- import { defineConfig } from 'vite'
4
- import vue from '@vitejs/plugin-vue'
5
- import { clear, error } from 'node:console';
6
-
7
-
8
- const customLogger = {
9
- info(msg: string) {
10
- // Filter out the lines containing '➜ Local:' or '➜ Network:'
11
- if (!msg.includes('➜')) {
12
- console.log(msg);
13
- }
14
- },
15
- warnOnce(msg: string) {
16
- console.warn('warn once', msg);
17
- if (!this.hasWarned) {
18
- this.hasWarned = true;
19
- }
20
- },
21
- warn(msg: string) {
22
- console.warn(msg);
23
- },
24
- error(msg: string) {
25
- console.error(msg);
26
- },
27
- clear() {
28
- console.clear();
29
- },
30
- clearScreen() {
31
- console.clear();
32
- },
33
- hasWarned: false,
34
- hasErrorLogged: (error: any): boolean => {
35
- return false;
36
- }
37
- };
38
-
39
- // https://vitejs.dev/config/
40
- export default defineConfig({
41
- base: process.env.VITE_ADMINFORTH_PUBLIC_PATH || '/',
42
- server: {
43
- port: 5173,
44
- strictPort: true, // better predictability
45
- },
46
- customLogger,
47
- plugins: [
48
- vue(),
49
- ],
50
- resolve: {
51
- alias: {
52
- '@': fileURLToPath(new URL('./src', import.meta.url)),
53
- '@@': fileURLToPath(new URL('./src/custom', import.meta.url)),
54
- }
55
- }
56
- })