pixel-react-excel-sheet 1.0.32 → 1.0.33
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/lib/components/Accordion/Accordion.d.ts +1 -1
- package/lib/components/Accordion/types.d.ts +4 -0
- package/lib/components/AllProjectsDropdown/types.d.ts +2 -0
- package/lib/components/Button/Button.d.ts +2 -2
- package/lib/components/Button/types.d.ts +17 -0
- package/lib/components/Charts/DashboardDonutChart/types.d.ts +1 -0
- package/lib/components/Charts/MultiRadialChart/types.d.ts +3 -0
- package/lib/components/ChooseFile/ChooseFile.d.ts +3 -0
- package/lib/components/ChooseFile/types.d.ts +68 -0
- package/lib/components/ConditionalDropdown/ConditionalDropdown.d.ts +1 -2
- package/lib/components/ConditionalDropdown/types.d.ts +3 -3
- package/lib/components/LabelEditTextField/types.d.ts +3 -1
- package/lib/components/ScriptSwitchButton/ScriptSwitchButton.d.ts +9 -0
- package/lib/components/ScriptSwitchButton/index.d.ts +1 -0
- package/lib/components/StatusCard/types.d.ts +2 -0
- package/lib/components/TableTree/Components/TableCell.d.ts +1 -1
- package/lib/components/TableTree/Components/TableRow.d.ts +1 -1
- package/lib/components/TableTree/data.d.ts +115 -1
- package/lib/components/TableTree/types.d.ts +4 -0
- package/lib/index.d.ts +218 -65
- package/lib/index.esm.js +721 -419
- package/lib/index.esm.js.map +1 -1
- package/lib/index.js +767 -418
- package/lib/index.js.map +1 -1
- package/lib/tsconfig.tsbuildinfo +1 -1
- package/lib/validations/regex.d.ts +46 -0
- package/package.json +1 -1
- package/src/StyleGuide/ColorPalette/colorPaletteList.ts +5 -0
- package/src/assets/Themes/BaseTheme.scss +1 -1
- package/src/assets/Themes/BlueTheme.scss +1 -1
- package/src/assets/Themes/DarkTheme.scss +1 -1
- package/src/assets/icons/failed_status_icon.svg +1 -1
- package/src/assets/icons/flaky_status_icon.svg +1 -1
- package/src/assets/icons/settings.svg +3 -0
- package/src/assets/icons/skipped_status_icon.svg +1 -1
- package/src/assets/icons/warning_status_icon.svg +1 -1
- package/src/components/Accordion/Accordion.stories.tsx +13 -0
- package/src/components/Accordion/Accordion.tsx +2 -1
- package/src/components/Accordion/types.ts +4 -0
- package/src/components/AllProjectsDropdown/types.ts +2 -0
- package/src/components/AppHeader/AppHeader.scss +6 -2
- package/src/components/Button/Button.scss +12 -0
- package/src/components/Button/Button.tsx +29 -11
- package/src/components/Button/types.ts +21 -0
- package/src/components/Charts/DashboardDonutChart/DashboardDonutChart.scss +83 -30
- package/src/components/Charts/DashboardDonutChart/DashboardDonutChart.stories.tsx +2 -0
- package/src/components/Charts/DashboardDonutChart/DashboardDonutChart.tsx +38 -17
- package/src/components/Charts/DashboardDonutChart/types.ts +1 -0
- package/src/components/Charts/MultiRadialChart/MultiRadialChart.scss +0 -1
- package/src/components/Charts/MultiRadialChart/MultiRadialChart.stories.tsx +2 -1
- package/src/components/Charts/MultiRadialChart/MultiRadialChart.tsx +18 -4
- package/src/components/Charts/MultiRadialChart/types.ts +4 -1
- package/src/components/ChooseFile/ChooseFile.stories.tsx +190 -0
- package/src/components/ChooseFile/ChooseFile.tsx +46 -0
- package/src/components/ChooseFile/types.ts +78 -0
- package/src/components/ConditionalDropdown/ConditionalDropdown.stories.tsx +8 -5
- package/src/components/ConditionalDropdown/ConditionalDropdown.tsx +133 -135
- package/src/components/ConditionalDropdown/types.ts +8 -8
- package/src/components/ConnectingBranch/ConnectingBranch.scss +171 -169
- package/src/components/ConnectingBranch/ConnectingBranch.tsx +108 -107
- package/src/components/DatePicker/DatePicker.scss +310 -0
- package/src/components/Excel/ExcelFile/ExcelFile.tsx +4 -4
- package/src/components/Excel/ExcelFile/ExcelFileComponents/ActiveCell.tsx +22 -12
- package/src/components/Excel/ExcelFile/ExcelFileComponents/ColumnIndicator.tsx +2 -2
- package/src/components/Excel/ExcelFile/ExcelFileComponents/DataEditor.tsx +4 -1
- package/src/components/Excel/ExcelFile/ExcelFileComponents/RowIndicator.tsx +2 -2
- package/src/components/Excel/ExcelFile/ExcelFileComponents/reducerFunctions.ts +77 -10
- package/src/components/Icon/iconList.ts +2 -0
- package/src/components/LabelEditTextField/LabelEditTextField.scss +4 -0
- package/src/components/LabelEditTextField/LabelEditTextField.stories.tsx +8 -3
- package/src/components/LabelEditTextField/LabelEditTextField.tsx +42 -18
- package/src/components/LabelEditTextField/types.ts +3 -1
- package/src/components/MachineInputField/MachineInputField.tsx +2 -2
- package/src/components/NLPInput/components/NlpDropDown/NlpDropdown.scss +1 -1
- package/src/components/ScriptSwitchButton/ScriptSwitchButton.scss +33 -0
- package/src/components/ScriptSwitchButton/ScriptSwitchButton.stories.tsx +48 -0
- package/src/components/ScriptSwitchButton/ScriptSwitchButton.tsx +65 -0
- package/src/components/ScriptSwitchButton/index.ts +1 -0
- package/src/components/Select/Select.tsx +4 -4
- package/src/components/StatusCard/StatusCard.scss +2 -1
- package/src/components/StatusCard/StatusCard.stories.tsx +59 -1
- package/src/components/StatusCard/StatusCard.tsx +10 -2
- package/src/components/StatusCard/types.ts +2 -0
- package/src/components/TableTree/Components/TableBody.tsx +20 -16
- package/src/components/TableTree/Components/TableCell.tsx +47 -31
- package/src/components/TableTree/Components/TableRow.tsx +4 -0
- package/src/components/TableTree/TableTree.scss +121 -109
- package/src/components/TableTree/data.ts +48 -2
- package/src/components/TableTree/types.ts +4 -0
- package/src/index.ts +97 -0
- package/src/validations/regex.stories.tsx +362 -0
- package/src/validations/regex.ts +194 -0
|
@@ -1,6 +1,73 @@
|
|
|
1
1
|
.tree-table-space-block {
|
|
2
2
|
display: inline-block;
|
|
3
3
|
width: 20px;
|
|
4
|
+
height: 16px;
|
|
5
|
+
text-align: center;
|
|
6
|
+
line-height: 16px;
|
|
7
|
+
vertical-align: top;
|
|
8
|
+
font-size: 19px;
|
|
9
|
+
position: relative;
|
|
10
|
+
box-sizing: border-box;
|
|
11
|
+
// margin-top: 7px;
|
|
12
|
+
border-radius: 50%;
|
|
13
|
+
|
|
14
|
+
&.btn-toggle {
|
|
15
|
+
position: relative;
|
|
16
|
+
cursor: pointer;
|
|
17
|
+
width: 22px;
|
|
18
|
+
height: 18px;
|
|
19
|
+
z-index: 12;
|
|
20
|
+
|
|
21
|
+
&::before {
|
|
22
|
+
display: none;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
&.last-block::after,
|
|
27
|
+
&.no-folder::after {
|
|
28
|
+
position: absolute;
|
|
29
|
+
content: '';
|
|
30
|
+
height: 1px;
|
|
31
|
+
background: var(--tree-connecting-lines-color);
|
|
32
|
+
top: 50%;
|
|
33
|
+
margin-top: -1px;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
&.last-block::after {
|
|
37
|
+
width: 12px;
|
|
38
|
+
left: -10px;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
&.no-folder {
|
|
42
|
+
width: 8px;
|
|
43
|
+
|
|
44
|
+
&::after {
|
|
45
|
+
width: 18px;
|
|
46
|
+
left: -10px;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
&:not(.last-block, .no-lines, .last-node)::before {
|
|
51
|
+
position: absolute;
|
|
52
|
+
content: '';
|
|
53
|
+
width: 1px;
|
|
54
|
+
height: 40px;
|
|
55
|
+
background: var(--tree-connecting-lines-color);
|
|
56
|
+
left: 50%;
|
|
57
|
+
top: -4px;
|
|
58
|
+
z-index: 99;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
&.last-node::before {
|
|
62
|
+
position: absolute;
|
|
63
|
+
content: '';
|
|
64
|
+
width: 1px;
|
|
65
|
+
height: 12px;
|
|
66
|
+
background: var(--tree-connecting-lines-color);
|
|
67
|
+
left: 50%;
|
|
68
|
+
top: -4px;
|
|
69
|
+
z-index: -1;
|
|
70
|
+
}
|
|
4
71
|
}
|
|
5
72
|
|
|
6
73
|
.hidden {
|
|
@@ -9,12 +76,11 @@
|
|
|
9
76
|
|
|
10
77
|
.show {
|
|
11
78
|
display: table-row;
|
|
79
|
+
visibility: visible;
|
|
12
80
|
}
|
|
13
81
|
|
|
14
82
|
.btn-toggle {
|
|
15
|
-
|
|
16
|
-
cursor: pointer;
|
|
17
|
-
}
|
|
83
|
+
cursor: pointer;
|
|
18
84
|
|
|
19
85
|
&.is-close {
|
|
20
86
|
background: #f1f1f1;
|
|
@@ -22,10 +88,7 @@
|
|
|
22
88
|
box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
|
|
23
89
|
}
|
|
24
90
|
|
|
25
|
-
&::before
|
|
26
|
-
display: none;
|
|
27
|
-
}
|
|
28
|
-
|
|
91
|
+
&::before,
|
|
29
92
|
&::after {
|
|
30
93
|
display: none;
|
|
31
94
|
}
|
|
@@ -34,12 +97,8 @@
|
|
|
34
97
|
.tree-table-wrap {
|
|
35
98
|
width: 100%;
|
|
36
99
|
}
|
|
37
|
-
thead{
|
|
38
|
-
position: sticky;
|
|
39
|
-
top: 12px;
|
|
40
|
-
}
|
|
41
100
|
|
|
42
|
-
|
|
101
|
+
.ff-table-tree-body {
|
|
43
102
|
overflow: scroll;
|
|
44
103
|
}
|
|
45
104
|
|
|
@@ -49,29 +108,49 @@ tbody{
|
|
|
49
108
|
width: 100%;
|
|
50
109
|
border-collapse: collapse;
|
|
51
110
|
overflow: scroll;
|
|
111
|
+
|
|
52
112
|
tr {
|
|
53
113
|
.table-tree-row-action {
|
|
54
114
|
display: none;
|
|
55
115
|
}
|
|
116
|
+
|
|
56
117
|
&:hover {
|
|
57
118
|
background-color: var(--hover-color);
|
|
119
|
+
td {
|
|
120
|
+
&:first-child {
|
|
121
|
+
background-color: var(--hover-color);
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
|
|
58
125
|
.table-tree-row-action {
|
|
59
126
|
display: inline-flex;
|
|
60
127
|
align-items: center;
|
|
61
128
|
}
|
|
62
129
|
}
|
|
130
|
+
|
|
131
|
+
&::after {
|
|
132
|
+
content: '';
|
|
133
|
+
display: block;
|
|
134
|
+
visibility: hidden;
|
|
135
|
+
clear: both;
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
th,
|
|
140
|
+
td {
|
|
141
|
+
text-align: left;
|
|
142
|
+
white-space: nowrap;
|
|
143
|
+
text-overflow: ellipsis;
|
|
144
|
+
overflow: hidden;
|
|
63
145
|
}
|
|
64
146
|
|
|
65
147
|
th {
|
|
66
148
|
color: var(--brand-color);
|
|
67
|
-
text-align: center;
|
|
68
|
-
padding: 10px 0;
|
|
69
149
|
background: var(--slider-table-color);
|
|
70
150
|
font-size: 13px;
|
|
71
151
|
width: 400px;
|
|
72
|
-
|
|
152
|
+
|
|
73
153
|
&:first-child {
|
|
74
|
-
width: 400px;
|
|
75
154
|
position: sticky;
|
|
76
155
|
left: 0;
|
|
77
156
|
}
|
|
@@ -80,126 +159,59 @@ tbody{
|
|
|
80
159
|
td {
|
|
81
160
|
font-size: 14px;
|
|
82
161
|
color: var(--brand-color);
|
|
83
|
-
|
|
84
|
-
text-overflow: ellipsis;
|
|
85
|
-
overflow: hidden;
|
|
86
|
-
text-align: left;
|
|
87
|
-
height: 32px;
|
|
162
|
+
height: 18px;
|
|
88
163
|
|
|
89
164
|
&:first-child {
|
|
90
165
|
overflow: initial;
|
|
91
|
-
width: 400px;
|
|
92
166
|
position: sticky;
|
|
93
167
|
left: 0;
|
|
94
168
|
background-color: white;
|
|
169
|
+
|
|
95
170
|
&:hover {
|
|
96
171
|
background-color: var(--hover-color);
|
|
97
172
|
}
|
|
98
173
|
}
|
|
99
|
-
|
|
100
|
-
.tree-table-space-block {
|
|
101
|
-
border: 1px solid transparent;
|
|
102
|
-
display: inline-block;
|
|
103
|
-
width: 20px;
|
|
104
|
-
height: 20px;
|
|
105
|
-
line-height: 16px;
|
|
106
|
-
text-align: center;
|
|
107
|
-
vertical-align: top;
|
|
108
|
-
font-size: 19px;
|
|
109
|
-
position: relative;
|
|
110
|
-
box-sizing: border-box;
|
|
111
|
-
margin-top: 7px;
|
|
112
|
-
border-radius: 50%;
|
|
113
|
-
|
|
114
|
-
&:first-child {
|
|
115
|
-
margin-left: 7px;
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
&.btn-toggle {
|
|
119
|
-
// border: 1px solid var(--brand-color);
|
|
120
|
-
position: relative;
|
|
121
|
-
cursor: pointer;
|
|
122
|
-
width: 22px;
|
|
123
|
-
height: 22px;
|
|
124
|
-
z-index: 12;
|
|
125
|
-
|
|
126
|
-
&::before {
|
|
127
|
-
display: none;
|
|
128
|
-
}
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
&.last-block {
|
|
132
|
-
&::before {
|
|
133
|
-
display: none;
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
&::after {
|
|
137
|
-
position: absolute;
|
|
138
|
-
content: '';
|
|
139
|
-
width: 12px;
|
|
140
|
-
height: 1px;
|
|
141
|
-
background: var(--tree-connecting-lines-color);
|
|
142
|
-
top: 50%;
|
|
143
|
-
margin-top: -1px;
|
|
144
|
-
left: -10px;
|
|
145
|
-
}
|
|
146
|
-
}
|
|
147
|
-
&.no-folder {
|
|
148
|
-
width: 8px;
|
|
149
|
-
&::after {
|
|
150
|
-
position: absolute;
|
|
151
|
-
content: '';
|
|
152
|
-
width: 18px;
|
|
153
|
-
height: 1px;
|
|
154
|
-
background: var(--tree-connecting-lines-color);
|
|
155
|
-
top: 50%;
|
|
156
|
-
margin-top: -1px;
|
|
157
|
-
left: -10px;
|
|
158
|
-
}
|
|
159
|
-
}
|
|
160
|
-
|
|
161
|
-
&:not(.last-block)::before {
|
|
162
|
-
position: absolute;
|
|
163
|
-
content: '';
|
|
164
|
-
width: 1px;
|
|
165
|
-
height: 40px;
|
|
166
|
-
background: var(--tree-connecting-lines-color);
|
|
167
|
-
left: 50%;
|
|
168
|
-
top: -12px;
|
|
169
|
-
z-index: -1;
|
|
170
|
-
}
|
|
171
|
-
}
|
|
172
174
|
}
|
|
173
175
|
}
|
|
174
176
|
|
|
175
177
|
.tree-table-td-content {
|
|
176
178
|
display: inline-flex;
|
|
177
179
|
align-items: center;
|
|
178
|
-
padding:
|
|
180
|
+
padding-left: 8px;
|
|
179
181
|
font-size: 12px;
|
|
180
|
-
font-family: 'Poppins';
|
|
182
|
+
font-family: 'Poppins', sans-serif;
|
|
181
183
|
}
|
|
182
184
|
|
|
183
|
-
.hidden {
|
|
184
|
-
display: none;
|
|
185
|
-
}
|
|
186
|
-
|
|
187
|
-
.show {
|
|
188
|
-
visibility: visible;
|
|
189
|
-
}
|
|
190
185
|
.tree-row-expanded,
|
|
191
186
|
.tree-row-collapsed {
|
|
192
187
|
svg {
|
|
193
188
|
height: 12px;
|
|
194
189
|
width: 12px;
|
|
190
|
+
|
|
195
191
|
path {
|
|
196
192
|
fill: var(--brand-color);
|
|
197
193
|
}
|
|
198
194
|
}
|
|
199
195
|
}
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
196
|
+
|
|
197
|
+
.tree-row-collapsed svg {
|
|
198
|
+
transform: rotate(-90deg);
|
|
199
|
+
transition: transform 0.3s ease;
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
tr:after {
|
|
203
|
+
content: ' ';
|
|
204
|
+
display: block;
|
|
205
|
+
visibility: hidden;
|
|
206
|
+
clear: both;
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
.tree-table-space-container {
|
|
210
|
+
display: inline-flex;
|
|
211
|
+
// flex-direction: row-reverse;
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
.tree-title-container {
|
|
215
|
+
display: inline-flex;
|
|
216
|
+
align-items: center;
|
|
205
217
|
}
|
|
@@ -28,6 +28,8 @@ const data = [
|
|
|
28
28
|
id: 'MOD1001', // Unique ID
|
|
29
29
|
},
|
|
30
30
|
level: 0,
|
|
31
|
+
isLast: true,
|
|
32
|
+
parentSiblings: [true],
|
|
31
33
|
},
|
|
32
34
|
{
|
|
33
35
|
node: {
|
|
@@ -57,7 +59,8 @@ const data = [
|
|
|
57
59
|
parentId: 'MOD1001', // Root has no parent
|
|
58
60
|
id: 'MOD1002', // Unique ID
|
|
59
61
|
},
|
|
60
|
-
|
|
62
|
+
parentSiblings: [true, false],
|
|
63
|
+
lines: 1,
|
|
61
64
|
},
|
|
62
65
|
{
|
|
63
66
|
node: {
|
|
@@ -73,6 +76,7 @@ const data = [
|
|
|
73
76
|
id: 'MOD1003', // Unique ID
|
|
74
77
|
},
|
|
75
78
|
level: 1,
|
|
79
|
+
parentSiblings: [true, false],
|
|
76
80
|
},
|
|
77
81
|
{
|
|
78
82
|
node: {
|
|
@@ -104,6 +108,7 @@ const data = [
|
|
|
104
108
|
id: 'MOD1004', // Unique ID
|
|
105
109
|
},
|
|
106
110
|
level: 2,
|
|
111
|
+
parentSiblings: [true, true, false],
|
|
107
112
|
},
|
|
108
113
|
{
|
|
109
114
|
node: {
|
|
@@ -134,6 +139,7 @@ const data = [
|
|
|
134
139
|
id: 'MOD1101', // Unique ID
|
|
135
140
|
},
|
|
136
141
|
level: 3,
|
|
142
|
+
parentSiblings: [true, true, true, false],
|
|
137
143
|
},
|
|
138
144
|
{
|
|
139
145
|
node: {
|
|
@@ -164,6 +170,7 @@ const data = [
|
|
|
164
170
|
id: 'MOD1102', // Unique ID
|
|
165
171
|
},
|
|
166
172
|
level: 3,
|
|
173
|
+
parentSiblings: [true, true, true, false],
|
|
167
174
|
},
|
|
168
175
|
{
|
|
169
176
|
node: {
|
|
@@ -194,6 +201,8 @@ const data = [
|
|
|
194
201
|
id: 'MOD1103', // Unique ID
|
|
195
202
|
},
|
|
196
203
|
level: 3,
|
|
204
|
+
parentSiblings: [true, true, true, false],
|
|
205
|
+
isLast: true,
|
|
197
206
|
},
|
|
198
207
|
{
|
|
199
208
|
node: {
|
|
@@ -225,6 +234,8 @@ const data = [
|
|
|
225
234
|
id: 'MOD1005', // Unique ID
|
|
226
235
|
},
|
|
227
236
|
level: 2,
|
|
237
|
+
parentSiblings: [true, true, false],
|
|
238
|
+
isLast: true,
|
|
228
239
|
},
|
|
229
240
|
{
|
|
230
241
|
node: {
|
|
@@ -255,6 +266,7 @@ const data = [
|
|
|
255
266
|
id: 'MOD1201', // Unique ID
|
|
256
267
|
},
|
|
257
268
|
level: 3,
|
|
269
|
+
parentSiblings: [true, false, true, false],
|
|
258
270
|
},
|
|
259
271
|
{
|
|
260
272
|
node: {
|
|
@@ -285,6 +297,7 @@ const data = [
|
|
|
285
297
|
id: 'MOD1202', // Unique ID
|
|
286
298
|
},
|
|
287
299
|
level: 3,
|
|
300
|
+
parentSiblings: [true, false, true, false],
|
|
288
301
|
},
|
|
289
302
|
{
|
|
290
303
|
node: {
|
|
@@ -315,8 +328,41 @@ const data = [
|
|
|
315
328
|
id: 'MOD1203', // Unique ID
|
|
316
329
|
},
|
|
317
330
|
level: 3,
|
|
331
|
+
parentSiblings: [true, false, true, false],
|
|
332
|
+
isLast: true,
|
|
333
|
+
},
|
|
334
|
+
{
|
|
335
|
+
node: {
|
|
336
|
+
subModuleCount: 15,
|
|
337
|
+
title: 'mod3',
|
|
338
|
+
scriptCount: 0,
|
|
339
|
+
path: '/Root',
|
|
340
|
+
expanded: true,
|
|
341
|
+
modifiedOn: '19-12-2023 15:32',
|
|
342
|
+
children: false,
|
|
343
|
+
lastExecutionOrder: 3,
|
|
344
|
+
imported: false,
|
|
345
|
+
modifiedBy: '--',
|
|
346
|
+
moduleCountWithScript: 1,
|
|
347
|
+
state: 'NEW',
|
|
348
|
+
key: 'MOD1001',
|
|
349
|
+
ver: 1,
|
|
350
|
+
hierarchy: 0,
|
|
351
|
+
assigneeCount: 0,
|
|
352
|
+
searchKey: '/MOD1001111110000000000',
|
|
353
|
+
modifiedByUname: '--',
|
|
354
|
+
executionOrder: 0,
|
|
355
|
+
createdByUname: 'Shivaprasad',
|
|
356
|
+
folder: true,
|
|
357
|
+
moduleLevelScriptCount: 0,
|
|
358
|
+
name: 'Root Module111',
|
|
359
|
+
parentId: 'MOD1001', // Root has no parent
|
|
360
|
+
id: 'MOD100222', // Unique ID
|
|
361
|
+
},
|
|
362
|
+
level: 1,
|
|
363
|
+
parentSiblings: [true, false],
|
|
364
|
+
isLast: true,
|
|
318
365
|
},
|
|
319
366
|
];
|
|
320
367
|
|
|
321
|
-
|
|
322
368
|
export default data;
|
|
@@ -17,6 +17,8 @@ export interface TableCellProps {
|
|
|
17
17
|
select: string | null;
|
|
18
18
|
onCheckBoxChange: (type: string, node: any) => void;
|
|
19
19
|
onToggleExpand: (node: any) => void;
|
|
20
|
+
parentSiblings: boolean[];
|
|
21
|
+
isLast: boolean | undefined;
|
|
20
22
|
}
|
|
21
23
|
|
|
22
24
|
export interface TableHeadProps {
|
|
@@ -42,6 +44,8 @@ export interface TableRowProps {
|
|
|
42
44
|
onRowClick: (e: any, node: any) => void;
|
|
43
45
|
onToggleExpand: (node: any) => void;
|
|
44
46
|
onCheckBoxChange: (type: string, node: any) => void;
|
|
47
|
+
parentSiblings: boolean[];
|
|
48
|
+
isLast: boolean | undefined;
|
|
45
49
|
}
|
|
46
50
|
|
|
47
51
|
export interface Column {
|
package/src/index.ts
CHANGED
|
@@ -71,6 +71,8 @@ import FieldSet from './components/FieldSet';
|
|
|
71
71
|
import CreateVariableSlider from './components/CreateVariable/CreateVariableSlider';
|
|
72
72
|
import TableWithAccordion from './components/TableWithAccordion/TableWithAccordion';
|
|
73
73
|
import ProgressBar from './components/ProgressBar';
|
|
74
|
+
import ChooseFile from './components/ChooseFile/ChooseFile';
|
|
75
|
+
import ScriptSwitchButton from './components/ScriptSwitchButton';
|
|
74
76
|
|
|
75
77
|
// Utils imports
|
|
76
78
|
import { checkEmpty } from './utils/checkEmpty/checkEmpty';
|
|
@@ -100,6 +102,53 @@ import FormatString from './utils/FormatString/FormatString';
|
|
|
100
102
|
import ConditionalDropdown from './components/ConditionalDropdown/ConditionalDropdown';
|
|
101
103
|
import { hasDuplicateFile } from './utils/checkDuplicates/checkDuplicates';
|
|
102
104
|
import PhoneInputField from './components/PhoneInput';
|
|
105
|
+
import {
|
|
106
|
+
EMAIL_REGEX,
|
|
107
|
+
URL_REGEX,
|
|
108
|
+
PHONE_REGEX,
|
|
109
|
+
POSTAL_CODE_REGEX,
|
|
110
|
+
IPV4_REGEX,
|
|
111
|
+
IPV6_REGEX,
|
|
112
|
+
HEX_COLOR_REGEX,
|
|
113
|
+
PASSWORD_SIMPLE_REGEX,
|
|
114
|
+
PASSWORD_COMPLEX_REGEX,
|
|
115
|
+
ALPHABET_ONLY_REGEX,
|
|
116
|
+
NUMBERS_ONLY_REGEX,
|
|
117
|
+
ALPHANUMERIC_REGEX,
|
|
118
|
+
DATE_REGEX,
|
|
119
|
+
TIME_REGEX,
|
|
120
|
+
FILE_EXTENSION_REGEX,
|
|
121
|
+
MAC_ADDRESS_REGEX,
|
|
122
|
+
CREDIT_CARD_REGEX,
|
|
123
|
+
SSN_REGEX,
|
|
124
|
+
UUID_REGEX,
|
|
125
|
+
HTML_TAG_REGEX,
|
|
126
|
+
WHITESPACE_REGEX,
|
|
127
|
+
US_ZIP_CODE_REGEX,
|
|
128
|
+
USERNAME_REGEX,
|
|
129
|
+
INDIAN_PHONE_REGEX,
|
|
130
|
+
INDIAN_PIN_CODE_REGEX,
|
|
131
|
+
GSTIN_REGEX,
|
|
132
|
+
PAN_CARD_REGEX,
|
|
133
|
+
AADHAAR_REGEX,
|
|
134
|
+
VEHICLE_REGISTRATION_REGEX,
|
|
135
|
+
INDIAN_CURRENCY_REGEX,
|
|
136
|
+
INTERNATIONAL_PHONE_REGEX,
|
|
137
|
+
INDIAN_PASSPORT_REGEX,
|
|
138
|
+
DRIVING_LICENSE_REGEX,
|
|
139
|
+
USERNAME_SPECIAL_REGEX,
|
|
140
|
+
DECIMAL_NUMBER_REGEX,
|
|
141
|
+
HTML_ATTRIBUTE_REGEX,
|
|
142
|
+
RGB_COLOR_REGEX,
|
|
143
|
+
HSL_COLOR_REGEX,
|
|
144
|
+
BASE64_REGEX,
|
|
145
|
+
BINARY_NUMBER_REGEX,
|
|
146
|
+
HEXADECIMAL_NUMBER_REGEX,
|
|
147
|
+
ROMAN_NUMERALS_REGEX,
|
|
148
|
+
CURRENCY_GENERIC_REGEX,
|
|
149
|
+
LINKEDIN_PROFILE_REGEX,
|
|
150
|
+
TWITTER_HANDLE_REGEX,
|
|
151
|
+
} from './validations/regex';
|
|
103
152
|
|
|
104
153
|
export {
|
|
105
154
|
Button,
|
|
@@ -184,6 +233,9 @@ export {
|
|
|
184
233
|
PhoneInputField,
|
|
185
234
|
TableWithAccordion,
|
|
186
235
|
ProgressBar,
|
|
236
|
+
ChooseFile,
|
|
237
|
+
ScriptSwitchButton,
|
|
238
|
+
|
|
187
239
|
// utils exports
|
|
188
240
|
checkEmpty,
|
|
189
241
|
getExtension,
|
|
@@ -202,4 +254,49 @@ export {
|
|
|
202
254
|
useFileDropzone,
|
|
203
255
|
FormatString,
|
|
204
256
|
hasDuplicateFile,
|
|
257
|
+
EMAIL_REGEX,
|
|
258
|
+
URL_REGEX,
|
|
259
|
+
PHONE_REGEX,
|
|
260
|
+
POSTAL_CODE_REGEX,
|
|
261
|
+
IPV4_REGEX,
|
|
262
|
+
IPV6_REGEX,
|
|
263
|
+
HEX_COLOR_REGEX,
|
|
264
|
+
PASSWORD_SIMPLE_REGEX,
|
|
265
|
+
PASSWORD_COMPLEX_REGEX,
|
|
266
|
+
ALPHABET_ONLY_REGEX,
|
|
267
|
+
NUMBERS_ONLY_REGEX,
|
|
268
|
+
ALPHANUMERIC_REGEX,
|
|
269
|
+
DATE_REGEX,
|
|
270
|
+
TIME_REGEX,
|
|
271
|
+
FILE_EXTENSION_REGEX,
|
|
272
|
+
MAC_ADDRESS_REGEX,
|
|
273
|
+
CREDIT_CARD_REGEX,
|
|
274
|
+
SSN_REGEX,
|
|
275
|
+
UUID_REGEX,
|
|
276
|
+
HTML_TAG_REGEX,
|
|
277
|
+
WHITESPACE_REGEX,
|
|
278
|
+
US_ZIP_CODE_REGEX,
|
|
279
|
+
USERNAME_REGEX,
|
|
280
|
+
INDIAN_PHONE_REGEX,
|
|
281
|
+
INDIAN_PIN_CODE_REGEX,
|
|
282
|
+
GSTIN_REGEX,
|
|
283
|
+
PAN_CARD_REGEX,
|
|
284
|
+
AADHAAR_REGEX,
|
|
285
|
+
VEHICLE_REGISTRATION_REGEX,
|
|
286
|
+
INDIAN_CURRENCY_REGEX,
|
|
287
|
+
INTERNATIONAL_PHONE_REGEX,
|
|
288
|
+
INDIAN_PASSPORT_REGEX,
|
|
289
|
+
DRIVING_LICENSE_REGEX,
|
|
290
|
+
USERNAME_SPECIAL_REGEX,
|
|
291
|
+
DECIMAL_NUMBER_REGEX,
|
|
292
|
+
HTML_ATTRIBUTE_REGEX,
|
|
293
|
+
RGB_COLOR_REGEX,
|
|
294
|
+
HSL_COLOR_REGEX,
|
|
295
|
+
BASE64_REGEX,
|
|
296
|
+
BINARY_NUMBER_REGEX,
|
|
297
|
+
HEXADECIMAL_NUMBER_REGEX,
|
|
298
|
+
ROMAN_NUMERALS_REGEX,
|
|
299
|
+
CURRENCY_GENERIC_REGEX,
|
|
300
|
+
LINKEDIN_PROFILE_REGEX,
|
|
301
|
+
TWITTER_HANDLE_REGEX,
|
|
205
302
|
};
|