easycomponentstools 1.0.0-dev.11 → 1.0.0-dev.13

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "easycomponentstools",
3
3
  "private": false,
4
- "version": "1.0.0-dev.11",
4
+ "version": "1.0.0-dev.13",
5
5
  "type": "module",
6
6
  "description": "Easy Vue Components",
7
7
  "keywords": [
@@ -53,7 +53,7 @@
53
53
  "@tmcw/togeojson": "^7.1.2",
54
54
  "@types/google.maps": "^3.65.0",
55
55
  "json-as-xlsx": "^2.5.6",
56
- "lucide-static": "^0.426.0",
56
+ "lucide-static": "^0.577.0",
57
57
  "moment-timezone": "^0.6.2",
58
58
  "pdfmake": "^0.3.6",
59
59
  "print-js": "^1.6.0",
@@ -104,12 +104,12 @@
104
104
  <v-row>
105
105
  <v-col class="d-flex justify-start">
106
106
  <v-btn color="error" variant="flat" @click="dialog = false">
107
- {{ $i18n.t('message.cancel') }}
107
+ {{ $i18n.t('table.cancel') }}
108
108
  </v-btn>
109
109
  </v-col>
110
110
  <v-col class="d-flex justify-end">
111
111
  <v-btn color="success" variant="flat" @click="submit">
112
- {{ $i18n.t('message.submit') }}
112
+ {{ $i18n.t('table.submit') }}
113
113
  </v-btn>
114
114
  </v-col>
115
115
  </v-row>
@@ -46,14 +46,13 @@ export default function useDataTableExport() {
46
46
  if (!response.ok) {
47
47
  throw new Error(`Error: ${response.status}`)
48
48
  }
49
- const data = response.json()
49
+ const data = await response.json()
50
50
  allPrintableItems.value = 'data' in data ? data.data : data
51
51
  } catch (e) {
52
52
  console.error('Failed Export Error', e)
53
53
  }
54
54
  }
55
55
  const prepareExport = () => {
56
- console.log(allPrintableItems.value)
57
56
  allPrintableItems.value.map((item: any, index: number) => {
58
57
  for (const headKey in headers.value) {
59
58
  if (