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

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,13 @@
184
184
  column. See `columnsAreWeighted` below.
185
185
  -->
186
186
  <v-data-table
187
+ v-model="selectedItems"
187
188
  :class="columnsAreWeighted ? 'table-card__fixed' : undefined"
188
189
  :headers="tableHeaders"
189
190
  :items="items"
190
191
  :item-value="itemValue"
191
192
  :items-per-page="itemsPerPage"
193
+ :show-select="showSelect"
192
194
  fixed-header
193
195
  hide-default-footer
194
196
  :hide-default-header="!showHeader"
@@ -282,6 +284,10 @@ const props = defineProps({
282
284
  type: Boolean,
283
285
  default: false,
284
286
  },
287
+ showSelect: {
288
+ type: Boolean,
289
+ default: false,
290
+ },
285
291
  extensionHeight: {
286
292
  type: Number,
287
293
  default: 50,
@@ -344,6 +350,10 @@ const emits = defineEmits([
344
350
  ]);
345
351
 
346
352
  const searchInput = defineModel("search", { default: "" });
353
+ const selectedItems = defineModel("selected", {
354
+ type: Array as PropType<any[]>,
355
+ default: () => [],
356
+ });
347
357
 
348
358
  const internalPage = ref(props.page);
349
359
  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.202",
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.",