123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203{
"surface_id": "surface-selection-wrap",
"surface_version": 1,
"payload": {
"objects": [
{
"beginRendering": {
"root": "root-card",
"surfaceId": "surface-selection-wrap"
}
},
{
"surfaceUpdate": {
"surfaceId": "surface-selection-wrap",
"components": [
{
"id": "root-card",
"component": {
"Card": {
"child": "main-column"
}
}
},
{
"id": "main-column",
"component": {
"Column": {
"alignment": "stretch",
"children": {
"explicitList": [
"title-text",
"subtitle-text",
"distance-wrap",
"confirm-button"
]
}
}
}
},
{
"id": "title-text",
"component": {
"Label": {
"text": {
"literalString": "Distance filter"
},
"variant": "title"
}
}
},
{
"id": "subtitle-text",
"component": {
"Label": {
"text": {
"literalString": "Pick up to 2 preferred commute ranges."
},
"color": "secondary",
"variant": "bodySans"
}
}
},
{
"id": "distance-wrap",
"component": {
"SelectionWrap": {
"selection": {
"path": "/selectedDistance",
"literalArray": []
},
"maxSelection": 2,
"requiredSelection": 1,
"hasSelection": {
"path": "/canApply",
"literalBoolean": false
},
"items": [
{
"value": "lt_3km",
"child": "distance-lt-3"
},
{
"value": "km_3_5",
"child": "distance-3-5"
},
{
"value": "km_5_10",
"child": "distance-5-10"
},
{
"value": "gt_10km",
"child": "distance-gt-10"
},
{
"value": "remote",
"child": "distance-remote"
}
]
}
}
},
{
"id": "distance-lt-3",
"component": {
"Label": {
"text": {
"literalString": "<3km"
},
"variant": "subheadline"
}
}
},
{
"id": "distance-3-5",
"component": {
"Label": {
"text": {
"literalString": "3-5km"
},
"variant": "subheadline"
}
}
},
{
"id": "distance-5-10",
"component": {
"Label": {
"text": {
"literalString": "5-10km"
},
"variant": "subheadline"
}
}
},
{
"id": "distance-gt-10",
"component": {
"Label": {
"text": {
"literalString": ">10km"
},
"variant": "subheadline"
}
}
},
{
"id": "distance-remote",
"component": {
"Label": {
"text": {
"literalString": "Remote"
},
"variant": "subheadline"
}
}
},
{
"id": "confirm-button",
"component": {
"Button": {
"child": "confirm-label",
"style": "primary",
"enabled": {
"path": "/canApply"
},
"action": {
"name": "applyDistanceFilter",
"context": [
{
"key": "distance",
"value": {
"path": "/selectedDistance"
}
}
]
}
}
}
},
{
"id": "confirm-label",
"component": {
"Label": {
"text": {
"literalString": "Apply"
},
"variant": "bodySansSemibold"
}
}
}
]
}
},
{
"dataModelUpdate": {
"surfaceId": "surface-selection-wrap",
"path": "/",
"contents": []
}
}
]
}
}0 tokens
Distance filter
Pick up to 2 preferred commute ranges.