nuxt-unified-ui 0.2.22 → 0.2.24

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.
@@ -18,6 +18,8 @@ const props = defineProps<{
18
18
 
19
19
  fluidBody?: boolean;
20
20
 
21
+ appendActions?: ButtonProps[];
22
+
21
23
  actions?: ( ButtonProps & { actionType?: 'button' | 'spacer' } )[];
22
24
  verticalActions?: boolean;
23
25
 
@@ -40,7 +42,13 @@ const slots = useSlots();
40
42
  :title-classes="props.titleClasses"
41
43
  :subtitle-classes="props.subtitleClasses"
42
44
  class="p-3">
43
- <template v-if="slots.append" #append>
45
+ <template v-if="slots.append || props.appendActions" #append>
46
+ <template v-for="(action, index) of props.appendActions" :key="index">
47
+ <u-button
48
+ loading-auto
49
+ v-bind="action"
50
+ />
51
+ </template>
44
52
  <slot name="append" />
45
53
  </template>
46
54
  </un-typography>
@@ -62,7 +62,8 @@ const filteredFields = computed(() => {
62
62
  <component
63
63
  :is="elementsMap[field.identifier]"
64
64
  :field="field"
65
- v-model="props.target[field.key]"
65
+ :model-value="radGet(props.target, field.key)"
66
+ @update:model-value="radSet(props.target, field.key, $event)"
66
67
  />
67
68
  </div>
68
69
  </div>
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "nuxt-unified-ui",
3
3
  "type": "module",
4
- "version": "0.2.22",
4
+ "version": "0.2.24",
5
5
  "main": "./nuxt.config.ts",
6
6
  "types": "./index.d.ts",
7
7
  "exports": {