@hostlink/nuxt-light 1.26.12 → 1.26.13

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.26.12",
4
+ "version": "1.26.13",
5
5
  "builder": {
6
6
  "@nuxt/module-builder": "0.8.4",
7
7
  "unbuild": "2.0.0"
@@ -11,6 +11,7 @@ const node = props.context.node;
11
11
  const min = props.context.node.props.min ?? 1;
12
12
  const max = props.context.node.props.max ?? Infinity;
13
13
  const sortable = (props.context.node.props.sortable !== undefined) ? props.context.node.props.sortable : true;
14
+ const addLabel=props.context.node.props.addLabel ?? 'Add';
14
15
 
15
16
  const [parent, localValue] = useDragAndDrop(props.context.value, {
16
17
  dragHandle: ".l-repeater-handle",
@@ -104,6 +105,6 @@ const cursor = ref('cursor-grab');
104
105
  </q-item>
105
106
  </FormKit>
106
107
  </q-list>
107
- <q-btn @click="onAdd" label="Add" icon="sym_o_add" :color="$light.color" outline />
108
+ <q-btn @click="onAdd" :label="addLabel" icon="sym_o_add" :color="$light.color" outline />
108
109
  </FormKit>
109
110
  </template>
@@ -88,7 +88,7 @@ export const createLightPlugin = () => {
88
88
  case "l-repeater":
89
89
  return node.define({
90
90
  type: "input",
91
- props: ["min", "max", "sortable"],
91
+ props: ["min", "max", "sortable", "addLabel"],
92
92
  component: RepeaterVue
93
93
  });
94
94
  case "l-form":
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hostlink/nuxt-light",
3
- "version": "1.26.12",
3
+ "version": "1.26.13",
4
4
  "description": "HostLink Nuxt Light Framework",
5
5
  "repository": {
6
6
  "type": "git",