@sowell/quasar-app-extension-auth 0.3.12 → 0.3.14

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sowell/quasar-app-extension-auth",
3
- "version": "0.3.12",
3
+ "version": "0.3.14",
4
4
  "description": "A Quasar app extension to manage Authentication",
5
5
  "main": "src/index.js",
6
6
  "repository": "https://github.com/sowell-ai/quasar.extension.auth",
@@ -126,12 +126,21 @@
126
126
  </q-dialog>
127
127
  </div>
128
128
  </q-page>
129
+ <q-footer class="footer">
130
+ <q-toolbar>
131
+ <q-toolbar-title>
132
+ <div class="row justify-end text-black text-subtitle2 version-style">
133
+ v{{ appVersion.versionNumber }}
134
+ </div>
135
+ </q-toolbar-title>
136
+ </q-toolbar>
137
+ </q-footer>
129
138
  </q-layout>
130
139
  </template>
131
140
 
132
141
  <script lang="ts">
133
- import { defineComponent } from "vue";
134
-
142
+ import { defineComponent, reactive, onMounted } from "vue";
143
+ import * as packageInfo from "app/package.json";
135
144
  import SendEmail from "../dialogs/SendEmail.vue";
136
145
  import SowellMessage from "../dialogs/Message.vue";
137
146
  import { useAuth } from "composables/auth";
@@ -158,6 +167,9 @@ export default defineComponent({
158
167
  icons,
159
168
  } = useAuth();
160
169
 
170
+ const appVersion = reactive({
171
+ versionNumber: "",
172
+ });
161
173
  const resetPassword = async (email: string) => {
162
174
  const data = {
163
175
  auth: {
@@ -177,6 +189,10 @@ export default defineComponent({
177
189
  }
178
190
  };
179
191
 
192
+ onMounted(() => {
193
+ appVersion.versionNumber = packageInfo.version;
194
+ });
195
+
180
196
  return {
181
197
  email,
182
198
  password,
@@ -192,9 +208,14 @@ export default defineComponent({
192
208
  isSubmitBtnDisabled,
193
209
  retypeEmail,
194
210
  icons,
211
+ appVersion,
195
212
  };
196
213
  },
197
214
  });
198
215
  </script>
199
216
 
200
- <style scoped></style>
217
+ <style scoped>
218
+ .footer {
219
+ background: transparent;
220
+ }
221
+ </style>