playbook_ui_docs 14.19.0.pre.alpha.PLAY2033atactionbarrails7730 → 14.19.0.pre.alpha.PLAY2172homeaddressstreetundefinedstatebug7716
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.
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: playbook_ui_docs
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 14.19.0.pre.alpha.
|
4
|
+
version: 14.19.0.pre.alpha.PLAY2172homeaddressstreetundefinedstatebug7716
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Power UX
|
@@ -95,7 +95,6 @@ files:
|
|
95
95
|
- app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_selectable_rows.md
|
96
96
|
- app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_selectable_rows_actions.jsx
|
97
97
|
- app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_selectable_rows_actions.md
|
98
|
-
- app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_selectable_rows_actions_rails.html.erb
|
99
98
|
- app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_selectable_rows_header.jsx
|
100
99
|
- app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_selectable_rows_header.md
|
101
100
|
- app/pb_kits/playbook/pb_advanced_table/docs/_advanced_table_selectable_rows_no_subrows_rails.html.erb
|
@@ -1,56 +0,0 @@
|
|
1
|
-
<%
|
2
|
-
# Define column definitions
|
3
|
-
column_definitions = [
|
4
|
-
{
|
5
|
-
accessor: "year",
|
6
|
-
label: "Year",
|
7
|
-
cellAccessors: ["quarter", "month", "day"],
|
8
|
-
},
|
9
|
-
{
|
10
|
-
accessor: "newEnrollments",
|
11
|
-
label: "New Enrollments",
|
12
|
-
},
|
13
|
-
{
|
14
|
-
accessor: "scheduledMeetings",
|
15
|
-
label: "Scheduled Meetings",
|
16
|
-
},
|
17
|
-
{
|
18
|
-
accessor: "attendanceRate",
|
19
|
-
label: "Attendance Rate",
|
20
|
-
},
|
21
|
-
{
|
22
|
-
accessor: "completedClasses",
|
23
|
-
label: "Completed Classes",
|
24
|
-
},
|
25
|
-
{
|
26
|
-
accessor: "classCompletionRate",
|
27
|
-
label: "Class Completion Rate",
|
28
|
-
},
|
29
|
-
{
|
30
|
-
accessor: "graduatedStudents",
|
31
|
-
label: "Graduated Students",
|
32
|
-
}
|
33
|
-
]
|
34
|
-
|
35
|
-
# Define actions for the selection bar
|
36
|
-
actions = [
|
37
|
-
pb_rails("circle_icon_button", props: {
|
38
|
-
icon: "file-csv",
|
39
|
-
variant: "link"
|
40
|
-
}),
|
41
|
-
pb_rails("circle_icon_button", props: {
|
42
|
-
icon: "trash-alt",
|
43
|
-
variant: "link"
|
44
|
-
})
|
45
|
-
]
|
46
|
-
%>
|
47
|
-
|
48
|
-
<%= pb_rails("advanced_table", props: {
|
49
|
-
id: "selectable_rows_with_actions",
|
50
|
-
table_data: @table_data_no_subrows,
|
51
|
-
column_definitions: column_definitions,
|
52
|
-
selectable_rows: true,
|
53
|
-
enable_toggle_expansion: "none",
|
54
|
-
actions: actions,
|
55
|
-
show_actions_bar: true
|
56
|
-
}) %>
|