@farm-investimentos/front-mfe-components 15.2.3 → 15.3.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 +2843 -1617
- package/dist/front-mfe-components.common.js.map +1 -1
- package/dist/front-mfe-components.css +2 -2
- package/dist/front-mfe-components.umd.js +2843 -1617
- 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 +5 -2
- package/src/components/AlertBox/AlertBox.vue +2 -2
- package/src/components/AlertReload/AlertReload.vue +2 -2
- package/src/components/ButtonToggle/ButtonToggle.vue +3 -2
- package/src/components/ButtonToggle/__tests__/ButtonToggle.spec.js +17 -0
- package/src/components/Buttons/ConfirmButton/ConfirmButton.vue +2 -2
- package/src/components/Buttons/DangerButton/DangerButton.vue +2 -2
- package/src/components/Buttons/DefaultButton/DefaultButton.vue +2 -2
- package/src/components/Buttons/ExportButton/ExportButton.vue +2 -2
- package/src/components/Buttons/ImportButton/ImportButton.vue +2 -2
- package/src/components/Buttons/MultiImportButton/MultiImportButton.vue +2 -2
- package/src/components/Buttons/RemoveButton/RemoveButton.vue +3 -3
- package/src/components/Buttons/ToggleButton/ToggleButton.vue +2 -2
- package/src/components/Card/Card.vue +2 -2
- package/src/components/Card/CardContent/CardContent.vue +2 -2
- package/src/components/Checkbox/Checkbox.vue +2 -2
- package/src/components/Chip/Chip.vue +2 -2
- package/src/components/ChipInviteStatus/ChipInviteStatus.vue +2 -2
- package/src/components/Collapsible/Collapsible.vue +2 -2
- package/src/components/ContextMenu/ContextMenu.vue +2 -2
- package/src/components/CopyToClipboard/CopyToClipboard.vue +2 -2
- package/src/components/DataTableEmptyWrapper/DataTableEmptyWrapper.vue +2 -2
- package/src/components/DataTableHeader/DataTableHeader.vue +2 -2
- package/src/components/DataTablePaginator/DataTablePaginator.vue +2 -2
- package/src/components/DatePicker/DatePicker.vue +2 -2
- package/src/components/DialogFooter/DialogFooter.vue +2 -2
- package/src/components/DialogHeader/DialogHeader.vue +2 -2
- package/src/components/Form/Form.vue +2 -2
- package/src/components/Icon/Icon.vue +2 -2
- package/src/components/IconBox/IconBox.vue +2 -2
- package/src/components/IdCaption/IdCaption.vue +2 -2
- package/src/components/Label/Label.vue +2 -2
- package/src/components/List/List.vue +2 -2
- package/src/components/ListItem/ListItem.vue +2 -2
- package/src/components/Loader/Loader.vue +2 -2
- package/src/components/Logger/Logger.vue +2 -2
- package/src/components/Logger/LoggerItem/LoggerItem.vue +2 -2
- package/src/components/Logos/OriginatorLogo/OriginatorLogo.vue +2 -2
- package/src/components/Logos/ProductLogo/ProductLogo.vue +2 -2
- package/src/components/MainFilter/MainFilter.vue +2 -2
- package/src/components/ManagersList/ManagersList.vue +2 -2
- package/src/components/Modal/Modal.vue +11 -2
- package/src/components/ModalPromptUser/ModalPromptUser.vue +2 -2
- package/src/components/MultipleFilePicker/MultipleFilePicker.vue +6 -6
- package/src/components/MultipleSelectShortener/MultipleSelectShortener.vue +2 -2
- package/src/components/ProgressBar/ProgressBar.vue +2 -2
- package/src/components/PromptUserToConfirm/PromptUserToConfirm.vue +2 -2
- package/src/components/Radio/Radio.vue +2 -2
- package/src/components/RadioGroup/RadioGroup.vue +2 -2
- package/src/components/RangeDatePicker/RangeDatePicker.vue +4 -3
- package/src/components/ResetTableRowSelection/ResetTableRowSelection.stories.js +1 -1
- package/src/components/ResetTableRowSelection/ResetTableRowSelection.vue +4 -10
- package/src/components/ResourceMetaInfo/ResourceMetaInfo.stories.js +19 -0
- package/src/components/ResourceMetaInfo/ResourceMetaInfo.vue +49 -9
- package/src/components/ResourceMetaInfo/__tests__/ResourceMetaInfo.spec.js +54 -0
- package/src/components/Select/Select.vue +2 -2
- package/src/components/SelectModalOptions/SelectModalOptions.vue +2 -2
- package/src/components/Stepper/StepperHeader/StepperHeader.vue +2 -2
- package/src/components/Switcher/Switcher.vue +2 -2
- package/src/components/TableContextMenu/TableContextMenu.vue +5 -3
- package/src/components/Tabs/Tabs.vue +3 -2
- package/src/components/TextArea/TextArea.vue +2 -2
- package/src/components/TextFieldV2/TextFieldV2.vue +2 -2
- package/src/components/Tooltip/Tooltip.vue +2 -2
- package/src/components/Typography/BodyText/BodyText.vue +2 -2
- package/src/components/Typography/Caption/Caption.vue +2 -2
- package/src/components/Typography/Heading/Heading.vue +2 -2
- package/src/components/Typography/OverlayText/OverlayText.vue +2 -2
- package/src/components/Typography/Small/Small.vue +2 -2
- package/src/components/Typography/Subtitle/Subtitle.vue +2 -2
- package/src/components/Typography/Typography.vue +2 -2
- package/src/components/ValueCaption/ValueCaption.vue +3 -2
- package/src/components/layout/Box/Box.vue +2 -2
- package/src/components/layout/Col/Col.vue +2 -2
- package/src/components/layout/Container/Container.vue +2 -2
- package/src/components/layout/ContainerFooter/ContainerFooter.vue +2 -2
- package/src/components/layout/Line/Line.vue +2 -2
- package/src/components/layout/Row/Row.vue +2 -2
- package/src/composition/__tests__/validateFormFieldBuilder.spec.js +26 -0
- package/src/composition/validateFormFieldBuilder.ts +2 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@farm-investimentos/front-mfe-components",
|
|
3
|
-
"version": "15.
|
|
3
|
+
"version": "15.3.0",
|
|
4
4
|
"author": "farm investimentos",
|
|
5
5
|
"private": false,
|
|
6
6
|
"main": "./dist/front-mfe-components.common.js",
|
|
@@ -22,11 +22,13 @@
|
|
|
22
22
|
"src/*"
|
|
23
23
|
],
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"core-js": "^3.
|
|
25
|
+
"core-js": "^3.6.5",
|
|
26
26
|
"vue": "2.7.10",
|
|
27
27
|
"vuetify": "^2.4.5"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
|
+
"@babel/core": "7.17.9",
|
|
31
|
+
"@babel/generator": "7.17.9",
|
|
30
32
|
"@farm-investimentos/front-mfe-libs-ts": "^1.0.9",
|
|
31
33
|
"@socheatsok78/storybook-addon-vuetify": "^0.1.9",
|
|
32
34
|
"@storybook/addon-actions": "6.5.8",
|
|
@@ -44,6 +46,7 @@
|
|
|
44
46
|
"@vue/eslint-config-typescript": "^7.0.0",
|
|
45
47
|
"@vue/test-utils": "^1.0.3",
|
|
46
48
|
"babel-eslint": "^10.1.0",
|
|
49
|
+
"babel-plugin-transform-es2015-modules-commonjs": "^6.26.2",
|
|
47
50
|
"eslint": "^6.7.2",
|
|
48
51
|
"eslint-plugin-vue": "^6.2.2",
|
|
49
52
|
"husky": "^8.0.0",
|
|
@@ -46,10 +46,10 @@
|
|
|
46
46
|
</template>
|
|
47
47
|
|
|
48
48
|
<script lang="ts">
|
|
49
|
-
import
|
|
49
|
+
import { ref, PropType, defineComponent } from 'vue';
|
|
50
50
|
import valueWatcher from './valueWatcher';
|
|
51
51
|
|
|
52
|
-
export default
|
|
52
|
+
export default defineComponent({
|
|
53
53
|
name: 'farm-alertbox',
|
|
54
54
|
props: {
|
|
55
55
|
/**
|
|
@@ -12,9 +12,10 @@
|
|
|
12
12
|
</div>
|
|
13
13
|
</template>
|
|
14
14
|
<script lang="ts">
|
|
15
|
-
import
|
|
15
|
+
import { PropType, ref, defineComponent } from 'vue';
|
|
16
16
|
import IButtonToggle from './IButtonToggle';
|
|
17
|
-
|
|
17
|
+
|
|
18
|
+
export default defineComponent({
|
|
18
19
|
name: 'farm-button-toggle',
|
|
19
20
|
props: {
|
|
20
21
|
/**
|
|
@@ -3,6 +3,7 @@ import ButtonToggle from '../ButtonToggle.vue';
|
|
|
3
3
|
|
|
4
4
|
describe('ButtonToggle component', () => {
|
|
5
5
|
let wrapper;
|
|
6
|
+
let component;
|
|
6
7
|
|
|
7
8
|
beforeEach(() => {
|
|
8
9
|
wrapper = shallowMount(ButtonToggle, {
|
|
@@ -10,9 +11,25 @@ describe('ButtonToggle component', () => {
|
|
|
10
11
|
buttons: [],
|
|
11
12
|
},
|
|
12
13
|
});
|
|
14
|
+
component = wrapper.vm;
|
|
13
15
|
});
|
|
14
16
|
|
|
15
17
|
test('Created hook', () => {
|
|
16
18
|
expect(wrapper).toBeDefined();
|
|
17
19
|
});
|
|
20
|
+
|
|
21
|
+
test('Default buttons value', () => {
|
|
22
|
+
const wrapper1 = shallowMount(ButtonToggle, {});
|
|
23
|
+
expect(wrapper1.vm.buttons.length).toEqual(0);
|
|
24
|
+
});
|
|
25
|
+
|
|
26
|
+
describe('Methods', () => {
|
|
27
|
+
describe('setValue', () => {
|
|
28
|
+
it('Should set value', () => {
|
|
29
|
+
component.setValue(3);
|
|
30
|
+
expect(component.inputVal).toEqual(3);
|
|
31
|
+
expect(wrapper.emitted('input')[0]).toEqual([3]);
|
|
32
|
+
});
|
|
33
|
+
});
|
|
34
|
+
});
|
|
18
35
|
});
|
|
@@ -19,9 +19,9 @@
|
|
|
19
19
|
</router-link>
|
|
20
20
|
</template>
|
|
21
21
|
<script lang="ts">
|
|
22
|
-
import
|
|
22
|
+
import { PropType, defineComponent } from 'vue';
|
|
23
23
|
|
|
24
|
-
export default
|
|
24
|
+
export default defineComponent({
|
|
25
25
|
name: 'farm-btn',
|
|
26
26
|
inheritAttrs: true,
|
|
27
27
|
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
</farm-contextmenu>
|
|
37
37
|
</template>
|
|
38
38
|
<script lang="ts">
|
|
39
|
-
import
|
|
39
|
+
import { PropType, defineComponent } from 'vue';
|
|
40
40
|
|
|
41
41
|
export interface IExportOption {
|
|
42
42
|
label: String;
|
|
@@ -46,7 +46,7 @@ export interface IExportOption {
|
|
|
46
46
|
/**
|
|
47
47
|
* BExport Button: standalone or menu list
|
|
48
48
|
*/
|
|
49
|
-
export default
|
|
49
|
+
export default defineComponent({
|
|
50
50
|
name: 'farm-btn-export',
|
|
51
51
|
props: {
|
|
52
52
|
/**
|
|
@@ -22,14 +22,14 @@
|
|
|
22
22
|
</farm-contextmenu>
|
|
23
23
|
</template>
|
|
24
24
|
<script lang="ts">
|
|
25
|
-
import
|
|
25
|
+
import { PropType, defineComponent } from 'vue';
|
|
26
26
|
|
|
27
27
|
export interface IImportOption {
|
|
28
28
|
title: String;
|
|
29
29
|
listenerKey: String;
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
export default
|
|
32
|
+
export default defineComponent({
|
|
33
33
|
name: 'farm-btn-multipleimport',
|
|
34
34
|
props: {
|
|
35
35
|
/**
|
|
@@ -11,10 +11,10 @@
|
|
|
11
11
|
{{ label }}
|
|
12
12
|
</farm-btn>
|
|
13
13
|
</template>
|
|
14
|
-
<script>
|
|
15
|
-
import
|
|
14
|
+
<script lang="ts">
|
|
15
|
+
import { defineComponent } from 'vue';
|
|
16
16
|
|
|
17
|
-
export default
|
|
17
|
+
export default defineComponent({
|
|
18
18
|
name: 'farm-btn-remove',
|
|
19
19
|
props: {
|
|
20
20
|
/**
|
|
@@ -20,12 +20,12 @@
|
|
|
20
20
|
</farm-btn>
|
|
21
21
|
</template>
|
|
22
22
|
<script lang="ts">
|
|
23
|
-
import
|
|
23
|
+
import { defineComponent } from 'vue';
|
|
24
24
|
|
|
25
25
|
/**
|
|
26
26
|
* Botão de Toggle, emitindo e guardando status
|
|
27
27
|
*/
|
|
28
|
-
export default
|
|
28
|
+
export default defineComponent({
|
|
29
29
|
name: 'farm-btn-toggle',
|
|
30
30
|
data: () => ({
|
|
31
31
|
open: false,
|
|
@@ -22,14 +22,14 @@
|
|
|
22
22
|
</div>
|
|
23
23
|
</template>
|
|
24
24
|
<script lang="ts">
|
|
25
|
-
import
|
|
25
|
+
import { computed, onBeforeMount, PropType, ref, toRefs, watch, defineComponent } from 'vue';
|
|
26
26
|
import validateFormStateBuilder from '../../composition/validateFormStateBuilder';
|
|
27
27
|
import validateFormFieldBuilder from '../../composition/validateFormFieldBuilder';
|
|
28
28
|
import validateFormMethodBuilder from '../../composition/validateFormMethodBuilder';
|
|
29
29
|
import deepEqual from '../../composition/deepEqual';
|
|
30
30
|
import modelValueWatcher from './modelValueWatcher';
|
|
31
31
|
|
|
32
|
-
export default
|
|
32
|
+
export default defineComponent({
|
|
33
33
|
name: 'farm-checkbox',
|
|
34
34
|
model: {
|
|
35
35
|
prop: 'modelValue',
|
|
@@ -15,9 +15,9 @@
|
|
|
15
15
|
</span>
|
|
16
16
|
</template>
|
|
17
17
|
<script lang="ts">
|
|
18
|
-
import
|
|
18
|
+
import { PropType, defineComponent } from 'vue';
|
|
19
19
|
|
|
20
|
-
export default
|
|
20
|
+
export default defineComponent({
|
|
21
21
|
name: 'farm-chip',
|
|
22
22
|
inheritAttrs: true,
|
|
23
23
|
props: {
|
|
@@ -9,9 +9,9 @@
|
|
|
9
9
|
</farm-chip>
|
|
10
10
|
</template>
|
|
11
11
|
<script lang="ts">
|
|
12
|
-
import
|
|
12
|
+
import { defineComponent } from 'vue';
|
|
13
13
|
import keys from './keys';
|
|
14
|
-
export default
|
|
14
|
+
export default defineComponent({
|
|
15
15
|
name: 'farm-chip-invite',
|
|
16
16
|
props: {
|
|
17
17
|
/**
|
|
@@ -17,10 +17,10 @@
|
|
|
17
17
|
</div>
|
|
18
18
|
</template>
|
|
19
19
|
<script lang="ts">
|
|
20
|
-
import
|
|
20
|
+
import { ref, watch, reactive, onBeforeUnmount, toRefs, defineComponent } from 'vue';
|
|
21
21
|
import { calculateMainZindex, isChildOfFixedElement } from '../../helpers';
|
|
22
22
|
|
|
23
|
-
export default
|
|
23
|
+
export default defineComponent({
|
|
24
24
|
name: 'farm-contextmenu',
|
|
25
25
|
props: {
|
|
26
26
|
/**
|
|
@@ -21,10 +21,10 @@
|
|
|
21
21
|
</template>
|
|
22
22
|
|
|
23
23
|
<script lang="ts">
|
|
24
|
-
import
|
|
24
|
+
import { PropType, defineComponent, ref, toRefs } from 'vue';
|
|
25
25
|
import { toClipboard } from '@farm-investimentos/front-mfe-libs-ts';
|
|
26
26
|
|
|
27
|
-
export default
|
|
27
|
+
export default defineComponent({
|
|
28
28
|
name: 'farm-copytoclipboard',
|
|
29
29
|
props: {
|
|
30
30
|
/**
|
|
@@ -58,13 +58,13 @@
|
|
|
58
58
|
</section>
|
|
59
59
|
</template>
|
|
60
60
|
<script lang="ts">
|
|
61
|
-
import
|
|
61
|
+
import { defineComponent } from 'vue';
|
|
62
62
|
|
|
63
63
|
/**
|
|
64
64
|
* Componente de paginação usado em tabelas e listas
|
|
65
65
|
* com opção de itens por página
|
|
66
66
|
*/
|
|
67
|
-
export default
|
|
67
|
+
export default defineComponent({
|
|
68
68
|
name: 'farm-datatable-paginator',
|
|
69
69
|
props: {
|
|
70
70
|
/**
|
|
@@ -51,14 +51,14 @@
|
|
|
51
51
|
</farm-contextmenu>
|
|
52
52
|
</template>
|
|
53
53
|
<script lang="ts">
|
|
54
|
-
import
|
|
54
|
+
import { defineComponent } from 'vue';
|
|
55
55
|
import { VDatePicker } from 'vuetify/lib/components/VDatePicker';
|
|
56
56
|
import { defaultFormat as dateDefaultFormatter, convertDate } from '../../helpers/date';
|
|
57
57
|
import { formatDatePickerHeader } from '../../helpers';
|
|
58
58
|
/**
|
|
59
59
|
* Componente de input com datepicker para data
|
|
60
60
|
*/
|
|
61
|
-
export default
|
|
61
|
+
export default defineComponent({
|
|
62
62
|
name: 'farm-input-datepicker',
|
|
63
63
|
components: {
|
|
64
64
|
VDatePicker,
|
|
@@ -29,13 +29,13 @@
|
|
|
29
29
|
</template>
|
|
30
30
|
|
|
31
31
|
<script lang="ts">
|
|
32
|
-
import
|
|
32
|
+
import { PropType, defineComponent } from 'vue';
|
|
33
33
|
import IExtraButton from './IExtraButton';
|
|
34
34
|
|
|
35
35
|
/**
|
|
36
36
|
* Footer de dialog/modal
|
|
37
37
|
*/
|
|
38
|
-
export default
|
|
38
|
+
export default defineComponent({
|
|
39
39
|
name: 'farm-dialog-footer',
|
|
40
40
|
props: {
|
|
41
41
|
/**
|
|
@@ -20,11 +20,11 @@
|
|
|
20
20
|
</header>
|
|
21
21
|
</template>
|
|
22
22
|
<script lang="ts">
|
|
23
|
-
import
|
|
23
|
+
import { defineComponent } from 'vue';
|
|
24
24
|
/**
|
|
25
25
|
* Header de dialog/modal
|
|
26
26
|
*/
|
|
27
|
-
export default
|
|
27
|
+
export default defineComponent({
|
|
28
28
|
name: 'farm-dialog-header',
|
|
29
29
|
props: {
|
|
30
30
|
/**
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
<form class="farm-form"><slot></slot></form>
|
|
3
3
|
</template>
|
|
4
4
|
<script lang="ts">
|
|
5
|
-
import
|
|
5
|
+
import { onMounted, reactive, ref, getCurrentInstance, defineComponent } from 'vue';
|
|
6
6
|
|
|
7
7
|
type ErrorsBag = Record<number, boolean>;
|
|
8
8
|
|
|
9
|
-
export default
|
|
9
|
+
export default defineComponent({
|
|
10
10
|
name: 'farm-form',
|
|
11
11
|
props: {
|
|
12
12
|
value: { type: [Boolean] },
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
<i v-on="$listeners" v-bind="$attrs" :class="classes" :size="$props.size" ref="el" />
|
|
3
3
|
</template>
|
|
4
4
|
<script lang="ts">
|
|
5
|
-
import
|
|
5
|
+
import { defineComponent, PropType } from 'vue';
|
|
6
6
|
|
|
7
7
|
const breakPoints = ['xs', 'sm', 'md', 'lg', 'xl'];
|
|
8
8
|
|
|
9
|
-
export default
|
|
9
|
+
export default defineComponent({
|
|
10
10
|
name: 'farm-icon',
|
|
11
11
|
inheritAttrs: true,
|
|
12
12
|
|
|
@@ -54,8 +54,8 @@
|
|
|
54
54
|
</template>
|
|
55
55
|
|
|
56
56
|
<script lang="ts">
|
|
57
|
-
import
|
|
58
|
-
export default
|
|
57
|
+
import { computed, PropType, defineComponent } from 'vue';
|
|
58
|
+
export default defineComponent({
|
|
59
59
|
name: 'farm-idcaption',
|
|
60
60
|
props: {
|
|
61
61
|
/**
|
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
</ul>
|
|
5
5
|
</template>
|
|
6
6
|
<script lang="ts">
|
|
7
|
-
import
|
|
7
|
+
import { defineComponent, onMounted, onUnmounted, ref } from 'vue';
|
|
8
8
|
import { useFocus } from './composition';
|
|
9
9
|
|
|
10
|
-
export default
|
|
10
|
+
export default defineComponent({
|
|
11
11
|
name: 'farm-list',
|
|
12
12
|
setup(_, { emit }) {
|
|
13
13
|
const contentRef = ref<HTMLElement>();
|
|
@@ -16,9 +16,9 @@
|
|
|
16
16
|
</li>
|
|
17
17
|
</template>
|
|
18
18
|
<script lang="ts">
|
|
19
|
-
import
|
|
19
|
+
import { defineComponent, computed, PropType, toRefs } from 'vue';
|
|
20
20
|
|
|
21
|
-
export default
|
|
21
|
+
export default defineComponent({
|
|
22
22
|
name: 'farm-listitem',
|
|
23
23
|
props: {
|
|
24
24
|
to: {
|
|
@@ -51,10 +51,10 @@
|
|
|
51
51
|
</div>
|
|
52
52
|
</template>
|
|
53
53
|
<script lang="ts">
|
|
54
|
-
import
|
|
54
|
+
import { defineComponent } from 'vue';
|
|
55
55
|
import { calculateMainZindex } from '../../helpers';
|
|
56
56
|
|
|
57
|
-
export default
|
|
57
|
+
export default defineComponent({
|
|
58
58
|
name: 'farm-loader',
|
|
59
59
|
props: {
|
|
60
60
|
mode: {
|
|
@@ -14,10 +14,10 @@
|
|
|
14
14
|
</section>
|
|
15
15
|
</template>
|
|
16
16
|
<script lang="ts">
|
|
17
|
-
import
|
|
17
|
+
import { defineComponent, PropType } from 'vue';
|
|
18
18
|
import ILoggerItem from './LoggerItem/ILoggerItem';
|
|
19
19
|
|
|
20
|
-
export default
|
|
20
|
+
export default defineComponent({
|
|
21
21
|
name: 'farm-logger',
|
|
22
22
|
props: {
|
|
23
23
|
/*
|
|
@@ -50,11 +50,11 @@
|
|
|
50
50
|
</section>
|
|
51
51
|
</template>
|
|
52
52
|
<script lang="ts">
|
|
53
|
-
import
|
|
53
|
+
import { defineComponent, PropType } from 'vue';
|
|
54
54
|
import ILoggerItem from './ILoggerItem';
|
|
55
55
|
import mappingIconKeys from './mappingIconKeys';
|
|
56
56
|
|
|
57
|
-
export default
|
|
57
|
+
export default defineComponent({
|
|
58
58
|
name: 'farm-logger-item',
|
|
59
59
|
props: {
|
|
60
60
|
/**
|
|
@@ -27,10 +27,19 @@
|
|
|
27
27
|
</template>
|
|
28
28
|
|
|
29
29
|
<script lang="ts">
|
|
30
|
-
import
|
|
30
|
+
import {
|
|
31
|
+
defineComponent,
|
|
32
|
+
onBeforeUnmount,
|
|
33
|
+
onMounted,
|
|
34
|
+
PropType,
|
|
35
|
+
reactive,
|
|
36
|
+
ref,
|
|
37
|
+
toRefs,
|
|
38
|
+
watch,
|
|
39
|
+
} from 'vue';
|
|
31
40
|
import { calculateMainZindex } from '../../helpers';
|
|
32
41
|
|
|
33
|
-
export default
|
|
42
|
+
export default defineComponent({
|
|
34
43
|
name: 'farm-modal',
|
|
35
44
|
props: {
|
|
36
45
|
/**
|