-
Notifications
You must be signed in to change notification settings - Fork 339
Expand file tree
/
Copy pathSplashScreen.fx.yaml
More file actions
400 lines (368 loc) · 9.71 KB
/
SplashScreen.fx.yaml
File metadata and controls
400 lines (368 loc) · 9.71 KB
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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
SplashScreen As screen:
Button6 As button:
BorderStyle: =BorderStyle.None
Color: =RGBA(0, 0, 0, 1)
DisabledFill: =RGBA(230, 230, 230, 1)
Fill: =RGBA(230, 230, 230, 1)
HoverFill: =RGBA(166, 166, 166, 1)
OnSelect: |
=Navigate(Approvals)
PaddingRight: =5.29
PaddingTop: =5.29
PressedFill: =RGBA(166, 166, 166, 1)
RadiusBottomLeft: =0
RadiusBottomRight: =0
Size: =15.86
Text: ="Approvals"
Width: =169.25
X: =396.66
Y: =30
ZIndex: =1
Button5 As button:
BorderStyle: =BorderStyle.None
Color: =RGBA(0, 0, 0, 1)
DisabledFill: =RGBA(230, 230, 230, 1)
Fill: =RGBA(230, 230, 230, 1)
HoverFill: =RGBA(166, 166, 166, 1)
OnSelect: =Navigate(InvoiceLines)
PaddingRight: =5.29
PaddingTop: =5.29
PressedFill: =RGBA(166, 166, 166, 1)
RadiusBottomLeft: =0
RadiusBottomRight: =0
Size: =15.86
Text: ="Line Items"
Width: =169.25
X: =211.55
Y: =30
ZIndex: =2
Button4 As button:
BorderStyle: =BorderStyle.None
Color: =RGBA(0, 0, 0, 1)
DisabledFill: =RGBA(230, 230, 230, 1)
Fill: =RGBA(179, 179, 179, 1)
HoverFill: =ColorFade(RGBA(166, 166, 166, 1), -20%)
PaddingRight: =5.29
PaddingTop: =5.29
PressedFill: =RGBA(166, 166, 166, 1)
RadiusBottomLeft: =0
RadiusBottomRight: =0
Size: =15.86
Text: ="Details"
Width: =169.25
X: =27.50
Y: =30
ZIndex: =3
Label9 As label:
Fill: =RGBA(230, 230, 230, 1)
Height: =760
PaddingRight: =5.29
PaddingTop: =5.29
Size: =13.75
Text: =""
Width: =1268.27
X: =15.86
Y: =65
ZIndex: =4
imgInvoice As image:
BorderColor: =RGBA(0, 0, 0, 1)
BorderThickness: =1
CalculateOriginalDimensions: =true
Fill: =RGBA(255, 255, 255, 1)
FlipHorizontal: =Flip
Height: =648
Image: =lstInvoices.Selected.Thumbnail.Large
ImagePosition: =varImagePosition
ImageRotation: |
=Rotation
PaddingRight: =0.00
PaddingTop: =0.00
RadiusBottomLeft: =1
RadiusBottomRight: =1
RadiusTopLeft: =1
RadiusTopRight: =1
Width: =562.45
X: =380.80
Y: =110
ZIndex: =5
lstInvoices As listbox:
Height: =648
Items: =Filter(Invoices,Status.Value=ddStatus.SelectedText.Value)
OnSelect: |-
=Set(varInvoiceID,Text(lstInvoices.Selected.ID));
Set(varInvoiceAmount,Text(lstInvoices.Selected.InvoiceTotal));
Set(varInvoiceNumber,Text(lstInvoices.Selected.InvoiceId));
Set(varVendor,Text(lstInvoices.Selected.VendorName));
Set(varCustomerName,Text(lstInvoices.Selected.CustomerName));
Set(varRequestedBy,lstInvoices.Selected.'Created By'.Email);
PaddingRight: =0.00
PaddingTop: =0.00
SelectMultiple: =false
Size: =12.37
Width: =312.15
X: =27.50
Y: =110
ZIndex: =6
ddRotation As dropdown:
Items: =["ImageRotation.None","rotate90","rotate270","rotate180"]
OnChange: |-
=UpdateContext({Rotation: ddRotation.Selected.Value})
PaddingRight: =9.52
PaddingTop: =9.52
Size: =12.37
Width: =209.37
X: =380.80
Y: =771
ZIndex: =7
optFlip As toggleSwitch:
OnChange: |-
=UpdateContext({Flip: optFlip.Value})
Size: =12.37
Width: =87.55
X: =666.40
Y: =780
ZIndex: =8
Label5 As label:
PaddingRight: =4.76
PaddingTop: =4.76
Size: =12.37
Text: |-
="Flip
"
Width: =48.55
X: =625.14
Y: =777
ZIndex: =9
ddStatus As dropdown:
Height: =46
Items: =Sort(Distinct(Invoices,Status.Value),Result,Ascending)
OnChange: =
PaddingRight: =9.52
PaddingTop: =9.52
Size: =12.37
Width: =182.72
X: =156.55
Y: =771
ZIndex: =10
Label3_2 As label:
PaddingRight: =4.76
PaddingTop: =4.76
Size: =12.37
Text: ="Invoice Status"
Width: =118.96
X: =27.50
Y: =774
ZIndex: =11
ddImagePosition As dropdown:
Height: =46
Items: =["Fill","Center","Fit","Stretch"]
OnChange: |-
=UpdateContext({varImagePosition: ddImagePosition.Selected.Value})
PaddingRight: =9.52
PaddingTop: =9.52
Size: =12.37
Width: =177.01
X: =765.83
Y: =771
ZIndex: =12
Label7 As label:
FontWeight: =FontWeight.Bold
Height: =26
PaddingRight: =4.76
PaddingTop: =4.76
Size: =12.37
Text: ="Customer Name"
Width: =312.15
X: =27.50
Y: =84
ZIndex: =13
lblBorder As label:
BorderColor: =RGBA(0, 0, 0, 1)
BorderThickness: =1
FontWeight: =FontWeight.Bold
Height: =707
PaddingRight: =4.76
PaddingTop: =4.76
Size: =14.28
Text: |-
="Invoice Properties
"
VerticalAlign: =VerticalAlign.Top
Width: =293.12
X: =975.27
Y: =110
ZIndex: =14
Label3 As label:
PaddingRight: =4.76
PaddingTop: =4.76
Size: =12.37
Text: ="Invoice Number"
Width: =142.75
X: =986.90
Y: =170
ZIndex: =15
TextInput1 As text:
Default: =varInvoiceNumber
Height: =38
PaddingRight: =4.76
PaddingTop: =4.76
Size: =12.37
Width: =262.66
X: =984.78
Y: =210
ZIndex: =16
Label4 As label:
PaddingRight: =4.76
PaddingTop: =4.76
Size: =12.37
Text: ="Invoice Date"
Width: =142.75
X: =986.90
Y: =256
ZIndex: =17
TextInput1_1 As text:
Default: =lstInvoices.Selected.InvoiceDate
Height: =38
PaddingRight: =4.76
PaddingTop: =4.76
Size: =12.37
Width: =262.66
X: =986.90
Y: =296
ZIndex: =18
Label4_1 As label:
PaddingRight: =4.76
PaddingTop: =4.76
Size: =12.37
Text: ="Invoice Amount"
Width: =142.75
X: =986.90
Y: =348
ZIndex: =19
TextInput1_2 As text:
Default: =varInvoiceAmount
Height: =38
PaddingRight: =4.76
PaddingTop: =4.76
Size: =12.37
Width: =262.66
X: =986.90
Y: =388
ZIndex: =20
TextInput1_3 As text:
Default: =varVendor
Height: =38
PaddingRight: =4.76
PaddingTop: =4.76
Size: =12.37
Width: =262.66
X: =984.78
Y: =484
ZIndex: =21
Label4_2 As label:
PaddingRight: =4.76
PaddingTop: =4.76
Size: =12.37
Text: ="Vendor Name"
Width: =142.75
X: =986.90
Y: =444
ZIndex: =22
Button3 As button:
OnSelect: |-
=ClickPowerAppsbuttontostartapprovalofSharePointitemsandsendemail.Run(cboApprover.Selected.Mail,txtID.Text);
ddStatus.SelectedText.Value="Captured";
Refresh(Invoices);
PaddingRight: =4.76
PaddingTop: =4.76
Size: =14.28
Text: ="Assign"
Width: =152.27
X: =1094.79
Y: =758
ZIndex: =23
cboApprover As combobox:
DisplayFields: =["DisplayName","Mail"]
Height: =37
Items: |-
=Office365Users.SearchUser({searchTerm:cboApprover.SearchText,top:10})
PaddingRight: =4.76
PaddingTop: =4.76
SearchFields: =["DisplayName"]
SearchItems: |-
=Search(Office365Users.SearchUser({searchTerm:cboApprover.SearchText,top:10}),cboApprover.SearchText,"DisplayName")
SelectMultiple: =false
Size: =12.37
Template: =ListItemTemplate.Person
Width: =260.76
X: =986.90
Y: =685
ZIndex: =24
Label4_3 As label:
PaddingRight: =4.76
PaddingTop: =4.76
Size: =12.37
Text: ="Approver"
Width: =142.75
X: =986.90
Y: =645
ZIndex: =25
txtID As text:
Default: =lstInvoices.Selected.ID
DisplayMode: =DisplayMode.Disabled
Height: =32
PaddingRight: =4.76
PaddingTop: =4.76
Size: =12.37
Width: =59.00
X: =1014.40
Y: =143
ZIndex: =26
Label3_1 As label:
PaddingRight: =4.76
PaddingTop: =4.76
Size: =12.37
Text: ="ID"
Width: =29.50
X: =986.90
Y: =138
ZIndex: =27
Icon1 As icon.Reload:
Height: =26
Icon: =Icon.Reload
OnSelect: =Refresh(Invoices)
PaddingRight: =0.00
PaddingTop: =0.00
Width: =31.41
X: =1149.80
Y: =79
ZIndex: =28
Label1 As label:
Height: =26
PaddingRight: =4.76
PaddingTop: =4.76
Size: =12.37
Text: ="Refresh"
Width: =87.55
X: =1180.47
Y: =84
ZIndex: =29
txtCustomerName As text:
Default: =varCustomerName
Height: =38
PaddingRight: =4.76
PaddingTop: =4.76
Size: =12.37
Width: =262.66
X: =986.90
Y: =574
ZIndex: =30
Label4_4 As label:
PaddingRight: =4.76
PaddingTop: =4.76
Size: =12.37
Text: ="Customer Name"
Width: =142.75
X: =989.02
Y: =534
ZIndex: =31