@hostlink/nuxt-light 0.0.84 → 0.0.86
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 +1 -1
- package/dist/runtime/components/l-list.vue +4 -4
- package/dist/runtime/lib/getModelField.d.ts +2 -0
- package/dist/runtime/lib/getModelField.mjs +2 -0
- package/dist/runtime/lib/getModelFields.d.ts +2 -1
- package/dist/runtime/lib/getModelFields.mjs +1 -1
- package/dist/runtime/lib/index.d.ts +3 -3
- package/dist/runtime/lib/index.mjs +2 -2
- package/package.json +1 -1
package/dist/module.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
<script setup
|
|
2
|
-
|
|
1
|
+
<script setup>
|
|
2
|
+
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
const props = defineProps({
|
|
@@ -7,7 +7,7 @@ const props = defineProps({
|
|
|
7
7
|
type: Object
|
|
8
8
|
},
|
|
9
9
|
fields: {
|
|
10
|
-
type: Array
|
|
10
|
+
type: Array
|
|
11
11
|
}
|
|
12
12
|
})
|
|
13
13
|
|
|
@@ -16,7 +16,7 @@ const props = defineProps({
|
|
|
16
16
|
<q-list bordered separator>
|
|
17
17
|
<template v-if="fields">
|
|
18
18
|
<l-item v-for="field in fields" :label="field.getRaw().label">
|
|
19
|
-
{{ field.getFormattedValue(props.modelValue
|
|
19
|
+
{{ field.getFormattedValue(props.modelValue) }}
|
|
20
20
|
</l-item>
|
|
21
21
|
|
|
22
22
|
</template>
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
declare const _default: (model: string, names: string[]) => any;
|
|
2
|
+
export default _default;
|
|
@@ -15,10 +15,10 @@ import listObject from "./listObject";
|
|
|
15
15
|
import loadObject from "./loadObject";
|
|
16
16
|
import isGranted from "./isGranted";
|
|
17
17
|
import GQLFieldBuilder from "./GQLFieldBuilder";
|
|
18
|
-
import
|
|
19
|
-
import
|
|
18
|
+
import getModelField from './getModelField';
|
|
19
|
+
import getModelFields from './getModelFields';
|
|
20
20
|
import getModelColumns from './getModelColumns';
|
|
21
21
|
declare const notify: (message: string, color?: string) => void;
|
|
22
22
|
import getID from "./getID";
|
|
23
23
|
declare const getApiBase: () => {};
|
|
24
|
-
export { addObject, f, getApiUrl, getCurrentUser, getObject, list, listData, m, q, removeObject, t, updateObject, notify, getID, deleteObject, listObject, isGranted, getApiBase, loadObject, GQLFieldBuilder, getModelField, getModelFields, getModelColumns };
|
|
24
|
+
export { addObject, f, getApiUrl, getCurrentUser, getObject, list, listData, m, q, removeObject, t, updateObject, notify, getID, deleteObject, listObject, isGranted, getApiBase, loadObject, GQLFieldBuilder, getModelField, getModelFields, getModelColumns, };
|
|
@@ -17,8 +17,8 @@ import listObject from "./listObject.mjs";
|
|
|
17
17
|
import loadObject from "./loadObject.mjs";
|
|
18
18
|
import isGranted from "./isGranted.mjs";
|
|
19
19
|
import GQLFieldBuilder from "./GQLFieldBuilder.mjs";
|
|
20
|
-
import
|
|
21
|
-
import
|
|
20
|
+
import getModelField from "./getModelField.mjs";
|
|
21
|
+
import getModelFields from "./getModelFields.mjs";
|
|
22
22
|
import getModelColumns from "./getModelColumns.mjs";
|
|
23
23
|
const notify = function(message, color = "green") {
|
|
24
24
|
Notify.create({
|