@7365admin1/layer-common 3.2.2-staging.127 → 3.2.2-staging.129
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/components/Carousel.vue +56 -36
- package/components/Chat/Bubbles.vue +43 -14
- package/components/Chat/Information.vue +49 -32
- package/components/Chat/ListCard.vue +38 -9
- package/components/Chat/Message.vue +41 -15
- package/components/Chat/Navigation.vue +27 -15
- package/components/DrawImage.vue +29 -21
- package/components/Input/Date.vue +3 -0
- package/components/Input/File.vue +55 -10
- package/components/Input/ListGroupSelection.vue +56 -8
- package/components/ServiceProviderMain.vue +261 -317
- package/components/WorkOrder/Create.vue +26 -17
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<FormDialog v-model="dialog" @close="closeDialog">
|
|
3
3
|
<template #title>
|
|
4
|
-
<span class="
|
|
4
|
+
<span class="screen-card-title pt-1 text-capitalize">
|
|
5
5
|
{{ isEditMode ? "Edit Work Order" : "Create Work Order" }}
|
|
6
6
|
</span>
|
|
7
7
|
</template>
|
|
@@ -24,8 +24,7 @@
|
|
|
24
24
|
item-props
|
|
25
25
|
label="Subject"
|
|
26
26
|
variant="outlined"
|
|
27
|
-
|
|
28
|
-
class="mb-2"
|
|
27
|
+
class="filter-field mb-2"
|
|
29
28
|
:clearable="
|
|
30
29
|
props.createdFrom === 'feedback' && workOrder.subject !== ''
|
|
31
30
|
? false
|
|
@@ -39,7 +38,7 @@
|
|
|
39
38
|
:custom-filter="customFilter"
|
|
40
39
|
:rules="[requiredRule]"
|
|
41
40
|
>
|
|
42
|
-
<template #label> Subject <span class="
|
|
41
|
+
<template #label> Subject <span class="form-required">*</span> </template>
|
|
43
42
|
</v-autocomplete>
|
|
44
43
|
|
|
45
44
|
<v-autocomplete
|
|
@@ -50,8 +49,7 @@
|
|
|
50
49
|
item-props
|
|
51
50
|
label="Category"
|
|
52
51
|
variant="outlined"
|
|
53
|
-
|
|
54
|
-
class="mb-2"
|
|
52
|
+
class="filter-field mb-2"
|
|
55
53
|
:clearable="
|
|
56
54
|
props.createdFrom === 'feedback' && workOrder.category !== ''
|
|
57
55
|
? false
|
|
@@ -64,12 +62,12 @@
|
|
|
64
62
|
"
|
|
65
63
|
:rules="[requiredRule]"
|
|
66
64
|
>
|
|
67
|
-
<template #label> Category <span class="
|
|
65
|
+
<template #label> Category <span class="form-required">*</span> </template>
|
|
68
66
|
</v-autocomplete>
|
|
69
67
|
|
|
70
68
|
<v-checkbox v-model="workOrder.highPriority" density="compact" class="ma-0">
|
|
71
69
|
<template #label>
|
|
72
|
-
<span class="
|
|
70
|
+
<span class="form-check-label">
|
|
73
71
|
Set work order as High Priority (Optional)
|
|
74
72
|
</span>
|
|
75
73
|
</template>
|
|
@@ -98,14 +96,13 @@
|
|
|
98
96
|
<v-autocomplete
|
|
99
97
|
label="Unit"
|
|
100
98
|
variant="outlined"
|
|
101
|
-
|
|
99
|
+
class="filter-field mt-1"
|
|
102
100
|
v-model="workOrder.unit"
|
|
103
101
|
:items="units"
|
|
104
|
-
class="mt-1"
|
|
105
102
|
clearable
|
|
106
103
|
:rules="[requiredRule]"
|
|
107
104
|
>
|
|
108
|
-
<template #label> Unit <span class="
|
|
105
|
+
<template #label> Unit <span class="form-required">*</span> </template>
|
|
109
106
|
</v-autocomplete>
|
|
110
107
|
|
|
111
108
|
<!-- <v-text-field
|
|
@@ -125,23 +122,21 @@
|
|
|
125
122
|
<v-textarea
|
|
126
123
|
label="Work Order Description"
|
|
127
124
|
variant="outlined"
|
|
128
|
-
|
|
125
|
+
class="filter-field mt-1"
|
|
129
126
|
v-model="workOrder.description"
|
|
130
|
-
class="mt-1"
|
|
131
127
|
rows="4"
|
|
132
128
|
clearable
|
|
133
129
|
auto-grow
|
|
134
130
|
:rules="[requiredRule]"
|
|
135
131
|
>
|
|
136
|
-
<template #label> Description <span class="
|
|
132
|
+
<template #label> Description <span class="form-required">*</span> </template>
|
|
137
133
|
</v-textarea>
|
|
138
134
|
|
|
139
135
|
<template #footer>
|
|
140
136
|
<v-btn
|
|
141
|
-
|
|
142
|
-
|
|
137
|
+
class="screen-btn-primary mb-4"
|
|
138
|
+
variant="flat"
|
|
143
139
|
block
|
|
144
|
-
height="40"
|
|
145
140
|
:loading="loading"
|
|
146
141
|
:disabled="loading || !isFormValid"
|
|
147
142
|
@click="submitWorkOrder"
|
|
@@ -282,3 +277,17 @@ const customFilter = (value: string, query: string, item: any) => {
|
|
|
282
277
|
return title.includes(search) || subtitle.includes(search);
|
|
283
278
|
};
|
|
284
279
|
</script>
|
|
280
|
+
|
|
281
|
+
<style scoped>
|
|
282
|
+
/* The required star was `text-red`, a Vuetify palette word rather than the
|
|
283
|
+
design's error token. */
|
|
284
|
+
.form-required {
|
|
285
|
+
color: var(--err);
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
.form-check-label {
|
|
289
|
+
font-family: var(--font-sans);
|
|
290
|
+
font-size: var(--fs-cell);
|
|
291
|
+
color: var(--text);
|
|
292
|
+
}
|
|
293
|
+
</style>
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@7365admin1/layer-common",
|
|
3
3
|
"license": "MIT",
|
|
4
4
|
"type": "module",
|
|
5
|
-
"version": "3.2.2-staging.
|
|
5
|
+
"version": "3.2.2-staging.129",
|
|
6
6
|
"author": "7365admin1",
|
|
7
7
|
"main": "./nuxt.config.ts",
|
|
8
8
|
"//files": "What a consumer extending this layer actually loads. Without this npm ships the whole working tree - the changesets, the CI workflows, the render harness in tools/ and any scratch directory that happened to exist at publish time. Nuxt resolves a layer by directory, so every runtime directory below has to stay listed; adding a new top-level runtime directory means adding it here too.",
|