@bigbinary/neeto-molecules 1.0.28 → 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 -6060
  14. package/dist/CustomDomain.cjs.js.map +1 -1
  15. package/dist/CustomDomain.js +156 -6060
  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 +26 -908
  26. package/dist/DynamicVariables.cjs.js.map +1 -1
  27. package/dist/DynamicVariables.js +26 -908
  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 -781
  102. package/dist/SubHeader.cjs.js.map +1 -1
  103. package/dist/SubHeader.js +17 -781
  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,114 +207,19 @@ 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 = "ccf07ab7fbe2e20d51a0eb8a8009a0ad5956d118";
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: 28,
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: 27,
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: 28,
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: "ccf07ab7fbe2e20d51a0eb8a8009a0ad5956d118"
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({
@@ -621,201 +236,13 @@ var FilterButton = function FilterButton(_ref) {
621
236
  }, props)));
622
237
  };
623
238
 
624
- function cov_yp8t4aac1() {
625
- var path = "/home/runner/work/neeto-molecules/neeto-molecules/src/components/SubHeader/RightBlock/index.jsx";
626
- var hash = "9cc82e2363692514f071479e9badda2e6c36b5c0";
627
- var global = new Function("return this")();
628
- var gcv = "__coverage__";
629
- var coverageData = {
630
- path: "/home/runner/work/neeto-molecules/neeto-molecules/src/components/SubHeader/RightBlock/index.jsx",
631
- statementMap: {
632
- "0": {
633
- start: {
634
- line: 7,
635
- column: 19
636
- },
637
- end: {
638
- line: 17,
639
- column: 1
640
- }
641
- },
642
- "1": {
643
- start: {
644
- line: 12,
645
- column: 2
646
- },
647
- end: {
648
- line: 16,
649
- column: 8
650
- }
651
- }
652
- },
653
- fnMap: {
654
- "0": {
655
- name: "(anonymous_0)",
656
- decl: {
657
- start: {
658
- line: 7,
659
- column: 19
660
- },
661
- end: {
662
- line: 7,
663
- column: 20
664
- }
665
- },
666
- loc: {
667
- start: {
668
- line: 12,
669
- column: 2
670
- },
671
- end: {
672
- line: 16,
673
- column: 8
674
- }
675
- },
676
- line: 12
677
- }
678
- },
679
- branchMap: {
680
- "0": {
681
- loc: {
682
- start: {
683
- line: 13,
684
- column: 5
685
- },
686
- end: {
687
- line: 13,
688
- column: 65
689
- }
690
- },
691
- type: "binary-expr",
692
- locations: [{
693
- start: {
694
- line: 13,
695
- column: 5
696
- },
697
- end: {
698
- line: 13,
699
- column: 24
700
- }
701
- }, {
702
- start: {
703
- line: 13,
704
- column: 28
705
- },
706
- end: {
707
- line: 13,
708
- column: 65
709
- }
710
- }],
711
- line: 13
712
- },
713
- "1": {
714
- loc: {
715
- start: {
716
- line: 14,
717
- column: 5
718
- },
719
- end: {
720
- line: 14,
721
- column: 62
722
- }
723
- },
724
- type: "binary-expr",
725
- locations: [{
726
- start: {
727
- line: 14,
728
- column: 5
729
- },
730
- end: {
731
- line: 14,
732
- column: 23
733
- }
734
- }, {
735
- start: {
736
- line: 14,
737
- column: 27
738
- },
739
- end: {
740
- line: 14,
741
- column: 62
742
- }
743
- }],
744
- line: 14
745
- },
746
- "2": {
747
- loc: {
748
- start: {
749
- line: 15,
750
- column: 5
751
- },
752
- end: {
753
- line: 15,
754
- column: 47
755
- }
756
- },
757
- type: "binary-expr",
758
- locations: [{
759
- start: {
760
- line: 15,
761
- column: 5
762
- },
763
- end: {
764
- line: 15,
765
- column: 16
766
- }
767
- }, {
768
- start: {
769
- line: 15,
770
- column: 20
771
- },
772
- end: {
773
- line: 15,
774
- column: 47
775
- }
776
- }],
777
- line: 15
778
- }
779
- },
780
- s: {
781
- "0": 0,
782
- "1": 0
783
- },
784
- f: {
785
- "0": 0
786
- },
787
- b: {
788
- "0": [0, 0],
789
- "1": [0, 0],
790
- "2": [0, 0]
791
- },
792
- _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
793
- hash: "9cc82e2363692514f071479e9badda2e6c36b5c0"
794
- };
795
- var coverage = global[gcv] || (global[gcv] = {});
796
- if (!coverage[path] || coverage[path].hash !== hash) {
797
- coverage[path] = coverageData;
798
- }
799
- var actualCoverage = coverage[path];
800
- {
801
- // @ts-ignore
802
- cov_yp8t4aac1 = function () {
803
- return actualCoverage;
804
- };
805
- }
806
- return actualCoverage;
807
- }
808
- cov_yp8t4aac1();
809
- cov_yp8t4aac1().s[0]++;
810
239
  var RightBlock = function RightBlock(_ref) {
811
240
  var downloadButtonProps = _ref.downloadButtonProps,
812
241
  columnsButtonProps = _ref.columnsButtonProps,
813
242
  filterProps = _ref.filterProps;
814
- cov_yp8t4aac1().f[0]++;
815
- cov_yp8t4aac1().s[1]++;
816
243
  return /*#__PURE__*/React__default["default"].createElement("div", {
817
244
  className: "neeto-molecules-subheader__right-actions"
818
- }, (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));
819
246
  };
820
247
 
821
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}}
@@ -823,213 +250,22 @@ var e=[],t=[];function n(n,r){if(n&&"undefined"!=typeof document){var a,s=!0===r
823
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}";
824
251
  n(css,{});
825
252
 
826
- function cov_mkycqaehe() {
827
- var path = "/home/runner/work/neeto-molecules/neeto-molecules/src/components/SubHeader/index.jsx";
828
- var hash = "f99fde5ef8dd8b7cb1893834760b2fabb55416b1";
829
- var global = new Function("return this")();
830
- var gcv = "__coverage__";
831
- var coverageData = {
832
- path: "/home/runner/work/neeto-molecules/neeto-molecules/src/components/SubHeader/index.jsx",
833
- statementMap: {
834
- "0": {
835
- start: {
836
- line: 8,
837
- column: 18
838
- },
839
- end: {
840
- line: 22,
841
- column: 1
842
- }
843
- },
844
- "1": {
845
- start: {
846
- line: 9,
847
- column: 2
848
- },
849
- end: {
850
- line: 21,
851
- column: 8
852
- }
853
- },
854
- "2": {
855
- start: {
856
- line: 24,
857
- column: 0
858
- },
859
- end: {
860
- line: 24,
861
- column: 34
862
- }
863
- }
864
- },
865
- fnMap: {
866
- "0": {
867
- name: "(anonymous_0)",
868
- decl: {
869
- start: {
870
- line: 8,
871
- column: 18
872
- },
873
- end: {
874
- line: 8,
875
- column: 19
876
- }
877
- },
878
- loc: {
879
- start: {
880
- line: 9,
881
- column: 2
882
- },
883
- end: {
884
- line: 21,
885
- column: 8
886
- }
887
- },
888
- line: 9
889
- }
890
- },
891
- branchMap: {
892
- "0": {
893
- loc: {
894
- start: {
895
- line: 8,
896
- column: 21
897
- },
898
- end: {
899
- line: 8,
900
- column: 35
901
- }
902
- },
903
- type: "default-arg",
904
- locations: [{
905
- start: {
906
- line: 8,
907
- column: 33
908
- },
909
- end: {
910
- line: 8,
911
- column: 35
912
- }
913
- }],
914
- line: 8
915
- },
916
- "1": {
917
- loc: {
918
- start: {
919
- line: 14,
920
- column: 7
921
- },
922
- end: {
923
- line: 16,
924
- column: 7
925
- }
926
- },
927
- type: "binary-expr",
928
- locations: [{
929
- start: {
930
- line: 14,
931
- column: 7
932
- },
933
- end: {
934
- line: 14,
935
- column: 22
936
- }
937
- }, {
938
- start: {
939
- line: 15,
940
- column: 8
941
- },
942
- end: {
943
- line: 15,
944
- column: 80
945
- }
946
- }],
947
- line: 14
948
- },
949
- "2": {
950
- loc: {
951
- start: {
952
- line: 18,
953
- column: 5
954
- },
955
- end: {
956
- line: 20,
957
- column: 5
958
- }
959
- },
960
- type: "binary-expr",
961
- locations: [{
962
- start: {
963
- line: 18,
964
- column: 5
965
- },
966
- end: {
967
- line: 18,
968
- column: 21
969
- }
970
- }, {
971
- start: {
972
- line: 19,
973
- column: 6
974
- },
975
- end: {
976
- line: 19,
977
- column: 80
978
- }
979
- }],
980
- line: 18
981
- }
982
- },
983
- s: {
984
- "0": 0,
985
- "1": 0,
986
- "2": 0
987
- },
988
- f: {
989
- "0": 0
990
- },
991
- b: {
992
- "0": [0],
993
- "1": [0, 0],
994
- "2": [0, 0]
995
- },
996
- _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
997
- hash: "f99fde5ef8dd8b7cb1893834760b2fabb55416b1"
998
- };
999
- var coverage = global[gcv] || (global[gcv] = {});
1000
- if (!coverage[path] || coverage[path].hash !== hash) {
1001
- coverage[path] = coverageData;
1002
- }
1003
- var actualCoverage = coverage[path];
1004
- {
1005
- // @ts-ignore
1006
- cov_mkycqaehe = function () {
1007
- return actualCoverage;
1008
- };
1009
- }
1010
- return actualCoverage;
1011
- }
1012
- cov_mkycqaehe();
1013
- cov_mkycqaehe().s[0]++;
1014
253
  var SubHeader = function SubHeader(_ref) {
1015
254
  var _ref$className = _ref.className,
1016
- className = _ref$className === void 0 ? (cov_mkycqaehe().b[0][0]++, "") : _ref$className,
255
+ className = _ref$className === void 0 ? "" : _ref$className,
1017
256
  leftActionBlock = _ref.leftActionBlock,
1018
257
  rightActionBlock = _ref.rightActionBlock;
1019
- cov_mkycqaehe().f[0]++;
1020
- cov_mkycqaehe().s[1]++;
1021
258
  return /*#__PURE__*/React__default["default"].createElement("div", {
1022
259
  className: classnames(["neeto-molecules-subheader", className]),
1023
260
  "data-testid": "subheader"
1024
261
  }, /*#__PURE__*/React__default["default"].createElement("div", {
1025
262
  className: "neeto-molecules-subheader__left-wrapper"
1026
- }, (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", {
1027
264
  className: "neeto-molecules-subheader__left"
1028
- }, 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", {
1029
266
  className: "neeto-molecules-subheader__right"
1030
- }, rightActionBlock)));
267
+ }, rightActionBlock));
1031
268
  };
1032
- cov_mkycqaehe().s[2]++;
1033
269
  SubHeader.RightBlock = RightBlock;
1034
270
 
1035
271
  module.exports = SubHeader;