dgrcorrientes-modulos 1.0.3 → 1.0.4

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.
Files changed (263) hide show
  1. package/README.md +12 -21
  2. package/package.json +1 -61
  3. package/.nvmrc +0 -1
  4. package/.prettierrc.cjs +0 -8
  5. package/.storybook/main.cjs +0 -11
  6. package/.storybook/manager-head.html +0 -2
  7. package/.storybook/manager.cjs +0 -6
  8. package/.storybook/preview-head.html +0 -3
  9. package/.storybook/preview.cjs +0 -11
  10. package/.storybook/themes.cjs +0 -14
  11. package/StoryBook.txt +0 -19
  12. package/dist/README.md +0 -12
  13. package/dist/package.json +0 -1
  14. package/dist-config.cjs +0 -57
  15. package/index.html +0 -13
  16. package/public/elevation.ico +0 -0
  17. package/public/elevationImage.png +0 -0
  18. package/public/vite.svg +0 -1
  19. package/src/App.scss +0 -36
  20. package/src/App.tsx +0 -34
  21. package/src/assets/react.svg +0 -1
  22. package/src/index.js +0 -70
  23. package/src/index.scss +0 -63
  24. package/src/index.ts +0 -108
  25. package/src/main.tsx +0 -11
  26. package/src/sass/base/_base.scss +0 -50
  27. package/src/sass/base/_controls.scss +0 -90
  28. package/src/sass/base/_datepicker.scss +0 -114
  29. package/src/sass/base/_typo.scss +0 -71
  30. package/src/sass/base/fonts/SFUIText-Bold.ttf +0 -0
  31. package/src/sass/base/fonts/SFUIText-BoldItalic.ttf +0 -0
  32. package/src/sass/base/fonts/SFUIText-Heavy.ttf +0 -0
  33. package/src/sass/base/fonts/SFUIText-HeavyItalic.ttf +0 -0
  34. package/src/sass/base/fonts/SFUIText-Light.ttf +0 -0
  35. package/src/sass/base/fonts/SFUIText-LightItalic.ttf +0 -0
  36. package/src/sass/base/fonts/SFUIText-Medium.ttf +0 -0
  37. package/src/sass/base/fonts/SFUIText-MediumItalic.ttf +0 -0
  38. package/src/sass/base/fonts/SFUIText-Regular.ttf +0 -0
  39. package/src/sass/base/fonts/SFUIText-RegularItalic.ttf +0 -0
  40. package/src/sass/base/fonts/SFUIText-Semibold.ttf +0 -0
  41. package/src/sass/base/fonts/SFUIText-SemiboldItalic.ttf +0 -0
  42. package/src/sass/bulma/bulma-changes.scss +0 -19
  43. package/src/sass/bulma/extensions/extensions.sass +0 -1
  44. package/src/sass/bulma/extensions/steps/bulma-steps.sass +0 -3
  45. package/src/sass/bulma/extensions/steps/index.sass +0 -421
  46. package/src/sass/bulma/variables/_variables-bulma.sass +0 -16
  47. package/src/sass/bulma/variables/components/card.sass +0 -20
  48. package/src/sass/bulma/variables/components/navbar.sass +0 -50
  49. package/src/sass/bulma/variables/components/tabs.sass +0 -28
  50. package/src/sass/bulma/variables/elements/button.sass +0 -46
  51. package/src/sass/bulma/variables/elements/notification.sass +0 -8
  52. package/src/sass/bulma/variables/elements/title.sass +0 -20
  53. package/src/sass/bulma/variables/grid/column.sass +0 -2
  54. package/src/sass/main.sass +0 -16
  55. package/src/sass/utilities/_bulma-variables.sass +0 -20
  56. package/src/sass/utilities/_derived-variables.scss +0 -68
  57. package/src/sass/utilities/_helpers.scss +0 -70
  58. package/src/sass/utilities/_variables.scss +0 -147
  59. package/src/stories/Changelog.stories.tsx +0 -73
  60. package/src/stories/Components/AssistanceDiary/AssistanceDiary.scss +0 -19
  61. package/src/stories/Components/AssistanceDiary/AssistanceDiary.stories.tsx +0 -25
  62. package/src/stories/Components/AssistanceDiary/AssistanceDiary.tsx +0 -57
  63. package/src/stories/Components/AverageAttended/AverageAttended.scss +0 -39
  64. package/src/stories/Components/AverageAttended/AverageAttended.stories.tsx +0 -71
  65. package/src/stories/Components/AverageAttended/AverageAttended.tsx +0 -311
  66. package/src/stories/Components/Breadcrumb/Breadcrumb.stories.tsx +0 -45
  67. package/src/stories/Components/Breadcrumb/Breadcrumb.tsx +0 -68
  68. package/src/stories/Components/Breadcrumb/breadcrumb.scss +0 -82
  69. package/src/stories/Components/CTA/CTA.scss +0 -76
  70. package/src/stories/Components/CTA/CTA.stories.tsx +0 -46
  71. package/src/stories/Components/CTA/CTA.tsx +0 -70
  72. package/src/stories/Components/Cards/Card CTA/CardCta.stories.tsx +0 -34
  73. package/src/stories/Components/Cards/Card CTA/CardCta.tsx +0 -81
  74. package/src/stories/Components/Cards/Card CTA/cardCta.scss +0 -71
  75. package/src/stories/Components/Cards/Card Expiration/cardExpiration.scss +0 -105
  76. package/src/stories/Components/Cards/Card Expiration/cardExpiration.stories.tsx +0 -40
  77. package/src/stories/Components/Cards/Card Expiration/cardExpiration.tsx +0 -95
  78. package/src/stories/Components/Cards/Card Vertical/CardVertical.stories.tsx +0 -43
  79. package/src/stories/Components/Cards/Card Vertical/CardVertical.tsx +0 -106
  80. package/src/stories/Components/Cards/Card Vertical/cardVertical.scss +0 -130
  81. package/src/stories/Components/Cards/CardActivity/cardActivity.scss +0 -31
  82. package/src/stories/Components/Cards/CardActivity/cardActivity.stories.tsx +0 -20
  83. package/src/stories/Components/Cards/CardActivity/cardActivity.tsx +0 -48
  84. package/src/stories/Components/Cards/CardHorizontal/CardHorizontal.stories.tsx +0 -96
  85. package/src/stories/Components/Cards/CardHorizontal/CardHorizontal.tsx +0 -94
  86. package/src/stories/Components/Cards/CardHorizontal/cardHorizontal.scss +0 -65
  87. package/src/stories/Components/Cards/CardUser/CardUser.stories.tsx +0 -135
  88. package/src/stories/Components/Cards/CardUser/CardUser.tsx +0 -122
  89. package/src/stories/Components/Cards/CardUser/cardUser.scss +0 -115
  90. package/src/stories/Components/Cart/Cart.scss +0 -279
  91. package/src/stories/Components/Cart/Cart.stories.tsx +0 -350
  92. package/src/stories/Components/Cart/Cart.tsx +0 -277
  93. package/src/stories/Components/Collapse/Collapse.scss +0 -339
  94. package/src/stories/Components/Collapse/Collapse.stories.tsx +0 -766
  95. package/src/stories/Components/Collapse/Collapse.tsx +0 -451
  96. package/src/stories/Components/CollapseEdit/CollapseEdit.scss +0 -128
  97. package/src/stories/Components/CollapseEdit/CollapseEdit.stories.tsx +0 -29
  98. package/src/stories/Components/CollapseEdit/CollapseEdit.tsx +0 -185
  99. package/src/stories/Components/CompleteDiary/CompleteDiary.scss +0 -165
  100. package/src/stories/Components/CompleteDiary/CompleteDiary.stories.tsx +0 -219
  101. package/src/stories/Components/CompleteDiary/CompleteDiary.tsx +0 -394
  102. package/src/stories/Components/Dropdown/Dropdown.scss +0 -60
  103. package/src/stories/Components/Dropdown/Dropdown.stories.tsx +0 -19
  104. package/src/stories/Components/Dropdown/Dropdown.tsx +0 -99
  105. package/src/stories/Components/EmptyState/EmptyState.stories.tsx +0 -46
  106. package/src/stories/Components/EmptyState/EmptyState.tsx +0 -44
  107. package/src/stories/Components/EmptyState/emptyState.scss +0 -75
  108. package/src/stories/Components/ErrorPage/ErrorPage.scss +0 -65
  109. package/src/stories/Components/ErrorPage/ErrorPage.stories.tsx +0 -164
  110. package/src/stories/Components/ErrorPage/ErrorPage.tsx +0 -107
  111. package/src/stories/Components/IncomingCall/IncomingCall.scss +0 -27
  112. package/src/stories/Components/IncomingCall/IncomingCall.stories.tsx +0 -43
  113. package/src/stories/Components/IncomingCall/IncomingCall.tsx +0 -76
  114. package/src/stories/Components/ModalConfirm/ModalConfirm.scss +0 -30
  115. package/src/stories/Components/ModalConfirm/ModalConfirm.stories.tsx +0 -21
  116. package/src/stories/Components/ModalConfirm/ModalConfirm.tsx +0 -118
  117. package/src/stories/Components/Pagination/Pagination.scss +0 -42
  118. package/src/stories/Components/Pagination/Pagination.stories.tsx +0 -25
  119. package/src/stories/Components/Pagination/Pagination.tsx +0 -143
  120. package/src/stories/Components/PerformanceAssessment/PerformanceAssessment.scss +0 -26
  121. package/src/stories/Components/PerformanceAssessment/PerformanceAssessment.stories.tsx +0 -27
  122. package/src/stories/Components/PerformanceAssessment/PerformanceAssessment.tsx +0 -108
  123. package/src/stories/Components/ShiftDiary/ShiftDiary.scss +0 -45
  124. package/src/stories/Components/ShiftDiary/ShiftDiary.stories.tsx +0 -32
  125. package/src/stories/Components/ShiftDiary/ShiftDiary.tsx +0 -92
  126. package/src/stories/Components/Stepper/Stepper.stories.tsx +0 -26
  127. package/src/stories/Components/Stepper/Stepper.tsx +0 -102
  128. package/src/stories/Components/Stepper/stepper.scss +0 -59
  129. package/src/stories/Components/Tabs/Tabs.stories.tsx +0 -76
  130. package/src/stories/Components/Tabs/Tabs.tsx +0 -111
  131. package/src/stories/Components/Tabs/tabs.scss +0 -118
  132. package/src/stories/Components/Tooltip/Tooltip.scss +0 -235
  133. package/src/stories/Components/Tooltip/Tooltip.stories.tsx +0 -125
  134. package/src/stories/Components/Tooltip/Tooltip.tsx +0 -222
  135. package/src/stories/Elements/Alert/Alert.stories.tsx +0 -65
  136. package/src/stories/Elements/Alert/Alert.tsx +0 -49
  137. package/src/stories/Elements/Alert/alert.scss +0 -189
  138. package/src/stories/Elements/Badge/Badge.stories.tsx +0 -15
  139. package/src/stories/Elements/Badge/Badge.tsx +0 -21
  140. package/src/stories/Elements/Badge/badge.scss +0 -24
  141. package/src/stories/Elements/Button/Button.stories.tsx +0 -54
  142. package/src/stories/Elements/Button/Button.tsx +0 -118
  143. package/src/stories/Elements/Button/button.scss +0 -102
  144. package/src/stories/Elements/Icon/Icon.stories.tsx +0 -33
  145. package/src/stories/Elements/Icon/Icon.tsx +0 -57
  146. package/src/stories/Elements/Icon/icon.scss +0 -15
  147. package/src/stories/Elements/Icon/icono.svg +0 -1
  148. package/src/stories/Elements/ProgressBar/ProgressBar.scss +0 -26
  149. package/src/stories/Elements/ProgressBar/ProgressBar.stories.tsx +0 -19
  150. package/src/stories/Elements/ProgressBar/ProgressBar.tsx +0 -35
  151. package/src/stories/Form/Autocomplete/Autocomplete.stories.tsx +0 -55
  152. package/src/stories/Form/Autocomplete/Autocomplete.tsx +0 -160
  153. package/src/stories/Form/Autocomplete/autocomplete.scss +0 -311
  154. package/src/stories/Form/Autocomplete-Prueba/Autocomplete.stories.tsx +0 -50
  155. package/src/stories/Form/Autocomplete-Prueba/AutocompletePrueba.tsx +0 -83
  156. package/src/stories/Form/Checkbox/Checkbox.stories.tsx +0 -26
  157. package/src/stories/Form/Checkbox/Checkbox.tsx +0 -89
  158. package/src/stories/Form/Checkbox/checkbox.scss +0 -41
  159. package/src/stories/Form/DatePicker/DatePickerExample.stories.tsx +0 -27
  160. package/src/stories/Form/DatePicker/DatePickerExample.tsx +0 -65
  161. package/src/stories/Form/DatePickerComponent/DatePickerComponent.scss +0 -116
  162. package/src/stories/Form/DatePickerComponent/DatePickerComponent.stories.tsx +0 -37
  163. package/src/stories/Form/DatePickerComponent/DatePickerComponent.tsx +0 -97
  164. package/src/stories/Form/Filters/Filters.stories.tsx +0 -84
  165. package/src/stories/Form/Filters/Filters.tsx +0 -230
  166. package/src/stories/Form/Filters/filters.scss +0 -261
  167. package/src/stories/Form/Input/Input.stories.tsx +0 -25
  168. package/src/stories/Form/Input/Input.tsx +0 -86
  169. package/src/stories/Form/Input/InputVar.sass +0 -26
  170. package/src/stories/Form/Input/input.scss +0 -19
  171. package/src/stories/Form/InputFormControl/Input-form-control.stories.tsx +0 -26
  172. package/src/stories/Form/InputFormControl/Input-form-control.tsx +0 -48
  173. package/src/stories/Form/InputFormControl/input-form-control.scss +0 -34
  174. package/src/stories/Form/Radio/Radio.stories.tsx +0 -19
  175. package/src/stories/Form/Radio/Radio.tsx +0 -84
  176. package/src/stories/Form/Radio/radio.scss +0 -19
  177. package/src/stories/Form/Search/Search.scss +0 -50
  178. package/src/stories/Form/Search/Search.stories.tsx +0 -26
  179. package/src/stories/Form/Search/Search.tsx +0 -84
  180. package/src/stories/Form/Select/Select.stories.tsx +0 -55
  181. package/src/stories/Form/Select/Select.tsx +0 -121
  182. package/src/stories/Form/Select/select.scss +0 -303
  183. package/src/stories/Form/Switch/Switch.stories.tsx +0 -17
  184. package/src/stories/Form/Switch/Switch.tsx +0 -36
  185. package/src/stories/Form/Switch/switch.scss +0 -123
  186. package/src/stories/Form/Textarea/Textarea.stories.tsx +0 -19
  187. package/src/stories/Form/Textarea/Textarea.tsx +0 -52
  188. package/src/stories/Form/Textarea/textarea.scss +0 -25
  189. package/src/stories/Form/UploadFileItem/UploadFileItem.scss +0 -49
  190. package/src/stories/Form/UploadFileItem/UploadFileItem.stories.tsx +0 -18
  191. package/src/stories/Form/UploadFileItem/UploadFileItem.tsx +0 -89
  192. package/src/stories/Form/UploadFiles/UploadFiles.scss +0 -17
  193. package/src/stories/Form/UploadFiles/UploadFiles.stories.tsx +0 -32
  194. package/src/stories/Form/UploadFiles/UploadFiles.tsx +0 -177
  195. package/src/stories/Layout/Footer/Footer.scss +0 -129
  196. package/src/stories/Layout/Footer/Footer.stories.tsx +0 -101
  197. package/src/stories/Layout/Footer/Footer.tsx +0 -81
  198. package/src/stories/Layout/Header/Header.scss +0 -190
  199. package/src/stories/Layout/Header/Header.stories.tsx +0 -223
  200. package/src/stories/Layout/Header/Header.tsx +0 -278
  201. package/src/stories/Layout/HeaderTable/HeaderTable.scss +0 -21
  202. package/src/stories/Layout/HeaderTable/HeaderTable.stories.tsx +0 -112
  203. package/src/stories/Layout/HeaderTable/HeaderTable.tsx +0 -72
  204. package/src/stories/Layout/Sidebar/Sidebar.scss +0 -50
  205. package/src/stories/Layout/Sidebar/Sidebar.stories.tsx +0 -744
  206. package/src/stories/Layout/Sidebar/Sidebar.tsx +0 -129
  207. package/src/stories/Layout/SidebarEmpty/SidebarEmpty.scss +0 -64
  208. package/src/stories/Layout/SidebarEmpty/SidebarEmpty.stories.tsx +0 -26
  209. package/src/stories/Layout/SidebarEmpty/SidebarEmpty.tsx +0 -100
  210. package/src/stories/Layout/Subtitle/Subtitle.scss +0 -88
  211. package/src/stories/Layout/Subtitle/Subtitle.stories.tsx +0 -46
  212. package/src/stories/Layout/Subtitle/Subtitle.tsx +0 -108
  213. package/src/stories/Layout/Title/Title.scss +0 -79
  214. package/src/stories/Layout/Title/Title.stories.tsx +0 -86
  215. package/src/stories/Layout/Title/Title.tsx +0 -96
  216. package/src/stories/Welcome.stories.tsx +0 -111
  217. package/src/stories/assets/404 Page Not Found _Two Color (1).png +0 -0
  218. package/src/stories/assets/404 Page Not Found _Two Color.png +0 -0
  219. package/src/stories/assets/Empty Inbox _Two Color.png +0 -0
  220. package/src/stories/assets/Loading _Two Color.png +0 -0
  221. package/src/stories/assets/Notifications_Two Color 1.png +0 -0
  222. package/src/stories/assets/Online protection_Two Color.png +0 -0
  223. package/src/stories/assets/Under Constructions _Two Color.png +0 -0
  224. package/src/stories/assets/bulma.png +0 -0
  225. package/src/stories/assets/burger.svg +0 -5
  226. package/src/stories/assets/code-brackets.svg +0 -1
  227. package/src/stories/assets/colors.svg +0 -1
  228. package/src/stories/assets/comments.svg +0 -1
  229. package/src/stories/assets/decor-bg.png +0 -0
  230. package/src/stories/assets/direction.svg +0 -1
  231. package/src/stories/assets/e-isologo.svg +0 -4
  232. package/src/stories/assets/e-isotype.svg +0 -4
  233. package/src/stories/assets/e-logo_negative.svg +0 -14
  234. package/src/stories/assets/e-logotype.svg +0 -14
  235. package/src/stories/assets/flow.svg +0 -1
  236. package/src/stories/assets/logo_gobierno_corrientes.svg +0 -9
  237. package/src/stories/assets/logo_rentas_corrientes.svg +0 -10
  238. package/src/stories/assets/logo_rentas_corrientes_compacto.svg +0 -10
  239. package/src/stories/assets/plugin.svg +0 -1
  240. package/src/stories/assets/repo.svg +0 -1
  241. package/src/stories/assets/stackalt.svg +0 -1
  242. package/src/stories/assets/storybook.svg +0 -13
  243. package/src/stories/assets/thumbnail-black.jpg +0 -0
  244. package/src/stories/assets/thumbnail-black[2].jpg +0 -0
  245. package/src/stories/assets/thumbnail.jpg +0 -0
  246. package/src/stories/assets/thumbnail[2].jpg +0 -0
  247. package/src/stories/changelog.ts +0 -389
  248. package/src/utils/functions.ts +0 -57
  249. package/src/vite-env.d.ts +0 -2
  250. package/static/e-isologo-192.jpg +0 -0
  251. package/static/e-isologo.svg +0 -4
  252. package/static/e-logotype.svg +0 -14
  253. package/static/favicon.ico +0 -0
  254. package/tsconfig.json +0 -22
  255. package/tsconfig.node.json +0 -9
  256. package/vite.config.ts +0 -22
  257. /package/{dist/components.js → components.js} +0 -0
  258. /package/{dist/components.umd.cjs → components.umd.cjs} +0 -0
  259. /package/{dist/elevation.ico → elevation.ico} +0 -0
  260. /package/{dist/elevationImage.png → elevationImage.png} +0 -0
  261. /package/{dist/index.d.ts → index.d.ts} +0 -0
  262. /package/{dist/style.css → style.css} +0 -0
  263. /package/{dist/vite.svg → vite.svg} +0 -0
@@ -1,766 +0,0 @@
1
- import {ComponentStory, ComponentMeta} from '@storybook/react';
2
- import {Collapse} from './Collapse';
3
- import icono from '../../Elements/Icon/icono.svg';
4
- import {Tooltip} from '../Tooltip/Tooltip';
5
-
6
- export default {
7
- title: 'Components/Collapse',
8
- component: Collapse,
9
- args: {
10
- paddingLeft: 'long',
11
- show: true,
12
- initialState: false,
13
- title: 'Título',
14
- titleWeight: 'semibold',
15
- price: 12000.662,
16
- disabled: false,
17
- borderTop: false,
18
- borderBottom: false,
19
- callBackCheckbox: array => {
20
- console.log(array);
21
- },
22
- onSaveData(data) {
23
- console.log(data);
24
- },
25
- showAmountinEdit: true,
26
- },
27
- } as ComponentMeta<typeof Collapse>;
28
-
29
- const Template: ComponentStory<typeof Collapse> = args => <Collapse {...args} />;
30
-
31
- export const Standard = Template.bind({});
32
- Standard.args = {
33
- type: 'father',
34
- isFather: true,
35
- show: true,
36
- initialState: false,
37
- description: 'Descripción',
38
-
39
- buttonMenu: {
40
- menuDropComponent: (
41
- <Tooltip active contentType="text" text="Usá esta Base Imponible para tu declaración de Bienes Personales 2023" trianglePos="none" />
42
- ),
43
- button: {
44
- size: 'normal',
45
- fill: 'unstyled',
46
- icon: 'fa-solid fa-ellipsis-vertical',
47
- type: 'button',
48
- },
49
- onEllipse: () => console.log('clicked button Ellipse'),
50
-
51
- // select: {
52
- // size: 'md',
53
- // fill: 'outline',
54
- // disabled: false,
55
- // error: false,
56
- // placeholder: 'Default Select',
57
- // options: [
58
- // {value: '1', label: 'Option 1', icon: 'fa fa-house'},
59
- // {value: '2', label: 'Option 2'},
60
- // {value: '3', label: 'Option 3'},
61
- // ],
62
- // onChangeSelect: value => console.log('Select: ' + value),
63
- // },
64
- },
65
-
66
- childCollapse: [
67
- {
68
- type: 'child',
69
- isFather: true,
70
- initialState: false,
71
- borderTop: true,
72
- title: 'Título',
73
- description: 'Descripción',
74
- price: 12.000662,
75
-
76
- buttonMenu: {
77
- button: {
78
- size: 'normal',
79
- fill: 'unstyled',
80
- icon: 'fa-solid fa-ellipsis-vertical',
81
- type: 'button',
82
- },
83
- menuDropComponent: (
84
- <Tooltip
85
- active
86
- contentType="text"
87
- text="Usá esta Base Imponible para tu declaración de Bienes Personales 2023"
88
- trianglePos="none"
89
- />
90
- ),
91
- onEllipse: () => console.log('clicked button Ellipse'),
92
- // select: {
93
- // size: 'md',
94
- // fill: 'outline',
95
- // disabled: false,
96
- // error: false,
97
- // placeholder: 'Default Select',
98
- // options: [
99
- // {value: '1', label: 'Option 1', icon: 'fa fa-house'},
100
- // {value: '2', label: 'Option 2'},
101
- // {value: '3', label: 'Option 3'},
102
- // ],
103
- // onChangeSelect: () => {
104
- // console.log('Select changed');
105
- // },
106
- // },
107
- },
108
- childCollapse: [
109
- {
110
- type: 'nephew',
111
- colored: true,
112
- borderTop: true,
113
- initialState: false,
114
- title: 'Título',
115
- description: 'Descripción',
116
- price: 12.000662,
117
-
118
- buttonMenu: {
119
- button: {
120
- size: 'normal',
121
- fill: 'unstyled',
122
- icon: 'fa-solid fa-ellipsis-vertical',
123
- type: 'button',
124
- },
125
- onEllipse: () => console.log('clicked button Ellipse'),
126
- select: {
127
- size: 'md',
128
- fill: 'outline',
129
- disabled: false,
130
- error: false,
131
- placeholder: 'Default Select',
132
- options: [
133
- {value: '1', label: 'Option 1', icon: 'fa fa-house'},
134
- {value: '2', label: 'Option 2'},
135
- {value: '3', label: 'Option 3'},
136
- ],
137
- onChangeSelect: value => {
138
- console.log('Select changed' + ' ' + value);
139
- },
140
- },
141
- },
142
- },
143
- ],
144
- },
145
- ],
146
- };
147
-
148
- export const Father = Template.bind({});
149
- Father.args = {
150
- type: 'father',
151
- isFather: false,
152
- show: true,
153
- initialState: false,
154
- description: 'Descripción',
155
- buttonMenu: {
156
- button: {
157
- size: 'normal',
158
- fill: 'unstyled',
159
- icon: 'fa-solid fa-ellipsis-vertical',
160
- type: 'button',
161
- },
162
- onEllipse: () => console.log('clicked button Ellipse'),
163
- select: {
164
- size: 'md',
165
- fill: 'outline',
166
- disabled: false,
167
- error: false,
168
- placeholder: 'Default Select',
169
- options: [
170
- {value: '1', label: 'Option 1', icon: 'fa fa-house'},
171
- {value: '2', label: 'Option 2'},
172
- {value: '3', label: 'Option 3'},
173
- ],
174
- onChangeSelect: value => console.log('Select: ' + value),
175
- },
176
- },
177
- };
178
-
179
- export const Child = Template.bind({});
180
- Child.args = {
181
- type: 'child',
182
- isFather: false,
183
- show: true,
184
- initialState: false,
185
- description: 'Descripción',
186
- buttonMenu: {
187
- button: {
188
- size: 'normal',
189
- fill: 'unstyled',
190
- icon: 'fa-solid fa-ellipsis-vertical',
191
- type: 'button',
192
- },
193
- onEllipse: () => console.log('clicked button Ellipse'),
194
- select: {
195
- size: 'md',
196
- fill: 'outline',
197
- disabled: false,
198
- error: false,
199
- placeholder: 'Default Select',
200
- options: [
201
- {value: '1', label: 'Option 1', icon: 'fa fa-house'},
202
- {value: '2', label: 'Option 2'},
203
- {value: '3', label: 'Option 3'},
204
- ],
205
- onChangeSelect: value => console.log('Select: ' + value),
206
- },
207
- },
208
- };
209
-
210
- export const Nephew = Template.bind({});
211
- Nephew.args = {
212
- type: 'nephew',
213
- isFather: false,
214
- show: true,
215
- initialState: false,
216
- description: 'Descripción',
217
- buttonMenu: {
218
- button: {
219
- size: 'normal',
220
- fill: 'unstyled',
221
- icon: 'fa-solid fa-ellipsis-vertical',
222
- type: 'button',
223
- },
224
- onEllipse: () => console.log('clicked button Ellipse'),
225
- select: {
226
- size: 'md',
227
- fill: 'outline',
228
- disabled: false,
229
- error: false,
230
- placeholder: 'Default Select',
231
- options: [
232
- {value: '1', label: 'Option 1', icon: 'fa fa-house'},
233
- {value: '2', label: 'Option 2'},
234
- {value: '3', label: 'Option 3'},
235
- ],
236
- onChangeSelect: value => console.log('Select: ' + value),
237
- },
238
- },
239
- };
240
-
241
- export const Example1 = Template.bind({});
242
- Example1.args = {
243
- type: 'father',
244
- initialState: false,
245
- description: 'Descripción',
246
-
247
- borderBottom: true,
248
- titleIcon: {icon: 'fa-solid fa-car'},
249
- badge: {color: 'primary', text: 'PRINCIPAL'},
250
- details: 'N° factura: \n 000001231231',
251
- dateDays: '05/11/2022',
252
- dateTime: '08:54',
253
-
254
- priceTop: {description: 'Imp.', value: 1990},
255
- priceBottom: {description: 'Alic.', value: 2.9},
256
- buttonMenu: {
257
- button: {
258
- size: 'normal',
259
- fill: 'unstyled',
260
- icon: 'fa-solid fa-ellipsis-vertical',
261
- type: 'button',
262
- },
263
- onEllipse: () => console.log('clicked button Ellipse'),
264
- select: {
265
- size: 'md',
266
- fill: 'outline',
267
- disabled: false,
268
- error: false,
269
- placeholder: 'Default Select',
270
- options: [
271
- {value: '1', label: 'Option 1', icon: 'fa fa-house'},
272
- {value: '2', label: 'Option 2'},
273
- {value: '3', label: 'Option 3'},
274
- ],
275
- onChangeSelect: value => console.log('Select: ' + value),
276
- },
277
- },
278
- };
279
-
280
- export const Example2 = Template.bind({});
281
- Example2.args = {
282
- type: 'father',
283
- titleWeight: 'regular',
284
- initialState: false,
285
- borderBottom: true,
286
- };
287
-
288
- export const Example3 = Template.bind({});
289
- Example3.args = {
290
- paddingLeft: 'short',
291
- type: 'father',
292
- priceColor: '#124596',
293
- isFather: true,
294
- show: true,
295
- initialState: false,
296
- borderBottom: true,
297
- checkbox: {
298
- defaultChecked: true,
299
- // checked: true,
300
- label: '',
301
- size: 'md',
302
- value: 'value',
303
- name: 'priceLeft',
304
- onCheck: state => console.log('priceLeft Checked: ' + state),
305
- },
306
- childCollapse: [
307
- {
308
- type: 'child',
309
- paddingLeft: 'short',
310
- isFather: true,
311
- initialState: false,
312
- title: 'Cuota Régimen Especial IB',
313
- titleWeight: 'regular',
314
- price: 50.35,
315
- checkbox: {
316
- defaultChecked: true,
317
- label: '',
318
- size: 'md',
319
- value: 'value',
320
- name: 'priceLeft',
321
- onCheck: () => console.log('priceLeft Checked'),
322
- },
323
- callBackCheckbox: array => {
324
- console.log(array);
325
- },
326
- },
327
- {
328
- type: 'child',
329
- paddingLeft: 'short',
330
- isFather: true,
331
- initialState: false,
332
- title: 'Facilidades de pago',
333
- titleWeight: 'regular',
334
- price: 943.12,
335
- checkbox: {
336
- label: '',
337
- size: 'md',
338
- value: 'value',
339
- name: 'priceLeft',
340
- onCheck: () => console.log('priceLeft Checked'),
341
- },
342
- callBackCheckbox: array => {
343
- console.log(array);
344
- },
345
- childCollapse: [
346
- {
347
- type: 'nephew',
348
- paddingLeft: 'short',
349
- initialState: false,
350
- title: 'Compensación por reconocimiento de créditos',
351
- titleWeight: 'regular',
352
- price: 235.78,
353
- checkbox: {
354
- label: '',
355
- size: 'md',
356
- value: 'value',
357
- name: 'priceLeft',
358
- onCheck: () => console.log('priceLeft Checked'),
359
- },
360
- callBackCheckbox: array => {
361
- console.log(array);
362
- },
363
- },
364
- {
365
- type: 'nephew',
366
- paddingLeft: 'short',
367
- initialState: false,
368
- title: 'Compensación pagos Duplicados',
369
- titleWeight: 'regular',
370
- price: 235.78,
371
- checkbox: {
372
- label: '',
373
- size: 'md',
374
- value: 'value',
375
- name: 'priceLeft',
376
- onCheck: () => console.log('priceLeft Checked'),
377
- },
378
- callBackCheckbox: array => {
379
- console.log(array);
380
- },
381
- },
382
- {
383
- type: 'nephew',
384
- paddingLeft: 'short',
385
- initialState: false,
386
- title: 'Compensación por reconocimiento de créditos',
387
- titleWeight: 'regular',
388
- price: 235.78,
389
- checkbox: {
390
- label: '',
391
- size: 'md',
392
- value: 'value',
393
- name: 'priceLeft',
394
- onCheck: () => console.log('priceLeft Checked'),
395
- },
396
- callBackCheckbox: array => {
397
- console.log(array);
398
- },
399
- },
400
- ],
401
- },
402
- {
403
- type: 'child',
404
- paddingLeft: 'short',
405
- isFather: true,
406
- initialState: false,
407
- title: 'Multas Formales',
408
- titleWeight: 'regular',
409
- price: 668.02,
410
- checkbox: {
411
- label: '',
412
- size: 'md',
413
- value: 'value',
414
- name: 'priceLeft',
415
- onCheck: () => console.log('priceLeft Checked'),
416
- },
417
- callBackCheckbox: array => {
418
- console.log(array);
419
- },
420
- },
421
- ],
422
- };
423
-
424
- export const Example4 = Template.bind({});
425
- Example4.args = {
426
- type: 'father',
427
- isFather: true,
428
- title: '2021',
429
- show: true,
430
- initialState: false,
431
- borderBottom: true,
432
- checkbox: {
433
- label: '',
434
- size: 'md',
435
- value: 'value',
436
- name: 'priceLeft',
437
- onCheck: () => console.log('priceLeft Checked'),
438
- },
439
- callBackCheckbox: array => {
440
- console.log(array);
441
- },
442
- childCollapse: [
443
- {
444
- type: 'child',
445
- isFather: true,
446
- initialState: false,
447
- borderBottom: true,
448
- title: 'G10004357',
449
- description: 'Casa 1',
450
- price: 41.58408,
451
- checkbox: {
452
- label: '',
453
- size: 'md',
454
- value: 'value',
455
- name: 'priceLeft',
456
- onCheck: () => console.log('priceLeft Checked'),
457
- },
458
- callBackCheckbox: array => {
459
- console.log(array);
460
- },
461
- childCollapse: [
462
- {
463
- type: 'nephew',
464
- initialState: false,
465
- title: '2021 / Cuota 1',
466
- stateTitle: {color: '#16A34A', label: 'Compensado completo'},
467
- price: 4.80163,
468
- badge: {color: '#DC2626', text: 'MORA'},
469
- colored: true,
470
- checkbox: {
471
- label: '',
472
- size: 'md',
473
- value: 'value',
474
- name: 'priceLeft',
475
- onCheck: () => console.log('priceLeft Checked'),
476
- },
477
- callBackCheckbox: array => {
478
- console.log(array);
479
- },
480
- },
481
- {
482
- type: 'nephew',
483
- initialState: false,
484
- title: '2021 / Cuota 2',
485
- stateTitle: {color: '#EA580C', label: 'Compensado parcial'},
486
- price: 4.52163,
487
- badge: {color: '#DC2626', text: 'MORA'},
488
- colored: true,
489
- checkbox: {
490
- label: '',
491
- size: 'md',
492
- value: 'value',
493
- name: 'priceLeft',
494
- onCheck: () => console.log('priceLeft Checked'),
495
- },
496
- callBackCheckbox: array => {
497
- console.log(array);
498
- },
499
- },
500
- {
501
- type: 'nephew',
502
- initialState: false,
503
- title: '2021 / Cuota 3',
504
- price: 4.31573,
505
- badge: {color: '#DC2626', text: 'MORA'},
506
- disabled: true,
507
- checkbox: {
508
- label: '',
509
- size: 'md',
510
- value: 'value',
511
- name: 'priceLeft',
512
- onCheck: () => console.log('priceLeft Checked'),
513
- },
514
- callBackCheckbox: array => {
515
- console.log(array);
516
- },
517
- },
518
- ],
519
- },
520
- ],
521
- };
522
-
523
- export const Example5 = Template.bind({});
524
- Example5.args = {
525
- type: 'child',
526
- isFather: false,
527
- show: true,
528
- initialState: false,
529
- description: 'Descripción',
530
- colored: true,
531
- buttonMenu: {
532
- button: {
533
- size: 'normal',
534
- fill: 'unstyled',
535
- icon: 'fa-solid fa-ellipsis-vertical',
536
- type: 'button',
537
- },
538
- onEllipse: () => console.log('clicked button Ellipse'),
539
- select: {
540
- size: 'md',
541
- fill: 'outline',
542
- disabled: false,
543
- error: false,
544
- placeholder: 'Default Select',
545
- options: [
546
- {value: '1', label: 'Option 1', icon: 'fa fa-house'},
547
- {value: '2', label: 'Option 2'},
548
- {value: '3', label: 'Option 3'},
549
- ],
550
- onChangeSelect: value => console.log('Select: ' + value),
551
- },
552
- },
553
- radio: {
554
- size: 'md',
555
- disabled: false,
556
- label: '',
557
- name: 'radioRight',
558
- value: 'value',
559
- error: false,
560
- onCheck: () => {
561
- console.log('Radio Checked: ');
562
- },
563
- },
564
- };
565
-
566
- export const AllPropsActive = Template.bind({});
567
- AllPropsActive.args = {
568
- type: 'father',
569
- isFather: true,
570
- initialState: false,
571
- description: 'Descripción',
572
-
573
- titleIcon: {icon: 'fa-solid fa-car'},
574
- badge: {color: 'primary', text: 'PRINCIPAL'},
575
- stateTitle: {color: '#16A34A', label: 'Compensado completo'},
576
- details: 'N° factura: \n 000001231231',
577
- dateDays: '05/11/2022',
578
- dateTime: '08:54',
579
-
580
- priceTop: {description: 'Imp.', value: 1990},
581
- priceBottom: {description: 'Alic.', value: 2.9},
582
- buttonMenu: {
583
- button: {
584
- size: 'normal',
585
- fill: 'unstyled',
586
- icon: 'fa-solid fa-ellipsis-vertical',
587
- type: 'button',
588
- },
589
- onEllipse: () => console.log('clicked button Ellipse'),
590
- select: {
591
- size: 'md',
592
- fill: 'outline',
593
- disabled: false,
594
- error: false,
595
- placeholder: 'Default Select',
596
- options: [
597
- {value: '1', label: 'Option 1', icon: 'fa fa-house'},
598
- {value: '2', label: 'Option 2'},
599
- {value: '3', label: 'Option 3'},
600
- ],
601
- onChangeSelect: value => console.log('Select: ' + value),
602
- },
603
- },
604
-
605
- priceLeft: {
606
- checkbox: {
607
- label: 'Saldo al 26/2 -',
608
- size: 'md',
609
- value: 'value',
610
- name: 'priceLeft',
611
- onCheck: () => console.log('priceLeft Checked'),
612
- },
613
- label: 'Saldo al 26/2 -',
614
- },
615
- childCollapse: [
616
- {
617
- type: 'child',
618
- isFather: true,
619
- initialState: false,
620
- borderTop: true,
621
- title: 'Título',
622
- description: 'Descripción',
623
- price: 12.000662,
624
- buttonMenu: {
625
- button: {
626
- size: 'normal',
627
- fill: 'unstyled',
628
- icon: 'fa-solid fa-ellipsis-vertical',
629
- type: 'button',
630
- },
631
- onEllipse: () => console.log('clicked button Ellipse'),
632
- select: {
633
- size: 'md',
634
- fill: 'outline',
635
- disabled: false,
636
- error: false,
637
- placeholder: 'Default Select',
638
- options: [
639
- {value: '1', label: 'Option 1', icon: 'fa fa-house'},
640
- {value: '2', label: 'Option 2'},
641
- {value: '3', label: 'Option 3'},
642
- ],
643
- onChangeSelect: () => {
644
- console.log('Select changed');
645
- },
646
- },
647
- },
648
- childCollapse: [
649
- {
650
- type: 'nephew',
651
- colored: true,
652
- borderTop: true,
653
- initialState: false,
654
- title: 'Título',
655
- description: 'Descripción',
656
- price: 12.000662,
657
- buttonMenu: {
658
- button: {
659
- size: 'normal',
660
- fill: 'unstyled',
661
- icon: 'fa-solid fa-ellipsis-vertical',
662
- type: 'button',
663
- },
664
- onEllipse: () => console.log('clicked button Ellipse'),
665
- select: {
666
- size: 'md',
667
- fill: 'outline',
668
- disabled: false,
669
- error: false,
670
- placeholder: 'Default Select',
671
- options: [
672
- {value: '1', label: 'Option 1', icon: 'fa fa-house'},
673
- {value: '2', label: 'Option 2'},
674
- {value: '3', label: 'Option 3'},
675
- ],
676
- onChangeSelect: () => {
677
- console.log('Select changed');
678
- },
679
- },
680
- },
681
- },
682
- ],
683
- },
684
- ],
685
- buttonDetail: {
686
- button: {
687
- label: 'Detalles',
688
- size: 'normal',
689
- fill: 'link',
690
- icon: icono,
691
- icon_type: 'svg_icon',
692
- type: 'button',
693
- onClick: () => console.log('ButtonDetail Clicked'),
694
- },
695
- tooltip: {
696
- contentType: 'taxes',
697
- trianglePos: 'top-left',
698
- principal_item: {label: 'Impuesto inicial', value: '$ 38.700,50'},
699
- sections: [
700
- {
701
- title: 'Descuentos',
702
- labels: [
703
- {label: '30% por estar al día', value: '- $ 11.400,00'},
704
- {label: '15% por cuota única', value: '- $ 3.400,00'},
705
- {label: 'Cupón de crédito 2020', value: '- $ 3.012,00'},
706
- {label: 'Tope por ley', value: '- $ 3.000,00'},
707
- {label: 'Tope por ley 2', value: '- $ 4.000,00'},
708
- ],
709
- },
710
- ],
711
- total: {label: 'Total a pagar', value: '$ 21.093,50'},
712
- notification: 'Sin el 5% de descuento extra de las buenas prácticas agropecuarias.',
713
- alert: {
714
- icon: 'fa-solid fa-circle-info',
715
- label: 'El Tope en el Aumento 2021 es el valor que limita los incrementos en tu Impuesto Inmobiliario.',
716
- },
717
- },
718
- tooltipPos: 'bottom',
719
- },
720
-
721
- dropRightButton: {
722
- size: 'small',
723
- icon: 'fa-solid fa-chevron-right',
724
- fill: 'unstyled',
725
- type: 'button',
726
- onClick: () => console.log('ButtonMenu Clicked'),
727
- },
728
- buttonLink: {
729
- label: 'Ver más',
730
- size: 'small',
731
- fill: 'link',
732
- loading: false,
733
- disabled: false,
734
- trailingIcon: true,
735
- icon: 'fa-solid fa-chevron-right',
736
- type: 'button',
737
- onClick: () => console.log('ButtonLink Clicked'),
738
- },
739
- buttonEdit: {
740
- size: 'normal',
741
- fill: 'unstyled',
742
- loading: false,
743
- disabled: false,
744
- icon: 'fa-solid fa-pencil',
745
- type: 'button',
746
- onClick: () => console.log('Button Clicked'),
747
- },
748
- checkbox: {
749
- label: '',
750
- size: 'md',
751
- value: 'value',
752
- name: 'priceLeft',
753
- onCheck: state => console.log('priceLeft Checked: ' + state),
754
- },
755
- radio: {
756
- size: 'md',
757
- disabled: false,
758
- label: '',
759
- name: 'radioRight',
760
- value: 'value',
761
- error: false,
762
- onCheck: () => {
763
- console.log('Radio Checked');
764
- },
765
- },
766
- };