@ramathibodi/nuxt-commons 0.1.67 → 0.1.68

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,7 +4,7 @@
4
4
  "compatibility": {
5
5
  "nuxt": "^3.0.0"
6
6
  },
7
- "version": "0.1.67",
7
+ "version": "0.1.68",
8
8
  "builder": {
9
9
  "@nuxt/module-builder": "0.8.4",
10
10
  "unbuild": "2.0.0"
@@ -73,7 +73,7 @@ const loadFormData = () => {
73
73
  formData.value = cloneDeep(formDataOriginalValue.value)
74
74
  }
75
75
  else {
76
- formData.value = Object.assign({}, props.initialData)
76
+ formData.value = Object.assign({}, cloneDeep(props.initialData))
77
77
  }
78
78
  }
79
79
 
@@ -85,7 +85,7 @@ const loadFormData = () => {
85
85
  formDataOriginalValue.value = cloneDeep(props.formData)
86
86
  }
87
87
  else {
88
- formData.value = Object.assign({}, props.initialData)
88
+ formData.value = Object.assign({}, cloneDeep(props.initialData))
89
89
  }
90
90
  isSavedAndStay.value = false
91
91
  }
@@ -78,7 +78,7 @@ const loadFormData = () => {
78
78
  formDataOriginalValue.value = cloneDeep(props.formData)
79
79
  }
80
80
  else {
81
- formData.value = Object.assign({}, props.initialData)
81
+ formData.value = Object.assign({}, cloneDeep(props.initialData))
82
82
  }
83
83
  }
84
84
 
@@ -497,8 +497,6 @@ defineExpose({
497
497
  show-first-last-page
498
498
  @first="footerProps.setPage(1)"
499
499
  @last="footerProps.setPage(footerProps.pageCount)"
500
- @next="footerProps.nextPage"
501
- @prev="footerProps.prevPage"
502
500
  @update:model-value="footerProps.setPage"
503
501
  />
504
502
  </v-row>
@@ -281,6 +281,7 @@ defineExpose({
281
281
  :disabled="disabled"
282
282
  :readonly="readonly"
283
283
  :class="$attrs.class"
284
+ autocomplete="off"
284
285
  >
285
286
  <template #default="formProvided">
286
287
  <slot
@@ -137,7 +137,8 @@ const outputText = computed(() => {
137
137
  </script>
138
138
 
139
139
  <template>
140
- <span>
141
- <i v-if="props.zeroBase" class="mdi mdi-clock-time-twelve-outline" aria-hidden="true" ></i>
142
- {{ outputText }}</span>
140
+ <span>
141
+ <i v-if="props.zeroBase" class="mdi mdi-clock-time-twelve-outline"></i>
142
+ <span v-if="props.zeroBase">&nbsp;</span>{{ outputText }}
143
+ </span>
143
144
  </template>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ramathibodi/nuxt-commons",
3
- "version": "0.1.67",
3
+ "version": "0.1.68",
4
4
  "description": "Ramathibodi Nuxt modules for common components",
5
5
  "repository": {
6
6
  "type": "git",