@7365admin1/layer-common 3.2.8-staging.200 → 3.2.8-staging.201

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.
@@ -184,11 +184,14 @@
184
184
  column. See `columnsAreWeighted` below.
185
185
  -->
186
186
  <v-data-table
187
+ v-model="selectedItems"
188
+ :headers="headers"
187
189
  :class="columnsAreWeighted ? 'table-card__fixed' : undefined"
188
190
  :headers="tableHeaders"
189
191
  :items="items"
190
192
  :item-value="itemValue"
191
193
  :items-per-page="itemsPerPage"
194
+ :show-select="showSelect"
192
195
  fixed-header
193
196
  hide-default-footer
194
197
  :hide-default-header="!showHeader"
@@ -282,6 +285,10 @@ const props = defineProps({
282
285
  type: Boolean,
283
286
  default: false,
284
287
  },
288
+ showSelect: {
289
+ type: Boolean,
290
+ default: false,
291
+ },
285
292
  extensionHeight: {
286
293
  type: Number,
287
294
  default: 50,
@@ -344,6 +351,10 @@ const emits = defineEmits([
344
351
  ]);
345
352
 
346
353
  const searchInput = defineModel("search", { default: "" });
354
+ const selectedItems = defineModel("selected", {
355
+ type: Array as PropType<any[]>,
356
+ default: () => [],
357
+ });
347
358
 
348
359
  const internalPage = ref(props.page);
349
360
  watch(
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@7365admin1/layer-common",
3
3
  "license": "MIT",
4
4
  "type": "module",
5
- "version": "3.2.8-staging.200",
5
+ "version": "3.2.8-staging.201",
6
6
  "author": "7365admin1",
7
7
  "main": "./nuxt.config.ts",
8
8
  "//files": "What a consumer extending this layer actually loads. Without this npm ships the whole working tree - the changesets, the CI workflows, the render harness in tools/ and any scratch directory that happened to exist at publish time. Nuxt resolves a layer by directory, so every runtime directory below has to stay listed; adding a new top-level runtime directory means adding it here too.",