adminforth 1.0.64 → 1.0.66

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/dist/spa/index.html +2 -2
  2. package/dist/spa/package-lock.json +189 -1
  3. package/dist/spa/package.json +6 -1
  4. package/dist/spa/spa/src/stores/core.ts +3 -0
  5. package/dist/spa/spa/src/views/ShowView.vue +3 -3
  6. package/dist/spa/src/App.vue +76 -57
  7. package/dist/spa/src/components/AcceptModal.vue +1 -1
  8. package/dist/spa/src/components/CustomDatePicker.vue +3 -3
  9. package/dist/spa/src/components/CustomDateRangePicker.vue +3 -3
  10. package/dist/spa/src/components/CustomRangePicker.vue +148 -0
  11. package/dist/spa/src/components/Dropdown.vue +13 -4
  12. package/dist/spa/src/components/Filters.vue +55 -22
  13. package/dist/spa/src/components/MenuLink.vue +2 -2
  14. package/dist/spa/src/components/ResourceForm.vue +157 -99
  15. package/dist/spa/src/components/ValueRenderer.vue +11 -1
  16. package/dist/spa/src/router/index.ts +3 -2
  17. package/dist/spa/src/stores/core.ts +22 -33
  18. package/dist/spa/src/utils.ts +5 -3
  19. package/dist/spa/src/views/CreateView.vue +15 -7
  20. package/dist/spa/src/views/EditView.vue +36 -8
  21. package/dist/spa/src/views/ListView.vue +35 -23
  22. package/dist/spa/src/views/LoginView.vue +1 -1
  23. package/dist/spa/src/views/ResourceParent.vue +1 -1
  24. package/dist/spa/src/views/ShowView.vue +20 -9
  25. package/dist/spa/tailwind.config.js +5 -2
  26. package/documentation/README.md +41 -0
  27. package/documentation/babel.config.js +3 -0
  28. package/documentation/blog/2019-05-28-first-blog-post.md +12 -0
  29. package/documentation/blog/2019-05-29-long-blog-post.md +44 -0
  30. package/documentation/blog/2021-08-01-mdx-blog-post.mdx +20 -0
  31. package/documentation/blog/2021-08-26-welcome/docusaurus-plushie-banner.jpeg +0 -0
  32. package/documentation/blog/2021-08-26-welcome/index.md +25 -0
  33. package/documentation/blog/authors.yml +17 -0
  34. package/documentation/blog/tags.yml +16 -0
  35. package/documentation/docusaurus.config.ts +159 -0
  36. package/documentation/package-lock.json +14655 -0
  37. package/documentation/package.json +51 -0
  38. package/documentation/sidebars.ts +51 -0
  39. package/documentation/src/components/HomepageFeatures/index.tsx +70 -0
  40. package/documentation/src/components/HomepageFeatures/styles.module.css +11 -0
  41. package/documentation/src/css/custom.css +30 -0
  42. package/documentation/src/pages/index.module.css +23 -0
  43. package/documentation/src/pages/index.tsx +43 -0
  44. package/documentation/src/pages/markdown-page.md +7 -0
  45. package/documentation/static/.nojekyll +0 -0
  46. package/documentation/static/img/docusaurus-social-card.jpg +0 -0
  47. package/documentation/static/img/docusaurus.png +0 -0
  48. package/documentation/static/img/favicon.ico +0 -0
  49. package/documentation/static/img/logo.svg +1 -0
  50. package/documentation/static/img/undraw_docusaurus_mountain.svg +171 -0
  51. package/documentation/static/img/undraw_docusaurus_react.svg +170 -0
  52. package/documentation/static/img/undraw_docusaurus_tree.svg +40 -0
  53. package/documentation/typedoc-plugin.mjs +11 -0
  54. package/package.json +2 -3
  55. package/spa/src/stores/core.ts +3 -0
  56. package/spa/src/views/ShowView.vue +3 -3
  57. package/tsconfig.json +1 -1
  58. package/dist/spa/spa/src/components/ShowTableItem.vue +0 -14
  59. package/dist/spa/spa/src/views/HomeView.vue +0 -8
  60. package/dist/spa/src/views/HomeView.vue +0 -8
@@ -0,0 +1,25 @@
1
+ ---
2
+ slug: welcome
3
+ title: Welcome
4
+ authors: [slorber, yangshun]
5
+ tags: [facebook, hello, docusaurus]
6
+ ---
7
+
8
+ [Docusaurus blogging features](https://docusaurus.io/docs/blog) are powered by the [blog plugin](https://docusaurus.io/docs/api/plugins/@docusaurus/plugin-content-blog).
9
+
10
+ Simply add Markdown files (or folders) to the `blog` directory.
11
+
12
+ Regular blog authors can be added to `authors.yml`.
13
+
14
+ The blog post date can be extracted from filenames, such as:
15
+
16
+ - `2019-05-30-welcome.md`
17
+ - `2019-05-30-welcome/index.md`
18
+
19
+ A blog post folder can be convenient to co-locate blog post images:
20
+
21
+ ![Docusaurus Plushie](./docusaurus-plushie-banner.jpeg)
22
+
23
+ The blog supports tags as well!
24
+
25
+ **And if you don't want a blog**: just delete this directory, and use `blog: false` in your Docusaurus config.
@@ -0,0 +1,17 @@
1
+ endi:
2
+ name: Endilie Yacop Sucipto
3
+ title: Maintainer of Docusaurus
4
+ url: https://github.com/endiliey
5
+ image_url: https://github.com/endiliey.png
6
+
7
+ yangshun:
8
+ name: Yangshun Tay
9
+ title: Front End Engineer @ Facebook
10
+ url: https://github.com/yangshun
11
+ image_url: https://github.com/yangshun.png
12
+
13
+ slorber:
14
+ name: Sébastien Lorber
15
+ title: Docusaurus maintainer
16
+ url: https://sebastienlorber.com
17
+ image_url: https://github.com/slorber.png
@@ -0,0 +1,16 @@
1
+ facebook:
2
+ label: Facebook
3
+ permalink: /facebook
4
+ description: Facebook tag description
5
+ hello:
6
+ label: Hello
7
+ permalink: /hello
8
+ description: Hello tag description
9
+ docusaurus:
10
+ label: Docusaurus
11
+ permalink: /docusaurus
12
+ description: Docusaurus tag description
13
+ hola:
14
+ label: Hola
15
+ permalink: /hola
16
+ description: Hola tag description
@@ -0,0 +1,159 @@
1
+ import {themes as prismThemes} from 'prism-react-renderer';
2
+ import type {Config} from '@docusaurus/types';
3
+ import type * as Preset from '@docusaurus/preset-classic';
4
+
5
+ const config: Config = {
6
+ title: 'AdminForth',
7
+ tagline: 'AdminForth Open-Source Vue-driven Next-Gen Admin Panel',
8
+ favicon: 'img/favicon.ico',
9
+
10
+ // Set the production url of your site here
11
+ url: 'https://adminforth.devforth.io',
12
+ // Set the /<baseUrl>/ pathname under which your site is served
13
+ // For GitHub pages deployment, it is often '/<projectName>/'
14
+ baseUrl: '/',
15
+
16
+ // GitHub pages deployment config.
17
+ // If you aren't using GitHub pages, you don't need these.
18
+ organizationName: 'devforth', // Usually your GitHub org/user name.
19
+ projectName: 'adminforth', // Usually your repo name.
20
+
21
+ onBrokenLinks: 'throw',
22
+ onBrokenMarkdownLinks: 'warn',
23
+
24
+ // Even if you don't use internationalization, you can use this field to set
25
+ // useful metadata like html lang. For example, if your site is Chinese, you
26
+ // may want to replace "en" with "zh-Hans".
27
+ i18n: {
28
+ defaultLocale: 'en',
29
+ locales: ['en'],
30
+ },
31
+
32
+ presets: [
33
+ [
34
+ 'classic',
35
+ {
36
+ docs: {
37
+ sidebarPath: './sidebars.ts',
38
+ // Please change this to your repo.
39
+ // Remove this to remove the "edit this page" links.
40
+ // editUrl:
41
+ // 'https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/',
42
+ },
43
+ // blog: {
44
+ // showReadingTime: true,
45
+ // // Please change this to your repo.
46
+ // // Remove this to remove the "edit this page" links.
47
+ // // editUrl:
48
+ // // 'https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/',
49
+ // },
50
+ theme: {
51
+ customCss: './src/css/custom.css',
52
+ },
53
+ } satisfies Preset.Options,
54
+ ],
55
+ ],
56
+
57
+ plugins: [
58
+ [
59
+ "docusaurus-plugin-typedoc",
60
+ {
61
+ entryPoints: "../index.ts",
62
+ plugin: ["./typedoc-plugin.mjs"],
63
+ readme: "none",
64
+ indexFormat: "table",
65
+ disableSources: true,
66
+ sidebar: { pretty: true },
67
+ textContentMappings: {
68
+ "title.indexPage": "TypeDoc API",
69
+ "title.memberPage": "{name}",
70
+ },
71
+ parametersFormat: "table",
72
+ enumMembersFormat: "table",
73
+ },
74
+ ],
75
+ ],
76
+
77
+ themeConfig: {
78
+ // Replace with your project's social card
79
+ image: 'img/docusaurus-social-card.jpg',
80
+ navbar: {
81
+ title: 'AdminForth',
82
+ logo: {
83
+ alt: 'AdminForth Logo',
84
+ src: 'img/logo.svg',
85
+ },
86
+ items: [
87
+ {
88
+ type: 'docSidebar',
89
+ sidebarId: 'tutorialSidebar',
90
+ position: 'left',
91
+ label: 'Tutorial',
92
+ },
93
+ {
94
+ type: 'docSidebar',
95
+ sidebarId: 'tutorialSidebar',
96
+ position: 'left',
97
+ label: 'Tutorial',
98
+ },
99
+ {to: '/blog', label: 'Blog', position: 'left'},
100
+ {
101
+ href: 'https://github.com/devforth/adminforth',
102
+ label: 'GitHub',
103
+ position: 'right',
104
+ },
105
+ ],
106
+ },
107
+ footer: {
108
+ style: 'dark',
109
+ links: [
110
+ {
111
+ title: 'Docs',
112
+ items: [
113
+ {
114
+ label: 'Tutorial',
115
+ to: '/docs/intro',
116
+ },
117
+ ],
118
+ },
119
+ {
120
+ title: 'Community',
121
+ items: [
122
+ {
123
+ label: 'Stack Overflow',
124
+ href: 'https://stackoverflow.com/questions/tagged/docusaurus',
125
+ },
126
+ {
127
+ label: 'Discord',
128
+ href: 'https://discordapp.com/invite/docusaurus',
129
+ },
130
+ {
131
+ label: 'Twitter',
132
+ href: 'https://twitter.com/docusaurus',
133
+ },
134
+ ],
135
+ },
136
+ {
137
+ title: 'More',
138
+ items: [
139
+ {
140
+ label: 'Blog',
141
+ to: '/blog',
142
+ },
143
+ {
144
+ label: 'GitHub',
145
+ href: 'https://github.com/facebook/docusaurus',
146
+ },
147
+ ],
148
+ },
149
+ ],
150
+ copyright: `Copyright © ${new Date().getFullYear()} My Project, Inc. Built with Docusaurus.`,
151
+ },
152
+ prism: {
153
+ theme: prismThemes.github,
154
+ darkTheme: prismThemes.dracula,
155
+ },
156
+ } satisfies Preset.ThemeConfig,
157
+ };
158
+
159
+ export default config;