mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 18:31:06 +00:00
fix(data-table): cancelling selection should uncheck batch selection checkbox
This commit is contained in:
parent
a2b375f32e
commit
a0caa12a27
3 changed files with 148 additions and 136 deletions
|
@ -2677,14 +2677,14 @@
|
|||
{
|
||||
"attributes": [
|
||||
{
|
||||
"start": 7427,
|
||||
"end": 7445,
|
||||
"start": 7574,
|
||||
"end": 7592,
|
||||
"type": "Attribute",
|
||||
"name": "name",
|
||||
"value": [
|
||||
{
|
||||
"start": 7433,
|
||||
"end": 7444,
|
||||
"start": 7580,
|
||||
"end": 7591,
|
||||
"type": "Text",
|
||||
"raw": "cell-header",
|
||||
"data": "cell-header"
|
||||
|
@ -2692,26 +2692,26 @@
|
|||
]
|
||||
},
|
||||
{
|
||||
"start": 7446,
|
||||
"end": 7463,
|
||||
"start": 7593,
|
||||
"end": 7610,
|
||||
"type": "Attribute",
|
||||
"name": "header",
|
||||
"value": [
|
||||
{
|
||||
"start": 7454,
|
||||
"end": 7462,
|
||||
"start": 7601,
|
||||
"end": 7609,
|
||||
"type": "MustacheTag",
|
||||
"expression": {
|
||||
"type": "Identifier",
|
||||
"start": 7455,
|
||||
"end": 7461,
|
||||
"start": 7602,
|
||||
"end": 7608,
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 260,
|
||||
"line": 265,
|
||||
"column": 46
|
||||
},
|
||||
"end": {
|
||||
"line": 260,
|
||||
"line": 265,
|
||||
"column": 52
|
||||
}
|
||||
},
|
||||
|
@ -2723,34 +2723,34 @@
|
|||
],
|
||||
"children": [
|
||||
{
|
||||
"start": 7464,
|
||||
"end": 7478,
|
||||
"start": 7611,
|
||||
"end": 7625,
|
||||
"type": "MustacheTag",
|
||||
"expression": {
|
||||
"type": "MemberExpression",
|
||||
"start": 7465,
|
||||
"end": 7477,
|
||||
"start": 7612,
|
||||
"end": 7624,
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 260,
|
||||
"line": 265,
|
||||
"column": 56
|
||||
},
|
||||
"end": {
|
||||
"line": 260,
|
||||
"line": 265,
|
||||
"column": 68
|
||||
}
|
||||
},
|
||||
"object": {
|
||||
"type": "Identifier",
|
||||
"start": 7465,
|
||||
"end": 7471,
|
||||
"start": 7612,
|
||||
"end": 7618,
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 260,
|
||||
"line": 265,
|
||||
"column": 56
|
||||
},
|
||||
"end": {
|
||||
"line": 260,
|
||||
"line": 265,
|
||||
"column": 62
|
||||
}
|
||||
},
|
||||
|
@ -2758,15 +2758,15 @@
|
|||
},
|
||||
"property": {
|
||||
"type": "Identifier",
|
||||
"start": 7472,
|
||||
"end": 7477,
|
||||
"start": 7619,
|
||||
"end": 7624,
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 260,
|
||||
"line": 265,
|
||||
"column": 63
|
||||
},
|
||||
"end": {
|
||||
"line": 260,
|
||||
"line": 265,
|
||||
"column": 68
|
||||
}
|
||||
},
|
||||
|
@ -2786,14 +2786,14 @@
|
|||
{
|
||||
"attributes": [
|
||||
{
|
||||
"start": 10474,
|
||||
"end": 10485,
|
||||
"start": 10621,
|
||||
"end": 10632,
|
||||
"type": "Attribute",
|
||||
"name": "name",
|
||||
"value": [
|
||||
{
|
||||
"start": 10480,
|
||||
"end": 10484,
|
||||
"start": 10627,
|
||||
"end": 10631,
|
||||
"type": "Text",
|
||||
"raw": "cell",
|
||||
"data": "cell"
|
||||
|
@ -2801,26 +2801,26 @@
|
|||
]
|
||||
},
|
||||
{
|
||||
"start": 10486,
|
||||
"end": 10497,
|
||||
"start": 10633,
|
||||
"end": 10644,
|
||||
"type": "Attribute",
|
||||
"name": "row",
|
||||
"value": [
|
||||
{
|
||||
"start": 10491,
|
||||
"end": 10496,
|
||||
"start": 10638,
|
||||
"end": 10643,
|
||||
"type": "MustacheTag",
|
||||
"expression": {
|
||||
"type": "Identifier",
|
||||
"start": 10492,
|
||||
"end": 10495,
|
||||
"start": 10639,
|
||||
"end": 10642,
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 341,
|
||||
"line": 346,
|
||||
"column": 38
|
||||
},
|
||||
"end": {
|
||||
"line": 341,
|
||||
"line": 346,
|
||||
"column": 41
|
||||
}
|
||||
},
|
||||
|
@ -2830,26 +2830,26 @@
|
|||
]
|
||||
},
|
||||
{
|
||||
"start": 10498,
|
||||
"end": 10511,
|
||||
"start": 10645,
|
||||
"end": 10658,
|
||||
"type": "Attribute",
|
||||
"name": "cell",
|
||||
"value": [
|
||||
{
|
||||
"start": 10504,
|
||||
"end": 10510,
|
||||
"start": 10651,
|
||||
"end": 10657,
|
||||
"type": "MustacheTag",
|
||||
"expression": {
|
||||
"type": "Identifier",
|
||||
"start": 10505,
|
||||
"end": 10509,
|
||||
"start": 10652,
|
||||
"end": 10656,
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 341,
|
||||
"line": 346,
|
||||
"column": 51
|
||||
},
|
||||
"end": {
|
||||
"line": 341,
|
||||
"line": 346,
|
||||
"column": 55
|
||||
}
|
||||
},
|
||||
|
@ -2861,69 +2861,69 @@
|
|||
],
|
||||
"children": [
|
||||
{
|
||||
"start": 10512,
|
||||
"end": 10529,
|
||||
"start": 10659,
|
||||
"end": 10676,
|
||||
"type": "Text",
|
||||
"raw": "\n ",
|
||||
"data": "\n "
|
||||
},
|
||||
{
|
||||
"start": 10529,
|
||||
"end": 10595,
|
||||
"start": 10676,
|
||||
"end": 10742,
|
||||
"type": "MustacheTag",
|
||||
"expression": {
|
||||
"type": "ConditionalExpression",
|
||||
"start": 10530,
|
||||
"end": 10594,
|
||||
"start": 10677,
|
||||
"end": 10741,
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 342,
|
||||
"line": 347,
|
||||
"column": 17
|
||||
},
|
||||
"end": {
|
||||
"line": 342,
|
||||
"line": 347,
|
||||
"column": 81
|
||||
}
|
||||
},
|
||||
"test": {
|
||||
"type": "MemberExpression",
|
||||
"start": 10530,
|
||||
"end": 10548,
|
||||
"start": 10677,
|
||||
"end": 10695,
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 342,
|
||||
"line": 347,
|
||||
"column": 17
|
||||
},
|
||||
"end": {
|
||||
"line": 342,
|
||||
"line": 347,
|
||||
"column": 35
|
||||
}
|
||||
},
|
||||
"object": {
|
||||
"type": "MemberExpression",
|
||||
"start": 10530,
|
||||
"end": 10540,
|
||||
"start": 10677,
|
||||
"end": 10687,
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 342,
|
||||
"line": 347,
|
||||
"column": 17
|
||||
},
|
||||
"end": {
|
||||
"line": 342,
|
||||
"line": 347,
|
||||
"column": 27
|
||||
}
|
||||
},
|
||||
"object": {
|
||||
"type": "Identifier",
|
||||
"start": 10530,
|
||||
"end": 10537,
|
||||
"start": 10677,
|
||||
"end": 10684,
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 342,
|
||||
"line": 347,
|
||||
"column": 17
|
||||
},
|
||||
"end": {
|
||||
"line": 342,
|
||||
"line": 347,
|
||||
"column": 24
|
||||
}
|
||||
},
|
||||
|
@ -2931,15 +2931,15 @@
|
|||
},
|
||||
"property": {
|
||||
"type": "Identifier",
|
||||
"start": 10538,
|
||||
"end": 10539,
|
||||
"start": 10685,
|
||||
"end": 10686,
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 342,
|
||||
"line": 347,
|
||||
"column": 25
|
||||
},
|
||||
"end": {
|
||||
"line": 342,
|
||||
"line": 347,
|
||||
"column": 26
|
||||
}
|
||||
},
|
||||
|
@ -2950,15 +2950,15 @@
|
|||
},
|
||||
"property": {
|
||||
"type": "Identifier",
|
||||
"start": 10541,
|
||||
"end": 10548,
|
||||
"start": 10688,
|
||||
"end": 10695,
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 342,
|
||||
"line": 347,
|
||||
"column": 28
|
||||
},
|
||||
"end": {
|
||||
"line": 342,
|
||||
"line": 347,
|
||||
"column": 35
|
||||
}
|
||||
},
|
||||
|
@ -2969,57 +2969,57 @@
|
|||
},
|
||||
"consequent": {
|
||||
"type": "CallExpression",
|
||||
"start": 10551,
|
||||
"end": 10581,
|
||||
"start": 10698,
|
||||
"end": 10728,
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 342,
|
||||
"line": 347,
|
||||
"column": 38
|
||||
},
|
||||
"end": {
|
||||
"line": 342,
|
||||
"line": 347,
|
||||
"column": 68
|
||||
}
|
||||
},
|
||||
"callee": {
|
||||
"type": "MemberExpression",
|
||||
"start": 10551,
|
||||
"end": 10569,
|
||||
"start": 10698,
|
||||
"end": 10716,
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 342,
|
||||
"line": 347,
|
||||
"column": 38
|
||||
},
|
||||
"end": {
|
||||
"line": 342,
|
||||
"line": 347,
|
||||
"column": 56
|
||||
}
|
||||
},
|
||||
"object": {
|
||||
"type": "MemberExpression",
|
||||
"start": 10551,
|
||||
"end": 10561,
|
||||
"start": 10698,
|
||||
"end": 10708,
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 342,
|
||||
"line": 347,
|
||||
"column": 38
|
||||
},
|
||||
"end": {
|
||||
"line": 342,
|
||||
"line": 347,
|
||||
"column": 48
|
||||
}
|
||||
},
|
||||
"object": {
|
||||
"type": "Identifier",
|
||||
"start": 10551,
|
||||
"end": 10558,
|
||||
"start": 10698,
|
||||
"end": 10705,
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 342,
|
||||
"line": 347,
|
||||
"column": 38
|
||||
},
|
||||
"end": {
|
||||
"line": 342,
|
||||
"line": 347,
|
||||
"column": 45
|
||||
}
|
||||
},
|
||||
|
@ -3027,15 +3027,15 @@
|
|||
},
|
||||
"property": {
|
||||
"type": "Identifier",
|
||||
"start": 10559,
|
||||
"end": 10560,
|
||||
"start": 10706,
|
||||
"end": 10707,
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 342,
|
||||
"line": 347,
|
||||
"column": 46
|
||||
},
|
||||
"end": {
|
||||
"line": 342,
|
||||
"line": 347,
|
||||
"column": 47
|
||||
}
|
||||
},
|
||||
|
@ -3046,15 +3046,15 @@
|
|||
},
|
||||
"property": {
|
||||
"type": "Identifier",
|
||||
"start": 10562,
|
||||
"end": 10569,
|
||||
"start": 10709,
|
||||
"end": 10716,
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 342,
|
||||
"line": 347,
|
||||
"column": 49
|
||||
},
|
||||
"end": {
|
||||
"line": 342,
|
||||
"line": 347,
|
||||
"column": 56
|
||||
}
|
||||
},
|
||||
|
@ -3066,29 +3066,29 @@
|
|||
"arguments": [
|
||||
{
|
||||
"type": "MemberExpression",
|
||||
"start": 10570,
|
||||
"end": 10580,
|
||||
"start": 10717,
|
||||
"end": 10727,
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 342,
|
||||
"line": 347,
|
||||
"column": 57
|
||||
},
|
||||
"end": {
|
||||
"line": 342,
|
||||
"line": 347,
|
||||
"column": 67
|
||||
}
|
||||
},
|
||||
"object": {
|
||||
"type": "Identifier",
|
||||
"start": 10570,
|
||||
"end": 10574,
|
||||
"start": 10717,
|
||||
"end": 10721,
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 342,
|
||||
"line": 347,
|
||||
"column": 57
|
||||
},
|
||||
"end": {
|
||||
"line": 342,
|
||||
"line": 347,
|
||||
"column": 61
|
||||
}
|
||||
},
|
||||
|
@ -3096,15 +3096,15 @@
|
|||
},
|
||||
"property": {
|
||||
"type": "Identifier",
|
||||
"start": 10575,
|
||||
"end": 10580,
|
||||
"start": 10722,
|
||||
"end": 10727,
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 342,
|
||||
"line": 347,
|
||||
"column": 62
|
||||
},
|
||||
"end": {
|
||||
"line": 342,
|
||||
"line": 347,
|
||||
"column": 67
|
||||
}
|
||||
},
|
||||
|
@ -3118,29 +3118,29 @@
|
|||
},
|
||||
"alternate": {
|
||||
"type": "MemberExpression",
|
||||
"start": 10584,
|
||||
"end": 10594,
|
||||
"start": 10731,
|
||||
"end": 10741,
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 342,
|
||||
"line": 347,
|
||||
"column": 71
|
||||
},
|
||||
"end": {
|
||||
"line": 342,
|
||||
"line": 347,
|
||||
"column": 81
|
||||
}
|
||||
},
|
||||
"object": {
|
||||
"type": "Identifier",
|
||||
"start": 10584,
|
||||
"end": 10588,
|
||||
"start": 10731,
|
||||
"end": 10735,
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 342,
|
||||
"line": 347,
|
||||
"column": 71
|
||||
},
|
||||
"end": {
|
||||
"line": 342,
|
||||
"line": 347,
|
||||
"column": 75
|
||||
}
|
||||
},
|
||||
|
@ -3148,15 +3148,15 @@
|
|||
},
|
||||
"property": {
|
||||
"type": "Identifier",
|
||||
"start": 10589,
|
||||
"end": 10594,
|
||||
"start": 10736,
|
||||
"end": 10741,
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 342,
|
||||
"line": 347,
|
||||
"column": 76
|
||||
},
|
||||
"end": {
|
||||
"line": 342,
|
||||
"line": 347,
|
||||
"column": 81
|
||||
}
|
||||
},
|
||||
|
@ -3168,8 +3168,8 @@
|
|||
}
|
||||
},
|
||||
{
|
||||
"start": 10595,
|
||||
"end": 10610,
|
||||
"start": 10742,
|
||||
"end": 10757,
|
||||
"type": "Text",
|
||||
"raw": "\n ",
|
||||
"data": "\n "
|
||||
|
@ -3184,14 +3184,14 @@
|
|||
{
|
||||
"attributes": [
|
||||
{
|
||||
"start": 11146,
|
||||
"end": 11165,
|
||||
"start": 11293,
|
||||
"end": 11312,
|
||||
"type": "Attribute",
|
||||
"name": "name",
|
||||
"value": [
|
||||
{
|
||||
"start": 11152,
|
||||
"end": 11164,
|
||||
"start": 11299,
|
||||
"end": 11311,
|
||||
"type": "Text",
|
||||
"raw": "expanded-row",
|
||||
"data": "expanded-row"
|
||||
|
@ -3199,26 +3199,26 @@
|
|||
]
|
||||
},
|
||||
{
|
||||
"start": 11166,
|
||||
"end": 11177,
|
||||
"start": 11313,
|
||||
"end": 11324,
|
||||
"type": "Attribute",
|
||||
"name": "row",
|
||||
"value": [
|
||||
{
|
||||
"start": 11171,
|
||||
"end": 11176,
|
||||
"start": 11318,
|
||||
"end": 11323,
|
||||
"type": "MustacheTag",
|
||||
"expression": {
|
||||
"type": "Identifier",
|
||||
"start": 11172,
|
||||
"end": 11175,
|
||||
"start": 11319,
|
||||
"end": 11322,
|
||||
"loc": {
|
||||
"start": {
|
||||
"line": 361,
|
||||
"line": 366,
|
||||
"column": 48
|
||||
},
|
||||
"end": {
|
||||
"line": 361,
|
||||
"line": 366,
|
||||
"column": 51
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue