@monoui/vuejs 1.1.64 → 1.1.65
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/main.js +5 -5
- package/package.json +1 -1
- package/src/components/Table/Table.vue +11 -3
package/package.json
CHANGED
|
@@ -267,10 +267,18 @@
|
|
|
267
267
|
Export
|
|
268
268
|
</template>
|
|
269
269
|
|
|
270
|
-
<b-dropdown-item @click="
|
|
270
|
+
<b-dropdown-item @click="exportTo(1)">
|
|
271
|
+
Current Page
|
|
272
|
+
</b-dropdown-item>
|
|
273
|
+
|
|
274
|
+
<b-dropdown-item @click="exportTo(0)">
|
|
271
275
|
All Pages
|
|
272
276
|
</b-dropdown-item>
|
|
273
277
|
|
|
278
|
+
<b-dropdown-item @click="exportTo(2)">
|
|
279
|
+
Only Filtered
|
|
280
|
+
</b-dropdown-item>
|
|
281
|
+
|
|
274
282
|
<slot name="pagination-export-item"></slot>
|
|
275
283
|
</b-dropdown>
|
|
276
284
|
</template>
|
|
@@ -1131,8 +1139,8 @@ export default {
|
|
|
1131
1139
|
}
|
|
1132
1140
|
},
|
|
1133
1141
|
|
|
1134
|
-
exportTo(scope) {
|
|
1135
|
-
this.getValues(true, false, true, scope);
|
|
1142
|
+
async exportTo(scope) {
|
|
1143
|
+
await this.getValues(true, false, true, scope);
|
|
1136
1144
|
}
|
|
1137
1145
|
}
|
|
1138
1146
|
};
|