@weni/unnnic-system 2.0.16 → 2.0.17
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/style.css +1 -1
- package/dist/unnnic.mjs +1044 -1033
- package/dist/unnnic.umd.js +18 -18
- package/package.json +3 -2
- package/src/components/AudioRecorder/AudioHandler.vue +2 -0
- package/src/components/AudioRecorder/AudioPlayer.vue +2 -0
- package/src/components/AudioRecorder/AudioRecorder.vue +6 -4
- package/src/components/Card/CardData.vue +2 -2
- package/src/components/CardProject/CardProject.vue +6 -6
- package/src/components/ChartRainbow/ChartRainbow.vue +4 -4
- package/src/components/ChatsMessage/ChatsMessage.vue +11 -2
- package/src/components/ChatsMessage/ChatsMessageStatusBackdrop.vue +1 -4
- package/src/components/DateFilter/DateFilter.vue +2 -2
- package/src/components/DatePicker/DatePicker.vue +2 -2
- package/src/components/Dropdown/LanguageSelect.vue +7 -7
- package/src/components/ImportCard/ImportCard.vue +2 -2
- package/src/components/ProgressBar/ProgressBar.vue +3 -3
- package/src/components/Sidebar/SidebarPrimary.vue +15 -5
- package/src/components/TabsExpanded/TabsExpanded.vue +1 -0
- package/src/stories/Accordion.stories.js +35 -40
- package/src/stories/Alert.stories.js +98 -83
- package/src/stories/Breadcrumb.stories.js +12 -23
- package/src/stories/ButtonIcon.stories.js +2 -2
- package/src/stories/CardCompany.stories.js +52 -58
- package/src/stories/CardData.stories.js +8 -26
- package/src/stories/CardImage.stories.js +49 -48
- package/src/stories/CardInformation.stories.js +33 -54
- package/src/stories/CardProject.stories.js +50 -52
- package/src/stories/Carousel.stories.js +32 -27
- package/src/stories/ChartBar.stories.js +82 -102
- package/src/stories/ChartLine.stories.js +42 -52
- package/src/stories/ChartMultiLine.stories.js +39 -49
- package/src/stories/ChartRainbow.stories.js +2 -2
- package/src/stories/ChatText.stories.js +38 -44
- package/src/stories/ChatsContact.stories.js +57 -54
- package/src/stories/ChatsDashboardTagLive.stories.js +1 -8
- package/src/stories/ChatsHeader.stories.js +63 -74
- package/src/stories/ChatsMessage.stories.js +208 -216
- package/src/stories/CircleProgressBar.stories.js +4 -20
- package/src/stories/Collapse.stories.js +49 -55
- package/src/stories/Comment.stories.js +57 -54
- package/src/stories/DataArea.stories.js +60 -65
- package/src/stories/DateFilter.stories.js +7 -12
- package/src/stories/DatePicker.stories.js +50 -68
- package/src/stories/Disclaimer.stories.js +12 -27
- package/src/stories/Drawer.stories.js +116 -110
- package/src/stories/Dropdown.stories.js +22 -12
- package/src/stories/FormElement.stories.js +18 -23
- package/src/stories/Grid.stories.js +4 -10
- package/src/stories/Icon.stories.js +2 -2
- package/src/stories/IconLoading.stories.js +5 -11
- package/src/stories/ImportCard.stories.js +12 -19
- package/src/stories/Indicator.stories.js +8 -13
- package/src/stories/InputDatePicker.stories.js +27 -32
- package/src/stories/LanguageSelect.stories.js +12 -16
- package/src/stories/Modal.stories.js +66 -40
- package/src/stories/MoodRating.stories.js +27 -32
- package/src/stories/MultiSelect.stories.js +56 -50
- package/src/stories/Pagination.stories.js +21 -29
- package/src/stories/ProgressBar.stories.js +19 -54
- package/src/stories/Radio.stories.js +36 -35
- package/src/stories/Sidebar.stories.js +29 -27
- package/src/stories/SidebarPrimary.stories.js +87 -80
- package/src/stories/SkeletonLoading.stories.js +12 -29
- package/src/stories/StarRating.stories.js +29 -33
- package/src/stories/Switch.stories.js +26 -19
- package/src/stories/TabsExpanded.stories.js +56 -58
- package/src/stories/TextArea.stories.js +29 -34
- package/src/stories/TransitionRipple.stories.js +19 -18
|
@@ -1,30 +1,29 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import UnnnicCardProject from '../components/CardProject/CardProject.vue';
|
|
2
|
+
import UnnnicDropdownItem from '../components/Dropdown/DropdownItem.vue';
|
|
3
|
+
import UnnnicIcon from '../components/Icon.vue';
|
|
4
4
|
|
|
5
5
|
export default {
|
|
6
6
|
title: 'Card/CardProject',
|
|
7
|
-
component:
|
|
7
|
+
component: UnnnicCardProject,
|
|
8
8
|
argTypes: {},
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
<template v-slot:actions>
|
|
9
|
+
render: (args) => ({
|
|
10
|
+
components: {
|
|
11
|
+
UnnnicCardProject,
|
|
12
|
+
UnnnicDropdownItem,
|
|
13
|
+
UnnnicIcon,
|
|
14
|
+
},
|
|
15
|
+
setup() {
|
|
16
|
+
return { args };
|
|
17
|
+
},
|
|
18
|
+
data() {
|
|
19
|
+
return {
|
|
20
|
+
value: true,
|
|
21
|
+
};
|
|
22
|
+
},
|
|
23
|
+
template: `
|
|
24
|
+
<div>
|
|
25
|
+
<unnnic-card-project v-bind="args">
|
|
26
|
+
<template #actions>
|
|
28
27
|
<unnnic-dropdown-item>
|
|
29
28
|
<unnnic-icon size="sm" icon="cog-1" />
|
|
30
29
|
Configuração
|
|
@@ -37,34 +36,33 @@ const Template = (args, { argTypes }) => ({
|
|
|
37
36
|
</template>
|
|
38
37
|
</unnnic-card-project>
|
|
39
38
|
</div>
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
});
|
|
44
|
-
|
|
45
|
-
export const Default = Template.bind({});
|
|
39
|
+
`,
|
|
40
|
+
}),
|
|
41
|
+
};
|
|
46
42
|
|
|
47
|
-
Default
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
43
|
+
export const Default = {
|
|
44
|
+
args: {
|
|
45
|
+
name: 'Nome do Projeto',
|
|
46
|
+
actionText: 'Entrar',
|
|
47
|
+
statuses: [
|
|
48
|
+
{
|
|
49
|
+
title: 'AI',
|
|
50
|
+
icon: 'science-fiction-robot-2',
|
|
51
|
+
scheme: 'aux-blue',
|
|
52
|
+
count: 1,
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
title: 'Flows',
|
|
56
|
+
icon: 'hierarchy-3-2',
|
|
57
|
+
scheme: 'aux-purple',
|
|
58
|
+
count: 2,
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
title: 'Contatos',
|
|
62
|
+
icon: 'single-neutral-actions-1',
|
|
63
|
+
scheme: 'aux-lemon',
|
|
64
|
+
count: 3,
|
|
65
|
+
},
|
|
66
|
+
],
|
|
67
|
+
},
|
|
70
68
|
};
|
|
@@ -1,39 +1,44 @@
|
|
|
1
|
-
import
|
|
1
|
+
import UnnnicCarousel from '../components/Carousel/Carousel.vue';
|
|
2
2
|
import iconList from '../utils/iconList';
|
|
3
3
|
|
|
4
4
|
export default {
|
|
5
5
|
title: 'Example/Carousel',
|
|
6
|
-
component:
|
|
6
|
+
component: UnnnicCarousel,
|
|
7
7
|
argTypes: {
|
|
8
8
|
type: { control: { type: 'select' }, options: ['brand'] },
|
|
9
9
|
icon: { control: { type: 'select' }, options: iconList },
|
|
10
10
|
},
|
|
11
|
+
render: (args) => ({
|
|
12
|
+
components: {
|
|
13
|
+
UnnnicCarousel,
|
|
14
|
+
},
|
|
15
|
+
setup() {
|
|
16
|
+
return { args };
|
|
17
|
+
},
|
|
18
|
+
data() {
|
|
19
|
+
return {
|
|
20
|
+
selecteds: [1],
|
|
21
|
+
};
|
|
22
|
+
},
|
|
23
|
+
template: `
|
|
24
|
+
<unnnic-carousel v-bind="args" v-model="selecteds" />
|
|
25
|
+
`,
|
|
26
|
+
}),
|
|
11
27
|
};
|
|
12
28
|
|
|
13
|
-
const
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
29
|
+
export const Tag = {
|
|
30
|
+
args: {
|
|
31
|
+
type: 'brand',
|
|
32
|
+
tagItems: [
|
|
33
|
+
{ id: 1, name: 'tag - 1' },
|
|
34
|
+
{ id: 2, name: 'tag - 2' },
|
|
35
|
+
{ id: 3, name: 'tag - 3' },
|
|
36
|
+
{ id: 4, name: 'tag - 4' },
|
|
37
|
+
{ id: 5, name: 'tag - 5' },
|
|
38
|
+
{ id: 6, name: 'tag - 6' },
|
|
39
|
+
{ id: 7, name: 'tag - 7' },
|
|
40
|
+
{ id: 8, name: 'tag - 8' },
|
|
41
|
+
{ id: 9, name: 'tag - 9' },
|
|
42
|
+
],
|
|
20
43
|
},
|
|
21
|
-
template:
|
|
22
|
-
'<div><pre>v-model: {{ selecteds }}</pre><unnnic-carousel v-bind="$props" v-model="selecteds" /></div>',
|
|
23
|
-
});
|
|
24
|
-
|
|
25
|
-
export const Tag = Template.bind({});
|
|
26
|
-
Tag.args = {
|
|
27
|
-
type: 'brand',
|
|
28
|
-
tagItems: [
|
|
29
|
-
{ id: 1, name: 'tag - 1' },
|
|
30
|
-
{ id: 2, name: 'tag - 2' },
|
|
31
|
-
{ id: 3, name: 'tag - 3' },
|
|
32
|
-
{ id: 4, name: 'tag - 4' },
|
|
33
|
-
{ id: 5, name: 'tag - 5' },
|
|
34
|
-
{ id: 6, name: 'tag - 6' },
|
|
35
|
-
{ id: 7, name: 'tag - 7' },
|
|
36
|
-
{ id: 8, name: 'tag - 8' },
|
|
37
|
-
{ id: 9, name: 'tag - 9' },
|
|
38
|
-
],
|
|
39
44
|
};
|
|
@@ -17,120 +17,100 @@ export default {
|
|
|
17
17
|
},
|
|
18
18
|
},
|
|
19
19
|
};
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
export const Default = Template.bind({});
|
|
33
|
-
|
|
34
|
-
Default.args = {
|
|
35
|
-
title: 'Title Graph',
|
|
36
|
-
description: 'Description graph',
|
|
37
|
-
updateText: 'Atualizar',
|
|
38
|
-
groups: [
|
|
39
|
-
{
|
|
40
|
-
values: {
|
|
41
|
-
'Legend 1': 1,
|
|
42
|
-
'Legend 2': 0.5,
|
|
20
|
+
export const Default = {
|
|
21
|
+
args: {
|
|
22
|
+
title: 'Title Graph',
|
|
23
|
+
description: 'Description graph',
|
|
24
|
+
updateText: 'Atualizar',
|
|
25
|
+
groups: [
|
|
26
|
+
{
|
|
27
|
+
values: {
|
|
28
|
+
'Legend 1': 1,
|
|
29
|
+
'Legend 2': 0.5,
|
|
30
|
+
},
|
|
31
|
+
title: 'Group 1',
|
|
43
32
|
},
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
'
|
|
33
|
+
{
|
|
34
|
+
values: {
|
|
35
|
+
'Legend 1': 1,
|
|
36
|
+
'Legend 2': 1,
|
|
37
|
+
},
|
|
38
|
+
title: 'Group 2',
|
|
50
39
|
},
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
'
|
|
40
|
+
{
|
|
41
|
+
values: {
|
|
42
|
+
'Legend 1': 1,
|
|
43
|
+
'Legend 2': 1,
|
|
44
|
+
},
|
|
45
|
+
title: 'Group 3',
|
|
57
46
|
},
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
'
|
|
47
|
+
{
|
|
48
|
+
values: {
|
|
49
|
+
'Legend 1': 1,
|
|
50
|
+
'Legend 2': 1,
|
|
51
|
+
},
|
|
52
|
+
title: 'Group 4',
|
|
64
53
|
},
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
showFooterLegend: true,
|
|
54
|
+
],
|
|
55
|
+
showFooterLegend: true,
|
|
56
|
+
},
|
|
69
57
|
};
|
|
70
58
|
|
|
71
|
-
export const Condensed =
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
59
|
+
export const Condensed = {
|
|
60
|
+
args: {
|
|
61
|
+
condensed: true,
|
|
62
|
+
fixedMaxValue: 1,
|
|
63
|
+
groups: [
|
|
64
|
+
{
|
|
65
|
+
values: {
|
|
66
|
+
'Legend 1': 1,
|
|
67
|
+
'Legend 2': 0.5,
|
|
68
|
+
},
|
|
69
|
+
title: 'Group 1',
|
|
81
70
|
},
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
'
|
|
71
|
+
{
|
|
72
|
+
values: {
|
|
73
|
+
'Legend 1': 1,
|
|
74
|
+
'Legend 2': 1,
|
|
75
|
+
},
|
|
76
|
+
title: 'Group 2',
|
|
88
77
|
},
|
|
89
|
-
|
|
90
|
-
},
|
|
91
|
-
],
|
|
92
|
-
};
|
|
93
|
-
|
|
94
|
-
export const CondensedWithoutEventsAndTitleAndDescription = (
|
|
95
|
-
args,
|
|
96
|
-
{ argTypes },
|
|
97
|
-
) => ({
|
|
98
|
-
components: {
|
|
99
|
-
unnnicChartBar,
|
|
78
|
+
],
|
|
100
79
|
},
|
|
80
|
+
};
|
|
101
81
|
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
values: {
|
|
113
|
-
'Legend 1': 1,
|
|
82
|
+
export const CondensedWithoutEventsAndTitleAndDescription = {
|
|
83
|
+
args: {
|
|
84
|
+
condensed: true,
|
|
85
|
+
fixedMaxValue: 1,
|
|
86
|
+
groups: [
|
|
87
|
+
{
|
|
88
|
+
values: {
|
|
89
|
+
'Legend 1': 1,
|
|
90
|
+
},
|
|
91
|
+
title: 'Group 1',
|
|
114
92
|
},
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
'
|
|
93
|
+
{
|
|
94
|
+
values: {
|
|
95
|
+
'Legend 1': 1,
|
|
96
|
+
},
|
|
97
|
+
title: 'Group 2',
|
|
120
98
|
},
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
'
|
|
99
|
+
{
|
|
100
|
+
values: {
|
|
101
|
+
'Legend 1': 1,
|
|
102
|
+
},
|
|
103
|
+
title: 'Group 3',
|
|
126
104
|
},
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
'
|
|
105
|
+
{
|
|
106
|
+
values: {
|
|
107
|
+
'Legend 1': 0.5,
|
|
108
|
+
},
|
|
109
|
+
title: 'Group 4',
|
|
132
110
|
},
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
111
|
+
],
|
|
112
|
+
update: null,
|
|
113
|
+
previous: null,
|
|
114
|
+
next: null,
|
|
115
|
+
},
|
|
136
116
|
};
|
|
@@ -6,59 +6,49 @@ export default {
|
|
|
6
6
|
argTypes: {},
|
|
7
7
|
};
|
|
8
8
|
|
|
9
|
-
const
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
export const Default = {
|
|
10
|
+
args: {
|
|
11
|
+
title: 'Histórico de análises',
|
|
12
|
+
fixedMaxValue: 1,
|
|
13
|
+
data: [
|
|
14
|
+
{
|
|
15
|
+
title: 'Jan',
|
|
16
|
+
value: 0.5,
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
title: 'Fev',
|
|
20
|
+
value: 1,
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
title: 'Mar',
|
|
24
|
+
value: 1,
|
|
25
|
+
},
|
|
26
|
+
],
|
|
12
27
|
},
|
|
13
|
-
|
|
14
|
-
props: Object.keys(argTypes),
|
|
15
|
-
|
|
16
|
-
template: '<unnnic-chart-line v-bind="$props" />',
|
|
17
|
-
});
|
|
18
|
-
|
|
19
|
-
export const Default = Template.bind({});
|
|
20
|
-
|
|
21
|
-
Default.args = {
|
|
22
|
-
title: 'Histórico de análises',
|
|
23
|
-
fixedMaxValue: 1,
|
|
24
|
-
data: [
|
|
25
|
-
{
|
|
26
|
-
title: 'Jan',
|
|
27
|
-
value: 0.5,
|
|
28
|
-
},
|
|
29
|
-
{
|
|
30
|
-
title: 'Fev',
|
|
31
|
-
value: 1,
|
|
32
|
-
},
|
|
33
|
-
{
|
|
34
|
-
title: 'Mar',
|
|
35
|
-
value: 1,
|
|
36
|
-
},
|
|
37
|
-
],
|
|
38
28
|
};
|
|
39
29
|
|
|
40
|
-
export const Condensed =
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
30
|
+
export const Condensed = {
|
|
31
|
+
args: {
|
|
32
|
+
title: 'Histórico de análises',
|
|
33
|
+
condensed: true,
|
|
34
|
+
fixedMaxValue: 1,
|
|
35
|
+
data: [
|
|
36
|
+
{
|
|
37
|
+
title: 'Jan',
|
|
38
|
+
value: 0,
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
title: 'Fev',
|
|
42
|
+
value: 1,
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
title: 'Mar',
|
|
46
|
+
value: 0.5,
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
title: 'Abr',
|
|
50
|
+
value: 1,
|
|
51
|
+
},
|
|
52
|
+
],
|
|
53
|
+
},
|
|
64
54
|
};
|
|
@@ -6,54 +6,44 @@ export default {
|
|
|
6
6
|
argTypes: {},
|
|
7
7
|
};
|
|
8
8
|
|
|
9
|
-
const
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
export const Default = {
|
|
10
|
+
args: {
|
|
11
|
+
title: 'Histórico',
|
|
12
|
+
data: [
|
|
13
|
+
{
|
|
14
|
+
title: 'Grupo 1',
|
|
15
|
+
data: [
|
|
16
|
+
{
|
|
17
|
+
title: '1',
|
|
18
|
+
value: 5,
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
title: '2',
|
|
22
|
+
value: 7,
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
title: '3',
|
|
26
|
+
value: 9,
|
|
27
|
+
},
|
|
28
|
+
],
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
title: 'Grupo 2',
|
|
32
|
+
data: [
|
|
33
|
+
{
|
|
34
|
+
title: '1',
|
|
35
|
+
value: 1,
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
title: '2',
|
|
39
|
+
value: 4,
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
title: '3',
|
|
43
|
+
value: 2,
|
|
44
|
+
},
|
|
45
|
+
],
|
|
46
|
+
},
|
|
47
|
+
],
|
|
12
48
|
},
|
|
13
|
-
|
|
14
|
-
props: Object.keys(argTypes),
|
|
15
|
-
|
|
16
|
-
template: '<unnnic-chart-multi-line v-bind="$props" />',
|
|
17
|
-
});
|
|
18
|
-
|
|
19
|
-
export const Default = Template.bind({});
|
|
20
|
-
|
|
21
|
-
Default.args = {
|
|
22
|
-
title: 'Histórico',
|
|
23
|
-
data: [
|
|
24
|
-
{
|
|
25
|
-
title: 'Grupo 1',
|
|
26
|
-
data: [
|
|
27
|
-
{
|
|
28
|
-
title: '1',
|
|
29
|
-
value: 5,
|
|
30
|
-
},
|
|
31
|
-
{
|
|
32
|
-
title: '2',
|
|
33
|
-
value: 7,
|
|
34
|
-
},
|
|
35
|
-
{
|
|
36
|
-
title: '3',
|
|
37
|
-
value: 9,
|
|
38
|
-
},
|
|
39
|
-
],
|
|
40
|
-
},
|
|
41
|
-
{
|
|
42
|
-
title: 'Grupo 2',
|
|
43
|
-
data: [
|
|
44
|
-
{
|
|
45
|
-
title: '1',
|
|
46
|
-
value: 1,
|
|
47
|
-
},
|
|
48
|
-
{
|
|
49
|
-
title: '2',
|
|
50
|
-
value: 4,
|
|
51
|
-
},
|
|
52
|
-
{
|
|
53
|
-
title: '3',
|
|
54
|
-
value: 2,
|
|
55
|
-
},
|
|
56
|
-
],
|
|
57
|
-
},
|
|
58
|
-
],
|
|
59
49
|
};
|
|
@@ -4,14 +4,14 @@ export default {
|
|
|
4
4
|
title: 'charts/ChartRainbow',
|
|
5
5
|
component: unnnicChartRainbow,
|
|
6
6
|
argTypes: {
|
|
7
|
-
|
|
7
|
+
modelValue: { control: { type: 'number', min: 0, max: 100, step: 0.1 } },
|
|
8
8
|
description: { control: 'text' },
|
|
9
9
|
},
|
|
10
10
|
};
|
|
11
11
|
|
|
12
12
|
export const Default = {
|
|
13
13
|
args: {
|
|
14
|
-
|
|
14
|
+
modelValue: 50,
|
|
15
15
|
description: 'Description',
|
|
16
16
|
},
|
|
17
17
|
};
|