@hostlink/nuxt-light 1.10.20 → 1.10.21
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
CHANGED
|
@@ -9,6 +9,7 @@ import { toQuery } from '@hostlink/light';
|
|
|
9
9
|
const minimized = defineModel<boolean>("minimized", { default: false })
|
|
10
10
|
const maximized = defineModel<boolean>("maximized", { default: false })
|
|
11
11
|
|
|
12
|
+
|
|
12
13
|
// extends QTableColumn
|
|
13
14
|
export interface LTableColumn extends QTableColumn {
|
|
14
15
|
searchable?: boolean,
|
|
@@ -520,6 +521,13 @@ const computedColumns = computed(() => {
|
|
|
520
521
|
})
|
|
521
522
|
|
|
522
523
|
|
|
524
|
+
function requestServerInteraction() {
|
|
525
|
+
table.value && table.value.requestServerInteraction();
|
|
526
|
+
}
|
|
527
|
+
|
|
528
|
+
defineExpose({
|
|
529
|
+
requestServerInteraction
|
|
530
|
+
})
|
|
523
531
|
|
|
524
532
|
</script>
|
|
525
533
|
|
|
@@ -541,8 +549,8 @@ const computedColumns = computed(() => {
|
|
|
541
549
|
v-model:pagination="pagination" :filter="filter" v-model:selected="localSelected">
|
|
542
550
|
|
|
543
551
|
|
|
544
|
-
|
|
545
|
-
|
|
552
|
+
|
|
553
|
+
|
|
546
554
|
|
|
547
555
|
<template #header="props">
|
|
548
556
|
<q-tr :props="props">
|
|
@@ -17,13 +17,14 @@ const columns = model("User").columns({
|
|
|
17
17
|
})
|
|
18
18
|
|
|
19
19
|
const status = ref("0");
|
|
20
|
+
|
|
20
21
|
</script>
|
|
21
22
|
|
|
22
23
|
<template>
|
|
23
24
|
<l-page>
|
|
24
25
|
<l-tabs v-model="status">
|
|
25
26
|
<l-tab label="Active" name="0">
|
|
26
|
-
<l-table row-key="user_id" @request="onRequest" :columns="columns"
|
|
27
|
+
<l-table ref="table" row-key="user_id" @request="onRequest" :columns="columns"
|
|
27
28
|
:actions="['view', 'edit', 'delete']"></l-table>
|
|
28
29
|
</l-tab>
|
|
29
30
|
<l-tab label="Inactive" name="1">
|