playbook_ui_docs 13.10.0.pre.alpha.PLAY1046multilevelsingleselectphase21328 → 13.10.0.pre.alpha.PLAY1046multilevelsingleselectphase21358
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.
- checksums.yaml +4 -4
- data/app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_selected_ids.html.erb +0 -1
- data/app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_single.html.erb +104 -45
- data/app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_single.jsx +100 -43
- data/app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_single_children_only.html.erb +104 -45
- data/app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_single_children_only.jsx +100 -43
- data/dist/playbook-doc.js +7 -7
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8800d109f61e4a6655857b92555c1f5f29dde5b1b8388f2df64d0b34213f3bd8
|
4
|
+
data.tar.gz: 84aced6a7980a4615aec141e22b82d4e4180cc298c8152e1a719af14eea405f1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5e4e98d6ea5060664cf75f30fabc38512f32679797b5b2dbe26059f224e0ec1dd72699a24e3154bfab60eb58519873db50759812003a2ba5a62e6ba745463e50
|
7
|
+
data.tar.gz: d912f27f2978181836ea1b0b23a4b1c8e42aaf27381bdce387966b81d2d38bf2fe3807b756182cc7c23df2e832481880c33d4a31fe662e0765d53fc93e8a8a28
|
@@ -1,68 +1,127 @@
|
|
1
|
-
<% treeData = [
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
1
|
+
<% treeData = [
|
2
|
+
{
|
3
|
+
label: "Philadelphia",
|
4
|
+
value: "Philadelphia",
|
5
|
+
id: "phl",
|
6
6
|
children: [
|
7
7
|
{
|
8
|
-
label: "
|
9
|
-
value: "
|
10
|
-
id: "
|
11
|
-
|
8
|
+
label: "HQ",
|
9
|
+
value: "HQ",
|
10
|
+
id: "hq",
|
11
|
+
},
|
12
|
+
{
|
13
|
+
label: "Marketing & Sales PHL",
|
14
|
+
value: "Marketing & Sales PHL",
|
15
|
+
id: "marketing1",
|
16
|
+
},
|
17
|
+
{
|
18
|
+
label: "Installation Office PHL",
|
19
|
+
value: "Installation Office PHL",
|
20
|
+
id: "installation1",
|
21
|
+
},
|
22
|
+
{
|
23
|
+
label: "Warehouse PHL",
|
24
|
+
value: "Warehouse PHL",
|
25
|
+
id: "warehouse1",
|
26
|
+
},
|
27
|
+
]
|
28
|
+
},
|
29
|
+
{
|
30
|
+
label: "New Jersey",
|
31
|
+
value: "New Jersey",
|
32
|
+
id: "nj",
|
33
|
+
children: [
|
34
|
+
{
|
35
|
+
label: "New Jersey",
|
36
|
+
value: "New Jersey",
|
37
|
+
id: "nj1",
|
12
38
|
children: [
|
13
39
|
{
|
14
|
-
label: "
|
15
|
-
value: "
|
16
|
-
id: "
|
40
|
+
label: "Marketing & Sales NJ",
|
41
|
+
value: "Marketing & Sales NJ",
|
42
|
+
id: "marketing2",
|
17
43
|
},
|
18
44
|
{
|
19
|
-
label: "
|
20
|
-
value: "
|
21
|
-
id: "
|
22
|
-
children: [
|
23
|
-
{
|
24
|
-
label: "Initiatives",
|
25
|
-
value: "Initiatives",
|
26
|
-
id: "204",
|
27
|
-
},
|
28
|
-
{
|
29
|
-
label: "Learning & Development",
|
30
|
-
value: "Learning & Development",
|
31
|
-
id: "205",
|
32
|
-
},
|
33
|
-
],
|
45
|
+
label: "Installation Office NJ",
|
46
|
+
value: "Installation Office NJ",
|
47
|
+
id: "installation2",
|
34
48
|
},
|
35
49
|
{
|
36
|
-
label: "
|
37
|
-
value: "
|
38
|
-
id: "
|
50
|
+
label: "Warehouse NJ",
|
51
|
+
value: "Warehouse NJ",
|
52
|
+
id: "warehouse2",
|
39
53
|
},
|
40
54
|
],
|
41
55
|
},
|
42
56
|
{
|
43
|
-
label: "
|
44
|
-
value: "
|
45
|
-
id: "
|
57
|
+
label: "Princeton",
|
58
|
+
value: "Princeton",
|
59
|
+
id: "princeton",
|
46
60
|
children: [
|
47
61
|
{
|
48
|
-
label: "
|
49
|
-
value: "
|
50
|
-
id: "
|
62
|
+
label: "Marketing & Sales Princeton",
|
63
|
+
value: "Marketing & Sales Princeton",
|
64
|
+
id: "marketing3",
|
51
65
|
},
|
52
66
|
{
|
53
|
-
label: "
|
54
|
-
value: "
|
55
|
-
id: "
|
67
|
+
label: "Installation Office Princeton",
|
68
|
+
value: "Installation Office Princeton",
|
69
|
+
id: "installation3",
|
56
70
|
},
|
57
71
|
{
|
58
|
-
label: "
|
59
|
-
value: "
|
60
|
-
id: "
|
72
|
+
label: "Warehouse Princeton",
|
73
|
+
value: "Warehouse Princeton",
|
74
|
+
id: "warehouse3",
|
61
75
|
},
|
62
|
-
]
|
76
|
+
]
|
77
|
+
},
|
78
|
+
]
|
79
|
+
},
|
80
|
+
{
|
81
|
+
label: "Maryland",
|
82
|
+
value: "Maryland",
|
83
|
+
id: "MD",
|
84
|
+
children: [
|
85
|
+
{
|
86
|
+
label: "Marketing & Sales MD",
|
87
|
+
value: "Marketing & Sales MD",
|
88
|
+
id: "marketing4",
|
89
|
+
},
|
90
|
+
{
|
91
|
+
label: "Installation Office MD",
|
92
|
+
value: "Installation Office MD",
|
93
|
+
id: "installation4",
|
94
|
+
},
|
95
|
+
{
|
96
|
+
label: "Warehouse MD",
|
97
|
+
value: "Warehouse MD",
|
98
|
+
id: "warehouse4",
|
99
|
+
},
|
100
|
+
]
|
101
|
+
},
|
102
|
+
{
|
103
|
+
label: "Connecticut",
|
104
|
+
value: "Connecticut",
|
105
|
+
id: "CT",
|
106
|
+
children: [
|
107
|
+
{
|
108
|
+
label: "Marketing & Sales CT",
|
109
|
+
value: "Marketing & Sales CT",
|
110
|
+
id: "marketing5",
|
111
|
+
},
|
112
|
+
{
|
113
|
+
label: "Installation Office CT",
|
114
|
+
value: "Installation Office CT",
|
115
|
+
id: "installation5",
|
116
|
+
},
|
117
|
+
{
|
118
|
+
label: "Warehouse CT",
|
119
|
+
value: "Warehouse CT",
|
120
|
+
id: "warehouse5",
|
63
121
|
},
|
64
|
-
]
|
65
|
-
}
|
122
|
+
]
|
123
|
+
},
|
124
|
+
]; %>
|
66
125
|
|
67
126
|
<%= pb_rails("multi_level_select", props: {
|
68
127
|
id: "multi-level-select-single-rails",
|
@@ -3,69 +3,126 @@ import MultiLevelSelect from "../_multi_level_select";
|
|
3
3
|
|
4
4
|
const treeData = [
|
5
5
|
{
|
6
|
-
label: "
|
7
|
-
value: "
|
8
|
-
id: "
|
9
|
-
expanded: true,
|
6
|
+
label: "Philadelphia",
|
7
|
+
value: "Philadelphia",
|
8
|
+
id: "phl",
|
10
9
|
children: [
|
11
10
|
{
|
12
|
-
label: "
|
13
|
-
value: "
|
14
|
-
id: "
|
15
|
-
|
11
|
+
label: "HQ",
|
12
|
+
value: "HQ",
|
13
|
+
id: "hq",
|
14
|
+
},
|
15
|
+
{
|
16
|
+
label: "Marketing & Sales PHL",
|
17
|
+
value: "Marketing & Sales PHL",
|
18
|
+
id: "marketing1",
|
19
|
+
},
|
20
|
+
{
|
21
|
+
label: "Installation Office PHL",
|
22
|
+
value: "Installation Office PHL",
|
23
|
+
id: "installation1",
|
24
|
+
},
|
25
|
+
{
|
26
|
+
label: "Warehouse PHL",
|
27
|
+
value: "Warehouse PHL",
|
28
|
+
id: "warehouse1",
|
29
|
+
},
|
30
|
+
]
|
31
|
+
},
|
32
|
+
{
|
33
|
+
label: "New Jersey",
|
34
|
+
value: "New Jersey",
|
35
|
+
id: "nj",
|
36
|
+
children: [
|
37
|
+
{
|
38
|
+
label: "New Jersey",
|
39
|
+
value: "New Jersey",
|
40
|
+
id: "nj1",
|
16
41
|
children: [
|
17
42
|
{
|
18
|
-
label: "
|
19
|
-
value: "
|
20
|
-
id: "
|
43
|
+
label: "Marketing & Sales NJ",
|
44
|
+
value: "Marketing & Sales NJ",
|
45
|
+
id: "marketing2",
|
21
46
|
},
|
22
47
|
{
|
23
|
-
label: "
|
24
|
-
value: "
|
25
|
-
id: "
|
26
|
-
children: [
|
27
|
-
{
|
28
|
-
label: "Initiatives",
|
29
|
-
value: "Initiatives",
|
30
|
-
id: "initiative2",
|
31
|
-
},
|
32
|
-
{
|
33
|
-
label: "Learning & Development",
|
34
|
-
value: "Learning & Development",
|
35
|
-
id: "development2",
|
36
|
-
},
|
37
|
-
],
|
48
|
+
label: "Installation Office NJ",
|
49
|
+
value: "Installation Office NJ",
|
50
|
+
id: "installation2",
|
38
51
|
},
|
39
52
|
{
|
40
|
-
label: "
|
41
|
-
value: "
|
42
|
-
id: "
|
53
|
+
label: "Warehouse NJ",
|
54
|
+
value: "Warehouse NJ",
|
55
|
+
id: "warehouse2",
|
43
56
|
},
|
44
57
|
],
|
45
58
|
},
|
46
59
|
{
|
47
|
-
label: "
|
48
|
-
value: "
|
49
|
-
id: "
|
60
|
+
label: "Princeton",
|
61
|
+
value: "Princeton",
|
62
|
+
id: "princeton",
|
50
63
|
children: [
|
51
64
|
{
|
52
|
-
label: "
|
53
|
-
value: "
|
54
|
-
id: "
|
65
|
+
label: "Marketing & Sales Princeton",
|
66
|
+
value: "Marketing & Sales Princeton",
|
67
|
+
id: "marketing3",
|
55
68
|
},
|
56
69
|
{
|
57
|
-
label: "
|
58
|
-
value: "
|
59
|
-
id: "
|
70
|
+
label: "Installation Office Princeton",
|
71
|
+
value: "Installation Office Princeton",
|
72
|
+
id: "installation3",
|
60
73
|
},
|
61
74
|
{
|
62
|
-
label: "
|
63
|
-
value: "
|
64
|
-
id: "
|
75
|
+
label: "Warehouse Princeton",
|
76
|
+
value: "Warehouse Princeton",
|
77
|
+
id: "warehouse3",
|
65
78
|
},
|
66
|
-
]
|
79
|
+
]
|
80
|
+
},
|
81
|
+
]
|
82
|
+
},
|
83
|
+
{
|
84
|
+
label: "Maryland",
|
85
|
+
value: "Maryland",
|
86
|
+
id: "MD",
|
87
|
+
children: [
|
88
|
+
{
|
89
|
+
label: "Marketing & Sales MD",
|
90
|
+
value: "Marketing & Sales MD",
|
91
|
+
id: "marketing4",
|
92
|
+
},
|
93
|
+
{
|
94
|
+
label: "Installation Office MD",
|
95
|
+
value: "Installation Office MD",
|
96
|
+
id: "installation4",
|
97
|
+
},
|
98
|
+
{
|
99
|
+
label: "Warehouse MD",
|
100
|
+
value: "Warehouse MD",
|
101
|
+
id: "warehouse4",
|
102
|
+
},
|
103
|
+
]
|
104
|
+
},
|
105
|
+
{
|
106
|
+
label: "Connecticut",
|
107
|
+
value: "Connecticut",
|
108
|
+
id: "CT",
|
109
|
+
children: [
|
110
|
+
{
|
111
|
+
label: "Marketing & Sales CT",
|
112
|
+
value: "Marketing & Sales CT",
|
113
|
+
id: "marketing5",
|
114
|
+
},
|
115
|
+
{
|
116
|
+
label: "Installation Office CT",
|
117
|
+
value: "Installation Office CT",
|
118
|
+
id: "installation5",
|
119
|
+
},
|
120
|
+
{
|
121
|
+
label: "Warehouse CT",
|
122
|
+
value: "Warehouse CT",
|
123
|
+
id: "warehouse5",
|
67
124
|
},
|
68
|
-
]
|
125
|
+
]
|
69
126
|
},
|
70
127
|
];
|
71
128
|
|
@@ -1,68 +1,127 @@
|
|
1
|
-
<% treeData = [
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
1
|
+
<% treeData = [
|
2
|
+
{
|
3
|
+
label: "Philadelphia",
|
4
|
+
value: "Philadelphia",
|
5
|
+
id: "phl",
|
6
6
|
children: [
|
7
7
|
{
|
8
|
-
label: "
|
9
|
-
value: "
|
10
|
-
id: "
|
11
|
-
|
8
|
+
label: "HQ",
|
9
|
+
value: "HQ",
|
10
|
+
id: "hq",
|
11
|
+
},
|
12
|
+
{
|
13
|
+
label: "Marketing & Sales PHL",
|
14
|
+
value: "Marketing & Sales PHL",
|
15
|
+
id: "marketing1",
|
16
|
+
},
|
17
|
+
{
|
18
|
+
label: "Installation Office PHL",
|
19
|
+
value: "Installation Office PHL",
|
20
|
+
id: "installation1",
|
21
|
+
},
|
22
|
+
{
|
23
|
+
label: "Warehouse PHL",
|
24
|
+
value: "Warehouse PHL",
|
25
|
+
id: "warehouse1",
|
26
|
+
},
|
27
|
+
]
|
28
|
+
},
|
29
|
+
{
|
30
|
+
label: "New Jersey",
|
31
|
+
value: "New Jersey",
|
32
|
+
id: "nj",
|
33
|
+
children: [
|
34
|
+
{
|
35
|
+
label: "New Jersey",
|
36
|
+
value: "New Jersey",
|
37
|
+
id: "nj1",
|
12
38
|
children: [
|
13
39
|
{
|
14
|
-
label: "
|
15
|
-
value: "
|
16
|
-
id: "
|
40
|
+
label: "Marketing & Sales NJ",
|
41
|
+
value: "Marketing & Sales NJ",
|
42
|
+
id: "marketing2",
|
17
43
|
},
|
18
44
|
{
|
19
|
-
label: "
|
20
|
-
value: "
|
21
|
-
id: "
|
22
|
-
children: [
|
23
|
-
{
|
24
|
-
label: "Initiatives",
|
25
|
-
value: "Initiatives",
|
26
|
-
id: "304",
|
27
|
-
},
|
28
|
-
{
|
29
|
-
label: "Learning & Development",
|
30
|
-
value: "Learning & Development",
|
31
|
-
id: "305",
|
32
|
-
},
|
33
|
-
],
|
45
|
+
label: "Installation Office NJ",
|
46
|
+
value: "Installation Office NJ",
|
47
|
+
id: "installation2",
|
34
48
|
},
|
35
49
|
{
|
36
|
-
label: "
|
37
|
-
value: "
|
38
|
-
id: "
|
50
|
+
label: "Warehouse NJ",
|
51
|
+
value: "Warehouse NJ",
|
52
|
+
id: "warehouse2",
|
39
53
|
},
|
40
54
|
],
|
41
55
|
},
|
42
56
|
{
|
43
|
-
label: "
|
44
|
-
value: "
|
45
|
-
id: "
|
57
|
+
label: "Princeton",
|
58
|
+
value: "Princeton",
|
59
|
+
id: "princeton",
|
46
60
|
children: [
|
47
61
|
{
|
48
|
-
label: "
|
49
|
-
value: "
|
50
|
-
id: "
|
62
|
+
label: "Marketing & Sales Princeton",
|
63
|
+
value: "Marketing & Sales Princeton",
|
64
|
+
id: "marketing3",
|
51
65
|
},
|
52
66
|
{
|
53
|
-
label: "
|
54
|
-
value: "
|
55
|
-
id: "
|
67
|
+
label: "Installation Office Princeton",
|
68
|
+
value: "Installation Office Princeton",
|
69
|
+
id: "installation3",
|
56
70
|
},
|
57
71
|
{
|
58
|
-
label: "
|
59
|
-
value: "
|
60
|
-
id: "
|
72
|
+
label: "Warehouse Princeton",
|
73
|
+
value: "Warehouse Princeton",
|
74
|
+
id: "warehouse3",
|
61
75
|
},
|
62
|
-
]
|
76
|
+
]
|
77
|
+
},
|
78
|
+
]
|
79
|
+
},
|
80
|
+
{
|
81
|
+
label: "Maryland",
|
82
|
+
value: "Maryland",
|
83
|
+
id: "MD",
|
84
|
+
children: [
|
85
|
+
{
|
86
|
+
label: "Marketing & Sales MD",
|
87
|
+
value: "Marketing & Sales MD",
|
88
|
+
id: "marketing4",
|
89
|
+
},
|
90
|
+
{
|
91
|
+
label: "Installation Office MD",
|
92
|
+
value: "Installation Office MD",
|
93
|
+
id: "installation4",
|
94
|
+
},
|
95
|
+
{
|
96
|
+
label: "Warehouse MD",
|
97
|
+
value: "Warehouse MD",
|
98
|
+
id: "warehouse4",
|
99
|
+
},
|
100
|
+
]
|
101
|
+
},
|
102
|
+
{
|
103
|
+
label: "Connecticut",
|
104
|
+
value: "Connecticut",
|
105
|
+
id: "CT",
|
106
|
+
children: [
|
107
|
+
{
|
108
|
+
label: "Marketing & Sales CT",
|
109
|
+
value: "Marketing & Sales CT",
|
110
|
+
id: "marketing5",
|
111
|
+
},
|
112
|
+
{
|
113
|
+
label: "Installation Office CT",
|
114
|
+
value: "Installation Office CT",
|
115
|
+
id: "installation5",
|
116
|
+
},
|
117
|
+
{
|
118
|
+
label: "Warehouse CT",
|
119
|
+
value: "Warehouse CT",
|
120
|
+
id: "warehouse5",
|
63
121
|
},
|
64
|
-
]
|
65
|
-
}
|
122
|
+
]
|
123
|
+
},
|
124
|
+
]; %>
|
66
125
|
|
67
126
|
<%= pb_rails("multi_level_select", props: {
|
68
127
|
id: "multi-level-select-single-children-only-rails",
|