ods-component-lib 1.17.180 → 1.17.181

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.css CHANGED
@@ -76,171 +76,6 @@ tr:first-child {
76
76
  background-color: #E6F4FF;
77
77
  }
78
78
 
79
-
80
- ._q4jkZ > ._1UPzZ, ._q4jkZ > ._1XbNt {
81
- border-bottom: 1px solid rgba(0, 0, 0, 0.06);
82
- }
83
-
84
- ._q4jkZ ._1UPzZ, ._1GEDH + ._1UPzZ, ._1UPzZ._4V16J {
85
- border-top: 1px solid rgba(0, 0, 0, 0.06);
86
- }
87
-
88
- ._q4jkZ > ._1GEDH, ._q4jkZ > ._1UPzZ, ._q4jkZ > ._1XbNt {
89
- border-left: 1px solid rgba(0, 0, 0, 0.06);
90
- border-right: 1px solid rgba(0, 0, 0, 0.06);
91
- border-radius: 5px;
92
- }
93
-
94
- ._q4jkZ > ._3mbXf, ._q4jkZ > ._1GEDH {
95
- border-top: 1px solid rgba(0, 0, 0, 0.06);
96
- }
97
-
98
- ._1GEDH ._2NiLf ._2CvVM > td {
99
- border-bottom: 1px solid rgba(0, 0, 0, 0.06);
100
- }
101
-
102
- ._36VXO ._3udtX > td {
103
- border-left: 1px solid rgba(0, 0, 0, 0.06);
104
- border-right: 1px solid rgba(0, 0, 0, 0.06);
105
- }
106
-
107
- ._1GEDH {
108
- border-bottom: none;
109
- }
110
-
111
- ._1GEDH {
112
- color: #000000E0;
113
- }
114
-
115
- ._pljbP {
116
- border-radius: 6px;
117
- }
118
-
119
- ._3nKdN, ._23Fql {
120
- background-color: #E6F4FF;
121
- }
122
-
123
- ._1hTxK._3umXw {
124
- background-color: #E6F4FF;
125
- }
126
-
127
- :where(.css-dev-only-do-not-override-14wwjjs)._2Xot0 ._jI9s7, :where(.css-dev-only-do-not-override-14wwjjs)._2pgRX._jI9s7, :where(.css-dev-only-do-not-override-14wwjjs)._pnboS._jI9s7 {
128
- padding: 0 0 5px !important;
129
- }
130
-
131
- :where(.css-dev-only-do-not-override-14wwjjs)._2pddq ._1EpL2 {
132
- padding: 16px 24px 16px 24px;
133
- }
134
-
135
- :where(.css-dev-only-do-not-override-14wwjjs)._2pddq ._oHm_D {
136
- margin-bottom: 16px;
137
- }
138
-
139
- ._36VXO._8U8_Y._q4jkZ{
140
- border-radius: 6px;
141
- }
142
-
143
- ._2jY0l ._39Ful {
144
- margin-bottom: 0 !important;
145
- padding: 8px 12px 8px 12px;
146
- }
147
-
148
-
149
-
150
- ._q4jkZ > ._1UPzZ, ._q4jkZ > ._1XbNt {
151
- border-bottom: 1px solid rgba(0, 0, 0, 0.06);
152
- }
153
-
154
- ._q4jkZ ._1UPzZ, ._1GEDH + ._1UPzZ, ._1UPzZ._4V16J {
155
- border-top: 1px solid rgba(0, 0, 0, 0.06);
156
- }
157
-
158
- ._q4jkZ > ._1GEDH, ._q4jkZ > ._1UPzZ, ._q4jkZ > ._1XbNt {
159
- border-left: 1px solid rgba(0, 0, 0, 0.06);
160
- border-right: 1px solid rgba(0, 0, 0, 0.06);
161
- border-radius: 5px;
162
- }
163
-
164
- ._q4jkZ > ._3mbXf, ._q4jkZ > ._1GEDH {
165
- border-top: 1px solid rgba(0, 0, 0, 0.06);
166
- }
167
-
168
- ._1GEDH ._2NiLf ._2CvVM > td {
169
- border-bottom: 1px solid rgba(0, 0, 0, 0.06);
170
- }
171
-
172
- ._36VXO ._3udtX > td {
173
- border-left: 1px solid rgba(0, 0, 0, 0.06);
174
- border-right: 1px solid rgba(0, 0, 0, 0.06);
175
- }
176
-
177
- ._1GEDH {
178
- border-bottom: none;
179
- }
180
-
181
- ._2jY0l {
182
- padding: 0 12px 0 12px;
183
- }
184
-
185
- ._2P5bw{
186
- font-family: Manrope;
187
- font-size: 14px;
188
- font-style: normal;
189
- font-weight: 600;
190
- line-height: 22px;
191
- }
192
-
193
- ._1GEDH {
194
- color: #000000E0;
195
- }
196
-
197
-
198
- ._pljbP {
199
- border-radius: 6px;
200
- }
201
-
202
- ._3nKdN, ._23Fql {
203
- background-color: #E6F4FF;
204
- }
205
-
206
- ._1hTxK._3umXw {
207
- background-color: #E6F4FF;
208
- }
209
-
210
- ._14hGA{
211
- border-radius: 6px;
212
- border: 1px solid var(--colorPrimaryBase, #1677FF);
213
- background: var(--colorPrimaryBase, #1677FF);
214
- box-shadow: 0px 2px 0px 0px rgba(0, 0, 0, 0.02);
215
- padding: 0px 16px;
216
- }
217
- ._206-B ._1IVO-, ._206-B ._1IVO-:last-child {
218
- padding: 0 0 0 12px !important;
219
- }
220
-
221
- ._3YUEG > ._3PA4V, ._3YUEG._3PA4V, ._nCVgW > ._3PA4V, ._nCVgW._3PA4V {
222
- width: 150px;
223
- border-radius: 6px;
224
- }
225
-
226
- ._3UDfa._1YpJq._jgr8O._1nt2x._rCTdR._1p-OE._3HXdb._1Niat {
227
- border-radius: 6px;
228
- }
229
-
230
- ._3UDfa._1YpJq._jgr8O._1nt2x._1p-OE._3PkAD._1f3o9._3BPup._RzSdH._3a-Dk._2fqc4._2Yca_._FKRK3._1CDHH {
79
+ ._36VXO._8U8_Y._q4jkZ {
231
80
  border-radius: 6px;
232
- }
233
-
234
- ._3rlx6{
235
- color: var(--colorTextHeading, var(--colorText, rgba(0, 0, 0, 0.88)));
236
- /* Heading/Heading 5 */
237
- font-family: Manrope;
238
- font-size: 16px;
239
- font-style: normal;
240
- font-weight: 600;
241
- line-height: 24px; /* 150% */
242
- }
243
-
244
- tr._2CvVM._3Xrp3._19iuB._3udtX {
245
- height: 38px;
246
81
  }
package/dist/index.js CHANGED
@@ -1265,6 +1265,62 @@ function OdsLogin(props) {
1265
1265
  }, "Log in"))));
1266
1266
  }
1267
1267
 
1268
+ var EditSvg = function EditSvg() {
1269
+ return React__default.createElement("svg", {
1270
+ xmlns: "http://www.w3.org/2000/svg",
1271
+ width: "18",
1272
+ height: "17",
1273
+ viewBox: "0 0 18 17",
1274
+ fill: "none"
1275
+ }, React__default.createElement("path", {
1276
+ d: "M4.83333 13.1667L1.5 14.0001L2.33333 10.6667L12.3333 0.666748L14.8333 3.16675L4.83333 13.1667Z",
1277
+ stroke: "#535353",
1278
+ "stroke-linejoin": "round"
1279
+ }), React__default.createElement("path", {
1280
+ d: "M0.666748 16.5H17.3334",
1281
+ stroke: "#535353",
1282
+ "stroke-linejoin": "round"
1283
+ }));
1284
+ };
1285
+
1286
+ var DeleteSvg = function DeleteSvg() {
1287
+ return React__default.createElement("svg", {
1288
+ xmlns: "http://www.w3.org/2000/svg",
1289
+ width: "18",
1290
+ height: "18",
1291
+ viewBox: "0 0 18 18",
1292
+ fill: "none"
1293
+ }, React__default.createElement("path", {
1294
+ d: "M3.16675 5.25H14.8334L14.0001 17.3333H4.00008L3.16675 5.25Z",
1295
+ stroke: "#535353",
1296
+ "stroke-linejoin": "round"
1297
+ }), React__default.createElement("path", {
1298
+ d: "M9 7.3335V14.8335",
1299
+ stroke: "#535353",
1300
+ "stroke-linejoin": "round"
1301
+ }), React__default.createElement("path", {
1302
+ d: "M6.0835 7.3335L6.50016 14.8335",
1303
+ stroke: "#535353",
1304
+ "stroke-linejoin": "round"
1305
+ }), React__default.createElement("path", {
1306
+ d: "M11.9167 7.3335L11.5001 14.8335",
1307
+ stroke: "#535353",
1308
+ "stroke-linejoin": "round"
1309
+ }), React__default.createElement("path", {
1310
+ d: "M3.16675 4.75C3.16675 3.64543 4.06218 2.75 5.16675 2.75H12.8334C13.938 2.75 14.8334 3.64543 14.8334 4.75V5.25H3.16675V4.75Z",
1311
+ stroke: "#535353",
1312
+ "stroke-linejoin": "round"
1313
+ }), React__default.createElement("path", {
1314
+ d: "M7.3335 2.75008V2.33342C7.3335 1.41294 8.07969 0.666748 9.00016 0.666748V0.666748C9.92064 0.666748 10.6668 1.41294 10.6668 2.33342V2.75008",
1315
+ stroke: "#535353",
1316
+ "stroke-linejoin": "round"
1317
+ }), React__default.createElement("path", {
1318
+ d: "M0.666748 5.25H17.3334",
1319
+ stroke: "#535353",
1320
+ "stroke-linejoin": "round"
1321
+ }));
1322
+ };
1323
+
1268
1324
  var exportFormats = ['xlsx'];
1269
1325
  var renderMenuItem = function renderMenuItem() {
1270
1326
  return React__default.createElement(dataGrid.Export, {
@@ -1492,14 +1548,17 @@ function grid(props, dataGridRef) {
1492
1548
  dataField: "Actions",
1493
1549
  caption: "Actions",
1494
1550
  type: "buttons",
1495
- showInColumnChooser: false
1496
- }, React__default.createElement(React__default.Fragment, null, props.edit.allowUpdating && React__default.createElement(dataGrid.Button, {
1497
- disabled: props.actionPermission == undefined ? false : !props.actionPermission,
1551
+ showInColumnChooser: false,
1552
+ buttons: ['edit', 'delete']
1553
+ }, React__default.createElement(React__default.Fragment, null, props.edit.allowUpdating && React__default.createElement(devextremeReact.Template, {
1498
1554
  name: "edit"
1499
- }), props.edit.allowDeleting && React__default.createElement(dataGrid.Button, {
1500
- disabled: props.actionPermission == undefined ? false : !props.actionPermission,
1555
+ }, React__default.createElement("div", {
1556
+ className: "custom-icon"
1557
+ }, React__default.createElement(EditSvg, null))), props.edit.allowDeleting && React__default.createElement(devextremeReact.Template, {
1501
1558
  name: "delete"
1502
- })));
1559
+ }, React__default.createElement("div", {
1560
+ className: "custom-icon"
1561
+ }, React__default.createElement(DeleteSvg, null)))));
1503
1562
  }
1504
1563
  }(), React__default.createElement(dataGrid.Toolbar, null, props.pageTitle && React__default.createElement(dataGrid.Item, {
1505
1564
  location: "before"