hl-core 0.0.9-beta.1 → 0.0.9-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.
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="text-left p-6 mb-4" :class="[color, $libStyles.rounded]">
|
|
3
|
+
<v-icon :icon="icon" class="mr-4"></v-icon>
|
|
4
|
+
{{ text }}
|
|
5
|
+
</div>
|
|
6
|
+
</template>
|
|
7
|
+
|
|
8
|
+
<script lang="ts">
|
|
9
|
+
export default defineComponent({
|
|
10
|
+
name: 'BaseMessageBlock',
|
|
11
|
+
props: {
|
|
12
|
+
text: {
|
|
13
|
+
type: String,
|
|
14
|
+
default: '',
|
|
15
|
+
},
|
|
16
|
+
icon: {
|
|
17
|
+
type: String,
|
|
18
|
+
default: 'mdi-alert',
|
|
19
|
+
},
|
|
20
|
+
color: {
|
|
21
|
+
type: String,
|
|
22
|
+
default: 'bg-rose-500 text-white',
|
|
23
|
+
},
|
|
24
|
+
},
|
|
25
|
+
});
|
|
26
|
+
</script>
|
package/package.json
CHANGED
package/store/data.store.ts
CHANGED
|
@@ -1859,7 +1859,7 @@ export const useDataStore = defineStore('data', {
|
|
|
1859
1859
|
},
|
|
1860
1860
|
async handleTask(action: keyof typeof constants.actions | null, taskId: string, comment: string | null = null) {
|
|
1861
1861
|
if (!this.formStore.applicationTaskId) return;
|
|
1862
|
-
if (action
|
|
1862
|
+
if (action) {
|
|
1863
1863
|
this.isButtonsLoading = true;
|
|
1864
1864
|
switch (action) {
|
|
1865
1865
|
case constants.actions.claim: {
|