@goweekdays/layer-common 1.5.9 → 1.5.11
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/CHANGELOG.md +12 -0
- package/components/SwitchContext.vue +11 -15
- package/composables/useJobPost.ts +4 -6
- package/package.json +1 -1
- package/pages/index.vue +6 -3
- package/pages/login.vue +1 -1
- package/types/job-post.d.ts +2 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @goweekdays/layer-common
|
|
2
2
|
|
|
3
|
+
## 1.5.11
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- ea1d777: Refactor SwitchContext activator markup
|
|
8
|
+
|
|
9
|
+
## 1.5.10
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- af609a7: Add hybrid workplace type and update landing navigation
|
|
14
|
+
|
|
3
15
|
## 1.5.9
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
|
@@ -6,21 +6,17 @@
|
|
|
6
6
|
:close-on-content-click="false"
|
|
7
7
|
>
|
|
8
8
|
<template #activator="{ props }">
|
|
9
|
-
<v-list
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
>
|
|
19
|
-
|
|
20
|
-
{{ name || `Select ${prop.title}` }}
|
|
21
|
-
</v-list-item-title>
|
|
22
|
-
</v-list-item>
|
|
23
|
-
</v-list>
|
|
9
|
+
<v-list-item
|
|
10
|
+
v-bind="props"
|
|
11
|
+
:key="props.title"
|
|
12
|
+
:prepend-icon="prop.icon"
|
|
13
|
+
append-icon="mdi-chevron-down"
|
|
14
|
+
class="text-subtitle-2 font-weight-bold"
|
|
15
|
+
>
|
|
16
|
+
<v-list-item-title class="text-truncate">
|
|
17
|
+
{{ name || `Select ${prop.title}` }}
|
|
18
|
+
</v-list-item-title>
|
|
19
|
+
</v-list-item>
|
|
24
20
|
</template>
|
|
25
21
|
|
|
26
22
|
<v-card width="300px" rounded="lg" class="pa-4">
|
|
@@ -2,6 +2,9 @@ export function useJobPost() {
|
|
|
2
2
|
const jobPost = ref<TJobPost>({
|
|
3
3
|
title: "",
|
|
4
4
|
org: "",
|
|
5
|
+
orgName: "",
|
|
6
|
+
company: "",
|
|
7
|
+
companyName: "",
|
|
5
8
|
setup: "",
|
|
6
9
|
location: "",
|
|
7
10
|
type: "",
|
|
@@ -92,6 +95,7 @@ export function useJobPost() {
|
|
|
92
95
|
const workplaceTypes = [
|
|
93
96
|
{ title: "On-site", value: "onsite" },
|
|
94
97
|
{ title: "Remote", value: "remote" },
|
|
98
|
+
{ title: "Hybrid", value: "hybrid" },
|
|
95
99
|
];
|
|
96
100
|
|
|
97
101
|
const jobTypes = [
|
|
@@ -182,11 +186,6 @@ export function useJobPost() {
|
|
|
182
186
|
{ title: "Annually", value: "annually" },
|
|
183
187
|
];
|
|
184
188
|
|
|
185
|
-
const searchFilterJobTitle = useState<string>(
|
|
186
|
-
"searchFilterJobTitle",
|
|
187
|
-
() => ""
|
|
188
|
-
);
|
|
189
|
-
|
|
190
189
|
const searchFilterWorkType = useState<string>(
|
|
191
190
|
"searchFilterWorkType",
|
|
192
191
|
() => ""
|
|
@@ -210,7 +209,6 @@ export function useJobPost() {
|
|
|
210
209
|
jobTypes,
|
|
211
210
|
defaultCurrencies,
|
|
212
211
|
payPeriodOptions,
|
|
213
|
-
searchFilterJobTitle,
|
|
214
212
|
searchFilterWorkType,
|
|
215
213
|
searchFilterJobType,
|
|
216
214
|
searchFilterLocation,
|
package/package.json
CHANGED
package/pages/index.vue
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<v-row no-gutters class="fill-height" justify="center" align-content="center">
|
|
3
3
|
<v-col cols="12" class="text-center">
|
|
4
|
-
<span class="text-h1 font-weight-bold">{{
|
|
4
|
+
<span class="text-h3 text-sm-h2 text-md-h1 font-weight-bold">{{
|
|
5
|
+
APP_NAME
|
|
6
|
+
}}</span>
|
|
5
7
|
</v-col>
|
|
6
8
|
|
|
7
9
|
<v-col cols="12" class="text-center mt-6" v-if="currentUser">
|
|
@@ -70,7 +72,8 @@ definePageMeta({
|
|
|
70
72
|
layout: "plain",
|
|
71
73
|
});
|
|
72
74
|
|
|
73
|
-
const { APP_NAME, APP_MAIN, APP } =
|
|
75
|
+
const { APP_NAME, APP_MAIN, APP, APP_MAIN_LANDING_PAGE } =
|
|
76
|
+
useRuntimeConfig().public;
|
|
74
77
|
|
|
75
78
|
const { getCurrentUser, currentUser, loggedInUser } = useLocalAuth();
|
|
76
79
|
try {
|
|
@@ -103,7 +106,7 @@ const { data: member, refresh: refreshMember } = await useLazyAsyncData(
|
|
|
103
106
|
function handleSignin() {
|
|
104
107
|
refreshMember();
|
|
105
108
|
if (APP === "main") {
|
|
106
|
-
navigateTo({ name:
|
|
109
|
+
navigateTo({ name: APP_MAIN_LANDING_PAGE });
|
|
107
110
|
} else if (APP === "admin") {
|
|
108
111
|
navigateTo({ name: "home" });
|
|
109
112
|
} else {
|
package/pages/login.vue
CHANGED
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
<v-col cols="12">
|
|
16
16
|
<v-row no-gutters justify="center">
|
|
17
17
|
<nuxt-link
|
|
18
|
-
class="text-
|
|
18
|
+
class="text-h4 text-sm-h2 text-md-h2 text-lg-h2 text-xl-h2 font-weight-bold text-decoration-none"
|
|
19
19
|
style="color: unset"
|
|
20
20
|
:to="{ name: 'index' }"
|
|
21
21
|
>
|