@eturnity/eturnity_reusable_components 1.0.17 → 1.0.18
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
package/src/App.vue
CHANGED
|
@@ -1,7 +1,24 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<ThemeProvider :theme="getTheme()" :style="{ height: '100%' }">
|
|
3
3
|
<page-container>
|
|
4
|
-
<
|
|
4
|
+
<main-table>
|
|
5
|
+
<thead>
|
|
6
|
+
<tr>
|
|
7
|
+
<th>Column 1</th>
|
|
8
|
+
<th>Column 2</th>
|
|
9
|
+
<th>Column 3</th>
|
|
10
|
+
<th>Column 4</th>
|
|
11
|
+
</tr>
|
|
12
|
+
</thead>
|
|
13
|
+
<tbody>
|
|
14
|
+
<tr>
|
|
15
|
+
<td class="text">Body 1</td>
|
|
16
|
+
<td class="text">Body 2</td>
|
|
17
|
+
<td class="text">Body 3</td>
|
|
18
|
+
<td class="text">Body 4</td>
|
|
19
|
+
</tr>
|
|
20
|
+
</tbody>
|
|
21
|
+
</main-table>
|
|
5
22
|
</page-container>
|
|
6
23
|
</ThemeProvider>
|
|
7
24
|
</template>
|
|
@@ -10,7 +27,7 @@
|
|
|
10
27
|
import { ThemeProvider } from "vue-styled-components"
|
|
11
28
|
import theme from "./assets/theme"
|
|
12
29
|
import styled from "vue-styled-components"
|
|
13
|
-
import
|
|
30
|
+
import MainTable from "@/components/tables/mainTable"
|
|
14
31
|
|
|
15
32
|
const PageContainer = styled.div`
|
|
16
33
|
padding: 40px;
|
|
@@ -21,7 +38,7 @@ export default {
|
|
|
21
38
|
components: {
|
|
22
39
|
ThemeProvider,
|
|
23
40
|
PageContainer,
|
|
24
|
-
|
|
41
|
+
MainTable,
|
|
25
42
|
},
|
|
26
43
|
data() {
|
|
27
44
|
return {
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
<svg width="10" height="16" viewBox="0 0 10 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M4 2C4 3.10457 3.10457 4 2 4C0.89543 4 0 3.10457 0 2C0 0.89543 0.89543 0 2 0C3.10457 0 4 0.89543 4 2Z" fill="#B2B9C5"/>
|
|
3
|
+
<path d="M10 2C10 3.10457 9.10457 4 8 4C6.89543 4 6 3.10457 6 2C6 0.89543 6.89543 0 8 0C9.10457 0 10 0.89543 10 2Z" fill="#B2B9C5"/>
|
|
4
|
+
<path d="M4 8C4 9.10457 3.10457 10 2 10C0.89543 10 0 9.10457 0 8C0 6.89543 0.89543 6 2 6C3.10457 6 4 6.89543 4 8Z" fill="#B2B9C5"/>
|
|
5
|
+
<path d="M10 8C10 9.10457 9.10457 10 8 10C6.89543 10 6 9.10457 6 8C6 6.89543 6.89543 6 8 6C9.10457 6 10 6.89543 10 8Z" fill="#B2B9C5"/>
|
|
6
|
+
<path d="M4 14C4 15.1046 3.10457 16 2 16C0.89543 16 0 15.1046 0 14C0 12.8954 0.89543 12 2 12C3.10457 12 4 12.8954 4 14Z" fill="#B2B9C5"/>
|
|
7
|
+
<path d="M10 14C10 15.1046 9.10457 16 8 16C6.89543 16 6 15.1046 6 14C6 12.8954 6.89543 12 8 12C9.10457 12 10 12.8954 10 14Z" fill="#B2B9C5"/>
|
|
8
|
+
</svg>
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<spinner-container v-if="fullWidth">
|
|
3
3
|
<container>
|
|
4
|
-
<spinner-wrapper :src="require('../../assets/icons/
|
|
4
|
+
<spinner-wrapper :src="require('../../assets/icons/black_spinner.svg')" />
|
|
5
5
|
</container>
|
|
6
6
|
</spinner-container>
|
|
7
7
|
<container v-else>
|
|
8
|
-
<spinner-wrapper :src="require('../../assets/icons/
|
|
8
|
+
<spinner-wrapper :src="require('../../assets/icons/black_spinner.svg')" />
|
|
9
9
|
</container>
|
|
10
10
|
</template>
|
|
11
11
|
|
|
@@ -193,7 +193,7 @@ const TableContainer = styled.table`
|
|
|
193
193
|
cursor: grab;
|
|
194
194
|
background-position: center;
|
|
195
195
|
background-image: ${() =>
|
|
196
|
-
`url(${require("
|
|
196
|
+
`url(${require("../../../assets/icons/drag_icon.svg")})`};
|
|
197
197
|
|
|
198
198
|
&:active {
|
|
199
199
|
cursor: grabbing;
|
|
@@ -206,7 +206,7 @@ const TableContainer = styled.table`
|
|
|
206
206
|
background: no-repeat;
|
|
207
207
|
margin-left: 10px;
|
|
208
208
|
background-image: ${() =>
|
|
209
|
-
`url(${require("
|
|
209
|
+
`url(${require("../../../assets/icons/subposition_icon.svg")})`};
|
|
210
210
|
}
|
|
211
211
|
|
|
212
212
|
.arrow-down {
|
|
@@ -215,7 +215,7 @@ const TableContainer = styled.table`
|
|
|
215
215
|
background: no-repeat;
|
|
216
216
|
background-position: center;
|
|
217
217
|
background-image: ${() =>
|
|
218
|
-
`url(${require("
|
|
218
|
+
`url(${require("../../../assets/icons/arrow_down.svg")})`};
|
|
219
219
|
}
|
|
220
220
|
|
|
221
221
|
.arrow-up {
|
|
@@ -224,7 +224,7 @@ const TableContainer = styled.table`
|
|
|
224
224
|
background: no-repeat;
|
|
225
225
|
background-position: center;
|
|
226
226
|
background-image: ${() =>
|
|
227
|
-
`url(${require("
|
|
227
|
+
`url(${require("../../../assets/icons/arrow_up_red.svg")})`};
|
|
228
228
|
}
|
|
229
229
|
}
|
|
230
230
|
|