@farm-investimentos/front-mfe-components 1.5.3 → 2.0.0
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/front-mfe-components.common.js +273 -253
- package/dist/front-mfe-components.common.js.map +1 -1
- package/dist/front-mfe-components.css +1 -1
- package/dist/front-mfe-components.umd.js +273 -253
- package/dist/front-mfe-components.umd.js.map +1 -1
- package/dist/front-mfe-components.umd.min.js +1 -1
- package/dist/front-mfe-components.umd.min.js.map +1 -1
- package/package.json +1 -1
- package/src/components/Buttons/{Export.stories.js → ExportButton/ExportButton.stories.js} +1 -1
- package/src/components/Buttons/{Export.vue → ExportButton/ExportButton.vue} +4 -3
- package/src/components/Buttons/ExportButton/index.js +4 -0
- package/src/components/Buttons/{Import.stories.js → ImportButton/ImportButton.stories.js} +1 -1
- package/src/components/Buttons/{Import.vue → ImportButton/ImportButton.vue} +4 -3
- package/src/components/Buttons/ImportButton/index.js +4 -0
- package/src/components/Buttons/{Remove.stories.js → RemoveButton/RemoveButton.stories.js} +1 -1
- package/src/components/Buttons/{Remove.vue → RemoveButton/RemoveButton.vue} +4 -3
- package/src/components/Buttons/RemoveButton/index.js +4 -0
- package/src/components/Buttons/{Toggle.stories.js → ToggleButton/ToggleButton.stories.js} +1 -1
- package/src/components/Buttons/{Toggle.vue → ToggleButton/ToggleButton.vue} +4 -3
- package/src/components/Buttons/ToggleButton/index.js +4 -0
- package/src/main.js +5 -10
package/package.json
CHANGED
|
@@ -52,6 +52,7 @@
|
|
|
52
52
|
</v-menu>
|
|
53
53
|
</template>
|
|
54
54
|
<script>
|
|
55
|
+
import Vue from 'vue';
|
|
55
56
|
import VBtn from 'vuetify/lib/components/VBtn';
|
|
56
57
|
import VIcon from 'vuetify/lib/components/VIcon';
|
|
57
58
|
import VList from 'vuetify/lib/components/VList/VList';
|
|
@@ -61,8 +62,8 @@ import { VListItemContent, VListItemTitle } from 'vuetify/lib';
|
|
|
61
62
|
/**
|
|
62
63
|
* Botão de Exportação, com opção de gerar menu dropdown
|
|
63
64
|
*/
|
|
64
|
-
export default {
|
|
65
|
-
name: '
|
|
65
|
+
export default Vue.extend({
|
|
66
|
+
name: 'farm-btn-export',
|
|
66
67
|
props: {
|
|
67
68
|
/**
|
|
68
69
|
* Lista de opções para o menu dropdown
|
|
@@ -99,7 +100,7 @@ export default {
|
|
|
99
100
|
this.$emit('onClick', key);
|
|
100
101
|
},
|
|
101
102
|
},
|
|
102
|
-
};
|
|
103
|
+
});
|
|
103
104
|
</script>
|
|
104
105
|
<style scoped lang="scss">
|
|
105
106
|
.v-btn {
|
|
@@ -5,10 +5,11 @@
|
|
|
5
5
|
</v-btn>
|
|
6
6
|
</template>
|
|
7
7
|
<script>
|
|
8
|
+
import Vue from 'vue';
|
|
8
9
|
import VBtn from 'vuetify/lib/components/VBtn';
|
|
9
10
|
import VIcon from 'vuetify/lib/components/VIcon';
|
|
10
|
-
export default {
|
|
11
|
-
name: '
|
|
11
|
+
export default Vue.extend({
|
|
12
|
+
name: 'farm-btn-import',
|
|
12
13
|
components: {
|
|
13
14
|
VBtn,
|
|
14
15
|
VIcon,
|
|
@@ -27,7 +28,7 @@ export default {
|
|
|
27
28
|
this.$emit('onClick');
|
|
28
29
|
},
|
|
29
30
|
},
|
|
30
|
-
};
|
|
31
|
+
});
|
|
31
32
|
</script>
|
|
32
33
|
<style scoped lang="scss">
|
|
33
34
|
.v-btn.v-btn--import {
|
|
@@ -12,10 +12,11 @@
|
|
|
12
12
|
</v-btn>
|
|
13
13
|
</template>
|
|
14
14
|
<script>
|
|
15
|
+
import Vue from 'vue';
|
|
15
16
|
import VBtn from 'vuetify/lib/components/VBtn';
|
|
16
17
|
import VIcon from 'vuetify/lib/components/VIcon';
|
|
17
|
-
export default {
|
|
18
|
-
name: '
|
|
18
|
+
export default Vue.extend({
|
|
19
|
+
name: 'farm-btn-remove',
|
|
19
20
|
props: {
|
|
20
21
|
/**
|
|
21
22
|
* Label do botão
|
|
@@ -41,7 +42,7 @@ export default {
|
|
|
41
42
|
this.$emit('onClick');
|
|
42
43
|
},
|
|
43
44
|
},
|
|
44
|
-
};
|
|
45
|
+
});
|
|
45
46
|
</script>
|
|
46
47
|
<style scoped lang="scss">
|
|
47
48
|
.v-btn {
|
|
@@ -17,13 +17,14 @@
|
|
|
17
17
|
</v-btn>
|
|
18
18
|
</template>
|
|
19
19
|
<script>
|
|
20
|
+
import Vue from 'vue';
|
|
20
21
|
import VBtn from 'vuetify/lib/components/VBtn';
|
|
21
22
|
import VIcon from 'vuetify/lib/components/VIcon';
|
|
22
23
|
/**
|
|
23
24
|
* Botão de Toggle, emitindo e guardando status
|
|
24
25
|
*/
|
|
25
|
-
export default {
|
|
26
|
-
name: '
|
|
26
|
+
export default Vue.extend({
|
|
27
|
+
name: 'farm-btn-toggle',
|
|
27
28
|
components: {
|
|
28
29
|
VBtn,
|
|
29
30
|
VIcon,
|
|
@@ -79,7 +80,7 @@ export default {
|
|
|
79
80
|
return this.position === 'left';
|
|
80
81
|
},
|
|
81
82
|
},
|
|
82
|
-
};
|
|
83
|
+
});
|
|
83
84
|
</script>
|
|
84
85
|
<style scoped lang="scss">
|
|
85
86
|
.v-btn {
|
package/src/main.js
CHANGED
|
@@ -14,14 +14,8 @@ import ManagersList from './components/ManagersList';
|
|
|
14
14
|
import PromptUserToConfirm from './components/PromptUserToConfirm';
|
|
15
15
|
import ModalPromptUser from './components/ModalPromptUser';
|
|
16
16
|
|
|
17
|
-
import ExportButton from './components/Buttons/Export';
|
|
18
|
-
import ImportButton from './components/Buttons/Import';
|
|
19
|
-
import ToggleButton from './components/Buttons/Toggle';
|
|
20
|
-
import RemoveButton from './components/Buttons/Remove';
|
|
21
|
-
|
|
22
17
|
import TableContextMenu from './components/TableContextMenu';
|
|
23
18
|
|
|
24
|
-
|
|
25
19
|
export {
|
|
26
20
|
DataTableEmptyWrapper,
|
|
27
21
|
DataTablePaginator,
|
|
@@ -31,10 +25,6 @@ export {
|
|
|
31
25
|
Tabs,
|
|
32
26
|
DialogHeader,
|
|
33
27
|
DialogFooter,
|
|
34
|
-
ExportButton,
|
|
35
|
-
ImportButton,
|
|
36
|
-
ToggleButton,
|
|
37
|
-
RemoveButton,
|
|
38
28
|
AlertReload,
|
|
39
29
|
DefaultTextField,
|
|
40
30
|
RangeDatePicker,
|
|
@@ -44,3 +34,8 @@ export {
|
|
|
44
34
|
TableContextMenu,
|
|
45
35
|
ModalPromptUser,
|
|
46
36
|
};
|
|
37
|
+
|
|
38
|
+
export * from './components/Buttons/ExportButton/';
|
|
39
|
+
export * from './components/Buttons/ImportButton/';
|
|
40
|
+
export * from './components/Buttons/ToggleButton/';
|
|
41
|
+
export * from './components/Buttons/RemoveButton/';
|