|
|
@@ -1,15 +1,31 @@
|
|
1
|
1
|
<template lang="pug">
|
|
2
|
2
|
w-app
|
|
3
|
|
- w-badge
|
|
4
|
|
- template(#badge) 3
|
|
5
|
|
- w-button(color="primary")
|
|
6
|
|
- w-icon(class="mr1") mdi mdi-email Emails
|
|
|
3
|
+ w-drawer(v-model="openDrawer")
|
|
|
4
|
+ w-flex.my12(:gap="3" align-center wrap)
|
|
|
5
|
+ w-button.ma1(@click="$waveui.notify('Information.')" bg-color="info") Notify info
|
|
|
6
|
+ w-button.ma1(@click="$waveui.notify('Success!', 'success')" bg-color="success") Notify success
|
|
|
7
|
+ w-button.ma1(@click="$waveui.notify('Warning!', 'warning')" bg-color="warning") Notify warning
|
|
|
8
|
+ w-button.ma1(@click="$waveui.notify('Error :(', 'error', 0)" bg-color="error") Permanent error
|
|
|
9
|
+ w-flex.my12(align-center wrap)
|
|
|
10
|
+ w-spinner(bounce)
|
|
|
11
|
+ w-input Label
|
|
|
12
|
+ w-checkbox Single option
|
|
|
13
|
+ w-flex.my12
|
|
|
14
|
+ w-button(@click="openDrawer = true" outline="")
|
|
|
15
|
+ | Open drawer
|
|
|
16
|
+ w-flex.my12(grow column)
|
|
|
17
|
+ w-slider(:model-value="40" thumb-label step-label :step="20" color="primary-light3").mt12
|
|
|
18
|
+ .mt4 v-model:
|
|
|
19
|
+ code.ml1 {{ sliderVal }}
|
|
7
|
20
|
w-flex.my12(:gap="3" align-center wrap)
|
|
8
|
21
|
| Show menu on:
|
|
9
|
22
|
w-menu
|
|
10
|
23
|
template(#activator="{ on }")
|
|
11
|
24
|
w-button(v-on="on") Show menu
|
|
12
|
25
|
| Menu content
|
|
|
26
|
+ w-badge.mr10(bg-color="error")
|
|
|
27
|
+ template(#badge) 3
|
|
|
28
|
+ w-icon(color="grey-light1" size="2.5em") mdi mdi-email
|
|
13
|
29
|
SideBar(
|
|
14
|
30
|
v-if="showSidebar"
|
|
15
|
31
|
:pid="getPid"
|
|
|
@@ -37,9 +53,11 @@ export default {
|
|
37
|
53
|
components: { SideBar },
|
|
38
|
54
|
data: () => ({
|
|
39
|
55
|
showSidebar: false,
|
|
|
56
|
+ sliderVal: 1,
|
|
|
57
|
+ openDrawer: false,
|
|
40
|
58
|
}),
|
|
41
|
59
|
computed: {
|
|
42
|
|
- getPid: () => currentProfile.id.value,
|
|
|
60
|
+ getPid: () => (currentProfile.id.value ? currentProfile.id.value : 999),
|
|
43
|
61
|
},
|
|
44
|
62
|
async created() {
|
|
45
|
63
|
/** Get questions so we can compare against profile responses */
|