@xaypay/tui 0.0.119 → 0.0.121

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 (180) hide show
  1. package/dist/index.es.js +3983 -4344
  2. package/dist/index.js +3982 -4345
  3. package/package.json +1 -1
  4. package/tui.config.js +1 -1
  5. package/.eslintrc.js +0 -30
  6. package/.husky/pre-commit +0 -4
  7. package/.prettierrc +0 -10
  8. package/.storybook/main.js +0 -48
  9. package/.storybook/preview.js +0 -9
  10. package/rollup.config.js +0 -37
  11. package/src/assets/attach.svg +0 -4
  12. package/src/assets/delete.svg +0 -4
  13. package/src/assets/down-arrow.svg +0 -4
  14. package/src/assets/figma-image.png +0 -0
  15. package/src/assets/heart-filled.svg +0 -17
  16. package/src/assets/heart-outline.svg +0 -14
  17. package/src/assets/like-filled.svg +0 -21
  18. package/src/assets/like-outline.svg +0 -21
  19. package/src/assets/minus.svg +0 -4
  20. package/src/assets/pdf.svg +0 -3
  21. package/src/assets/plus.svg +0 -4
  22. package/src/assets/range-arrow-default.svg +0 -19
  23. package/src/assets/range-arrow-error.svg +0 -19
  24. package/src/assets/range-arrow-success.svg +0 -19
  25. package/src/assets/star-filled.svg +0 -21
  26. package/src/assets/star-outline.svg +0 -5
  27. package/src/assets/table-settings-icon.svg +0 -3
  28. package/src/assets/up-arrow.svg +0 -4
  29. package/src/assets_old/icons/Read Me.txt +0 -7
  30. package/src/assets_old/icons/demo-files/demo.css +0 -152
  31. package/src/assets_old/icons/demo-files/demo.js +0 -28
  32. package/src/assets_old/icons/demo.html +0 -192
  33. package/src/assets_old/icons/fonts/icomoon.eot +0 -0
  34. package/src/assets_old/icons/fonts/icomoon.svg +0 -21
  35. package/src/assets_old/icons/fonts/icomoon.ttf +0 -0
  36. package/src/assets_old/icons/fonts/icomoon.woff +0 -0
  37. package/src/assets_old/icons/selection.json +0 -1
  38. package/src/assets_old/icons/style.css +0 -58
  39. package/src/components/autocomplate/autocomplate.module.css +0 -95
  40. package/src/components/autocomplate/autocomplate.stories.js +0 -35
  41. package/src/components/autocomplate/index.js +0 -164
  42. package/src/components/button/button.stories.js +0 -13
  43. package/src/components/button/index.js +0 -187
  44. package/src/components/captcha/captcha.module.css +0 -74
  45. package/src/components/captcha/captcha.stories.js +0 -21
  46. package/src/components/captcha/index.js +0 -158
  47. package/src/components/checkbox/checkbox.module.css +0 -0
  48. package/src/components/checkbox/checkbox.stories.js +0 -76
  49. package/src/components/checkbox/index.js +0 -120
  50. package/src/components/file/file.module.css +0 -114
  51. package/src/components/file/file.stories.js +0 -20
  52. package/src/components/file/index.js +0 -138
  53. package/src/components/icon/Active.js +0 -20
  54. package/src/components/icon/Arrow.js +0 -19
  55. package/src/components/icon/Cancel.js +0 -19
  56. package/src/components/icon/CaptchaArrowDown.js +0 -19
  57. package/src/components/icon/CaptchaArrowUp.js +0 -19
  58. package/src/components/icon/CheckboxChecked.js +0 -21
  59. package/src/components/icon/CheckboxUnchecked.js +0 -21
  60. package/src/components/icon/Close.js +0 -19
  61. package/src/components/icon/CloseIcon.js +0 -19
  62. package/src/components/icon/CloseSlide.js +0 -19
  63. package/src/components/icon/DeActive.js +0 -20
  64. package/src/components/icon/DeleteComponent.js +0 -20
  65. package/src/components/icon/Done.js +0 -19
  66. package/src/components/icon/Dots.js +0 -19
  67. package/src/components/icon/DownArrow.js +0 -20
  68. package/src/components/icon/HeartFilled.js +0 -25
  69. package/src/components/icon/HeartOutline.js +0 -25
  70. package/src/components/icon/Heic.js +0 -21
  71. package/src/components/icon/Icon.js +0 -11
  72. package/src/components/icon/ListItemDelete.js +0 -19
  73. package/src/components/icon/ListItemJpeg.js +0 -21
  74. package/src/components/icon/ListItemJpg.js +0 -21
  75. package/src/components/icon/ListItemPdf.js +0 -21
  76. package/src/components/icon/ListItemPng.js +0 -21
  77. package/src/components/icon/Next.js +0 -20
  78. package/src/components/icon/Nextarrow.js +0 -19
  79. package/src/components/icon/PDF.js +0 -19
  80. package/src/components/icon/Prev.js +0 -20
  81. package/src/components/icon/RangeArrowDefault.js +0 -43
  82. package/src/components/icon/RangeArrowError.js +0 -43
  83. package/src/components/icon/RangeArrowSuccess.js +0 -43
  84. package/src/components/icon/Reject.js +0 -19
  85. package/src/components/icon/RemoveFile.js +0 -20
  86. package/src/components/icon/Required.js +0 -19
  87. package/src/components/icon/ToasterClose.js +0 -19
  88. package/src/components/icon/ToasterError.js +0 -19
  89. package/src/components/icon/ToasterInfo.js +0 -19
  90. package/src/components/icon/ToasterSuccess.js +0 -19
  91. package/src/components/icon/ToasterWarning.js +0 -19
  92. package/src/components/icon/Tooltip.js +0 -19
  93. package/src/components/icon/UpArrow.js +0 -20
  94. package/src/components/icon/Upload.js +0 -25
  95. package/src/components/icon/Wrong.js +0 -21
  96. package/src/components/icon/Zoom.js +0 -21
  97. package/src/components/icon/index.js +0 -0
  98. package/src/components/input/index.js +0 -688
  99. package/src/components/input/input.module.css +0 -51
  100. package/src/components/input/input.stories.js +0 -26
  101. package/src/components/modal/index.js +0 -436
  102. package/src/components/modal/modal.module.css +0 -22
  103. package/src/components/modal/modal.stories.js +0 -88
  104. package/src/components/newAutocomplete/NewAutocomplete.stories.js +0 -102
  105. package/src/components/newAutocomplete/autocomplete.module.css +0 -4
  106. package/src/components/newAutocomplete/index.js +0 -592
  107. package/src/components/newFile/fileItem.js +0 -281
  108. package/src/components/newFile/index.js +0 -731
  109. package/src/components/newFile/newFile.stories.js +0 -93
  110. package/src/components/pagination/index.js +0 -234
  111. package/src/components/pagination/pagination.module.css +0 -93
  112. package/src/components/pagination/pagination.stories.js +0 -371
  113. package/src/components/pagination/paginationRange.js +0 -45
  114. package/src/components/radio/index.js +0 -236
  115. package/src/components/radio/radio.module.css +0 -59
  116. package/src/components/radio/radio.stories.js +0 -59
  117. package/src/components/select/index.js +0 -534
  118. package/src/components/select/select.module.css +0 -93
  119. package/src/components/select/select.stories.js +0 -39
  120. package/src/components/singleCheckbox/Checkbox.js +0 -84
  121. package/src/components/singleCheckbox/index.js +0 -65
  122. package/src/components/singleCheckbox/singleCheckbox.stories.js +0 -24
  123. package/src/components/stepper/index.js +0 -45
  124. package/src/components/stepper/stepper.module.css +0 -57
  125. package/src/components/stepper/stepper.stories.js +0 -17
  126. package/src/components/table/index.js +0 -789
  127. package/src/components/table/table.module.css +0 -63
  128. package/src/components/table/table.stories.js +0 -497
  129. package/src/components/table/td.js +0 -429
  130. package/src/components/table/th.js +0 -103
  131. package/src/components/textarea/index.js +0 -285
  132. package/src/components/textarea/textarea.module.css +0 -25
  133. package/src/components/textarea/textarea.stories.js +0 -56
  134. package/src/components/toaster/Toast.js +0 -203
  135. package/src/components/toaster/index.js +0 -131
  136. package/src/components/toaster/toaster.module.css +0 -201
  137. package/src/components/toaster/toaster.stories.js +0 -593
  138. package/src/components/tooltip/index.js +0 -156
  139. package/src/components/tooltip/tooltip.module.css +0 -46
  140. package/src/components/tooltip/tooltip.stories.js +0 -30
  141. package/src/components/typography/index.js +0 -124
  142. package/src/components/typography/typography.module.css +0 -57
  143. package/src/components/typography/typography.stories.js +0 -22
  144. package/src/index.js +0 -19
  145. package/src/stories/Introduction.stories.mdx +0 -210
  146. package/src/stories/assets/code-brackets.svg +0 -1
  147. package/src/stories/assets/colors.svg +0 -1
  148. package/src/stories/assets/comments.svg +0 -1
  149. package/src/stories/assets/direction.svg +0 -1
  150. package/src/stories/assets/flow.svg +0 -1
  151. package/src/stories/assets/plugin.svg +0 -1
  152. package/src/stories/assets/repo.svg +0 -1
  153. package/src/stories/assets/stackalt.svg +0 -1
  154. package/src/stories/changelog.stories.mdx +0 -172
  155. package/src/stories/configuration.stories.mdx +0 -715
  156. package/src/stories/documentation.stories.mdx +0 -118
  157. package/src/stories/static/autocomplete-usage.png +0 -0
  158. package/src/stories/static/button-usage-icon.png +0 -0
  159. package/src/stories/static/button-usage.png +0 -0
  160. package/src/stories/static/captcha-usage.png +0 -0
  161. package/src/stories/static/checkbox-group-usage-2.png +0 -0
  162. package/src/stories/static/checkbox-group-usage.png +0 -0
  163. package/src/stories/static/file-single-usage.png +0 -0
  164. package/src/stories/static/file-usage.png +0 -0
  165. package/src/stories/static/input-usage.png +0 -0
  166. package/src/stories/static/modal-usage.png +0 -0
  167. package/src/stories/static/radio-usage.png +0 -0
  168. package/src/stories/static/select-usage.png +0 -0
  169. package/src/stories/static/table-body-data-structure-first-part-usage.png +0 -0
  170. package/src/stories/static/table-body-data-structure-second-part-usage.png +0 -0
  171. package/src/stories/static/table-body-data-structure-third-part-usage.png +0 -0
  172. package/src/stories/static/table-component-usage.png +0 -0
  173. package/src/stories/static/table-header-data-structure-usage.png +0 -0
  174. package/src/stories/static/table-new-data-structure-usage.png +0 -0
  175. package/src/stories/static/textarea-usage.png +0 -0
  176. package/src/stories/static/toaster-container-usage.png +0 -0
  177. package/src/stories/static/toaster-usage.png +0 -0
  178. package/src/stories/static/tooltip-usage.png +0 -0
  179. package/src/stories/usage.stories.mdx +0 -201
  180. package/src/utils/index.js +0 -29
@@ -1,63 +0,0 @@
1
- .sorting-arrows::after {
2
- content: "▲";
3
- position: absolute;
4
- right: 0px;
5
- font-size: 11px;
6
- top: calc(50% - 12px);
7
- }
8
-
9
- .sorting-arrows::before {
10
- content: "▼";
11
- position: absolute;
12
- right: 0px;
13
- font-size: 11px;
14
- bottom: calc(50% - 12px);
15
- }
16
-
17
- .td-span {
18
- position: relative;
19
- display: inline-block;
20
- }
21
-
22
- .td-span > svg {
23
- position: absolute;
24
- top: 0px;
25
- left: 0px;
26
- z-index: -1;
27
- }
28
-
29
- .list-text {
30
- cursor: pointer;
31
- white-space: wrap;
32
- margin: 0px 0px 8px 0px;
33
- }
34
-
35
- .dots-option-item {
36
- display: flex;
37
- position: relative;
38
- width: 100%;
39
- height: 39px;
40
- cursor: pointer;
41
- padding: 10px;
42
- margin-bottom: 2px;
43
- box-sizing: border-box;
44
- }
45
-
46
- .dots-option-item::after {
47
- content: '';
48
- position: absolute;
49
- top: calc(100% - 2px);
50
- left: 10px;
51
- height: 2px;
52
- width: calc(100% - 20px);
53
- background-color: #EEEEEE;
54
- border-radius: 1px;
55
- -webkit-border-radius: 1px;
56
- -moz-border-radius: 1px;
57
- -ms-border-radius: 1px;
58
- -o-border-radius: 1px;
59
- }
60
-
61
- .dots-option-item:last-child::after {
62
- display: none;
63
- }
@@ -1,497 +0,0 @@
1
- import React from 'react'
2
- import { Table } from '.'
3
-
4
- import { ReactComponent as ReactSVGPlus } from './../../assets/plus.svg'
5
- import { ReactComponent as ReactSVGMinus } from './../../assets/minus.svg'
6
- import { ReactComponent as ReactSVGDelete } from './../../assets/delete.svg'
7
- import { ReactComponent as ReactSVGAttach } from './../../assets/attach.svg'
8
- import { ReactComponent as ReactSVGArrowUp } from './../../assets/up-arrow.svg'
9
- import { ReactComponent as ReactSVGArrowDown } from './../../assets/down-arrow.svg'
10
- import { ReactComponent as ReactSVG } from './../../assets/table-settings-icon.svg'
11
-
12
- import SvgDone from './../icon/Done'
13
- import SvgActive from './../icon/Active'
14
- import SvgReject from './../icon/Reject'
15
- import SvgCancel from './../icon/Cancel'
16
- import SvgDeActive from './../icon/DeActive'
17
-
18
- export default {
19
- component: Table,
20
- title: 'Components/Table',
21
- }
22
-
23
- const headerData = [
24
- {
25
- type: 'show',
26
- content: 'Հ/Հ',
27
- checkBox: {
28
- checked: false,
29
- checkedColor: 'orange',
30
- unCheckedColor: 'orange',
31
- },
32
- sortingArrows: false,
33
- },
34
- {
35
- type: 'show',
36
- content: 'ՀՎՀՀ',
37
- sortingArrows: true,
38
- },
39
- {
40
- type: 'show',
41
- content: 'Վարչ․շրջան',
42
- sortingArrows: true,
43
- },
44
- {
45
- type: 'show',
46
- content: 'Վճար',
47
- checkBox: {
48
- checked: false,
49
- checkedColor: 'orange',
50
- unCheckedColor: 'orange',
51
- },
52
- sortingArrows: true,
53
- },
54
- {
55
- type: 'show',
56
- content: 'Ամսաթիվ',
57
- sortingArrows: true,
58
- },
59
- {
60
- type: 'show',
61
- content: 'Մուտքի ամս․',
62
- sortingArrows: true,
63
- },
64
- {
65
- type: 'show',
66
- content: 'Հավելյալ ինֆորմացիա',
67
- sortingArrows: true,
68
- },
69
- {
70
- type: 'show',
71
- content: 'Ստեղծված',
72
- sortingArrows: true,
73
- },
74
- {
75
- type: 'show',
76
- content: 'Գործողություն',
77
- sortingArrows: true,
78
- },
79
- {
80
- type: 'show',
81
- content: 'Գործողություն 2',
82
- sortingArrows: true,
83
- },
84
- {
85
- type: 'show',
86
- content: <ReactSVG />,
87
- sortingArrows: false,
88
- },
89
- ]
90
-
91
- const bodyData = [
92
- {
93
- hh: {
94
- id: 19854,
95
- content: 19854,
96
- checkBox: {
97
- checked: false,
98
- checkedColor: 'green',
99
- unCheckedColor: 'green',
100
- },
101
- colorStatus: '#0DA574',
102
- },
103
- hvhh: {
104
- content: 10195524,
105
- },
106
- shrjan: {
107
- content: 'Շենգավիթ',
108
- },
109
- pay: {
110
- id: 19854,
111
- content: 7000,
112
- checkBox: {
113
- checked: false,
114
- checkedColor: 'green',
115
- unCheckedColor: 'green',
116
- },
117
- },
118
- startDate: {
119
- content: '27.05.2022',
120
- },
121
- enterDate: {
122
- content: '27.05.2022',
123
- },
124
- info: {
125
- status: 'close',
126
- hideArrow: true, // prop for hide open close arrows
127
- rightArrow: true, // prop for set arrow side, if true arrow go to right side, if false or if haven't this prop arrow go left ( by defult )
128
- theSame: 'to open another list', // prop for open close another list item, IMPORTANT theSame prop in another list should be equal
129
- openArrow: <ReactSVGArrowUp />,
130
- closeArrow: <ReactSVGArrowDown />,
131
- content: 'Այլ արտաքին գովազդի տեղադրելու վճար / ԱՁ',
132
- contentList: [
133
- { id: 0, content: 'new text for list' },
134
- { id: 1, content: 'Lorem just => ipsum' },
135
- { id: 2, content: 'Dolor sit => amet' },
136
- { id: 3, content: 'text for => test' },
137
- ],
138
- },
139
- create: {
140
- content: '27.05.2022',
141
- },
142
- info2: {
143
- status: 'close',
144
- theSame: 'to open another list', // prop for open close another list item, IMPORTANT theSame prop in another list should be equal
145
- content: ' - - ',
146
- contentList: [
147
- { id: 0, content: <ReactSVGPlus /> },
148
- { id: 1, content: <ReactSVGPlus /> },
149
- { id: 2, content: <ReactSVGPlus /> },
150
- { id: 3, content: <ReactSVGPlus /> },
151
- ],
152
- },
153
- actions: [
154
- {
155
- id: 19854,
156
- type: 'attach',
157
- content: <ReactSVGAttach />,
158
- },
159
- {
160
- id: 19854,
161
- type: 'plus',
162
- content: <ReactSVGPlus />,
163
- },
164
- ],
165
- more: {
166
- dots: true,
167
- dotsStatus: 'deActive',
168
- activeIcon: <SvgActive />,
169
- deActiveIcon: <SvgDeActive />,
170
- options: [
171
- {
172
- icon: <SvgReject />,
173
- content: 'Մերժել',
174
- },
175
- {
176
- icon: <SvgDone />,
177
- content: 'Հաստատել',
178
- },
179
- {
180
- icon: <SvgCancel />,
181
- content: 'Դադարեցնել',
182
- },
183
- ],
184
- },
185
- },
186
- {
187
- hh: {
188
- id: 19954,
189
- content: 19954,
190
- checkBox: {
191
- checked: false,
192
- checkedColor: 'green',
193
- unCheckedColor: 'green',
194
- },
195
- colorStatus: '#EE0000',
196
- },
197
- hvhh: {
198
- content: 14595524,
199
- },
200
- shrjan: {
201
- content: 'Կենտրոն',
202
- },
203
- pay: {
204
- id: 19954,
205
- content: 7840,
206
- checkBox: {
207
- checked: false,
208
- checkedColor: 'green',
209
- unCheckedColor: 'green',
210
- },
211
- },
212
- startDate: {
213
- content: '27.05.2022',
214
- },
215
- enterDate: {
216
- content: '27.05.2022',
217
- },
218
- info: {
219
- status: 'close',
220
- theSame: 'to open just list',
221
- openArrow: <ReactSVGArrowUp />,
222
- closeArrow: <ReactSVGArrowDown />,
223
- content: 'Այլ արտաքին գովազդի տեղադրելու վճար / ԱՁ',
224
- contentList: [
225
- { id: 0, content: 'ինչ որ նոր տեքստ ցանկի համար, պետք է ստուգել երկարությունը' },
226
- { id: 1, content: 'Lorem just => ipsum' },
227
- { id: 2, content: 'Dolor sit => amet' },
228
- { id: 3, content: 'text for => test' },
229
- ],
230
- },
231
- create: {
232
- content: '27.05.2022',
233
- },
234
- info2: {
235
- status: 'close',
236
- theSame: 'to open just list',
237
- content: ' - - ',
238
- contentList: [
239
- { id: 0, content: <ReactSVGPlus /> },
240
- { id: 1, content: <ReactSVGPlus /> },
241
- { id: 2, content: <ReactSVGPlus /> },
242
- { id: 3, content: <ReactSVGPlus /> },
243
- ],
244
- },
245
- actions: [
246
- {
247
- id: 19954,
248
- type: 'minus',
249
- content: <ReactSVGMinus />,
250
- },
251
- {
252
- id: 19954,
253
- type: 'delete',
254
- content: <ReactSVGDelete />,
255
- },
256
- ],
257
- more: {
258
- dots: true,
259
- dotsStatus: 'deActive',
260
- activeIcon: <SvgActive />,
261
- deActiveIcon: <SvgDeActive />,
262
- options: [
263
- {
264
- icon: <SvgReject />,
265
- content: 'Մերժել',
266
- },
267
- {
268
- icon: <SvgDone />,
269
- content: 'Հաստատել',
270
- },
271
- {
272
- icon: <SvgCancel />,
273
- content: 'Դադարեցնել',
274
- },
275
- ],
276
- },
277
- },
278
- {
279
- hh: {
280
- id: 20037,
281
- content: 20037,
282
- checkBox: {
283
- checked: false,
284
- checkedColor: 'green',
285
- unCheckedColor: 'green',
286
- },
287
- colorStatus: '#FECD29',
288
- },
289
- hvhh: {
290
- content: 14595524,
291
- },
292
- shrjan: {
293
- content: 'Շենգավիթ',
294
- },
295
- pay: {
296
- id: 20037,
297
- content: 6541,
298
- checkBox: {
299
- checked: false,
300
- checkedColor: 'green',
301
- unCheckedColor: 'green',
302
- },
303
- },
304
- startDate: {
305
- content: '27.05.2022',
306
- },
307
- enterDate: {
308
- content: '27.05.2022',
309
- },
310
- info: {
311
- status: 'close',
312
- theSame: 'to open second list',
313
- openArrow: <ReactSVGArrowUp />,
314
- closeArrow: <ReactSVGArrowDown />,
315
- content: 'Այլ արտաքին գովազդի տեղադրելու վճար / ԱՁ',
316
- contentList: [
317
- { id: 0, content: 'some text for list' },
318
- { id: 1, content: 'Lorem just => ipsum' },
319
- { id: 2, content: 'Dolor sit => amet' },
320
- { id: 3, content: 'text for => test' },
321
- ],
322
- },
323
- create: {
324
- content: '27.05.2022',
325
- },
326
- info2: {
327
- status: 'close',
328
- theSame: 'to open second list',
329
- content: ' - - ',
330
- contentList: [
331
- { id: 0, content: <ReactSVGPlus /> },
332
- { id: 1, content: <ReactSVGPlus /> },
333
- { id: 2, content: <ReactSVGPlus /> },
334
- { id: 3, content: <ReactSVGPlus /> },
335
- ],
336
- },
337
- actions: [
338
- {
339
- id: 20037,
340
- type: 'attach',
341
- content: <ReactSVGAttach />,
342
- },
343
- {
344
- id: 20037,
345
- type: 'plus',
346
- content: <ReactSVGPlus />,
347
- },
348
- ],
349
- more: {
350
- dots: true,
351
- dotsStatus: 'deActive',
352
- activeIcon: <SvgActive />,
353
- deActiveIcon: <SvgDeActive />,
354
- options: [
355
- {
356
- icon: <SvgReject />,
357
- content: 'Մերժել',
358
- },
359
- {
360
- icon: <SvgDone />,
361
- content: 'Հաստատել',
362
- },
363
- {
364
- icon: <SvgCancel />,
365
- content: 'Դադարեցնել',
366
- },
367
- ],
368
- },
369
- },
370
- {
371
- hh: {
372
- id: 21031,
373
- content: 21031,
374
- checkBox: {
375
- checked: false,
376
- checkedColor: 'green',
377
- unCheckedColor: 'green',
378
- },
379
- colorStatus: '#0DA574',
380
- },
381
- hvhh: {
382
- content: 14595524,
383
- },
384
- shrjan: {
385
- content: 'Կենտրոն',
386
- },
387
- pay: {
388
- id: 21031,
389
- content: 9845,
390
- checkBox: {
391
- checked: false,
392
- disabled: true,
393
- checkedColor: 'green',
394
- unCheckedColor: 'green',
395
- },
396
- },
397
- startDate: {
398
- content: '27.05.2022',
399
- },
400
- enterDate: {
401
- content: '27.05.2022',
402
- },
403
- info: {
404
- status: 'close',
405
- theSame: 'to open third list',
406
- openArrow: <ReactSVGArrowUp />,
407
- closeArrow: <ReactSVGArrowDown />,
408
- content: 'Այլ արտաքին գովազդի տեղադրելու վճար / ԱՁ',
409
- contentList: [
410
- { id: 0, content: 'other one text for list' },
411
- { id: 1, content: 'Lorem just => ipsum' },
412
- { id: 2, content: 'Dolor sit => amet' },
413
- { id: 3, content: 'text for => test' },
414
- ],
415
- },
416
- create: [
417
- [
418
- {
419
- content: '21',
420
- },
421
- ],
422
- [
423
- {
424
- content: '13',
425
- },
426
- ],
427
- ],
428
- info2: {
429
- status: 'close',
430
- theSame: 'to open third list',
431
- content: ' - - ',
432
- contentList: [
433
- { id: 0, content: <ReactSVGPlus /> },
434
- { id: 1, content: <ReactSVGPlus /> },
435
- { id: 2, content: <ReactSVGPlus /> },
436
- { id: 3, content: <ReactSVGPlus /> },
437
- ],
438
- },
439
- actions: [
440
- [
441
- {
442
- id: 21031,
443
- type: 'attach',
444
- content: <ReactSVGAttach />,
445
- },
446
- {
447
- id: 21031,
448
- type: 'plus',
449
- content: <ReactSVGPlus />,
450
- },
451
- ],
452
- [
453
- {
454
- id: 21031,
455
- type: 'minus',
456
- content: <ReactSVGMinus />,
457
- },
458
- {
459
- id: 21031,
460
- type: 'delete',
461
- content: <ReactSVGDelete />,
462
- },
463
- ],
464
- ],
465
- more: {
466
- dots: true,
467
- dotsStatus: 'deActive',
468
- activeIcon: <SvgActive />,
469
- deActiveIcon: <SvgDeActive />,
470
- options: [
471
- {
472
- icon: <SvgReject />,
473
- content: 'Մերժել',
474
- },
475
- {
476
- icon: <SvgDone />,
477
- content: 'Հաստատել',
478
- },
479
- {
480
- icon: <SvgCancel />,
481
- content: 'Դադարեցնել',
482
- },
483
- ],
484
- },
485
- },
486
- ]
487
-
488
- const Template = (args) => {
489
- const handleGetData = (tData) => {
490
- console.log(tData, ' data from table click action, with getData props')
491
- }
492
-
493
- return <Table {...args} dataBody={bodyData} dataHeader={headerData} getData={handleGetData} />
494
- }
495
-
496
- export const Default = Template.bind({})
497
- Default.args = {}