katecms 1.0.0-beta.1 → 1.0.0-beta.2
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/dist/module.json +1 -1
- package/dist/runtime/internal/admin/AppMenu.vue +0 -10
- package/dist/runtime/internal/ui/UiSelect.d.vue.ts +4 -4
- package/dist/runtime/internal/ui/UiSelect.vue.d.ts +4 -4
- package/dist/runtime/pages/admin/login.vue +1 -12
- package/dist/runtime/pages/admin/register.vue +0 -11
- package/package.json +1 -1
- package/src/runtime/assets/styles/_mixins.scss +0 -7
- package/src/runtime/internal/admin/AppMenu.vue +0 -10
- package/src/runtime/pages/admin/login.vue +1 -6
- package/src/runtime/pages/admin/register.vue +0 -5
package/dist/module.json
CHANGED
|
@@ -135,16 +135,6 @@ const groups = computed(() => {
|
|
|
135
135
|
|
|
136
136
|
<template>
|
|
137
137
|
<div :class="rootClass">
|
|
138
|
-
<!-- <NuxtLink
|
|
139
|
-
:class="`${rootClass}__logo`"
|
|
140
|
-
:to="paths.admin"
|
|
141
|
-
>
|
|
142
|
-
<img
|
|
143
|
-
src="../../assets/img/katecms-logo.svg"
|
|
144
|
-
alt="KateCMS"
|
|
145
|
-
>
|
|
146
|
-
</NuxtLink> -->
|
|
147
|
-
|
|
148
138
|
<div :class="`${rootClass}__wrap`">
|
|
149
139
|
<div
|
|
150
140
|
v-for="group in groups"
|
|
@@ -49,13 +49,13 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {
|
|
|
49
49
|
allowCustomChoices: boolean;
|
|
50
50
|
searchPlaceholder: string;
|
|
51
51
|
disabled: boolean;
|
|
52
|
-
searchClearable: boolean;
|
|
53
|
-
selectedOptClearable: boolean;
|
|
54
|
-
noResultsText: string;
|
|
55
|
-
addOptionText: string;
|
|
56
52
|
selectedOptImage: boolean;
|
|
53
|
+
selectedOptClearable: boolean;
|
|
57
54
|
optionIcon: boolean;
|
|
55
|
+
searchClearable: boolean;
|
|
58
56
|
ariaLabel: string;
|
|
57
|
+
noResultsText: string;
|
|
58
|
+
addOptionText: string;
|
|
59
59
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
60
60
|
declare const _default: typeof __VLS_export;
|
|
61
61
|
export default _default;
|
|
@@ -49,13 +49,13 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {
|
|
|
49
49
|
allowCustomChoices: boolean;
|
|
50
50
|
searchPlaceholder: string;
|
|
51
51
|
disabled: boolean;
|
|
52
|
-
searchClearable: boolean;
|
|
53
|
-
selectedOptClearable: boolean;
|
|
54
|
-
noResultsText: string;
|
|
55
|
-
addOptionText: string;
|
|
56
52
|
selectedOptImage: boolean;
|
|
53
|
+
selectedOptClearable: boolean;
|
|
57
54
|
optionIcon: boolean;
|
|
55
|
+
searchClearable: boolean;
|
|
58
56
|
ariaLabel: string;
|
|
57
|
+
noResultsText: string;
|
|
58
|
+
addOptionText: string;
|
|
59
59
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
60
60
|
declare const _default: typeof __VLS_export;
|
|
61
61
|
export default _default;
|
|
@@ -12,7 +12,7 @@ useHead({
|
|
|
12
12
|
title: "Sign in"
|
|
13
13
|
});
|
|
14
14
|
const paths = useCmsPaths();
|
|
15
|
-
const registrationOpen = useRuntimeConfig().public.katecms?.registration
|
|
15
|
+
const registrationOpen = useRuntimeConfig().public.katecms?.registration;
|
|
16
16
|
const { remainingSec, locked, start: startCooldown } = useAuthCooldown();
|
|
17
17
|
const emailField = { label: "Email", required: true };
|
|
18
18
|
const passwordField = { type: "password", label: "Password", required: true };
|
|
@@ -62,11 +62,6 @@ async function submit() {
|
|
|
62
62
|
<template>
|
|
63
63
|
<div :class="rootClass">
|
|
64
64
|
<div :class="`${rootClass}__card`">
|
|
65
|
-
<img
|
|
66
|
-
:class="`${rootClass}__logo`"
|
|
67
|
-
src="../../assets/img/katecms-logo.svg"
|
|
68
|
-
alt="KateCMS"
|
|
69
|
-
>
|
|
70
65
|
<div :class="`${rootClass}__title`">
|
|
71
66
|
Sign in
|
|
72
67
|
</div>
|
|
@@ -316,12 +311,6 @@ body#katecms-body .katecms-auth__card {
|
|
|
316
311
|
border-radius: 0.625rem;
|
|
317
312
|
box-shadow: var(--katecms-shadow-md);
|
|
318
313
|
}
|
|
319
|
-
body#katecms-body .katecms-auth__logo {
|
|
320
|
-
display: block;
|
|
321
|
-
width: 9.375rem;
|
|
322
|
-
height: auto;
|
|
323
|
-
margin: 0 auto 1.5rem;
|
|
324
|
-
}
|
|
325
314
|
body#katecms-body .katecms-auth__title {
|
|
326
315
|
margin: 0 0 0.5rem;
|
|
327
316
|
font-size: 1.375rem;
|
|
@@ -67,11 +67,6 @@ async function submit() {
|
|
|
67
67
|
<template>
|
|
68
68
|
<div :class="rootClass">
|
|
69
69
|
<div :class="`${rootClass}__card`">
|
|
70
|
-
<img
|
|
71
|
-
:class="`${rootClass}__logo`"
|
|
72
|
-
src="../../assets/img/katecms-logo.svg"
|
|
73
|
-
alt="KateCMS"
|
|
74
|
-
>
|
|
75
70
|
<div :class="`${rootClass}__title`">
|
|
76
71
|
{{ isFirstUser ? "Create owner" : "Register" }}
|
|
77
72
|
</div>
|
|
@@ -334,12 +329,6 @@ body#katecms-body .katecms-auth__card {
|
|
|
334
329
|
border-radius: 0.625rem;
|
|
335
330
|
box-shadow: var(--katecms-shadow-md);
|
|
336
331
|
}
|
|
337
|
-
body#katecms-body .katecms-auth__logo {
|
|
338
|
-
display: block;
|
|
339
|
-
width: 9.375rem;
|
|
340
|
-
height: auto;
|
|
341
|
-
margin: 0 auto 1.5rem;
|
|
342
|
-
}
|
|
343
332
|
body#katecms-body .katecms-auth__title {
|
|
344
333
|
margin: 0 0 0.5rem;
|
|
345
334
|
font-size: 1.375rem;
|
package/package.json
CHANGED
|
@@ -166,16 +166,6 @@ const groups = computed<MenuGroup[]>(() => {
|
|
|
166
166
|
|
|
167
167
|
<template>
|
|
168
168
|
<div :class="rootClass">
|
|
169
|
-
<!-- <NuxtLink
|
|
170
|
-
:class="`${rootClass}__logo`"
|
|
171
|
-
:to="paths.admin"
|
|
172
|
-
>
|
|
173
|
-
<img
|
|
174
|
-
src="../../assets/img/katecms-logo.svg"
|
|
175
|
-
alt="KateCMS"
|
|
176
|
-
>
|
|
177
|
-
</NuxtLink> -->
|
|
178
|
-
|
|
179
169
|
<div :class="`${rootClass}__wrap`">
|
|
180
170
|
<div
|
|
181
171
|
v-for="group in groups"
|
|
@@ -16,7 +16,7 @@ useHead({
|
|
|
16
16
|
})
|
|
17
17
|
|
|
18
18
|
const paths = useCmsPaths()
|
|
19
|
-
const registrationOpen = useRuntimeConfig().public.katecms?.registration
|
|
19
|
+
const registrationOpen = useRuntimeConfig().public.katecms?.registration
|
|
20
20
|
const { remainingSec, locked, start: startCooldown } = useAuthCooldown()
|
|
21
21
|
const emailField = { label: 'Email', required: true }
|
|
22
22
|
const passwordField = { type: 'password' as const, label: 'Password', required: true }
|
|
@@ -76,11 +76,6 @@ async function submit() {
|
|
|
76
76
|
<template>
|
|
77
77
|
<div :class="rootClass">
|
|
78
78
|
<div :class="`${rootClass}__card`">
|
|
79
|
-
<img
|
|
80
|
-
:class="`${rootClass}__logo`"
|
|
81
|
-
src="../../assets/img/katecms-logo.svg"
|
|
82
|
-
alt="KateCMS"
|
|
83
|
-
>
|
|
84
79
|
<div :class="`${rootClass}__title`">
|
|
85
80
|
Sign in
|
|
86
81
|
</div>
|
|
@@ -83,11 +83,6 @@ async function submit() {
|
|
|
83
83
|
<template>
|
|
84
84
|
<div :class="rootClass">
|
|
85
85
|
<div :class="`${rootClass}__card`">
|
|
86
|
-
<img
|
|
87
|
-
:class="`${rootClass}__logo`"
|
|
88
|
-
src="../../assets/img/katecms-logo.svg"
|
|
89
|
-
alt="KateCMS"
|
|
90
|
-
>
|
|
91
86
|
<div :class="`${rootClass}__title`">
|
|
92
87
|
{{ isFirstUser ? 'Create owner' : 'Register' }}
|
|
93
88
|
</div>
|