@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
package/dist/SubHeader.js CHANGED
@@ -153,150 +153,16 @@ function _objectWithoutProperties(source, excluded) {
153
153
 
154
154
  var _excluded$1 = ["dropdownProps"],
155
155
  _excluded2 = ["buttonProps"];
156
- function cov_1nk47gzsi8() {
157
- var path = "/home/runner/work/neeto-molecules/neeto-molecules/src/components/SubHeader/RightBlock/Columns.jsx";
158
- var hash = "9f901f9bc4d423cb9b0b0b31492fa4192f1d758f";
159
- var global = new Function("return this")();
160
- var gcv = "__coverage__";
161
- var coverageData = {
162
- path: "/home/runner/work/neeto-molecules/neeto-molecules/src/components/SubHeader/RightBlock/Columns.jsx",
163
- statementMap: {
164
- "0": {
165
- start: {
166
- line: 7,
167
- column: 16
168
- },
169
- end: {
170
- line: 33,
171
- column: 1
172
- }
173
- },
174
- "1": {
175
- start: {
176
- line: 8,
177
- column: 16
178
- },
179
- end: {
180
- line: 8,
181
- column: 32
182
- }
183
- },
184
- "2": {
185
- start: {
186
- line: 10,
187
- column: 48
188
- },
189
- end: {
190
- line: 10,
191
- column: 61
192
- }
193
- },
194
- "3": {
195
- start: {
196
- line: 12,
197
- column: 2
198
- },
199
- end: {
200
- line: 32,
201
- column: 4
202
- }
203
- }
204
- },
205
- fnMap: {
206
- "0": {
207
- name: "(anonymous_0)",
208
- decl: {
209
- start: {
210
- line: 7,
211
- column: 16
212
- },
213
- end: {
214
- line: 7,
215
- column: 17
216
- }
217
- },
218
- loc: {
219
- start: {
220
- line: 7,
221
- column: 54
222
- },
223
- end: {
224
- line: 33,
225
- column: 1
226
- }
227
- },
228
- line: 7
229
- }
230
- },
231
- branchMap: {
232
- "0": {
233
- loc: {
234
- start: {
235
- line: 7,
236
- column: 19
237
- },
238
- end: {
239
- line: 7,
240
- column: 37
241
- }
242
- },
243
- type: "default-arg",
244
- locations: [{
245
- start: {
246
- line: 7,
247
- column: 35
248
- },
249
- end: {
250
- line: 7,
251
- column: 37
252
- }
253
- }],
254
- line: 7
255
- }
256
- },
257
- s: {
258
- "0": 0,
259
- "1": 0,
260
- "2": 0,
261
- "3": 0
262
- },
263
- f: {
264
- "0": 0
265
- },
266
- b: {
267
- "0": [0]
268
- },
269
- _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
270
- hash: "9f901f9bc4d423cb9b0b0b31492fa4192f1d758f"
271
- };
272
- var coverage = global[gcv] || (global[gcv] = {});
273
- if (!coverage[path] || coverage[path].hash !== hash) {
274
- coverage[path] = coverageData;
275
- }
276
- var actualCoverage = coverage[path];
277
- {
278
- // @ts-ignore
279
- cov_1nk47gzsi8 = function () {
280
- return actualCoverage;
281
- };
282
- }
283
- return actualCoverage;
284
- }
285
- cov_1nk47gzsi8();
286
156
  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; }
287
157
  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; }
288
- cov_1nk47gzsi8().s[0]++;
289
158
  var Columns = function Columns(_ref) {
290
159
  var _ref$dropdownProps = _ref.dropdownProps,
291
- dropdownProps = _ref$dropdownProps === void 0 ? (cov_1nk47gzsi8().b[0][0]++, {}) : _ref$dropdownProps,
160
+ dropdownProps = _ref$dropdownProps === void 0 ? {} : _ref$dropdownProps,
292
161
  props = _objectWithoutProperties(_ref, _excluded$1);
293
- cov_1nk47gzsi8().f[0]++;
294
- var _ref2 = (cov_1nk47gzsi8().s[1]++, useTranslation()),
295
- t = _ref2.t;
296
- var _ref3 = (cov_1nk47gzsi8().s[2]++, dropdownProps),
297
- buttonProps = _ref3.buttonProps,
298
- restDropdownProps = _objectWithoutProperties(_ref3, _excluded2);
299
- cov_1nk47gzsi8().s[3]++;
162
+ var _useTranslation = useTranslation(),
163
+ t = _useTranslation.t;
164
+ var buttonProps = dropdownProps.buttonProps,
165
+ restDropdownProps = _objectWithoutProperties(dropdownProps, _excluded2);
300
166
  return /*#__PURE__*/React.createElement("div", {
301
167
  className: "neeto-molecules-subheader__columns"
302
168
  }, /*#__PURE__*/React.createElement(ManageColumns, _extends({
@@ -315,169 +181,13 @@ var Columns = function Columns(_ref) {
315
181
  }, props)));
316
182
  };
317
183
 
318
- function cov_td1jpvcmw() {
319
- var path = "/home/runner/work/neeto-molecules/neeto-molecules/src/components/SubHeader/RightBlock/Download.jsx";
320
- var hash = "a2283a341efcaf1ad652751480fdafc6709b57d9";
321
- var global = new Function("return this")();
322
- var gcv = "__coverage__";
323
- var coverageData = {
324
- path: "/home/runner/work/neeto-molecules/neeto-molecules/src/components/SubHeader/RightBlock/Download.jsx",
325
- statementMap: {
326
- "0": {
327
- start: {
328
- line: 7,
329
- column: 23
330
- },
331
- end: {
332
- line: 34,
333
- column: 1
334
- }
335
- },
336
- "1": {
337
- start: {
338
- line: 12,
339
- column: 16
340
- },
341
- end: {
342
- line: 12,
343
- column: 32
344
- }
345
- },
346
- "2": {
347
- start: {
348
- line: 14,
349
- column: 2
350
- },
351
- end: {
352
- line: 33,
353
- column: 4
354
- }
355
- }
356
- },
357
- fnMap: {
358
- "0": {
359
- name: "(anonymous_0)",
360
- decl: {
361
- start: {
362
- line: 7,
363
- column: 23
364
- },
365
- end: {
366
- line: 7,
367
- column: 24
368
- }
369
- },
370
- loc: {
371
- start: {
372
- line: 11,
373
- column: 6
374
- },
375
- end: {
376
- line: 34,
377
- column: 1
378
- }
379
- },
380
- line: 11
381
- }
382
- },
383
- branchMap: {
384
- "0": {
385
- loc: {
386
- start: {
387
- line: 10,
388
- column: 13
389
- },
390
- end: {
391
- line: 10,
392
- column: 39
393
- }
394
- },
395
- type: "default-arg",
396
- locations: [{
397
- start: {
398
- line: 10,
399
- column: 22
400
- },
401
- end: {
402
- line: 10,
403
- column: 39
404
- }
405
- }],
406
- line: 10
407
- },
408
- "1": {
409
- loc: {
410
- start: {
411
- line: 27,
412
- column: 7
413
- },
414
- end: {
415
- line: 31,
416
- column: 7
417
- }
418
- },
419
- type: "binary-expr",
420
- locations: [{
421
- start: {
422
- line: 27,
423
- column: 7
424
- },
425
- end: {
426
- line: 27,
427
- column: 12
428
- }
429
- }, {
430
- start: {
431
- line: 28,
432
- column: 8
433
- },
434
- end: {
435
- line: 30,
436
- column: 15
437
- }
438
- }],
439
- line: 27
440
- }
441
- },
442
- s: {
443
- "0": 0,
444
- "1": 0,
445
- "2": 0
446
- },
447
- f: {
448
- "0": 0
449
- },
450
- b: {
451
- "0": [0],
452
- "1": [0, 0]
453
- },
454
- _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
455
- hash: "a2283a341efcaf1ad652751480fdafc6709b57d9"
456
- };
457
- var coverage = global[gcv] || (global[gcv] = {});
458
- if (!coverage[path] || coverage[path].hash !== hash) {
459
- coverage[path] = coverageData;
460
- }
461
- var actualCoverage = coverage[path];
462
- {
463
- // @ts-ignore
464
- cov_td1jpvcmw = function () {
465
- return actualCoverage;
466
- };
467
- }
468
- return actualCoverage;
469
- }
470
- cov_td1jpvcmw();
471
- cov_td1jpvcmw().s[0]++;
472
184
  var DownloadButton = function DownloadButton(_ref) {
473
185
  var count = _ref.count,
474
186
  onClick = _ref.onClick,
475
187
  _ref$dataCy = _ref["data-cy"],
476
- dataCy = _ref$dataCy === void 0 ? (cov_td1jpvcmw().b[0][0]++, "download-button") : _ref$dataCy;
477
- cov_td1jpvcmw().f[0]++;
478
- var _ref2 = (cov_td1jpvcmw().s[1]++, useTranslation()),
479
- t = _ref2.t;
480
- cov_td1jpvcmw().s[2]++;
188
+ dataCy = _ref$dataCy === void 0 ? "download-button" : _ref$dataCy;
189
+ var _useTranslation = useTranslation(),
190
+ t = _useTranslation.t;
481
191
  return /*#__PURE__*/React.createElement("div", {
482
192
  className: "neeto-molecules-subheader__download"
483
193
  }, /*#__PURE__*/React.createElement(Button, {
@@ -490,120 +200,24 @@ var DownloadButton = function DownloadButton(_ref) {
490
200
  position: "bottom"
491
201
  },
492
202
  onClick: onClick
493
- }), (cov_td1jpvcmw().b[1][0]++, count) && (cov_td1jpvcmw().b[1][1]++, /*#__PURE__*/React.createElement("span", {
203
+ }), count && /*#__PURE__*/React.createElement("span", {
494
204
  className: "neeto-molecules-subheader__download-count"
495
- }, count)));
205
+ }, count));
496
206
  };
497
207
 
498
208
  var _excluded = ["buttonProps"];
499
- function cov_m5zh4tynr() {
500
- var path = "/home/runner/work/neeto-molecules/neeto-molecules/src/components/SubHeader/RightBlock/Filter.jsx";
501
- var hash = "15fd106418316fa8f49263416bc0aea91d893139";
502
- var global = new Function("return this")();
503
- var gcv = "__coverage__";
504
- var coverageData = {
505
- path: "/home/runner/work/neeto-molecules/neeto-molecules/src/components/SubHeader/RightBlock/Filter.jsx",
506
- statementMap: {
507
- "0": {
508
- start: {
509
- line: 7,
510
- column: 21
511
- },
512
- end: {
513
- line: 29,
514
- column: 1
515
- }
516
- },
517
- "1": {
518
- start: {
519
- line: 8,
520
- column: 16
521
- },
522
- end: {
523
- line: 8,
524
- column: 32
525
- }
526
- },
527
- "2": {
528
- start: {
529
- line: 10,
530
- column: 2
531
- },
532
- end: {
533
- line: 28,
534
- column: 4
535
- }
536
- }
537
- },
538
- fnMap: {
539
- "0": {
540
- name: "(anonymous_0)",
541
- decl: {
542
- start: {
543
- line: 7,
544
- column: 21
545
- },
546
- end: {
547
- line: 7,
548
- column: 22
549
- }
550
- },
551
- loc: {
552
- start: {
553
- line: 7,
554
- column: 52
555
- },
556
- end: {
557
- line: 29,
558
- column: 1
559
- }
560
- },
561
- line: 7
562
- }
563
- },
564
- branchMap: {},
565
- s: {
566
- "0": 0,
567
- "1": 0,
568
- "2": 0
569
- },
570
- f: {
571
- "0": 0
572
- },
573
- b: {},
574
- _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
575
- hash: "15fd106418316fa8f49263416bc0aea91d893139"
576
- };
577
- var coverage = global[gcv] || (global[gcv] = {});
578
- if (!coverage[path] || coverage[path].hash !== hash) {
579
- coverage[path] = coverageData;
580
- }
581
- var actualCoverage = coverage[path];
582
- {
583
- // @ts-ignore
584
- cov_m5zh4tynr = function () {
585
- return actualCoverage;
586
- };
587
- }
588
- return actualCoverage;
589
- }
590
- cov_m5zh4tynr();
591
209
  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; }
592
210
  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; }
593
- cov_m5zh4tynr().s[0]++;
594
211
  var FilterButton = function FilterButton(_ref) {
595
212
  var buttonProps = _ref.buttonProps,
596
213
  props = _objectWithoutProperties(_ref, _excluded);
597
- cov_m5zh4tynr().f[0]++;
598
- var _ref2 = (cov_m5zh4tynr().s[1]++, useTranslation()),
599
- t = _ref2.t;
600
- cov_m5zh4tynr().s[2]++;
214
+ var _useTranslation = useTranslation(),
215
+ t = _useTranslation.t;
601
216
  return /*#__PURE__*/React.createElement("div", {
602
217
  className: "neeto-molecules-subheader__filter"
603
218
  }, /*#__PURE__*/React.createElement(Filters, _extends({
604
219
  buttonProps: _objectSpread({
605
220
  "data-testid": "filter-button",
606
- "data-cy": "neeto-filters-button",
607
221
  icon: Filter,
608
222
  style: "text",
609
223
  tooltipProps: {
@@ -615,201 +229,13 @@ var FilterButton = function FilterButton(_ref) {
615
229
  }, props)));
616
230
  };
617
231
 
618
- function cov_yp8t4aac1() {
619
- var path = "/home/runner/work/neeto-molecules/neeto-molecules/src/components/SubHeader/RightBlock/index.jsx";
620
- var hash = "9cc82e2363692514f071479e9badda2e6c36b5c0";
621
- var global = new Function("return this")();
622
- var gcv = "__coverage__";
623
- var coverageData = {
624
- path: "/home/runner/work/neeto-molecules/neeto-molecules/src/components/SubHeader/RightBlock/index.jsx",
625
- statementMap: {
626
- "0": {
627
- start: {
628
- line: 7,
629
- column: 19
630
- },
631
- end: {
632
- line: 17,
633
- column: 1
634
- }
635
- },
636
- "1": {
637
- start: {
638
- line: 12,
639
- column: 2
640
- },
641
- end: {
642
- line: 16,
643
- column: 8
644
- }
645
- }
646
- },
647
- fnMap: {
648
- "0": {
649
- name: "(anonymous_0)",
650
- decl: {
651
- start: {
652
- line: 7,
653
- column: 19
654
- },
655
- end: {
656
- line: 7,
657
- column: 20
658
- }
659
- },
660
- loc: {
661
- start: {
662
- line: 12,
663
- column: 2
664
- },
665
- end: {
666
- line: 16,
667
- column: 8
668
- }
669
- },
670
- line: 12
671
- }
672
- },
673
- branchMap: {
674
- "0": {
675
- loc: {
676
- start: {
677
- line: 13,
678
- column: 5
679
- },
680
- end: {
681
- line: 13,
682
- column: 65
683
- }
684
- },
685
- type: "binary-expr",
686
- locations: [{
687
- start: {
688
- line: 13,
689
- column: 5
690
- },
691
- end: {
692
- line: 13,
693
- column: 24
694
- }
695
- }, {
696
- start: {
697
- line: 13,
698
- column: 28
699
- },
700
- end: {
701
- line: 13,
702
- column: 65
703
- }
704
- }],
705
- line: 13
706
- },
707
- "1": {
708
- loc: {
709
- start: {
710
- line: 14,
711
- column: 5
712
- },
713
- end: {
714
- line: 14,
715
- column: 62
716
- }
717
- },
718
- type: "binary-expr",
719
- locations: [{
720
- start: {
721
- line: 14,
722
- column: 5
723
- },
724
- end: {
725
- line: 14,
726
- column: 23
727
- }
728
- }, {
729
- start: {
730
- line: 14,
731
- column: 27
732
- },
733
- end: {
734
- line: 14,
735
- column: 62
736
- }
737
- }],
738
- line: 14
739
- },
740
- "2": {
741
- loc: {
742
- start: {
743
- line: 15,
744
- column: 5
745
- },
746
- end: {
747
- line: 15,
748
- column: 47
749
- }
750
- },
751
- type: "binary-expr",
752
- locations: [{
753
- start: {
754
- line: 15,
755
- column: 5
756
- },
757
- end: {
758
- line: 15,
759
- column: 16
760
- }
761
- }, {
762
- start: {
763
- line: 15,
764
- column: 20
765
- },
766
- end: {
767
- line: 15,
768
- column: 47
769
- }
770
- }],
771
- line: 15
772
- }
773
- },
774
- s: {
775
- "0": 0,
776
- "1": 0
777
- },
778
- f: {
779
- "0": 0
780
- },
781
- b: {
782
- "0": [0, 0],
783
- "1": [0, 0],
784
- "2": [0, 0]
785
- },
786
- _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
787
- hash: "9cc82e2363692514f071479e9badda2e6c36b5c0"
788
- };
789
- var coverage = global[gcv] || (global[gcv] = {});
790
- if (!coverage[path] || coverage[path].hash !== hash) {
791
- coverage[path] = coverageData;
792
- }
793
- var actualCoverage = coverage[path];
794
- {
795
- // @ts-ignore
796
- cov_yp8t4aac1 = function () {
797
- return actualCoverage;
798
- };
799
- }
800
- return actualCoverage;
801
- }
802
- cov_yp8t4aac1();
803
- cov_yp8t4aac1().s[0]++;
804
232
  var RightBlock = function RightBlock(_ref) {
805
233
  var downloadButtonProps = _ref.downloadButtonProps,
806
234
  columnsButtonProps = _ref.columnsButtonProps,
807
235
  filterProps = _ref.filterProps;
808
- cov_yp8t4aac1().f[0]++;
809
- cov_yp8t4aac1().s[1]++;
810
236
  return /*#__PURE__*/React.createElement("div", {
811
237
  className: "neeto-molecules-subheader__right-actions"
812
- }, (cov_yp8t4aac1().b[0][0]++, downloadButtonProps) && (cov_yp8t4aac1().b[0][1]++, /*#__PURE__*/React.createElement(DownloadButton, downloadButtonProps)), (cov_yp8t4aac1().b[1][0]++, columnsButtonProps) && (cov_yp8t4aac1().b[1][1]++, /*#__PURE__*/React.createElement(Columns, columnsButtonProps)), (cov_yp8t4aac1().b[2][0]++, filterProps) && (cov_yp8t4aac1().b[2][1]++, /*#__PURE__*/React.createElement(FilterButton, filterProps)));
238
+ }, downloadButtonProps && /*#__PURE__*/React.createElement(DownloadButton, downloadButtonProps), columnsButtonProps && /*#__PURE__*/React.createElement(Columns, columnsButtonProps), filterProps && /*#__PURE__*/React.createElement(FilterButton, filterProps));
813
239
  };
814
240
 
815
241
  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}}
@@ -817,213 +243,22 @@ var e=[],t=[];function n(n,r){if(n&&"undefined"!=typeof document){var a,s=!0===r
817
243
  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}";
818
244
  n(css,{});
819
245
 
820
- function cov_mkycqaehe() {
821
- var path = "/home/runner/work/neeto-molecules/neeto-molecules/src/components/SubHeader/index.jsx";
822
- var hash = "f99fde5ef8dd8b7cb1893834760b2fabb55416b1";
823
- var global = new Function("return this")();
824
- var gcv = "__coverage__";
825
- var coverageData = {
826
- path: "/home/runner/work/neeto-molecules/neeto-molecules/src/components/SubHeader/index.jsx",
827
- statementMap: {
828
- "0": {
829
- start: {
830
- line: 8,
831
- column: 18
832
- },
833
- end: {
834
- line: 22,
835
- column: 1
836
- }
837
- },
838
- "1": {
839
- start: {
840
- line: 9,
841
- column: 2
842
- },
843
- end: {
844
- line: 21,
845
- column: 8
846
- }
847
- },
848
- "2": {
849
- start: {
850
- line: 24,
851
- column: 0
852
- },
853
- end: {
854
- line: 24,
855
- column: 34
856
- }
857
- }
858
- },
859
- fnMap: {
860
- "0": {
861
- name: "(anonymous_0)",
862
- decl: {
863
- start: {
864
- line: 8,
865
- column: 18
866
- },
867
- end: {
868
- line: 8,
869
- column: 19
870
- }
871
- },
872
- loc: {
873
- start: {
874
- line: 9,
875
- column: 2
876
- },
877
- end: {
878
- line: 21,
879
- column: 8
880
- }
881
- },
882
- line: 9
883
- }
884
- },
885
- branchMap: {
886
- "0": {
887
- loc: {
888
- start: {
889
- line: 8,
890
- column: 21
891
- },
892
- end: {
893
- line: 8,
894
- column: 35
895
- }
896
- },
897
- type: "default-arg",
898
- locations: [{
899
- start: {
900
- line: 8,
901
- column: 33
902
- },
903
- end: {
904
- line: 8,
905
- column: 35
906
- }
907
- }],
908
- line: 8
909
- },
910
- "1": {
911
- loc: {
912
- start: {
913
- line: 14,
914
- column: 7
915
- },
916
- end: {
917
- line: 16,
918
- column: 7
919
- }
920
- },
921
- type: "binary-expr",
922
- locations: [{
923
- start: {
924
- line: 14,
925
- column: 7
926
- },
927
- end: {
928
- line: 14,
929
- column: 22
930
- }
931
- }, {
932
- start: {
933
- line: 15,
934
- column: 8
935
- },
936
- end: {
937
- line: 15,
938
- column: 80
939
- }
940
- }],
941
- line: 14
942
- },
943
- "2": {
944
- loc: {
945
- start: {
946
- line: 18,
947
- column: 5
948
- },
949
- end: {
950
- line: 20,
951
- column: 5
952
- }
953
- },
954
- type: "binary-expr",
955
- locations: [{
956
- start: {
957
- line: 18,
958
- column: 5
959
- },
960
- end: {
961
- line: 18,
962
- column: 21
963
- }
964
- }, {
965
- start: {
966
- line: 19,
967
- column: 6
968
- },
969
- end: {
970
- line: 19,
971
- column: 80
972
- }
973
- }],
974
- line: 18
975
- }
976
- },
977
- s: {
978
- "0": 0,
979
- "1": 0,
980
- "2": 0
981
- },
982
- f: {
983
- "0": 0
984
- },
985
- b: {
986
- "0": [0],
987
- "1": [0, 0],
988
- "2": [0, 0]
989
- },
990
- _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
991
- hash: "f99fde5ef8dd8b7cb1893834760b2fabb55416b1"
992
- };
993
- var coverage = global[gcv] || (global[gcv] = {});
994
- if (!coverage[path] || coverage[path].hash !== hash) {
995
- coverage[path] = coverageData;
996
- }
997
- var actualCoverage = coverage[path];
998
- {
999
- // @ts-ignore
1000
- cov_mkycqaehe = function () {
1001
- return actualCoverage;
1002
- };
1003
- }
1004
- return actualCoverage;
1005
- }
1006
- cov_mkycqaehe();
1007
- cov_mkycqaehe().s[0]++;
1008
246
  var SubHeader = function SubHeader(_ref) {
1009
247
  var _ref$className = _ref.className,
1010
- className = _ref$className === void 0 ? (cov_mkycqaehe().b[0][0]++, "") : _ref$className,
248
+ className = _ref$className === void 0 ? "" : _ref$className,
1011
249
  leftActionBlock = _ref.leftActionBlock,
1012
250
  rightActionBlock = _ref.rightActionBlock;
1013
- cov_mkycqaehe().f[0]++;
1014
- cov_mkycqaehe().s[1]++;
1015
251
  return /*#__PURE__*/React.createElement("div", {
1016
252
  className: classnames(["neeto-molecules-subheader", className]),
1017
253
  "data-testid": "subheader"
1018
254
  }, /*#__PURE__*/React.createElement("div", {
1019
255
  className: "neeto-molecules-subheader__left-wrapper"
1020
- }, (cov_mkycqaehe().b[1][0]++, leftActionBlock) && (cov_mkycqaehe().b[1][1]++, /*#__PURE__*/React.createElement("div", {
256
+ }, leftActionBlock && /*#__PURE__*/React.createElement("div", {
1021
257
  className: "neeto-molecules-subheader__left"
1022
- }, leftActionBlock))), (cov_mkycqaehe().b[2][0]++, rightActionBlock) && (cov_mkycqaehe().b[2][1]++, /*#__PURE__*/React.createElement("div", {
258
+ }, leftActionBlock)), rightActionBlock && /*#__PURE__*/React.createElement("div", {
1023
259
  className: "neeto-molecules-subheader__right"
1024
- }, rightActionBlock)));
260
+ }, rightActionBlock));
1025
261
  };
1026
- cov_mkycqaehe().s[2]++;
1027
262
  SubHeader.RightBlock = RightBlock;
1028
263
 
1029
264
  export { SubHeader as default };