@m3ui-vue/m3ui-vue 1.3.2 → 1.3.3
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/API.md +1 -1
- package/dist/api.json +1 -1
- package/dist/m3ui.js +2 -2
- package/dist/m3ui.js.map +1 -1
- package/package.json +1 -1
- package/src/components/MFloorPlanInspector.vue +3 -3
package/package.json
CHANGED
|
@@ -74,7 +74,7 @@ function deleteCorner() {
|
|
|
74
74
|
<!-- A table -->
|
|
75
75
|
<template v-if="table">
|
|
76
76
|
<div class="flex items-center gap-2 text-title-small"><MIcon name="table_restaurant" :size="18" />{{ locale.floorTableN.replace('{label}', table.label) }}</div>
|
|
77
|
-
<div class="grid grid-cols-
|
|
77
|
+
<div class="grid grid-cols-[repeat(auto-fit,minmax(9rem,1fr))] gap-3">
|
|
78
78
|
<MTextField :model-value="table.label" :label="locale.floorLabel" variant="outlined" @update:model-value="upTable({ label: String($event) })" />
|
|
79
79
|
<MNumberField :model-value="table.seats ?? 0" :label="locale.floorSeatsField" variant="outlined" :min="0" :max="40" @update:model-value="upTable({ seats: $event ?? 0, width: undefined, height: undefined })" />
|
|
80
80
|
</div>
|
|
@@ -124,7 +124,7 @@ function deleteCorner() {
|
|
|
124
124
|
/>
|
|
125
125
|
</div>
|
|
126
126
|
</div>
|
|
127
|
-
<div class="grid grid-cols-
|
|
127
|
+
<div class="grid grid-cols-[repeat(auto-fit,minmax(9rem,1fr))] gap-3">
|
|
128
128
|
<MNumberField :model-value="Math.round(area.width)" :label="locale.floorWidth" variant="outlined" :min="10" @update:model-value="upArea({ width: $event ?? area.width })" />
|
|
129
129
|
<MNumberField :model-value="Math.round(area.height)" :label="locale.floorHeight" variant="outlined" :min="10" @update:model-value="upArea({ height: $event ?? area.height })" />
|
|
130
130
|
</div>
|
|
@@ -150,7 +150,7 @@ function deleteCorner() {
|
|
|
150
150
|
<template v-else-if="item">
|
|
151
151
|
<div class="flex items-center gap-2 text-title-small"><MIcon :name="kind?.icon ?? 'category'" :size="18" />{{ floorDecorName(item.kind, ctx.kinds.value, locale) }}</div>
|
|
152
152
|
<MTextField :model-value="item.label ?? ''" :label="locale.floorLabel" variant="outlined" @update:model-value="upDecor({ label: String($event) || undefined })" />
|
|
153
|
-
<div class="grid grid-cols-
|
|
153
|
+
<div class="grid grid-cols-[repeat(auto-fit,minmax(9rem,1fr))] gap-3">
|
|
154
154
|
<MNumberField :model-value="Math.round(item.width ?? kind?.width ?? 40)" :label="locale.floorWidth" variant="outlined" :min="4" @update:model-value="upDecor({ width: $event ?? undefined })" />
|
|
155
155
|
<MNumberField :model-value="Math.round(item.height ?? kind?.height ?? 40)" :label="locale.floorHeight" variant="outlined" :min="4" @update:model-value="upDecor({ height: $event ?? undefined })" />
|
|
156
156
|
</div>
|