-
Notifications
You must be signed in to change notification settings - Fork 2
/
default-w-exp-stage-list-dd.jigx
87 lines (84 loc) · 3.17 KB
/
default-w-exp-stage-list-dd.jigx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
title: Default Jig with Expander and Stage List
type: jig.default
description: Example of Expander and Stage Lists on Default Jig
header:
type: component.jig-header
options:
height: medium
children:
type: component.image
options:
source:
uri: https://images.unsplash.com/photo-1490430657723-4d607c1503fc?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxzZWFyY2h8OHx8ZmxpZ2h0c3xlbnwwfHwwfHw%3D&auto=format&fit=crop&w=500&q=60
children:
- type: component.entity
options:
children:
- type: component.entity-field
options:
label: Current User
value: =@ctx.user.displayName
- type: component.list
options:
data: =@ctx.datasources.flight-schedule-dynamic
item:
type: component.expander
options:
header:
centerElement:
type: component.stage
options:
right:
title: =@ctx.current.item.toabrv
subtitle: =@ctx.current.item.board
left:
title: =@ctx.current.item.fromabrv
subtitle: =@ctx.current.item.disembark
children:
- type: component.entity
options:
children:
- type: component.field-row
options:
children:
- type: component.entity-field
options:
label: Boarding
value: =@ctx.current.item.from
- type: component.entity-field
options:
label: Destination
value: =@ctx.current.item.disembark
- type: component.field-row
options:
children:
- type: component.entity-field
options:
label: Board Time
value: =@ctx.current.item.board
- type: component.entity-field
options:
label: Disembark Time
value: =@ctx.current.item.disembark
- type: component.entity-field
options:
label: Passenger
value: =@ctx.current.item.name
- type: component.field-row
options:
children:
- type: component.entity-field
options:
label: Flight
value: =@ctx.current.item.flight
- type: component.entity-field
options:
label: Gate
value: =@ctx.current.item.gate
- type: component.entity-field
options:
label: Seat
value: =@ctx.current.item.seat
- type: component.location
options:
address: =@ctx.current.item.to