CARVIEW |
Select Language
HTTP/2 200
date: Sat, 19 Jul 2025 17:11:35 GMT
content-type: text/html; charset=utf-8
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
x-repository-download: git clone https://github.com/vuematerial/vue-material.git
etag: W/"356a379db3781cb06fa30ecd947beb49"
cache-control: max-age=0, private, must-revalidate
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-content-type-options: nosniff
x-xss-protection: 0
referrer-policy: no-referrer-when-downgrade
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
server: github.com
content-encoding: gzip
accept-ranges: bytes
set-cookie: _gh_sess=G5Cv57UEJJdi5ZezZ%2Fv93K8ISDbpNvejkiWOKDLLWSEnc6tyNV%2BBzKJRIegdOhpLamGwRc4XzGRvHPfAeHMqvnXBLYiJtiAL7wZEyC8UEN%2BQ5mSvH%2B%2BpDt7mb6UZVYJNjA%2BAGQqUlYSWvxbyM1zjmAkxkgLnadjnECsZzBqPH0mOzK88bmrXXFvO7h%2FSSTDBmG59%2BkRuBRy6ry%2BU4xVYDv7O21mEOC%2FvvTXSgIFOyU4hQqKzbE9Ry1zADMmv4tG6Cp8O1MeHvkBPt7J%2F5J%2FhNw%3D%3D--xcQ3MadpinxxIgM%2B--iJF2BasDZ4acwyz7m0OU3Q%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.1078709133.1752945095; Path=/; Domain=github.com; Expires=Sun, 19 Jul 2026 17:11:35 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Sun, 19 Jul 2026 17:11:35 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: DA00:1A6C04:8F463E:B996E1:687BD1C6
feat(MdTable): reactive selection (#1358) · vuematerial/vue-material@906a91d · GitHub
Copy file name to clipboardExpand all lines: docs/app/pages/Components/Table/examples/TableSingle.vue
Copy file name to clipboardExpand all lines: src/components/MdTable/MdTable.vue
Copy file name to clipboardExpand all lines: src/components/MdTable/MdTableHeadSelection.vue
Copy file name to clipboardExpand all lines: src/components/MdTable/MdTableRow.vue
Copy file name to clipboardExpand all lines: src/components/MdTable/MdTableRowGhost.vue
Skip to content
Navigation Menu
{{ message }}
-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit 906a91d
feat(MdTable): reactive selection (#1358)
* fix(MdTable): multiple selection with table sorting
an easy way to handle multiple selection
fix #1348
* refactor(MdTable): single selection using instance comparing instead of id comparing
both `MdTable` and `MdTableRow` emit `md-selected` event to avoid breaking change
* feat(MdTable): new props `:md-selected-value.sync` for reactive selection
fix #1292
* fix(MdTable): `syncSelectedValue` without `mdSelectedValue` in multiple selecting mode
* fix(MdTableHeadSelection): fix `allSelected`, now disabled row could be tick from `md-selected-value
* fix(MdTableRow): remove `md-selected` event
too many duplicated events on a selection. It should be emit from `MdTable`
BREAKING CHANGE: no more `md-selected` event from `MdTableRow`
* fix(MdTable): select event should be triggered after select update event
* fix(MdTableHeadSelection): select all only take effect on selectable items1 parent ba876d7 commit 906a91dCopy full SHA for 906a91d
File tree
Expand file treeCollapse file tree
5 files changed
+97
-59
lines changedFilter options
- docs/app/pages/Components/Table/examples
- src/components/MdTable
Expand file treeCollapse file tree
5 files changed
+97
-59
lines changeddocs/app/pages/Components/Table/examples/TableSingle.vue
Copy file name to clipboardExpand all lines: docs/app/pages/Components/Table/examples/TableSingle.vue+2-2Lines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | 1 |
| |
2 | 2 |
| |
3 |
| - | |
| 3 | + | |
4 | 4 |
| |
5 | 5 |
| |
6 | 6 |
| |
7 | 7 |
| |
8 |
| - | |
| 8 | + | |
9 | 9 |
| |
10 | 10 |
| |
11 | 11 |
| |
|
src/components/MdTable/MdTable.vue
Copy file name to clipboardExpand all lines: src/components/MdTable/MdTable.vue+43-15Lines changed: 43 additions & 15 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
27 | 27 |
| |
28 | 28 |
| |
29 | 29 |
| |
30 |
| - | |
| 30 | + | |
| 31 | + | |
31 | 32 |
| |
32 | 33 |
| |
33 | 34 |
| |
| |||
69 | 70 |
| |
70 | 71 |
| |
71 | 72 |
| |
72 |
| - | |
| 73 | + | |
73 | 74 |
| |
74 | 75 |
| |
75 | 76 |
| |
| |||
119 | 120 |
| |
120 | 121 |
| |
121 | 122 |
| |
| 123 | + | |
| 124 | + | |
| 125 | + | |
122 | 126 |
| |
123 | 127 |
| |
124 | 128 |
| |
| |||
130 | 134 |
| |
131 | 135 |
| |
132 | 136 |
| |
133 |
| - | |
134 |
| - | |
| 137 | + | |
| 138 | + | |
135 | 139 |
| |
136 | 140 |
| |
137 | 141 |
| |
| |||
142 | 146 |
| |
143 | 147 |
| |
144 | 148 |
| |
145 |
| - | |
| 149 | + | |
| 150 | + | |
146 | 151 |
| |
147 | 152 |
| |
148 | 153 |
| |
| |||
158 | 163 |
| |
159 | 164 |
| |
160 | 165 |
| |
161 |
| - | |
| 166 | + | |
162 | 167 |
| |
163 | 168 |
| |
164 | 169 |
| |
| |||
213 | 218 |
| |
214 | 219 |
| |
215 | 220 |
| |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
216 | 230 |
| |
217 | 231 |
| |
218 | 232 |
| |
| |||
251 | 265 |
| |
252 | 266 |
| |
253 | 267 |
| |
254 |
| - | |
255 |
| - | |
256 |
| - | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
257 | 271 |
| |
258 |
| - | |
| 272 | + | |
259 | 273 |
| |
260 |
| - | |
261 |
| - | |
262 |
| - | |
263 |
| - | |
264 |
| - | |
265 | 274 |
| |
266 | 275 |
| |
267 | 276 |
| |
268 | 277 |
| |
269 | 278 |
| |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
270 | 293 |
| |
271 | 294 |
| |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
272 | 300 |
| |
273 | 301 |
| |
274 | 302 |
| |
|
src/components/MdTable/MdTableHeadSelection.vue
Copy file name to clipboardExpand all lines: src/components/MdTable/MdTableHeadSelection.vue+13-22Lines changed: 13 additions & 22 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | 1 |
| |
2 | 2 |
| |
3 | 3 |
| |
4 |
| - | |
| 4 | + | |
5 | 5 |
| |
6 | 6 |
| |
7 | 7 |
| |
| |||
15 | 15 |
| |
16 | 16 |
| |
17 | 17 |
| |
18 |
| - | |
19 |
| - | |
20 |
| - | |
21 | 18 |
| |
22 | 19 |
| |
23 | 20 |
| |
| |||
30 | 27 |
| |
31 | 28 |
| |
32 | 29 |
| |
33 |
| - | |
34 |
| - | |
35 |
| - | |
36 |
| - | |
37 |
| - | |
38 |
| - | |
39 |
| - | |
40 |
| - | |
41 |
| - | |
42 |
| - | |
43 |
| - | |
44 |
| - | |
45 |
| - | |
46 |
| - | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
47 | 34 |
| |
| 35 | + | |
| 36 | + | |
48 | 37 |
| |
49 | 38 |
| |
50 | 39 |
| |
51 |
| - | |
52 |
| - | |
53 |
| - | |
54 |
| - | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
55 | 46 |
| |
56 | 47 |
| |
57 | 48 |
| |
|
src/components/MdTable/MdTableRow.vue
Copy file name to clipboardExpand all lines: src/components/MdTable/MdTableRow.vue+36-19Lines changed: 36 additions & 19 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
27 | 27 |
| |
28 | 28 |
| |
29 | 29 |
| |
30 |
| - | |
| 30 | + | |
| 31 | + | |
31 | 32 |
| |
32 | 33 |
| |
33 | 34 |
| |
| |||
39 | 40 |
| |
40 | 41 |
| |
41 | 42 |
| |
42 |
| - | |
| 43 | + | |
43 | 44 |
| |
44 | 45 |
| |
45 | 46 |
| |
| |||
55 | 56 |
| |
56 | 57 |
| |
57 | 58 |
| |
| 59 | + | |
| 60 | + | |
| 61 | + | |
58 | 62 |
| |
59 | 63 |
| |
60 | 64 |
| |
| |||
65 | 69 |
| |
66 | 70 |
| |
67 | 71 |
| |
68 |
| - | |
69 |
| - | |
70 |
| - | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
71 | 83 |
| |
72 |
| - | |
73 |
| - | |
| 84 | + | |
| 85 | + | |
74 | 86 |
| |
75 | 87 |
| |
76 | 88 |
| |
| |||
87 | 99 |
| |
88 | 100 |
| |
89 | 101 |
| |
90 |
| - | |
| 102 | + | |
91 | 103 |
| |
92 |
| - | |
93 | 104 |
| |
94 |
| - | |
95 |
| - | |
| 105 | + | |
96 | 106 |
| |
97 | 107 |
| |
98 | 108 |
| |
99 | 109 |
| |
100 | 110 |
| |
101 | 111 |
| |
102 | 112 |
| |
103 |
| - | |
104 |
| - | |
105 |
| - | |
106 |
| - | |
107 |
| - | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
108 | 116 |
| |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
109 | 123 |
| |
110 |
| - | |
111 |
| - | |
112 |
| - | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
113 | 127 |
| |
| 128 | + | |
| 129 | + | |
114 | 130 |
| |
115 | 131 |
| |
116 | 132 |
| |
117 | 133 |
| |
| 134 | + | |
118 | 135 |
| |
119 | 136 |
| |
120 | 137 |
| |
|
src/components/MdTable/MdTableRowGhost.vue
Copy file name to clipboardExpand all lines: src/components/MdTable/MdTableRowGhost.vue+3-1Lines changed: 3 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
4 | 4 |
| |
5 | 5 |
| |
6 | 6 |
| |
7 |
| - | |
| 7 | + | |
| 8 | + | |
8 | 9 |
| |
9 | 10 |
| |
10 | 11 |
| |
11 | 12 |
| |
| 13 | + | |
12 | 14 |
| |
13 | 15 |
| |
14 | 16 |
| |
|
You can’t perform that action at this time.
0 commit comments