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