@uipath/apollo-wind 2.63.0 → 2.65.0

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 (71) hide show
  1. package/dist/components/forms/aria-ids.cjs +38 -0
  2. package/dist/components/forms/aria-ids.d.ts +2 -0
  3. package/dist/components/forms/aria-ids.js +4 -0
  4. package/dist/components/forms/demo-mocks.cjs +0 -448
  5. package/dist/components/forms/demo-mocks.js +0 -448
  6. package/dist/components/forms/field-control.cjs +21 -17
  7. package/dist/components/forms/field-control.d.ts +3 -1
  8. package/dist/components/forms/field-control.js +21 -17
  9. package/dist/components/forms/field-renderer.cjs +65 -37
  10. package/dist/components/forms/field-renderer.js +66 -38
  11. package/dist/components/forms/form-designer.cjs +204 -3
  12. package/dist/components/forms/form-designer.js +204 -3
  13. package/dist/components/forms/form-examples.cjs +3 -190
  14. package/dist/components/forms/form-examples.d.ts +0 -10
  15. package/dist/components/forms/form-examples.js +3 -184
  16. package/dist/components/forms/form-schema.d.ts +6 -0
  17. package/dist/components/forms/metadata-form.cjs +9 -1
  18. package/dist/components/forms/metadata-form.d.ts +8 -1
  19. package/dist/components/forms/metadata-form.js +9 -1
  20. package/dist/components/forms/mode-aware-field.cjs +11 -6
  21. package/dist/components/forms/mode-aware-field.d.ts +2 -0
  22. package/dist/components/forms/mode-aware-field.js +11 -6
  23. package/dist/components/forms/string-list-field.cjs +5 -4
  24. package/dist/components/forms/string-list-field.d.ts +4 -2
  25. package/dist/components/forms/string-list-field.js +5 -4
  26. package/dist/components/ui/index.cjs +77 -66
  27. package/dist/components/ui/index.d.ts +1 -0
  28. package/dist/components/ui/index.js +1 -0
  29. package/dist/components/ui/json-tree-view/JsonTree.types.d.ts +13 -0
  30. package/dist/components/ui/json-tree-view/JsonTreeRow.cjs +2 -1
  31. package/dist/components/ui/json-tree-view/JsonTreeRow.js +2 -1
  32. package/dist/components/ui/json-tree-view/JsonTypeBadge.cjs +43 -6
  33. package/dist/components/ui/json-tree-view/JsonTypeBadge.d.ts +6 -3
  34. package/dist/components/ui/json-tree-view/JsonTypeBadge.js +44 -7
  35. package/dist/components/ui/json-tree-view/index.d.ts +1 -1
  36. package/dist/components/ui/json-tree-view/strings.cjs +1 -0
  37. package/dist/components/ui/json-tree-view/strings.d.ts +10 -2
  38. package/dist/components/ui/json-tree-view/strings.js +1 -0
  39. package/dist/components/ui/prompt-value-control.cjs +3 -1
  40. package/dist/components/ui/prompt-value-control.d.ts +5 -0
  41. package/dist/components/ui/prompt-value-control.js +3 -1
  42. package/dist/components/ui/sidebar/index.cjs +113 -0
  43. package/dist/components/ui/sidebar/index.d.ts +10 -0
  44. package/dist/components/ui/sidebar/index.js +7 -0
  45. package/dist/components/ui/sidebar/sidebar-context.cjs +151 -0
  46. package/dist/components/ui/sidebar/sidebar-context.d.ts +39 -0
  47. package/dist/components/ui/sidebar/sidebar-context.js +108 -0
  48. package/dist/components/ui/sidebar/sidebar-group.cjs +87 -0
  49. package/dist/components/ui/sidebar/sidebar-group.d.ts +10 -0
  50. package/dist/components/ui/sidebar/sidebar-group.js +44 -0
  51. package/dist/components/ui/sidebar/sidebar-layout.cjs +92 -0
  52. package/dist/components/ui/sidebar/sidebar-layout.d.ts +7 -0
  53. package/dist/components/ui/sidebar/sidebar-layout.js +46 -0
  54. package/dist/components/ui/sidebar/sidebar-menu-sub.cjs +79 -0
  55. package/dist/components/ui/sidebar/sidebar-menu-sub.d.ts +11 -0
  56. package/dist/components/ui/sidebar/sidebar-menu-sub.js +39 -0
  57. package/dist/components/ui/sidebar/sidebar-menu.cjs +185 -0
  58. package/dist/components/ui/sidebar/sidebar-menu.d.ts +26 -0
  59. package/dist/components/ui/sidebar/sidebar-menu.js +133 -0
  60. package/dist/components/ui/sidebar/sidebar.cjs +220 -0
  61. package/dist/components/ui/sidebar/sidebar.d.ts +22 -0
  62. package/dist/components/ui/sidebar/sidebar.js +177 -0
  63. package/dist/components/ui/variable-value-control.cjs +3 -1
  64. package/dist/components/ui/variable-value-control.d.ts +5 -0
  65. package/dist/components/ui/variable-value-control.js +3 -1
  66. package/dist/index.cjs +94 -18
  67. package/dist/index.d.ts +3 -1
  68. package/dist/index.js +2 -1
  69. package/dist/styles.css +647 -0
  70. package/package.json +1 -1
  71. package/dist/templates/Forms/form-builder-example.d.ts +0 -1
@@ -0,0 +1,38 @@
1
+ "use strict";
2
+ var __webpack_require__ = {};
3
+ (()=>{
4
+ __webpack_require__.d = (exports1, definition)=>{
5
+ for(var key in definition)if (__webpack_require__.o(definition, key) && !__webpack_require__.o(exports1, key)) Object.defineProperty(exports1, key, {
6
+ enumerable: true,
7
+ get: definition[key]
8
+ });
9
+ };
10
+ })();
11
+ (()=>{
12
+ __webpack_require__.o = (obj, prop)=>Object.prototype.hasOwnProperty.call(obj, prop);
13
+ })();
14
+ (()=>{
15
+ __webpack_require__.r = (exports1)=>{
16
+ if ("u" > typeof Symbol && Symbol.toStringTag) Object.defineProperty(exports1, Symbol.toStringTag, {
17
+ value: 'Module'
18
+ });
19
+ Object.defineProperty(exports1, '__esModule', {
20
+ value: true
21
+ });
22
+ };
23
+ })();
24
+ var __webpack_exports__ = {};
25
+ __webpack_require__.r(__webpack_exports__);
26
+ __webpack_require__.d(__webpack_exports__, {
27
+ joinIds: ()=>joinIds
28
+ });
29
+ function joinIds(...ids) {
30
+ return ids.filter(Boolean).join(' ') || void 0;
31
+ }
32
+ exports.joinIds = __webpack_exports__.joinIds;
33
+ for(var __rspack_i in __webpack_exports__)if (-1 === [
34
+ "joinIds"
35
+ ].indexOf(__rspack_i)) exports[__rspack_i] = __webpack_exports__[__rspack_i];
36
+ Object.defineProperty(exports, '__esModule', {
37
+ value: true
38
+ });
@@ -0,0 +1,2 @@
1
+ /** Space-joins the ids that are set, or `undefined` when none is. */
2
+ export declare function joinIds(...ids: (string | false | undefined)[]): string | undefined;
@@ -0,0 +1,4 @@
1
+ function joinIds(...ids) {
2
+ return ids.filter(Boolean).join(' ') || void 0;
3
+ }
4
+ export { joinIds };
@@ -366,226 +366,6 @@ const mockCities = {
366
366
  ]
367
367
  }
368
368
  };
369
- const mockProductCategories = {
370
- categories: [
371
- {
372
- id: 'electronics',
373
- name: 'Electronics'
374
- },
375
- {
376
- id: 'clothing',
377
- name: 'Clothing'
378
- },
379
- {
380
- id: 'furniture',
381
- name: 'Furniture'
382
- },
383
- {
384
- id: 'software',
385
- name: 'Software'
386
- }
387
- ]
388
- };
389
- const mockProducts = {
390
- electronics: [
391
- {
392
- id: 'laptop',
393
- name: 'Laptop'
394
- },
395
- {
396
- id: 'phone',
397
- name: 'Smartphone'
398
- },
399
- {
400
- id: 'tablet',
401
- name: 'Tablet'
402
- },
403
- {
404
- id: 'headphones',
405
- name: 'Headphones'
406
- }
407
- ],
408
- clothing: [
409
- {
410
- id: 'shirt',
411
- name: 'T-Shirt'
412
- },
413
- {
414
- id: 'pants',
415
- name: 'Pants'
416
- },
417
- {
418
- id: 'jacket',
419
- name: 'Jacket'
420
- }
421
- ],
422
- furniture: [
423
- {
424
- id: 'desk',
425
- name: 'Office Desk'
426
- },
427
- {
428
- id: 'chair',
429
- name: 'Office Chair'
430
- },
431
- {
432
- id: 'bookshelf',
433
- name: 'Bookshelf'
434
- }
435
- ],
436
- software: [
437
- {
438
- id: 'studio',
439
- name: 'UiPath Studio'
440
- },
441
- {
442
- id: 'orchestrator',
443
- name: 'UiPath Orchestrator'
444
- },
445
- {
446
- id: 'assistant',
447
- name: 'UiPath Assistant'
448
- }
449
- ]
450
- };
451
- const mockProductVariants = {
452
- laptop: [
453
- {
454
- id: 'laptop-basic',
455
- name: 'Basic - 8GB RAM',
456
- price: 799
457
- },
458
- {
459
- id: 'laptop-pro',
460
- name: 'Pro - 16GB RAM',
461
- price: 1299
462
- },
463
- {
464
- id: 'laptop-ultra',
465
- name: 'Ultra - 32GB RAM',
466
- price: 1999
467
- }
468
- ],
469
- phone: [
470
- {
471
- id: 'phone-128',
472
- name: '128GB Storage',
473
- price: 699
474
- },
475
- {
476
- id: 'phone-256',
477
- name: '256GB Storage',
478
- price: 799
479
- },
480
- {
481
- id: 'phone-512',
482
- name: '512GB Storage',
483
- price: 999
484
- }
485
- ],
486
- tablet: [
487
- {
488
- id: 'tablet-wifi',
489
- name: 'WiFi Only',
490
- price: 449
491
- },
492
- {
493
- id: 'tablet-cellular',
494
- name: 'WiFi + Cellular',
495
- price: 599
496
- }
497
- ],
498
- headphones: [
499
- {
500
- id: 'hp-wired',
501
- name: 'Wired',
502
- price: 99
503
- },
504
- {
505
- id: 'hp-wireless',
506
- name: 'Wireless',
507
- price: 199
508
- },
509
- {
510
- id: 'hp-pro',
511
- name: 'Pro Wireless ANC',
512
- price: 349
513
- }
514
- ],
515
- shirt: [
516
- {
517
- id: 'shirt-s',
518
- name: 'Small',
519
- price: 29
520
- },
521
- {
522
- id: 'shirt-m',
523
- name: 'Medium',
524
- price: 29
525
- },
526
- {
527
- id: 'shirt-l',
528
- name: 'Large',
529
- price: 29
530
- },
531
- {
532
- id: 'shirt-xl',
533
- name: 'X-Large',
534
- price: 32
535
- }
536
- ],
537
- desk: [
538
- {
539
- id: 'desk-std',
540
- name: 'Standard',
541
- price: 299
542
- },
543
- {
544
- id: 'desk-adj',
545
- name: 'Adjustable Height',
546
- price: 599
547
- },
548
- {
549
- id: 'desk-exec',
550
- name: 'Executive',
551
- price: 899
552
- }
553
- ],
554
- chair: [
555
- {
556
- id: 'chair-basic',
557
- name: 'Basic',
558
- price: 149
559
- },
560
- {
561
- id: 'chair-ergo',
562
- name: 'Ergonomic',
563
- price: 399
564
- },
565
- {
566
- id: 'chair-exec',
567
- name: 'Executive',
568
- price: 699
569
- }
570
- ],
571
- studio: [
572
- {
573
- id: 'studio-community',
574
- name: 'Community (Free)',
575
- price: 0
576
- },
577
- {
578
- id: 'studio-pro',
579
- name: 'Pro',
580
- price: 420
581
- },
582
- {
583
- id: 'studio-enterprise',
584
- name: 'Enterprise',
585
- price: 0
586
- }
587
- ]
588
- };
589
369
  const mockDepartments = [
590
370
  {
591
371
  id: 'engineering',
@@ -720,158 +500,6 @@ const mockPositions = {
720
500
  }
721
501
  ]
722
502
  };
723
- const mockOrchestratorFolders = {
724
- value: [
725
- {
726
- Id: 1,
727
- DisplayName: 'Production'
728
- },
729
- {
730
- Id: 2,
731
- DisplayName: 'Development'
732
- },
733
- {
734
- Id: 3,
735
- DisplayName: 'Testing'
736
- },
737
- {
738
- Id: 4,
739
- DisplayName: 'Shared'
740
- }
741
- ]
742
- };
743
- const mockOrchestratorProcesses = {
744
- 1: [
745
- {
746
- id: 'invoice-proc',
747
- name: 'Invoice Processing'
748
- },
749
- {
750
- id: 'email-auto',
751
- name: 'Email Automation'
752
- },
753
- {
754
- id: 'data-extract',
755
- name: 'Data Extraction'
756
- }
757
- ],
758
- 2: [
759
- {
760
- id: 'test-proc',
761
- name: 'Test Process'
762
- },
763
- {
764
- id: 'demo-workflow',
765
- name: 'Demo Workflow'
766
- }
767
- ],
768
- 3: [
769
- {
770
- id: 'qa-test',
771
- name: 'QA Testing'
772
- },
773
- {
774
- id: 'regression',
775
- name: 'Regression Suite'
776
- }
777
- ],
778
- 4: [
779
- {
780
- id: 'utility',
781
- name: 'Utility Functions'
782
- },
783
- {
784
- id: 'shared-lib',
785
- name: 'Shared Library'
786
- }
787
- ]
788
- };
789
- const mockPackageVersions = {
790
- 'invoice-proc': [
791
- {
792
- id: 'v1.0.0',
793
- name: '1.0.0'
794
- },
795
- {
796
- id: 'v1.1.0',
797
- name: '1.1.0'
798
- },
799
- {
800
- id: 'v2.0.0',
801
- name: '2.0.0 (latest)'
802
- }
803
- ],
804
- 'email-auto': [
805
- {
806
- id: 'v1.0.0',
807
- name: '1.0.0'
808
- },
809
- {
810
- id: 'v1.0.1',
811
- name: '1.0.1 (latest)'
812
- }
813
- ],
814
- 'data-extract': [
815
- {
816
- id: 'v1.0.0',
817
- name: '1.0.0 (latest)'
818
- }
819
- ],
820
- 'test-proc': [
821
- {
822
- id: 'v0.1.0',
823
- name: '0.1.0 (dev)'
824
- }
825
- ],
826
- 'demo-workflow': [
827
- {
828
- id: 'v1.0.0',
829
- name: '1.0.0'
830
- },
831
- {
832
- id: 'v1.1.0',
833
- name: '1.1.0 (latest)'
834
- }
835
- ]
836
- };
837
- const mockRobots = {
838
- 1: [
839
- {
840
- id: 'robot-1',
841
- name: 'PROD-ROBOT-01'
842
- },
843
- {
844
- id: 'robot-2',
845
- name: 'PROD-ROBOT-02'
846
- },
847
- {
848
- id: 'robot-3',
849
- name: 'PROD-ROBOT-03'
850
- }
851
- ],
852
- 2: [
853
- {
854
- id: 'dev-robot-1',
855
- name: 'DEV-ROBOT-01'
856
- },
857
- {
858
- id: 'dev-robot-2',
859
- name: 'DEV-ROBOT-02'
860
- }
861
- ],
862
- 3: [
863
- {
864
- id: 'test-robot-1',
865
- name: 'TEST-ROBOT-01'
866
- }
867
- ],
868
- 4: [
869
- {
870
- id: 'shared-robot',
871
- name: 'SHARED-ROBOT-01'
872
- }
873
- ]
874
- };
875
503
  const mockTimezones = [
876
504
  {
877
505
  label: 'Pacific Time (US)',
@@ -910,36 +538,6 @@ const mockTimezones = [
910
538
  value: 'Australia/Sydney'
911
539
  }
912
540
  ];
913
- const mockSurveyProducts = [
914
- {
915
- id: 'studio',
916
- name: 'UiPath Studio'
917
- },
918
- {
919
- id: 'orchestrator',
920
- name: 'UiPath Orchestrator'
921
- },
922
- {
923
- id: 'assistant',
924
- name: 'UiPath Assistant'
925
- },
926
- {
927
- id: 'automation-hub',
928
- name: 'Automation Hub'
929
- },
930
- {
931
- id: 'insights',
932
- name: 'UiPath Insights'
933
- },
934
- {
935
- id: 'document-understanding',
936
- name: 'Document Understanding'
937
- },
938
- {
939
- id: 'test-suite',
940
- name: 'Test Suite'
941
- }
942
- ];
943
541
  function createDemoMockAdapter() {
944
542
  const adapter = new MockAdapter();
945
543
  adapter.register('/api/countries', ()=>mockCountries);
@@ -960,27 +558,6 @@ function createDemoMockAdapter() {
960
558
  value: c.code
961
559
  }));
962
560
  });
963
- adapter.register('/api/product-categories', ()=>mockProductCategories);
964
- adapter.register('/api/products', (params)=>{
965
- const categoryId = params.categoryId;
966
- if (categoryId) {
967
- const products = mockProducts[categoryId] || [];
968
- return products.map((p)=>({
969
- label: p.name,
970
- value: p.id
971
- }));
972
- }
973
- return mockSurveyProducts;
974
- });
975
- adapter.register('/api/product-variants', (params)=>{
976
- const productId = params.productId;
977
- const variants = mockProductVariants[productId] || [];
978
- return variants.map((v)=>({
979
- label: `${v.name} - $${v.price}`,
980
- value: v.id,
981
- price: v.price
982
- }));
983
- });
984
561
  adapter.register('/api/departments', ()=>mockDepartments);
985
562
  adapter.register('/api/positions', (params)=>{
986
563
  const departmentId = params.departmentId;
@@ -990,31 +567,6 @@ function createDemoMockAdapter() {
990
567
  value: p.id
991
568
  }));
992
569
  });
993
- adapter.register('/api/orchestrator/folders', ()=>mockOrchestratorFolders);
994
- adapter.register('/api/orchestrator/processes', (params)=>{
995
- const folderId = String(params.folderId);
996
- const processes = mockOrchestratorProcesses[folderId] || [];
997
- return processes.map((p)=>({
998
- label: p.name,
999
- value: p.id
1000
- }));
1001
- });
1002
- adapter.register('/api/orchestrator/package-versions', (params)=>{
1003
- const processKey = params.processKey;
1004
- const versions = mockPackageVersions[processKey] || [];
1005
- return versions.map((v)=>({
1006
- label: v.name,
1007
- value: v.id
1008
- }));
1009
- });
1010
- adapter.register('/api/orchestrator/robots', (params)=>{
1011
- const folderId = String(params.folderId);
1012
- const robots = mockRobots[folderId] || [];
1013
- return robots.map((r)=>({
1014
- label: r.name,
1015
- value: r.id
1016
- }));
1017
- });
1018
570
  adapter.register('/api/timezones', ()=>mockTimezones);
1019
571
  return adapter;
1020
572
  }