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>
@@ -43,7 +43,6 @@ export default defineComponent({
43
43
  top: 20px;
44
44
  }
45
45
  .file-input .v-field__append-inner {
46
- padding-top: 18px;
47
46
  padding-right: 6px;
48
47
  }
49
48
  .file-input .v-field__append-inner i {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hl-core",
3
- "version": "0.0.9-beta.1",
3
+ "version": "0.0.9-beta.2",
4
4
  "license": "MIT",
5
5
  "private": false,
6
6
  "main": "nuxt.config.ts",
@@ -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 && Object.keys(constants.actions).includes(action)) {
1862
+ if (action) {
1863
1863
  this.isButtonsLoading = true;
1864
1864
  switch (action) {
1865
1865
  case constants.actions.claim: {