playbook_ui 12.25.0.pre.alpha.railsmultilevelimprovements758 → 12.25.0.pre.alpha.railsmultilevelimprovements780

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,68 +1,636 @@
1
1
  <% treeData = [{
2
- label: "Power Home Remodeling",
3
- value: "Power Home Remodeling",
4
- id: "powerhome1",
5
- expanded: true,
2
+ checked: false,
6
3
  children: [
7
4
  {
8
- label: "People",
9
- value: "People",
10
- id: "people1",
5
+ checked: false,
11
6
  children: [
12
7
  {
8
+ checked: false,
9
+ children: [
10
+ {
11
+ checked: false,
12
+ children: [],
13
+ id: "401",
14
+ label: "Corporate Recruiting",
15
+ value: "Corporate Recruiting",
16
+ },
17
+ {
18
+ checked: false,
19
+ children: [],
20
+ id: "406",
21
+ label: "Install Partner Recruiting",
22
+ value: "Install Partner Recruiting",
23
+ },
24
+ {
25
+ checked: false,
26
+ children: [],
27
+ id: "411",
28
+ label: "Revenue Recruiting",
29
+ value: "Revenue Recruiting",
30
+ },
31
+ ],
32
+ id: "61",
13
33
  label: "Talent Acquisition",
14
34
  value: "Talent Acquisition",
15
- id: "talent1",
16
35
  },
17
36
  {
37
+ checked: false,
38
+ children: [
39
+ {
40
+ checked: false,
41
+ children: [],
42
+ id: "356",
43
+ label: "Business Affairs",
44
+ value: "Business Affairs",
45
+ },
46
+ {
47
+ checked: false,
48
+ children: [],
49
+ id: "361",
50
+ label: "HR Business Partners",
51
+ value: "HR Business Partners",
52
+ },
53
+ ],
54
+ id: "66",
18
55
  label: "Business Affairs",
19
56
  value: "Business Affairs",
20
- id: "business1",
57
+ },
58
+ {
59
+ checked: false,
21
60
  children: [
22
61
  {
62
+ checked: false,
63
+ children: [],
64
+ id: "366",
65
+ label: "Human Resources",
66
+ value: "Human Resources",
67
+ },
68
+ {
69
+ checked: false,
70
+ children: [],
71
+ id: "371",
23
72
  label: "Initiatives",
24
73
  value: "Initiatives",
25
- id: "initiative1",
26
74
  },
27
75
  {
28
- label: "Learning & Development",
29
- value: "Learning & Development",
30
- id: "development1",
76
+ checked: false,
77
+ children: [],
78
+ id: "376",
79
+ label: "Learning and Development",
80
+ value: "Learning and Development",
81
+ },
82
+ {
83
+ checked: false,
84
+ children: [],
85
+ id: "381",
86
+ label: "People Technology",
87
+ value: "People Technology",
31
88
  },
32
89
  ],
90
+ id: "71",
91
+ label: "People and Development",
92
+ value: "People and Development",
33
93
  },
34
94
  {
95
+ checked: false,
96
+ children: [
97
+ {
98
+ checked: false,
99
+ children: [],
100
+ id: "386",
101
+ label: "Engagement",
102
+ value: "Engagement",
103
+ },
104
+ {
105
+ checked: false,
106
+ children: [],
107
+ id: "391",
108
+ label: "Meeting Planning",
109
+ value: "Meeting Planning",
110
+ },
111
+ {
112
+ checked: false,
113
+ children: [],
114
+ id: "396",
115
+ label: "Special Events",
116
+ value: "Special Events",
117
+ },
118
+ ],
119
+ id: "186",
35
120
  label: "People Experience",
36
121
  value: "People Experience",
37
- id: "experience1",
38
122
  },
39
123
  ],
124
+ id: "6",
125
+ label: "People",
126
+ value: "People",
40
127
  },
41
128
  {
42
- label: "Contact Center",
43
- value: "Contact Center",
44
- id: "contact1",
129
+ checked: false,
45
130
  children: [
46
131
  {
132
+ checked: false,
133
+ children: [
134
+ {
135
+ checked: false,
136
+ children: [],
137
+ id: "301",
138
+ label: "Confirmation",
139
+ value: "Confirmation",
140
+ },
141
+ {
142
+ checked: false,
143
+ children: [],
144
+ id: "306",
145
+ label: "Inside Sales",
146
+ value: "Inside Sales",
147
+ },
148
+ {
149
+ checked: false,
150
+ children: [],
151
+ id: "311",
152
+ label: "Sales Support",
153
+ value: "Sales Support",
154
+ },
155
+ {
156
+ checked: false,
157
+ children: [],
158
+ id: "316",
159
+ label: "Scheduling",
160
+ value: "Scheduling",
161
+ },
162
+ ],
163
+ id: "81",
47
164
  label: "Appointment Management",
48
165
  value: "Appointment Management",
49
- id: "appointment1",
50
- },
51
- {
52
- label: "Customer Service",
53
- value: "Customer Service",
54
- id: "customer1",
55
166
  },
56
167
  {
168
+ checked: false,
169
+ children: [
170
+ {
171
+ checked: false,
172
+ children: [],
173
+ id: "321",
174
+ label: "Design",
175
+ value: "Design",
176
+ },
177
+ {
178
+ checked: false,
179
+ children: [],
180
+ id: "326",
181
+ label: "Policy",
182
+ value: "Policy",
183
+ },
184
+ ],
185
+ id: "191",
57
186
  label: "Energy",
58
187
  value: "Energy",
59
- id: "energy1",
60
188
  },
61
189
  ],
190
+ id: "11",
191
+ label: "Contact Center",
192
+ value: "Contact Center",
193
+ },
194
+ {
195
+ checked: false,
196
+ children: [
197
+ {
198
+ checked: false,
199
+ children: [
200
+ {
201
+ checked: false,
202
+ children: [],
203
+ id: "431",
204
+ label: "Analysts",
205
+ value: "Analysts",
206
+ },
207
+ {
208
+ checked: false,
209
+ children: [],
210
+ id: "441",
211
+ label: "Customer Development",
212
+ value: "Customer Development",
213
+ },
214
+ ],
215
+ id: "91",
216
+ label: "Customer Development",
217
+ value: "Customer Development",
218
+ },
219
+ {
220
+ checked: false,
221
+ children: [
222
+ {
223
+ checked: false,
224
+ children: [],
225
+ id: "446",
226
+ label: "Quality Assurance",
227
+ value: "Quality Assurance",
228
+ },
229
+ {
230
+ checked: false,
231
+ children: [],
232
+ id: "451",
233
+ label: "Sales",
234
+ value: "Sales",
235
+ },
236
+ ],
237
+ id: "96",
238
+ label: "Sales",
239
+ value: "Sales",
240
+ },
241
+ ],
242
+ id: "16",
243
+ label: "Revenue",
244
+ value: "Revenue",
245
+ },
246
+ {
247
+ checked: false,
248
+ children: [
249
+ {
250
+ checked: false,
251
+ children: [
252
+ {
253
+ checked: false,
254
+ children: [],
255
+ id: "416",
256
+ label: "Customer Support",
257
+ value: "Customer Support",
258
+ },
259
+ {
260
+ checked: false,
261
+ children: [],
262
+ id: "421",
263
+ label: "Quality Assurance Scheduling",
264
+ value: "Quality Assurance Scheduling",
265
+ },
266
+ ],
267
+ id: "106",
268
+ label: "Customer Support",
269
+ value: "Customer Support",
270
+ },
271
+ {
272
+ checked: false,
273
+ children: [
274
+ {
275
+ checked: false,
276
+ children: [],
277
+ id: "426",
278
+ label: "Production Management",
279
+ value: "Production Management",
280
+ },
281
+ ],
282
+ id: "211",
283
+ label: "Production Management",
284
+ value: "Production Management",
285
+ },
286
+ ],
287
+ id: "21",
288
+ label: "Project Services",
289
+ value: "Project Services",
290
+ },
291
+ {
292
+ checked: false,
293
+ children: [
294
+ {
295
+ checked: false,
296
+ children: [
297
+ {
298
+ checked: false,
299
+ children: [],
300
+ id: "456",
301
+ label: "Procurement",
302
+ value: "Procurement",
303
+ },
304
+ {
305
+ checked: false,
306
+ children: [],
307
+ id: "461",
308
+ label: "Warehousing",
309
+ value: "Warehousing",
310
+ },
311
+ ],
312
+ id: "206",
313
+ label: "Inventory Management",
314
+ value: "Inventory Management",
315
+ },
316
+ ],
317
+ id: "26",
318
+ label: "Supply Chain",
319
+ value: "Supply Chain",
320
+ },
321
+ {
322
+ checked: false,
323
+ children: [
324
+ {
325
+ checked: false,
326
+ children: [
327
+ {
328
+ checked: false,
329
+ children: [],
330
+ id: "341",
331
+ label: "Craftsman",
332
+ value: "Craftsman",
333
+ },
334
+ {
335
+ checked: false,
336
+ children: [],
337
+ id: "346",
338
+ label: "Installation Management",
339
+ value: "Installation Management",
340
+ },
341
+ ],
342
+ id: "121",
343
+ label: "Installation",
344
+ value: "Installation",
345
+ },
346
+ {
347
+ checked: false,
348
+ children: [
349
+ {
350
+ checked: false,
351
+ children: [],
352
+ id: "351",
353
+ label: "Service Management",
354
+ value: "Service Management",
355
+ },
356
+ ],
357
+ id: "126",
358
+ label: "Warranty",
359
+ value: "Warranty",
360
+ },
361
+ ],
362
+ id: "31",
363
+ label: "Installation Services",
364
+ value: "Installation Services",
365
+ },
366
+ {
367
+ checked: false,
368
+ children: [
369
+ {
370
+ checked: false,
371
+ children: [
372
+ {
373
+ checked: false,
374
+ children: [],
375
+ id: "331",
376
+ label: "Accounting",
377
+ value: "Accounting",
378
+ },
379
+ ],
380
+ id: "131",
381
+ label: "Accounting",
382
+ value: "Accounting",
383
+ },
384
+ {
385
+ checked: false,
386
+ children: [
387
+ {
388
+ checked: false,
389
+ children: [],
390
+ id: "336",
391
+ label: "Payroll",
392
+ value: "Payroll",
393
+ },
394
+ ],
395
+ id: "141",
396
+ label: "Payroll",
397
+ value: "Payroll",
398
+ },
399
+ ],
400
+ id: "36",
401
+ label: "Corporate Finance",
402
+ value: "Corporate Finance",
403
+ },
404
+ {
405
+ checked: false,
406
+ children: [
407
+ {
408
+ checked: false,
409
+ children: [
410
+ {
411
+ checked: false,
412
+ children: [],
413
+ id: "236",
414
+ label: "Legal",
415
+ value: "Legal",
416
+ },
417
+ ],
418
+ id: "146",
419
+ label: "Legal",
420
+ value: "Legal",
421
+ },
422
+ {
423
+ checked: false,
424
+ children: [
425
+ {
426
+ checked: false,
427
+ children: [],
428
+ id: "226",
429
+ label: "Executive",
430
+ value: "Executive",
431
+ },
432
+ {
433
+ checked: false,
434
+ children: [],
435
+ id: "231",
436
+ label: "Administrative",
437
+ value: "Administrative",
438
+ },
439
+ ],
440
+ id: "201",
441
+ label: "Executive",
442
+ value: "Executive",
443
+ },
444
+ ],
445
+ id: "41",
446
+ label: "Advisory",
447
+ value: "Advisory",
448
+ },
449
+ {
450
+ checked: false,
451
+ children: [
452
+ {
453
+ checked: false,
454
+ children: [
455
+ {
456
+ checked: false,
457
+ children: [],
458
+ id: "276",
459
+ label: "Product Management",
460
+ value: "Product Management",
461
+ },
462
+ {
463
+ checked: false,
464
+ children: [],
465
+ id: "281",
466
+ label: "User Experience",
467
+ value: "User Experience",
468
+ },
469
+ ],
470
+ id: "151",
471
+ label: "Product",
472
+ value: "Product",
473
+ },
474
+ {
475
+ checked: false,
476
+ children: [
477
+ {
478
+ checked: false,
479
+ children: [],
480
+ id: "251",
481
+ label: "Agile",
482
+ value: "Agile",
483
+ },
484
+ {
485
+ checked: false,
486
+ children: [],
487
+ id: "256",
488
+ label: "Development",
489
+ value: "Development",
490
+ },
491
+ {
492
+ checked: false,
493
+ children: [],
494
+ id: "261",
495
+ label: "Site Reliability Engineering",
496
+ value: "Site Reliability Engineering",
497
+ },
498
+ ],
499
+ id: "156",
500
+ label: "Delivery",
501
+ value: "Delivery",
502
+ },
503
+ {
504
+ checked: false,
505
+ children: [
506
+ {
507
+ checked: false,
508
+ children: [],
509
+ id: "286",
510
+ label: "Asset Management",
511
+ value: "Asset Management",
512
+ },
513
+ {
514
+ checked: false,
515
+ children: [],
516
+ id: "291",
517
+ label: "Nitro Support",
518
+ value: "Nitro Support",
519
+ },
520
+ {
521
+ checked: false,
522
+ children: [],
523
+ id: "296",
524
+ label: "Technical Support",
525
+ value: "Technical Support",
526
+ },
527
+ ],
528
+ id: "161",
529
+ label: "Support",
530
+ value: "Support",
531
+ },
532
+ {
533
+ checked: false,
534
+ children: [
535
+ {
536
+ checked: false,
537
+ children: [],
538
+ id: "266",
539
+ label: "Facility Management",
540
+ value: "Facility Management",
541
+ },
542
+ {
543
+ checked: false,
544
+ children: [],
545
+ id: "271",
546
+ label: "Real Estate Development",
547
+ value: "Real Estate Development",
548
+ },
549
+ ],
550
+ id: "181",
551
+ label: "Facilities",
552
+ value: "Facilities",
553
+ },
554
+ {
555
+ checked: false,
556
+ children: [
557
+ {
558
+ checked: false,
559
+ children: [],
560
+ id: "246",
561
+ label: "Business Intelligence",
562
+ value: "Business Intelligence",
563
+ },
564
+ ],
565
+ id: "196",
566
+ label: "Analytics",
567
+ value: "Analytics",
568
+ },
569
+ ],
570
+ id: "46",
571
+ label: "Business Technologies",
572
+ value: "Business Technologies",
573
+ },
574
+ {
575
+ checked: false,
576
+ children: [
577
+ {
578
+ checked: false,
579
+ children: [
580
+ {
581
+ checked: false,
582
+ children: [],
583
+ id: "241",
584
+ label: "Communications",
585
+ value: "Communications",
586
+ },
587
+ ],
588
+ id: "171",
589
+ label: "Communications",
590
+ value: "Communications",
591
+ },
592
+ {
593
+ checked: false,
594
+ children: [
595
+ {
596
+ checked: false,
597
+ children: [],
598
+ id: "471",
599
+ label: "Public Relations",
600
+ value: "Public Relations",
601
+ },
602
+ ],
603
+ id: "216",
604
+ label: "Public Relations",
605
+ value: "Public Relations",
606
+ },
607
+ {
608
+ checked: false,
609
+ children: [
610
+ {
611
+ checked: false,
612
+ children: [],
613
+ id: "466",
614
+ label: "Media Arts",
615
+ value: "Media Arts",
616
+ },
617
+ ],
618
+ id: "221",
619
+ label: "Media Arts",
620
+ value: "Media Arts",
621
+ },
622
+ ],
623
+ id: "51",
624
+ label: "Brand and Communications",
625
+ value: "Brand and Communications",
62
626
  },
63
627
  ],
64
- }] %>
65
-
628
+ id: "1",
629
+ label: "Power Home Remodeling",
630
+ value: "Power Home Remodeling",
631
+ },
632
+ ]
633
+ %>
66
634
 
67
635
  <%= pb_rails("multi_level_select", props: {
68
636
  id: "parent-persistence-multi-level-select",
@@ -16,7 +16,7 @@ const treeData = {
16
16
  {
17
17
  label: 'No one can get me',
18
18
  value: 'anonymous',
19
- id:'default2',
19
+ id:'default3',
20
20
  },
21
21
  ],
22
22
  },