@ramathibodi/nuxt-commons 0.1.3 → 0.1.5

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/dist/module.json CHANGED
@@ -4,5 +4,5 @@
4
4
  "compatibility": {
5
5
  "nuxt": "^3.0.0"
6
6
  },
7
- "version": "0.1.3"
7
+ "version": "0.1.5"
8
8
  }
@@ -1,6 +1,6 @@
1
1
  <script setup lang="ts">
2
2
  import { ref } from 'vue'
3
- import { VCard } from 'vuetify/components/VCard'
3
+ import { VCard } from 'vuetify/components/VCard'
4
4
 
5
5
  const isResizing = ref(false)
6
6
  const pane1Width = ref('50%')
@@ -29,31 +29,31 @@ const resize = (event: MouseEvent) => {
29
29
 
30
30
  <template>
31
31
  <v-card :="$attrs">
32
- <v-sheet
33
- border
34
- :height="height"
32
+ <v-sheet
33
+ border
34
+ :height="height"
35
35
  >
36
- <div
37
- ref="containerRef"
38
- class="d-flex"
39
- @mouseup="stopResize"
40
- @mousemove="resize"
36
+ <div
37
+ ref="containerRef"
38
+ class="d-flex"
39
+ @mouseup="stopResize"
40
+ @mousemove="resize"
41
41
  >
42
42
  <v-sheet :width="pane1Width">
43
43
  <slot name="left" />
44
44
  </v-sheet>
45
- <v-divider
46
- :thickness="3"
47
- vertical
48
- class="cursor-move"
49
- @mousedown="startResize"
45
+ <v-divider
46
+ :thickness="3"
47
+ vertical
48
+ class="cursor-move"
49
+ @mousedown="startResize"
50
50
  />
51
51
  <v-sheet :width="`calc(100% - ${pane1Width})`">
52
52
  <slot name="right" />
53
53
  </v-sheet>
54
54
  </div>
55
- </v-sheet>
56
- </v-card>
55
+ </v-sheet>
56
+ </v-card>
57
57
  </template>
58
58
 
59
59
  <style scoped>
@@ -3,3 +3,5 @@ declare module '@zxing/browser'
3
3
  declare module 'vue-signature-pad'
4
4
  declare module 'accounting'
5
5
  declare module 'pdf-vue3'
6
+ declare module "prettier"
7
+ declare module "prettier/plugins/html"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ramathibodi/nuxt-commons",
3
- "version": "0.1.3",
3
+ "version": "0.1.5",
4
4
  "description": "Ramathibodi Nuxt modules for common components",
5
5
  "repository": {
6
6
  "type": "git",
@@ -67,6 +67,7 @@
67
67
  "vue": "^3.4.25",
68
68
  "vue-signature-pad": "^3.0.2",
69
69
  "vuetify": "^3.6.8",
70
+ "prettier": "3.3.2",
70
71
  "xlsx": "https://cdn.sheetjs.com/xlsx-0.20.0/xlsx-0.20.0.tgz"
71
72
  },
72
73
  "devDependencies": {
@@ -84,7 +85,6 @@
84
85
  "eslint": "^9.1.1",
85
86
  "nuxt": "^3.11.2",
86
87
  "nuxt-lodash": "^2.5.3",
87
- "prettier": "3.3.2",
88
88
  "sass": "^1.75.0",
89
89
  "typescript": "^5.4.5",
90
90
  "vitest": "^1.5.1",