@farm-investimentos/front-mfe-components 15.9.0 → 15.10.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 +209 -197
- 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 +209 -197
- 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/DataTableEmptyWrapper/DataTableEmptyWrapper.stories.js +8 -0
- package/src/components/DataTableEmptyWrapper/DataTableEmptyWrapper.vue +6 -4
package/package.json
CHANGED
|
@@ -27,4 +27,12 @@ export const CustomTitles = () => ({
|
|
|
27
27
|
|
|
28
28
|
export const NoBorder = () => ({
|
|
29
29
|
template: '<farm-emptywrapper :bordered="false" />',
|
|
30
|
+
});
|
|
31
|
+
|
|
32
|
+
export const Icon = () => ({
|
|
33
|
+
template: '<farm-emptywrapper icon="alert" :bordered="false" />',
|
|
34
|
+
});
|
|
35
|
+
|
|
36
|
+
export const CustomHTML = () => ({
|
|
37
|
+
template: `<farm-emptywrapper subtitle="Para finalizar ou alterar a parametrização <b style='color: #4f8406;'>clique aqui</b>" icon="alert-outline" :bordered="false" />`,
|
|
30
38
|
});
|
|
@@ -5,13 +5,11 @@
|
|
|
5
5
|
'farm-emptywrapper--bordered': bordered,
|
|
6
6
|
}"
|
|
7
7
|
>
|
|
8
|
-
<farm-icon size="xl" color="gray">
|
|
8
|
+
<farm-icon size="xl" color="gray">{{ icon }}</farm-icon>
|
|
9
9
|
<farm-bodytext type="2" variation="bold" color="black" color-variation="40">
|
|
10
10
|
{{ title }}
|
|
11
11
|
</farm-bodytext>
|
|
12
|
-
<farm-caption v-if="subtitle" variation="regular" color-variation="30"
|
|
13
|
-
{{ subtitle }}
|
|
14
|
-
</farm-caption>
|
|
12
|
+
<farm-caption v-html="subtitle" v-if="subtitle" variation="regular" color-variation="30" />
|
|
15
13
|
</div>
|
|
16
14
|
</template>
|
|
17
15
|
<script lang="ts">
|
|
@@ -42,6 +40,10 @@ export default defineComponent({
|
|
|
42
40
|
type: Boolean,
|
|
43
41
|
default: true,
|
|
44
42
|
},
|
|
43
|
+
icon: {
|
|
44
|
+
type: String,
|
|
45
|
+
default: 'magnify',
|
|
46
|
+
}
|
|
45
47
|
},
|
|
46
48
|
});
|
|
47
49
|
</script>
|