@bigbinary/neeto-molecules 1.0.26 → 1.0.28

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 (41) hide show
  1. package/dist/CustomDomain.cjs.js +349 -339
  2. package/dist/CustomDomain.cjs.js.map +1 -1
  3. package/dist/CustomDomain.js +349 -339
  4. package/dist/CustomDomain.js.map +1 -1
  5. package/dist/DynamicVariables.cjs.js +1 -1
  6. package/dist/DynamicVariables.js +1 -1
  7. package/dist/Header.cjs.js +67 -53
  8. package/dist/Header.cjs.js.map +1 -1
  9. package/dist/Header.js +67 -53
  10. package/dist/Header.js.map +1 -1
  11. package/dist/LoginPage.cjs.js +23 -18
  12. package/dist/LoginPage.cjs.js.map +1 -1
  13. package/dist/LoginPage.js +23 -18
  14. package/dist/LoginPage.js.map +1 -1
  15. package/dist/NeetoWidget.cjs.js +425 -565
  16. package/dist/NeetoWidget.cjs.js.map +1 -1
  17. package/dist/NeetoWidget.js +426 -566
  18. package/dist/NeetoWidget.js.map +1 -1
  19. package/dist/PhoneNumber.cjs.js +628 -86
  20. package/dist/PhoneNumber.cjs.js.map +1 -1
  21. package/dist/PhoneNumber.js +628 -86
  22. package/dist/PhoneNumber.js.map +1 -1
  23. package/dist/Rename.cjs.js +240 -226
  24. package/dist/Rename.cjs.js.map +1 -1
  25. package/dist/Rename.js +241 -227
  26. package/dist/Rename.js.map +1 -1
  27. package/dist/ShareViaLink.cjs.js +8 -7
  28. package/dist/ShareViaLink.cjs.js.map +1 -1
  29. package/dist/ShareViaLink.js +8 -7
  30. package/dist/ShareViaLink.js.map +1 -1
  31. package/dist/Sidebar.cjs.js +1 -1
  32. package/dist/Sidebar.cjs.js.map +1 -1
  33. package/dist/Sidebar.js +1 -1
  34. package/dist/Sidebar.js.map +1 -1
  35. package/dist/SubHeader.cjs.js +5 -6
  36. package/dist/SubHeader.cjs.js.map +1 -1
  37. package/dist/SubHeader.js +5 -6
  38. package/dist/SubHeader.js.map +1 -1
  39. package/package.json +2 -2
  40. package/src/translations/en.json +26 -7
  41. package/types/Sidebar.d.ts +1 -1
package/dist/Rename.js CHANGED
@@ -1,9 +1,10 @@
1
1
  import React, { useState, useRef, Fragment } from 'react';
2
- import { noop } from '@bigbinary/neeto-commons-frontend/pure';
2
+ import { noop, isNotEmpty } from '@bigbinary/neeto-commons-frontend/pure';
3
3
  import { useOnClickOutside, useHotKeys } from '@bigbinary/neeto-commons-frontend/react-utils';
4
4
  import { Check, Close, MenuHorizontal } from '@bigbinary/neeto-icons';
5
5
  import { Dropdown, Typography, Input, Button } from '@bigbinary/neetoui';
6
6
  import { isEmpty } from 'ramda';
7
+ import { useTranslation } from 'react-i18next';
7
8
  import { Link } from 'react-router-dom';
8
9
 
9
10
  function _extends() {
@@ -144,7 +145,7 @@ n(css,{});
144
145
 
145
146
  function cov_11r4x10h1y() {
146
147
  var path = "/home/runner/work/neeto-molecules/neeto-molecules/src/components/Rename/index.jsx";
147
- var hash = "a5d543739cd1e5afeed656dba3a035f8120ece77";
148
+ var hash = "66973a2f5d511001e37449e639c8a41d5a4bf1fd";
148
149
  var global = new Function("return this")();
149
150
  var gcv = "__coverage__";
150
151
  var coverageData = {
@@ -152,17 +153,17 @@ function cov_11r4x10h1y() {
152
153
  statementMap: {
153
154
  "0": {
154
155
  start: {
155
- line: 13,
156
+ line: 14,
156
157
  column: 27
157
158
  },
158
159
  end: {
159
- line: 13,
160
+ line: 14,
160
161
  column: 35
161
162
  }
162
163
  },
163
164
  "1": {
164
165
  start: {
165
- line: 15,
166
+ line: 16,
166
167
  column: 15
167
168
  },
168
169
  end: {
@@ -172,147 +173,157 @@ function cov_11r4x10h1y() {
172
173
  },
173
174
  "2": {
174
175
  start: {
175
- line: 28,
176
- column: 26
176
+ line: 29,
177
+ column: 16
177
178
  },
178
179
  end: {
179
- line: 28,
180
- column: 41
180
+ line: 29,
181
+ column: 32
181
182
  }
182
183
  },
183
184
  "3": {
184
185
  start: {
185
- line: 29,
186
- column: 34
186
+ line: 30,
187
+ column: 26
187
188
  },
188
189
  end: {
189
- line: 29,
190
- column: 50
190
+ line: 30,
191
+ column: 41
191
192
  }
192
193
  },
193
194
  "4": {
194
195
  start: {
195
196
  line: 31,
196
- column: 20
197
+ column: 34
197
198
  },
198
199
  end: {
199
200
  line: 31,
200
- column: 32
201
+ column: 50
201
202
  }
202
203
  },
203
204
  "5": {
204
205
  start: {
205
206
  line: 33,
206
- column: 2
207
+ column: 20
207
208
  },
208
209
  end: {
209
210
  line: 33,
210
- column: 52
211
+ column: 32
211
212
  }
212
213
  },
213
214
  "6": {
214
215
  start: {
215
- line: 33,
216
- column: 37
216
+ line: 35,
217
+ column: 2
217
218
  },
218
219
  end: {
219
- line: 33,
220
- column: 50
220
+ line: 35,
221
+ column: 52
221
222
  }
222
223
  },
223
224
  "7": {
224
225
  start: {
225
226
  line: 35,
227
+ column: 37
228
+ },
229
+ end: {
230
+ line: 35,
231
+ column: 50
232
+ }
233
+ },
234
+ "8": {
235
+ start: {
236
+ line: 37,
226
237
  column: 23
227
238
  },
228
239
  end: {
229
- line: 38,
240
+ line: 40,
230
241
  column: 3
231
242
  }
232
243
  },
233
- "8": {
244
+ "9": {
234
245
  start: {
235
- line: 36,
246
+ line: 38,
236
247
  column: 4
237
248
  },
238
249
  end: {
239
- line: 36,
250
+ line: 38,
240
251
  column: 19
241
252
  }
242
253
  },
243
- "9": {
254
+ "10": {
244
255
  start: {
245
- line: 37,
256
+ line: 39,
246
257
  column: 4
247
258
  },
248
259
  end: {
249
- line: 37,
260
+ line: 39,
250
261
  column: 23
251
262
  }
252
263
  },
253
- "10": {
264
+ "11": {
254
265
  start: {
255
- line: 40,
266
+ line: 42,
256
267
  column: 22
257
268
  },
258
269
  end: {
259
- line: 43,
270
+ line: 45,
260
271
  column: 3
261
272
  }
262
273
  },
263
- "11": {
274
+ "12": {
264
275
  start: {
265
- line: 41,
276
+ line: 43,
266
277
  column: 4
267
278
  },
268
279
  end: {
269
- line: 41,
280
+ line: 43,
270
281
  column: 19
271
282
  }
272
283
  },
273
- "12": {
284
+ "13": {
274
285
  start: {
275
- line: 42,
286
+ line: 44,
276
287
  column: 4
277
288
  },
278
289
  end: {
279
- line: 42,
290
+ line: 44,
280
291
  column: 23
281
292
  }
282
293
  },
283
- "13": {
294
+ "14": {
284
295
  start: {
285
- line: 45,
296
+ line: 47,
286
297
  column: 2
287
298
  },
288
299
  end: {
289
- line: 45,
300
+ line: 47,
290
301
  column: 56
291
302
  }
292
303
  },
293
- "14": {
304
+ "15": {
294
305
  start: {
295
- line: 46,
306
+ line: 48,
296
307
  column: 2
297
308
  },
298
309
  end: {
299
- line: 46,
310
+ line: 48,
300
311
  column: 77
301
312
  }
302
313
  },
303
- "15": {
314
+ "16": {
304
315
  start: {
305
- line: 46,
316
+ line: 48,
306
317
  column: 37
307
318
  },
308
319
  end: {
309
- line: 46,
320
+ line: 48,
310
321
  column: 55
311
322
  }
312
323
  },
313
- "16": {
324
+ "17": {
314
325
  start: {
315
- line: 48,
326
+ line: 50,
316
327
  column: 2
317
328
  },
318
329
  end: {
@@ -320,47 +331,47 @@ function cov_11r4x10h1y() {
320
331
  column: 4
321
332
  }
322
333
  },
323
- "17": {
334
+ "18": {
324
335
  start: {
325
- line: 51,
336
+ line: 53,
326
337
  column: 8
327
338
  },
328
339
  end: {
329
- line: 66,
340
+ line: 68,
330
341
  column: 19
331
342
  }
332
343
  },
333
- "18": {
344
+ "19": {
334
345
  start: {
335
- line: 85,
346
+ line: 87,
336
347
  column: 31
337
348
  },
338
349
  end: {
339
- line: 85,
350
+ line: 87,
340
351
  column: 49
341
352
  }
342
353
  },
343
- "19": {
354
+ "20": {
344
355
  start: {
345
- line: 97,
356
+ line: 99,
346
357
  column: 29
347
358
  },
348
359
  end: {
349
- line: 97,
360
+ line: 99,
350
361
  column: 56
351
362
  }
352
363
  },
353
- "20": {
364
+ "21": {
354
365
  start: {
355
- line: 113,
366
+ line: 115,
356
367
  column: 27
357
368
  },
358
369
  end: {
359
- line: 113,
370
+ line: 115,
360
371
  column: 62
361
372
  }
362
373
  },
363
- "21": {
374
+ "22": {
364
375
  start: {
365
376
  line: 129,
366
377
  column: 50
@@ -370,7 +381,7 @@ function cov_11r4x10h1y() {
370
381
  column: 67
371
382
  }
372
383
  },
373
- "22": {
384
+ "23": {
374
385
  start: {
375
386
  line: 134,
376
387
  column: 18
@@ -386,17 +397,17 @@ function cov_11r4x10h1y() {
386
397
  name: "(anonymous_0)",
387
398
  decl: {
388
399
  start: {
389
- line: 15,
400
+ line: 16,
390
401
  column: 15
391
402
  },
392
403
  end: {
393
- line: 15,
404
+ line: 16,
394
405
  column: 16
395
406
  }
396
407
  },
397
408
  loc: {
398
409
  start: {
399
- line: 27,
410
+ line: 28,
400
411
  column: 6
401
412
  },
402
413
  end: {
@@ -404,199 +415,199 @@ function cov_11r4x10h1y() {
404
415
  column: 1
405
416
  }
406
417
  },
407
- line: 27
418
+ line: 28
408
419
  },
409
420
  "1": {
410
421
  name: "(anonymous_1)",
411
422
  decl: {
412
423
  start: {
413
- line: 33,
424
+ line: 35,
414
425
  column: 31
415
426
  },
416
427
  end: {
417
- line: 33,
428
+ line: 35,
418
429
  column: 32
419
430
  }
420
431
  },
421
432
  loc: {
422
433
  start: {
423
- line: 33,
434
+ line: 35,
424
435
  column: 37
425
436
  },
426
437
  end: {
427
- line: 33,
438
+ line: 35,
428
439
  column: 50
429
440
  }
430
441
  },
431
- line: 33
442
+ line: 35
432
443
  },
433
444
  "2": {
434
445
  name: "(anonymous_2)",
435
446
  decl: {
436
447
  start: {
437
- line: 35,
448
+ line: 37,
438
449
  column: 23
439
450
  },
440
451
  end: {
441
- line: 35,
452
+ line: 37,
442
453
  column: 24
443
454
  }
444
455
  },
445
456
  loc: {
446
457
  start: {
447
- line: 35,
458
+ line: 37,
448
459
  column: 31
449
460
  },
450
461
  end: {
451
- line: 38,
462
+ line: 40,
452
463
  column: 3
453
464
  }
454
465
  },
455
- line: 35
466
+ line: 37
456
467
  },
457
468
  "3": {
458
469
  name: "(anonymous_3)",
459
470
  decl: {
460
471
  start: {
461
- line: 40,
472
+ line: 42,
462
473
  column: 22
463
474
  },
464
475
  end: {
465
- line: 40,
476
+ line: 42,
466
477
  column: 23
467
478
  }
468
479
  },
469
480
  loc: {
470
481
  start: {
471
- line: 40,
482
+ line: 42,
472
483
  column: 28
473
484
  },
474
485
  end: {
475
- line: 43,
486
+ line: 45,
476
487
  column: 3
477
488
  }
478
489
  },
479
- line: 40
490
+ line: 42
480
491
  },
481
492
  "4": {
482
493
  name: "(anonymous_4)",
483
494
  decl: {
484
495
  start: {
485
- line: 46,
496
+ line: 48,
486
497
  column: 31
487
498
  },
488
499
  end: {
489
- line: 46,
500
+ line: 48,
490
501
  column: 32
491
502
  }
492
503
  },
493
504
  loc: {
494
505
  start: {
495
- line: 46,
506
+ line: 48,
496
507
  column: 37
497
508
  },
498
509
  end: {
499
- line: 46,
510
+ line: 48,
500
511
  column: 55
501
512
  }
502
513
  },
503
- line: 46
514
+ line: 48
504
515
  },
505
516
  "5": {
506
517
  name: "(anonymous_5)",
507
518
  decl: {
508
519
  start: {
509
- line: 50,
520
+ line: 52,
510
521
  column: 23
511
522
  },
512
523
  end: {
513
- line: 50,
524
+ line: 52,
514
525
  column: 24
515
526
  }
516
527
  },
517
528
  loc: {
518
529
  start: {
519
- line: 51,
530
+ line: 53,
520
531
  column: 8
521
532
  },
522
533
  end: {
523
- line: 66,
534
+ line: 68,
524
535
  column: 19
525
536
  }
526
537
  },
527
- line: 51
538
+ line: 53
528
539
  },
529
540
  "6": {
530
541
  name: "(anonymous_6)",
531
542
  decl: {
532
543
  start: {
533
- line: 85,
544
+ line: 87,
534
545
  column: 25
535
546
  },
536
547
  end: {
537
- line: 85,
548
+ line: 87,
538
549
  column: 26
539
550
  }
540
551
  },
541
552
  loc: {
542
553
  start: {
543
- line: 85,
554
+ line: 87,
544
555
  column: 31
545
556
  },
546
557
  end: {
547
- line: 85,
558
+ line: 87,
548
559
  column: 49
549
560
  }
550
561
  },
551
- line: 85
562
+ line: 87
552
563
  },
553
564
  "7": {
554
565
  name: "(anonymous_7)",
555
566
  decl: {
556
567
  start: {
557
- line: 97,
568
+ line: 99,
558
569
  column: 20
559
570
  },
560
571
  end: {
561
- line: 97,
572
+ line: 99,
562
573
  column: 21
563
574
  }
564
575
  },
565
576
  loc: {
566
577
  start: {
567
- line: 97,
578
+ line: 99,
568
579
  column: 29
569
580
  },
570
581
  end: {
571
- line: 97,
582
+ line: 99,
572
583
  column: 56
573
584
  }
574
585
  },
575
- line: 97
586
+ line: 99
576
587
  },
577
588
  "8": {
578
589
  name: "(anonymous_8)",
579
590
  decl: {
580
591
  start: {
581
- line: 113,
592
+ line: 115,
582
593
  column: 21
583
594
  },
584
595
  end: {
585
- line: 113,
596
+ line: 115,
586
597
  column: 22
587
598
  }
588
599
  },
589
600
  loc: {
590
601
  start: {
591
- line: 113,
602
+ line: 115,
592
603
  column: 27
593
604
  },
594
605
  end: {
595
- line: 113,
606
+ line: 115,
596
607
  column: 62
597
608
  }
598
609
  },
599
- line: 113
610
+ line: 115
600
611
  },
601
612
  "9": {
602
613
  name: "(anonymous_9)",
@@ -651,247 +662,247 @@ function cov_11r4x10h1y() {
651
662
  "0": {
652
663
  loc: {
653
664
  start: {
654
- line: 17,
665
+ line: 18,
655
666
  column: 2
656
667
  },
657
668
  end: {
658
- line: 17,
669
+ line: 18,
659
670
  column: 17
660
671
  }
661
672
  },
662
673
  type: "default-arg",
663
674
  locations: [{
664
675
  start: {
665
- line: 17,
676
+ line: 18,
666
677
  column: 13
667
678
  },
668
679
  end: {
669
- line: 17,
680
+ line: 18,
670
681
  column: 17
671
682
  }
672
683
  }],
673
- line: 17
684
+ line: 18
674
685
  },
675
686
  "1": {
676
687
  loc: {
677
688
  start: {
678
- line: 18,
689
+ line: 19,
679
690
  column: 2
680
691
  },
681
692
  end: {
682
- line: 18,
693
+ line: 19,
683
694
  column: 16
684
695
  }
685
696
  },
686
697
  type: "default-arg",
687
698
  locations: [{
688
699
  start: {
689
- line: 18,
700
+ line: 19,
690
701
  column: 11
691
702
  },
692
703
  end: {
693
- line: 18,
704
+ line: 19,
694
705
  column: 16
695
706
  }
696
707
  }],
697
- line: 18
708
+ line: 19
698
709
  },
699
710
  "2": {
700
711
  loc: {
701
712
  start: {
702
- line: 19,
713
+ line: 20,
703
714
  column: 2
704
715
  },
705
716
  end: {
706
- line: 19,
717
+ line: 20,
707
718
  column: 19
708
719
  }
709
720
  },
710
721
  type: "default-arg",
711
722
  locations: [{
712
723
  start: {
713
- line: 19,
724
+ line: 20,
714
725
  column: 14
715
726
  },
716
727
  end: {
717
- line: 19,
728
+ line: 20,
718
729
  column: 19
719
730
  }
720
731
  }],
721
- line: 19
732
+ line: 20
722
733
  },
723
734
  "3": {
724
735
  loc: {
725
736
  start: {
726
- line: 20,
737
+ line: 21,
727
738
  column: 2
728
739
  },
729
740
  end: {
730
- line: 20,
741
+ line: 21,
731
742
  column: 18
732
743
  }
733
744
  },
734
745
  type: "default-arg",
735
746
  locations: [{
736
747
  start: {
737
- line: 20,
748
+ line: 21,
738
749
  column: 16
739
750
  },
740
751
  end: {
741
- line: 20,
752
+ line: 21,
742
753
  column: 18
743
754
  }
744
755
  }],
745
- line: 20
756
+ line: 21
746
757
  },
747
758
  "4": {
748
759
  loc: {
749
760
  start: {
750
- line: 21,
761
+ line: 22,
751
762
  column: 2
752
763
  },
753
764
  end: {
754
- line: 21,
765
+ line: 22,
755
766
  column: 18
756
767
  }
757
768
  },
758
769
  type: "default-arg",
759
770
  locations: [{
760
771
  start: {
761
- line: 21,
772
+ line: 22,
762
773
  column: 13
763
774
  },
764
775
  end: {
765
- line: 21,
776
+ line: 22,
766
777
  column: 18
767
778
  }
768
779
  }],
769
- line: 21
780
+ line: 22
770
781
  },
771
782
  "5": {
772
783
  loc: {
773
784
  start: {
774
- line: 22,
785
+ line: 23,
775
786
  column: 2
776
787
  },
777
788
  end: {
778
- line: 22,
789
+ line: 23,
779
790
  column: 18
780
791
  }
781
792
  },
782
793
  type: "default-arg",
783
794
  locations: [{
784
795
  start: {
785
- line: 22,
796
+ line: 23,
786
797
  column: 13
787
798
  },
788
799
  end: {
789
- line: 22,
800
+ line: 23,
790
801
  column: 18
791
802
  }
792
803
  }],
793
- line: 22
804
+ line: 23
794
805
  },
795
806
  "6": {
796
807
  loc: {
797
808
  start: {
798
- line: 23,
809
+ line: 24,
799
810
  column: 2
800
811
  },
801
812
  end: {
802
- line: 23,
813
+ line: 24,
803
814
  column: 20
804
815
  }
805
816
  },
806
817
  type: "default-arg",
807
818
  locations: [{
808
819
  start: {
809
- line: 23,
820
+ line: 24,
810
821
  column: 18
811
822
  },
812
823
  end: {
813
- line: 23,
824
+ line: 24,
814
825
  column: 20
815
826
  }
816
827
  }],
817
- line: 23
828
+ line: 24
818
829
  },
819
830
  "7": {
820
831
  loc: {
821
832
  start: {
822
- line: 24,
833
+ line: 25,
823
834
  column: 2
824
835
  },
825
836
  end: {
826
- line: 24,
837
+ line: 25,
827
838
  column: 18
828
839
  }
829
840
  },
830
841
  type: "default-arg",
831
842
  locations: [{
832
843
  start: {
833
- line: 24,
844
+ line: 25,
834
845
  column: 16
835
846
  },
836
847
  end: {
837
- line: 24,
848
+ line: 25,
838
849
  column: 18
839
850
  }
840
851
  }],
841
- line: 24
852
+ line: 25
842
853
  },
843
854
  "8": {
844
855
  loc: {
845
856
  start: {
846
- line: 25,
857
+ line: 26,
847
858
  column: 2
848
859
  },
849
860
  end: {
850
- line: 25,
861
+ line: 26,
851
862
  column: 16
852
863
  }
853
864
  },
854
865
  type: "default-arg",
855
866
  locations: [{
856
867
  start: {
857
- line: 25,
868
+ line: 26,
858
869
  column: 14
859
870
  },
860
871
  end: {
861
- line: 25,
872
+ line: 26,
862
873
  column: 16
863
874
  }
864
875
  }],
865
- line: 25
876
+ line: 26
866
877
  },
867
878
  "9": {
868
879
  loc: {
869
880
  start: {
870
- line: 26,
881
+ line: 27,
871
882
  column: 2
872
883
  },
873
884
  end: {
874
- line: 26,
885
+ line: 27,
875
886
  column: 17
876
887
  }
877
888
  },
878
889
  type: "default-arg",
879
890
  locations: [{
880
891
  start: {
881
- line: 26,
892
+ line: 27,
882
893
  column: 15
883
894
  },
884
895
  end: {
885
- line: 26,
896
+ line: 27,
886
897
  column: 17
887
898
  }
888
899
  }],
889
- line: 26
900
+ line: 27
890
901
  },
891
902
  "10": {
892
903
  loc: {
893
904
  start: {
894
- line: 68,
905
+ line: 70,
895
906
  column: 7
896
907
  },
897
908
  end: {
@@ -902,16 +913,16 @@ function cov_11r4x10h1y() {
902
913
  type: "cond-expr",
903
914
  locations: [{
904
915
  start: {
905
- line: 69,
916
+ line: 71,
906
917
  column: 8
907
918
  },
908
919
  end: {
909
- line: 99,
920
+ line: 101,
910
921
  column: 10
911
922
  }
912
923
  }, {
913
924
  start: {
914
- line: 101,
925
+ line: 103,
915
926
  column: 8
916
927
  },
917
928
  end: {
@@ -919,78 +930,78 @@ function cov_11r4x10h1y() {
919
930
  column: 11
920
931
  }
921
932
  }],
922
- line: 68
933
+ line: 70
923
934
  },
924
935
  "11": {
925
936
  loc: {
926
937
  start: {
927
- line: 81,
938
+ line: 83,
928
939
  column: 26
929
940
  },
930
941
  end: {
931
- line: 81,
942
+ line: 83,
932
943
  column: 52
933
944
  }
934
945
  },
935
946
  type: "binary-expr",
936
947
  locations: [{
937
948
  start: {
938
- line: 81,
949
+ line: 83,
939
950
  column: 26
940
951
  },
941
952
  end: {
942
- line: 81,
953
+ line: 83,
943
954
  column: 39
944
955
  }
945
956
  }, {
946
957
  start: {
947
- line: 81,
958
+ line: 83,
948
959
  column: 43
949
960
  },
950
961
  end: {
951
- line: 81,
962
+ line: 83,
952
963
  column: 52
953
964
  }
954
965
  }],
955
- line: 81
966
+ line: 83
956
967
  },
957
968
  "12": {
958
969
  loc: {
959
970
  start: {
960
- line: 113,
971
+ line: 115,
961
972
  column: 27
962
973
  },
963
974
  end: {
964
- line: 113,
975
+ line: 115,
965
976
  column: 62
966
977
  }
967
978
  },
968
979
  type: "binary-expr",
969
980
  locations: [{
970
981
  start: {
971
- line: 113,
982
+ line: 115,
972
983
  column: 27
973
984
  },
974
985
  end: {
975
- line: 113,
986
+ line: 115,
976
987
  column: 36
977
988
  }
978
989
  }, {
979
990
  start: {
980
- line: 113,
991
+ line: 115,
981
992
  column: 40
982
993
  },
983
994
  end: {
984
- line: 113,
995
+ line: 115,
985
996
  column: 62
986
997
  }
987
998
  }],
988
- line: 113
999
+ line: 115
989
1000
  },
990
1001
  "13": {
991
1002
  loc: {
992
1003
  start: {
993
- line: 118,
1004
+ line: 120,
994
1005
  column: 11
995
1006
  },
996
1007
  end: {
@@ -1001,34 +1012,34 @@ function cov_11r4x10h1y() {
1001
1012
  type: "binary-expr",
1002
1013
  locations: [{
1003
1014
  start: {
1004
- line: 118,
1015
+ line: 120,
1005
1016
  column: 11
1006
1017
  },
1007
1018
  end: {
1008
- line: 118,
1019
+ line: 120,
1009
1020
  column: 20
1010
1021
  }
1011
1022
  }, {
1012
1023
  start: {
1013
- line: 118,
1024
+ line: 120,
1014
1025
  column: 25
1015
1026
  },
1016
1027
  end: {
1017
- line: 118,
1018
- column: 49
1028
+ line: 120,
1029
+ column: 50
1019
1030
  }
1020
1031
  }, {
1021
1032
  start: {
1022
- line: 118,
1023
- column: 53
1033
+ line: 120,
1034
+ column: 54
1024
1035
  },
1025
1036
  end: {
1026
- line: 118,
1027
- column: 62
1037
+ line: 120,
1038
+ column: 63
1028
1039
  }
1029
1040
  }, {
1030
1041
  start: {
1031
- line: 119,
1042
+ line: 121,
1032
1043
  column: 12
1033
1044
  },
1034
1045
  end: {
@@ -1036,7 +1047,7 @@ function cov_11r4x10h1y() {
1036
1047
  column: 23
1037
1048
  }
1038
1049
  }],
1039
- line: 118
1050
+ line: 120
1040
1051
  },
1041
1052
  "14": {
1042
1053
  loc: {
@@ -1095,7 +1106,8 @@ function cov_11r4x10h1y() {
1095
1106
  "19": 0,
1096
1107
  "20": 0,
1097
1108
  "21": 0,
1098
- "22": 0
1109
+ "22": 0,
1110
+ "23": 0
1099
1111
  },
1100
1112
  f: {
1101
1113
  "0": 0,
@@ -1128,7 +1140,7 @@ function cov_11r4x10h1y() {
1128
1140
  "14": [0, 0]
1129
1141
  },
1130
1142
  _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
1131
- hash: "a5d543739cd1e5afeed656dba3a035f8120ece77"
1143
+ hash: "66973a2f5d511001e37449e639c8a41d5a4bf1fd"
1132
1144
  };
1133
1145
  var coverage = global[gcv] || (global[gcv] = {});
1134
1146
  if (!coverage[path] || coverage[path].hash !== hash) {
@@ -1171,58 +1183,60 @@ var Rename = function Rename(_ref2) {
1171
1183
  _ref2$inputProps = _ref2.inputProps,
1172
1184
  inputProps = _ref2$inputProps === void 0 ? (cov_11r4x10h1y().b[9][0]++, {}) : _ref2$inputProps;
1173
1185
  cov_11r4x10h1y().f[0]++;
1174
- var _ref3 = (cov_11r4x10h1y().s[2]++, useState(value)),
1175
- _ref4 = _slicedToArray(_ref3, 2),
1176
- name = _ref4[0],
1177
- setName = _ref4[1];
1178
- var _ref5 = (cov_11r4x10h1y().s[3]++, useState(isOpen)),
1179
- _ref6 = _slicedToArray(_ref5, 2),
1180
- editMode = _ref6[0],
1181
- setEditMode = _ref6[1];
1182
- var renameRef = (cov_11r4x10h1y().s[4]++, useRef(null));
1183
- cov_11r4x10h1y().s[5]++;
1186
+ var _ref3 = (cov_11r4x10h1y().s[2]++, useTranslation()),
1187
+ t = _ref3.t;
1188
+ var _ref4 = (cov_11r4x10h1y().s[3]++, useState(value)),
1189
+ _ref5 = _slicedToArray(_ref4, 2),
1190
+ name = _ref5[0],
1191
+ setName = _ref5[1];
1192
+ var _ref6 = (cov_11r4x10h1y().s[4]++, useState(isOpen)),
1193
+ _ref7 = _slicedToArray(_ref6, 2),
1194
+ editMode = _ref7[0],
1195
+ setEditMode = _ref7[1];
1196
+ var renameRef = (cov_11r4x10h1y().s[5]++, useRef(null));
1197
+ cov_11r4x10h1y().s[6]++;
1184
1198
  useOnClickOutside(renameRef, function () {
1185
1199
  cov_11r4x10h1y().f[1]++;
1186
- cov_11r4x10h1y().s[6]++;
1200
+ cov_11r4x10h1y().s[7]++;
1187
1201
  return handleClose();
1188
1202
  });
1189
- cov_11r4x10h1y().s[7]++;
1203
+ cov_11r4x10h1y().s[8]++;
1190
1204
  var handleRename = function handleRename(name) {
1191
1205
  cov_11r4x10h1y().f[2]++;
1192
- cov_11r4x10h1y().s[8]++;
1193
- onRename(name);
1194
1206
  cov_11r4x10h1y().s[9]++;
1207
+ onRename(name);
1208
+ cov_11r4x10h1y().s[10]++;
1195
1209
  setEditMode(false);
1196
1210
  };
1197
- cov_11r4x10h1y().s[10]++;
1211
+ cov_11r4x10h1y().s[11]++;
1198
1212
  var handleClose = function handleClose() {
1199
1213
  cov_11r4x10h1y().f[3]++;
1200
- cov_11r4x10h1y().s[11]++;
1201
- setName(value);
1202
1214
  cov_11r4x10h1y().s[12]++;
1215
+ setName(value);
1216
+ cov_11r4x10h1y().s[13]++;
1203
1217
  setEditMode(false);
1204
1218
  };
1205
- cov_11r4x10h1y().s[13]++;
1219
+ cov_11r4x10h1y().s[14]++;
1206
1220
  useHotKeys("escape", handleClose, {
1207
1221
  mode: "global"
1208
1222
  });
1209
- cov_11r4x10h1y().s[14]++;
1223
+ cov_11r4x10h1y().s[15]++;
1210
1224
  useHotKeys("command+return", function () {
1211
1225
  cov_11r4x10h1y().f[4]++;
1212
- cov_11r4x10h1y().s[15]++;
1226
+ cov_11r4x10h1y().s[16]++;
1213
1227
  return handleRename(name);
1214
1228
  }, {
1215
1229
  mode: "global"
1216
1230
  });
1217
- cov_11r4x10h1y().s[16]++;
1231
+ cov_11r4x10h1y().s[17]++;
1218
1232
  return /*#__PURE__*/React.createElement("div", {
1219
1233
  className: "flex w-max flex-row items-center",
1220
1234
  ref: renameRef
1221
- }, breadcrumbs.map(function (_ref7) {
1222
- var text = _ref7.text,
1223
- link = _ref7.link;
1235
+ }, breadcrumbs.map(function (_ref8) {
1236
+ var text = _ref8.text,
1237
+ link = _ref8.link;
1224
1238
  cov_11r4x10h1y().f[5]++;
1225
- cov_11r4x10h1y().s[17]++;
1239
+ cov_11r4x10h1y().s[18]++;
1226
1240
  return /*#__PURE__*/React.createElement(Fragment, {
1227
1241
  key: text
1228
1242
  }, /*#__PURE__*/React.createElement(Link, _extends({
@@ -1245,7 +1259,7 @@ var Rename = function Rename(_ref2) {
1245
1259
  suffix: /*#__PURE__*/React.createElement("div", {
1246
1260
  className: "flex items-center justify-end"
1247
1261
  }, /*#__PURE__*/React.createElement(Button, {
1248
- className: "rounded-none",
1262
+ className: "neeto-ui-rounded-none",
1249
1263
  "data-testid": "neeto-molecules-rename-button",
1250
1264
  disabled: (cov_11r4x10h1y().b[11][0]++, isEmpty(name)) || (cov_11r4x10h1y().b[11][1]++, isLoading),
1251
1265
  icon: Check,
@@ -1253,11 +1267,11 @@ var Rename = function Rename(_ref2) {
1253
1267
  style: "text",
1254
1268
  onClick: function onClick() {
1255
1269
  cov_11r4x10h1y().f[6]++;
1256
- cov_11r4x10h1y().s[18]++;
1270
+ cov_11r4x10h1y().s[19]++;
1257
1271
  return handleRename(name);
1258
1272
  }
1259
1273
  }), /*#__PURE__*/React.createElement(Button, {
1260
- className: "rounded-none",
1274
+ className: "neeto-ui-rounded-none",
1261
1275
  "data-testid": "neeto-molecules-cancel-button",
1262
1276
  disabled: isLoading,
1263
1277
  icon: Close,
@@ -1266,7 +1280,7 @@ var Rename = function Rename(_ref2) {
1266
1280
  })),
1267
1281
  onChange: function onChange(event) {
1268
1282
  cov_11r4x10h1y().f[7]++;
1269
- cov_11r4x10h1y().s[19]++;
1283
+ cov_11r4x10h1y().s[20]++;
1270
1284
  return setName(event.target.value);
1271
1285
  }
1272
1286
  }, inputProps))) : (cov_11r4x10h1y().b[10][1]++, /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Typography, _extends({
@@ -1279,25 +1293,25 @@ var Rename = function Rename(_ref2) {
1279
1293
  }),
1280
1294
  onClick: function onClick() {
1281
1295
  cov_11r4x10h1y().f[8]++;
1282
- cov_11r4x10h1y().s[20]++;
1296
+ cov_11r4x10h1y().s[21]++;
1283
1297
  return (cov_11r4x10h1y().b[12][0]++, !disabled) && (cov_11r4x10h1y().b[12][1]++, setEditMode(!editMode));
1284
1298
  }
1285
- }, textProps), value), (cov_11r4x10h1y().b[13][0]++, !hideMenu) && ((cov_11r4x10h1y().b[13][1]++, dropdownItems.length > 0) || (cov_11r4x10h1y().b[13][2]++, !disabled)) && (cov_11r4x10h1y().b[13][3]++, /*#__PURE__*/React.createElement(Dropdown, {
1286
- buttonStyle: "text",
1287
- icon: MenuHorizontal,
1288
- position: "bottom-start",
1299
+ }, textProps), value), (cov_11r4x10h1y().b[13][0]++, !hideMenu) && ((cov_11r4x10h1y().b[13][1]++, isNotEmpty(dropdownItems)) || (cov_11r4x10h1y().b[13][2]++, !disabled)) && (cov_11r4x10h1y().b[13][3]++, /*#__PURE__*/React.createElement(Dropdown, {
1289
1300
  buttonProps: {
1290
1301
  "data-testid": "neeto-molecules-menu-button"
1291
- }
1302
+ },
1303
+ buttonStyle: "text",
1304
+ icon: MenuHorizontal,
1305
+ position: "bottom-start"
1292
1306
  }, /*#__PURE__*/React.createElement(Menu, null, (cov_11r4x10h1y().b[14][0]++, !disabled) && (cov_11r4x10h1y().b[14][1]++, /*#__PURE__*/React.createElement(MenuItem.Button, {
1293
1307
  onClick: function onClick() {
1294
1308
  cov_11r4x10h1y().f[9]++;
1295
- cov_11r4x10h1y().s[21]++;
1309
+ cov_11r4x10h1y().s[22]++;
1296
1310
  return setEditMode(true);
1297
1311
  }
1298
- }, "Rename")), dropdownItems.map(function (item) {
1312
+ }, t("neetoMolecules.common.actions.rename"))), dropdownItems.map(function (item) {
1299
1313
  cov_11r4x10h1y().f[10]++;
1300
- cov_11r4x10h1y().s[22]++;
1314
+ cov_11r4x10h1y().s[23]++;
1301
1315
  return /*#__PURE__*/React.createElement(MenuItem.Button, _extends({
1302
1316
  key: item.label
1303
1317
  }, item), item.label);