@hostlink/nuxt-light 1.23.4 → 1.23.6

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
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "light",
3
3
  "configKey": "light",
4
- "version": "1.23.4",
4
+ "version": "1.23.5",
5
5
  "builder": {
6
6
  "@nuxt/module-builder": "0.8.4",
7
7
  "unbuild": "2.0.0"
@@ -21,7 +21,7 @@ if (modelValue.value.mode != 'prod') {
21
21
  }
22
22
 
23
23
  //split the custom_field_models by comma
24
- if (modelValue.value.custom_field_models != "") {
24
+ if (modelValue.value.custom_field_models) {
25
25
  modelValue.value.custom_field_models = modelValue.value.custom_field_models.split(',')
26
26
  } else {
27
27
  modelValue.value.custom_field_models = []
@@ -76,7 +76,7 @@ const cursor = ref('cursor-grab');
76
76
  <template>
77
77
  <FormKit type="list" v-model="localValue" dynamic #default="{ items, node }" :name="node.name">
78
78
  <q-list bordered separator ref="parent">
79
- <FormKit type="group" v-for="(item, index) in items" :index="index" :key="item">
79
+ <FormKit type="group" v-for="(item, index) in items" :index="index" :key="item" #default="{ node }">
80
80
  <q-item class="q-pa-xs">
81
81
  <q-item-section avatar class="">
82
82
  <div class="l-repeater-handle" v-if="sortable" :class="cursor" @mousedown="cursor = 'cursor-grabbing'"
@@ -94,7 +94,7 @@ const cursor = ref('cursor-grab');
94
94
  <q-btn type="button" @click="onMoveUp(index)" icon="sym_o_arrow_upward" :color="$light.color"
95
95
  dense flat :disable="!isAllowMoveUp(index)" />
96
96
 
97
- <q-btn type="button" @click="onRemove" icon="sym_o_delete" :color="$light.color" dense
97
+ <q-btn type="button" @click="onRemove(index)" icon="sym_o_delete" :color="$light.color" dense
98
98
  :disable="!isAllowRemove" flat />
99
99
  <!-- down -->
100
100
  <q-btn type="button" @click="onMoveDown(index)" icon="sym_o_arrow_downward"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hostlink/nuxt-light",
3
- "version": "1.23.4",
3
+ "version": "1.23.6",
4
4
  "description": "HostLink Nuxt Light Framework",
5
5
  "repository": {
6
6
  "type": "git",