playbook_ui_docs 14.20.0.pre.alpha.revert4637revert4621PLAY2033atactionbarrails7855 → 14.20.0.pre.rc.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.
- checksums.yaml +4 -4
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_beta.md +2 -6
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_column_visibility_with_state.jsx +0 -1
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_column_visibility_with_state.md +1 -3
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_default.md +1 -1
- data/app/pb_kits/playbook/pb_advanced_table/docs/example.yml +0 -2
- data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_default.html.erb +10 -0
- data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_with_custom_display.jsx +0 -11
- data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_with_custom_display.md +1 -1
- data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_with_custom_display_rails.html.erb +2 -33
- data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_with_custom_display_rails.md +1 -3
- data/app/pb_kits/playbook/pb_dropdown/docs/example.yml +1 -11
- data/app/pb_kits/playbook/pb_dropdown/docs/index.js +0 -5
- data/app/pb_kits/playbook/pb_form/docs/_form_form_with.html.erb +0 -1
- data/app/pb_kits/playbook/pb_form/docs/_form_form_with_validate.html.erb +0 -1
- data/app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_color.html.erb +11 -11
- data/app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_color.jsx +11 -11
- data/app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_default.html.erb +11 -11
- data/app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_default.jsx +11 -11
- data/app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_disabled.html.erb +11 -11
- data/app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_disabled.jsx +11 -11
- data/app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_disabled_options.html.erb +11 -11
- data/app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_disabled_options.jsx +11 -11
- data/app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_disabled_options_default.html.erb +11 -11
- data/app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_disabled_options_default.jsx +11 -11
- data/app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_disabled_options_parent.html.erb +11 -11
- data/app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_disabled_options_parent.jsx +11 -11
- data/app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_disabled_options_parent_default.html.erb +11 -11
- data/app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_disabled_options_parent_default.jsx +11 -11
- data/app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_error.html.erb +11 -11
- data/app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_error.jsx +11 -11
- data/app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_label.html.erb +11 -11
- data/app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_label.jsx +11 -11
- data/app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_react_hook.jsx +11 -11
- data/app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_reset.html.erb +11 -11
- data/app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_return_all_selected.html.erb +11 -11
- data/app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_return_all_selected.jsx +11 -11
- data/app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_selected_ids.html.erb +11 -11
- data/app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_selected_ids.md +0 -2
- data/app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_selected_ids_react.jsx +11 -11
- data/app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_selected_ids_react.md +1 -3
- data/app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_single.html.erb +22 -22
- data/app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_single.jsx +22 -22
- data/app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_single_children_only.html.erb +22 -22
- data/app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_single_children_only.jsx +22 -22
- data/app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_with_children.jsx +11 -11
- data/app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_with_children_with_radios.jsx +11 -11
- data/app/pb_kits/playbook/pb_multi_level_select/docs/_multi_level_select_with_form.html.erb +11 -11
- data/app/pb_kits/playbook/pb_typeahead/docs/example.yml +0 -1
- data/app/pb_kits/playbook/pb_typeahead/docs/index.js +0 -1
- data/dist/playbook-doc.js +2 -2
- metadata +3 -25
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_selectable_rows_actions_rails.html.erb +0 -137
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_selectable_rows_actions_rails.md +0 -3
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_selectable_rows_header_rails.html.erb +0 -40
- data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_selectable_rows_header_rails.md +0 -1
- data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_default_rails.html.erb +0 -31
- data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_default_rails.md +0 -5
- data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_multi_select.jsx +0 -56
- data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_multi_select.md +0 -3
- data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_multi_select_display.jsx +0 -58
- data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_multi_select_display.md +0 -3
- data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_multi_select_display_rails.html.erb +0 -20
- data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_multi_select_display_rails.md +0 -1
- data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_multi_select_rails.html.erb +0 -19
- data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_multi_select_rails.md +0 -3
- data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_multi_select_with_autocomplete.html.erb +0 -20
- data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_multi_select_with_autocomplete.jsx +0 -57
- data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_multi_select_with_autocomplete.md +0 -1
- data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_multi_select_with_custom_options.html.erb +0 -50
- data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_multi_select_with_custom_options.jsx +0 -105
- data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_multi_select_with_default.html.erb +0 -22
- data/app/pb_kits/playbook/pb_dropdown/docs/_dropdown_multi_select_with_default.jsx +0 -67
- data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_preserve_input.jsx +0 -23
- data/app/pb_kits/playbook/pb_typeahead/docs/_typeahead_preserve_input.md +0 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ff2d019b5abd6484c31d09bc6ca745b354d5121f9e7462be866214da1c3231dd
|
4
|
+
data.tar.gz: 2c29674f75161acb7770a03ac2dc2bfcdda0fa5803cec3a30230717f71518d90
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d20ca232588c4ae79da0cab06e132a3458fdbdd2c8e772705da120464217af4b42e1419f2c546c6dd2a819fd8082bc7c8a7a9b47aeecc5f66a6dc0d52a8fe980
|
7
|
+
data.tar.gz: 9e074e2fbd029f9e86bff6cd7e0c9916663c8f911914df3222689f79b72a2dde002a7d0b39573c7ef72df3db13a08f240bcb2e0c75cbebbd5258e064b45af94f
|
@@ -1,8 +1,4 @@
|
|
1
|
-
The AdvancedTable kit accepts tree data and automatically renders expansion controls for nested subrows, to any depth, based on the data it is given. In it's simplest form, __the kit has
|
2
|
-
|
3
|
-
### id
|
4
|
-
|
5
|
-
A unique `id` is required to allow the table functionality to work properly. Without it, certain functions like the action bar will not be able to properly reference the correct table.
|
1
|
+
The AdvancedTable kit accepts tree data and automatically renders expansion controls for nested subrows, to any depth, based on the data it is given. In it's simplest form, __the kit has two required props__:
|
6
2
|
|
7
3
|
### table_data
|
8
4
|
|
@@ -17,6 +13,6 @@ Column definitions are the single most important part of building a table as the
|
|
17
13
|
- `accessor`: this is the key from your data for the value you want rendered in that column
|
18
14
|
- `label`: this is what will be rendered as the column header label
|
19
15
|
|
20
|
-
There is also one optional item that is only required if the table has nested data:
|
16
|
+
There is also one optional item that is only required if the table has nested data:
|
21
17
|
|
22
18
|
- `cellAccessors`: This is an array of strings that represent keys from your data object. This is only required for the first column in case of nested data. If you have nested data, the AdvancedTable needs to know what to render in that first column for nested items. This array represents the nested data in the order you want it rendered.
|
data/app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_column_visibility_with_state.md
CHANGED
@@ -1,3 +1 @@
|
|
1
|
-
The `columnVisibilityControl` prop also allows for greater control over the columnVisibility state. Devs can manage state themselves by passing in `value` and `onChange` as shown.
|
2
|
-
|
3
|
-
The additional `onColumnVisibilityChange` provides a callback with the current state as the argument if needed.
|
1
|
+
The `columnVisibilityControl` prop also allows for greater control over the columnVisibility state. Devs can manage state themselves by passing in `value` and `onChange` as shown.
|
@@ -3,7 +3,7 @@
|
|
3
3
|
<br />
|
4
4
|
<br />
|
5
5
|
|
6
|
-
The AdvancedTable kit accepts tree data and automatically renders expansion controls for nested subrows, to any depth, based on the data it is given. In it's simplest form, __the kit has two required props__:
|
6
|
+
The AdvancedTable kit accepts tree data and automatically renders expansion controls for nested subrows, to any depth, based on the data it is given. In it's simplest form, __the kit has two required props__:
|
7
7
|
|
8
8
|
### tableData
|
9
9
|
|
@@ -15,8 +15,6 @@ examples:
|
|
15
15
|
- advanced_table_column_border_color_rails: Column Group Border Color
|
16
16
|
- advanced_table_selectable_rows_rails: Selectable Rows
|
17
17
|
- advanced_table_selectable_rows_no_subrows_rails: Selectable Rows (No Subrows)
|
18
|
-
- advanced_table_selectable_rows_actions_rails: Selectable Rows (With Actions)
|
19
|
-
- advanced_table_selectable_rows_header_rails: Selectable Rows (No Actions Bar)
|
20
18
|
|
21
19
|
react:
|
22
20
|
- advanced_table_default: Default (Required Props)
|
@@ -6,7 +6,6 @@ import Flex from '../../pb_flex/_flex'
|
|
6
6
|
import FlexItem from '../../pb_flex/_flex_item'
|
7
7
|
import Avatar from '../../pb_avatar/_avatar'
|
8
8
|
import User from '../../pb_user/_user'
|
9
|
-
import Body from '../../pb_body/_body'
|
10
9
|
|
11
10
|
const DropdownWithCustomDisplay = (props) => {
|
12
11
|
const [selectedOption, setSelectedOption] = useState();
|
@@ -51,20 +50,10 @@ const DropdownWithCustomDisplay = (props) => {
|
|
51
50
|
<>
|
52
51
|
{
|
53
52
|
selectedOption && (
|
54
|
-
<Flex align="center">
|
55
53
|
<Avatar
|
56
54
|
name={selectedOption.label}
|
57
55
|
size="xs"
|
58
56
|
/>
|
59
|
-
<Body
|
60
|
-
marginX="xs"
|
61
|
-
text={selectedOption.label}
|
62
|
-
/>
|
63
|
-
<Badge
|
64
|
-
text={selectedOption.status}
|
65
|
-
variant={selectedOption.status == "Offline" ? "neutral" : selectedOption.status == "Online" ? "success" : "warning"}
|
66
|
-
/>
|
67
|
-
</Flex>
|
68
57
|
)
|
69
58
|
}
|
70
59
|
</>
|
@@ -1,4 +1,4 @@
|
|
1
|
-
Optionally utilize `customDisplay` on the `Dropdown.Trigger` subcomponent to customize its content after an option is selected.
|
1
|
+
Optionally utilize `customDisplay` on the `Dropdown.Trigger` subcomponent to customize its content after an option is selected. The component passed to customDisplay will be rendered to the left of the default text-based display. In this example the Avatar kit is being used.
|
2
2
|
|
3
3
|
The `placeholder` prop can also be used to customize the placeholder text for the default `Dropdown.Trigger`.
|
4
4
|
|
@@ -38,11 +38,7 @@
|
|
38
38
|
|
39
39
|
<%
|
40
40
|
custom_display = capture do
|
41
|
-
pb_rails("
|
42
|
-
concat(pb_rails("avatar", props: { name: "", size: "xs", id: "dropdown-avatar" }))
|
43
|
-
concat(pb_rails("body", props: { text: "", size: "xs", margin_x: "xs", id: "dropdown-avatar-name" }))
|
44
|
-
concat(pb_rails("badge", props: { text: "", id: "dropdown-avatar-status" }))
|
45
|
-
end
|
41
|
+
pb_rails("avatar", props: { name: "Courtney Long", size: "xs" })
|
46
42
|
end
|
47
43
|
%>
|
48
44
|
|
@@ -66,31 +62,4 @@
|
|
66
62
|
<% end %>
|
67
63
|
<% end %>
|
68
64
|
<% end %>
|
69
|
-
<% end %>
|
70
|
-
|
71
|
-
|
72
|
-
<script>
|
73
|
-
document.addEventListener("pb:dropdown:selected", (e) => {
|
74
|
-
const option = e.detail;
|
75
|
-
const dropdown = e.target;
|
76
|
-
|
77
|
-
const display = dropdown.querySelector("#dropdown_trigger_custom_display");
|
78
|
-
if (!display) return;
|
79
|
-
|
80
|
-
const nameEl = display.querySelector("#dropdown-avatar-name");
|
81
|
-
if (nameEl) nameEl.textContent = option.label;
|
82
|
-
|
83
|
-
const avatarEl = display.querySelector("#dropdown-avatar").querySelector(".avatar_wrapper");
|
84
|
-
const initials = (option.label[0] + option.label.split(" ").pop()[0]).toUpperCase();
|
85
|
-
if (avatarEl) {
|
86
|
-
avatarEl.dataset.name = option.label;
|
87
|
-
avatarEl.setAttribute("data-initials", initials);
|
88
|
-
}
|
89
|
-
const badgeEl = display.querySelector("#dropdown-avatar-status");
|
90
|
-
const variant = option.status === "Online" ? "success" : option.status === "Offline" ? "neutral" : "warning";
|
91
|
-
if (badgeEl) {
|
92
|
-
badgeEl.querySelector("span").textContent = option.status;
|
93
|
-
badgeEl.className = 'pb_badge_kit_' + variant;
|
94
|
-
}
|
95
|
-
});
|
96
|
-
</script>
|
65
|
+
<% end %>
|
@@ -1,6 +1,4 @@
|
|
1
|
-
Optionally utilize `custom_display` on the `dropdown/dropdown_trigger` subcomponent to customize its content after an option is selected.
|
2
|
-
|
3
|
-
Make use of a script to help set the custom_display with the correct value. By using the pb:dropdown:selected event listener, you can target the kits with a querySelector and update them dynamically with the values needed to match the selected option. Make sure to add an ID to the kits being passed in.
|
1
|
+
Optionally utilize `custom_display` on the `dropdown/dropdown_trigger` subcomponent to customize its content after an option is selected. The component passed to custom_display will be rendered to the left of the default text-based display. In this example the Avatar kit is being used.
|
4
2
|
|
5
3
|
The `placeholder` prop can also be used to customize the placeholder text for the default `dropdown/dropdown_trigger`.
|
6
4
|
|
@@ -1,45 +1,35 @@
|
|
1
1
|
examples:
|
2
2
|
rails:
|
3
|
-
-
|
3
|
+
- dropdown_default: Default
|
4
4
|
- dropdown_with_autocomplete: Autocomplete
|
5
|
-
- dropdown_multi_select_rails: Multi Select
|
6
|
-
- dropdown_multi_select_with_autocomplete: Multi Select with Autocomplete
|
7
|
-
- dropdown_multi_select_display_rails: Multi Select with Form Pill Props
|
8
5
|
- dropdown_subtle_variant: Subtle Variant
|
9
6
|
- dropdown_subcomponent_structure_rails: Subcomponent Structure
|
10
7
|
- dropdown_with_autocomplete_with_subcomponents: Autocomplete with Subcomponent Structure
|
11
8
|
- dropdown_with_label: With Label
|
12
9
|
- dropdown_with_custom_options_rails: Custom Options
|
13
|
-
- dropdown_multi_select_with_custom_options: Multi Select with Custom Options
|
14
10
|
- dropdown_with_custom_display_rails: Custom Display
|
15
11
|
- dropdown_with_custom_trigger_rails: Custom Trigger
|
16
12
|
- dropdown_with_search_rails: Custom Trigger Dropdown with Search
|
17
13
|
- dropdown_with_custom_padding: Custom Option Padding
|
18
14
|
- dropdown_error: Dropdown with Error
|
19
15
|
- dropdown_default_value: Default Value
|
20
|
-
- dropdown_multi_select_with_default: Multi Select Default Value
|
21
16
|
- dropdown_blank_selection: Blank Selection
|
22
17
|
- dropdown_separators_hidden: Separators Hidden
|
23
18
|
|
24
19
|
react:
|
25
20
|
- dropdown_default: Default
|
26
21
|
- dropdown_with_autocomplete: Autocomplete
|
27
|
-
- dropdown_multi_select: Multi Select
|
28
|
-
- dropdown_multi_select_with_autocomplete: Multi Select with Autocomplete
|
29
|
-
- dropdown_multi_select_display: Multi Select with Form Pill Props
|
30
22
|
- dropdown_subtle_variant: Subtle Variant
|
31
23
|
- dropdown_subcomponent_structure: Subcomponent Structure
|
32
24
|
- dropdown_with_autocomplete_with_subcomponents: Autocomplete with Subcomponent Structure
|
33
25
|
- dropdown_with_label: With Label
|
34
26
|
- dropdown_with_custom_options: Custom Options
|
35
|
-
- dropdown_multi_select_with_custom_options: Multi Select with Custom Options
|
36
27
|
- dropdown_with_custom_display: Custom Display
|
37
28
|
- dropdown_with_custom_trigger: Custom Trigger
|
38
29
|
- dropdown_with_search: Custom Trigger Dropdown with Search
|
39
30
|
- dropdown_with_custom_padding: Custom Option Padding
|
40
31
|
- dropdown_error: Dropdown with Error
|
41
32
|
- dropdown_default_value: Default Value
|
42
|
-
- dropdown_multi_select_with_default: Multi Select Default Value
|
43
33
|
- dropdown_blank_selection: Blank Selection
|
44
34
|
- dropdown_clear_selection: Clear Selection
|
45
35
|
- dropdown_separators_hidden: Separators Hidden
|
@@ -15,8 +15,3 @@ export { default as DropdownClearSelection } from './_dropdown_clear_selection.j
|
|
15
15
|
export { default as DropdownSubtleVariant } from './_dropdown_subtle_variant.jsx'
|
16
16
|
export { default as DropdownSeparatorsHidden } from './_dropdown_separators_hidden.jsx'
|
17
17
|
export {default as DropdownWithSearch} from './_dropdown_with_search.jsx'
|
18
|
-
export { default as DropdownMultiSelect } from './_dropdown_multi_select.jsx'
|
19
|
-
export { default as DropdownMultiSelectDisplay } from './_dropdown_multi_select_display.jsx'
|
20
|
-
export { default as DropdownMultiSelectWithAutocomplete } from './_dropdown_multi_select_with_autocomplete.jsx'
|
21
|
-
export { default as DropdownMultiSelectWithDefault } from './_dropdown_multi_select_with_default.jsx'
|
22
|
-
export { default as DropdownMultiSelectWithCustomOptions } from './_dropdown_multi_select_with_custom_options.jsx'
|
@@ -99,7 +99,6 @@
|
|
99
99
|
<%= form.url_field :example_url_field, props: { label: true } %>
|
100
100
|
<%= form.text_area :example_text_area, props: { label: true } %>
|
101
101
|
<%= form.dropdown_field :example_dropdown, props: { label: true, options: example_dropdown_options } %>
|
102
|
-
<%= form.dropdown_field :example_dropdown_multi, props: { label: true, options: example_dropdown_options, multi_select: true } %>
|
103
102
|
<%= form.select :example_select, [ ["Yes", 1], ["No", 2] ], props: { label: true } %>
|
104
103
|
<%= form.collection_select :example_collection_select, example_collection, :value, :name, props: { label: true } %>
|
105
104
|
<%= form.check_box :example_checkbox,
|
@@ -98,7 +98,6 @@
|
|
98
98
|
<%= form.url_field :example_url_field_validation, props: { label: true, required: true } %>
|
99
99
|
<%= form.text_area :example_text_area_validation, props: { label: true, required: true } %>
|
100
100
|
<%= form.dropdown_field :example_dropdown_validation, props: { label: true, options: example_dropdown_options, required: true } %>
|
101
|
-
<%= form.dropdown_field :example_dropdown_validation_multi, props: { label: true, options: example_dropdown_options, multi_select: true, required: true } %>
|
102
101
|
<%= form.select :example_select_validation, [ ["Yes", 1], ["No", 2] ], props: { label: true, blank_selection: "Select One...", required: true, validation_message: "Please, select an option." } %>
|
103
102
|
<%= form.collection_select :example_collection_select_validation, example_collection, :value, :name, props: { label: true, blank_selection: "Select One...", required: true } %>
|
104
103
|
<%= form.check_box :example_checkbox, props: { text: "Example Checkbox", label: true, required: true } %>
|
@@ -1,62 +1,62 @@
|
|
1
1
|
<% treeData = [{
|
2
2
|
label: "Power Home Remodeling",
|
3
|
-
value: "
|
3
|
+
value: "Power Home Remodeling",
|
4
4
|
id: "100",
|
5
5
|
expanded: true,
|
6
6
|
children: [
|
7
7
|
{
|
8
8
|
label: "People",
|
9
|
-
value: "
|
9
|
+
value: "People",
|
10
10
|
id: "101",
|
11
11
|
expanded: true,
|
12
12
|
children: [
|
13
13
|
{
|
14
14
|
label: "Talent Acquisition",
|
15
|
-
value: "
|
15
|
+
value: "Talent Acquisition",
|
16
16
|
id: "102",
|
17
17
|
},
|
18
18
|
{
|
19
19
|
label: "Business Affairs",
|
20
|
-
value: "
|
20
|
+
value: "Business Affairs",
|
21
21
|
id: "103",
|
22
22
|
children: [
|
23
23
|
{
|
24
24
|
label: "Initiatives",
|
25
|
-
value: "
|
25
|
+
value: "Initiatives",
|
26
26
|
id: "104",
|
27
27
|
},
|
28
28
|
{
|
29
29
|
label: "Learning & Development",
|
30
|
-
value: "
|
30
|
+
value: "Learning & Development",
|
31
31
|
id: "105",
|
32
32
|
},
|
33
33
|
],
|
34
34
|
},
|
35
35
|
{
|
36
36
|
label: "People Experience",
|
37
|
-
value: "
|
37
|
+
value: "People Experience",
|
38
38
|
id: "106",
|
39
39
|
},
|
40
40
|
],
|
41
41
|
},
|
42
42
|
{
|
43
43
|
label: "Contact Center",
|
44
|
-
value: "
|
44
|
+
value: "Contact Center",
|
45
45
|
id: "107",
|
46
46
|
children: [
|
47
47
|
{
|
48
48
|
label: "Appointment Management",
|
49
|
-
value: "
|
49
|
+
value: "Appointment Management",
|
50
50
|
id: "108",
|
51
51
|
},
|
52
52
|
{
|
53
53
|
label: "Customer Service",
|
54
|
-
value: "
|
54
|
+
value: "Customer Service",
|
55
55
|
id: "109",
|
56
56
|
},
|
57
57
|
{
|
58
58
|
label: "Energy",
|
59
|
-
value: "
|
59
|
+
value: "Energy",
|
60
60
|
id: "110",
|
61
61
|
},
|
62
62
|
],
|
@@ -4,63 +4,63 @@ import MultiLevelSelect from "../_multi_level_select";
|
|
4
4
|
const treeData = [
|
5
5
|
{
|
6
6
|
label: "Power Home Remodeling",
|
7
|
-
value: "
|
7
|
+
value: "Power Home Remodeling",
|
8
8
|
id: "powerhome1",
|
9
9
|
expanded: true,
|
10
10
|
children: [
|
11
11
|
{
|
12
12
|
label: "People",
|
13
|
-
value: "
|
13
|
+
value: "People",
|
14
14
|
id: "people1",
|
15
15
|
expanded: true,
|
16
16
|
children: [
|
17
17
|
{
|
18
18
|
label: "Talent Acquisition",
|
19
|
-
value: "
|
19
|
+
value: "Talent Acquisition",
|
20
20
|
id: "talent1",
|
21
21
|
},
|
22
22
|
{
|
23
23
|
label: "Business Affairs",
|
24
|
-
value: "
|
24
|
+
value: "Business Affairs",
|
25
25
|
id: "business1",
|
26
26
|
children: [
|
27
27
|
{
|
28
28
|
label: "Initiatives",
|
29
|
-
value: "
|
29
|
+
value: "Initiatives",
|
30
30
|
id: "initiative1",
|
31
31
|
},
|
32
32
|
{
|
33
33
|
label: "Learning & Development",
|
34
|
-
value: "
|
34
|
+
value: "Learning & Development",
|
35
35
|
id: "development1",
|
36
36
|
},
|
37
37
|
],
|
38
38
|
},
|
39
39
|
{
|
40
40
|
label: "People Experience",
|
41
|
-
value: "
|
41
|
+
value: "People Experience",
|
42
42
|
id: "experience1",
|
43
43
|
},
|
44
44
|
],
|
45
45
|
},
|
46
46
|
{
|
47
47
|
label: "Contact Center",
|
48
|
-
value: "
|
48
|
+
value: "Contact Center",
|
49
49
|
id: "contact1",
|
50
50
|
children: [
|
51
51
|
{
|
52
52
|
label: "Appointment Management",
|
53
|
-
value: "
|
53
|
+
value: "Appointment Management",
|
54
54
|
id: "appointment1",
|
55
55
|
},
|
56
56
|
{
|
57
57
|
label: "Customer Service",
|
58
|
-
value: "
|
58
|
+
value: "Customer Service",
|
59
59
|
id: "customer1",
|
60
60
|
},
|
61
61
|
{
|
62
62
|
label: "Energy",
|
63
|
-
value: "
|
63
|
+
value: "Energy",
|
64
64
|
id: "energy1",
|
65
65
|
},
|
66
66
|
],
|
@@ -1,62 +1,62 @@
|
|
1
1
|
<% treeData = [{
|
2
2
|
label: "Power Home Remodeling",
|
3
|
-
value: "
|
3
|
+
value: "Power Home Remodeling",
|
4
4
|
id: "100",
|
5
5
|
expanded: true,
|
6
6
|
children: [
|
7
7
|
{
|
8
8
|
label: "People",
|
9
|
-
value: "
|
9
|
+
value: "People",
|
10
10
|
id: "101",
|
11
11
|
expanded: true,
|
12
12
|
children: [
|
13
13
|
{
|
14
14
|
label: "Talent Acquisition",
|
15
|
-
value: "
|
15
|
+
value: "Talent Acquisition",
|
16
16
|
id: "102",
|
17
17
|
},
|
18
18
|
{
|
19
19
|
label: "Business Affairs",
|
20
|
-
value: "
|
20
|
+
value: "Business Affairs",
|
21
21
|
id: "103",
|
22
22
|
children: [
|
23
23
|
{
|
24
24
|
label: "Initiatives",
|
25
|
-
value: "
|
25
|
+
value: "Initiatives",
|
26
26
|
id: "104",
|
27
27
|
},
|
28
28
|
{
|
29
29
|
label: "Learning & Development",
|
30
|
-
value: "
|
30
|
+
value: "Learning & Development",
|
31
31
|
id: "105",
|
32
32
|
},
|
33
33
|
],
|
34
34
|
},
|
35
35
|
{
|
36
36
|
label: "People Experience",
|
37
|
-
value: "
|
37
|
+
value: "People Experience",
|
38
38
|
id: "106",
|
39
39
|
},
|
40
40
|
],
|
41
41
|
},
|
42
42
|
{
|
43
43
|
label: "Contact Center",
|
44
|
-
value: "
|
44
|
+
value: "Contact Center",
|
45
45
|
id: "107",
|
46
46
|
children: [
|
47
47
|
{
|
48
48
|
label: "Appointment Management",
|
49
|
-
value: "
|
49
|
+
value: "Appointment Management",
|
50
50
|
id: "108",
|
51
51
|
},
|
52
52
|
{
|
53
53
|
label: "Customer Service",
|
54
|
-
value: "
|
54
|
+
value: "Customer Service",
|
55
55
|
id: "109",
|
56
56
|
},
|
57
57
|
{
|
58
58
|
label: "Energy",
|
59
|
-
value: "
|
59
|
+
value: "Energy",
|
60
60
|
id: "110",
|
61
61
|
},
|
62
62
|
],
|
@@ -4,63 +4,63 @@ import MultiLevelSelect from "../_multi_level_select";
|
|
4
4
|
const treeData = [
|
5
5
|
{
|
6
6
|
label: "Power Home Remodeling",
|
7
|
-
value: "
|
7
|
+
value: "Power Home Remodeling",
|
8
8
|
id: "powerhome1",
|
9
9
|
expanded: true,
|
10
10
|
children: [
|
11
11
|
{
|
12
12
|
label: "People",
|
13
|
-
value: "
|
13
|
+
value: "People",
|
14
14
|
id: "people1",
|
15
15
|
expanded: true,
|
16
16
|
children: [
|
17
17
|
{
|
18
18
|
label: "Talent Acquisition",
|
19
|
-
value: "
|
19
|
+
value: "Talent Acquisition",
|
20
20
|
id: "talent1",
|
21
21
|
},
|
22
22
|
{
|
23
23
|
label: "Business Affairs",
|
24
|
-
value: "
|
24
|
+
value: "Business Affairs",
|
25
25
|
id: "business1",
|
26
26
|
children: [
|
27
27
|
{
|
28
28
|
label: "Initiatives",
|
29
|
-
value: "
|
29
|
+
value: "Initiatives",
|
30
30
|
id: "initiative1",
|
31
31
|
},
|
32
32
|
{
|
33
33
|
label: "Learning & Development",
|
34
|
-
value: "
|
34
|
+
value: "Learning & Development",
|
35
35
|
id: "development1",
|
36
36
|
},
|
37
37
|
],
|
38
38
|
},
|
39
39
|
{
|
40
40
|
label: "People Experience",
|
41
|
-
value: "
|
41
|
+
value: "People Experience",
|
42
42
|
id: "experience1",
|
43
43
|
},
|
44
44
|
],
|
45
45
|
},
|
46
46
|
{
|
47
47
|
label: "Contact Center",
|
48
|
-
value: "
|
48
|
+
value: "Contact Center",
|
49
49
|
id: "contact1",
|
50
50
|
children: [
|
51
51
|
{
|
52
52
|
label: "Appointment Management",
|
53
|
-
value: "
|
53
|
+
value: "Appointment Management",
|
54
54
|
id: "appointment1",
|
55
55
|
},
|
56
56
|
{
|
57
57
|
label: "Customer Service",
|
58
|
-
value: "
|
58
|
+
value: "Customer Service",
|
59
59
|
id: "customer1",
|
60
60
|
},
|
61
61
|
{
|
62
62
|
label: "Energy",
|
63
|
-
value: "
|
63
|
+
value: "Energy",
|
64
64
|
id: "energy1",
|
65
65
|
},
|
66
66
|
],
|
@@ -1,62 +1,62 @@
|
|
1
1
|
<% treeData = [{
|
2
2
|
label: "Power Home Remodeling",
|
3
|
-
value: "
|
3
|
+
value: "Power Home Remodeling",
|
4
4
|
id: "100",
|
5
5
|
expanded: true,
|
6
6
|
children: [
|
7
7
|
{
|
8
8
|
label: "People",
|
9
|
-
value: "
|
9
|
+
value: "People",
|
10
10
|
id: "101",
|
11
11
|
expanded: true,
|
12
12
|
children: [
|
13
13
|
{
|
14
14
|
label: "Talent Acquisition",
|
15
|
-
value: "
|
15
|
+
value: "Talent Acquisition",
|
16
16
|
id: "102",
|
17
17
|
},
|
18
18
|
{
|
19
19
|
label: "Business Affairs",
|
20
|
-
value: "
|
20
|
+
value: "Business Affairs",
|
21
21
|
id: "103",
|
22
22
|
children: [
|
23
23
|
{
|
24
24
|
label: "Initiatives",
|
25
|
-
value: "
|
25
|
+
value: "Initiatives",
|
26
26
|
id: "104",
|
27
27
|
},
|
28
28
|
{
|
29
29
|
label: "Learning & Development",
|
30
|
-
value: "
|
30
|
+
value: "Learning & Development",
|
31
31
|
id: "105",
|
32
32
|
},
|
33
33
|
],
|
34
34
|
},
|
35
35
|
{
|
36
36
|
label: "People Experience",
|
37
|
-
value: "
|
37
|
+
value: "People Experience",
|
38
38
|
id: "106",
|
39
39
|
},
|
40
40
|
],
|
41
41
|
},
|
42
42
|
{
|
43
43
|
label: "Contact Center",
|
44
|
-
value: "
|
44
|
+
value: "Contact Center",
|
45
45
|
id: "107",
|
46
46
|
children: [
|
47
47
|
{
|
48
48
|
label: "Appointment Management",
|
49
|
-
value: "
|
49
|
+
value: "Appointment Management",
|
50
50
|
id: "108",
|
51
51
|
},
|
52
52
|
{
|
53
53
|
label: "Customer Service",
|
54
|
-
value: "
|
54
|
+
value: "Customer Service",
|
55
55
|
id: "109",
|
56
56
|
},
|
57
57
|
{
|
58
58
|
label: "Energy",
|
59
|
-
value: "
|
59
|
+
value: "Energy",
|
60
60
|
id: "110",
|
61
61
|
},
|
62
62
|
],
|