Skip to content

Commit ab3913f

Browse files
Merge pull request #16 from webdevnerdstuff/dev
Dev
2 parents 56566c2 + 3cb9c10 commit ab3913f

File tree

7 files changed

+48
-173
lines changed

7 files changed

+48
-173
lines changed

dist/types/index.d.ts

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ import type { CSSProperties, Ref } from 'vue';
22
import type { VBtn, VCheckbox, VSelect, VSwitch, VTextField, VTextarea } from 'vuetify/components';
33
import type { IconOptions } from 'vuetify';
44
import type { EventBusKey } from '@vueuse/core';
5-
import { AxiosError } from 'axios';
65
export type AlignItems = 'normal' | 'stretch' | 'center' | 'start' | 'end' | 'flex-start' | 'flex-end' | 'self-start' | 'self-end' | 'baseline' | 'first baseline' | 'last baseline' | 'safe center' | 'unsafe center' | 'inherit' | 'initial' | 'revert' | 'revert-layer' | 'unset';
76
export type FieldValue = string | boolean | number | object | [] | null | {
87
[key: string]: string | unknown;
@@ -171,22 +170,6 @@ export interface UseDisplayValueStyles {
171170
underlined: SharedProps['underlined'];
172171
}): CSSProperties;
173172
}
174-
export interface UseSaveValue {
175-
(options: {
176-
settings: {
177-
[key: string]: string | unknown;
178-
};
179-
emit: {
180-
(e: 'loading', response: boolean): void;
181-
(e: 'error', error: AxiosError): AxiosError;
182-
(e: 'update', response: unknown): void;
183-
};
184-
name: SharedProps['name'];
185-
value: FieldValue;
186-
}): Promise<{
187-
[key: string]: string | unknown;
188-
} | undefined>;
189-
}
190173
export interface UseToggleField {
191174
(options: {
192175
attrs: object;

package.json

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
"dev": "vite",
1111
"watch": "pnpm dev",
1212
"play": "sh src/playground/configs/build.sh && NODE_ENV=playground vite",
13-
"bundle": "rollup -c --bundleConfigAsCjs",
1413
"build": "vue-tsc && vite build --config vite.build.config.ts",
1514
"build:docs": "vite build",
1615
"predeploy": "npm run build",
@@ -77,9 +76,7 @@
7776
"@fortawesome/free-solid-svg-icons": "^6.4.0",
7877
"@fortawesome/vue-fontawesome": "^3.0.3",
7978
"@mdi/font": "^7.2.96",
80-
"@rollup/plugin-alias": "^5.0.0",
8179
"@rollup/plugin-commonjs": "^25.0.2",
82-
"@rollup/plugin-json": "^6.0.0",
8380
"@rollup/plugin-node-resolve": "^15.1.0",
8481
"@rollup/plugin-terser": "^0.4.3",
8582
"@types/node": "^20.3.1",
@@ -92,7 +89,6 @@
9289
"@vue/compiler-sfc": "^3.3.4",
9390
"@vue/eslint-config-typescript": "^11.0.3",
9491
"autoprefixer": "^10.4.14",
95-
"axios": "^1.4.0",
9692
"eslint": "^8.43.0",
9793
"eslint-config-prettier": "^8.8.0",
9894
"eslint-plugin-import": "^2.27.5",
@@ -101,7 +97,6 @@
10197
"gh-pages": "^5.0.0",
10298
"husky": "^8.0.3",
10399
"lint-staged": "^13.2.2",
104-
"miragejs": "^0.1.47",
105100
"pinia": "^2.1.4",
106101
"postcss": "^8.4.24",
107102
"postcss-html": "^1.5.0",

pnpm-lock.yaml

Lines changed: 4 additions & 78 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/documentation/sections/DependenciesSection.vue

Lines changed: 22 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -11,31 +11,29 @@
1111
>#</a>
1212
Dependencies
1313
</h2>
14+
</v-col>
1415

15-
<v-row>
16-
<v-col cols="12">
17-
<a
18-
:href="store.links.vuetify"
19-
target="_blank"
20-
>
21-
Vuetify v3
22-
</a>
23-
<br />
24-
<a
25-
:href="store.links.vue"
26-
target="_blank"
27-
>
28-
Vue 3
29-
</a>
30-
<br />
31-
<a
32-
:href="store.links.vueUse"
33-
target="_blank"
34-
>
35-
VueUse
36-
</a>
37-
</v-col>
38-
</v-row>
16+
<v-col cols="12">
17+
<a
18+
:href="store.links.vuetify"
19+
target="_blank"
20+
>
21+
Vuetify v3
22+
</a>
23+
<br />
24+
<a
25+
:href="store.links.vue"
26+
target="_blank"
27+
>
28+
Vue 3
29+
</a>
30+
<br />
31+
<a
32+
:href="store.links.vueUse"
33+
target="_blank"
34+
>
35+
VueUse
36+
</a>
3937
</v-col>
4038
</v-row>
4139
</template>

src/documentation/sections/LegalSection.vue

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,13 @@
1111
>#</a>
1212
Legal
1313
</h2>
14+
</v-col>
1415

15-
<v-row>
16-
<v-col cols="12">
17-
<p>
18-
Vuetify and the Vuetify logo are trademarks of Vuetify LLC. This
19-
component was not created or endorsed by Vuetify.
20-
</p>
21-
</v-col>
22-
</v-row>
16+
<v-col cols="12">
17+
<p>
18+
Vuetify and the Vuetify logo are trademarks of Vuetify LLC. This
19+
component was not created or endorsed by Vuetify.
20+
</p>
2321
</v-col>
2422
</v-row>
2523
</template>

src/documentation/sections/LicenseSection.vue

Lines changed: 16 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -11,34 +11,29 @@
1111
>#</a>
1212
License
1313
</h2>
14+
</v-col>
1415

15-
<v-row>
16-
<v-col cols="12">
17-
Copyright &copy; {{ new Date().getFullYear() }}
18-
<a
19-
:href="store.links.githubProfile"
20-
target="_blank"
21-
>WebDevNerdStuff</a>
22-
<br />
23-
Licensed under the
24-
<a
25-
:href="`${store.links.github}/blob/master/LICENSE.md`"
26-
target="_blank"
27-
>
28-
MIT License
29-
</a>
30-
</v-col>
31-
</v-row>
16+
<v-col cols="12">
17+
Copyright &copy; {{ new Date().getFullYear() }}
18+
<a
19+
:href="links.github"
20+
target="_blank"
21+
>WebDevNerdStuff</a>
22+
<br />
23+
Licensed under the
24+
<a
25+
:href="`${links.repo}/blob/master/LICENSE.md`"
26+
target="_blank"
27+
>
28+
MIT License
29+
</a>
3230
</v-col>
3331
</v-row>
3432
</template>
3533

3634
<script setup>
3735
import { inject } from 'vue';
38-
import { useCoreStore } from '@/stores/index';
39-
4036
4137
const classes = inject('classes');
42-
43-
const store = useCoreStore();
38+
const links = inject('links');
4439
</script>

0 commit comments

Comments
 (0)