quasar-ui-danx 0.0.45 → 0.0.46
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/package.json
CHANGED
@@ -0,0 +1,22 @@
|
|
1
|
+
<template>
|
2
|
+
<div>
|
3
|
+
<div class="text-xs font-bold">{{ label }}</div>
|
4
|
+
<div :class="{'mt-2': !dense, 'mt-1': dense, 'text-no-wrap': nowrap}">
|
5
|
+
<slot>{{ value || "-" }}</slot>
|
6
|
+
</div>
|
7
|
+
</div>
|
8
|
+
</template>
|
9
|
+
<script setup>
|
10
|
+
defineProps({
|
11
|
+
label: {
|
12
|
+
type: String,
|
13
|
+
required: true
|
14
|
+
},
|
15
|
+
value: {
|
16
|
+
type: [String, Number],
|
17
|
+
default: "-"
|
18
|
+
},
|
19
|
+
dense: Boolean,
|
20
|
+
nowrap: Boolean
|
21
|
+
});
|
22
|
+
</script>
|
@@ -2,3 +2,4 @@ export { default as AddressFormat } from "./AddressFormat.vue";
|
|
2
2
|
export { default as FlatListFormat } from "./FlatListFormat.vue";
|
3
3
|
export { default as GpsCoordinatesFormat } from "./GpsCoordinatesFormat.vue";
|
4
4
|
export { default as IconWithTextFormat } from "./IconWithTextFormat.vue";
|
5
|
+
export { default as LabelValueFormat } from "./LabelValueFormat.vue";
|