playbook_ui 13.10.0.pre.alpha.PLAY1046multilevelsingleselectphase21365 → 13.10.0.pre.alpha.PLAY1051removinghighchartsdependency1465
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/pb_kits/playbook/pb_bar_graph/_bar_graph.tsx +36 -32
- data/app/pb_kits/playbook/pb_button/docs/_button_circle_swift.md +28 -0
- data/app/pb_kits/playbook/pb_button/docs/_button_default_swift.md +23 -0
- data/app/pb_kits/playbook/pb_button/docs/_button_full_width_swift.md +9 -0
- data/app/pb_kits/playbook/pb_button/docs/_button_icon_options_swift.md +18 -0
- data/app/pb_kits/playbook/pb_button/docs/_button_props_swift.md +11 -0
- data/app/pb_kits/playbook/pb_button/docs/_button_size_swift.md +20 -0
- data/app/pb_kits/playbook/pb_button/docs/example.yml +8 -0
- data/app/pb_kits/playbook/pb_card/docs/_card_background_swift.md +29 -0
- data/app/pb_kits/playbook/pb_card/docs/_card_border_none_swift.md +7 -0
- data/app/pb_kits/playbook/pb_card/docs/_card_border_radius_swift.md +33 -0
- data/app/pb_kits/playbook/pb_card/docs/_card_header_swift.md +33 -0
- data/app/pb_kits/playbook/pb_card/docs/_card_highlight_swift.md +17 -0
- data/app/pb_kits/playbook/pb_card/docs/_card_light_swift.md +7 -0
- data/app/pb_kits/playbook/pb_card/docs/_card_padding_swift.md +33 -0
- data/app/pb_kits/playbook/pb_card/docs/_card_props_swift.md +10 -0
- data/app/pb_kits/playbook/pb_card/docs/_card_selected_swift.md +0 -0
- data/app/pb_kits/playbook/pb_card/docs/_card_separator_swift.md +11 -0
- data/app/pb_kits/playbook/pb_card/docs/_card_shadow_swift.md +21 -0
- data/app/pb_kits/playbook/pb_card/docs/_card_styles_swift.md +17 -0
- data/app/pb_kits/playbook/pb_card/docs/_card_tag_swift.md +0 -0
- data/app/pb_kits/playbook/pb_card/docs/example.yml +12 -0
- data/app/pb_kits/playbook/pb_checkbox/docs/_checkbox_default_swift.md +10 -0
- data/app/pb_kits/playbook/pb_checkbox/docs/_checkbox_error_swift.md +12 -0
- data/app/pb_kits/playbook/pb_checkbox/docs/_checkbox_indeterminate_swift.md +12 -0
- data/app/pb_kits/playbook/pb_checkbox/docs/_checkbox_props_swift.md +7 -0
- data/app/pb_kits/playbook/pb_checkbox/docs/example.yml +7 -0
- data/app/pb_kits/playbook/pb_circle_chart/_circle_chart.tsx +67 -63
- data/app/pb_kits/playbook/pb_gauge/_gauge.tsx +57 -46
- data/app/pb_kits/playbook/pb_icon_circle/docs/_icon_circle_color_props.md +6 -0
- data/app/pb_kits/playbook/pb_icon_circle/docs/_icon_circle_color_swift.md +16 -0
- data/app/pb_kits/playbook/pb_icon_circle/docs/_icon_circle_defaul_swift.md +7 -0
- data/app/pb_kits/playbook/pb_icon_circle/docs/_icon_circle_sizes_swift.md +11 -0
- data/app/pb_kits/playbook/pb_icon_circle/docs/example.yml +7 -0
- data/app/pb_kits/playbook/pb_line_graph/_line_graph.tsx +39 -34
- data/app/pb_kits/playbook/pb_multi_level_select/_multi_level_select.tsx +19 -24
- data/app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_selected_ids.html.erb +1 -0
- data/app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_single.html.erb +45 -104
- data/app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_single.jsx +43 -100
- data/app/pb_kits/playbook/pb_multi_level_select/docs/example.yml +0 -2
- data/app/pb_kits/playbook/pb_multi_level_select/docs/index.js +0 -1
- data/app/pb_kits/playbook/pb_multi_level_select/multi_level_select.rb +0 -3
- data/app/pb_kits/playbook/pb_table/docs/_table_header.html.erb +47 -31
- data/app/pb_kits/playbook/pb_table/docs/_table_header.md +5 -0
- data/app/pb_kits/playbook/pb_table/table_header.html.erb +1 -1
- data/app/pb_kits/playbook/pb_treemap_chart/_treemap_chart.tsx +33 -28
- data/dist/playbook-rails.js +7 -7
- data/lib/playbook/version.rb +1 -1
- metadata +29 -4
- data/app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_single_children_only.html.erb +0 -139
- data/app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_single_children_only.jsx +0 -151
data/lib/playbook/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: playbook_ui
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 13.10.0.pre.alpha.
|
4
|
+
version: 13.10.0.pre.alpha.PLAY1051removinghighchartsdependency1465
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Power UX
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2023-11-
|
12
|
+
date: 2023-11-10 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: actionpack
|
@@ -431,19 +431,23 @@ files:
|
|
431
431
|
- app/pb_kits/playbook/pb_button/docs/_button_block_content.html.erb
|
432
432
|
- app/pb_kits/playbook/pb_button/docs/_button_block_content.jsx
|
433
433
|
- app/pb_kits/playbook/pb_button/docs/_button_block_content.md
|
434
|
+
- app/pb_kits/playbook/pb_button/docs/_button_circle_swift.md
|
434
435
|
- app/pb_kits/playbook/pb_button/docs/_button_default.html.erb
|
435
436
|
- app/pb_kits/playbook/pb_button/docs/_button_default.jsx
|
436
437
|
- app/pb_kits/playbook/pb_button/docs/_button_default.md
|
438
|
+
- app/pb_kits/playbook/pb_button/docs/_button_default_swift.md
|
437
439
|
- app/pb_kits/playbook/pb_button/docs/_button_form.html.erb
|
438
440
|
- app/pb_kits/playbook/pb_button/docs/_button_form.jsx
|
439
441
|
- app/pb_kits/playbook/pb_button/docs/_button_full_width.html.erb
|
440
442
|
- app/pb_kits/playbook/pb_button/docs/_button_full_width.jsx
|
441
443
|
- app/pb_kits/playbook/pb_button/docs/_button_full_width.md
|
444
|
+
- app/pb_kits/playbook/pb_button/docs/_button_full_width_swift.md
|
442
445
|
- app/pb_kits/playbook/pb_button/docs/_button_hover.html.erb
|
443
446
|
- app/pb_kits/playbook/pb_button/docs/_button_hover.jsx
|
444
447
|
- app/pb_kits/playbook/pb_button/docs/_button_icon_options.html.erb
|
445
448
|
- app/pb_kits/playbook/pb_button/docs/_button_icon_options.jsx
|
446
449
|
- app/pb_kits/playbook/pb_button/docs/_button_icon_options.md
|
450
|
+
- app/pb_kits/playbook/pb_button/docs/_button_icon_options_swift.md
|
447
451
|
- app/pb_kits/playbook/pb_button/docs/_button_link.html.erb
|
448
452
|
- app/pb_kits/playbook/pb_button/docs/_button_link.jsx
|
449
453
|
- app/pb_kits/playbook/pb_button/docs/_button_link.md
|
@@ -452,12 +456,14 @@ files:
|
|
452
456
|
- app/pb_kits/playbook/pb_button/docs/_button_loading.md
|
453
457
|
- app/pb_kits/playbook/pb_button/docs/_button_options.html.erb
|
454
458
|
- app/pb_kits/playbook/pb_button/docs/_button_options.jsx
|
459
|
+
- app/pb_kits/playbook/pb_button/docs/_button_props_swift.md
|
455
460
|
- app/pb_kits/playbook/pb_button/docs/_button_reaction.html.erb
|
456
461
|
- app/pb_kits/playbook/pb_button/docs/_button_reaction.jsx
|
457
462
|
- app/pb_kits/playbook/pb_button/docs/_button_reaction.md
|
458
463
|
- app/pb_kits/playbook/pb_button/docs/_button_size.html.erb
|
459
464
|
- app/pb_kits/playbook/pb_button/docs/_button_size.jsx
|
460
465
|
- app/pb_kits/playbook/pb_button/docs/_button_size.md
|
466
|
+
- app/pb_kits/playbook/pb_button/docs/_button_size_swift.md
|
461
467
|
- app/pb_kits/playbook/pb_button/docs/_footer.md
|
462
468
|
- app/pb_kits/playbook/pb_button/docs/example.yml
|
463
469
|
- app/pb_kits/playbook/pb_button/docs/index.js
|
@@ -504,33 +510,46 @@ files:
|
|
504
510
|
- app/pb_kits/playbook/pb_card/docs/_card_background.html.erb
|
505
511
|
- app/pb_kits/playbook/pb_card/docs/_card_background.jsx
|
506
512
|
- app/pb_kits/playbook/pb_card/docs/_card_background.md
|
513
|
+
- app/pb_kits/playbook/pb_card/docs/_card_background_swift.md
|
507
514
|
- app/pb_kits/playbook/pb_card/docs/_card_border_none.html.erb
|
508
515
|
- app/pb_kits/playbook/pb_card/docs/_card_border_none.jsx
|
509
516
|
- app/pb_kits/playbook/pb_card/docs/_card_border_none.md
|
517
|
+
- app/pb_kits/playbook/pb_card/docs/_card_border_none_swift.md
|
510
518
|
- app/pb_kits/playbook/pb_card/docs/_card_border_radius.html.erb
|
511
519
|
- app/pb_kits/playbook/pb_card/docs/_card_border_radius.jsx
|
512
520
|
- app/pb_kits/playbook/pb_card/docs/_card_border_radius.md
|
521
|
+
- app/pb_kits/playbook/pb_card/docs/_card_border_radius_swift.md
|
513
522
|
- app/pb_kits/playbook/pb_card/docs/_card_content.html.erb
|
514
523
|
- app/pb_kits/playbook/pb_card/docs/_card_content.jsx
|
515
524
|
- app/pb_kits/playbook/pb_card/docs/_card_header.html.erb
|
516
525
|
- app/pb_kits/playbook/pb_card/docs/_card_header.jsx
|
517
526
|
- app/pb_kits/playbook/pb_card/docs/_card_header.md
|
527
|
+
- app/pb_kits/playbook/pb_card/docs/_card_header_swift.md
|
518
528
|
- app/pb_kits/playbook/pb_card/docs/_card_highlight.html.erb
|
519
529
|
- app/pb_kits/playbook/pb_card/docs/_card_highlight.jsx
|
520
530
|
- app/pb_kits/playbook/pb_card/docs/_card_highlight.md
|
531
|
+
- app/pb_kits/playbook/pb_card/docs/_card_highlight_swift.md
|
521
532
|
- app/pb_kits/playbook/pb_card/docs/_card_light.html.erb
|
522
533
|
- app/pb_kits/playbook/pb_card/docs/_card_light.jsx
|
523
534
|
- app/pb_kits/playbook/pb_card/docs/_card_light.md
|
535
|
+
- app/pb_kits/playbook/pb_card/docs/_card_light_swift.md
|
524
536
|
- app/pb_kits/playbook/pb_card/docs/_card_padding.html.erb
|
525
537
|
- app/pb_kits/playbook/pb_card/docs/_card_padding.jsx
|
538
|
+
- app/pb_kits/playbook/pb_card/docs/_card_padding_swift.md
|
539
|
+
- app/pb_kits/playbook/pb_card/docs/_card_props_swift.md
|
526
540
|
- app/pb_kits/playbook/pb_card/docs/_card_selected.html.erb
|
527
541
|
- app/pb_kits/playbook/pb_card/docs/_card_selected.jsx
|
542
|
+
- app/pb_kits/playbook/pb_card/docs/_card_selected_swift.md
|
528
543
|
- app/pb_kits/playbook/pb_card/docs/_card_separator.html.erb
|
529
544
|
- app/pb_kits/playbook/pb_card/docs/_card_separator.jsx
|
545
|
+
- app/pb_kits/playbook/pb_card/docs/_card_separator_swift.md
|
530
546
|
- app/pb_kits/playbook/pb_card/docs/_card_shadow.html.erb
|
531
547
|
- app/pb_kits/playbook/pb_card/docs/_card_shadow.jsx
|
548
|
+
- app/pb_kits/playbook/pb_card/docs/_card_shadow_swift.md
|
549
|
+
- app/pb_kits/playbook/pb_card/docs/_card_styles_swift.md
|
532
550
|
- app/pb_kits/playbook/pb_card/docs/_card_tag.html.erb
|
533
551
|
- app/pb_kits/playbook/pb_card/docs/_card_tag.jsx
|
552
|
+
- app/pb_kits/playbook/pb_card/docs/_card_tag_swift.md
|
534
553
|
- app/pb_kits/playbook/pb_card/docs/example.yml
|
535
554
|
- app/pb_kits/playbook/pb_card/docs/index.js
|
536
555
|
- app/pb_kits/playbook/pb_checkbox/_checkbox.scss
|
@@ -544,11 +563,15 @@ files:
|
|
544
563
|
- app/pb_kits/playbook/pb_checkbox/docs/_checkbox_custom.jsx
|
545
564
|
- app/pb_kits/playbook/pb_checkbox/docs/_checkbox_default.html.erb
|
546
565
|
- app/pb_kits/playbook/pb_checkbox/docs/_checkbox_default.jsx
|
566
|
+
- app/pb_kits/playbook/pb_checkbox/docs/_checkbox_default_swift.md
|
547
567
|
- app/pb_kits/playbook/pb_checkbox/docs/_checkbox_error.html.erb
|
548
568
|
- app/pb_kits/playbook/pb_checkbox/docs/_checkbox_error.jsx
|
569
|
+
- app/pb_kits/playbook/pb_checkbox/docs/_checkbox_error_swift.md
|
549
570
|
- app/pb_kits/playbook/pb_checkbox/docs/_checkbox_indeterminate.html.erb
|
550
571
|
- app/pb_kits/playbook/pb_checkbox/docs/_checkbox_indeterminate.jsx
|
572
|
+
- app/pb_kits/playbook/pb_checkbox/docs/_checkbox_indeterminate_swift.md
|
551
573
|
- app/pb_kits/playbook/pb_checkbox/docs/_checkbox_options.html.erb
|
574
|
+
- app/pb_kits/playbook/pb_checkbox/docs/_checkbox_props_swift.md
|
552
575
|
- app/pb_kits/playbook/pb_checkbox/docs/_description.md
|
553
576
|
- app/pb_kits/playbook/pb_checkbox/docs/example.yml
|
554
577
|
- app/pb_kits/playbook/pb_checkbox/docs/index.js
|
@@ -1223,6 +1246,9 @@ files:
|
|
1223
1246
|
- app/pb_kits/playbook/pb_icon_circle/docs/_icon_circle_color.html.erb
|
1224
1247
|
- app/pb_kits/playbook/pb_icon_circle/docs/_icon_circle_color.jsx
|
1225
1248
|
- app/pb_kits/playbook/pb_icon_circle/docs/_icon_circle_color.md
|
1249
|
+
- app/pb_kits/playbook/pb_icon_circle/docs/_icon_circle_color_props.md
|
1250
|
+
- app/pb_kits/playbook/pb_icon_circle/docs/_icon_circle_color_swift.md
|
1251
|
+
- app/pb_kits/playbook/pb_icon_circle/docs/_icon_circle_defaul_swift.md
|
1226
1252
|
- app/pb_kits/playbook/pb_icon_circle/docs/_icon_circle_default.html.erb
|
1227
1253
|
- app/pb_kits/playbook/pb_icon_circle/docs/_icon_circle_default.jsx
|
1228
1254
|
- app/pb_kits/playbook/pb_icon_circle/docs/_icon_circle_emoji.html.erb
|
@@ -1230,6 +1256,7 @@ files:
|
|
1230
1256
|
- app/pb_kits/playbook/pb_icon_circle/docs/_icon_circle_emoji.md
|
1231
1257
|
- app/pb_kits/playbook/pb_icon_circle/docs/_icon_circle_sizes.html.erb
|
1232
1258
|
- app/pb_kits/playbook/pb_icon_circle/docs/_icon_circle_sizes.jsx
|
1259
|
+
- app/pb_kits/playbook/pb_icon_circle/docs/_icon_circle_sizes_swift.md
|
1233
1260
|
- app/pb_kits/playbook/pb_icon_circle/docs/example.yml
|
1234
1261
|
- app/pb_kits/playbook/pb_icon_circle/docs/index.js
|
1235
1262
|
- app/pb_kits/playbook/pb_icon_circle/icon_circle.html.erb
|
@@ -1502,8 +1529,6 @@ files:
|
|
1502
1529
|
- app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_selected_ids.md
|
1503
1530
|
- app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_single.html.erb
|
1504
1531
|
- app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_single.jsx
|
1505
|
-
- app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_single_children_only.html.erb
|
1506
|
-
- app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_single_children_only.jsx
|
1507
1532
|
- app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_with_form.html.erb
|
1508
1533
|
- app/pb_kits/playbook/pb_multi_level_select/docs/example.yml
|
1509
1534
|
- app/pb_kits/playbook/pb_multi_level_select/docs/index.js
|
@@ -1,139 +0,0 @@
|
|
1
|
-
<% treeData = [
|
2
|
-
{
|
3
|
-
label: "HQ",
|
4
|
-
value: "HQ",
|
5
|
-
id: "hq1",
|
6
|
-
},
|
7
|
-
{
|
8
|
-
label: "Philadelphia",
|
9
|
-
value: "Philadelphia",
|
10
|
-
id: "phl1",
|
11
|
-
hideRadio: true,
|
12
|
-
children: [
|
13
|
-
{
|
14
|
-
label: "Marketing & Sales PHL",
|
15
|
-
value: "Marketing & Sales PHL",
|
16
|
-
id: "marketingPHL1",
|
17
|
-
},
|
18
|
-
{
|
19
|
-
label: "Installation Office PHL",
|
20
|
-
value: "Installation Office PHL",
|
21
|
-
id: "installationPHL1",
|
22
|
-
},
|
23
|
-
{
|
24
|
-
label: "Warehouse PHL",
|
25
|
-
value: "Warehouse PHL",
|
26
|
-
id: "warehousePHL1",
|
27
|
-
},
|
28
|
-
]
|
29
|
-
},
|
30
|
-
{
|
31
|
-
label: "New Jersey",
|
32
|
-
value: "New Jersey",
|
33
|
-
id: "nj2",
|
34
|
-
hideRadio: true,
|
35
|
-
children: [
|
36
|
-
{
|
37
|
-
label: "New Jersey",
|
38
|
-
value: "New Jersey",
|
39
|
-
id: "nj3",
|
40
|
-
hideRadio: true,
|
41
|
-
children: [
|
42
|
-
{
|
43
|
-
label: "Marketing & Sales NJ",
|
44
|
-
value: "Marketing & Sales NJ",
|
45
|
-
id: "marketingNJ1",
|
46
|
-
},
|
47
|
-
{
|
48
|
-
label: "Installation Office NJ",
|
49
|
-
value: "Installation Office NJ",
|
50
|
-
id: "installationNJ1",
|
51
|
-
},
|
52
|
-
{
|
53
|
-
label: "Warehouse NJ",
|
54
|
-
value: "Warehouse NJ",
|
55
|
-
id: "warehouseNJ1",
|
56
|
-
},
|
57
|
-
],
|
58
|
-
},
|
59
|
-
{
|
60
|
-
label: "Princeton",
|
61
|
-
value: "Princeton",
|
62
|
-
id: "princeton1",
|
63
|
-
hideRadio: true,
|
64
|
-
children: [
|
65
|
-
{
|
66
|
-
label: "Marketing & Sales Princeton",
|
67
|
-
value: "Marketing & Sales Princeton",
|
68
|
-
id: "marketingPR1",
|
69
|
-
},
|
70
|
-
{
|
71
|
-
label: "Installation Office Princeton",
|
72
|
-
value: "Installation Office Princeton",
|
73
|
-
id: "installationPR1",
|
74
|
-
},
|
75
|
-
{
|
76
|
-
label: "Warehouse Princeton",
|
77
|
-
value: "Warehouse Princeton",
|
78
|
-
id: "warehousePR1",
|
79
|
-
},
|
80
|
-
]
|
81
|
-
},
|
82
|
-
]
|
83
|
-
},
|
84
|
-
{
|
85
|
-
label: "Maryland",
|
86
|
-
value: "Maryland",
|
87
|
-
id: "MD1",
|
88
|
-
hideRadio: true,
|
89
|
-
children: [
|
90
|
-
{
|
91
|
-
label: "Marketing & Sales MD",
|
92
|
-
value: "Marketing & Sales MD",
|
93
|
-
id: "marketingMD1",
|
94
|
-
},
|
95
|
-
{
|
96
|
-
label: "Installation Office MD",
|
97
|
-
value: "Installation Office MD",
|
98
|
-
id: "installationMD1",
|
99
|
-
},
|
100
|
-
{
|
101
|
-
label: "Warehouse MD",
|
102
|
-
value: "Warehouse MD",
|
103
|
-
id: "warehouseMD1",
|
104
|
-
},
|
105
|
-
]
|
106
|
-
},
|
107
|
-
{
|
108
|
-
label: "Connecticut",
|
109
|
-
value: "Connecticut",
|
110
|
-
id: "CT1",
|
111
|
-
hideRadio: true,
|
112
|
-
children: [
|
113
|
-
{
|
114
|
-
label: "Marketing & Sales CT",
|
115
|
-
value: "Marketing & Sales CT",
|
116
|
-
id: "marketingCT1",
|
117
|
-
},
|
118
|
-
{
|
119
|
-
label: "Installation Office CT",
|
120
|
-
value: "Installation Office CT",
|
121
|
-
id: "installationCT1",
|
122
|
-
},
|
123
|
-
{
|
124
|
-
label: "Warehouse CT",
|
125
|
-
value: "Warehouse CT",
|
126
|
-
id: "warehouseCT1",
|
127
|
-
},
|
128
|
-
]
|
129
|
-
},
|
130
|
-
]; %>
|
131
|
-
|
132
|
-
<%= pb_rails("multi_level_select", props: {
|
133
|
-
id: "multi-level-select-single-children-only-rails",
|
134
|
-
name: "my_single_children_only_select_array",
|
135
|
-
tree_data: treeData,
|
136
|
-
input_name: "PowerChildren",
|
137
|
-
ultimate_children_only: true,
|
138
|
-
variant: "single"
|
139
|
-
}) %>
|
data/app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_single_children_only.jsx
DELETED
@@ -1,151 +0,0 @@
|
|
1
|
-
import React from "react";
|
2
|
-
import MultiLevelSelect from "../_multi_level_select";
|
3
|
-
|
4
|
-
const treeData = [
|
5
|
-
{
|
6
|
-
label: "HQ",
|
7
|
-
value: "HQ",
|
8
|
-
id: "hq1",
|
9
|
-
},
|
10
|
-
{
|
11
|
-
label: "Philadelphia",
|
12
|
-
value: "Philadelphia",
|
13
|
-
id: "phl1",
|
14
|
-
hideRadio: true,
|
15
|
-
children: [
|
16
|
-
{
|
17
|
-
label: "Marketing & Sales PHL",
|
18
|
-
value: "Marketing & Sales PHL",
|
19
|
-
id: "marketingPHL1",
|
20
|
-
},
|
21
|
-
{
|
22
|
-
label: "Installation Office PHL",
|
23
|
-
value: "Installation Office PHL",
|
24
|
-
id: "installationPHL1",
|
25
|
-
},
|
26
|
-
{
|
27
|
-
label: "Warehouse PHL",
|
28
|
-
value: "Warehouse PHL",
|
29
|
-
id: "warehousePHL1",
|
30
|
-
},
|
31
|
-
]
|
32
|
-
},
|
33
|
-
{
|
34
|
-
label: "New Jersey",
|
35
|
-
value: "New Jersey",
|
36
|
-
id: "nj2",
|
37
|
-
hideRadio: true,
|
38
|
-
children: [
|
39
|
-
{
|
40
|
-
label: "New Jersey",
|
41
|
-
value: "New Jersey",
|
42
|
-
id: "nj3",
|
43
|
-
hideRadio: true,
|
44
|
-
children: [
|
45
|
-
{
|
46
|
-
label: "Marketing & Sales NJ",
|
47
|
-
value: "Marketing & Sales NJ",
|
48
|
-
id: "marketingNJ1",
|
49
|
-
},
|
50
|
-
{
|
51
|
-
label: "Installation Office NJ",
|
52
|
-
value: "Installation Office NJ",
|
53
|
-
id: "installationNJ1",
|
54
|
-
},
|
55
|
-
{
|
56
|
-
label: "Warehouse NJ",
|
57
|
-
value: "Warehouse NJ",
|
58
|
-
id: "warehouseNJ1",
|
59
|
-
},
|
60
|
-
],
|
61
|
-
},
|
62
|
-
{
|
63
|
-
label: "Princeton",
|
64
|
-
value: "Princeton",
|
65
|
-
id: "princeton1",
|
66
|
-
hideRadio: true,
|
67
|
-
children: [
|
68
|
-
{
|
69
|
-
label: "Marketing & Sales Princeton",
|
70
|
-
value: "Marketing & Sales Princeton",
|
71
|
-
id: "marketingPR1",
|
72
|
-
},
|
73
|
-
{
|
74
|
-
label: "Installation Office Princeton",
|
75
|
-
value: "Installation Office Princeton",
|
76
|
-
id: "installationPR1",
|
77
|
-
},
|
78
|
-
{
|
79
|
-
label: "Warehouse Princeton",
|
80
|
-
value: "Warehouse Princeton",
|
81
|
-
id: "warehousePR1",
|
82
|
-
},
|
83
|
-
]
|
84
|
-
},
|
85
|
-
]
|
86
|
-
},
|
87
|
-
{
|
88
|
-
label: "Maryland",
|
89
|
-
value: "Maryland",
|
90
|
-
id: "MD1",
|
91
|
-
hideRadio: true,
|
92
|
-
children: [
|
93
|
-
{
|
94
|
-
label: "Marketing & Sales MD",
|
95
|
-
value: "Marketing & Sales MD",
|
96
|
-
id: "marketingMD1",
|
97
|
-
},
|
98
|
-
{
|
99
|
-
label: "Installation Office MD",
|
100
|
-
value: "Installation Office MD",
|
101
|
-
id: "installationMD1",
|
102
|
-
},
|
103
|
-
{
|
104
|
-
label: "Warehouse MD",
|
105
|
-
value: "Warehouse MD",
|
106
|
-
id: "warehouseMD1",
|
107
|
-
},
|
108
|
-
]
|
109
|
-
},
|
110
|
-
{
|
111
|
-
label: "Connecticut",
|
112
|
-
value: "Connecticut",
|
113
|
-
id: "CT1",
|
114
|
-
hideRadio: true,
|
115
|
-
children: [
|
116
|
-
{
|
117
|
-
label: "Marketing & Sales CT",
|
118
|
-
value: "Marketing & Sales CT",
|
119
|
-
id: "marketingCT1",
|
120
|
-
},
|
121
|
-
{
|
122
|
-
label: "Installation Office CT",
|
123
|
-
value: "Installation Office CT",
|
124
|
-
id: "installationCT1",
|
125
|
-
},
|
126
|
-
{
|
127
|
-
label: "Warehouse CT",
|
128
|
-
value: "Warehouse CT",
|
129
|
-
id: "warehouseCT1",
|
130
|
-
},
|
131
|
-
]
|
132
|
-
},
|
133
|
-
];
|
134
|
-
|
135
|
-
const MultiLevelSelectSingleChildrenOnly = (props) => {
|
136
|
-
return (
|
137
|
-
<div>
|
138
|
-
<MultiLevelSelect
|
139
|
-
id="multiselect-single-children-only"
|
140
|
-
inputName="PowerChildren"
|
141
|
-
onSelect={(selectedNode) => console.log("Selected Node", selectedNode)}
|
142
|
-
treeData={treeData}
|
143
|
-
// ultimateChildrenOnly
|
144
|
-
variant="single"
|
145
|
-
{...props}
|
146
|
-
/>
|
147
|
-
</div>
|
148
|
-
)
|
149
|
-
};
|
150
|
-
|
151
|
-
export default MultiLevelSelectSingleChildrenOnly;
|