stage
Last updated
Was this helpful?
Was this helpful?
children:
- type: component.expander
options:
header:
centerElement:
type: component.stage
options:
right:
title: Boston
subtitle: 11:30
left:
title: New York
subtitle: 12:30title: Stage
type: jig.default
children:
- type: component.expander
options:
header:
centerElement:
type: component.stage
options:
right:
title: =@ctx.datasources.trip-dynamic[3].from
subtitle: =@ctx.datasources.trip-dynamic[3].board
left:
title: =@ctx.datasources.trip-dynamic[3].to
subtitle: =@ctx.datasources.trip-dynamic[3].disembark
children:
- type: component.entity
options:
children:
- type: component.entity-field
options:
label: tbd
value: tbddatasources:
trip-dynamic:
type: datasource.sqlite
options:
provider: DATA_PROVIDER_DYNAMIC
entities:
- entity: default/flight-schedule
query: |
SELECT
id,
'$.airline',
'$.board',
'$.disembark',
'$.date',
'$.flight',
'$.from',
'$.fromabrv',
'$.gate',
'$.name',
'$.seat',
'$.to',
'$.toabrv'
FROM [default/flight-schedule]title: Trip in list
type: jig.list
data: =@ctx.datasources.trip-static
item:
type: component.stage
options:
right:
title: =@ctx.current.item.to
subtitle: =@ctx.current.item.time-to
left:
title: =@ctx.current.item.from
subtitle: =@ctx.current.item.time-fromtitle: Stage in list
type: jig.list
data: =@ctx.datasources.trip-dynamic
item:
type: component.stage
options:
right:
title: =@ctx.current.item.from
subtitle: =@ctx.current.item.board
left:
title: =@ctx.current.item.to
subtitle: =@ctx.current.item.disembarkdatasources:
trip-static:
type: datasource.static
options:
data:
- id: 1
from: Boston
time-from: 11:30
to: New York
time-to: 12:30
- id: 1
from: Las Vegas
time-from: 09:45
to: London
time-to: 19:00
- id: 1
from: Paris
time-from: 13:15
to: Prague
time-to: 17:30datasources:
trip-dynamic:
type: datasource.sqlite
options:
provider: DATA_PROVIDER_DYNAMIC
entities:
- entity: default/flight-schedule
query: |
SELECT
id,
'$.airline',
'$.board',
'$.disembark',
'$.date',
'$.flight',
'$.from',
'$.fromabrv',
'$.gate',
'$.name',
'$.seat',
'$.to',
'$.toabrv'
FROM [default/flight-schedule]