@bigbinary/neeto-molecules 1.0.27 → 1.0.29

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 (117) hide show
  1. package/dist/BrowserSupport.cjs.js +22 -1221
  2. package/dist/BrowserSupport.cjs.js.map +1 -1
  3. package/dist/BrowserSupport.js +22 -1221
  4. package/dist/BrowserSupport.js.map +1 -1
  5. package/dist/Columns.cjs.js +39 -976
  6. package/dist/Columns.cjs.js.map +1 -1
  7. package/dist/Columns.js +39 -976
  8. package/dist/Columns.js.map +1 -1
  9. package/dist/Container.cjs.js +3 -125
  10. package/dist/Container.cjs.js.map +1 -1
  11. package/dist/Container.js +3 -125
  12. package/dist/Container.js.map +1 -1
  13. package/dist/CustomDomain.cjs.js +156 -6061
  14. package/dist/CustomDomain.cjs.js.map +1 -1
  15. package/dist/CustomDomain.js +156 -6061
  16. package/dist/CustomDomain.js.map +1 -1
  17. package/dist/DateFormat.cjs.js +9 -264
  18. package/dist/DateFormat.cjs.js.map +1 -1
  19. package/dist/DateFormat.js +9 -264
  20. package/dist/DateFormat.js.map +1 -1
  21. package/dist/DateRangeFilter.cjs.js +35 -715
  22. package/dist/DateRangeFilter.cjs.js.map +1 -1
  23. package/dist/DateRangeFilter.js +35 -715
  24. package/dist/DateRangeFilter.js.map +1 -1
  25. package/dist/DynamicVariables.cjs.js +27 -909
  26. package/dist/DynamicVariables.cjs.js.map +1 -1
  27. package/dist/DynamicVariables.js +27 -909
  28. package/dist/DynamicVariables.js.map +1 -1
  29. package/dist/EmailPreview.cjs.js +14 -349
  30. package/dist/EmailPreview.cjs.js.map +1 -1
  31. package/dist/EmailPreview.js +14 -349
  32. package/dist/EmailPreview.js.map +1 -1
  33. package/dist/ErrorPage.cjs.js +13 -541
  34. package/dist/ErrorPage.cjs.js.map +1 -1
  35. package/dist/ErrorPage.js +13 -541
  36. package/dist/ErrorPage.js.map +1 -1
  37. package/dist/Header.cjs.js +13 -513
  38. package/dist/Header.cjs.js.map +1 -1
  39. package/dist/Header.js +13 -513
  40. package/dist/Header.js.map +1 -1
  41. package/dist/IpRestriction.cjs.js +134 -4226
  42. package/dist/IpRestriction.cjs.js.map +1 -1
  43. package/dist/IpRestriction.js +134 -4226
  44. package/dist/IpRestriction.js.map +1 -1
  45. package/dist/KeyboardShortcuts.cjs.js +51 -2129
  46. package/dist/KeyboardShortcuts.cjs.js.map +1 -1
  47. package/dist/KeyboardShortcuts.js +51 -2129
  48. package/dist/KeyboardShortcuts.js.map +1 -1
  49. package/dist/LoginPage.cjs.js +32 -752
  50. package/dist/LoginPage.cjs.js.map +1 -1
  51. package/dist/LoginPage.js +32 -752
  52. package/dist/LoginPage.js.map +1 -1
  53. package/dist/MenuBar.cjs.js +28 -1501
  54. package/dist/MenuBar.cjs.js.map +1 -1
  55. package/dist/MenuBar.js +28 -1501
  56. package/dist/MenuBar.js.map +1 -1
  57. package/dist/NeetoWidget.cjs.js +170 -6756
  58. package/dist/NeetoWidget.cjs.js.map +1 -1
  59. package/dist/NeetoWidget.js +171 -6757
  60. package/dist/NeetoWidget.js.map +1 -1
  61. package/dist/PageLoader.cjs.js +3 -160
  62. package/dist/PageLoader.cjs.js.map +1 -1
  63. package/dist/PageLoader.js +3 -160
  64. package/dist/PageLoader.js.map +1 -1
  65. package/dist/PhoneNumber.cjs.js +64 -2291
  66. package/dist/PhoneNumber.cjs.js.map +1 -1
  67. package/dist/PhoneNumber.js +64 -2291
  68. package/dist/PhoneNumber.js.map +1 -1
  69. package/dist/PublishBlock.cjs.js +19 -512
  70. package/dist/PublishBlock.cjs.js.map +1 -1
  71. package/dist/PublishBlock.js +19 -512
  72. package/dist/PublishBlock.js.map +1 -1
  73. package/dist/Rename.cjs.js +46 -1090
  74. package/dist/Rename.cjs.js.map +1 -1
  75. package/dist/Rename.js +48 -1092
  76. package/dist/Rename.js.map +1 -1
  77. package/dist/ResponsiveDevicePicker.cjs.js +9 -296
  78. package/dist/ResponsiveDevicePicker.cjs.js.map +1 -1
  79. package/dist/ResponsiveDevicePicker.js +9 -296
  80. package/dist/ResponsiveDevicePicker.js.map +1 -1
  81. package/dist/Schedule.cjs.js +356 -7305
  82. package/dist/Schedule.cjs.js.map +1 -1
  83. package/dist/Schedule.js +356 -7305
  84. package/dist/Schedule.js.map +1 -1
  85. package/dist/Scrollable.cjs.js +4 -183
  86. package/dist/Scrollable.cjs.js.map +1 -1
  87. package/dist/Scrollable.js +4 -183
  88. package/dist/Scrollable.js.map +1 -1
  89. package/dist/ShareViaEmail.cjs.js +68 -2481
  90. package/dist/ShareViaEmail.cjs.js.map +1 -1
  91. package/dist/ShareViaEmail.js +68 -2481
  92. package/dist/ShareViaEmail.js.map +1 -1
  93. package/dist/ShareViaLink.cjs.js +57 -1640
  94. package/dist/ShareViaLink.cjs.js.map +1 -1
  95. package/dist/ShareViaLink.js +57 -1640
  96. package/dist/ShareViaLink.js.map +1 -1
  97. package/dist/Sidebar.cjs.js +99 -4367
  98. package/dist/Sidebar.cjs.js.map +1 -1
  99. package/dist/Sidebar.js +99 -4367
  100. package/dist/Sidebar.js.map +1 -1
  101. package/dist/SubHeader.cjs.js +17 -782
  102. package/dist/SubHeader.cjs.js.map +1 -1
  103. package/dist/SubHeader.js +17 -782
  104. package/dist/SubHeader.js.map +1 -1
  105. package/dist/TableWrapper.cjs.js +2 -150
  106. package/dist/TableWrapper.cjs.js.map +1 -1
  107. package/dist/TableWrapper.js +2 -150
  108. package/dist/TableWrapper.js.map +1 -1
  109. package/dist/TimeFormat.cjs.js +1 -44
  110. package/dist/TimeFormat.cjs.js.map +1 -1
  111. package/dist/TimeFormat.js +1 -44
  112. package/dist/TimeFormat.js.map +1 -1
  113. package/dist/TimezoneMismatchModal.cjs.js +18 -905
  114. package/dist/TimezoneMismatchModal.cjs.js.map +1 -1
  115. package/dist/TimezoneMismatchModal.js +18 -905
  116. package/dist/TimezoneMismatchModal.js.map +1 -1
  117. package/package.json +3 -2
@@ -160,150 +160,16 @@ function _objectWithoutProperties(source, excluded) {
160
160
 
161
161
  var _excluded$1 = ["dropdownProps"],
162
162
  _excluded2 = ["buttonProps"];
163
- function cov_1nk47gzsi8() {
164
- var path = "/home/runner/work/neeto-molecules/neeto-molecules/src/components/SubHeader/RightBlock/Columns.jsx";
165
- var hash = "9f901f9bc4d423cb9b0b0b31492fa4192f1d758f";
166
- var global = new Function("return this")();
167
- var gcv = "__coverage__";
168
- var coverageData = {
169
- path: "/home/runner/work/neeto-molecules/neeto-molecules/src/components/SubHeader/RightBlock/Columns.jsx",
170
- statementMap: {
171
- "0": {
172
- start: {
173
- line: 7,
174
- column: 16
175
- },
176
- end: {
177
- line: 33,
178
- column: 1
179
- }
180
- },
181
- "1": {
182
- start: {
183
- line: 8,
184
- column: 16
185
- },
186
- end: {
187
- line: 8,
188
- column: 32
189
- }
190
- },
191
- "2": {
192
- start: {
193
- line: 10,
194
- column: 48
195
- },
196
- end: {
197
- line: 10,
198
- column: 61
199
- }
200
- },
201
- "3": {
202
- start: {
203
- line: 12,
204
- column: 2
205
- },
206
- end: {
207
- line: 32,
208
- column: 4
209
- }
210
- }
211
- },
212
- fnMap: {
213
- "0": {
214
- name: "(anonymous_0)",
215
- decl: {
216
- start: {
217
- line: 7,
218
- column: 16
219
- },
220
- end: {
221
- line: 7,
222
- column: 17
223
- }
224
- },
225
- loc: {
226
- start: {
227
- line: 7,
228
- column: 54
229
- },
230
- end: {
231
- line: 33,
232
- column: 1
233
- }
234
- },
235
- line: 7
236
- }
237
- },
238
- branchMap: {
239
- "0": {
240
- loc: {
241
- start: {
242
- line: 7,
243
- column: 19
244
- },
245
- end: {
246
- line: 7,
247
- column: 37
248
- }
249
- },
250
- type: "default-arg",
251
- locations: [{
252
- start: {
253
- line: 7,
254
- column: 35
255
- },
256
- end: {
257
- line: 7,
258
- column: 37
259
- }
260
- }],
261
- line: 7
262
- }
263
- },
264
- s: {
265
- "0": 0,
266
- "1": 0,
267
- "2": 0,
268
- "3": 0
269
- },
270
- f: {
271
- "0": 0
272
- },
273
- b: {
274
- "0": [0]
275
- },
276
- _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
277
- hash: "9f901f9bc4d423cb9b0b0b31492fa4192f1d758f"
278
- };
279
- var coverage = global[gcv] || (global[gcv] = {});
280
- if (!coverage[path] || coverage[path].hash !== hash) {
281
- coverage[path] = coverageData;
282
- }
283
- var actualCoverage = coverage[path];
284
- {
285
- // @ts-ignore
286
- cov_1nk47gzsi8 = function () {
287
- return actualCoverage;
288
- };
289
- }
290
- return actualCoverage;
291
- }
292
- cov_1nk47gzsi8();
293
163
  function ownKeys$1(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
294
164
  function _objectSpread$1(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$1(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$1(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
295
- cov_1nk47gzsi8().s[0]++;
296
165
  var Columns = function Columns(_ref) {
297
166
  var _ref$dropdownProps = _ref.dropdownProps,
298
- dropdownProps = _ref$dropdownProps === void 0 ? (cov_1nk47gzsi8().b[0][0]++, {}) : _ref$dropdownProps,
167
+ dropdownProps = _ref$dropdownProps === void 0 ? {} : _ref$dropdownProps,
299
168
  props = _objectWithoutProperties(_ref, _excluded$1);
300
- cov_1nk47gzsi8().f[0]++;
301
- var _ref2 = (cov_1nk47gzsi8().s[1]++, reactI18next.useTranslation()),
302
- t = _ref2.t;
303
- var _ref3 = (cov_1nk47gzsi8().s[2]++, dropdownProps),
304
- buttonProps = _ref3.buttonProps,
305
- restDropdownProps = _objectWithoutProperties(_ref3, _excluded2);
306
- cov_1nk47gzsi8().s[3]++;
169
+ var _useTranslation = reactI18next.useTranslation(),
170
+ t = _useTranslation.t;
171
+ var buttonProps = dropdownProps.buttonProps,
172
+ restDropdownProps = _objectWithoutProperties(dropdownProps, _excluded2);
307
173
  return /*#__PURE__*/React__default["default"].createElement("div", {
308
174
  className: "neeto-molecules-subheader__columns"
309
175
  }, /*#__PURE__*/React__default["default"].createElement(ManageColumns__default["default"], _extends({
@@ -322,169 +188,13 @@ var Columns = function Columns(_ref) {
322
188
  }, props)));
323
189
  };
324
190
 
325
- function cov_td1jpvcmw() {
326
- var path = "/home/runner/work/neeto-molecules/neeto-molecules/src/components/SubHeader/RightBlock/Download.jsx";
327
- var hash = "a2283a341efcaf1ad652751480fdafc6709b57d9";
328
- var global = new Function("return this")();
329
- var gcv = "__coverage__";
330
- var coverageData = {
331
- path: "/home/runner/work/neeto-molecules/neeto-molecules/src/components/SubHeader/RightBlock/Download.jsx",
332
- statementMap: {
333
- "0": {
334
- start: {
335
- line: 7,
336
- column: 23
337
- },
338
- end: {
339
- line: 34,
340
- column: 1
341
- }
342
- },
343
- "1": {
344
- start: {
345
- line: 12,
346
- column: 16
347
- },
348
- end: {
349
- line: 12,
350
- column: 32
351
- }
352
- },
353
- "2": {
354
- start: {
355
- line: 14,
356
- column: 2
357
- },
358
- end: {
359
- line: 33,
360
- column: 4
361
- }
362
- }
363
- },
364
- fnMap: {
365
- "0": {
366
- name: "(anonymous_0)",
367
- decl: {
368
- start: {
369
- line: 7,
370
- column: 23
371
- },
372
- end: {
373
- line: 7,
374
- column: 24
375
- }
376
- },
377
- loc: {
378
- start: {
379
- line: 11,
380
- column: 6
381
- },
382
- end: {
383
- line: 34,
384
- column: 1
385
- }
386
- },
387
- line: 11
388
- }
389
- },
390
- branchMap: {
391
- "0": {
392
- loc: {
393
- start: {
394
- line: 10,
395
- column: 13
396
- },
397
- end: {
398
- line: 10,
399
- column: 39
400
- }
401
- },
402
- type: "default-arg",
403
- locations: [{
404
- start: {
405
- line: 10,
406
- column: 22
407
- },
408
- end: {
409
- line: 10,
410
- column: 39
411
- }
412
- }],
413
- line: 10
414
- },
415
- "1": {
416
- loc: {
417
- start: {
418
- line: 27,
419
- column: 7
420
- },
421
- end: {
422
- line: 31,
423
- column: 7
424
- }
425
- },
426
- type: "binary-expr",
427
- locations: [{
428
- start: {
429
- line: 27,
430
- column: 7
431
- },
432
- end: {
433
- line: 27,
434
- column: 12
435
- }
436
- }, {
437
- start: {
438
- line: 28,
439
- column: 8
440
- },
441
- end: {
442
- line: 30,
443
- column: 15
444
- }
445
- }],
446
- line: 27
447
- }
448
- },
449
- s: {
450
- "0": 0,
451
- "1": 0,
452
- "2": 0
453
- },
454
- f: {
455
- "0": 0
456
- },
457
- b: {
458
- "0": [0],
459
- "1": [0, 0]
460
- },
461
- _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
462
- hash: "a2283a341efcaf1ad652751480fdafc6709b57d9"
463
- };
464
- var coverage = global[gcv] || (global[gcv] = {});
465
- if (!coverage[path] || coverage[path].hash !== hash) {
466
- coverage[path] = coverageData;
467
- }
468
- var actualCoverage = coverage[path];
469
- {
470
- // @ts-ignore
471
- cov_td1jpvcmw = function () {
472
- return actualCoverage;
473
- };
474
- }
475
- return actualCoverage;
476
- }
477
- cov_td1jpvcmw();
478
- cov_td1jpvcmw().s[0]++;
479
191
  var DownloadButton = function DownloadButton(_ref) {
480
192
  var count = _ref.count,
481
193
  onClick = _ref.onClick,
482
194
  _ref$dataCy = _ref["data-cy"],
483
- dataCy = _ref$dataCy === void 0 ? (cov_td1jpvcmw().b[0][0]++, "download-button") : _ref$dataCy;
484
- cov_td1jpvcmw().f[0]++;
485
- var _ref2 = (cov_td1jpvcmw().s[1]++, reactI18next.useTranslation()),
486
- t = _ref2.t;
487
- cov_td1jpvcmw().s[2]++;
195
+ dataCy = _ref$dataCy === void 0 ? "download-button" : _ref$dataCy;
196
+ var _useTranslation = reactI18next.useTranslation(),
197
+ t = _useTranslation.t;
488
198
  return /*#__PURE__*/React__default["default"].createElement("div", {
489
199
  className: "neeto-molecules-subheader__download"
490
200
  }, /*#__PURE__*/React__default["default"].createElement(neetoui.Button, {
@@ -497,120 +207,24 @@ var DownloadButton = function DownloadButton(_ref) {
497
207
  position: "bottom"
498
208
  },
499
209
  onClick: onClick
500
- }), (cov_td1jpvcmw().b[1][0]++, count) && (cov_td1jpvcmw().b[1][1]++, /*#__PURE__*/React__default["default"].createElement("span", {
210
+ }), count && /*#__PURE__*/React__default["default"].createElement("span", {
501
211
  className: "neeto-molecules-subheader__download-count"
502
- }, count)));
212
+ }, count));
503
213
  };
504
214
 
505
215
  var _excluded = ["buttonProps"];
506
- function cov_m5zh4tynr() {
507
- var path = "/home/runner/work/neeto-molecules/neeto-molecules/src/components/SubHeader/RightBlock/Filter.jsx";
508
- var hash = "15fd106418316fa8f49263416bc0aea91d893139";
509
- var global = new Function("return this")();
510
- var gcv = "__coverage__";
511
- var coverageData = {
512
- path: "/home/runner/work/neeto-molecules/neeto-molecules/src/components/SubHeader/RightBlock/Filter.jsx",
513
- statementMap: {
514
- "0": {
515
- start: {
516
- line: 7,
517
- column: 21
518
- },
519
- end: {
520
- line: 29,
521
- column: 1
522
- }
523
- },
524
- "1": {
525
- start: {
526
- line: 8,
527
- column: 16
528
- },
529
- end: {
530
- line: 8,
531
- column: 32
532
- }
533
- },
534
- "2": {
535
- start: {
536
- line: 10,
537
- column: 2
538
- },
539
- end: {
540
- line: 28,
541
- column: 4
542
- }
543
- }
544
- },
545
- fnMap: {
546
- "0": {
547
- name: "(anonymous_0)",
548
- decl: {
549
- start: {
550
- line: 7,
551
- column: 21
552
- },
553
- end: {
554
- line: 7,
555
- column: 22
556
- }
557
- },
558
- loc: {
559
- start: {
560
- line: 7,
561
- column: 52
562
- },
563
- end: {
564
- line: 29,
565
- column: 1
566
- }
567
- },
568
- line: 7
569
- }
570
- },
571
- branchMap: {},
572
- s: {
573
- "0": 0,
574
- "1": 0,
575
- "2": 0
576
- },
577
- f: {
578
- "0": 0
579
- },
580
- b: {},
581
- _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
582
- hash: "15fd106418316fa8f49263416bc0aea91d893139"
583
- };
584
- var coverage = global[gcv] || (global[gcv] = {});
585
- if (!coverage[path] || coverage[path].hash !== hash) {
586
- coverage[path] = coverageData;
587
- }
588
- var actualCoverage = coverage[path];
589
- {
590
- // @ts-ignore
591
- cov_m5zh4tynr = function () {
592
- return actualCoverage;
593
- };
594
- }
595
- return actualCoverage;
596
- }
597
- cov_m5zh4tynr();
598
216
  function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
599
217
  function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
600
- cov_m5zh4tynr().s[0]++;
601
218
  var FilterButton = function FilterButton(_ref) {
602
219
  var buttonProps = _ref.buttonProps,
603
220
  props = _objectWithoutProperties(_ref, _excluded);
604
- cov_m5zh4tynr().f[0]++;
605
- var _ref2 = (cov_m5zh4tynr().s[1]++, reactI18next.useTranslation()),
606
- t = _ref2.t;
607
- cov_m5zh4tynr().s[2]++;
221
+ var _useTranslation = reactI18next.useTranslation(),
222
+ t = _useTranslation.t;
608
223
  return /*#__PURE__*/React__default["default"].createElement("div", {
609
224
  className: "neeto-molecules-subheader__filter"
610
225
  }, /*#__PURE__*/React__default["default"].createElement(neetoFiltersFrontend.Filters, _extends({
611
226
  buttonProps: _objectSpread({
612
227
  "data-testid": "filter-button",
613
- "data-cy": "neeto-filters-button",
614
228
  icon: neetoIcons.Filter,
615
229
  style: "text",
616
230
  tooltipProps: {
@@ -622,201 +236,13 @@ var FilterButton = function FilterButton(_ref) {
622
236
  }, props)));
623
237
  };
624
238
 
625
- function cov_yp8t4aac1() {
626
- var path = "/home/runner/work/neeto-molecules/neeto-molecules/src/components/SubHeader/RightBlock/index.jsx";
627
- var hash = "9cc82e2363692514f071479e9badda2e6c36b5c0";
628
- var global = new Function("return this")();
629
- var gcv = "__coverage__";
630
- var coverageData = {
631
- path: "/home/runner/work/neeto-molecules/neeto-molecules/src/components/SubHeader/RightBlock/index.jsx",
632
- statementMap: {
633
- "0": {
634
- start: {
635
- line: 7,
636
- column: 19
637
- },
638
- end: {
639
- line: 17,
640
- column: 1
641
- }
642
- },
643
- "1": {
644
- start: {
645
- line: 12,
646
- column: 2
647
- },
648
- end: {
649
- line: 16,
650
- column: 8
651
- }
652
- }
653
- },
654
- fnMap: {
655
- "0": {
656
- name: "(anonymous_0)",
657
- decl: {
658
- start: {
659
- line: 7,
660
- column: 19
661
- },
662
- end: {
663
- line: 7,
664
- column: 20
665
- }
666
- },
667
- loc: {
668
- start: {
669
- line: 12,
670
- column: 2
671
- },
672
- end: {
673
- line: 16,
674
- column: 8
675
- }
676
- },
677
- line: 12
678
- }
679
- },
680
- branchMap: {
681
- "0": {
682
- loc: {
683
- start: {
684
- line: 13,
685
- column: 5
686
- },
687
- end: {
688
- line: 13,
689
- column: 65
690
- }
691
- },
692
- type: "binary-expr",
693
- locations: [{
694
- start: {
695
- line: 13,
696
- column: 5
697
- },
698
- end: {
699
- line: 13,
700
- column: 24
701
- }
702
- }, {
703
- start: {
704
- line: 13,
705
- column: 28
706
- },
707
- end: {
708
- line: 13,
709
- column: 65
710
- }
711
- }],
712
- line: 13
713
- },
714
- "1": {
715
- loc: {
716
- start: {
717
- line: 14,
718
- column: 5
719
- },
720
- end: {
721
- line: 14,
722
- column: 62
723
- }
724
- },
725
- type: "binary-expr",
726
- locations: [{
727
- start: {
728
- line: 14,
729
- column: 5
730
- },
731
- end: {
732
- line: 14,
733
- column: 23
734
- }
735
- }, {
736
- start: {
737
- line: 14,
738
- column: 27
739
- },
740
- end: {
741
- line: 14,
742
- column: 62
743
- }
744
- }],
745
- line: 14
746
- },
747
- "2": {
748
- loc: {
749
- start: {
750
- line: 15,
751
- column: 5
752
- },
753
- end: {
754
- line: 15,
755
- column: 47
756
- }
757
- },
758
- type: "binary-expr",
759
- locations: [{
760
- start: {
761
- line: 15,
762
- column: 5
763
- },
764
- end: {
765
- line: 15,
766
- column: 16
767
- }
768
- }, {
769
- start: {
770
- line: 15,
771
- column: 20
772
- },
773
- end: {
774
- line: 15,
775
- column: 47
776
- }
777
- }],
778
- line: 15
779
- }
780
- },
781
- s: {
782
- "0": 0,
783
- "1": 0
784
- },
785
- f: {
786
- "0": 0
787
- },
788
- b: {
789
- "0": [0, 0],
790
- "1": [0, 0],
791
- "2": [0, 0]
792
- },
793
- _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
794
- hash: "9cc82e2363692514f071479e9badda2e6c36b5c0"
795
- };
796
- var coverage = global[gcv] || (global[gcv] = {});
797
- if (!coverage[path] || coverage[path].hash !== hash) {
798
- coverage[path] = coverageData;
799
- }
800
- var actualCoverage = coverage[path];
801
- {
802
- // @ts-ignore
803
- cov_yp8t4aac1 = function () {
804
- return actualCoverage;
805
- };
806
- }
807
- return actualCoverage;
808
- }
809
- cov_yp8t4aac1();
810
- cov_yp8t4aac1().s[0]++;
811
239
  var RightBlock = function RightBlock(_ref) {
812
240
  var downloadButtonProps = _ref.downloadButtonProps,
813
241
  columnsButtonProps = _ref.columnsButtonProps,
814
242
  filterProps = _ref.filterProps;
815
- cov_yp8t4aac1().f[0]++;
816
- cov_yp8t4aac1().s[1]++;
817
243
  return /*#__PURE__*/React__default["default"].createElement("div", {
818
244
  className: "neeto-molecules-subheader__right-actions"
819
- }, (cov_yp8t4aac1().b[0][0]++, downloadButtonProps) && (cov_yp8t4aac1().b[0][1]++, /*#__PURE__*/React__default["default"].createElement(DownloadButton, downloadButtonProps)), (cov_yp8t4aac1().b[1][0]++, columnsButtonProps) && (cov_yp8t4aac1().b[1][1]++, /*#__PURE__*/React__default["default"].createElement(Columns, columnsButtonProps)), (cov_yp8t4aac1().b[2][0]++, filterProps) && (cov_yp8t4aac1().b[2][1]++, /*#__PURE__*/React__default["default"].createElement(FilterButton, filterProps)));
245
+ }, downloadButtonProps && /*#__PURE__*/React__default["default"].createElement(DownloadButton, downloadButtonProps), columnsButtonProps && /*#__PURE__*/React__default["default"].createElement(Columns, columnsButtonProps), filterProps && /*#__PURE__*/React__default["default"].createElement(FilterButton, filterProps));
820
246
  };
821
247
 
822
248
  var e=[],t=[];function n(n,r){if(n&&"undefined"!=typeof document){var a,s=!0===r.prepend?"prepend":"append",d=!0===r.singleTag,i="string"==typeof r.container?document.querySelector(r.container):document.getElementsByTagName("head")[0];if(d){var u=e.indexOf(i);-1===u&&(u=e.push(i)-1,t[u]={}),a=t[u]&&t[u][s]?t[u][s]:t[u][s]=c();}else a=c();65279===n.charCodeAt(0)&&(n=n.substring(1)),a.styleSheet?a.styleSheet.cssText+=n:a.appendChild(document.createTextNode(n));}function c(){var e=document.createElement("style");if(e.setAttribute("type","text/css"),r.attributes)for(var t=Object.keys(r.attributes),n=0;n<t.length;n++)e.setAttribute(t[n],r.attributes[t[n]]);var a="prepend"===s?"afterbegin":"beforeend";return i.insertAdjacentElement(a,e),e}}
@@ -824,213 +250,22 @@ var e=[],t=[];function n(n,r){if(n&&"undefined"!=typeof document){var a,s=!0===r
824
250
  var css = ".neeto-molecules-subheader{align-items:center;background-color:rgb(var(--neeto-ui-white));display:flex;flex-direction:row;justify-content:space-between;margin-bottom:var(--neeto-ui-sub-header-bottom-margin);min-height:var(--neeto-ui-sub-header-height);width:100%}.neeto-molecules-subheader .neeto-molecules-subheader__left-wrapper{display:flex;flex-grow:1}.neeto-molecules-subheader .neeto-molecules-subheader__left-wrapper .neeto-molecules-subheader__left{align-items:center;display:flex;flex-direction:row;justify-content:flex-start}.neeto-molecules-subheader .neeto-molecules-subheader__left-wrapper .neeto-molecules-subheader__left .neeto-molecules-input__prefix{color:rgb(var(--neeto-ui-gray-400))}.neeto-molecules-subheader .neeto-molecules-subheader__right{align-items:center;display:flex;flex-direction:row;gap:12px;justify-content:flex-end}.neeto-molecules-subheader .neeto-molecules-subheader__right-actions{align-items:center;display:flex;flex-direction:row;gap:8px;justify-content:flex-end}.neeto-molecules-subheader .neeto-molecules-subheader__right-actions>:not([hidden])~:not([hidden]){border-left:thin solid rgb(var(--neeto-ui-gray-300));padding-left:8px}.neeto-molecules-subheader__download{position:relative}.neeto-molecules-subheader__download-count{align-items:center;background-color:rgb(var(--neeto-ui-primary-500));border-radius:var(--neeto-ui-rounded-full);color:rgb(var(--neeto-ui-white));display:inline-flex;font-size:10px;justify-content:center;min-height:16px;min-width:16px;position:absolute;right:-2px;text-align:center;top:-2px;z-index:1}";
825
251
  n(css,{});
826
252
 
827
- function cov_mkycqaehe() {
828
- var path = "/home/runner/work/neeto-molecules/neeto-molecules/src/components/SubHeader/index.jsx";
829
- var hash = "f99fde5ef8dd8b7cb1893834760b2fabb55416b1";
830
- var global = new Function("return this")();
831
- var gcv = "__coverage__";
832
- var coverageData = {
833
- path: "/home/runner/work/neeto-molecules/neeto-molecules/src/components/SubHeader/index.jsx",
834
- statementMap: {
835
- "0": {
836
- start: {
837
- line: 8,
838
- column: 18
839
- },
840
- end: {
841
- line: 22,
842
- column: 1
843
- }
844
- },
845
- "1": {
846
- start: {
847
- line: 9,
848
- column: 2
849
- },
850
- end: {
851
- line: 21,
852
- column: 8
853
- }
854
- },
855
- "2": {
856
- start: {
857
- line: 24,
858
- column: 0
859
- },
860
- end: {
861
- line: 24,
862
- column: 34
863
- }
864
- }
865
- },
866
- fnMap: {
867
- "0": {
868
- name: "(anonymous_0)",
869
- decl: {
870
- start: {
871
- line: 8,
872
- column: 18
873
- },
874
- end: {
875
- line: 8,
876
- column: 19
877
- }
878
- },
879
- loc: {
880
- start: {
881
- line: 9,
882
- column: 2
883
- },
884
- end: {
885
- line: 21,
886
- column: 8
887
- }
888
- },
889
- line: 9
890
- }
891
- },
892
- branchMap: {
893
- "0": {
894
- loc: {
895
- start: {
896
- line: 8,
897
- column: 21
898
- },
899
- end: {
900
- line: 8,
901
- column: 35
902
- }
903
- },
904
- type: "default-arg",
905
- locations: [{
906
- start: {
907
- line: 8,
908
- column: 33
909
- },
910
- end: {
911
- line: 8,
912
- column: 35
913
- }
914
- }],
915
- line: 8
916
- },
917
- "1": {
918
- loc: {
919
- start: {
920
- line: 14,
921
- column: 7
922
- },
923
- end: {
924
- line: 16,
925
- column: 7
926
- }
927
- },
928
- type: "binary-expr",
929
- locations: [{
930
- start: {
931
- line: 14,
932
- column: 7
933
- },
934
- end: {
935
- line: 14,
936
- column: 22
937
- }
938
- }, {
939
- start: {
940
- line: 15,
941
- column: 8
942
- },
943
- end: {
944
- line: 15,
945
- column: 80
946
- }
947
- }],
948
- line: 14
949
- },
950
- "2": {
951
- loc: {
952
- start: {
953
- line: 18,
954
- column: 5
955
- },
956
- end: {
957
- line: 20,
958
- column: 5
959
- }
960
- },
961
- type: "binary-expr",
962
- locations: [{
963
- start: {
964
- line: 18,
965
- column: 5
966
- },
967
- end: {
968
- line: 18,
969
- column: 21
970
- }
971
- }, {
972
- start: {
973
- line: 19,
974
- column: 6
975
- },
976
- end: {
977
- line: 19,
978
- column: 80
979
- }
980
- }],
981
- line: 18
982
- }
983
- },
984
- s: {
985
- "0": 0,
986
- "1": 0,
987
- "2": 0
988
- },
989
- f: {
990
- "0": 0
991
- },
992
- b: {
993
- "0": [0],
994
- "1": [0, 0],
995
- "2": [0, 0]
996
- },
997
- _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
998
- hash: "f99fde5ef8dd8b7cb1893834760b2fabb55416b1"
999
- };
1000
- var coverage = global[gcv] || (global[gcv] = {});
1001
- if (!coverage[path] || coverage[path].hash !== hash) {
1002
- coverage[path] = coverageData;
1003
- }
1004
- var actualCoverage = coverage[path];
1005
- {
1006
- // @ts-ignore
1007
- cov_mkycqaehe = function () {
1008
- return actualCoverage;
1009
- };
1010
- }
1011
- return actualCoverage;
1012
- }
1013
- cov_mkycqaehe();
1014
- cov_mkycqaehe().s[0]++;
1015
253
  var SubHeader = function SubHeader(_ref) {
1016
254
  var _ref$className = _ref.className,
1017
- className = _ref$className === void 0 ? (cov_mkycqaehe().b[0][0]++, "") : _ref$className,
255
+ className = _ref$className === void 0 ? "" : _ref$className,
1018
256
  leftActionBlock = _ref.leftActionBlock,
1019
257
  rightActionBlock = _ref.rightActionBlock;
1020
- cov_mkycqaehe().f[0]++;
1021
- cov_mkycqaehe().s[1]++;
1022
258
  return /*#__PURE__*/React__default["default"].createElement("div", {
1023
259
  className: classnames(["neeto-molecules-subheader", className]),
1024
260
  "data-testid": "subheader"
1025
261
  }, /*#__PURE__*/React__default["default"].createElement("div", {
1026
262
  className: "neeto-molecules-subheader__left-wrapper"
1027
- }, (cov_mkycqaehe().b[1][0]++, leftActionBlock) && (cov_mkycqaehe().b[1][1]++, /*#__PURE__*/React__default["default"].createElement("div", {
263
+ }, leftActionBlock && /*#__PURE__*/React__default["default"].createElement("div", {
1028
264
  className: "neeto-molecules-subheader__left"
1029
- }, leftActionBlock))), (cov_mkycqaehe().b[2][0]++, rightActionBlock) && (cov_mkycqaehe().b[2][1]++, /*#__PURE__*/React__default["default"].createElement("div", {
265
+ }, leftActionBlock)), rightActionBlock && /*#__PURE__*/React__default["default"].createElement("div", {
1030
266
  className: "neeto-molecules-subheader__right"
1031
- }, rightActionBlock)));
267
+ }, rightActionBlock));
1032
268
  };
1033
- cov_mkycqaehe().s[2]++;
1034
269
  SubHeader.RightBlock = RightBlock;
1035
270
 
1036
271
  module.exports = SubHeader;