@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.
- package/dist/index.es.js +3983 -4344
- package/dist/index.js +3982 -4345
- package/package.json +1 -1
- package/tui.config.js +1 -1
- package/.eslintrc.js +0 -30
- package/.husky/pre-commit +0 -4
- package/.prettierrc +0 -10
- package/.storybook/main.js +0 -48
- package/.storybook/preview.js +0 -9
- package/rollup.config.js +0 -37
- package/src/assets/attach.svg +0 -4
- package/src/assets/delete.svg +0 -4
- package/src/assets/down-arrow.svg +0 -4
- package/src/assets/figma-image.png +0 -0
- package/src/assets/heart-filled.svg +0 -17
- package/src/assets/heart-outline.svg +0 -14
- package/src/assets/like-filled.svg +0 -21
- package/src/assets/like-outline.svg +0 -21
- package/src/assets/minus.svg +0 -4
- package/src/assets/pdf.svg +0 -3
- package/src/assets/plus.svg +0 -4
- package/src/assets/range-arrow-default.svg +0 -19
- package/src/assets/range-arrow-error.svg +0 -19
- package/src/assets/range-arrow-success.svg +0 -19
- package/src/assets/star-filled.svg +0 -21
- package/src/assets/star-outline.svg +0 -5
- package/src/assets/table-settings-icon.svg +0 -3
- package/src/assets/up-arrow.svg +0 -4
- package/src/assets_old/icons/Read Me.txt +0 -7
- package/src/assets_old/icons/demo-files/demo.css +0 -152
- package/src/assets_old/icons/demo-files/demo.js +0 -28
- package/src/assets_old/icons/demo.html +0 -192
- package/src/assets_old/icons/fonts/icomoon.eot +0 -0
- package/src/assets_old/icons/fonts/icomoon.svg +0 -21
- package/src/assets_old/icons/fonts/icomoon.ttf +0 -0
- package/src/assets_old/icons/fonts/icomoon.woff +0 -0
- package/src/assets_old/icons/selection.json +0 -1
- package/src/assets_old/icons/style.css +0 -58
- package/src/components/autocomplate/autocomplate.module.css +0 -95
- package/src/components/autocomplate/autocomplate.stories.js +0 -35
- package/src/components/autocomplate/index.js +0 -164
- package/src/components/button/button.stories.js +0 -13
- package/src/components/button/index.js +0 -187
- package/src/components/captcha/captcha.module.css +0 -74
- package/src/components/captcha/captcha.stories.js +0 -21
- package/src/components/captcha/index.js +0 -158
- package/src/components/checkbox/checkbox.module.css +0 -0
- package/src/components/checkbox/checkbox.stories.js +0 -76
- package/src/components/checkbox/index.js +0 -120
- package/src/components/file/file.module.css +0 -114
- package/src/components/file/file.stories.js +0 -20
- package/src/components/file/index.js +0 -138
- package/src/components/icon/Active.js +0 -20
- package/src/components/icon/Arrow.js +0 -19
- package/src/components/icon/Cancel.js +0 -19
- package/src/components/icon/CaptchaArrowDown.js +0 -19
- package/src/components/icon/CaptchaArrowUp.js +0 -19
- package/src/components/icon/CheckboxChecked.js +0 -21
- package/src/components/icon/CheckboxUnchecked.js +0 -21
- package/src/components/icon/Close.js +0 -19
- package/src/components/icon/CloseIcon.js +0 -19
- package/src/components/icon/CloseSlide.js +0 -19
- package/src/components/icon/DeActive.js +0 -20
- package/src/components/icon/DeleteComponent.js +0 -20
- package/src/components/icon/Done.js +0 -19
- package/src/components/icon/Dots.js +0 -19
- package/src/components/icon/DownArrow.js +0 -20
- package/src/components/icon/HeartFilled.js +0 -25
- package/src/components/icon/HeartOutline.js +0 -25
- package/src/components/icon/Heic.js +0 -21
- package/src/components/icon/Icon.js +0 -11
- package/src/components/icon/ListItemDelete.js +0 -19
- package/src/components/icon/ListItemJpeg.js +0 -21
- package/src/components/icon/ListItemJpg.js +0 -21
- package/src/components/icon/ListItemPdf.js +0 -21
- package/src/components/icon/ListItemPng.js +0 -21
- package/src/components/icon/Next.js +0 -20
- package/src/components/icon/Nextarrow.js +0 -19
- package/src/components/icon/PDF.js +0 -19
- package/src/components/icon/Prev.js +0 -20
- package/src/components/icon/RangeArrowDefault.js +0 -43
- package/src/components/icon/RangeArrowError.js +0 -43
- package/src/components/icon/RangeArrowSuccess.js +0 -43
- package/src/components/icon/Reject.js +0 -19
- package/src/components/icon/RemoveFile.js +0 -20
- package/src/components/icon/Required.js +0 -19
- package/src/components/icon/ToasterClose.js +0 -19
- package/src/components/icon/ToasterError.js +0 -19
- package/src/components/icon/ToasterInfo.js +0 -19
- package/src/components/icon/ToasterSuccess.js +0 -19
- package/src/components/icon/ToasterWarning.js +0 -19
- package/src/components/icon/Tooltip.js +0 -19
- package/src/components/icon/UpArrow.js +0 -20
- package/src/components/icon/Upload.js +0 -25
- package/src/components/icon/Wrong.js +0 -21
- package/src/components/icon/Zoom.js +0 -21
- package/src/components/icon/index.js +0 -0
- package/src/components/input/index.js +0 -688
- package/src/components/input/input.module.css +0 -51
- package/src/components/input/input.stories.js +0 -26
- package/src/components/modal/index.js +0 -436
- package/src/components/modal/modal.module.css +0 -22
- package/src/components/modal/modal.stories.js +0 -88
- package/src/components/newAutocomplete/NewAutocomplete.stories.js +0 -102
- package/src/components/newAutocomplete/autocomplete.module.css +0 -4
- package/src/components/newAutocomplete/index.js +0 -592
- package/src/components/newFile/fileItem.js +0 -281
- package/src/components/newFile/index.js +0 -731
- package/src/components/newFile/newFile.stories.js +0 -93
- package/src/components/pagination/index.js +0 -234
- package/src/components/pagination/pagination.module.css +0 -93
- package/src/components/pagination/pagination.stories.js +0 -371
- package/src/components/pagination/paginationRange.js +0 -45
- package/src/components/radio/index.js +0 -236
- package/src/components/radio/radio.module.css +0 -59
- package/src/components/radio/radio.stories.js +0 -59
- package/src/components/select/index.js +0 -534
- package/src/components/select/select.module.css +0 -93
- package/src/components/select/select.stories.js +0 -39
- package/src/components/singleCheckbox/Checkbox.js +0 -84
- package/src/components/singleCheckbox/index.js +0 -65
- package/src/components/singleCheckbox/singleCheckbox.stories.js +0 -24
- package/src/components/stepper/index.js +0 -45
- package/src/components/stepper/stepper.module.css +0 -57
- package/src/components/stepper/stepper.stories.js +0 -17
- package/src/components/table/index.js +0 -789
- package/src/components/table/table.module.css +0 -63
- package/src/components/table/table.stories.js +0 -497
- package/src/components/table/td.js +0 -429
- package/src/components/table/th.js +0 -103
- package/src/components/textarea/index.js +0 -285
- package/src/components/textarea/textarea.module.css +0 -25
- package/src/components/textarea/textarea.stories.js +0 -56
- package/src/components/toaster/Toast.js +0 -203
- package/src/components/toaster/index.js +0 -131
- package/src/components/toaster/toaster.module.css +0 -201
- package/src/components/toaster/toaster.stories.js +0 -593
- package/src/components/tooltip/index.js +0 -156
- package/src/components/tooltip/tooltip.module.css +0 -46
- package/src/components/tooltip/tooltip.stories.js +0 -30
- package/src/components/typography/index.js +0 -124
- package/src/components/typography/typography.module.css +0 -57
- package/src/components/typography/typography.stories.js +0 -22
- package/src/index.js +0 -19
- package/src/stories/Introduction.stories.mdx +0 -210
- package/src/stories/assets/code-brackets.svg +0 -1
- package/src/stories/assets/colors.svg +0 -1
- package/src/stories/assets/comments.svg +0 -1
- package/src/stories/assets/direction.svg +0 -1
- package/src/stories/assets/flow.svg +0 -1
- package/src/stories/assets/plugin.svg +0 -1
- package/src/stories/assets/repo.svg +0 -1
- package/src/stories/assets/stackalt.svg +0 -1
- package/src/stories/changelog.stories.mdx +0 -172
- package/src/stories/configuration.stories.mdx +0 -715
- package/src/stories/documentation.stories.mdx +0 -118
- package/src/stories/static/autocomplete-usage.png +0 -0
- package/src/stories/static/button-usage-icon.png +0 -0
- package/src/stories/static/button-usage.png +0 -0
- package/src/stories/static/captcha-usage.png +0 -0
- package/src/stories/static/checkbox-group-usage-2.png +0 -0
- package/src/stories/static/checkbox-group-usage.png +0 -0
- package/src/stories/static/file-single-usage.png +0 -0
- package/src/stories/static/file-usage.png +0 -0
- package/src/stories/static/input-usage.png +0 -0
- package/src/stories/static/modal-usage.png +0 -0
- package/src/stories/static/radio-usage.png +0 -0
- package/src/stories/static/select-usage.png +0 -0
- package/src/stories/static/table-body-data-structure-first-part-usage.png +0 -0
- package/src/stories/static/table-body-data-structure-second-part-usage.png +0 -0
- package/src/stories/static/table-body-data-structure-third-part-usage.png +0 -0
- package/src/stories/static/table-component-usage.png +0 -0
- package/src/stories/static/table-header-data-structure-usage.png +0 -0
- package/src/stories/static/table-new-data-structure-usage.png +0 -0
- package/src/stories/static/textarea-usage.png +0 -0
- package/src/stories/static/toaster-container-usage.png +0 -0
- package/src/stories/static/toaster-usage.png +0 -0
- package/src/stories/static/tooltip-usage.png +0 -0
- package/src/stories/usage.stories.mdx +0 -201
- 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 = {}
|